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/2405.00942v2
http://arxiv.org/pdf/2405.00942v2
LLaVA Finds Free Lunch: Teaching Human Behavior Improves Content Understanding Abilities Of LLMs
2024-05-02T02:04:01
2024-05-16T21:52:02
Somesh Singh, Harini S I, Yaman K Singla, Veeky Baths, Rajiv Ratn Shah, Changyou Chen, Balaji Krishnamurthy
cs.CV
cs.CV, cs.CL
Communication is defined as "Who says what to whom with what effect." A message from a communicator generates downstream receiver effects, also known as behavior. Receiver behavior, being a downstream effect of the message, carries rich signals about it. Even after carrying signals about the message, the behavior data is often ignored while training large language models. We show that training LLMs on receiver behavior can actually help improve their content-understanding abilities. Specifically, we show that training LLMs to predict the receiver behavior of likes and comments improves the LLM's performance on a wide variety of downstream content understanding tasks. We show this performance increase over 40 video and image understanding tasks over 23 benchmark datasets across both 0-shot and fine-tuning settings, outperforming many supervised baselines. Moreover, since receiver behavior, such as likes and comments, is collected by default on the internet and does not need any human annotations to be useful, the performance improvement we get after training on this data is essentially free-lunch. We release the receiver behavior cleaned comments and likes of 750k images and videos collected from multiple platforms along with our instruction-tuning data.
[ -0.3945930600166321, -0.5488935112953186, 0.452996164560318, 0.27813148498535156, -0.6731802821159363, -0.03523247689008713, -0.42758768796920776, -0.6370165348052979, 0.33630359172821045, 0.34892353415489197, -0.5643502473831177, -0.3110571801662445, -0.915788471698761, -0.14315152168273926, -0.5586037039756775, 1.2125186920166016, 0.3101359009742737, 0.23846746981143951, -0.37722596526145935, 0.028977036476135254, -0.49493908882141113, -0.1688750982284546, -1.0114262104034424, -0.6407095789909363, 0.8892015218734741, 0.5574310421943665, 0.2574947476387024, 0.6510709524154663, 0.42066895961761475, 0.32134580612182617, -0.15069156885147095, 0.15965089201927185, -0.9525815844535828, 0.1572372019290924, -0.10811115056276321, -0.7231464982032776, -0.2724076509475708, 0.0012414143420755863, 0.5894372463226318, 0.44277673959732056, -0.24356162548065186, 0.17291109263896942, 0.23338985443115234, 1.030463695526123, -0.5556833148002625, 0.3103550374507904, -0.6894263625144958, 0.01833416149020195, 0.004445065278559923, -0.5096169710159302, -0.473724365234375, -0.1321346014738083, -0.02998735010623932, -0.7681453227996826, 0.07681917399168015, -0.16621820628643036, 0.8365330100059509, 0.42992907762527466, -0.6068061590194702, -0.36558958888053894, -0.6695346832275391, 0.7854611873626709, -0.2187078446149826, 0.5967358946800232, 0.500827431678772, 0.12090430408716202, -0.42275652289390564, -0.2929266393184662, -0.5609735250473022, 0.26344799995422363, 0.0023356517776846886, 0.16031226515769958, -0.1777464747428894, 0.2170216292142868, 0.1349707692861557, 0.3724561333656311, -0.28500986099243164, 0.01759328320622444, -0.290227472782135, -0.09999781101942062, 0.6026856899261475, 0.09947755932807922, 0.1930815428495407, -0.08001269400119781, -0.1596049666404724, -0.12856972217559814, -0.739037275314331, 0.47072911262512207, 0.2291989028453827, 0.011453402228653431, -0.15807926654815674, 0.37193167209625244, -0.36494892835617065, 0.46512770652770996, 0.14946812391281128, -0.23200157284736633, 0.24798016250133514, -0.03606643155217171, -0.31903544068336487, -0.1460496038198471, 0.4775891602039337, 0.5479351878166199, 0.6242442727088928, -0.322443425655365, -0.1307116448879242, -0.03111868165433407, 0.3227871060371399, -0.7740557193756104, -0.16513307392597198, -0.07214571535587311, -0.6285877823829651, -0.28329330682754517, 0.12557338178157806, -0.5016321539878845, -0.6231967210769653, -0.4090667963027954, 0.24574370682239532, -0.3005417585372925, -0.3073408901691437, 0.2156921923160553, -0.23875373601913452, 0.7434530854225159, 0.6011055707931519, -1.2525821924209595, 0.4277075231075287, 0.7655466794967651, 0.6673229932785034, -0.131647989153862, -0.13406135141849518, -1.1231913566589355, 0.37780678272247314, -0.3037017583847046, 1.1913986206054688, -0.4622402787208557, -0.3552835285663605, -0.1572292447090149, 0.16764776408672333, -0.15742571651935577, -0.5756750106811523, 0.23686791956424713, -0.8304288983345032, -0.30226343870162964, -0.4816133975982666, -0.522173285484314, -0.12071697413921356, 0.421997994184494, -0.4888460040092468, 0.6671668887138367, -0.1983528882265091, -0.6848918795585632, 0.40051138401031494, -0.5149725675582886, -0.548328161239624, 0.004968506284058094, -0.12316950410604477, -0.1166849136352539, 0.22078277170658112, 0.1962592750787735, 0.3953983783721924, 0.3147214651107788, 0.012268617749214172, -0.011975552886724472, -0.6991182565689087, 0.5219473242759705, -0.07037398964166641, 0.4145352244377136, 0.06314589083194733, -0.2196887731552124, 0.08436393737792969, -0.42249470949172974, -0.18314288556575775, 0.09972932934761047, -0.8555011749267578, -0.29709649085998535, 0.2591761648654938, -0.5054380893707275, -0.004663220606744289, -0.23656120896339417, -0.6876130700111389, 0.23156271874904633, -0.18852883577346802, 0.06163689121603966, 0.9275697469711304, 0.1427357792854309, 0.6293833255767822, -0.4406936764717102, 0.38803911209106445, 0.06405233591794968, 0.24857601523399353, -0.33200758695602417, -0.5562554597854614, -0.9646207690238953, -0.20843522250652313, -0.35116809606552124, 0.42341649532318115, -0.6933318376541138, -0.35446697473526, -0.35852763056755066, -0.16724929213523865, -0.6233493089675903, 0.7165197730064392, 0.5171039700508118, 0.4253097176551819, 0.16391916573047638, -0.5362286567687988, -0.6507946848869324, -0.5643694400787354, -0.49847710132598877, -0.07887765020132065, -0.12129179388284683, 0.4065563976764679, 0.20058530569076538, -0.10607446730136871, 0.5498197078704834, -0.41230303049087524, -0.16968274116516113, -0.4061219394207001, 0.011233299039304256, 0.003401584690436721, 0.06985333561897278, 0.3040063977241516, -0.47956350445747375, -0.48445749282836914, -0.41967615485191345, -0.7091597318649292, 0.21380150318145752, 0.0902721956372261, -0.2806647717952728, 0.20840899646282196, 0.3556841015815735, -0.7076848745346069, 0.4021972119808197, 0.47449254989624023, -0.330914705991745, 0.3040703237056732, -0.027467433363199234, 0.1857936680316925, -0.6836055517196655, -0.47876667976379395, 0.2124844342470169, -0.421451210975647, -0.4954889714717865, -0.25982269644737244, -0.14592908322811127, 0.04579048603773117, -0.8001106977462769, 0.39517420530319214, -0.36521729826927185, -0.5138570070266724, -0.38963496685028076, 0.18463517725467682, -0.0960649698972702, 0.4917934834957123, 0.28322818875312805, 0.963263750076294, 0.42546460032463074, -0.9230392575263977, 0.2789541482925415, 0.35511577129364014, -0.602118194103241, 0.6930885910987854, -0.492490291595459, 0.3545698821544647, -0.4419640302658081, 0.29921647906303406, -1.0155832767486572, -0.1466599404811859, 0.4026505947113037, -0.6949296593666077, 0.3340907096862793, -0.28162190318107605, -0.47664839029312134, -0.03707238286733627, -0.5529989004135132, -0.18577542901039124, 0.488651305437088, -0.6645669937133789, 0.2753506898880005, 0.30947452783584595, 0.12628872692584991, -0.659591019153595, -0.8908127546310425, 0.07441922277212143, -0.053654976189136505, -0.5533430576324463, 0.058436810970306396, -0.2966931164264679, -0.17787638306617737, -0.07941506803035736, -0.0348893478512764, 0.04691000282764435, 0.3281615674495697, 0.36205893754959106, 0.09715394675731659, 0.023924119770526886, 0.4053068161010742, -0.14879712462425232, -0.08685316145420074, 0.34385865926742554, -0.19157947599887848, 0.4399595558643341, -0.16593873500823975, -0.09962432086467743, -0.5967164039611816, 0.009137513116002083, 0.0549573190510273, 0.09002475440502167, 0.8201976418495178, 0.6493526101112366, 0.2562885582447052, -0.1407417356967926, -0.2834077477455139, -0.606163740158081, -0.5596005320549011, 0.19014999270439148, -0.13063494861125946, -0.8754668831825256, 0.09056268632411957, 0.12333771586418152, 0.013675486668944359, -0.2116481512784958, 0.15695509314537048, -0.8063751459121704, 0.9688658714294434, 0.8524594306945801, 0.09557322412729263, 0.9934903383255005, -0.392484575510025, 0.09362564235925674, -1.0685943365097046, -0.53084796667099, -0.061991047114133835, -0.5513776540756226, -0.6659319996833801, -0.3767002820968628, 0.07271655648946762, -0.20264214277267456, -0.23230427503585815, -0.06915339827537537, -0.24446077644824982, 0.6831719279289246, 0.5639513731002808, 0.4232909679412842, 0.6415145397186279, 0.39432305097579956, 0.12901782989501953, -0.26247531175613403, -0.36498042941093445, -0.4633116126060486, 1.0775254964828491, 0.277040958404541, 1.1191942691802979, 0.18076103925704956, 0.8487929701805115, 0.511206865310669, 0.6422672867774963, -1.1575137376785278, 0.7977312803268433, -0.18772703409194946, -0.2612549662590027, 0.028371762484312057, -0.3738175332546234, -1.041200041770935, 0.13239434361457825, -0.1981467455625534, -0.9108743667602539, -0.09583758562803268, 0.4495423436164856, 0.13763760030269623, 0.4334828555583954, -0.6750950813293457, 0.34162989258766174, -0.26720482110977173, -0.5089200139045715, -0.5841494202613831, -0.47299277782440186, 0.38498425483703613, 0.37563422322273254, 0.3048554062843323, -0.15299558639526367, -0.15659835934638977, 0.8993926644325256, -0.018984632566571236, 1.070237636566162, -0.36064279079437256, -0.18304724991321564, 0.33964696526527405, 0.16990448534488678, 0.3909358084201813, 0.09176923334598541, 0.005480806343257427, -0.08029142022132874, -0.33165672421455383, -0.42009636759757996, -0.7443460822105408, 0.626064121723175, -0.9836148023605347, -0.7568005919456482, -0.18945905566215515, -0.5488656163215637, -0.2218632847070694, -0.02030440792441368, -0.002951645292341709, 0.15322236716747284, 0.10447324812412262, 0.44192013144493103, 1.0738747119903564, -0.1406129002571106, 0.4288662075996399, 0.8640329837799072, -0.01324065774679184, -0.30544358491897583, 0.9738081693649292, -0.23471200466156006, 0.23024573922157288, 0.4747198820114136, -0.027753399685025215, -0.21758370101451874, -0.27736788988113403, -0.23907417058944702, 0.4862411618232727, -1.0466123819351196, -0.11444966495037079, -0.6797146201133728, 0.06703575700521469, -0.20704951882362366, -0.10139200091362, -0.167596235871315, -0.24042311310768127, -0.3774990737438202, -0.2788720428943634, 0.41896164417266846, 1.023780345916748, -0.11472386121749878, 0.7497807145118713, -0.753119945526123, 0.185309499502182, 0.529729962348938, 0.6853770017623901, 0.30765020847320557, -0.6886866688728333, -0.4079303741455078, 0.1597544550895691, -0.6688627600669861, -0.7200684547424316, 0.14264212548732758, 0.3848951458930969, 0.6222889423370361, 0.4944287836551666, -0.3098311424255371, 0.5647163391113281, -0.024861129000782967, 0.5780990123748779, -0.0002995869144797325, -0.8798463344573975, 0.7310339212417603, -0.3127759099006653, 0.19187456369400024, 0.2475551813840866, 0.4067399501800537, -0.7943334579467773, -0.3013717234134674, -0.30046460032463074, -0.41454166173934937, 0.7292198538780212, 0.014512734487652779, 0.5349979996681213, -0.2781272828578949, 0.5246469974517822, -0.021194718778133392, 0.39775320887565613, -0.867214024066925, -0.18611539900302887, -0.37409061193466187, 0.040983375161886215, -0.05554238706827164, -0.49939197301864624, 0.0355178564786911, -0.40127047896385193, 0.750484049320221, -0.08983448147773743, 0.6213641166687012, 0.06821230798959732, -0.4358136057853699, -0.3535054326057434, 0.31459668278694153, 0.449201762676239, 0.3424667716026306, -0.33961108326911926, 0.21872073411941528, 0.05758276581764221, -0.6589954495429993, 0.28187689185142517, -0.4819923937320709, 0.00003784871660172939, -0.3087007403373718, 0.3878646194934845, 0.6833884716033936, 0.4788827896118164, -0.7053276300430298, 0.5681582689285278, -0.48172998428344727, -0.3055400252342224, -0.11151380091905594, 0.5426505208015442, 0.395464688539505, 0.313347190618515, 0.2663046717643738, -0.22113557159900665, 0.05939198285341263, -0.4978041350841522, 0.21360337734222412, 0.45516109466552734, -0.3755127787590027, -0.46289756894111633, 0.344243586063385, 0.38978251814842224, -0.16461433470249176, 0.9220755100250244, -0.12331315129995346, -0.26852062344551086, 0.7107719779014587, 0.6383616924285889, 0.6771595478057861, 0.009828840382397175, 0.5571821928024292, 0.14167359471321106, 0.21848347783088684, 0.1170072853565216, 0.472085177898407, -0.5244186520576477, -0.899200439453125, -0.6790212988853455, -0.5094764232635498, -0.5027845501899719, 0.06328283250331879, -0.6767816543579102, 0.22861401736736298, -0.3583065867424011, 0.0009634238667786121, -0.06391638517379761, 0.1867416352033615, -0.9204338788986206, 0.11815960705280304, 0.3244350552558899, 0.9324526190757751, -0.8503001928329468, 0.9474756717681885, 1.0080959796905518, -0.3515523672103882, -0.7811272144317627, 0.013565141707658768, -0.08184721320867538, -1.1213549375534058, 0.9753919243812561, 0.36575233936309814, -0.3705065846443176, 0.059079401195049286, -0.717547595500946, -0.9330364465713501, 1.1340484619140625, 0.402607798576355, -0.6057741641998291, 0.2314642369747162, 0.04899262636899948, 0.5290655493736267, -0.3510986268520355, 0.3100379407405853, 0.36085036396980286, 0.20899906754493713, 0.3836791217327118, -0.452806293964386, -0.1175907775759697, -0.21459712088108063, -0.10928086191415787, 0.15577788650989532, -0.6988301277160645, 0.4392644464969635, -0.6195589303970337, -0.19104830920696259, -0.22080281376838684, 0.5582718849182129, 0.1362869143486023, 0.5808360576629639, 0.6251174211502075, 0.46046191453933716, 0.6536064743995667, 0.13364052772521973, 1.1013950109481812, 0.032073408365249634, 0.1912311613559723, 1.0641591548919678, 0.05703163146972656, 0.8551250100135803, 0.7572501301765442, 0.07596047222614288, 0.9624791741371155, 0.7421044707298279, 0.2136639803647995, 0.6896893978118896, 0.07920053601264954, -0.3287223279476166, -0.3213096857070923, -0.4044994115829468, 0.05042044818401337, 0.47163820266723633, 0.5577463507652283, -0.2889229655265808, -0.19824348390102386, 0.12277975678443909, 0.04663289338350296, 0.04955426976084709, -0.3762144148349762, 1.1590297222137451, 0.21138004958629608, -0.596337080001831, 0.6196926832199097, -0.39602339267730713, 0.8130950927734375, -0.3424006998538971, 0.05632994696497917, -0.5623533725738525, 0.14995308220386505, -0.4957559108734131, -1.0760895013809204, 0.41197699308395386, 0.10578693449497223, -0.10901257395744324, -0.23898395895957947, 0.8740952610969543, -0.26781386137008667, 0.18012389540672302, 0.5107987523078918, 0.3672802448272705, 0.3955877423286438, -0.020900534465909004, -0.385005384683609, 0.260955810546875, -0.1518518328666687, -0.4708090126514435, 0.5352166295051575, 0.09293635189533234, 0.044130247086286545, 0.9297035336494446, 0.7088721394538879, 0.09427381306886673, -0.09994624555110931, 0.06412898749113083, 1.1039175987243652, -0.7010956406593323, -0.28863781690597534, -0.7118386626243591, 0.39417174458503723, -0.1057959645986557, 0.24670928716659546, 0.6574603915214539, 0.2799510359764099, 1.1422119140625, -0.16598102450370789, 0.6740671992301941, 0.2010582536458969, 0.23565825819969177, -0.32202067971229553, 0.30303844809532166, -0.5227961540222168, 0.3594861924648285, -0.011266245506703854, -0.7490085363388062, -0.031970396637916565, 0.457571804523468, -0.6890687942504883, -0.1627219319343567, 0.4537070393562317, 0.7221711277961731, -0.11345779895782471, -0.03160754218697548, 0.2651231288909912, 0.022186733782291412, 0.5197274088859558, 0.4130347967147827, 0.946811318397522, -0.12293653190135956, 0.9573574662208557, -0.43590247631073, -0.10602936893701553, -0.3814214766025543, -0.7952657341957092, -1.1314871311187744, -0.11922480911016464, -0.046736814081668854, -0.3087915778160095, 0.3699854612350464, 0.7706577777862549, 0.8654905557632446, -0.3953084349632263, -0.3604312241077423, -0.1565674990415573, 0.4931418299674988, -0.17012278735637665, -0.25622138381004333, -0.015135597437620163, -0.4868232309818268, -0.490972101688385, 0.19664299488067627, 0.3090965747833252, 0.05189945176243782, 0.04687266796827316, -0.4188281297683716, -0.1608869582414627, 0.1918262541294098, 0.8475563526153564, 0.3466450870037079, -0.4443322420120239, -0.32530754804611206, 0.23344112932682037, -0.04525071382522583, 0.21131861209869385, 0.915642261505127, -0.8252288103103638, 0.5004595518112183, 0.2947656810283661, 0.6202089190483093, 0.7696241736412048, 0.06752278655767441, 0.2856762409210205, -0.8803682923316956, 0.3109113872051239, -0.25882041454315186, 0.17836879193782806, 0.6775000095367432, -0.5718480348587036, 0.32547953724861145, 0.3421367108821869, -0.5927611589431763, -0.46426162123680115, 0.3688107430934906, -0.7652910947799683, -0.027617543935775757, 1.1352572441101074, -0.07983525097370148, -0.5284342765808105, 0.14377941191196442, -0.1649322807788849, 0.3963560163974762, -0.7176740765571594, 1.0580211877822876, 0.4660508334636688, -0.3680887818336487, -0.6587409973144531, -0.7405918836593628, 0.4813256561756134, 0.5055586695671082, -0.946499764919281, -0.30280601978302, 0.16303247213363647, 0.7460553646087646, -0.5094401240348816, 0.8924288153648376, 0.18266814947128296, 0.40623563528060913, -0.4909802973270416, 0.06493230909109116, -0.07505414634943008, -0.264725923538208, -0.2121528685092926, -0.5537107586860657, 0.37649741768836975, -0.5560412406921387 ]
http://arxiv.org/abs/2405.00903v1
http://arxiv.org/pdf/2405.00903v1
A Named Entity Recognition and Topic Modeling-based Solution for Locating and Better Assessment of Natural Disasters in Social Media
2024-05-01T23:19:49
2024-05-01T23:19:49
Ayaz Mehmood, Muhammad Tayyab Zamir, Muhammad Asif Ayub, Nasir Ahmad, Kashif Ahmad
cs.CL
cs.CL
Over the last decade, similar to other application domains, social media content has been proven very effective in disaster informatics. However, due to the unstructured nature of the data, several challenges are associated with disaster analysis in social media content. To fully explore the potential of social media content in disaster informatics, access to relevant content and the correct geo-location information is very critical. In this paper, we propose a three-step solution to tackling these challenges. Firstly, the proposed solution aims to classify social media posts into relevant and irrelevant posts followed by the automatic extraction of location information from the posts' text through Named Entity Recognition (NER) analysis. Finally, to quickly analyze the topics covered in large volumes of social media posts, we perform topic modeling resulting in a list of top keywords, that highlight the issues discussed in the tweet. For the Relevant Classification of Twitter Posts (RCTP), we proposed a merit-based fusion framework combining the capabilities of four different models namely BERT, RoBERTa, Distil BERT, and ALBERT obtaining the highest F1-score of 0.933 on a benchmark dataset. For the Location Extraction from Twitter Text (LETT), we evaluated four models namely BERT, RoBERTa, Distil BERTA, and Electra in an NER framework obtaining the highest F1-score of 0.960. For topic modeling, we used the BERTopic library to discover the hidden topic patterns in the relevant tweets. The experimental results of all the components of the proposed end-to-end solution are very encouraging and hint at the potential of social media content and NLP in disaster management.
[ -0.4941098988056183, -0.8725450038909912, 0.6949889063835144, 0.5445365309715271, -0.453125923871994, 0.4083267152309418, -0.1749628335237503, -0.3110327422618866, 0.6018323302268982, 0.43222981691360474, -0.33997565507888794, -0.45088720321655273, -0.8010063171386719, 0.15718017518520355, -0.8190281987190247, 0.7581496238708496, -0.16230075061321259, -0.2516400218009949, 0.2372906357049942, 0.055448807775974274, -0.42112430930137634, -0.03910505026578903, -0.8905565738677979, 0.22069303691387177, 0.41971343755722046, 0.3279803693294525, 0.3443865180015564, 0.19662220776081085, 1.0255625247955322, 0.33278587460517883, -0.16752608120441437, 0.016070041805505753, -0.48606741428375244, -0.030273042619228363, -0.6320030093193054, 0.26128312945365906, -0.010747762396931648, -0.26604241132736206, 0.6450725793838501, 0.28810930252075195, -0.16739685833454132, 0.08529579639434814, 0.15700624883174896, 0.3376140296459198, -0.41453641653060913, -0.19871875643730164, -0.6807705760002136, -0.2747660279273987, -0.003820043057203293, -0.6639525890350342, 0.02516085095703602, -0.7039323449134827, 0.558130145072937, -0.18828120827674866, 0.6051468253135681, -0.007954442873597145, 1.035859227180481, 0.31498390436172485, -0.4143739938735962, -0.1700349599123001, -0.8982931971549988, 0.7667405605316162, -0.4070560336112976, 0.40600264072418213, 0.19793565571308136, 0.4259035885334015, -0.2671896517276764, -0.2381632924079895, -0.5023178458213806, 0.3876543641090393, 0.18748579919338226, -0.2116113305091858, -0.02809438668191433, -0.25946781039237976, 0.059573862701654434, 0.1964217722415924, -0.5682369470596313, -0.03384613245725632, -0.2348918467760086, -0.2845299243927002, 0.7878233194351196, 0.0305375624448061, 0.5150007605552673, -0.9562340378761292, -0.3580012321472168, 0.09903634339570999, -0.5386115908622742, -0.26054251194000244, 0.09613079577684402, 0.6325904130935669, -0.48248353600502014, 0.4895298480987549, -0.321538507938385, 0.5172842144966125, -0.18571682274341583, -0.36965662240982056, -0.02797720953822136, -0.18947771191596985, -0.005071462597697973, 0.2785962224006653, 0.7638475298881531, 0.4683208763599396, -0.09758058935403824, -0.1948639303445816, -0.2276468127965927, -0.24334469437599182, 0.4050057828426361, -0.6214200854301453, -0.10115653276443481, 0.26539885997772217, -0.560631513595581, -0.4221436381340027, 0.1642739325761795, -0.8609709143638611, -0.8473895788192749, -0.23974673449993134, 0.4368024468421936, -0.46297967433929443, -0.5183185338973999, -0.0930432602763176, -0.1000571921467781, 0.038071636110544205, 0.6188828349113464, -0.5912455916404724, 0.007303007412701845, 0.6909902691841125, 1.231528401374817, -0.05154355242848396, 0.17496556043624878, -0.19713518023490906, 0.11066067218780518, -0.010384955443441868, 1.2900574207305908, -0.24511733651161194, -0.0933922678232193, 0.024453720077872276, 0.08543206006288528, 0.0872640311717987, -0.1648010015487671, 0.785736620426178, -0.5940050482749939, -0.07065803557634354, -0.6034393310546875, -0.3217441141605377, -0.4654597043991089, 0.3916775584220886, -0.8590561151504517, 0.8725680112838745, 0.17001532018184662, -1.2740612030029297, 0.34032121300697327, -0.6283368468284607, -0.3622177839279175, 0.22387424111366272, 0.03994878754019737, -0.3705921471118927, 0.13884788751602173, 0.4080164134502411, 0.5809996724128723, -0.704836905002594, 0.5894764065742493, -0.5421456098556519, -0.3681234121322632, -0.12263869494199753, -0.25963354110717773, 0.5456603169441223, 0.028236951678991318, -0.3553071916103363, 0.04566764459013939, -0.5700796246528625, -0.06600525230169296, 0.28802594542503357, -0.2622286379337311, -0.5041313767433167, 0.23360678553581238, 0.3577570617198944, 0.21617639064788818, 0.0010789950611069798, -0.4017004370689392, -0.12795978784561157, -0.15992029011249542, 0.3211594521999359, 0.5814451575279236, 0.6405439376831055, 0.5526329278945923, -0.18623246252536774, 0.13732625544071198, -0.15419617295265198, -0.014204849489033222, 0.296853244304657, -0.39359211921691895, -0.5538034439086914, 0.006942992564290762, 0.5516173243522644, 0.6745707392692566, -0.8986396789550781, 0.3267359435558319, -0.5394700169563293, -0.6439914107322693, -0.3475571572780609, -0.33671772480010986, -0.3121102452278137, 0.6352012753486633, 0.49266818165779114, 0.14352953433990479, -0.832324206829071, -0.6048286557197571, 0.052208397537469864, -0.2703480124473572, -0.039272014051675797, 0.027868609875440598, 0.47986847162246704, -0.14524506032466888, 1.0316320657730103, -0.32444560527801514, -0.10479550063610077, -0.5214009284973145, 0.3481441140174866, 0.15179528295993805, 0.07508528977632523, 0.6110414266586304, -1.3685157299041748, -0.36048227548599243, -0.06539952754974365, -0.7853170037269592, -0.17180463671684265, -0.017994245514273643, -0.14988106489181519, 0.1271074116230011, -0.1891663372516632, -0.3889610171318054, 0.5486254692077637, 0.12629638612270355, -0.04191342368721962, 0.17562836408615112, 0.3626316785812378, 0.588786244392395, -1.3892549276351929, 0.07251173257827759, 0.26803410053253174, -0.0432962030172348, -0.6249834895133972, -0.22472286224365234, 0.042183540761470795, -0.3589489459991455, -0.46108704805374146, 0.6060030460357666, -0.16618604958057404, -0.24425742030143738, -0.4245440661907196, 0.15554502606391907, -0.39986467361450195, -0.16152852773666382, 0.3937092125415802, 0.23814065754413605, 0.6531651020050049, -0.5715241432189941, 0.35957106947898865, 0.05977378413081169, -0.2787725627422333, 0.4710484445095062, -0.5051469802856445, -0.1765335649251938, -0.3746628761291504, 0.14195579290390015, -0.7478446960449219, -0.5028257369995117, 0.39248326420783997, -0.5024476051330566, 0.041073817759752274, -0.25240227580070496, -0.5874687433242798, -0.5712665319442749, -0.22590488195419312, -0.07224534451961517, 0.1647932529449463, -0.3033375144004822, 0.7656629681587219, 0.5850721001625061, -0.4795583188533783, -0.3850289583206177, -0.09774421900510788, 0.18819689750671387, -0.61380934715271, -0.5371209979057312, 0.6061536073684692, 0.09802110493183136, -0.176459401845932, 0.32058313488960266, -0.2762660086154938, -0.3070128560066223, 0.3522411286830902, 0.36373046040534973, 0.05526546388864517, -0.02072964608669281, 0.08738085627555847, -0.0729488804936409, -0.20276090502738953, -0.25599125027656555, 0.09740179032087326, 0.6698775291442871, -0.004004874266684055, 0.03671664744615555, -0.36933356523513794, 0.5028679370880127, 0.267333984375, -0.2040480077266693, 0.8695716261863708, 0.5044460296630859, -1.0858358144760132, 0.07246799767017365, -0.6848466396331787, -0.09389913082122803, -0.40972083806991577, -0.008176064118742943, 0.17021481692790985, -0.7629173994064331, 0.6598621606826782, -0.22653312981128693, 0.03841269761323929, 0.5402284264564514, 0.2338636964559555, -0.23075981438159943, 0.43450403213500977, 0.8822892308235168, -0.32798898220062256, 0.42416223883628845, -0.252047061920166, 0.6649298667907715, -0.30300891399383545, -0.162398561835289, -0.49787309765815735, -0.17879825830459595, -0.43064120411872864, -0.26098090410232544, 0.15031100809574127, 0.10625538229942322, 0.012091175653040409, 0.6875360012054443, -0.4981727600097656, 0.25080540776252747, 0.20714658498764038, 0.12279251962900162, 0.008058048784732819, 0.33387336134910583, 0.3810303509235382, -0.1673084944486618, -0.45606011152267456, -0.7216037511825562, 0.527849555015564, 0.3563588559627533, 0.4759860932826996, 0.18837875127792358, 1.2468371391296387, 0.38601231575012207, 0.6565513610839844, -0.37515661120414734, 0.5842453241348267, 0.16690513491630554, -0.5360420942306519, -0.4535425901412964, -0.5966382622718811, -0.3926745057106018, -0.08845214545726776, -0.35006335377693176, -0.738289475440979, 0.1743815541267395, -0.25715112686157227, -0.7059134840965271, 0.49622347950935364, -0.4201229512691498, 0.4656356871128082, -0.13575683534145355, -0.0371452160179615, -0.07326488941907883, -0.4960673451423645, 0.1736595630645752, -0.25877436995506287, 0.4017704725265503, -0.25961771607398987, 0.20671477913856506, 0.626652717590332, -0.19785986840724945, 0.40788015723228455, -0.20245224237442017, -0.10747098922729492, 0.576067328453064, -0.058854203671216965, 0.30465540289878845, 0.4242089092731476, -0.22884102165699005, 0.1252935230731964, -0.5179445743560791, -0.12352880090475082, -0.5199754238128662, 0.9220929741859436, -0.5028949975967407, -0.31417641043663025, -0.4491245150566101, -0.21975281834602356, 0.16662009060382843, 0.32436683773994446, 0.34152624011039734, 0.4473077058792114, -0.1839645355939865, 0.06574568152427673, 0.6289896368980408, -0.3605493903160095, 0.8189627528190613, 0.6598418354988098, 0.22827228903770447, -0.4923042356967926, 1.2289104461669922, 0.3578616976737976, -0.465034157037735, 0.7591708898544312, -0.14596770703792572, -0.2927505373954773, -0.7040697932243347, -0.026118509471416473, 0.2681942582130432, -0.4833684265613556, -0.6459203362464905, -1.051190733909607, -0.48732680082321167, -0.40880286693573, -0.42309141159057617, -0.3494478762149811, -0.10992351919412613, -0.38644129037857056, -0.29509615898132324, 0.3508961796760559, 0.434804230928421, -0.32114675641059875, 0.24677111208438873, -0.7725048661231995, 0.5388658046722412, -0.1910548061132431, 0.4978286623954773, -0.03864387050271034, -0.21232032775878906, -0.015265055932104588, 0.06762123852968216, -0.3563719391822815, -1.1474426984786987, 0.4647100269794464, -0.1048862636089325, 0.2770339548587799, 0.4795631468296051, 0.3272637128829956, 0.639130175113678, -0.4282173216342926, 0.41219228506088257, -0.0003146515809930861, -0.581995964050293, 0.9313498735427856, -0.5737736821174622, -0.2549002170562744, 0.6147948503494263, 0.739879846572876, -0.5352181196212769, -0.30164018273353577, -0.6547924280166626, -0.8504114151000977, 0.4777223467826843, 0.4542725384235382, -0.0718291699886322, -0.289374440908432, 0.18310131132602692, -0.21455633640289307, -0.06807473301887512, -0.8075253963470459, 0.009788881056010723, -0.09572567045688629, 0.049298711121082306, 0.32609906792640686, -0.38479575514793396, 0.1705179363489151, 0.0599837526679039, 0.6910078525543213, 0.27227750420570374, 0.3306441307067871, 0.1526489108800888, -0.016785942018032074, -0.21207523345947266, 0.12087713927030563, 0.2425377368927002, 0.495799720287323, -0.6316356062889099, 0.013283221051096916, 0.10852660983800888, -0.18480761349201202, 0.08693072199821472, 0.6234219670295715, -0.2861168086528778, 0.25996822118759155, 0.493161678314209, 0.2650040090084076, 0.5096925497055054, -0.38294172286987305, 0.3345118761062622, -0.23673738539218903, 0.14026306569576263, -0.45701736211776733, -0.13260608911514282, 0.18371376395225525, 0.4265481233596802, 0.7094773054122925, -0.07507923990488052, 0.40870755910873413, -0.23073925077915192, 0.38853636384010315, 0.04030390456318855, -0.31992578506469727, -0.11766476184129715, 0.38502833247184753, 0.275152325630188, -0.5005412101745605, 0.7140786051750183, -0.3997659981250763, -0.617640495300293, 0.6206992864608765, 0.24706827104091644, 0.8611835241317749, -0.6661456823348999, 0.7397438287734985, 0.6346152424812317, 0.4275631308555603, -0.26176947355270386, 0.7466020584106445, 0.15644124150276184, -0.6412471532821655, -0.16089564561843872, -0.8629133701324463, -0.05526161193847656, 0.21079546213150024, -0.361286997795105, 0.6965165138244629, -0.4682713747024536, -0.2952982485294342, 0.2304946482181549, 0.03784310445189476, -0.5558802485466003, 0.32925790548324585, 0.10776226967573166, 0.7773967385292053, -0.9356247186660767, 0.14597490429878235, 0.720198929309845, -0.2645733952522278, -0.7613338828086853, 0.3251712918281555, -0.09263980388641357, -0.08720441162586212, 0.31188255548477173, 0.4161154329776764, 0.4312785565853119, 0.07891083508729935, -0.48435699939727783, -1.2623809576034546, 1.0911085605621338, 0.26468321681022644, -0.2542763352394104, -0.17045632004737854, 0.20186199247837067, 0.4254681169986725, -0.16120626032352448, 0.12669815123081207, 0.09769833832979202, 0.31122028827667236, 0.13882455229759216, -0.7742819786071777, 0.12192989140748978, -0.12196360528469086, 0.11326007544994354, 0.5768604874610901, -0.4470546841621399, 0.2742744982242584, -0.3328969478607178, -0.5763893723487854, -0.26132646203041077, 0.70857834815979, 0.26608794927597046, 0.5738728046417236, 0.42650702595710754, 0.5851691365242004, 0.5287417769432068, -0.2133113443851471, 0.9857221245765686, 0.06541819870471954, 0.8606087565422058, 0.8098584413528442, -0.13464361429214478, 0.8026896119117737, 0.2190304696559906, 0.12337242066860199, 0.25703808665275574, 1.1096903085708618, 0.0805092602968216, 1.0363175868988037, -0.038845714181661606, -0.3007729947566986, -0.1755322962999344, -0.5096508264541626, -0.33072057366371155, 0.21315830945968628, 0.5090837478637695, -0.4389082193374634, -0.7978682518005371, -0.023455826565623283, -0.12022648751735687, -0.25875088572502136, -0.27202844619750977, 0.5395230650901794, 0.09587936103343964, -0.15044939517974854, 0.1829371154308319, 0.3197501599788666, 0.30755823850631714, -0.29207026958465576, -0.30220744013786316, -0.05018147453665733, -0.4909965395927429, -0.24110376834869385, -0.7410758137702942, 0.7856146693229675, 0.037412699311971664, -0.25261542201042175, -0.05683039501309395, 1.0819604396820068, -0.10302403569221497, -0.700874388217926, 0.33473941683769226, 0.23504993319511414, 0.006090791895985603, -0.342445969581604, -0.4976763427257538, 0.19848743081092834, -0.2031201422214508, -0.02855869196355343, -0.02943502739071846, 0.5208162665367126, -0.23110923171043396, 0.6882196068763733, 0.4764784872531891, -0.17660433053970337, -0.3977116346359253, 0.09211788326501846, 0.8885441422462463, -0.8174446821212769, -0.6702008843421936, -0.879968523979187, 0.49595290422439575, -0.4052473306655884, -0.038118038326501846, 0.4470650851726532, 0.36402952671051025, 0.2654244303703308, 0.20972268283367157, 0.8262481689453125, -0.7156538963317871, 0.8545674681663513, -0.05743774399161339, 0.7370465397834778, -0.5524113178253174, 0.29049041867256165, -0.9031789898872375, -1.1682665348052979, -0.3832307457923889, 0.5550143718719482, -0.4495930075645447, -0.2281339466571808, 0.42527851462364197, 0.5175143480300903, -0.19786494970321655, 0.19941601157188416, -0.21519148349761963, -0.0914793461561203, 0.27951863408088684, 0.3418568968772888, 0.8282877802848816, -0.4067141115665436, 0.27692002058029175, -0.371072381734848, -0.18104000389575958, -0.44768813252449036, -0.9678149819374084, -0.8345848917961121, -0.7960502505302429, -0.4465928077697754, -0.12839005887508392, 0.005452602636069059, 0.7328077554702759, 0.4359877407550812, -0.8172273635864258, 0.442697137594223, -0.06817127764225006, 0.668565034866333, 0.15002509951591492, -0.3290126323699951, 0.5715736150741577, 0.3413727283477783, -0.20835816860198975, 0.13324306905269623, 0.5831734538078308, 0.2174551635980606, 0.028300805017352104, 0.2997475862503052, -0.2715083956718445, -0.08982408046722412, 0.43168526887893677, 0.19371676445007324, -0.7024447917938232, -0.5349825024604797, -0.008344233967363834, 0.0029414587188512087, -0.31881827116012573, 0.544257402420044, -0.5257691144943237, 0.02520303800702095, 0.5327867865562439, 0.813826322555542, -0.04876140132546425, 0.28177881240844727, 0.2539011836051941, -0.5291105508804321, -0.21284940838813782, 0.22393913567066193, 0.3264361619949341, 0.7564133405685425, -0.6401682496070862, 0.7236931920051575, 0.26692327857017517, -0.24273747205734253, -0.9796825647354126, -0.12521855533123016, -0.8498019576072693, 0.06886167079210281, 1.1217714548110962, 0.18662969768047333, -0.01682463102042675, -0.22844620048999786, -0.08961180597543716, 0.4372537434101105, -0.5158191323280334, 1.3174326419830322, 0.6545579433441162, 0.1337154656648636, -0.5896504521369934, -0.6339603662490845, 0.2594321370124817, -0.2166900634765625, -0.7631126642227173, -0.31680285930633545, 0.21393674612045288, 0.5022662878036499, 0.43688535690307617, 0.7329447269439697, 0.022652676329016685, 0.19939970970153809, -0.5516679286956787, -0.09511458873748779, 0.5897094011306763, -0.6725475788116455, -0.020052727311849594, 0.29632309079170227, -0.487529456615448, 0.07566498965024948 ]
http://arxiv.org/abs/2405.00899v2
http://arxiv.org/pdf/2405.00899v2
Characterising the Creative Process in Humans and Large Language Models
2024-05-01T23:06:46
2024-06-05T19:15:43
Surabhi S. Nath, Peter Dayan, Claire Stevenson
cs.HC
cs.HC, cs.AI, cs.CL, q-bio.NC
Large language models appear quite creative, often performing on par with the average human on creative tasks. However, research on LLM creativity has focused solely on \textit{products}, with little attention on the creative \textit{process}. Process analyses of human creativity often require hand-coded categories or exploit response times, which do not apply to LLMs. We provide an automated method to characterise how humans and LLMs explore semantic spaces on the Alternate Uses Task, and contrast with behaviour in a Verbal Fluency Task. We use sentence embeddings to identify response categories and compute semantic similarities, which we use to generate jump profiles. Our results corroborate earlier work in humans reporting both persistent (deep search in few semantic spaces) and flexible (broad search across multiple semantic spaces) pathways to creativity, where both pathways lead to similar creativity scores. LLMs were found to be biased towards either persistent or flexible paths, that varied across tasks. Though LLMs as a population match human profiles, their relationship with creativity is different, where the more flexible models score higher on creativity. Our dataset and scripts are available on \href{https://github.com/surabhisnath/Creative_Process}{GitHub}.
[ -0.3683815002441406, -1.0185096263885498, 0.7240012884140015, 0.2836951017379761, 0.05503680929541588, 0.45260557532310486, -0.37880739569664, -0.4662455916404724, 0.4372240900993347, 0.4646265208721161, -0.9342348575592041, -0.5132281184196472, -0.3761902451515198, 0.15242448449134827, -0.25599122047424316, 0.4366142749786377, -0.08712548017501831, -0.2138025015592575, -0.3057304322719574, -0.05514451488852501, -0.4083409309387207, -0.2662923038005829, -0.5181074142456055, -0.43629971146583557, 0.980096697807312, 0.442192018032074, 0.7770631313323975, 0.3792046904563904, 0.24612830579280853, 0.3764442205429077, -0.3735235631465912, 0.08783502131700516, -0.6142086982727051, 0.2276749312877655, -0.46419185400009155, -0.3094070851802826, -0.1937633752822876, 0.27865028381347656, 0.34303465485572815, 0.717160701751709, -0.08391767740249634, 0.06925105303525925, -0.005695770028978586, 0.6015342473983765, -0.21149154007434845, -0.10664180666208267, -0.6015098094940186, 0.07302755117416382, -0.5379751324653625, -0.3155081868171692, -0.18039582669734955, -0.24731308221817017, -0.008276359178125858, -0.5523035526275635, 0.43234971165657043, 0.004865200724452734, 0.46920785307884216, 0.14178705215454102, -0.3387661874294281, -0.6344780921936035, -0.7979931831359863, 0.5975057482719421, -0.5580624341964722, 0.1180083155632019, 0.06629807502031326, 0.22068366408348083, -0.47563475370407104, -0.6696827411651611, -0.7518373727798462, -0.464801162481308, 0.24179519712924957, -0.09888699650764465, 0.013531148433685303, -0.11213195323944092, 0.44050103425979614, 0.39553654193878174, -0.7505056262016296, 0.3397190272808075, -0.18177922070026398, -0.15772458910942078, 0.8586885333061218, 0.4921513795852661, 0.5915163159370422, 0.10181588679552078, -0.30342939496040344, -0.25152134895324707, -0.4865591824054718, 0.32990026473999023, 0.6485763192176819, -0.024789344519376755, 0.21777373552322388, 1.054518699645996, -0.37517663836479187, 0.521324634552002, -0.20952975749969482, -0.1281968653202057, 0.4059913456439972, -0.30539771914482117, 0.05223461985588074, -0.5657446980476379, 0.7540863156318665, 0.26497918367385864, 0.4786674380302429, -0.4212194085121155, -0.42758792638778687, 0.14393644034862518, 0.3726445734500885, -0.4292638599872589, -0.06076700612902641, -0.07112067937850952, -0.24579013884067535, 0.014447801746428013, 0.024300098419189453, -0.31001418828964233, -0.5127753019332886, -0.2906564176082611, 0.3584958016872406, -0.35938405990600586, -0.2312144637107849, 0.40066829323768616, -0.4872753620147705, 0.08058382570743561, 0.07098068296909332, -0.7111177444458008, 0.2866465747356415, 0.7540891766548157, 0.7872779369354248, -0.5035904049873352, -0.5796579718589783, -0.12545239925384521, -0.22920024394989014, -0.32072609663009644, 0.9452545046806335, -0.5576816201210022, -0.2513573467731476, -0.21846480667591095, -0.02051202394068241, -0.038364920765161514, -0.718254804611206, 0.5545369982719421, -0.6433456540107727, 0.08775103837251663, -0.2456202507019043, -0.6716927289962769, -0.16965463757514954, -0.0007948671700432897, -0.903144359588623, 0.8775792717933655, 0.13238774240016937, -0.6557879447937012, 0.6203774809837341, -0.8393204808235168, -0.32822728157043457, 0.3051290810108185, -0.23876269161701202, -0.06584285199642181, 0.3414231240749359, -0.09724685549736023, 0.5259333252906799, -0.20072734355926514, 0.26083096861839294, -0.5052120685577393, -0.49171561002731323, 0.8645618557929993, -0.19037383794784546, 0.7630903124809265, 0.255917489528656, -0.14178051054477692, 0.30313393473625183, -0.9348659515380859, -0.0014622360467910767, 0.22843711078166962, -0.5149896144866943, -0.1412242203950882, -0.006299066357314587, 0.16785073280334473, 0.6202242374420166, 0.3078501224517822, -0.5405910015106201, 0.3768535256385803, -0.5466494560241699, 0.4941549301147461, 0.5195152759552002, 0.2788524031639099, 0.3551514148712158, -0.5810319185256958, 0.7043612003326416, -0.13570384681224823, -0.17684395611286163, 0.10021951049566269, -0.8243616819381714, -0.527539074420929, -0.3058389723300934, -0.20034146308898926, 0.4852992296218872, -0.38788577914237976, 0.6265525817871094, -0.24874219298362732, -0.6195105314254761, -0.4392888844013214, 0.6089811325073242, -0.03473338857293129, 0.212905153632164, -0.021669190376996994, -0.6563321352005005, -0.38554292917251587, -0.8555941581726074, -0.6044254302978516, 0.01988629624247551, -0.44353732466697693, 0.25921598076820374, 0.5475510358810425, -0.4004081189632416, 1.1047892570495605, -0.3280133605003357, -0.06235070154070854, -0.35125261545181274, 0.4931740462779999, 0.42786896228790283, 0.12770794332027435, 0.2819902300834656, -0.715087354183197, -0.3013155460357666, -0.34111329913139343, -0.44515088200569153, -0.5243117213249207, -0.36951327323913574, -0.2860450744628906, 0.15647944808006287, 0.4165632128715515, -0.8646784424781799, 0.4510623514652252, 0.10635531693696976, -0.6954730153083801, 0.4435998499393463, 0.08545418083667755, -0.09717369079589844, -0.6168543696403503, 0.23700444400310516, -0.06454841792583466, 0.10823420435190201, -0.2801915109157562, -0.06275801360607147, -0.2669181525707245, 0.14888572692871094, -0.5590310096740723, 0.5503313541412354, -0.48113614320755005, -0.25491073727607727, -0.18655025959014893, 0.07970515638589859, -0.01008394081145525, 0.4685489535331726, 0.18639984726905823, 0.5050158500671387, 0.3384973406791687, -0.2877715528011322, 0.4309789538383484, -0.07234508544206619, -0.620032787322998, 0.23089230060577393, -0.682612419128418, 0.449436753988266, -0.04373174533247948, 0.0738440454006195, -1.5332773923873901, -0.3810386657714844, -0.01736542023718357, -0.377693235874176, -0.08877252042293549, 0.35746854543685913, -1.0048495531082153, -0.5123810172080994, -0.25946420431137085, 0.12553566694259644, 0.6486226320266724, -0.017893265932798386, 0.4946877956390381, 0.22709855437278748, -0.24398981034755707, -0.006166223436594009, -0.8050634264945984, 0.2037486881017685, -0.6803117990493774, -1.2105828523635864, 0.47563496232032776, -0.5133373141288757, -0.4719919264316559, -0.1497770994901657, 0.044729236513376236, 0.018984101712703705, 0.3979232609272003, 0.2816857695579529, 0.09355603903532028, -0.12058008462190628, -0.14972294867038727, -0.4517505168914795, 0.18876561522483826, 0.1872812956571579, 0.07404235005378723, 0.5759304165840149, 0.02544223889708519, -0.2944106459617615, -0.33558177947998047, 0.25091052055358887, 0.6461346745491028, 0.28280898928642273, 0.7243141531944275, 0.7811930179595947, -0.0735543742775917, -0.22223496437072754, -0.5788929462432861, 0.09904781728982925, -0.508467972278595, 0.18792705237865448, -0.25229373574256897, -0.9314350485801697, 0.763954758644104, 0.1581496298313141, 0.03947907313704491, 0.5119472742080688, 0.915594220161438, -0.17503973841667175, 0.8282669186592102, 0.7447860836982727, 0.3244123160839081, 0.38878732919692993, -0.24000902473926544, 0.11469302326440811, -0.6556248068809509, -0.30656373500823975, -0.08046819269657135, -0.6783209443092346, -0.3603664040565491, -0.5347750782966614, 0.09624191373586655, 0.19578099250793457, -0.07670334726572037, 0.2254200577735901, -0.37572911381721497, 0.6647124290466309, 0.3660082519054413, -0.2409517616033554, 0.20551955699920654, -0.19946196675300598, -0.3457165062427521, -0.17358815670013428, -0.5183886289596558, -0.6388431191444397, 0.9329700469970703, 0.35756954550743103, 0.940873920917511, 0.1000702902674675, 0.7735335826873779, 0.3169011175632477, 0.2778851091861725, -0.9496522545814514, 0.8577327132225037, 0.1591709554195404, -0.509922981262207, -0.4565841257572174, -0.2611323893070221, -1.099501371383667, -0.009873159229755402, -0.02299874648451805, -0.8900468349456787, -0.15469539165496826, -0.14401133358478546, -0.3563719093799591, 0.1482464075088501, -0.655827522277832, 0.7383981347084045, -0.2846374809741974, -0.49998804926872253, -0.14379224181175232, -0.5691900849342346, 0.33652734756469727, -0.19749486446380615, 0.11051490157842636, -0.3000445067882538, -0.10802698135375977, 0.8363686203956604, -0.08217522501945496, 0.9500249028205872, 0.05701228603720665, -0.24341611564159393, 0.4208633601665497, 0.23933273553848267, 0.18435722589492798, -0.09858296066522598, -0.01082177646458149, -0.13567912578582764, -0.44121721386909485, -0.12719807028770447, -0.6507843732833862, 0.7388874888420105, -0.47952505946159363, -0.6461817026138306, -0.17155912518501282, -0.8032641410827637, -0.26120278239250183, 0.0954209566116333, 0.28679966926574707, -0.0708157867193222, -0.3749052584171295, 0.13473732769489288, 0.2911709249019623, -0.24778543412685394, 0.4396972060203552, 0.4765703082084656, -0.14237599074840546, -0.1720815896987915, 0.4334753751754761, 0.262910395860672, 0.18064822256565094, 0.2162012904882431, 0.2691277265548706, -0.6357986927032471, -0.35501378774642944, -0.0768670067191124, 0.21616755425930023, -0.7702392339706421, 0.3945501446723938, -0.4803988039493561, -0.12094138562679291, -0.4283351004123688, -0.2020096331834793, -0.09170454740524292, -0.6131845116615295, -0.5148252844810486, 0.02172604762017727, 0.28885677456855774, 0.9187690019607544, 0.006887408439069986, -0.12289819866418839, -0.47716981172561646, 0.41917863488197327, 0.45627346634864807, 0.23747676610946655, 0.21949025988578796, -0.549194872379303, -0.004675780888646841, -0.04633089154958725, -0.5656507015228271, -0.7494184374809265, 0.5320801734924316, 0.3486599326133728, 0.8086657524108887, 0.35878005623817444, -0.421051561832428, 0.5867587924003601, -0.3985850512981415, 1.0897527933120728, -0.013787883333861828, -0.6210985779762268, 0.43040964007377625, -0.26270565390586853, 0.44985735416412354, 0.3392559587955475, 0.4230900704860687, -0.6707825064659119, -0.3729279041290283, -0.6324362754821777, -1.080000638961792, 0.3803085386753082, 0.2717294991016388, 0.07683955878019333, -0.14922794699668884, 0.204057976603508, 0.2277391403913498, -0.028416123241186142, -0.6864581108093262, 0.14117814600467682, 0.15068645775318146, -0.0008054366917349398, -0.2965371608734131, -0.02670873887836933, -0.17756426334381104, -0.21334193646907806, 0.24794912338256836, 0.0454801470041275, 0.03289244323968887, -0.015109616331756115, -0.04427780583500862, -0.2859571874141693, 0.2375417947769165, 0.45261505246162415, 0.6697095036506653, 0.045858751982450485, 0.16952531039714813, 0.05339818075299263, -0.26796239614486694, 0.24623315036296844, -0.2586645185947418, 0.28243088722229004, -0.13967491686344147, 0.5741267204284668, 0.5792315602302551, 0.14852946996688843, -1.068735122680664, 0.31922999024391174, -0.0969831719994545, -0.197195366024971, -0.504708468914032, 0.6727564930915833, 0.5132657289505005, 0.46838676929473877, 0.21097266674041748, 0.1809331327676773, 0.29370981454849243, -0.7396762371063232, 0.12567324936389923, 0.34229516983032227, 0.09459850192070007, -0.529033362865448, 0.5737009048461914, -0.08897346258163452, -0.8557504415512085, 0.6187558174133301, -0.3743550181388855, -0.06377503275871277, 0.6778769493103027, 0.46776556968688965, 1.2224147319793701, 0.3639366328716278, 0.07694419473409653, -0.07050858438014984, -0.14687083661556244, -0.16736750304698944, 0.5455458760261536, -0.10792367905378342, -0.7971022725105286, -0.5079296827316284, -0.748132050037384, -0.09323553740978241, 0.3309827744960785, -0.3967399001121521, 0.31616300344467163, -0.20295307040214539, -0.22339126467704773, 0.23911994695663452, -0.1144736185669899, -0.9617168307304382, -0.05168259143829346, 0.5530803799629211, 1.1548140048980713, -0.9476578831672668, 0.7076495289802551, 0.866193950176239, -0.3083536624908447, -0.5263432860374451, 0.022508367896080017, 0.24748173356056213, -0.580294132232666, 0.793592095375061, 0.36575448513031006, -0.3799271285533905, -0.15912975370883942, -0.6198969483375549, -0.8767508864402771, 1.0808441638946533, 0.07634726911783218, -0.39214494824409485, -0.20333445072174072, 0.23423713445663452, 0.9798653721809387, -0.5371596217155457, -0.15059347450733185, 0.6715254187583923, 0.19587033987045288, 0.39868077635765076, -0.6760557889938354, -0.13023780286312103, -0.5997170209884644, 0.3197815716266632, -0.183174267411232, -0.31051331758499146, 0.6415579319000244, -0.2913787364959717, -0.5442394018173218, 0.43336221575737, 0.3701295256614685, 0.5537740588188171, 0.32395124435424805, 0.5624216198921204, 0.7319211959838867, 0.6917257905006409, 0.27968260645866394, 0.762012779712677, -0.08736131340265274, 0.17426659166812897, 0.7593963742256165, -0.45525383949279785, 0.9018784761428833, 0.5649908781051636, -0.05743499472737312, 0.585181713104248, 0.6480554342269897, -0.06889510154724121, 0.45305752754211426, 0.7000463008880615, -0.09164220094680786, -0.20787610113620758, 0.12603023648262024, 0.2729083001613617, 0.42405036091804504, 0.5432892441749573, -0.2831878960132599, 0.11020731180906296, -0.043087564408779144, -0.24475596845149994, 0.13522061705589294, -0.07805362343788147, 0.6885288953781128, 0.03248625621199608, -0.9345232844352722, 0.6544240117073059, -0.1850103884935379, 0.9221853613853455, -0.4220586121082306, 0.09246829152107239, -0.012977995909750462, -0.11520496755838394, -0.08332117646932602, -1.5188918113708496, 0.50154048204422, -0.06568330526351929, -0.0016534862807020545, -0.48422354459762573, 0.6980326771736145, -0.27374714612960815, -0.302166610956192, 0.29880356788635254, 0.6062381863594055, 0.31149283051490784, 0.11328991502523422, -0.6192667484283447, -0.060128696262836456, -0.2197457104921341, -0.6539034247398376, 0.0735936090350151, 0.7020451426506042, -0.09922923147678375, 0.6698138117790222, 0.6768122911453247, 0.13873617351055145, 0.11811890453100204, 0.42482003569602966, 0.613028347492218, -1.0522518157958984, -0.5661373138427734, -0.9223718047142029, 0.6038621664047241, -0.12972797453403473, -0.7727164030075073, 0.7313830256462097, 0.4964786469936371, 0.9170517921447754, -0.3033057749271393, 0.41978323459625244, -0.10536299645900726, 0.43990984559059143, -0.6282582879066467, 0.565044105052948, -0.5754286646842957, 0.37787142395973206, -0.30766990780830383, -0.9266371726989746, -0.2996279001235962, 0.5669012069702148, -0.23994290828704834, 0.02587229385972023, 0.5165756940841675, 1.0625234842300415, -0.1340823918581009, -0.19030052423477173, 0.2660381495952606, 0.17692460119724274, 0.16272911429405212, 0.6337341666221619, 1.5046861171722412, 0.5229709148406982, 0.048288680613040924, -0.1210608035326004, -0.2279260754585266, -0.1944567859172821, -0.8822678327560425, -0.9349692463874817, -0.7443709969520569, -0.24889878928661346, -0.12464896589517593, -0.5447109341621399, 0.8427612781524658, 0.5292991995811462, -0.19223937392234802, -0.3053959310054779, -0.313134104013443, -0.18042021989822388, -0.22676622867584229, -0.29619452357292175, -0.18204748630523682, -0.18699197471141815, -0.39812201261520386, 0.5381404757499695, 0.3649117946624756, 0.08856436610221863, -0.6557829976081848, -0.00758860120549798, 0.035272203385829926, 0.380313903093338, 0.5090570449829102, 0.20935077965259552, -1.0613418817520142, 0.014211407862603664, 0.36781394481658936, -0.20398086309432983, 0.07394327223300934, 0.9949878454208374, -0.6714926362037659, 0.3070284128189087, 0.8539185523986816, 0.35010185837745667, 0.3139256536960602, -0.1719595193862915, 0.23341898620128632, -0.6849989891052246, 0.01660887897014618, 0.5291405916213989, 0.33074629306793213, 0.47351258993148804, -0.4541996717453003, 0.4858161211013794, 0.4525265097618103, -0.6981227993965149, -0.44463488459587097, 0.3562968075275421, -1.1421302556991577, -0.26368874311447144, 1.2754316329956055, -0.027070341631770134, -0.28480958938598633, -0.0763326957821846, -0.36314138770103455, 0.07732255011796951, -0.18053773045539856, 0.9905201196670532, 1.016535758972168, -0.7027497887611389, 0.31513386964797974, -0.5022919178009033, 0.3055301606655121, 0.1086728647351265, -0.4286830723285675, -0.07573559135198593, 0.38645094633102417, 0.5951502919197083, 0.3169204592704773, 0.7643421292304993, -0.036369722336530685, 0.19032369554042816, -0.23333804309368134, -0.01658371090888977, 0.204414963722229, -0.2886865735054016, -0.3078189194202423, 0.22997581958770752, 0.29286515712738037, 0.22732579708099365 ]
http://arxiv.org/abs/2405.00888v1
http://arxiv.org/pdf/2405.00888v1
DynaMo: Accelerating Language Model Inference with Dynamic Multi-Token Sampling
2024-05-01T22:17:57
2024-05-01T22:17:57
Shikhar Tuli, Chi-Heng Lin, Yen-Chang Hsu, Niraj K. Jha, Yilin Shen, Hongxia Jin
cs.CL
cs.CL
Traditional language models operate autoregressively, i.e., they predict one token at a time. Rapid explosion in model sizes has resulted in high inference times. In this work, we propose DynaMo, a suite of multi-token prediction language models that reduce net inference times. Our models $\textit{dynamically}$ predict multiple tokens based on their confidence in the predicted joint probability distribution. We propose a lightweight technique to train these models, leveraging the weights of traditional autoregressive counterparts. Moreover, we propose novel ways to enhance the estimated joint probability to improve text generation quality, namely co-occurrence weighted masking and adaptive thresholding. We also propose systematic qualitative and quantitative methods to rigorously test the quality of generated text for non-autoregressive generation. One of the models in our suite, DynaMo-7.3B-T3, achieves same-quality generated text as the baseline (Pythia-6.9B) while achieving 2.57$\times$ speed-up with only 5.87% and 2.67% parameter and training time overheads, respectively.
[ -0.21839214861392975, -0.786348819732666, 0.2474890947341919, 0.29624098539352417, -0.37332138419151306, 0.4638245105743408, -0.1250392347574234, -0.5883100628852844, 0.4256148934364319, 0.28616607189178467, -0.593804121017456, -0.4890764355659485, -0.4878859221935272, -0.16268423199653625, -0.7193692326545715, 0.6983107328414917, 0.09972251951694489, 0.05430026352405548, 0.1036340519785881, -0.03215564042329788, -0.18410570919513702, -0.2502690851688385, -0.45117512345314026, -0.09800128638744354, 0.4163660705089569, 0.4730461537837982, 0.7250630259513855, 0.6495679616928101, 0.29820600152015686, 0.27267688512802124, -0.048059675842523575, 0.11445585638284683, -0.19490168988704681, 0.682784378528595, 0.18783538043498993, -0.3443719446659088, -0.49565157294273376, 0.023565443232655525, 0.5837735533714294, 0.7502968907356262, -0.20830599963665009, 0.5029868483543396, -0.24533937871456146, 0.4008595645427704, -0.8217326998710632, 0.031393639743328094, -0.8469167351722717, -0.0977754294872284, -0.27426865696907043, 0.1887640357017517, -0.45687171816825867, -0.13561347126960754, -0.09959667921066284, -0.4301031827926636, 0.6309939026832581, 0.32073935866355896, 0.7228848934173584, 0.14322106540203094, -0.3496754765510559, 0.06313401460647583, -0.6748138070106506, 0.8440247178077698, -0.6824617981910706, 0.4676614999771118, 0.3748272657394409, 0.5364832282066345, -0.12532398104667664, -1.1451514959335327, -0.9549681544303894, -0.15018117427825928, 0.2607910931110382, 0.1726333349943161, 0.20726576447486877, -0.0067213671281933784, -0.05648364871740341, 0.30132102966308594, -0.2566022276878357, 0.2897231876850128, 0.10356909781694412, -0.2612535059452057, 0.5782289505004883, 0.2660277485847473, 0.05445035919547081, -0.4227426052093506, -0.09103955328464508, -0.4003998637199402, -0.5898798108100891, -0.04591380059719086, 0.8086950778961182, 0.46579045057296753, -0.10217656940221786, 0.48914361000061035, -0.3792986273765564, 0.7153937816619873, 0.2023874670267105, -0.10838551074266434, 0.23609568178653717, -0.6975259184837341, -0.15574759244918823, -0.3562976121902466, 0.9692199230194092, 0.14065934717655182, -0.3201599717140198, -0.26284489035606384, -0.2772659361362457, -0.21532171964645386, 0.13444636762142181, -0.8799019455909729, -0.5208802819252014, 0.48784270882606506, -0.7386439442634583, -0.4496802091598511, 0.00701267272233963, -1.0377874374389648, -0.3357994556427002, -0.14745137095451355, 0.186345636844635, -0.4772650897502899, -0.3716866970062256, 0.11711063981056213, -0.27814704179763794, -0.30840522050857544, 0.41097286343574524, -1.0217442512512207, 0.19811463356018066, 0.3352976441383362, 0.7468361258506775, -0.12728747725486755, -0.4237949252128601, -0.7926849126815796, 0.15157945454120636, -0.2476714551448822, 0.7501556277275085, -0.37715205550193787, -0.16732220351696014, -0.0007772223325446248, -0.2501111626625061, 0.014873942360281944, -0.23260833323001862, 0.5537831783294678, -0.5001466274261475, 0.3069697320461273, 0.08883883059024811, -0.40616747736930847, 0.04273718222975731, -0.22636789083480835, -0.8370267748832703, 1.3249977827072144, 0.15926168859004974, -0.7619920969009399, 0.9132905006408691, -0.38591548800468445, -0.6348438858985901, -0.07630147784948349, 0.261678010225296, -0.5609826445579529, 0.23600317537784576, 0.45525118708610535, 0.45963406562805176, -0.5818012952804565, 0.4951973557472229, -0.5279605388641357, -0.11939810961484909, 0.023632917553186417, -0.6794613003730774, 0.7133968472480774, 0.19819502532482147, -0.42935171723365784, 0.4281768202781677, -1.0367921590805054, 0.13332974910736084, -0.15329262614250183, -0.1412118673324585, 0.029072387143969536, 0.08815572410821915, 0.38861262798309326, 0.3193838894367218, 0.13136199116706848, -0.48837903141975403, 0.07357729971408844, -0.3789190948009491, 0.06704755872488022, 0.5861724019050598, -0.23683740198612213, 0.5419284105300903, -0.07905114442110062, 0.6107077598571777, -0.10948791354894638, 0.2426021248102188, -0.23166106641292572, -0.3079722821712494, -1.0019466876983643, -0.6712563037872314, 0.715548574924469, 0.09299127012491226, -1.026663064956665, 0.7313424944877625, -0.381323903799057, -0.8003759980201721, -0.7355162501335144, -0.15925627946853638, 0.13030511140823364, 0.2660022974014282, 0.4561625123023987, -0.1223817989230156, -0.5194898843765259, -0.7071558833122253, -0.39431101083755493, -0.41307997703552246, -0.18022426962852478, 0.1809738725423813, 0.47193071246147156, 0.30775004625320435, 0.9413043856620789, -0.3216618597507477, 0.0629715695977211, -0.44443655014038086, 0.6655808687210083, 0.1593819111585617, 0.3800332248210907, 0.7017799019813538, -0.5315226316452026, -0.707734227180481, -0.49143269658088684, -0.31469130516052246, -0.2643790543079376, -0.13112516701221466, 0.02106599695980549, 0.3581182360649109, 0.333857923746109, -0.7687617540359497, 0.2565600574016571, 0.8667688965797424, -0.3942992687225342, 0.6729361414909363, -0.2184751182794571, 0.11600050330162048, -1.3563501834869385, 0.19428808987140656, -0.3672894239425659, -0.2567083537578583, -0.5470919609069824, 0.05607268959283829, 0.1594034880399704, -0.03733713552355766, -0.31626424193382263, 0.891683042049408, -0.7402806878089905, -0.11058884114027023, -0.42682766914367676, 0.04939291253685951, 0.0585305355489254, 0.05090387165546417, -0.16033615171909332, 0.9922457337379456, 0.755772590637207, -0.6793450117111206, 0.2617158591747284, -0.08625023812055588, -0.7016428112983704, 0.10042808204889297, -0.3868863582611084, 0.004954595118761063, -0.15860050916671753, 0.4186229705810547, -1.1568334102630615, -0.26895609498023987, -0.09041529148817062, -0.48253530263900757, 0.29572445154190063, 0.00285099889151752, -1.1630040407180786, -0.5772310495376587, -0.17446593940258026, 0.24749258160591125, 0.5029311180114746, -0.6465779542922974, 0.8422074913978577, 0.5258826017379761, -0.08614002168178558, -0.7624557018280029, -0.35285553336143494, 0.21270088851451874, -0.03671111539006233, -0.43575891852378845, 0.4248899519443512, 0.36809036135673523, -0.0661124438047409, -0.03991444781422615, -0.09765402972698212, -0.046590205281972885, 0.3996252715587616, 0.07554241269826889, 0.07388004660606384, 0.0793793797492981, 0.47537320852279663, 0.34998348355293274, -0.07371705770492554, -0.23829524219036102, -0.5347928404808044, 1.0164903402328491, 0.3762977719306946, -0.40618792176246643, -0.6598713994026184, 0.1048007532954216, 0.7175034880638123, -0.3322422206401825, 1.1537796258926392, 0.7944243550300598, -0.12737052142620087, -0.2501588761806488, -0.3983548581600189, -0.4663504362106323, -0.4149717390537262, 0.4127242863178253, -0.4941977262496948, -0.38807108998298645, 0.8594874143600464, 0.13507576286792755, -0.00724518857896328, 0.6076738834381104, 0.6700822710990906, 0.10660549998283386, 1.0079842805862427, 0.3107944130897522, -0.14687280356884003, 0.7446586489677429, -0.22339829802513123, 0.21350616216659546, -0.5413896441459656, -0.0675351470708847, -0.759819746017456, -0.28509676456451416, -0.4168243408203125, -0.622382640838623, 0.08252032101154327, 0.179278165102005, -0.011675461195409298, 0.3879379630088806, -0.049734145402908325, 0.2026732712984085, 0.7805953621864319, -0.18346478044986725, 0.25513240694999695, -0.04857360199093819, -0.3081567883491516, 0.1263292133808136, -0.8997386693954468, -0.2514879107475281, 1.2742431163787842, 0.13875235617160797, 0.745749831199646, 0.26597392559051514, 0.4226651191711426, 0.05910753086209297, 0.5348867177963257, -0.40779995918273926, 0.46231988072395325, -0.09945317357778549, -0.8784148097038269, -0.34426581859588623, -0.5192990303039551, -0.9431626200675964, 0.3016292452812195, -0.5602964162826538, -0.6971478462219238, -0.11737333238124847, 0.3243248164653778, -0.17039264738559723, 0.3811251223087311, -0.5365099906921387, 0.49602046608924866, -0.02556280419230461, -0.5074079632759094, -0.389227956533432, -0.5740255117416382, 0.41913747787475586, -0.2610018253326416, 0.11290004104375839, -0.2971048951148987, 0.03992169350385666, 0.46687427163124084, -0.5279415845870972, 0.9793907403945923, -0.3982463777065277, 0.04597239941358566, 0.3652699887752533, 0.0506647489964962, 0.7579294443130493, 0.02250812202692032, -0.46877792477607727, 0.048335056751966476, -0.3600124418735504, -0.434253990650177, -0.5999078750610352, 0.4165095090866089, -0.585850715637207, -0.3574034869670868, -0.17070217430591583, -0.6425737142562866, -0.13056063652038574, 0.32024866342544556, 0.2974351644515991, 0.45071595907211304, -0.09803801029920578, 0.2123212218284607, -0.07004129886627197, -0.2681371569633484, 0.7367215156555176, 0.41467100381851196, -0.33409246802330017, -0.7088662385940552, 0.6502828001976013, 0.04073799028992653, 0.5176747441291809, 0.24451719224452972, 0.05176490545272827, -0.7918919920921326, -0.8912515640258789, -0.7392854690551758, 0.0028314406517893076, -0.4846717119216919, -0.4091433882713318, -1.0567572116851807, 0.21571505069732666, -0.6785764098167419, 0.20798185467720032, -0.49466973543167114, -0.9000738859176636, -0.29639625549316406, 0.03933115676045418, 0.39643895626068115, 0.2466772198677063, 0.18462540209293365, 0.8265852928161621, -0.8828524947166443, 0.2908881604671478, -0.07615793496370316, 0.3635740578174591, 0.27253079414367676, -0.5933626890182495, -0.3474717438220978, -0.1104564219713211, -0.2714412212371826, -0.6925210952758789, 0.601992130279541, 0.2462616264820099, 0.4871763288974762, 0.12985189259052277, 0.3046802878379822, 0.761167049407959, -0.6040599942207336, 0.9079607129096985, 0.34160470962524414, -1.1241083145141602, 0.18034861981868744, -0.3543126881122589, 0.28416791558265686, 0.6225191950798035, -0.07080735266208649, -0.47018417716026306, -0.9352536797523499, -0.9538773894309998, -1.020495891571045, 0.5700778365135193, 0.303514689207077, 0.24003419280052185, -0.17414513230323792, 0.25065767765045166, 0.3807896375656128, 0.5166154503822327, -0.4161294102668762, -0.37067684531211853, -0.327984094619751, -0.5027304887771606, -0.07279464602470398, -0.010900378227233887, 0.2550733983516693, -0.12217938899993896, 0.6022899746894836, -0.30944064259529114, 0.15323740243911743, -0.25134724378585815, -0.06981238722801208, -0.16898463666439056, -0.10668795555830002, 0.37620484828948975, 0.46234869956970215, -0.07058127224445343, 0.08306629210710526, 0.0636526420712471, -0.4981429874897003, 0.16165843605995178, 0.33964720368385315, -0.32285645604133606, 0.2667750418186188, 0.44208988547325134, 0.9668684005737305, -0.15169915556907654, -0.5692591071128845, 0.35347339510917664, -0.1970975697040558, 0.03555108606815338, -0.15148431062698364, 0.09564913064241409, 0.04772654175758362, -0.00638057803735137, 0.4666025936603546, 0.1584196388721466, 0.025974363088607788, -0.4599018394947052, 0.29122045636177063, 0.5448439717292786, -0.07422953099012375, -0.518836498260498, 0.9100190997123718, 0.4301179051399231, -0.23993971943855286, 0.4118899703025818, -0.3485942482948303, -0.3267640173435211, 0.5859337449073792, 0.6100172996520996, 0.826040506362915, -0.16133692860603333, 0.27193009853363037, 0.489321768283844, -0.021702952682971954, -0.20217430591583252, 0.397779643535614, 0.1276184320449829, -0.7850359678268433, -0.6218442320823669, -0.7114894390106201, -0.39895281195640564, 0.1470070481300354, -0.3720954358577728, 0.37368544936180115, -0.27387040853500366, -0.4627262353897095, -0.015096185728907585, 0.1180969849228859, -0.4124982953071594, 0.16602344810962677, -0.45704028010368347, 0.9511858224868774, -0.8702288866043091, 1.0102683305740356, 0.3029407858848572, -0.31286507844924927, -0.6493776440620422, 0.39549246430397034, -0.17521093785762787, -0.5107638835906982, 0.7759968638420105, 0.07294217497110367, -0.19277140498161316, 0.2880869209766388, -0.2601573169231415, -1.1292537450790405, 0.9113161563873291, 0.3302075266838074, -0.19362394511699677, 0.1913871318101883, -0.2636564075946808, 0.5657410025596619, -0.1926283985376358, 0.2885480225086212, 0.18514686822891235, 0.36191174387931824, -0.006279539316892624, -0.870894730091095, -0.08799581229686737, -0.01894606091082096, -0.21692058444023132, 0.599789559841156, -0.6567474007606506, 1.1166467666625977, -0.24865037202835083, -0.4156506657600403, 0.5132178068161011, 0.9980214834213257, 0.342772901058197, 0.0156986303627491, 0.5833604335784912, 0.39057642221450806, 1.161238670349121, 0.07692384719848633, 1.2033253908157349, -0.7842401266098022, 0.40604186058044434, 1.2223877906799316, -0.4530409872531891, 0.7301133871078491, 0.5237042307853699, -0.007955528795719147, 0.5227615833282471, 0.6166394352912903, 0.062291219830513, 0.5351812243461609, 0.1288376748561859, -0.4977825880050659, -0.2251248061656952, -0.14926207065582275, -0.08373363316059113, 0.5734401345252991, 0.126775324344635, -0.41379979252815247, -0.04737929254770279, -0.17755848169326782, -0.12887966632843018, -0.06652549654245377, 0.17481692135334015, 0.45598745346069336, -0.3849862515926361, -0.8122408390045166, 0.3458377718925476, 0.2765568792819977, 0.5241605043411255, -0.20891770720481873, 0.2715842127799988, -0.12669561803340912, 0.10675960034132004, 0.30276957154273987, -0.49506956338882446, 0.020675184205174446, -0.1257036328315735, -0.16041751205921173, -0.3218172490596771, 0.6414951682090759, -0.4867856502532959, -0.7060976624488831, 0.19938436150550842, 0.7523860335350037, -0.07143683731555939, 0.10633745044469833, -0.4214862287044525, -0.2542218565940857, -0.33766600489616394, -0.29764482378959656, 0.20684029161930084, 0.6567218899726868, 0.08564211428165436, 0.8631361722946167, 0.9799789786338806, 0.4717386066913605, 0.1834849715232849, 0.27678704261779785, 0.659464955329895, -0.573486864566803, -0.41403627395629883, -0.7152917981147766, 0.4326251149177551, -0.3870607614517212, -0.3999755084514618, 0.7160961031913757, 0.5958878397941589, 0.4123360514640808, -0.16795887053012848, 0.6449989080429077, -0.1305389106273651, 0.6769561767578125, -0.7387992739677429, 0.9304585456848145, -0.5561815500259399, 0.07260093092918396, -0.07744468003511429, -0.7910523414611816, -0.4439098834991455, 0.41725581884384155, 0.033883169293403625, 0.09935887157917023, 0.7615315318107605, 0.4897247552871704, -0.06312310695648193, -0.12401842325925827, 0.0765417218208313, 0.013642248697578907, 0.5861222147941589, -0.08549146354198456, 0.5996399521827698, -0.515581488609314, 0.41139447689056396, -0.19713856279850006, 0.10174766927957535, -0.3169907331466675, -1.0384740829467773, -0.8053169846534729, -0.5254888534545898, 0.019903525710105896, -0.4383143484592438, -0.17592233419418335, 0.9035886526107788, 0.8676953911781311, -0.6358126401901245, -0.10516420751810074, -0.3684719204902649, 0.05800604447722435, -0.28889355063438416, -0.18191544711589813, 0.5856235027313232, -0.7047701478004456, -1.0971916913986206, 0.3256232738494873, -0.017322439700365067, 0.3100087642669678, -0.30894556641578674, 0.19451455771923065, -0.05353812873363495, -0.0949740931391716, 0.3848879635334015, -0.23598934710025787, -0.618804931640625, -0.44875335693359375, 0.17015720903873444, -0.05844733119010925, -0.11811119318008423, 0.8141677379608154, -0.8732297420501709, 0.3587964177131653, 0.7192122340202332, 0.5438231229782104, 0.5476164221763611, 0.07392478734254837, 0.858845055103302, -0.9139512777328491, 0.537808895111084, 0.3254406452178955, 0.36874619126319885, 0.2298297882080078, 0.0609329529106617, 0.18596212565898895, 0.3516198396682739, -0.3217143416404724, -0.9855095744132996, 0.44065776467323303, -0.4572680592536926, -0.39550870656967163, 0.9646905064582825, 0.014719360508024693, -0.13045631349086761, -0.356012761592865, 0.09983690828084946, 0.5605779886245728, -0.4957912862300873, 1.1173797845840454, 0.7481703758239746, 0.11595340818166733, -0.18205517530441284, -0.38245999813079834, 0.5414183735847473, 0.6026833057403564, -0.8817302584648132, 0.5358197093009949, 0.4542900621891022, -0.07760433852672577, 0.1678924411535263, 0.5591569542884827, 0.14851219952106476, 0.19113542139530182, 0.4126514196395874, 0.3861919939517975, 0.05372331663966179, -0.6292864084243774, -0.06379298120737076, 0.3278104066848755, 0.1790444552898407, -0.18112562596797943 ]
http://arxiv.org/abs/2405.00864v1
http://arxiv.org/pdf/2405.00864v1
Math Multiple Choice Question Generation via Human-Large Language Model Collaboration
2024-05-01T20:53:13
2024-05-01T20:53:13
Jaewook Lee, Digory Smith, Simon Woodhead, Andrew Lan
cs.CL
cs.CL
Multiple choice questions (MCQs) are a popular method for evaluating students' knowledge due to their efficiency in administration and grading. Crafting high-quality math MCQs is a labor-intensive process that requires educators to formulate precise stems and plausible distractors. Recent advances in large language models (LLMs) have sparked interest in automating MCQ creation, but challenges persist in ensuring mathematical accuracy and addressing student errors. This paper introduces a prototype tool designed to facilitate collaboration between LLMs and educators for streamlining the math MCQ generation process. We conduct a pilot study involving math educators to investigate how the tool can help them simplify the process of crafting high-quality math MCQs. We found that while LLMs can generate well-formulated question stems, their ability to generate distractors that capture common student errors and misconceptions is limited. Nevertheless, a human-AI collaboration has the potential to enhance the efficiency and effectiveness of MCQ generation.
[ -0.7121165990829468, -0.951810359954834, 0.6877295970916748, -0.022978106513619423, -0.02392449975013733, 0.3730963468551636, -0.012865484692156315, -0.15761412680149078, 0.1726822406053543, 0.5760787129402161, -0.7447373270988464, -0.21891991794109344, -0.20511367917060852, 0.09841757267713547, -0.13349425792694092, 0.7168930768966675, -0.18652960658073425, 0.1742105633020401, -0.6894674301147461, 0.005029771011322737, -0.49726590514183044, -0.6581573486328125, -0.7610843777656555, -0.2935318052768707, 0.5346289873123169, 0.728552520275116, 0.9198722839355469, 0.2670495808124542, 0.6051427721977234, 0.3346972167491913, 0.31340402364730835, 0.43903443217277527, -0.1774410903453827, 0.2694479823112488, -0.026240942999720573, -0.3863498270511627, -0.4391324520111084, 0.08767522126436234, 0.4666052460670471, 0.9283307194709778, -0.2847678065299988, 0.528465211391449, 0.015432430431246758, 0.4349365532398224, -0.6086786389350891, -0.2533920705318451, -0.6065518260002136, 0.03068738989531994, -0.1203918382525444, 0.01645944081246853, -0.23081529140472412, -0.48421934247016907, -0.03589288145303726, -0.31094762682914734, 0.17864184081554413, -0.09164293855428696, 0.580515444278717, 0.3696635663509369, -0.3217787742614746, -0.4774782359600067, -0.6140606999397278, 0.7136043310165405, -0.46518757939338684, 0.220378115773201, 0.28817838430404663, 0.6218768954277039, -0.254523366689682, -0.5071545243263245, -0.6705933809280396, -0.16461803019046783, 0.18419907987117767, 0.27004650235176086, 0.301492303609848, -0.3157527446746826, 0.3703252971172333, 0.1293116956949234, -0.3610186278820038, -0.08968206495046616, -0.3153381645679474, -0.23040184378623962, 0.8891321420669556, 0.6434375047683716, 0.4881799519062042, -0.2662684917449951, -0.1163504496216774, -0.04657987505197525, -0.6282150745391846, 0.03468883037567139, 0.44911205768585205, 0.11801290512084961, 0.3123352527618408, 0.8989917039871216, 0.13251125812530518, 0.6823614835739136, -0.16220572590827942, -0.2526088356971741, 0.05478742718696594, -0.3734782338142395, -0.006536093540489674, -0.20780202746391296, 0.9840565323829651, 0.2147318422794342, 0.19691620767116547, 0.27497097849845886, -0.10739585012197495, 0.11428187042474747, 0.0644059032201767, -0.6345503330230713, -0.2347230315208435, 0.17776262760162354, 0.1195077896118164, -0.3449263572692871, 0.06886431574821472, -0.5490976572036743, -0.029299631714820862, -0.6079888939857483, 0.41418081521987915, -0.22356247901916504, -0.15422075986862183, 0.014865648001432419, -0.07739222794771194, -0.10393193364143372, 0.47494837641716003, -0.6341085433959961, 0.19020360708236694, 0.39234185218811035, 0.4749480187892914, -0.3375365436077118, -0.5934325456619263, -0.7229354381561279, 0.24244385957717896, -0.2207219898700714, 0.6146688461303711, -0.40378764271736145, -0.6823664903640747, -0.27509060502052307, -0.553016185760498, -0.064569391310215, -0.5744951963424683, 0.3271404504776001, -0.35774487257003784, 0.46690693497657776, -0.1243211179971695, -0.5473013520240784, 0.2304116189479828, 0.4444645941257477, -0.5613019466400146, 1.2293745279312134, 0.23275087773799896, -0.4827307164669037, 0.13496513664722443, -0.7352995872497559, -0.1828395426273346, 0.3508819043636322, -0.5926548838615417, -0.5466763973236084, -0.16863283514976501, 0.47816750407218933, 0.41579121351242065, -0.49505066871643066, 0.5011104345321655, -0.17070156335830688, -0.17384399473667145, 0.6475703120231628, -0.558693528175354, 0.889897882938385, 0.12437491863965988, -0.035021670162677765, 0.04730941727757454, -0.5035945177078247, 0.18369044363498688, 0.24061816930770874, -0.44477400183677673, -0.025495104491710663, -0.2383117377758026, -0.09448356181383133, 0.5390726923942566, 0.1750393807888031, -0.32965683937072754, -0.011370361782610416, 0.1317014992237091, 0.27161020040512085, 0.6592133045196533, 0.24473407864570618, 0.07054290920495987, -0.6989811062812805, 0.8796101212501526, -0.11594847589731216, 0.1666189730167389, -0.023123448714613914, -0.6408961415290833, -0.7855613827705383, -0.27617961168289185, 0.15806855261325836, 0.48264482617378235, -0.8288828134536743, 0.40027397871017456, 0.05711938440799713, -0.5542911291122437, -0.5447893142700195, 0.3785373270511627, 0.20908930897712708, 0.6010966300964355, 0.07467914372682571, -0.030774995684623718, -0.4281536936759949, -0.5843140482902527, -0.09838490933179855, 0.14339929819107056, -0.22912274301052094, 0.6778623461723328, 0.532852828502655, -0.054301340132951736, 1.3024736642837524, -0.8077353835105896, -0.009454509243369102, -0.18824608623981476, 0.3631097972393036, -0.02165323868393898, 0.491252064704895, 0.41910290718078613, -0.6923370361328125, -0.5686318278312683, -0.5478174686431885, -0.5895168781280518, -0.07397691160440445, -0.046511318534612656, -0.6531395316123962, -0.11603070050477982, 0.47114962339401245, -0.5832012891769409, 0.0877620056271553, 0.3599899709224701, -0.10503380000591278, 0.9832689762115479, 0.07632406800985336, 0.03216056525707245, -1.4413429498672485, 0.12020772695541382, -0.4353578984737396, -0.08416866511106491, -0.2531616687774658, 0.07469278573989868, -0.09663303941488266, -0.4969250559806824, -0.6687731742858887, 0.5444023013114929, -0.2855294346809387, -0.06443841755390167, 0.24242155253887177, 0.442606657743454, 0.011112142354249954, 0.20968377590179443, -0.10837133228778839, 0.8291471004486084, 0.32503020763397217, -0.6392253041267395, 0.37154197692871094, 0.36219945549964905, -0.17341837286949158, 0.818016529083252, -0.5843702554702759, 0.18623210489749908, 0.05513674020767212, 0.1284113973379135, -0.9371520280838013, -0.5629110336303711, 0.08592075109481812, -0.6844347715377808, -0.21603316068649292, -0.010804443620145321, -0.6458914875984192, -0.7255902290344238, -0.16810902953147888, 0.4920329451560974, 0.4393031597137451, -0.44550371170043945, 0.4697507917881012, 0.39363792538642883, -0.3897327780723572, -0.5534764528274536, -0.5658663511276245, 0.07848071306943893, 0.16273517906665802, -0.769934356212616, -0.08713505417108536, -0.6403569579124451, -0.2701405882835388, -0.1545962691307068, 0.15819555521011353, -0.12411200255155563, 0.19239886105060577, 0.09119019657373428, 0.6982085108757019, -0.16503706574440002, 0.2296680361032486, 0.2884501814842224, 0.027875849977135658, 0.443522572517395, -0.0298279020935297, 0.5982129573822021, 0.12254952639341354, -0.7644546627998352, -0.12777866423130035, 0.5095182657241821, 0.7560168504714966, -0.4270324110984802, 0.4027037024497986, 0.4047926068305969, -0.3877548575401306, -0.2912960350513458, -0.6729503273963928, -0.18105827271938324, -0.5137858986854553, 0.07953068614006042, -0.34758734703063965, -0.9471753835678101, 0.32716983556747437, -0.1842653751373291, 0.2583100199699402, 0.3106188476085663, 0.8269022703170776, -0.03556394204497337, 1.3844375610351562, 0.062011703848838806, 0.2266048789024353, 0.30183491110801697, -0.13250569999217987, -0.22368142008781433, -0.748126208782196, -0.1373472660779953, -0.4642646610736847, -0.11734645813703537, 0.13338229060173035, -0.635532021522522, 0.5459793210029602, 0.06233081594109535, -0.2851046025753021, -0.043688368052244186, -0.49037209153175354, 0.7026461362838745, 0.8357906937599182, -0.011560698039829731, 0.2785414457321167, 0.05272447317838669, -0.6549158096313477, -0.16116277873516083, -0.5558848977088928, -0.5607911348342896, 1.217651605606079, -0.1498442441225052, 0.4826067090034485, 0.25996237993240356, 1.076788306236267, -0.10249374806880951, 0.6153692007064819, -0.6754122972488403, 0.7128092050552368, 0.3205263614654541, -0.8703383803367615, -0.5917865037918091, -0.6796834468841553, -0.8044129014015198, 0.21492044627666473, -0.438001811504364, -0.42460185289382935, -0.5008662343025208, 0.08053337782621384, -0.489437997341156, 0.10813002288341522, -0.6214193105697632, 0.6901618242263794, -0.3357352018356323, -0.5199493765830994, 0.10368788987398148, -0.46410098671913147, 0.5620162487030029, -0.3180038034915924, 0.2121591567993164, -0.10576047748327255, 0.1875709742307663, 0.7178979516029358, -0.6089516282081604, 0.6072994470596313, 0.1412847489118576, -0.24042057991027832, 0.7331266403198242, 0.4650112986564636, 0.16210098564624786, 0.46955716609954834, -0.18699704110622406, -0.30250394344329834, -0.3672579228878021, -0.27817222476005554, -0.5539393424987793, 0.6496017575263977, -0.8513426184654236, -0.5825634598731995, -0.08830258250236511, -0.9432122111320496, -0.317853182554245, 0.2820952534675598, 0.01249423436820507, 0.41459956765174866, -0.09575489163398743, -0.2147102952003479, 0.40070152282714844, 0.01303804013878107, 0.5177536606788635, 0.3444969654083252, -0.2843007743358612, -0.6944447755813599, 0.8974848389625549, 0.1088765412569046, 0.4318426251411438, 0.0807320848107338, 0.35316261649131775, -0.24949471652507782, -0.1321464329957962, -0.6130752563476562, 0.3133562207221985, -0.6522048115730286, -0.27451300621032715, -0.4472145438194275, -0.43647995591163635, -0.39838021993637085, -0.5004535913467407, -0.21085703372955322, -0.38926777243614197, -0.44075214862823486, 0.103501096367836, -0.029970193281769753, 0.5912242531776428, 0.09155456721782684, 0.06602858006954193, -1.1056382656097412, 0.24662162363529205, 0.910545825958252, 0.02665707841515541, -0.04485377296805382, -0.07839373499155045, 0.03352906182408333, 0.2782139182090759, -0.5931750535964966, -0.509922444820404, 0.244967982172966, -0.2074626386165619, 0.39056551456451416, 0.20503206551074982, 0.06728734076023102, 0.751396656036377, -0.5218417048454285, 0.8334203958511353, 0.5214306712150574, -1.1585172414779663, 0.44195544719696045, -0.346606969833374, 0.3897722065448761, 0.5322068333625793, 0.2924419045448303, -0.38384726643562317, -0.6032649278640747, -0.6392980813980103, -0.38262778520584106, 0.602879524230957, 0.3558829426765442, 0.07572537660598755, -0.1557772308588028, 0.1955121010541916, 0.18157188594341278, 0.33521929383277893, -0.445645809173584, -0.16411137580871582, -0.016167445108294487, -0.41107386350631714, -0.09361767023801804, -0.05825386941432953, -0.3092730641365051, -0.24326205253601074, 0.3207746148109436, -0.16666778922080994, -0.014550425112247467, 0.041008103638887405, -0.0748007670044899, -0.5130864381790161, 0.39222705364227295, 0.6593477725982666, 0.8693196177482605, -0.0025311713106930256, 0.08768971264362335, 0.24824576079845428, -0.5433579087257385, 0.12427493184804916, -0.057704858481884, -0.25314921140670776, -0.05066872015595436, 0.05118156969547272, 0.2697707414627075, -0.0983365997672081, -0.908537745475769, 0.41874054074287415, -0.12217317521572113, -0.6979612708091736, -0.5035462975502014, 0.30058228969573975, 0.3593220114707947, -0.046380817890167236, 0.30697906017303467, 0.28471100330352783, -0.09542801976203918, -0.34957996010780334, 0.39432382583618164, 0.5231915712356567, -0.025524266064167023, -0.024570664390921593, 0.7057300806045532, 0.4557379484176636, -0.7572528123855591, 0.8181719779968262, -0.2120680958032608, -0.5781577825546265, 0.7023817300796509, 0.48557284474372864, 0.43374964594841003, -0.23871265351772308, 0.4941560626029968, 0.3994504511356354, -0.006048732902854681, -0.0615767277777195, 0.559632420539856, 0.05767638608813286, -0.7251135110855103, -0.5079914927482605, -0.28873568773269653, -0.8529552817344666, 0.00020018416398670524, -0.5922406315803528, 0.39647984504699707, -0.34482425451278687, -0.25245627760887146, -0.09471273422241211, -0.06586816161870956, -0.7095263004302979, 0.17446213960647583, 0.17309966683387756, 0.45608431100845337, -0.5321245789527893, 0.37715473771095276, 0.9251576662063599, -0.5081536173820496, -1.0717687606811523, -0.19426831603050232, -0.08758866041898727, -0.7239720821380615, 0.6604107618331909, 0.08638647943735123, -0.15414567291736603, 0.23644860088825226, -0.6820801496505737, -0.8697640299797058, 1.2397737503051758, 0.3265422284603119, -0.45752260088920593, 0.0023893958423286676, 0.6074693202972412, 0.3761509358882904, -0.3457368016242981, 0.4624851644039154, 0.08798673748970032, 0.26672616600990295, 0.5665867924690247, -0.7501983642578125, 0.08890646696090698, -0.13547876477241516, -0.2528585195541382, 0.46228015422821045, -0.488337904214859, 1.1309783458709717, -0.39547818899154663, 0.04029842093586922, -0.06024819612503052, 0.38377299904823303, 0.6585186123847961, 0.3004729151725769, 0.465788871049881, 0.5186877846717834, 0.8629010319709778, 0.1518838107585907, 0.4947798252105713, -0.18526695668697357, 0.3488394320011139, 1.1958096027374268, -0.4193005859851837, 0.924930214881897, 0.6212356090545654, -0.1966865360736847, 0.3527751863002777, 0.28269657492637634, -0.1194552555680275, -0.34913790225982666, 0.6328075528144836, -0.2631383538246155, -0.7907027006149292, 0.07335413992404938, -0.2489241510629654, 0.32498058676719666, 0.4973157048225403, -0.08441828191280365, -0.17806358635425568, 0.0013391280081123114, -0.03383762761950493, 0.029690375551581383, -0.2028397023677826, 0.42657470703125, -0.11607541888952255, -1.102691888809204, 0.2957215905189514, -0.20320895314216614, 0.3759681284427643, -0.30911242961883545, -0.08420544117689133, -0.16474087536334991, 0.03211413696408272, 0.040026742964982986, -0.9250688552856445, 0.007089813239872456, -0.058981556445360184, 0.0033261089120060205, -0.004572125617414713, 0.3315093517303467, -0.5498982071876526, -0.866017758846283, -0.2912651300430298, 1.0626035928726196, 0.11440859735012054, 0.07202845066785812, -0.8952215909957886, -0.17487359046936035, -0.22905288636684418, 0.07354418188333511, 0.14814674854278564, 0.23897965252399445, 0.007377156522125006, 0.8443694710731506, 1.0130962133407593, -0.1608535647392273, 0.1495683193206787, 0.25007662177085876, 0.7043986916542053, -0.4431479573249817, -0.2878386378288269, -0.719331681728363, 0.6295442581176758, -0.22425180673599243, -0.5085222721099854, 0.7670392394065857, 0.6282862424850464, 0.7714439034461975, -0.12667769193649292, 0.9042360782623291, 0.22656987607479095, 0.6400434970855713, -0.2039666771888733, 0.6311410665512085, -0.5196768045425415, 0.24739763140678406, -0.48936423659324646, -0.9024264216423035, -0.43603548407554626, 0.19939306378364563, 0.07728523015975952, 0.025913598015904427, 0.7610682845115662, 0.5558381080627441, 0.036003608256578445, -0.1880725622177124, 0.3690476417541504, -0.39540034532546997, 0.5094872117042542, 0.6694256663322449, 1.098595142364502, -0.3159638047218323, 1.01736581325531, -0.24453328549861908, -0.09328742325305939, -0.11842463910579681, -0.5375516414642334, -1.3837411403656006, -0.36233457922935486, -0.3647005558013916, -0.14495490491390228, -0.404225617647171, 1.1629256010055542, 0.39238008856773376, -0.4452207386493683, -0.49389955401420593, -0.25520363450050354, 0.28929847478866577, 0.030037393793463707, -0.30868250131607056, 0.3110404908657074, -0.25095489621162415, -0.7750362753868103, -0.03795427083969116, -0.04061314836144447, 0.43909958004951477, -0.5021645426750183, -0.09334185719490051, -0.15358702838420868, 0.31076952815055847, 0.42935556173324585, -0.15573975443840027, -0.4636077880859375, -0.10133993625640869, 0.3185095191001892, -0.2654101848602295, -0.12895379960536957, 0.9167048335075378, -0.5812627077102661, 0.36614176630973816, 0.40672510862350464, 0.7510879039764404, 0.13934071362018585, 0.02363494597375393, 0.5376338362693787, -0.785276472568512, -0.44361448287963867, 0.41353538632392883, 0.20707398653030396, 0.21450403332710266, -0.18415315449237823, 0.3877753019332886, 0.23671257495880127, -0.613174557685852, -0.8341993093490601, 0.3292462229728699, -0.6624974608421326, -0.13393262028694153, 1.0166590213775635, 0.1882413774728775, -0.14308874309062958, -0.07719425112009048, -0.691028356552124, 0.1319679170846939, -0.3446227014064789, 0.7253697514533997, 0.9224250912666321, -0.2524759769439697, -0.08133306354284286, -0.38923904299736023, 0.20046252012252808, 0.5012091994285583, -1.0986344814300537, -0.22031573951244354, 0.520882248878479, 0.18604055047035217, 0.4154077470302582, 0.3656734824180603, 0.16390156745910645, 0.5402774810791016, 0.07518233358860016, 0.13858747482299805, -0.275347501039505, -0.08686456084251404, 0.31252479553222656, 0.32146281003952026, 0.02771485038101673, -0.07650783658027649 ]
http://arxiv.org/abs/2405.00828v1
http://arxiv.org/pdf/2405.00828v1
WIBA: What Is Being Argued? A Comprehensive Approach to Argument Mining
2024-05-01T19:31:13
2024-05-01T19:31:13
Arman Irani, Ju Yeon Park, Kevin Esterling, Michalis Faloutsos
cs.CL
cs.CL
We propose WIBA, a novel framework and suite of methods that enable the comprehensive understanding of "What Is Being Argued" across contexts. Our approach develops a comprehensive framework that detects: (a) the existence, (b) the topic, and (c) the stance of an argument, correctly accounting for the logical dependence among the three tasks. Our algorithm leverages the fine-tuning and prompt-engineering of Large Language Models. We evaluate our approach and show that it performs well in all the three capabilities. First, we develop and release an Argument Detection model that can classify a piece of text as an argument with an F1 score between 79% and 86% on three different benchmark datasets. Second, we release a language model that can identify the topic being argued in a sentence, be it implicit or explicit, with an average similarity score of 71%, outperforming current naive methods by nearly 40%. Finally, we develop a method for Argument Stance Classification, and evaluate the capability of our approach, showing it achieves a classification F1 score between 71% and 78% across three diverse benchmark datasets. Our evaluation demonstrates that WIBA allows the comprehensive understanding of What Is Being Argued in large corpora across diverse contexts, which is of core interest to many applications in linguistics, communication, and social and computer science. To facilitate accessibility to the advancements outlined in this work, we release WIBA as a free open access platform (wiba.dev).
[ -0.5937227606773376, -1.1734719276428223, 0.5132229328155518, 0.20998772978782654, -0.3408832252025604, -0.21170496940612793, -0.10917651653289795, -0.3372032046318054, 0.29951876401901245, 0.3541114032268524, -0.4732612669467926, -0.43459340929985046, -0.6618250608444214, 0.11267710477113724, -0.47578373551368713, 1.0236668586730957, 0.1837880164384842, -0.04330577701330185, -0.5938462018966675, -0.3558425307273865, -0.5423459410667419, -0.3327105641365051, -0.5214409232139587, -0.19001033902168274, 0.7619039416313171, 0.544167160987854, 0.42923781275749207, 0.22435107827186584, -0.10825639218091965, 0.4269673824310303, -0.24493184685707092, 0.13705550134181976, 0.05691877380013466, 0.380681574344635, -0.5415508151054382, -0.47356951236724854, -0.19777853786945343, -0.21555082499980927, 0.35768765211105347, 0.6438853740692139, 0.057451602071523666, 0.18286430835723877, -0.3414415121078491, 0.5437901020050049, -0.9087743759155273, -0.19136101007461548, -0.9204550385475159, 0.034524254500865936, -0.5552569627761841, -0.16160517930984497, -0.5277506709098816, 0.018867606297135353, 0.2626052796840668, -0.20159806311130524, 0.0682288184762001, -0.020055139437317848, 1.2497406005859375, -0.1377481371164322, -0.7790566086769104, -0.5087451338768005, -0.1236550360918045, 0.7050742506980896, -0.9931419491767883, -0.13824859261512756, 0.15828797221183777, 0.03238968551158905, -0.29105958342552185, -0.8714114427566528, -0.7740458250045776, -0.05917014181613922, 0.030007263645529747, 0.17685076594352722, -0.697721540927887, 0.06967147439718246, 0.3539499342441559, 0.1935470849275589, -0.30270445346832275, 0.19460777938365936, -0.26680174469947815, -0.32449671626091003, 0.5435892939567566, -0.04953464865684509, 0.25475454330444336, -0.6368160843849182, -0.2960306406021118, 0.2039099633693695, -0.33998697996139526, 0.22953474521636963, 0.6262977719306946, 0.03649335354566574, 0.02627752348780632, 0.5953172445297241, -0.29343733191490173, 0.7310251593589783, 0.04862616956233978, 0.27235251665115356, -0.05675406754016876, 0.16484756767749786, -0.34215837717056274, 0.09248487651348114, 1.0797137022018433, 0.21782155334949493, -0.16893042623996735, 0.18628408014774323, 0.08929408341646194, 0.12423279881477356, 0.33394643664360046, -0.7102237939834595, -0.06617121398448944, 0.46377843618392944, -0.6758953332901001, -0.4452669024467468, -0.02750496007502079, -0.9364826083183289, -0.6136625409126282, -0.033065009862184525, 0.39568260312080383, -0.08935654163360596, -0.5715125203132629, 0.05233457684516907, -0.3969555199146271, 0.25556090474128723, 0.13682031631469727, -0.9153743982315063, 0.18640731275081635, 1.0546331405639648, 0.8974095582962036, 0.009312373585999012, 0.042044736444950104, -0.6091717481613159, 0.03535955771803856, -0.7501213550567627, 1.4608100652694702, -0.7112874984741211, -0.374625027179718, 0.1370743215084076, -0.0770169198513031, 0.1734400987625122, -0.5792264938354492, 1.244666337966919, -0.4015897512435913, 0.32671502232551575, -0.3560170829296112, -1.0056873559951782, -0.20264694094657898, 0.5601786971092224, -0.9523587822914124, 0.9885396361351013, -0.34153440594673157, -0.9390360713005066, 0.5474308133125305, -0.9655413031578064, -0.5876028537750244, 0.2087521255016327, -0.2134850025177002, -0.3883585035800934, 0.44493040442466736, 0.027283625677227974, 0.40759846568107605, -0.512969970703125, 0.3430241346359253, -0.4676983058452606, 0.022108502686023712, 0.2768436372280121, -0.30384162068367004, 1.0192322731018066, 0.4535236656665802, -0.5855412483215332, 0.3146483302116394, -0.6187708377838135, 0.04732514172792435, -0.008973659947514534, 0.17066510021686554, -0.49138084053993225, 0.6326175332069397, -0.1792888343334198, 0.16375254094600677, 0.3100421130657196, -0.7398732900619507, 0.07163786143064499, -0.5298091173171997, 0.4969073235988617, 0.8525756597518921, 0.1529756337404251, -0.05418520048260689, 0.20193004608154297, 0.3536725342273712, 0.13482044637203217, 0.03502771630883217, -0.14481060206890106, -0.7483534216880798, -0.8705549240112305, -0.17294061183929443, 0.393856018781662, 0.3447975516319275, 0.11449573189020157, 0.6122085452079773, 0.02104959264397621, -0.34993186593055725, -0.47885650396347046, -0.1327190101146698, -0.13586121797561646, 0.6058600544929504, 0.3021155893802643, 0.04750857874751091, -0.619564950466156, -1.1272355318069458, -0.2530284821987152, -0.47586655616760254, 0.0637241080403328, -0.066318079829216, 0.3384943902492523, -0.22648312151432037, 1.2889786958694458, -0.3973131775856018, 0.026719342917203903, -0.3353691101074219, 0.6577529907226562, 0.2731741964817047, 0.11732634902000427, 0.44544678926467896, -0.9349272847175598, -0.45533159375190735, 0.4290083646774292, -0.6787227988243103, -0.3800124228000641, -0.06609650701284409, -0.3576745390892029, 0.35604509711265564, 0.48171135783195496, -0.5987050533294678, 0.4445623755455017, 0.26710641384124756, -0.6103640198707581, 0.47168299555778503, 0.1385236531496048, 0.07233167439699173, -1.4603904485702515, 0.16525816917419434, 0.05232318118214607, -0.07859978079795837, -0.47551706433296204, -0.08348079025745392, -0.038672998547554016, -0.09669793397188187, -0.1251337230205536, 0.4499993622303009, 0.016148140653967857, 0.5301472544670105, -0.7478306889533997, 0.1013980358839035, 0.1821475327014923, -0.0032579288817942142, 0.08446602523326874, 0.16752533614635468, 0.533105731010437, -0.3703731894493103, 0.45087844133377075, 0.12101950496435165, -0.508326530456543, 0.8729891180992126, -0.6599370837211609, 0.06678444892168045, 0.0424540676176548, 0.12429729104042053, -0.7304155826568604, 0.01021670550107956, -0.017191767692565918, -0.5429373383522034, -0.08174644410610199, -0.4376082122325897, -0.23623985052108765, -0.14433683454990387, -0.23854440450668335, -0.08799199014902115, 0.07403084635734558, -0.515105128288269, 0.8625198602676392, 0.6640381813049316, -0.35587915778160095, -0.9306024312973022, -0.2877797484397888, 0.3410183787345886, -0.3892036974430084, -0.5668257474899292, 0.4104997515678406, 0.12579110264778137, -0.46798762679100037, 0.2607026696205139, -0.13965699076652527, -0.12543030083179474, 0.24772076308727264, 0.1336275190114975, 0.19985559582710266, -0.1647273153066635, 0.19242961704730988, 0.29863807559013367, -0.048709213733673096, 0.4812600910663605, -0.18207865953445435, 0.3349459171295166, 0.023556087166070938, -0.2620004117488861, -0.1173744797706604, 0.9465217590332031, 0.37221795320510864, -0.20166656374931335, 0.5155274868011475, 0.4576590359210968, -0.6619688868522644, -0.4899708926677704, -0.5074681639671326, 0.4477953016757965, -0.498935341835022, 0.49730178713798523, -0.46429136395454407, -0.5232927203178406, 0.31739476323127747, -0.40697601437568665, 0.6942044496536255, 0.5626094341278076, 0.7609530687332153, -0.3134860694408417, 1.1147668361663818, 0.5037162899971008, -0.256150484085083, 0.29492101073265076, 0.049446988850831985, 0.64641273021698, -0.4145640730857849, -0.3623517155647278, -0.9036241173744202, -0.3123228847980499, -0.5244265794754028, -0.23709873855113983, -0.1854429990053177, 0.28455325961112976, -0.01681617833673954, 0.08526071906089783, -0.2428593635559082, 0.3997662663459778, 0.17975659668445587, -0.3640291094779968, 0.005688640289008617, -0.11901456117630005, -0.31481263041496277, 0.007726169191300869, -0.33062973618507385, -0.8694223165512085, 0.715478241443634, 0.24865731596946716, 0.21894952654838562, 0.21813854575157166, 0.5433754324913025, 0.7355898022651672, 0.4943735897541046, -1.0794395208358765, 0.723037600517273, -0.06953243911266327, -0.961398720741272, 0.0183428768068552, -0.3661552667617798, -1.0918422937393188, 0.5216709971427917, -0.37221062183380127, -0.8653221726417542, -0.005956090055406094, 0.056561004370450974, 0.11959896981716156, 0.7019299864768982, -0.7613199949264526, 1.2927024364471436, -0.16115906834602356, -0.4373552203178406, -0.5461671352386475, -0.2858867943286896, 0.12768687307834625, 0.29818400740623474, 0.2918213903903961, -0.2722746431827545, 0.12416140735149384, 1.0290919542312622, -0.6402201652526855, 0.607280433177948, -0.4463922083377838, -0.37754660844802856, 0.6621691584587097, -0.2799261212348938, 0.1339140385389328, 0.17219585180282593, -0.24238257110118866, -0.14859509468078613, 0.20004452764987946, -0.5634893178939819, -0.7145256996154785, 0.7443761229515076, -0.36360761523246765, -0.845130980014801, -0.517167329788208, -0.21890680491924286, -0.4192202091217041, 0.23843562602996826, 0.1109611764550209, 0.3224784731864929, -0.48379963636398315, 0.3237582743167877, 0.5080482959747314, -0.13497649133205414, 0.38231441378593445, 0.19677788019180298, 0.049717701971530914, -0.4311522841453552, 1.0339299440383911, -0.09501051157712936, -0.22054196894168854, 0.3785013258457184, 0.6099612712860107, -0.40021851658821106, -0.4879012107849121, -0.38071104884147644, -0.09395328164100647, -0.9828716516494751, -0.34111157059669495, -0.7608912587165833, 0.2586866617202759, -0.3939564824104309, -0.08838698267936707, -0.21076758205890656, -0.3730543255805969, 0.20538876950740814, -0.3733203411102295, 0.2509278655052185, 0.7090111374855042, 0.10644709318876266, -0.09071038663387299, -0.4390864372253418, 0.1881096363067627, 0.11265978962182999, 0.2077063024044037, 0.02459499053657055, -0.06728064268827438, -0.14540502429008484, -0.2032986879348755, -0.6875720024108887, -1.0860333442687988, -0.06799611449241638, 0.008208805695176125, 0.7161551117897034, 0.7367790341377258, 0.3533172905445099, 0.7281482815742493, -0.4142672121524811, 0.9735493659973145, 0.25498339533805847, -1.2076152563095093, 0.6992241740226746, 0.19251172244548798, -0.1809655725955963, 0.52448570728302, 0.4395974278450012, -0.5049669742584229, -0.18379174172878265, -0.651053249835968, -0.9887247681617737, 0.30692046880722046, -0.2792051434516907, 0.25050610303878784, -0.4199817180633545, 0.09931831806898117, 0.08765560388565063, 0.04179069399833679, -0.9289569854736328, 0.033622127026319504, -0.22959215939044952, -0.5030663013458252, 0.5423333048820496, -0.1620904505252838, -0.3057444393634796, -0.2006397843360901, 0.5786007642745972, -0.36692315340042114, 0.14489439129829407, 0.05806726589798927, -0.10095886141061783, 0.22352313995361328, 0.5844820141792297, 0.1930280178785324, 0.49875959753990173, 0.2581595778465271, -0.07477616518735886, 0.25746631622314453, -0.23736028373241425, -0.016932014375925064, 0.14643961191177368, -0.3508337736129761, 0.3343958258628845, 0.5537118315696716, 0.9033799171447754, 0.11752521246671677, -0.7185233235359192, 0.519886314868927, 0.032308172434568405, -0.6080228686332703, -0.27637553215026855, -0.1284569352865219, 0.4108344614505768, 0.27085399627685547, 0.3536337614059448, -0.02390105277299881, 0.32064929604530334, -0.6763085126876831, -0.0055499752052128315, 0.7196253538131714, -0.3781258463859558, -0.1787106692790985, 0.34244468808174133, 0.2520572543144226, -0.16383829712867737, 0.3376403748989105, 0.13018271327018738, -0.6044455170631409, 0.5679285526275635, 0.4331764280796051, 0.8700735569000244, 0.2483689934015274, 0.4637204110622406, 0.378225177526474, -0.0917116180062294, 0.34326407313346863, 0.1450124979019165, -0.410518079996109, -0.6318134069442749, -0.34230363368988037, -0.48636394739151, -0.6405454277992249, 0.17548474669456482, -0.8600171208381653, 0.4798203110694885, -0.5095875263214111, -0.4045974314212799, 0.27624237537384033, 0.4336637854576111, -0.15281365811824799, 0.08331894129514694, 0.26508063077926636, 1.085097312927246, -0.7962466478347778, 0.6708693504333496, 0.8330629467964172, -0.16158048808574677, -0.326497882604599, 0.30193114280700684, -0.06121579557657242, 0.26735392212867737, 0.18263296782970428, 0.38968053460121155, -0.3871327042579651, -0.46125975251197815, -0.7300190925598145, -0.13200293481349945, 0.6993266940116882, 0.5068655014038086, -0.22489529848098755, 0.24647647142410278, -0.21109141409397125, 0.34694141149520874, -0.18776729702949524, 0.23672355711460114, 0.3120045065879822, 0.551910400390625, -0.14997166395187378, -0.2056015431880951, -0.019513985142111778, -0.5709629654884338, -0.41530102491378784, 0.17020931839942932, -0.5783182382583618, 0.44230955839157104, -0.2175540179014206, -0.3734198212623596, 0.1097152903676033, 1.1392048597335815, 0.23677027225494385, 0.41334018111228943, 0.7692389488220215, 0.5191643834114075, 1.1343175172805786, -0.16647355258464813, 0.691700279712677, 0.14366868138313293, 0.09838049113750458, 0.8103999495506287, -0.6342176795005798, 1.1249911785125732, 0.5286820530891418, 0.026863615959882736, 1.0574074983596802, 0.679301917552948, 0.09838742017745972, 0.22615160048007965, 0.3271746337413788, -0.6387776732444763, -0.4128076136112213, -0.11264996975660324, 0.028369605541229248, 0.31657740473747253, 0.5632761716842651, 0.12421093881130219, -0.09476316720247269, -0.15444104373455048, 0.236186221241951, 0.47726064920425415, -0.12694525718688965, 0.8358089923858643, -0.13393136858940125, -0.9303737878799438, 0.15526242554187775, 0.2586762011051178, 0.7652151584625244, -0.8998328447341919, 0.04569707810878754, -0.09055754542350769, 0.015060258097946644, -0.4649259150028229, -0.7340349555015564, 0.1469952017068863, 0.5054062604904175, -0.18522535264492035, 0.23852379620075226, 0.5365951061248779, -0.02458266168832779, -0.3915979862213135, 0.5328242778778076, 0.11255908012390137, -0.16090290248394012, 0.4101705551147461, -0.7837966680526733, 0.10455627739429474, -0.058819737285375595, -0.3830285668373108, 0.24467308819293976, 0.8915483355522156, -0.3495774269104004, 0.3466129004955292, 0.6419157981872559, 0.07542294263839722, 0.017177967354655266, 0.21132244169712067, 0.8599163293838501, -0.6631426215171814, -0.4168587923049927, -0.9231038689613342, 0.6013604402542114, -0.8426771759986877, -0.5642263293266296, 0.48752230405807495, 0.6519169211387634, 0.5199394822120667, 0.3161301016807556, 0.842599093914032, -0.5363054871559143, 0.314375102519989, -0.33329442143440247, 0.5625438690185547, -0.5208366513252258, -0.13556161522865295, -0.5373198986053467, -0.6122570037841797, -0.12021273374557495, 1.0016251802444458, -0.14223502576351166, -0.43445661664009094, 0.7601398825645447, 0.4592196047306061, -0.09953565895557404, 0.4573390781879425, 0.14227858185768127, -0.02955218218266964, 0.7880417704582214, 0.3181055784225464, 0.9223132133483887, -0.39777442812919617, 0.5358579754829407, 0.02252431958913803, -0.36549821496009827, 0.1059628278017044, -1.2005610466003418, -0.8251586556434631, -0.7020565867424011, -0.4859561324119568, -0.32055360078811646, -0.30156391859054565, 0.9876907467842102, 0.6462788581848145, -1.006115436553955, -0.30202198028564453, 0.045493707060813904, 0.24836555123329163, -0.3183860778808594, -0.21676331758499146, 0.20852670073509216, -0.691663384437561, -0.8293697834014893, 0.6007854342460632, 0.15767396986484528, -0.690113365650177, -0.16782726347446442, 0.013127749785780907, -0.6930555701255798, 0.5754798650741577, 0.7887284159660339, 0.483682245016098, -0.6922414302825928, -0.1768658459186554, -0.40035921335220337, 0.19432155787944794, -0.0510605163872242, 1.032055377960205, -0.5617021322250366, 0.5184322595596313, 0.46442580223083496, 0.9208774566650391, 0.4776478111743927, -0.1399892270565033, 0.5918415188789368, -0.48319780826568604, 0.22150973975658417, 0.14964325726032257, 0.777554452419281, 0.22189608216285706, -0.015117398463189602, 0.2112991362810135, 0.03299696370959282, -0.32241982221603394, -1.0039124488830566, 0.23640576004981995, -1.0040498971939087, -0.48835334181785583, 0.7245344519615173, -0.4135092496871948, -0.30428546667099, -0.29592838883399963, -0.38939374685287476, 0.0218982957303524, -0.13476170599460602, 0.6636414527893066, 1.084950566291809, 0.006327645853161812, 0.08195596933364868, -0.4352780878543854, 0.26818084716796875, 0.7529321312904358, -0.8519050478935242, 0.2809057831764221, 0.5905742049217224, 0.3271636664867401, 0.3548860251903534, 0.5210237503051758, -0.4188203513622284, 0.15771551430225372, -0.15712952613830566, -0.20195770263671875, 0.3538278043270111, -0.03209914639592171, -0.09226792305707932, 0.7066088318824768, 0.1724260002374649, -0.12053344398736954 ]
http://arxiv.org/abs/2405.00823v1
http://arxiv.org/pdf/2405.00823v1
WorkBench: a Benchmark Dataset for Agents in a Realistic Workplace Setting
2024-05-01T19:07:03
2024-05-01T19:07:03
Olly Styles, Sam Miller, Patricio Cerda-Mardini, Tanaya Guha, Victor Sanchez, Bertie Vidgen
cs.CL
cs.CL, cs.AI, cs.MA
We introduce WorkBench: a benchmark dataset for evaluating agents' ability to execute tasks in a workplace setting. WorkBench contains a sandbox environment with five databases, 26 tools, and 690 tasks. These tasks represent common business activities, such as sending emails and scheduling meetings. The tasks in WorkBench are challenging as they require planning, tool selection, and often multiple actions. If a task has been successfully executed, one (or more) of the database values may change. The correct outcome for each task is unique and unambiguous, which allows for robust, automated evaluation. We call this key contribution outcome-centric evaluation. We evaluate five existing ReAct agents on WorkBench, finding they successfully complete as few as 3% of tasks (Llama2-70B), and just 43% for the best-performing (GPT-4). We further find that agents' errors can result in the wrong action being taken, such as an email being sent to the wrong person. WorkBench reveals weaknesses in agents' ability to undertake common business activities, raising questions about their use in high-stakes workplace settings. WorkBench is publicly available as a free resource at https://github.com/olly-styles/WorkBench.
[ -0.31438547372817993, -0.38485413789749146, 0.41231968998908997, 0.1793486624956131, -0.05956372991204262, 0.13319462537765503, -0.0030370282474905252, -0.6378030180931091, 0.027942338958382607, 0.2173234075307846, -0.7353169322013855, -0.34424176812171936, -0.28920820355415344, 0.19998206198215485, -0.3163338899612427, 0.7873755097389221, -0.10345165431499481, -0.2270047813653946, -0.44671642780303955, -0.32049617171287537, -0.7145593762397766, -0.23326998949050903, -0.45986074209213257, -0.6657660007476807, 0.49422794580459595, 0.5116022825241089, 0.8589457869529724, 0.5140403509140015, 0.6903333067893982, 0.31281355023384094, 0.20041701197624207, -0.1660545915365219, -0.8317281603813171, 0.3617554306983948, -0.6399129033088684, -0.4194145202636719, -0.6015657186508179, 0.14168009161949158, 0.03692227229475975, 0.7382267117500305, -0.48554500937461853, 0.30082085728645325, -0.33307915925979614, 0.7410772442817688, -0.7608487010002136, 0.389878511428833, -0.17744936048984528, 0.2020864486694336, -0.26265349984169006, 0.4309873580932617, -0.2783108651638031, -0.3820854425430298, -0.37417981028556824, -0.2931715250015259, 0.09352158010005951, 0.24004283547401428, 0.5168856978416443, 0.25383979082107544, -0.45587292313575745, 0.30087557435035706, -0.6950977444648743, 0.2746712863445282, -0.3465869426727295, 0.12327272444963455, 0.19586782157421112, 0.837647020816803, -0.37636855244636536, -0.8930714726448059, -0.44338658452033997, -0.07697145640850067, 0.018612060695886612, 0.2664646506309509, -0.23728561401367188, 0.17917871475219727, 0.48379358649253845, 0.4178817868232727, -0.7357437610626221, 0.024071624502539635, -0.13680341839790344, -0.054783910512924194, 0.6231563687324524, 0.6546189188957214, -0.05074658617377281, 0.08640915900468826, -0.29881924390792847, -0.6668813824653625, -0.3904305696487427, 0.28107133507728577, 0.22098411619663239, 0.20823019742965698, 0.08693815767765045, 0.5397815108299255, -0.5624556541442871, 0.6365768909454346, 0.041374605149030685, 0.31814083456993103, 0.428466260433197, -0.2641470730304718, -0.14186131954193115, -0.1791963130235672, 0.5387397408485413, 0.3652389347553253, -0.005463066045194864, -0.5518062710762024, -0.36945873498916626, 0.4567321240901947, 0.7762827277183533, -0.7149255871772766, 0.006190521642565727, 0.35588252544403076, -0.32945144176483154, -0.48120927810668945, 0.10416217148303986, -0.5436603426933289, -0.8540287613868713, -0.4085613787174225, 0.4012877345085144, -0.11220589280128479, -0.19838853180408478, -0.32970353960990906, -0.4604581892490387, 0.15515553951263428, 0.3123207986354828, -0.2404780238866806, 0.6713493466377258, 0.681296169757843, 0.4383409917354584, -0.391005277633667, -0.650863528251648, -0.7031278610229492, -0.08629617094993591, -0.5787221193313599, 0.7732507586479187, -0.5398597717285156, -0.4274989366531372, -0.09673065692186356, 0.21147237718105316, 0.03490608185529709, -0.7337532043457031, 0.2760677635669708, -0.3678523302078247, -0.5455330610275269, -0.606713593006134, -0.29968127608299255, 0.023479772731661797, 0.3674938380718231, -0.9489402174949646, 1.1090186834335327, 0.6941762566566467, -0.30929192900657654, 0.5002127289772034, -0.8998585939407349, -0.5180690884590149, -0.044931888580322266, -0.10811208188533783, -0.09023850411176682, 0.3111530840396881, -0.4541994333267212, 0.42669034004211426, -0.4171728193759918, -0.092093326151371, -0.48230111598968506, -0.41951608657836914, 0.40296801924705505, 0.06678562611341476, 0.44062498211860657, 0.06941421329975128, -0.6931332349777222, 0.22467084228992462, -0.6763015985488892, 0.14006246626377106, 0.028126703575253487, 0.030775928869843483, 0.2371300458908081, -0.07734764367341995, 0.1973622739315033, 0.5286889672279358, 0.09760669618844986, -0.7069557309150696, -0.1897289901971817, -0.08946853876113892, -0.1743934452533722, 0.931445300579071, -0.08100704103708267, 0.15281511843204498, -0.6286558508872986, 0.6082983016967773, -0.14115320146083832, 0.45073285698890686, 0.43607261776924133, -0.098990298807621, -0.14168556034564972, -0.18910099565982819, 0.10045908391475677, 0.44933104515075684, -0.6250491142272949, 0.3178779184818268, -0.38406285643577576, -1.0277003049850464, 0.055846333503723145, 0.12211255729198456, 0.5865291357040405, 0.6219854950904846, -0.10473030805587769, -0.8814353942871094, -0.16852878034114838, -0.8804922103881836, -0.43125128746032715, 0.06934592872858047, 0.1392146646976471, 0.16616955399513245, 0.6985807418823242, -0.1405734270811081, 1.081191062927246, -0.3439994752407074, -0.28871414065361023, -0.12024693936109543, 0.29607048630714417, 0.34880876541137695, 0.22692903876304626, 0.4025065302848816, -0.717572033405304, -0.6370337009429932, -0.05105886235833168, -0.8218790888786316, 0.024647457525134087, 0.1923523247241974, -0.47968238592147827, 0.1498284935951233, 0.3637811839580536, -0.7755292654037476, 0.7644932270050049, 0.2571313679218292, -0.46255698800086975, 0.5908918976783752, -0.04363023862242699, 0.05973893776535988, -0.7607773542404175, 0.5984482765197754, -0.3326736092567444, -0.6174485683441162, -0.5084883570671082, -0.07141058892011642, 0.09075652062892914, -0.49482154846191406, -0.48046597838401794, 0.43880870938301086, -0.2372172772884369, -0.5416076183319092, -0.3259016275405884, 0.13507166504859924, -0.02850508503615856, 0.5989789366722107, -0.2037089318037033, 0.6658939719200134, 0.22352880239486694, -0.3150253891944885, 0.8487737774848938, 0.4331679344177246, -0.27312082052230835, 1.231353759765625, -0.5229753255844116, 0.3902069926261902, -0.05681299790740013, 0.526421070098877, -0.7520819902420044, -0.460454523563385, 0.10588007420301437, -0.1209225058555603, 0.04399767145514488, 0.24771171808242798, -0.7378122210502625, -0.5446972846984863, -0.3622482419013977, 0.01128453016281128, 0.5730305910110474, -0.4974878132343292, 0.614086925983429, 0.3010888695716858, -0.04331602156162262, -0.6439599394798279, -0.535671591758728, 0.07034869492053986, 0.184462308883667, -0.37726739048957825, 0.3200375437736511, 0.05591769143939018, -0.22024419903755188, 0.3338884711265564, -0.6879551410675049, -0.27175387740135193, 0.05410829558968544, 0.7563310265541077, -0.04746020585298538, 0.30754396319389343, -0.136521577835083, -0.5357033014297485, -0.33932822942733765, 0.08131987601518631, 0.16473053395748138, 0.2153719663619995, -0.3186720013618469, -0.6039738655090332, -0.1296357810497284, 0.35294076800346375, 0.6905040740966797, -0.15945854783058167, 0.6233320236206055, 0.658804178237915, -0.46381503343582153, -0.17386992275714874, -0.5147616863250732, -0.2690213918685913, -0.4484895169734955, 0.20784004032611847, -0.35527244210243225, -0.05792627111077309, 0.7296358346939087, -0.4031394124031067, 0.3151134252548218, 0.2804257869720459, 0.5676778554916382, -0.05348361283540726, 0.7689018249511719, 0.5059487819671631, -0.14760532975196838, 0.5936449766159058, -0.052654579281806946, 0.18545418977737427, -0.4799908995628357, -0.13236625492572784, -0.39957037568092346, -0.563433825969696, -0.20412477850914001, -0.3533778190612793, 0.35939884185791016, -0.43688127398490906, -0.1547861099243164, 0.6356737017631531, -0.38270440697669983, 0.4891194999217987, 0.5137648582458496, 0.273849219083786, -0.09158169478178024, -0.26396605372428894, 0.05712532997131348, 0.277891606092453, -0.39132392406463623, -0.3366509974002838, 1.0444698333740234, -0.11021015048027039, 0.8052529096603394, 0.20334336161613464, 0.6052751541137695, 0.7789292931556702, 0.46854114532470703, -0.31700265407562256, 0.5486875772476196, 0.13339264690876007, -0.9638217091560364, -0.4559372663497925, -0.2515541911125183, -1.2952946424484253, 0.41888824105262756, 0.1627601534128189, -0.8827962875366211, 0.3661627471446991, 0.03537075221538544, -0.06583329290151596, -0.15911635756492615, -0.70779949426651, 1.4147847890853882, -0.11737237870693207, -0.8262753486633301, -0.5267788171768188, -0.809836208820343, -0.14137548208236694, -0.05524975433945656, 0.34399983286857605, -0.5093124508857727, -0.00866826344281435, 0.5829694867134094, -0.7662326693534851, 0.9847195744514465, -0.5739859938621521, 0.37497881054878235, 0.21466949582099915, 0.2344939112663269, 0.945648729801178, -0.2604491412639618, -0.4818311631679535, -0.30790701508522034, 0.2140626609325409, -0.4931217432022095, -0.6892775297164917, 0.46081840991973877, -0.4568462371826172, -0.04835734888911247, -0.7001758217811584, -0.38037970662117004, -0.6031718254089355, 0.409696489572525, -0.003711296245455742, 0.4989088773727417, -0.6948713660240173, 0.24656252562999725, 0.023959847167134285, 0.3933682441711426, 0.43526503443717957, 0.7732945680618286, 0.17372597754001617, -0.16306008398532867, 0.8312894105911255, 0.03474622592329979, 0.07784830033779144, -0.0993499681353569, -0.09347208589315414, -0.37750059366226196, -0.1416243463754654, -0.1391589492559433, -0.12366101145744324, -1.1315832138061523, -0.42197179794311523, 0.07595963031053543, 0.31588760018348694, 0.09705547243356705, -0.29593244194984436, -0.6517257690429688, -0.17712321877479553, 0.20225559175014496, -0.17724527418613434, 0.06063365191221237, 0.7638105154037476, -0.2108301967382431, 0.09020935744047165, -0.3908964693546295, 0.41675370931625366, 0.42358824610710144, 0.752316415309906, -0.30597442388534546, 0.24674221873283386, -0.43566858768463135, -0.196767657995224, -0.5424216389656067, -0.9532920718193054, 0.11895672231912613, 0.07741899788379669, 0.8405139446258545, 0.027807898819446564, 0.47256961464881897, 0.26158618927001953, -0.221810981631279, 0.5476418733596802, -0.019628997892141342, -0.8847575187683105, 0.22205552458763123, -0.37941867113113403, 0.2140267938375473, 1.075602650642395, 0.1161738857626915, -0.4350343346595764, -0.1476449966430664, -1.043729305267334, -0.7550826072692871, 1.0875904560089111, 0.5412238836288452, -0.20228569209575653, 0.29477444291114807, 0.06119197979569435, 0.08929699659347534, 0.693163275718689, -0.36000192165374756, -0.07659649103879929, -0.1296023428440094, -0.32567283511161804, -0.31956207752227783, 0.25345075130462646, -0.6452556252479553, 0.06691905111074448, 0.36969995498657227, -0.212473526597023, 0.3557361662387848, -0.058459777384996414, -0.31276991963386536, -0.25284239649772644, 0.18897145986557007, 0.11565025895833969, 1.0276705026626587, -0.2778678834438324, -0.01754213310778141, 0.33761677145957947, -0.2792859971523285, 0.2179083228111267, 0.33277034759521484, 0.6896234750747681, -0.01676279492676258, 0.11748486757278442, 0.5810920596122742, 0.1736961305141449, -1.001179814338684, 0.7042106986045837, -0.07796094566583633, -0.11771336197853088, -0.34923675656318665, 0.22431889176368713, -0.10058265179395676, 0.3687991499900818, 0.15112735331058502, 0.18942506611347198, 0.2980266511440277, -0.7708069086074829, 0.05427146703004837, 0.08596543967723846, -0.5683656334877014, -0.15515024960041046, 0.41940709948539734, 0.24992865324020386, -0.34040597081184387, 0.4442785680294037, -0.5373571515083313, -0.2513992488384247, 1.0408942699432373, 0.24995511770248413, 0.8128752708435059, -0.12722626328468323, 0.14537765085697174, -0.12892961502075195, 0.21819284558296204, -0.24670293927192688, 0.6333767771720886, 0.07172725349664688, -0.26112258434295654, -0.03763381391763687, -0.19445544481277466, -1.1105108261108398, -0.334798663854599, -0.6765073537826538, -0.15922069549560547, -0.4744058847427368, -0.44287770986557007, 0.07729539275169373, 0.053427841514348984, -1.0709198713302612, 0.3031921982765198, -0.21512627601623535, 0.8477419018745422, -0.785393476486206, 0.27073007822036743, 0.8950859308242798, -0.14258506894111633, -0.5680798292160034, -0.3790510594844818, 0.23626643419265747, -0.44757068157196045, 0.3334009647369385, 0.20992068946361542, -0.13103850185871124, -0.33908772468566895, -0.20089904963970184, -0.6642780303955078, 1.185394525527954, 0.38686031103134155, -0.3118572235107422, 0.4561893045902252, 0.2888917028903961, 0.7516846060752869, -0.19659297168254852, 0.37087851762771606, 0.6947278380393982, 0.7188805341720581, -0.2588805854320526, -1.052287220954895, 0.46347782015800476, -0.49717724323272705, -0.028289061039686203, 0.0797811895608902, -0.7611508965492249, 0.8501010537147522, 0.18217653036117554, 0.06600864976644516, -0.329126238822937, 0.05596115067601204, 0.03610605001449585, 0.45694366097450256, 0.7088015675544739, 0.4034978747367859, 0.907791256904602, -0.18588794767856598, 1.2630243301391602, -0.20075970888137817, 0.12412870675325394, 0.9368274211883545, -0.7011013031005859, 0.8579502701759338, 0.23425346612930298, -0.24756380915641785, 0.659401535987854, 0.5674479603767395, -0.01832766830921173, 0.3889581263065338, 0.27085956931114197, 0.0024907453916966915, -0.21667000651359558, -0.166182279586792, -0.2230168879032135, 0.4704848527908325, 0.0575520321726799, 0.2149268388748169, -0.27513620257377625, 0.06575804948806763, -0.18803726136684418, -0.17640361189842224, 0.07082773000001907, 0.7574254274368286, -0.047063373029232025, -0.7618804574012756, 0.464141845703125, -0.2241983413696289, -0.18421512842178345, -0.5237852931022644, 0.05062728747725487, -0.10475139319896698, 0.4721934497356415, -0.3746265769004822, -0.6092504858970642, 0.25993114709854126, -0.09040120989084244, -0.006569265387952328, -0.20802845060825348, 0.7175055742263794, 0.2780196964740753, 0.024466639384627342, 0.22690272331237793, 0.4683242738246918, 0.07385391741991043, -0.5403925180435181, -0.6192376613616943, 0.13946516811847687, -0.5751055479049683, -0.4666769802570343, 0.3336866796016693, 0.25645625591278076, -0.13533438742160797, 0.5692899227142334, 0.4329887330532074, -0.22852560877799988, -0.29023218154907227, 0.03984808549284935, 0.9278984069824219, -0.6550798416137695, -0.6443652510643005, -0.3685305118560791, 0.5866641402244568, -0.6843287944793701, -0.17677271366119385, 0.4819566309452057, 0.6549398303031921, 0.5044652223587036, -0.24954353272914886, 0.8215317130088806, -0.45862168073654175, 0.4734170138835907, 0.09532742947340012, 0.3799239993095398, -0.5399702191352844, -0.3972936272621155, -0.37739497423171997, -0.9686616659164429, 0.225383460521698, 0.4301574230194092, -0.25329503417015076, 0.14261461794376373, 1.0137971639633179, 0.6937761902809143, -0.04238349199295044, 0.08712087571620941, 0.255428671836853, 0.018189821392297745, 0.31897538900375366, 0.5463443398475647, 0.6984434723854065, -0.29950714111328125, 0.8324464559555054, -0.4824671149253845, -0.2848914861679077, -0.6105560064315796, -0.7916058897972107, -0.89178067445755, -0.3227166533470154, -0.2860814034938812, -0.27514150738716125, 0.2137029469013214, 0.7733341455459595, 0.9097733497619629, -0.5893737077713013, -0.46198493242263794, -0.25801366567611694, 0.06106681004166603, -0.8931984901428223, -0.1618843823671341, -0.008562666364014149, -0.4653330147266388, -0.322407066822052, 0.494917094707489, 0.043310388922691345, -0.20960858464241028, 0.15499550104141235, -0.08947469294071198, 0.3993209898471832, 0.07072800397872925, 0.3364870250225067, 0.626471221446991, -0.18514178693294525, -0.1286650449037552, -0.2147090882062912, -0.41269227862358093, -0.04363952577114105, 0.5911016464233398, -0.6320312023162842, 0.5069625973701477, 0.5585891008377075, 0.6974354386329651, 0.8272014856338501, 0.12075794488191605, 0.7008427381515503, -0.8374708294868469, 0.13301686942577362, 0.26753655076026917, 0.1938476264476776, 0.12922987341880798, -0.1679164469242096, 1.0380144119262695, 0.1865006536245346, -0.5186445116996765, -0.876771867275238, -0.05340680852532387, -0.9819852113723755, -0.21955108642578125, 0.6020141839981079, 0.0033180397003889084, -0.3605770468711853, -0.22196923196315765, -0.22366869449615479, 0.17224760353565216, -0.4250866770744324, 0.7492544651031494, 0.6667792201042175, -0.41058149933815, 0.1118314117193222, -0.6833117008209229, 0.457215815782547, 0.5335304141044617, -1.1900230646133423, 0.26499420404434204, 0.6339541673660278, 0.2228286862373352, 0.04135577008128166, 0.7139862179756165, 0.18418334424495697, 0.8555532097816467, 0.5127197504043579, 0.19709870219230652, -0.2954734265804291, -0.22410649061203003, 0.1419059932231903, 0.273129403591156, 0.2187972515821457, -0.3287845849990845 ]
http://arxiv.org/abs/2405.00821v1
http://arxiv.org/pdf/2405.00821v1
Uncovering Agendas: A Novel French & English Dataset for Agenda Detection on Social Media
2024-05-01T19:02:35
2024-05-01T19:02:35
Gregorios Katsios, Ning Sa, Ankita Bhaumik, Tomek Strzalkowski
cs.CL
cs.CL
The behavior and decision making of groups or communities can be dramatically influenced by individuals pushing particular agendas, e.g., to promote or disparage a person or an activity, to call for action, etc.. In the examination of online influence campaigns, particularly those related to important political and social events, scholars often concentrate on identifying the sources responsible for setting and controlling the agenda (e.g., public media). In this article we present a methodology for detecting specific instances of agenda control through social media where annotated data is limited or non-existent. By using a modest corpus of Twitter messages centered on the 2022 French Presidential Elections, we carry out a comprehensive evaluation of various approaches and techniques that can be applied to this problem. Our findings demonstrate that by treating the task as a textual entailment problem, it is possible to overcome the requirement for a large annotated training dataset.
[ -0.5810834765434265, -0.9714540839195251, 0.673689603805542, 0.45480892062187195, -0.2353868931531906, -0.061710283160209656, -0.16808120906352997, -0.1486968845129013, 0.7741765379905701, 0.7404130101203918, -0.7156002521514893, -0.6958009004592896, -1.0262689590454102, -0.11623368412256241, -0.5706591010093689, 0.7697122693061829, -0.14317086338996887, -0.18919898569583893, -0.013227041810750961, -0.12835665047168732, -0.2810294032096863, -0.1483367383480072, -0.6595876812934875, -0.27076831459999084, 0.6387085318565369, 0.2800479233264923, 0.281535804271698, 0.8669157028198242, 0.4228248596191406, 0.14136479794979095, -0.0006676981574855745, 0.6855893731117249, -0.9876552224159241, -0.20615532994270325, -0.18122832477092743, -0.1254211813211441, -0.06379902362823486, 0.09051855653524399, 0.5149102210998535, 0.1791187822818756, 0.31762298941612244, 0.23187963664531708, 0.2580239474773407, 0.731765627861023, -0.6998077630996704, 0.28419575095176697, -0.7358813285827637, -0.4193676710128784, -0.3972319960594177, -0.7349468469619751, -0.16315539181232452, -0.3520585596561432, -0.19860389828681946, -0.5244827270507812, 0.04521302878856659, -0.19941411912441254, 0.6623917818069458, 0.14729852974414825, -0.55226069688797, -0.629498302936554, -0.8330709338188171, 0.7067359089851379, -0.06350213289260864, 0.2782266438007355, 0.844517707824707, 0.030079221352934837, -0.21717430651187897, -0.4500328004360199, -0.27206796407699585, 0.4913138151168823, 0.08451961725950241, 0.1186860129237175, -0.09443973749876022, -0.20574834942817688, 0.08255225419998169, -0.36791977286338806, -0.10432812571525574, -0.021925190463662148, -0.3021567761898041, -0.015087190084159374, 0.6893002986907959, -0.22284270823001862, 0.28339341282844543, -0.28180891275405884, -0.22169293463230133, 0.2517406940460205, -0.7518335580825806, -0.13739442825317383, 0.5814363956451416, 0.28501471877098083, -0.2758341133594513, 0.6498715281486511, -0.38110655546188354, 0.41904905438423157, 0.09038379043340683, 0.39685729146003723, -0.02732839621603489, -0.3048439621925354, 0.13296571373939514, 0.19229477643966675, 0.6418932676315308, 0.5488684773445129, 0.46333038806915283, 0.19827187061309814, -0.15629668533802032, 0.18525969982147217, 0.014201712794601917, -0.5962010622024536, -0.22438593208789825, 0.5406249165534973, -0.4825613796710968, -0.14650604128837585, 0.24269364774227142, -0.7799667716026306, -0.7026199698448181, -0.4004584848880768, 0.4127335846424103, -0.07212948054075241, -0.05414937809109688, -0.17857138812541962, -0.34097933769226074, 0.24393078684806824, 0.5438641905784607, -0.5457367897033691, -0.1061713770031929, 0.9353504180908203, 0.9402874112129211, -0.01452210359275341, 0.25527632236480713, -0.4981726408004761, 0.07792752236127853, -0.5013746619224548, 0.8858698606491089, -0.9119634032249451, -0.37936925888061523, 0.47053542733192444, 0.19064021110534668, 0.2012348473072052, -0.2183695137500763, 0.6212473511695862, -0.4925387501716614, -0.13228963315486908, -0.4184419512748718, -0.6242260336875916, -0.07192978262901306, 0.06737906485795975, -0.7863555550575256, 0.9043068289756775, -0.26800212264060974, -0.48785778880119324, 0.48257845640182495, -0.7221108078956604, -0.4712681770324707, 0.015124144963920116, -0.6037641167640686, -0.2759326696395874, 0.004623927641659975, 0.863366425037384, 0.6948077082633972, -0.07935015857219696, 0.29436224699020386, -0.2025117576122284, -0.15970733761787415, 0.05271071195602417, -0.2285616546869278, 0.972723126411438, -0.4064100384712219, -0.4656055271625519, 0.27443164587020874, -0.49359914660453796, -0.48094403743743896, 0.17767493426799774, 0.008693257346749306, -0.47698286175727844, 0.5957834124565125, 0.17866595089435577, 0.0822836384177208, 0.3566645383834839, -0.456435889005661, 0.11453141272068024, 0.09688197076320648, 0.5252134203910828, 0.8183782696723938, 0.866977870464325, 0.634282648563385, -0.5706403255462646, -0.06654845178127289, -0.33034181594848633, 0.10270535200834274, -0.19523048400878906, -0.8348898887634277, -0.5865058302879333, -0.05068527162075043, 0.004335536155849695, 0.5487406849861145, -0.8110491633415222, 0.4594438076019287, -0.2335890829563141, -0.41964444518089294, -0.3914455771446228, 0.28688353300094604, -0.18771736323833466, -0.08614283800125122, 0.26494741439819336, 0.3095371723175049, -0.5454826951026917, -0.9175406098365784, -0.565406858921051, 0.18452870845794678, -0.19054605066776276, 0.30433228611946106, 0.8542740345001221, 0.046899739652872086, 0.6463205218315125, -0.1657179743051529, -0.5826680660247803, -0.22890245914459229, 0.4547615349292755, 0.11145390570163727, 0.35497918725013733, 0.38053998351097107, -1.1417902708053589, -0.40620267391204834, -0.025805950164794922, -0.5543590188026428, -0.19606436789035797, -0.4283311069011688, -0.21517714858055115, -0.17098882794380188, 0.6335803270339966, -0.0912819653749466, 0.6630208492279053, 0.27735090255737305, -0.10811447352170944, -0.1740979254245758, 0.08958286792039871, 0.4513401985168457, -0.8419983983039856, -0.3633368909358978, 0.5123910307884216, -0.28996914625167847, -0.704498827457428, -0.36951151490211487, 0.22209478914737701, 0.21383318305015564, -0.5135512351989746, 0.4614045321941376, -0.2647538483142853, 0.48430049419403076, -0.3092285990715027, 0.33376437425613403, -0.13847340643405914, 0.23031914234161377, 0.15972140431404114, 0.27200791239738464, 0.33197033405303955, -0.5243115425109863, -0.04917487874627113, 0.42832013964653015, -0.5876423716545105, 0.5035074353218079, -0.4509136974811554, 0.4671628177165985, -0.7181641459465027, 0.1657951921224594, -1.1840513944625854, -0.4285365045070648, 0.2505931556224823, -0.5046422481536865, -0.08993183821439743, -0.28603053092956543, -0.49044424295425415, -0.022798480466008186, -0.2849334180355072, -0.2958787679672241, 0.26310038566589355, -0.49107420444488525, 0.5357046127319336, 0.9139804840087891, 0.2060643881559372, -0.3998912572860718, -0.4883709251880646, 0.0388101190328598, -0.2636186182498932, -0.1164710745215416, 0.18627716600894928, 0.547391951084137, -0.3829343914985657, 0.18532371520996094, -0.03845355287194252, 0.036211736500263214, -0.21690057218074799, 0.35163864493370056, -0.20204350352287292, 0.2559968829154968, 0.21811483800411224, 0.22459672391414642, 0.11850925534963608, -0.05606696754693985, -0.3665989637374878, 0.5317078828811646, 0.41420575976371765, -0.19407854974269867, -0.626107394695282, 0.5438774228096008, 0.4359699785709381, -0.4840157628059387, 0.6703113317489624, 0.5573844909667969, -0.8528823852539062, -0.42055681347846985, -0.6412431001663208, -0.43341508507728577, -0.43408825993537903, 0.281631201505661, 0.2421208769083023, -0.7309662103652954, 0.7132970094680786, -0.29475629329681396, 0.1973755657672882, 0.5329124927520752, 0.6313284039497375, 0.058190666139125824, 1.1061103343963623, 0.4209423363208771, -0.26521381735801697, 0.5472033023834229, -0.38868144154548645, -0.05636950209736824, -0.49779582023620605, -0.1979471743106842, -0.6800646781921387, -0.5104855895042419, -0.8171519041061401, -0.6188428401947021, 0.15411190688610077, -0.257098525762558, -0.10607507079839706, 0.2094605416059494, -0.8233659863471985, 0.5551113486289978, 0.42589327692985535, 0.38013097643852234, -0.018067091703414917, -0.016635090112686157, 0.7771878242492676, 0.06010931357741356, -0.48830363154411316, -0.7394249439239502, 0.9983310103416443, -0.06745906919240952, 0.45896193385124207, -0.07714320719242096, 0.717263400554657, 0.5956991314888, 0.5504814386367798, -0.6050987243652344, 0.47805723547935486, -0.06534796953201294, -0.8645642399787903, -0.4001935124397278, -0.2797188460826874, -0.9775258898735046, 0.042055174708366394, -0.5539721846580505, -1.1970672607421875, 0.5858791470527649, -0.09347399324178696, 0.06048104539513588, 0.43434402346611023, -0.2367134988307953, 0.7182570695877075, -0.4166179299354553, -0.5717203617095947, -0.11062191426753998, -0.3017576038837433, -0.10624569654464722, -0.22428305447101593, 0.40441957116127014, -0.5664394497871399, -0.40329843759536743, 1.144766092300415, 0.2762325406074524, 0.8262775540351868, -0.2143012434244156, 0.2483842968940735, 0.3126896917819977, -0.2608191668987274, 1.0066486597061157, 0.20009414851665497, 0.16715815663337708, 0.18393395841121674, -0.23514395952224731, -0.29829922318458557, -0.3544567823410034, 0.7142271995544434, -0.4678662419319153, -0.45829805731773376, 0.026728468015789986, -0.43177610635757446, 0.07409466803073883, 0.29313868284225464, 0.4593193531036377, 0.440585732460022, -0.4612801969051361, 0.46383804082870483, 0.5035966634750366, 0.08728180080652237, 0.4056980311870575, 0.21916481852531433, -0.07256943732500076, -0.08447770029306412, 0.9938217997550964, 0.7027832269668579, -0.29974430799484253, 0.629537045955658, 0.19965027272701263, -0.31752490997314453, -0.4366607964038849, -0.13106591999530792, 0.08780456334352493, -0.6153736114501953, 0.1411038637161255, -0.6269338130950928, 0.2603166699409485, -0.199130579829216, -0.3482285141944885, -0.29230692982673645, -0.2644006609916687, -0.6419975757598877, -0.05589527264237404, 0.4417048692703247, 1.0536922216415405, 0.057070497423410416, 0.5274270176887512, -0.18562613427639008, 0.2029176503419876, -0.0564412847161293, 0.07968475669622421, -0.30402982234954834, 0.04862487316131592, -0.08167535066604614, 0.016573350876569748, -0.3296375572681427, -1.5202562808990479, 0.35177555680274963, 0.20774152874946594, 0.31251072883605957, 0.8186230063438416, 0.2949639558792114, 0.19910931587219238, -0.4471704065799713, 0.4574988782405853, -0.3626267611980438, -0.6581390500068665, 0.8279491066932678, -0.9103723168373108, 0.17840367555618286, 0.5460523962974548, 0.9706708788871765, -0.2818824350833893, -0.4665098488330841, -0.7201627492904663, -1.0098251104354858, 0.4531404376029968, 0.40632420778274536, 0.19782130420207977, -0.19669871032238007, 0.3942602872848511, -0.2872817814350128, 0.4108489453792572, -0.2700280249118805, -0.3821481466293335, 0.09236853569746017, -0.06156206503510475, -0.08307606726884842, -0.19991745054721832, -0.3207589387893677, -0.0952928215265274, 0.7061068415641785, 0.1328907161951065, 0.18036620318889618, 0.3629528284072876, 0.25888460874557495, -0.15809988975524902, -0.057923510670661926, 0.47147706151008606, 0.819981575012207, -0.3514333665370941, -0.04276410490274429, -0.16904175281524658, -0.1325373351573944, -0.05516497418284416, 0.023220526054501534, -0.44574710726737976, 0.2609544098377228, 0.28464266657829285, 0.5927724242210388, -0.0009597846656106412, -0.26789426803588867, 0.3714536130428314, 0.19433508813381195, -0.43367433547973633, -0.5156408548355103, -0.36454683542251587, 0.33613741397857666, 0.12052552402019501, 0.7190813422203064, -0.36558961868286133, 0.14272646605968475, -0.5132284164428711, 0.4795190095901489, 0.5854302048683167, -0.9987725019454956, -0.21341179311275482, 0.8131685853004456, 0.28124842047691345, -0.5924527645111084, 0.1704709380865097, -0.3421613872051239, -0.5220946073532104, 0.9568204879760742, 0.13125349581241608, 0.6809566617012024, -0.29199695587158203, 0.23895685374736786, 0.11929196864366531, 0.9170584678649902, -0.03146674484014511, 0.343773752450943, 0.16102460026741028, -0.8940064311027527, -0.5074648261070251, 0.04967603459954262, -0.3064129650592804, 0.7102404832839966, -0.6139926314353943, 0.4219014048576355, -0.4205746650695801, -0.3303411304950714, 0.6248507499694824, -0.1535625457763672, -0.6927199959754944, -0.10875655710697174, -0.21961823105812073, 0.7583523392677307, -1.0190283060073853, 0.43966615200042725, 0.6833294630050659, 0.1585633009672165, -0.3278887867927551, 0.130076065659523, 0.45461305975914, -0.6297387480735779, 0.3554516136646271, 0.2687723934650421, 0.22059088945388794, 0.02508765459060669, -0.7265456914901733, -0.5153589248657227, 0.4504883885383606, 0.015635546296834946, -0.4051743745803833, 0.28528428077697754, 0.041706401854753494, 0.11521512269973755, -0.4655569791793823, -0.2197207510471344, 0.5571068525314331, 0.8154993653297424, -0.35696640610694885, -0.30410680174827576, -0.01316411979496479, -0.1122712716460228, -0.5182092785835266, 0.7625856995582581, -0.5884604454040527, 0.6950204372406006, 0.24907241761684418, -0.4541097581386566, -0.4923596680164337, 0.4729917645454407, -0.44805023074150085, 0.5210190415382385, 0.35588160157203674, 0.00020694269915111363, 0.663447380065918, -0.4051350951194763, 0.9136634469032288, -0.4916791021823883, 0.2980957329273224, 0.8076969385147095, -0.2149088978767395, 0.6990609169006348, 0.45663008093833923, 0.2539667785167694, -0.04443426430225372, 0.6517729759216309, 0.12234967201948166, 0.4728357195854187, 0.0031095175072550774, -0.24527277052402496, -0.5509644150733948, -0.5120235085487366, 0.07310266047716141, 0.5282173752784729, 1.0386496782302856, -0.33118823170661926, -0.3618677258491516, 0.1322307139635086, 0.016679197549819946, 0.36546680331230164, -0.5869019627571106, 0.7179725170135498, -0.12926971912384033, -0.4137618839740753, 0.02502772957086563, -0.21892255544662476, 0.22565604746341705, -0.473560631275177, -0.3252578377723694, 0.30015209317207336, 0.006341114640235901, -0.18648461997509003, -0.6575725674629211, 0.18307557702064514, -0.2652208209037781, 0.20882917940616608, -0.20288504660129547, 0.9063515067100525, -0.3522745668888092, -0.45114946365356445, 0.3442291021347046, 0.7598778605461121, -0.11010254174470901, -0.24006995558738708, -0.4346148669719696, 0.0665561631321907, 0.0843905508518219, -0.28849735856056213, -0.05701626092195511, 0.3055115342140198, -0.3738248944282532, 0.40150198340415955, 0.5534765720367432, 0.11497461795806885, -0.5102992653846741, -0.24938082695007324, 0.6990960240364075, -0.06693234294652939, -0.4092182517051697, -0.82098388671875, 0.14208781719207764, -0.5346783995628357, -0.26868578791618347, 1.0059162378311157, 0.5395286083221436, 0.8102294206619263, 0.13858141005039215, 1.0986052751541138, 0.04404594376683235, 0.5113378167152405, -0.2525025010108948, 0.745634138584137, -0.6039575934410095, 0.06163007393479347, -0.015346097759902477, -0.6784670352935791, -0.3420060873031616, 0.6609128713607788, -0.716620147228241, -0.28210824728012085, 0.2169966697692871, 0.7655308842658997, -0.013496994972229004, 0.20990410447120667, -0.035316742956638336, -0.00045498888357542455, 0.30335891246795654, 0.12290448695421219, 0.7199991345405579, 0.06835492700338364, 0.2858242988586426, -0.3401728868484497, -0.420795738697052, -0.34656375646591187, -0.8409186601638794, -1.2878332138061523, -0.9671795964241028, -0.2525728642940521, -0.4340168237686157, 0.3974911570549011, 1.1477420330047607, 0.5492018461227417, -0.8663840889930725, -0.06992838531732559, -0.14298652112483978, 0.6108308434486389, -0.26198041439056396, -0.13636349141597748, 0.8835570812225342, 0.10052510350942612, -0.9965020418167114, 0.18013902008533478, 0.4001428484916687, -0.2053816318511963, -0.14297224581241608, 0.5872876644134521, -0.6820394396781921, 0.6283373832702637, 0.3340246379375458, 0.24532254040241241, -0.43514400720596313, -0.5228203535079956, 0.01333039253950119, 0.24258677661418915, -0.037634558975696564, 0.999833345413208, -0.2712927758693695, 0.4835039973258972, 0.6078952550888062, 0.5525714159011841, 0.5843027830123901, 0.05506683513522148, 0.15898431837558746, -0.9298580884933472, 0.2869609296321869, 0.2856689989566803, 0.2907620072364807, 0.19772058725357056, -0.3933905065059662, 0.4634641110897064, 0.0430588573217392, -0.6240487098693848, -0.500005304813385, 0.15802094340324402, -0.8515979051589966, -0.2332821935415268, 1.2436708211898804, 0.47296106815338135, -0.3716699182987213, -0.5141721963882446, -0.25950559973716736, 0.1963759809732437, -0.7718093991279602, 0.7182809114456177, 0.6497117280960083, -0.11172115057706833, -0.03101823478937149, -1.0441404581069946, 0.5753148198127747, -0.08271107077598572, -0.5731322169303894, 0.007263583596795797, 0.19697298109531403, -0.35412946343421936, 0.38122105598449707, 0.7435660362243652, 0.2224307805299759, -0.02599124051630497, -0.27422165870666504, -0.36054110527038574, 0.14661236107349396, -0.37592631578445435, 0.1433282345533371, 0.23387207090854645, -0.676243782043457, -0.2607366740703583 ]
http://arxiv.org/abs/2405.00801v2
http://arxiv.org/pdf/2405.00801v2
"Ask Me Anything": How Comcast Uses LLMs to Assist Agents in Real Time
2024-05-01T18:31:36
2024-05-06T16:15:32
Scott Rome, Tianwen Chen, Raphael Tang, Luwei Zhou, Ferhan Ture
cs.CL
cs.CL
Customer service is how companies interface with their customers. It can contribute heavily towards the overall customer satisfaction. However, high-quality service can become expensive, creating an incentive to make it as cost efficient as possible and prompting most companies to utilize AI-powered assistants, or "chat bots". On the other hand, human-to-human interaction is still desired by customers, especially when it comes to complex scenarios such as disputes and sensitive topics like bill payment. This raises the bar for customer service agents. They need to accurately understand the customer's question or concern, identify a solution that is acceptable yet feasible (and within the company's policy), all while handling multiple conversations at once. In this work, we introduce "Ask Me Anything" (AMA) as an add-on feature to an agent-facing customer service interface. AMA allows agents to ask questions to a large language model (LLM) on demand, as they are handling customer conversations -- the LLM provides accurate responses in real-time, reducing the amount of context switching the agent needs. In our internal experiments, we find that agents using AMA versus a traditional search experience spend approximately 10% fewer seconds per conversation containing a search, translating to millions of dollars of savings annually. Agents that used the AMA feature provided positive feedback nearly 80% of the time, demonstrating its usefulness as an AI-assisted feature for customer care.
[ -0.578838586807251, -1.0429571866989136, 0.47533339262008667, 0.24308739602565765, -0.04041295871138573, 0.17639762163162231, 0.26669326424598694, -0.7620102763175964, 0.5387402772903442, 0.6612995862960815, -0.7821318507194519, 0.15085309743881226, -0.1750192791223526, 0.01737946644425392, -0.3346121907234192, 0.576047420501709, 0.00558239221572876, 0.09538043290376663, 0.00652661407366395, 0.11678905785083771, -0.5274432301521301, -0.568073570728302, -1.2612051963806152, 0.04374696686863899, 0.6794304251670837, 0.7626200318336487, 1.226156234741211, 0.7111745476722717, 0.3929798901081085, 0.3681345582008362, 0.11344312131404877, 0.5823239088058472, -0.13618239760398865, 0.6351030468940735, 0.10765711218118668, -0.5393737554550171, -0.7063621282577515, 0.32673996686935425, 0.3238891065120697, 0.7592100501060486, -0.2800499200820923, 0.20140030980110168, -0.2131636142730713, 0.5697016716003418, -0.5079076290130615, -0.1408633440732956, -0.621694803237915, 0.2537001371383667, 0.41198065876960754, -0.5125208497047424, 0.09176407754421234, -0.4164721965789795, 0.45737919211387634, -0.8250289559364319, 0.08757064491510391, 0.22868295013904572, 0.9778186082839966, 0.45436331629753113, -0.4717034101486206, -0.548670768737793, -0.8569360971450806, 0.3697493374347687, -0.04935608431696892, 0.41407036781311035, 0.540396511554718, 0.5188307762145996, 0.011425444856286049, -0.5857953429222107, -0.6719725728034973, -0.3556276261806488, -0.07437930256128311, 0.13265103101730347, -0.5431053042411804, -0.007814045995473862, 0.15820452570915222, 0.004866710864007473, -0.6169660687446594, -0.13386376202106476, 0.06759247928857803, 0.00041434491868130863, 0.43261614441871643, 0.5574897527694702, 0.2005346566438675, 0.15185870230197906, -0.007607501465827227, 0.016789283603429794, -0.5233062505722046, 0.4026220440864563, 0.17123575508594513, -0.12229082733392715, 0.05149742215871811, 0.5790925621986389, -0.1954541653394699, 0.564696729183197, 0.05755436420440674, 0.3973950445652008, -0.6195375323295593, -0.09560147672891617, -0.3495873510837555, 0.07440648227930069, 0.1890868842601776, 0.31680217385292053, 0.3228793740272522, -0.052967458963394165, 0.29719415307044983, -0.11094368994235992, 0.47701695561408997, -0.5682875514030457, 0.08902068436145782, 0.6043785214424133, -0.4316587448120117, -0.17887404561042786, 0.05038748309016228, -0.36987829208374023, -0.5056139826774597, -0.40705835819244385, 0.07301314175128937, -0.011726748198270798, -0.09959231317043304, -0.10106484591960907, -0.1921863555908203, 0.5702057480812073, 0.6321935653686523, -0.4139321744441986, 0.21932603418827057, 0.7518388032913208, 0.5690996050834656, 0.1595349907875061, -0.3629947304725647, -1.0615977048873901, 0.08244724571704865, -0.361283540725708, 1.1170766353607178, -0.635903000831604, -0.3857707977294922, 0.19360888004302979, 0.20514963567256927, -0.23879316449165344, -0.6567879319190979, -0.049239225685596466, -0.7593567967414856, 0.04621060565114021, -0.14246244728565216, -0.30383825302124023, 0.13771966099739075, 0.8164767026901245, -0.3469438850879669, 0.5683553814888, 0.12286968529224396, -0.0839332565665245, 0.12249160557985306, -0.8475950360298157, -0.267623633146286, 0.16105523705482483, -0.017534971237182617, -0.275572806596756, 0.06275086104869843, 0.014755725860595703, 0.49031001329421997, -0.3604801893234253, -0.26595863699913025, -0.2843559980392456, -0.3051377534866333, 1.109010934829712, -0.696813702583313, 0.4620603322982788, 0.6296213269233704, -0.3448326885700226, -0.3135652244091034, -0.6136993765830994, 0.00897088274359703, 0.08498377352952957, -0.3705384433269501, 0.038531187921762466, 0.072193443775177, -0.23329679667949677, 0.013133635744452477, 0.4956067204475403, -0.524871826171875, 0.20879913866519928, -0.32691624760627747, 0.14486780762672424, 0.681665301322937, 0.2229911983013153, 0.44288164377212524, -0.6694203019142151, 0.9281072020530701, -0.03086923621594906, 0.6048563718795776, -0.24447086453437805, -0.46215489506721497, -1.1226038932800293, -0.07368023693561554, -0.13663563132286072, 0.6447213888168335, -0.8621975183486938, 0.11911900341510773, -0.33197346329689026, -0.38037922978401184, -0.823521614074707, 0.12045500427484512, 0.25223714113235474, 0.2171514481306076, -0.026571955531835556, -0.0015273891622200608, -0.2743852734565735, -0.64499431848526, -0.17898441851139069, 0.006539454218000174, -0.003616905538365245, 0.7674418687820435, -0.2555833160877228, 0.04166080430150032, 1.1990561485290527, -0.8040644526481628, -0.1911415010690689, -0.2026422619819641, -0.02954714372754097, -0.021996600553393364, 0.13101162016391754, 0.17257709801197052, -0.8887302875518799, -0.9606364369392395, 0.13293837010860443, -0.7643711566925049, -0.20639559626579285, -0.19638456404209137, -0.033151205629110336, 0.3003048896789551, 0.37743112444877625, -0.6670843362808228, 0.5394142270088196, 0.45921480655670166, -0.7524387836456299, 0.2765950560569763, -0.7193499207496643, 0.40895771980285645, -0.7694687247276306, -0.03139985352754593, -0.34890642762184143, -0.4842122197151184, -0.8443857431411743, -0.1776931881904602, -0.2387782335281372, -0.655629575252533, -0.842893123626709, 0.6812193393707275, -0.473372220993042, -0.2961021661758423, -0.3987267315387726, 0.13327528536319733, 0.2851088345050812, 0.4323441684246063, -0.2000800520181656, 1.106421709060669, 0.26188820600509644, -1.1407476663589478, 0.4536476135253906, 0.44059622287750244, 0.02293175831437111, 1.1877981424331665, -0.5577273964881897, 0.2879827916622162, -0.09011993557214737, 0.0587257519364357, -1.0887999534606934, -0.04729093238711357, 0.4295806884765625, -0.6877507567405701, -0.2859949469566345, 0.038198214024305344, -0.4371265470981598, -0.08534441143274307, -0.1621522307395935, 0.11244373023509979, 0.2508590519428253, -0.5693190693855286, 0.9521404504776001, 0.5760248303413391, -0.34809744358062744, -0.26327696442604065, -0.6338909268379211, 0.4066601097583771, -0.004265026189386845, -0.7867827415466309, -0.18184323608875275, -0.27638399600982666, -0.3387419283390045, -0.015491955913603306, 0.0597219318151474, -0.5439155101776123, 0.5200482606887817, 0.24350664019584656, 0.1812310367822647, 0.05863669887185097, 0.07734744250774384, 0.08838038891553879, -0.370628297328949, -0.12601980566978455, -0.20665107667446136, 0.9344460368156433, 0.07604788988828659, -0.5323700308799744, -0.6247347593307495, 0.8424172401428223, 0.6431754231452942, -0.236696258187294, 0.40477854013442993, 0.14567576348781586, 0.023789256811141968, -0.012913036160171032, -0.9003092050552368, -0.0496443547308445, -0.5188395380973816, -0.06848639249801636, -0.37948858737945557, -0.8826373219490051, 0.5984573364257812, -0.020476410165429115, 0.2122800052165985, -0.2604617178440094, 0.3906170427799225, -0.7046136856079102, 1.543808102607727, 0.48587411642074585, 0.07528125494718552, 0.7688091993331909, -0.19534999132156372, 0.2657727003097534, -0.5060796737670898, -0.34468957781791687, -0.779324471950531, -0.36141493916511536, -0.3602970242500305, -0.2464069128036499, 0.7623295187950134, -0.5721442103385925, -0.18337012827396393, 0.3119470775127411, -0.3188382387161255, 0.13301335275173187, 0.6110265851020813, 0.05434779077768326, 0.42723143100738525, -0.04541793465614319, 0.30897411704063416, 0.21250149607658386, -0.7230561375617981, -0.37116992473602295, 0.518667459487915, 0.41313183307647705, 0.8750272393226624, 0.2791081368923187, 0.12806130945682526, 0.7474674582481384, 0.30028268694877625, -0.7914848923683167, 0.5377206206321716, -0.013875279575586319, -0.7027324438095093, -0.23237760365009308, -0.37202829122543335, -1.5988285541534424, 0.1266384869813919, -0.07952407002449036, -0.2922646105289459, 0.5298921465873718, 0.4907209575176239, -0.5298104882240295, 0.11574913561344147, -0.7192352414131165, 0.4116349518299103, -0.46268990635871887, -0.1137775108218193, -0.23199592530727386, -0.4199262857437134, -0.4019460678100586, 0.21973758935928345, 0.2170172780752182, -0.25637468695640564, -0.4083051383495331, 0.36811563372612, -0.5917776226997375, 0.6647311449050903, -0.0891677513718605, -0.1824074387550354, 0.39312219619750977, 0.32380419969558716, 0.7598620057106018, -0.1647413820028305, 0.015982914716005325, -0.1538677215576172, 0.12155449390411377, -0.5639132261276245, -0.829013466835022, 0.5835869908332825, -0.6610510945320129, -0.3455764949321747, -0.4969218373298645, -0.6610646843910217, -0.33027857542037964, -0.06681104749441147, -0.21185408532619476, 0.21845167875289917, -0.21405555307865143, 0.020294705405831337, 0.5744211077690125, -0.1360836774110794, 0.5473531484603882, 1.1169772148132324, -0.0648803561925888, -0.3637017607688904, 1.0149301290512085, 0.2937253713607788, 0.2129170149564743, 0.41199925541877747, -0.03428490459918976, -0.23811665177345276, 0.16275838017463684, -0.3647524118423462, 0.21472105383872986, -0.6529377698898315, -0.11266254633665085, -0.8733383417129517, 0.035840969532728195, -0.4136112332344055, -0.36364641785621643, -0.3361000716686249, -0.3312685489654541, -0.2881312072277069, 0.08137216418981552, 0.17431651055812836, 0.34947463870048523, 0.22614796459674835, 0.8875763416290283, -0.9730886816978455, 0.2652132511138916, 0.711966872215271, 0.17989091575145721, -0.1445046365261078, -0.17425505816936493, -0.3721016049385071, 0.09153509885072708, -0.3500518202781677, -0.5642049312591553, 0.5056718587875366, 0.20665206015110016, 0.5616254210472107, 0.5457339286804199, 0.11360122263431549, 0.6301363706588745, -0.21940572559833527, 0.8302950263023376, -0.1369517594575882, -0.8030003309249878, 0.01135130412876606, -0.14893043041229248, 0.22640597820281982, 0.4797534942626953, 0.2732083797454834, -0.8405442237854004, -0.452538400888443, -0.7652865052223206, -0.5364512205123901, 0.571500837802887, 0.16831332445144653, 0.5517206192016602, -0.11302804201841354, 0.3468857407569885, -0.2844259738922119, 0.6732375025749207, -0.07851596176624298, -0.699680745601654, 0.13369156420230865, 0.16821381449699402, 0.12871259450912476, -0.3071451783180237, -0.014007301069796085, -0.04007912427186966, 0.3528670370578766, -0.12092678248882294, 0.6447660326957703, 0.3264422118663788, -0.08395758271217346, -0.2719222903251648, 0.38548028469085693, 0.545555830001831, 0.7449724078178406, -0.3303091526031494, 0.14792320132255554, 0.17353327572345734, -0.21410918235778809, 0.17683543264865875, 0.11974439769983292, 0.0036962705198675394, 0.0688425675034523, -0.22124996781349182, 0.5870441794395447, -0.06905557960271835, -1.001253366470337, 0.4691692888736725, -0.3572826087474823, -0.22511085867881775, -0.5983083844184875, 0.13832345604896545, -0.13661527633666992, 0.3401229977607727, 0.48161110281944275, -0.22796876728534698, 0.049298256635665894, -0.7504347562789917, 0.033695414662361145, 0.6749687790870667, -0.8217859268188477, 0.12396026402711868, 0.268520325422287, 0.33759284019470215, -0.8059927225112915, 0.3358429968357086, -0.016277970746159554, -0.5497450828552246, 0.7974098920822144, 0.2573099732398987, 0.9461804032325745, -0.22301150858402252, 0.4301411509513855, -0.618087112903595, 0.06898725777864456, 0.4598061442375183, 0.5216062664985657, -0.10161607712507248, -0.6353546380996704, -0.23660920560359955, -0.12385931611061096, -1.1758376359939575, -0.010195693001151085, -0.37325847148895264, 0.1685999184846878, -0.7316665053367615, 0.07067261636257172, -0.050173982977867126, -0.013101146556437016, -0.8112528324127197, 0.5051877498626709, 0.03145059198141098, 0.9911347031593323, -0.39086875319480896, 0.4441317319869995, 0.8474622368812561, -0.23516827821731567, -0.8648778796195984, -0.1597430557012558, -0.3468397557735443, -1.2711372375488281, 0.3601408302783966, -0.14254546165466309, -0.31804248690605164, 0.2446075677871704, -0.7087956666946411, -0.5127871632575989, 1.0959521532058716, 0.4081279933452606, -0.26212677359580994, -0.06283346563577652, 0.44209039211273193, 0.45584362745285034, -0.6080787181854248, 0.5473855137825012, 0.7009502053260803, 0.4457617700099945, 0.1638961285352707, -0.6776257157325745, -0.10747677832841873, -0.2056174874305725, -0.21951474249362946, 0.07806534320116043, -0.9328847527503967, 0.8278985023498535, 0.4189695119857788, -0.07338305562734604, 0.009516069665551186, 0.19818377494812012, 0.04757138714194298, 0.6282702088356018, 0.7559910416603088, 0.10977915674448013, 0.71397864818573, 0.15112513303756714, 1.3426647186279297, -0.4575655162334442, 0.04139653220772743, 0.6770412921905518, -0.2298462986946106, 0.5585148334503174, 0.591770350933075, -0.053912453353405, -0.02015387825667858, 0.5642807483673096, 0.1824195384979248, 0.08193966001272202, -0.08094534277915955, -0.4743092954158783, -0.5515139102935791, -0.7197180390357971, -0.2248481661081314, 0.3753877878189087, 0.11805856227874756, 0.0463603213429451, -0.39420825242996216, 0.31832972168922424, 0.39165258407592773, -0.1559741497039795, -0.14612160623073578, 1.1606923341751099, 0.07989378273487091, -1.1050970554351807, 0.6422619819641113, -0.18465955555438995, 0.33578404784202576, -0.8123658299446106, -0.10857253521680832, -0.6189064979553223, 0.21954087913036346, -0.04251904785633087, -0.44007372856140137, 0.40745192766189575, 0.11429397016763687, -0.030605394393205643, -0.271467924118042, 0.42781007289886475, -0.3119095265865326, -0.2712583839893341, 0.16971412301063538, 0.7363821864128113, 0.501535177230835, -0.46565327048301697, -1.0451233386993408, 0.13793574273586273, -0.22454798221588135, -0.13071787357330322, 0.39990729093551636, 0.20227877795696259, 0.22319313883781433, 1.2382854223251343, 0.946883499622345, 0.5041441917419434, 0.21062429249286652, -0.2058359533548355, 1.0315396785736084, -0.5122188329696655, -0.6469749808311462, -0.42828720808029175, 0.5714383721351624, -0.14597338438034058, -0.24967756867408752, 0.6737626791000366, 0.44135043025016785, 0.37674134969711304, 0.082466259598732, 0.8268497586250305, -0.012762329541146755, 0.8120012283325195, -0.3257940709590912, 0.521065354347229, -0.9795430898666382, 0.497126042842865, 0.162546768784523, -0.8720909357070923, -0.02627740427851677, 0.44394534826278687, -0.20880302786827087, -0.3598811626434326, 0.6071068644523621, 0.7877817749977112, 0.005369370803236961, -0.18101342022418976, 0.6650863885879517, 0.023032957687973976, 0.9371631145477295, 0.01634671725332737, 1.2214844226837158, -0.006041544023901224, 0.9959080219268799, -0.008847679942846298, -0.16700074076652527, -0.41933998465538025, -0.6195600628852844, -0.5344356894493103, -0.07457256317138672, -0.15783952176570892, -0.36821433901786804, 0.18556645512580872, 1.3033076524734497, 0.5371562838554382, -0.6773568391799927, -0.5202239751815796, 0.09731671959161758, 0.2621230185031891, -0.311989963054657, -0.19521988928318024, 0.1088981032371521, -0.6762545704841614, -0.8412335515022278, 0.45345190167427063, 0.3309558928012848, 0.013475289568305016, -0.18732622265815735, -0.053982239216566086, -0.30184659361839294, 0.4317000210285187, 0.3819109797477722, 0.5170311331748962, -0.16065126657485962, -0.3352617025375366, 0.33852165937423706, -0.23100408911705017, 0.2004089653491974, 0.9103467464447021, -0.3078330159187317, 0.48891180753707886, 0.35234326124191284, 1.0627326965332031, 0.4359048902988434, 0.2906442880630493, 0.5955712199211121, -0.46739256381988525, 0.10220886021852493, 0.12960578501224518, 0.016420183703303337, 0.04461752623319626, -0.6859789490699768, 0.22258898615837097, -0.011065667495131493, -0.7256288528442383, -0.5657100677490234, 0.1862999051809311, -0.8862730860710144, -0.34221169352531433, 0.7608739733695984, -0.3233197331428528, -0.10936329513788223, -0.7965364456176758, -0.5731490850448608, 0.16688354313373566, -0.615001380443573, 0.7738247513771057, 0.30195727944374084, -0.45118898153305054, -0.45061731338500977, -0.5319916605949402, 0.26413458585739136, 0.8715507984161377, -0.9777311682701111, -0.02303377538919449, 0.27390047907829285, 0.16950984299182892, 0.17653967440128326, 0.8288840651512146, 0.4587029218673706, 0.40883660316467285, -0.3918059170246124, -0.35149630904197693, -0.4327576160430908, -0.48770031332969666, -0.320056289434433, 0.3615444600582123, 0.12150713801383972, -0.5171164870262146 ]
http://arxiv.org/abs/2405.00675v4
http://arxiv.org/pdf/2405.00675v4
Self-Play Preference Optimization for Language Model Alignment
2024-05-01T17:59:20
2024-06-14T05:57:01
Yue Wu, Zhiqing Sun, Huizhuo Yuan, Kaixuan Ji, Yiming Yang, Quanquan Gu
cs.LG
cs.LG, cs.AI, cs.CL, stat.ML
Traditional reinforcement learning from human feedback (RLHF) approaches relying on parametric models like the Bradley-Terry model fall short in capturing the intransitivity and irrationality in human preferences. Recent advancements suggest that directly working with preference probabilities can yield a more accurate reflection of human preferences, enabling more flexible and accurate language model alignment. In this paper, we propose a self-play-based method for language model alignment, which treats the problem as a constant-sum two-player game aimed at identifying the Nash equilibrium policy. Our approach, dubbed Self-Play Preference Optimization (SPPO), approximates the Nash equilibrium through iterative policy updates and enjoys a theoretical convergence guarantee. Our method can effectively increase the log-likelihood of the chosen response and decrease that of the rejected response, which cannot be trivially achieved by symmetric pairwise loss such as Direct Preference Optimization (DPO) and Identity Preference Optimization (IPO). In our experiments, using only 60k prompts (without responses) from the UltraFeedback dataset and without any prompt augmentation, by leveraging a pre-trained preference model PairRM with only 0.4B parameters, SPPO can obtain a model from fine-tuning Mistral-7B-Instruct-v0.2 that achieves the state-of-the-art length-controlled win-rate of 28.53% against GPT-4-Turbo on AlpacaEval 2.0. It also outperforms the (iterative) DPO and IPO on MT-Bench and the Open LLM Leaderboard. Starting from a stronger base model Llama-3-8B-Instruct, we are able to achieve a length-controlled win rate of 38.77%. Notably, the strong performance of SPPO is achieved without additional external supervision (e.g., responses, preferences, etc.) from GPT-4 or other stronger language models. Codes are available at https://github.com/uclaml/SPPO.
[ -0.16641865670681, -0.2810370922088623, 0.2915773093700409, 0.2821342349052429, -0.19041715562343597, 0.08839993178844452, -0.35943567752838135, -0.2533525228500366, 0.1105089783668518, 0.6824831962585449, -0.7441859245300293, -0.19883869588375092, -0.2855992913246155, -0.10269132256507874, 0.19237317144870758, 1.097794532775879, -0.15067747235298157, -0.09686212986707687, -0.030784862115979195, -0.12590962648391724, -0.45339083671569824, -0.30044281482696533, -0.4714002311229706, -0.5512503981590271, 0.35441574454307556, 0.5692916512489319, 0.786728024482727, 0.8703995943069458, 0.32511043548583984, 0.31762996315956116, 0.17308399081230164, 0.0852125808596611, -0.5697611570358276, 0.03568483889102936, -0.056286342442035675, -0.2289203703403473, -0.462693989276886, 0.09466427564620972, 0.7058369517326355, 0.004661224316805601, -0.6082064509391785, -0.08427666872739792, 0.10173799097537994, 0.6515491604804993, -0.37416595220565796, 0.09251648187637329, -0.5227246284484863, 0.2492508739233017, -0.15878276526927948, -0.3700735569000244, -0.48651501536369324, -0.3276095688343048, 0.1702372282743454, -0.7440935969352722, -0.06207354739308357, 0.09112995862960815, 0.9474042057991028, 0.2774299681186676, -0.2595951557159424, -0.06403575837612152, -0.6558510661125183, 0.8217494487762451, -1.0850985050201416, 0.2941633462905884, 0.28723666071891785, 0.24396678805351257, -0.4109504222869873, -0.03723382204771042, -0.4871179759502411, -0.5164381861686707, 0.04332966357469559, 0.32591623067855835, 0.042867984622716904, 0.27813684940338135, -0.04556100815534592, 0.10831607133150101, -0.8085941076278687, 0.49260371923446655, -0.04713037982583046, -0.22574730217456818, 0.8014950156211853, 0.07146578282117844, 0.17445255815982819, -0.025537464767694473, -0.65190190076828, -0.22950613498687744, -0.6358924508094788, 0.4058232009410858, 0.6520676016807556, 0.3110354244709015, -0.05483906716108322, 0.4972071349620819, -0.18671587109565735, 0.6243276000022888, 0.44271016120910645, -0.3718668222427368, 0.08604704588651657, 0.02893362194299698, 0.0026461503002792597, 0.14071151614189148, 0.9363646507263184, 0.47835230827331543, 0.0896126851439476, -0.20858658850193024, -0.2874850034713745, -0.04175453633069992, 0.18655575811862946, -0.4733329117298126, -0.01767505519092083, 0.18997718393802643, -0.3243040442466736, -0.3871384263038635, -0.1949332356452942, -0.6909724473953247, -0.11068359017372131, -0.3056316375732422, 0.5378292798995972, -0.2880287766456604, -0.2329069972038269, 0.06429575383663177, 0.3305664658546448, 0.4149162173271179, 0.1369292289018631, -1.1968355178833008, 0.44412416219711304, 0.7443103194236755, 0.6176442503929138, -0.5043942332267761, -0.6245647668838501, -0.458910197019577, 0.2043285369873047, -0.3449800908565521, 0.6747123003005981, -0.27430570125579834, -0.42267799377441406, -0.25362810492515564, -0.25964200496673584, -0.11386643350124359, -0.2627786099910736, 0.4265241324901581, -0.5351555943489075, 0.4115749001502991, -0.0653981864452362, -0.7752912044525146, 0.2073797583580017, 0.11741094291210175, -0.41968557238578796, 1.0658105611801147, -0.18259575963020325, -0.5977722406387329, 0.162043958902359, -0.5083121061325073, -0.20107053220272064, -0.0961928442120552, -0.2826456129550934, -0.6300982236862183, -0.025129424408078194, 0.12261775881052017, 0.09116014093160629, -0.2143784910440445, 0.4104671776294708, -0.4998861849308014, -0.384880393743515, 0.20810645818710327, -0.16811487078666687, 0.4584883153438568, 0.17924757301807404, -0.6338261961936951, 0.4039733111858368, -0.427897572517395, 0.01593835838139057, 0.295526385307312, -0.21264177560806274, -0.05178895965218544, 0.21538762748241425, -0.3585169017314911, 0.37465935945510864, 0.32353782653808594, -0.4462586045265198, 0.4534509479999542, -0.6739997267723083, 0.16455277800559998, 1.120833396911621, -0.3139859437942505, 0.5995155572891235, -0.19590336084365845, 0.7750227451324463, -0.3468896448612213, 0.5085837841033936, 0.29599568247795105, -0.30143293738365173, -0.46327435970306396, -0.20184816420078278, 0.4015449583530426, 0.4066292941570282, -0.30022844672203064, 0.5742578506469727, -0.15357930958271027, -0.2735409140586853, -0.6337329149246216, 0.12606008350849152, 0.5900759696960449, 0.816669762134552, 0.32265910506248474, -0.3106868863105774, -0.3666401207447052, -1.0138047933578491, -0.04558968171477318, -0.3126218616962433, 0.4423503875732422, 0.5862911343574524, -0.07156213372945786, 0.048252370208501816, 1.1211106777191162, -0.6217944025993347, -0.27946341037750244, -0.22635985910892487, 0.15184542536735535, 0.20449742674827576, 0.4494968056678772, 0.5460885167121887, -0.4164803922176361, -0.6102245450019836, 0.058374591171741486, -0.3811960518360138, -0.21943314373493195, 0.006840449757874012, -0.14168260991573334, 0.41351979970932007, 0.01150564569979906, -0.3768392503261566, 0.12956489622592926, 0.8382214903831482, -0.07863367348909378, 0.5110707879066467, -0.3885264992713928, 0.15260049700737, -0.8317578434944153, 0.08509477227926254, -0.12546290457248688, -0.20966781675815582, -0.4346683621406555, 0.09305067360401154, 0.07883292436599731, 0.11546002328395844, -0.2634153664112091, 0.611530065536499, -0.33980509638786316, -0.16506518423557281, -0.5288782119750977, 0.061217956244945526, -0.15117581188678741, 0.667937159538269, 0.2906505763530731, 1.0055066347122192, 0.32897016406059265, -0.37548115849494934, 0.26086658239364624, 0.06776726990938187, 0.044873882085084915, 0.057416386902332306, -0.5525650978088379, 0.23887185752391815, -0.03396386280655861, 0.3213566541671753, -1.0509377717971802, 0.007789393421262503, 0.2601953446865082, -0.40986865758895874, 0.4762766659259796, -0.14680136740207672, 0.004127237480133772, -0.4195486009120941, -0.3505855202674866, 0.3428574800491333, 0.4292697310447693, -0.5858428478240967, 0.4074529707431793, 0.571110725402832, -0.08627305924892426, -1.0445311069488525, -0.18216712772846222, -0.13193464279174805, -0.24702034890651703, -0.3180505335330963, 0.4487690329551697, -0.37650245428085327, 0.17206069827079773, -0.3570556044578552, -0.28174304962158203, 0.07709741592407227, 0.12019915133714676, 0.01793542131781578, 0.4213215112686157, -0.12190216779708862, 0.027556471526622772, 0.029052631929516792, -0.3218959867954254, -0.14988775551319122, -0.2959829568862915, 0.523592472076416, -0.13044476509094238, -0.12747155129909515, -0.46553370356559753, 0.1256967931985855, 0.17770372331142426, -0.3126416504383087, 0.321656197309494, 0.133741557598114, 0.05057753622531891, -0.17656327784061432, -0.5928271412849426, -0.30620840191841125, -0.5044097900390625, 0.1394897699356079, -0.4264838695526123, -0.9670047163963318, 0.40660473704338074, 0.10972984880208969, 0.025799712166190147, 0.483978271484375, 0.48495715856552124, -0.1754678636789322, 1.1797631978988647, 0.4830981492996216, -0.44118475914001465, 0.4085962176322937, -0.07239615172147751, -0.0397794209420681, -0.612389862537384, 0.00209108111448586, -0.33216655254364014, -0.13091647624969482, -0.6748687028884888, -0.06979706138372421, 0.12588883936405182, -0.04938117787241936, -0.13833214342594147, 0.5933645963668823, -0.5181075930595398, 0.5007607936859131, 0.5298853516578674, 0.14295370876789093, 0.09893366694450378, -0.24427944421768188, -0.3599477708339691, -0.30877649784088135, -0.742422342300415, -0.31802448630332947, 1.0861997604370117, 0.5403410792350769, 0.8638219237327576, 0.3078857958316803, 1.075989007949829, 0.35031700134277344, 0.300166517496109, -0.6643763184547424, 0.3683716058731079, 0.03021874651312828, -0.46064361929893494, -0.6134901642799377, -0.49740713834762573, -0.758270800113678, 0.20767289400100708, -0.27693772315979004, -0.631137490272522, 0.07755860686302185, 0.5238500833511353, -0.6003105640411377, -0.044300928711891174, -0.4022151231765747, 0.9884486794471741, -0.5575689673423767, -0.5040374398231506, -0.16844052076339722, -0.7696130275726318, 0.41422322392463684, 0.09493885189294815, 0.10117415338754654, -0.2548668682575226, 0.054743628948926926, 0.5935239195823669, -0.373017817735672, 0.6561777591705322, -0.037320151925086975, -0.2647750675678253, 0.1447918564081192, 0.1819917857646942, 0.6460791826248169, -0.07079571485519409, -0.05131612718105316, -0.055340856313705444, -0.043064337223768234, -0.27987396717071533, -0.5533362627029419, 0.9045393466949463, -1.1272095441818237, -0.7454757690429688, -0.6871500611305237, -0.4106580317020416, -0.2618454694747925, 0.1416783630847931, 0.15275681018829346, 0.23563197255134583, -0.29065099358558655, -0.20505134761333466, 0.535802960395813, 0.007371929008513689, 0.5145224332809448, 0.7323668003082275, -0.307327538728714, -0.5454424619674683, 0.9128134846687317, -0.10552319139242172, 0.2743547856807709, 0.46185222268104553, 0.6526966691017151, -0.7325482964515686, -0.4610227048397064, -0.5702998638153076, 0.3653407692909241, -0.2759561240673065, -0.29131779074668884, -0.4350684881210327, -0.06154068931937218, -0.5283713340759277, 0.039640095084905624, -0.6132162809371948, -0.34933096170425415, -0.252485454082489, 0.041948217898607254, 0.037535183131694794, 0.5825021862983704, -0.17727434635162354, 0.45821043848991394, -0.5402854681015015, -0.00004501475268625654, 0.4676212966442108, 0.496832013130188, -0.1636270135641098, -0.7452378273010254, -0.07599486410617828, -0.053423039615154266, -0.3490886092185974, -1.0703343152999878, 0.374946653842926, 0.14042140543460846, 0.5967708230018616, 0.4966917335987091, 0.013952069915831089, 0.686413586139679, -0.6191202998161316, 0.4368748962879181, 0.18818296492099762, -0.9077808260917664, 0.5820533037185669, -0.583580732345581, -0.015068598091602325, 0.673905074596405, 0.23731809854507446, -0.2964453101158142, -0.0053197541274130344, -0.6384302973747253, -0.5086621046066284, 1.0618571043014526, 0.027570044621825218, -0.04121065139770508, 0.0952756404876709, 0.47949790954589844, -0.004782647825777531, 0.10061344504356384, -0.8858711123466492, -0.22925253212451935, -0.18950878083705902, -0.20401212573051453, -0.17154178023338318, -0.2676165699958801, -0.22607438266277313, 0.02481590397655964, 0.9825667142868042, -0.4310111403465271, 0.0036086528562009335, 0.026313960552215576, 0.05388662964105606, -0.36104676127433777, 0.11667371541261673, 0.8070778250694275, 0.4547377824783325, -0.48798537254333496, -0.16417820751667023, 0.035230088979005814, -0.012567310594022274, 0.3352844715118408, 0.2959279716014862, -0.1367730349302292, -0.4029395580291748, -0.022083640098571777, 0.7149441838264465, 0.372942179441452, -0.5904205441474915, 0.6386803388595581, -0.026314007118344307, 0.017949381843209267, -0.05397580564022064, 0.06276994943618774, -0.071413554251194, 0.10214658826589584, 0.03632485866546631, -0.3364580273628235, 0.2964112460613251, -0.3881496787071228, 0.25619637966156006, 0.6249223351478577, -0.4478548467159271, -0.2572323977947235, 0.5156214833259583, 0.18861332535743713, -0.22612889111042023, 0.16573894023895264, -0.180776908993721, -0.5622664093971252, 0.5638499855995178, 0.9657909274101257, 0.7051315903663635, -0.6225457191467285, 0.4488659203052521, 0.3475198745727539, 0.13140279054641724, -0.33269020915031433, 0.03032500483095646, -0.15501391887664795, -0.8710886836051941, -0.4063200354576111, -0.40789204835891724, -0.5433140993118286, -0.06589177995920181, -0.5015392899513245, 0.1478511244058609, -0.5739031434059143, -0.19386684894561768, -0.1749415248632431, 0.20851737260818481, -0.16237573325634003, 0.11919420957565308, 0.24845586717128754, 0.5105171203613281, -0.7505344152450562, 0.9958369731903076, 0.39890995621681213, -0.28748393058776855, -0.8655529022216797, -0.011004280298948288, 0.21892382204532623, -0.936832845211029, 0.43825680017471313, -0.06732320040464401, -0.2915996313095093, 0.17082816362380981, -0.3507618308067322, -1.206022024154663, 1.037455677986145, 0.322978138923645, -0.699703574180603, 0.05662798136472702, -0.009119645692408085, 0.47200942039489746, -0.5050181746482849, 0.5168132185935974, 0.47946029901504517, 0.184089794754982, 0.1540653109550476, -1.022672176361084, -0.0775173082947731, 0.2548685669898987, 0.19264473021030426, 0.3053049147129059, -1.0407190322875977, 0.4289138913154602, -0.14102710783481598, 0.02331630326807499, 0.04914863035082817, 0.9299997687339783, 0.539795994758606, -0.039713453501462936, 0.6138506531715393, 0.6646918058395386, 0.4059106409549713, 0.12340807169675827, 0.7289208173751831, -0.4835008680820465, 0.6704146265983582, 1.3799498081207275, -0.5296247005462646, 0.8563273549079895, 0.4103820025920868, -0.22527608275413513, 0.3551333248615265, 0.649856448173523, 0.27519696950912476, 0.6423905491828918, 0.18793095648288727, -0.0779729038476944, -0.35405433177948, -0.035479482263326645, -0.31881821155548096, 0.6881136298179626, -0.08971074968576431, -0.06123833730816841, -0.1079539880156517, -0.409322589635849, 0.039843399077653885, 0.30805104970932007, 0.0674605444073677, 0.8706967234611511, -0.22139962017536163, -1.1284765005111694, 0.36398956179618835, 0.061172254383563995, 0.6734194159507751, -0.8401124477386475, 0.01723896525800228, -0.3494040071964264, 0.18196259438991547, 0.09418532252311707, -0.7069525718688965, -0.02052539959549904, -0.24652396142482758, -0.011505319736897945, -0.12254846841096878, 0.5226315259933472, -0.5526900291442871, -0.10413523763418198, 0.4816841185092926, 0.06161411479115486, -0.19830772280693054, 0.2618413269519806, -1.098278284072876, 0.10413394868373871, 0.15705345571041107, -0.18752242624759674, 0.5094305872917175, -0.1652587205171585, 0.06310100853443146, 0.5243909358978271, 0.5469374060630798, 0.01650611311197281, -0.1629636138677597, -0.03983466699719429, 0.6939631104469299, -0.4341491460800171, -0.6216267943382263, -0.7708155512809753, 0.08607859164476395, 0.010055126622319221, -0.46472930908203125, 0.5395693182945251, 0.6700528264045715, 0.6357392072677612, 0.0575752928853035, 0.41296806931495667, 0.24271708726882935, 0.35990116000175476, -0.41345900297164917, 0.4523375332355499, -0.5482910871505737, 0.15362215042114258, -0.33053767681121826, -0.8113861083984375, -0.05386049300432205, 0.5566706657409668, -0.320695161819458, -0.069114089012146, 0.21694542467594147, 0.8306037187576294, -0.012596094980835915, -0.11632776260375977, 0.28748786449432373, 0.10198725759983063, 0.14699901640415192, 0.5144166350364685, 0.6685015559196472, -0.23833267390727997, 0.37422487139701843, -0.3754243552684784, -0.6425423622131348, -0.24763721227645874, -1.0462974309921265, -0.5943782329559326, -0.33861783146858215, -0.22415174543857574, -0.4950789213180542, 0.28318899869918823, 1.3499547243118286, 0.6768540143966675, -0.7498810291290283, -0.7186914086341858, 0.043484289199113846, 0.007864978164434433, -0.31486010551452637, -0.235467329621315, 0.3068696856498718, -0.4604717195034027, -0.5037263035774231, 0.5603207349777222, 0.33227667212486267, 0.05276788771152496, -0.2417769581079483, -0.4570706784725189, -0.3891341984272003, 0.20098936557769775, 0.2425047755241394, 0.7645583748817444, -0.9449582695960999, -0.23923683166503906, 0.19910010695457458, -0.18805913627147675, 0.1962972730398178, 0.6436027884483337, -0.5419288277626038, 0.6888320446014404, 0.2624832093715668, 0.6130425930023193, 0.554349958896637, 0.22699758410453796, 0.7568145990371704, -0.589741051197052, 0.05543070286512375, 0.20630653202533722, 0.2417089343070984, 0.12268265336751938, -0.4765535295009613, 0.3250736594200134, 0.1581752747297287, -0.7995395660400391, -0.5347400307655334, 0.2644425928592682, -0.8909105658531189, -0.08849300444126129, 1.0569736957550049, -0.09531492739915848, -0.21626709401607513, 0.3825644850730896, -0.33634206652641296, 0.17491662502288818, -0.6822016835212708, 0.9477988481521606, 0.5028389692306519, -0.40498098731040955, -0.27396276593208313, -0.08725687116384506, 0.8078429698944092, 0.8105433583259583, -0.5459773540496826, 0.0693625807762146, 0.4248552918434143, 0.3221741318702698, -0.1394786536693573, 1.0127954483032227, 0.031344786286354065, 0.21964415907859802, -0.5149935483932495, 0.3605614900588989, 0.14685675501823425, -0.35296300053596497, -0.5585519671440125, -0.15690886974334717, 0.2879064381122589, -0.0867227241396904 ]
http://arxiv.org/abs/2405.00664v1
http://arxiv.org/pdf/2405.00664v1
Is Bigger Edit Batch Size Always Better? -- An Empirical Study on Model Editing with Llama-3
2024-05-01T17:50:37
2024-05-01T17:50:37
Junsang Yoon, Akshat Gupta, Gopala Anumanchipalli
cs.CL
cs.CL, cs.AI, cs.LG
This study presents a targeted model editing analysis focused on the latest large language model, Llama-3. We explore the efficacy of popular model editing techniques - ROME, MEMIT, and EMMET, which are designed for precise layer interventions. We identify the most effective layers for targeted edits through an evaluation that encompasses up to 4096 edits across three distinct strategies: sequential editing, batch editing, and a hybrid approach we call as sequential-batch editing. Our findings indicate that increasing edit batch-sizes may degrade model performance more significantly than using smaller edit batches sequentially for equal number of edits. With this, we argue that sequential model editing is an important component for scaling model editing methods and future research should focus on methods that combine both batched and sequential editing. This observation suggests a potential limitation in current model editing methods which push towards bigger edit batch sizes, and we hope it paves way for future investigations into optimizing batch sizes and model editing performance.
[ -0.20257090032100677, -0.9592330455780029, 0.7982547283172607, 0.48031702637672424, -0.06737609207630157, 0.14818447828292847, -0.20053553581237793, -0.6671589612960815, 0.17005178332328796, 0.6216799020767212, -0.27986326813697815, -0.20557086169719696, -0.6209005117416382, 0.29869768023490906, -0.44041478633880615, 0.6309394240379333, -0.24879899621009827, 0.1226111650466919, 0.06852206587791443, 0.026390764862298965, -0.6806372404098511, -0.5138538479804993, -1.114693284034729, -0.2270308881998062, 0.8983733654022217, 0.6423969268798828, 0.8611912727355957, 1.2280259132385254, 0.69217848777771, 0.3365897238254547, -0.5948519110679626, 0.08905041217803955, -0.4005292057991028, -0.08067725598812103, -0.004032475408166647, -0.6637264490127563, -1.2728408575057983, 0.12339449673891068, 0.87279212474823, 0.47071725130081177, -0.15331584215164185, 0.44496214389801025, -0.25640439987182617, 0.5740302205085754, -0.6429011821746826, -0.5732458829879761, -0.6237304210662842, 0.06172158569097519, -0.35616931319236755, 0.18937937915325165, -0.4637601971626282, 0.07228188216686249, -0.2978112995624542, -0.5498844981193542, 0.014511807821691036, 0.18193988502025604, 0.44121986627578735, 0.4864780604839325, -0.2511729300022125, 0.1300843507051468, -0.6993043422698975, 0.748846709728241, -1.1080836057662964, 0.15226426720619202, 0.2723258137702942, 0.1513497233390808, -0.1142655611038208, -0.8520991802215576, -0.5585784912109375, 0.06863898038864136, 0.24800091981887817, -0.34094491600990295, -0.3643331825733185, 0.27656468749046326, 0.6426408886909485, 0.28726303577423096, -0.30390822887420654, 0.9061152935028076, -0.5110951662063599, -0.14967583119869232, 0.6951756477355957, 0.29827597737312317, 0.4694272577762604, -0.005800461862236261, 0.06592703610658646, -0.10571624338626862, -0.9248145222663879, -0.29368600249290466, 0.46866363286972046, 0.009174386039376259, 0.21169614791870117, 0.8830143809318542, -0.16519393026828766, 0.9492415189743042, 0.2349621206521988, -0.38212817907333374, -0.11765763908624649, -0.1143295019865036, -0.6361241936683655, 0.11124224215745926, 0.5892233848571777, 0.7032173871994019, -0.013944314792752266, 0.11328549683094025, -0.2897273004055023, -0.3408846855163574, 0.32271984219551086, -0.9796931743621826, 0.06360887736082077, 0.36844804883003235, -0.5975531339645386, -0.5235850214958191, -0.33125239610671997, -0.36144620180130005, -0.5623952746391296, -0.22756429016590118, 0.2916041314601898, -0.10216531157493591, 0.06685151904821396, 0.3639470040798187, -0.16369879245758057, -0.042881228029727936, 0.6615931987762451, -0.865703284740448, 0.3345057964324951, 0.7768364548683167, 1.0043412446975708, 0.14773212373256683, -0.535461962223053, -0.5332933068275452, 0.2641562521457672, -0.6711305379867554, 0.727737307548523, -0.6615896224975586, -0.47096994519233704, -0.6034327745437622, -0.20430153608322144, 0.05884995311498642, -0.6181390285491943, 0.3593223989009857, -0.6377521753311157, -0.020953543484210968, -0.36497557163238525, -0.5771167278289795, -0.155735582113266, -0.08446981757879257, -0.9829410910606384, 0.9455329179763794, -0.0647931694984436, -0.49776142835617065, 0.3694302439689636, -0.8046128153800964, -0.38537803292274475, -0.43643346428871155, 0.40555474162101746, -0.5288516283035278, 0.3039452135562897, 0.5349661707878113, 0.5793637633323669, -0.38977283239364624, 0.2716146409511566, -0.36606597900390625, -0.4245467185974121, 0.20057593286037445, -0.11468899250030518, 0.47052857279777527, 0.2510063052177429, -0.15487657487392426, 0.37170928716659546, -0.8925811648368835, -0.1912463903427124, 0.14666648209095, -0.3201340138912201, -0.11988886445760727, -0.11958200484514236, -0.07553357630968094, 0.22966954112052917, 0.35597947239875793, -0.6873044967651367, 0.5485907793045044, 0.12569555640220642, 0.60794997215271, 1.0846720933914185, 0.2884078919887543, 0.6125778555870056, -0.41197264194488525, 0.637718141078949, -0.31406092643737793, 0.4087589383125305, -0.0779389888048172, -0.47226184606552124, -0.8334490656852722, -0.39611509442329407, 0.5531044602394104, 0.40902695059776306, -0.19957326352596283, 0.027006715536117554, -0.1319742351770401, -0.7584453821182251, -0.4298588037490845, 0.47446754574775696, 0.30139195919036865, 0.2630041241645813, 0.2967453896999359, -0.37409794330596924, -0.6129856109619141, -1.2602064609527588, -0.5448254346847534, 0.07049660384654999, 0.07569823414087296, 0.06531279534101486, 0.5625869035720825, -0.20248837769031525, 0.6334322094917297, -0.4676247239112854, -0.08862090855836868, -0.45582571625709534, -0.10825487971305847, -0.011771967634558678, 0.5886196494102478, 0.6462380886077881, -0.34062421321868896, -0.45885851979255676, 0.05529242008924484, -0.45344752073287964, -0.1969933956861496, -0.2980666160583496, -0.2514704167842865, 0.014116330072283745, 0.5733873844146729, -0.3925895690917969, 0.1858290135860443, 0.6878411173820496, -0.04778694733977318, 0.276363343000412, -0.3042900860309601, 0.11308963596820831, -0.7299801707267761, -0.29650455713272095, -0.016666719689965248, -0.20019814372062683, -0.8658091425895691, 0.09455092996358871, 0.509084939956665, 0.11978840827941895, -0.46111637353897095, 0.46460849046707153, -0.5276505351066589, -0.22798123955726624, -0.27373912930488586, -0.10514659434556961, 0.11709526181221008, 0.2956313192844391, -0.29929351806640625, 0.834811806678772, -0.04240041971206665, -0.23298379778862, 0.11736264079809189, 0.05628170073032379, -0.7422366738319397, 0.15256664156913757, -0.91396164894104, 0.7656223773956299, 0.14238741993904114, 0.5219666361808777, -0.738948404788971, -0.32208865880966187, -0.08248896896839142, 0.031713586300611496, 0.23941603302955627, 0.16237592697143555, -0.6967473030090332, -0.3661632835865021, -0.5645177960395813, 0.38265809416770935, 0.09492190182209015, -0.6178129315376282, 0.44920042157173157, 0.28301480412483215, -0.19807086884975433, -0.5958656668663025, -0.9334836602210999, 0.3282233774662018, -0.4229578375816345, -0.8619984984397888, 0.40675756335258484, -0.10627293586730957, -0.4611257314682007, -0.20109258592128754, -0.0035157634411007166, -0.08861783146858215, 0.18488557636737823, -0.01082825567573309, 0.3760218918323517, -0.20048242807388306, -0.33910390734672546, 0.3510438799858093, 0.20029737055301666, -0.2464461475610733, 0.17756664752960205, 0.3485410511493683, 0.10510777682065964, -0.10133805871009827, -0.8104488849639893, 0.2053893357515335, 0.7275000810623169, -0.32633301615715027, 0.7678940296173096, 0.20040468871593475, -0.297000527381897, -0.11182989180088043, -0.9196313619613647, 0.086750328540802, -0.48614072799682617, 0.5280347466468811, -0.5275092720985413, -0.9914293885231018, 0.5780014991760254, -0.02810198813676834, 0.11421197652816772, 0.5083457827568054, 0.40250909328460693, 0.0013515605824068189, 1.1266508102416992, 0.6860085725784302, -0.15689152479171753, 0.5736527442932129, -0.32157546281814575, 0.04518509656190872, -1.363844633102417, 0.10987499356269836, -0.3586505055427551, -0.7057378888130188, -0.2640250027179718, -0.7419331073760986, 0.1789010465145111, 0.12429077923297882, -0.3986572027206421, 0.3380732238292694, -0.21100272238254547, 0.7254543900489807, 0.26452308893203735, 0.20393964648246765, 0.4249460995197296, -0.26048544049263, 0.25403454899787903, 0.07434462755918503, -0.7324160933494568, -0.6194519996643066, 1.319489598274231, 0.5737546682357788, 0.4226999282836914, 0.29720526933670044, 0.44911807775497437, 0.2867446839809418, 0.30108898878097534, -0.6477184891700745, 0.5510451793670654, 0.05255488306283951, -0.7847792506217957, -0.5016763806343079, 0.05130765587091446, -0.48201891779899597, 0.42393216490745544, -0.08595478534698486, -0.5704746842384338, 0.2321423888206482, 0.2433604747056961, -0.5381559729576111, 0.8100537061691284, -0.7691973447799683, 0.7510195374488831, -0.1647777408361435, -0.26301267743110657, -0.3997126817703247, -0.46572092175483704, 0.40967172384262085, -0.43022164702415466, 0.36762866377830505, -0.04129185527563095, -0.4319567382335663, 0.8340131640434265, -0.6810504794120789, 0.7574456930160522, 0.061774805188179016, -0.3070245683193207, 0.10966145992279053, 0.25855085253715515, 0.8957091569900513, -0.14617513120174408, -0.3322489857673645, 0.16353654861450195, -0.2832541763782501, -0.36432206630706787, -0.9950498938560486, 0.5929816961288452, -0.8224936723709106, -0.8630968332290649, 0.04465069621801376, -0.6071265935897827, -0.07926131784915924, 0.02257692627608776, -0.013902165926992893, 0.5524893403053284, -0.0611494816839695, 0.2491503357887268, 0.2225598394870758, -0.22580206394195557, 0.5684117674827576, 0.3041597902774811, -0.4064290523529053, -0.32522067427635193, 0.6929376125335693, 0.4741419851779938, 0.6025479435920715, 0.2952951192855835, 0.2903442680835724, 0.40051352977752686, -0.9101391434669495, -0.5977599024772644, 0.3078465461730957, -0.599197506904602, 0.02287263423204422, -0.6449741721153259, 0.11492814123630524, -0.2664623260498047, -0.5740724205970764, -0.6249691247940063, -0.8563326597213745, -0.14584635198116302, -0.15531407296657562, 0.4081772267818451, 1.1578624248504639, -0.28899407386779785, 0.8176006078720093, -0.375179648399353, 0.2562919557094574, 0.2604582905769348, 0.3191748559474945, 0.18549759685993195, -0.6736190319061279, -0.2522241771221161, -0.22115293145179749, -0.2116214781999588, -0.7441993355751038, 0.3004961907863617, 0.05305326730012894, 0.2732410728931427, 0.22995883226394653, -0.5385384559631348, 0.9648621678352356, -0.7285195589065552, 0.858115553855896, -0.12351422756910324, -1.0651204586029053, 0.540282666683197, -0.48369309306144714, 0.4278901219367981, 0.29264193773269653, 0.04454188048839569, -0.6146059632301331, -0.23633848130702972, -0.696624755859375, -0.5710188746452332, 0.7757910490036011, -0.07733999192714691, -0.04739398881793022, 0.25605636835098267, 0.5995549559593201, -0.012437152676284313, 0.15116141736507416, -0.44592204689979553, -0.21971896290779114, 0.3890504539012909, 0.26483848690986633, -0.10797953605651855, -0.7381515502929688, 0.14670158922672272, -0.4455975592136383, 0.7761068344116211, 0.34382185339927673, -0.032314810901880264, -0.04045618698000908, -0.10813049972057343, -0.40497103333473206, 0.2527882754802704, 0.7576344013214111, 1.009826421737671, -0.428264319896698, -0.30878978967666626, 0.6702989935874939, -0.6314036250114441, 0.08769029378890991, -0.5703745484352112, -0.15368109941482544, -0.3820106089115143, 0.5410428047180176, 1.130049228668213, 0.2879573106765747, -0.43861934542655945, 0.0971648097038269, 0.014931393787264824, -0.2909216582775116, 0.09723453968763351, 0.17110900580883026, -0.19136948883533478, 0.3369747996330261, -0.025777913630008698, 0.3411179482936859, 0.23786893486976624, -0.336087703704834, -0.3861677050590515, 0.01827816106379032, 0.14135289192199707, -0.014456523582339287, 0.7706735730171204, -0.08026450127363205, -0.4416444003582001, 0.6208341717720032, 0.47002971172332764, -0.3309744894504547, 0.7514288425445557, 0.5215592384338379, 0.5822689533233643, -0.46921801567077637, 0.04426681250333786, 0.4695734977722168, 0.5981916189193726, -0.43282920122146606, -0.24192659556865692, 0.1706468015909195, -0.7115275859832764, -0.8249308466911316, -0.2759750783443451, -0.7394543886184692, 0.35245102643966675, -0.6922880411148071, 0.4079098105430603, -0.8919034600257874, -0.2039065659046173, 0.16705501079559326, -0.17210140824317932, -0.40652143955230713, 0.3603249192237854, -0.16092894971370697, 0.9202710390090942, -0.5880478620529175, 0.8759009838104248, 0.6549715399742126, -0.15567713975906372, -1.080786108970642, -0.40389320254325867, 0.38866081833839417, -0.7154647707939148, 0.40478411316871643, 0.03556368499994278, 0.06756443530321121, 0.08419597148895264, -0.7047213912010193, -1.169427514076233, 1.1407499313354492, 0.3527291715145111, -0.7453354001045227, -0.1495162546634674, -0.04748445749282837, 0.3627290725708008, -0.4072421193122864, 0.06073017790913582, 0.9795112013816833, 0.5449938178062439, 0.06954803317785263, -0.9948451519012451, -0.013738436624407768, -0.2494584172964096, 0.38530370593070984, 0.1319017857313156, -0.9057993292808533, 0.9973282814025879, -0.3737928569316864, 0.24361340701580048, 0.3536056578159332, 0.576476514339447, 0.11531173437833786, -0.23547859489917755, 0.5809689164161682, 0.7595720291137695, 0.8705244064331055, 0.38302475214004517, 1.476372480392456, -0.04665196314454079, -0.0466737374663353, 1.4323877096176147, -0.17725691199302673, 1.0417484045028687, 0.41706642508506775, -0.18331389129161835, 0.4371628165245056, 0.9001474380493164, -0.0811932384967804, 0.1902296394109726, 0.17592385411262512, -0.023345474153757095, -0.029536087065935135, 0.24598993360996246, -0.24764756858348846, 0.42954906821250916, 0.22245930135250092, -0.4424129128456116, 0.4337097108364105, 0.143473282456398, 0.7255002856254578, -0.1909804791212082, -0.33816835284233093, 0.50169837474823, -0.12252302467823029, -0.43569111824035645, 0.40443748235702515, 0.4774397313594818, 0.4311673641204834, -0.1770351678133011, 0.17512135207653046, -0.3086434304714203, 0.046990763396024704, -0.14314274489879608, -0.569481611251831, 0.01811259426176548, 0.398893266916275, -0.16516396403312683, -0.2857537269592285, 0.44664376974105835, -0.011499613523483276, -0.6328968405723572, 0.14743588864803314, 0.21740306913852692, 0.05521181970834732, -0.2996496558189392, -0.5407271981239319, 0.5874526500701904, 0.05068155378103256, -0.6237133145332336, 0.3172467350959778, 0.2430635541677475, -0.19864758849143982, 0.48744261264801025, 0.7178654074668884, 0.3555651009082794, 0.21086348593235016, 0.23492898046970367, 0.7216044664382935, -0.6921356320381165, -0.11531985551118851, -0.9805489778518677, 0.6310670375823975, -0.23600450158119202, -0.31948724389076233, 0.8702179789543152, 0.5596096515655518, 0.8019890785217285, 0.05247875675559044, 0.6852142214775085, 0.14904683828353882, 0.23393069207668304, -0.6052422523498535, 0.3820682466030121, -0.6811091303825378, 0.36986297369003296, -0.5718693137168884, -1.301725149154663, -0.5242378115653992, 0.4730224311351776, -0.5291419625282288, -0.16298773884773254, 0.7202114462852478, 0.8877550959587097, 0.14711914956569672, 0.2275557965040207, 0.3652556538581848, 0.6777353882789612, 0.3804589807987213, 0.3023693561553955, 0.900516152381897, -0.4578334093093872, -0.18685446679592133, -0.7160747051239014, -0.161306694149971, -0.031152604147791862, -0.9061038494110107, -0.9300780296325684, -0.27919888496398926, -0.17461609840393066, 0.12420182675123215, -0.062344785779714584, 0.8764886856079102, 0.39943623542785645, -0.38891106843948364, -0.32286277413368225, 0.225315123796463, -0.05098140612244606, -0.1416744589805603, -0.06853386759757996, 0.2435157299041748, 0.08545854687690735, -0.9035868644714355, 0.5987576246261597, 0.3611169159412384, -0.010598120279610157, -0.008866171352565289, 0.17754417657852173, -0.3180209696292877, 0.21156185865402222, 0.7675310969352722, 0.10272888839244843, -0.7780226469039917, -0.37469011545181274, -0.1483502835035324, 0.04670727625489235, -0.06045283377170563, 0.8978431224822998, -0.1963668316602707, 0.5136996507644653, 0.141609787940979, 0.6554367542266846, 0.6683829426765442, -0.004822412971407175, 0.7384100556373596, -0.33450955152511597, 0.30852970480918884, -0.2345251590013504, 0.4410068988800049, 0.47125640511512756, -0.5422949194908142, 0.7200391888618469, -0.20868702232837677, -0.6862314343452454, -0.9691840410232544, -0.4186473488807678, -0.9116271138191223, -0.34479889273643494, 1.3390575647354126, 0.2840152084827423, -0.2768116891384125, 0.4599805176258087, -0.6050034761428833, 0.1677132397890091, -0.08878187090158463, 0.3598965108394623, 0.9574465155601501, -0.4003567397594452, -0.130255788564682, -1.0178025960922241, 0.17152462899684906, 0.49876463413238525, -0.6774083971977234, -0.05394859239459038, 0.7409076690673828, 0.04989861696958542, -0.22289934754371643, 0.5124462842941284, -0.03929481282830238, 0.3216647505760193, -0.0704658254981041, -0.04114533215761185, -0.2803042232990265, -0.5673284530639648, -0.4520496428012848, -0.0034153240267187357, 0.34960153698921204, 0.3483116626739502 ]
http://arxiv.org/abs/2405.00659v1
http://arxiv.org/pdf/2405.00659v1
NLU-STR at SemEval-2024 Task 1: Generative-based Augmentation and Encoder-based Scoring for Semantic Textual Relatedness
2024-05-01T17:44:05
2024-05-01T17:44:05
Sanad Malaysha, Mustafa Jarrar, Mohammed Khalilia
cs.CL
cs.CL
Semantic textual relatedness is a broader concept of semantic similarity. It measures the extent to which two chunks of text convey similar meaning or topics, or share related concepts or contexts. This notion of relatedness can be applied in various applications, such as document clustering and summarizing. SemRel-2024, a shared task in SemEval-2024, aims at reducing the gap in the semantic relatedness task by providing datasets for fourteen languages and dialects including Arabic. This paper reports on our participation in Track A (Algerian and Moroccan dialects) and Track B (Modern Standard Arabic). A BERT-based model is augmented and fine-tuned for regression scoring in supervised track (A), while BERT-based cosine similarity is employed for unsupervised track (B). Our system ranked 1st in SemRel-2024 for MSA with a Spearman correlation score of 0.49. We ranked 5th for Moroccan and 12th for Algerian with scores of 0.83 and 0.53, respectively.
[ -0.6117397546768188, -0.6362774968147278, 0.45514509081840515, 0.3958677649497986, -0.33893945813179016, -0.2371363788843155, -0.2389066070318222, -0.7580247521400452, 0.39875441789627075, 0.6237492561340332, -0.6234847903251648, -0.8492057919502258, -0.3544745445251465, 0.28662049770355225, -0.36772429943084717, 1.0387845039367676, -0.028306974098086357, -0.02539787068963051, -0.5558306574821472, -0.6362793445587158, -0.4714491367340088, -0.8373141884803772, -0.33469343185424805, -0.2854946255683899, 0.6685149669647217, 0.21677903831005096, 0.6089962124824524, 0.306367963552475, 0.8267510533332825, 0.2924422323703766, 0.04292416200041771, 0.12838509678840637, -0.1585243195295334, 0.4963356852531433, -0.40202075242996216, -0.23755326867103577, -0.586236298084259, -0.3113352954387665, 0.2164877951145172, 0.5622838139533997, 0.18327690660953522, 0.16041335463523865, 0.1428799331188202, 0.6879674196243286, -0.3106158971786499, -0.10079164057970047, -0.42997342348098755, -0.21588273346424103, -0.2663905620574951, -0.31848591566085815, -0.18928100168704987, -0.3377440571784973, 0.11899244785308838, -0.35110944509506226, 0.5615957975387573, -0.042464256286621094, 1.143923282623291, 0.35023045539855957, -0.40543800592422485, -0.5781368613243103, -0.476193904876709, 0.8755204081535339, -0.686520516872406, 0.25482121109962463, 0.6686874628067017, -0.007774637546390295, 0.0884920135140419, -0.4771791398525238, -0.3884780704975128, -0.1136084571480751, -0.10350137203931808, 0.31168022751808167, 0.12583893537521362, -0.14024868607521057, 0.08089341968297958, 0.15521277487277985, -0.6979870200157166, -0.09657036513090134, -0.17748261988162994, -0.3506125211715698, 0.7375167012214661, -0.014093714766204357, 0.22305014729499817, -0.036560870707035065, -0.49669450521469116, -0.015804165974259377, -0.7409253120422363, -0.23014700412750244, 0.47691452503204346, 0.24173089861869812, -0.19510890543460846, 0.586819589138031, -0.19677181541919708, 0.6684679985046387, -0.28811579942703247, 0.3489348590373993, 0.6313939690589905, -0.6489003896713257, 0.11742289364337921, 0.1442813277244568, 0.7807748913764954, 0.3311573266983032, 0.08720417320728302, -0.05435020849108696, -0.18818578124046326, 0.20694226026535034, 0.1358514130115509, -0.4980687201023102, -0.13298605382442474, -0.11432059109210968, -0.4618898630142212, 0.02219509705901146, 0.04187116399407387, -0.5478304028511047, 0.05081622302532196, -0.44541484117507935, 0.7617617249488831, -0.635878324508667, 0.02914552390575409, -0.30374875664711, 0.0457027405500412, 0.4024239182472229, 0.5294421911239624, -0.5364896059036255, 0.20100420713424683, 0.7084149718284607, 0.7641818523406982, -0.35225072503089905, -0.3567308187484741, -0.06807848066091537, 0.08742675930261612, -0.031203584745526314, 0.8032802939414978, -0.6797266602516174, -0.3674886226654053, -0.013695620000362396, -0.007149663288146257, -0.19040589034557343, -0.6406874060630798, 0.9718766212463379, -0.6549022197723389, 0.19112542271614075, -0.32892635464668274, -0.6373512744903564, -0.5407317280769348, 0.2723683714866638, -0.7770247459411621, 1.483269453048706, 0.12243935465812683, -0.6427491307258606, 0.2597549855709076, -0.3668735921382904, -0.4954430162906647, -0.03792312741279602, -0.1538652926683426, -0.4802190363407135, 0.03481244668364525, 0.2649736702442169, 0.3308441936969757, -0.2244054079055786, 0.2006116509437561, -0.10144403576850891, -0.560028076171875, 0.14965017139911652, -0.43793344497680664, 0.33179327845573425, 0.2246660441160202, -0.22793717682361603, 0.23135995864868164, -0.7537224292755127, -0.011855589225888252, -0.32828110456466675, -0.19575241208076477, -0.633831262588501, -0.18623127043247223, 0.3260498642921448, 0.4440511167049408, 0.5648729205131531, -0.42595773935317993, -0.1590895801782608, -0.5959190130233765, -0.08252649009227753, 0.3840941786766052, 0.2086087316274643, 0.259619802236557, -0.5826499462127686, 0.3098897635936737, 0.05230551213026047, -0.2893375754356384, -0.2974034249782562, -0.5934334397315979, -1.02970552444458, -0.17848551273345947, 0.5691837072372437, 0.5543630123138428, -0.5890995860099792, 0.6738936305046082, -0.4502161145210266, -0.564363956451416, -0.4403195083141327, -0.07131566107273102, 0.3960602879524231, 0.20546765625476837, 0.5839267373085022, -0.39513540267944336, -0.5799538493156433, -0.954420268535614, -0.1684984266757965, -0.04379914328455925, -0.06657208502292633, 0.09830116480588913, 0.6439660787582397, -0.2429829239845276, 0.5735568404197693, -0.08256545662879944, -0.5630197525024414, 0.027177443727850914, 0.15748994052410126, 0.4696536362171173, 0.5677666068077087, 0.6109147071838379, -0.6276668310165405, -0.5846326947212219, 0.26250550150871277, -0.7973110675811768, -0.2279215306043625, 0.300868958234787, -0.03862744942307472, 0.440085232257843, 0.720441997051239, -0.11006075888872147, 0.4820072650909424, 0.5039045810699463, -0.47802913188934326, 0.16443604230880737, -0.28428369760513306, 0.4822734296321869, -1.2796337604522705, -0.14634478092193604, -0.17721785604953766, -0.09648384898900986, -0.5434972643852234, 0.023756643757224083, -0.21097515523433685, 0.085059255361557, -0.2326686829328537, 0.3655373752117157, -0.0953221321105957, 0.02300114557147026, -0.17538456618785858, 0.011435690335929394, -0.04790113866329193, 0.42641374468803406, 0.07628942281007767, 0.9144415855407715, 0.266676127910614, -0.52447110414505, 0.12246468663215637, 0.2734255790710449, -0.28837308287620544, 0.4706394374370575, -0.7793292999267578, 0.2682984471321106, -0.06491848081350327, -0.12813428044319153, -0.7575357556343079, 0.06730543076992035, -0.20833554863929749, -0.6603257656097412, 0.19490082561969757, 0.18488717079162598, -0.3702213764190674, 0.12122206389904022, -0.3183918297290802, 0.6826476454734802, 0.29013359546661377, -0.24303875863552094, 0.676585853099823, 0.12962612509727478, -0.5016440749168396, -0.5480632781982422, -0.5919612050056458, 0.0812140479683876, -0.3093714714050293, -0.7747931480407715, 0.5610256195068359, 0.13720814883708954, -0.12961241602897644, 0.2978959083557129, 0.014663416892290115, 0.13198013603687286, -0.11605506390333176, 0.4767770767211914, 0.24979561567306519, -0.2983241379261017, 0.23608893156051636, 0.041388776153326035, 0.029039667919278145, 0.04099314287304878, 0.022808918729424477, 0.6449543833732605, -0.19995051622390747, -0.462507039308548, 0.02864586003124714, 0.6421759128570557, 0.23028352856636047, -0.22308401763439178, 0.8958791494369507, 0.8629632592201233, -0.3154769837856293, 0.05044974759221077, -0.6507142782211304, -0.08538355678319931, -0.4197883903980255, 0.44902801513671875, -0.7070814371109009, -1.2276654243469238, 0.654032826423645, 0.06284970045089722, -0.24456527829170227, 0.7518296837806702, 0.7252205610275269, -0.2864888310432434, 0.6930517554283142, 0.4592173993587494, -0.08275028318166733, 0.20459391176700592, -0.07685600221157074, 0.12838198244571686, -0.7025899291038513, -0.41951924562454224, -0.856970489025116, -0.061946768313646317, -0.9506291151046753, -0.6942625641822815, 0.252642959356308, 0.07320219278335571, -0.2447652667760849, 0.6447665691375732, -0.10630583763122559, 0.212760329246521, 0.5908918976783752, -0.029921114444732666, 0.11694534868001938, 0.18914754688739777, -0.3834649324417114, -0.2642955482006073, -0.5336243510246277, -0.5584626793861389, 0.9436242580413818, 0.15956835448741913, 0.5184339284896851, 0.4500453770160675, 1.0561262369155884, 0.6832593083381653, 0.08607134968042374, -0.5250849723815918, 0.5936129093170166, -0.07188858836889267, -0.2740795612335205, -0.3366367220878601, -0.22236447036266327, -0.8780208826065063, 0.17669187486171722, -0.23158249258995056, -0.6150158643722534, 0.1462431699037552, -0.23914144933223724, 0.2678404450416565, -0.34047600626945496, -0.3297361731529236, 0.5335166454315186, 0.08983386307954788, -0.569963812828064, -0.3246000409126282, -0.8090276718139648, -0.14525611698627472, -0.2379489243030548, 0.3505078852176666, -0.38598179817199707, -0.11678017675876617, 0.8961207866668701, -0.5455576777458191, 0.4647577106952667, 0.13546422123908997, -0.19204650819301605, 0.271139532327652, -0.07431607693433762, 0.2470196932554245, -0.17947694659233093, -0.513012707233429, 0.4290769696235657, 0.18063190579414368, -0.43984270095825195, -0.46543198823928833, 1.0324755907058716, -0.8199755549430847, -0.3800237774848938, -0.7681032419204712, -0.5084998607635498, -0.229076087474823, 0.005330118350684643, 0.2070041447877884, 0.5236804485321045, -0.4235132038593292, 0.16693666577339172, 0.42409539222717285, -0.23125793039798737, 0.4756493866443634, 0.42039385437965393, -0.08455794304609299, -0.4580187201499939, 1.101333498954773, -0.24227377772331238, 0.011601625010371208, 0.5902057886123657, -0.22543443739414215, -0.5991118550300598, -0.40594103932380676, -0.37589848041534424, 0.27188417315483093, -0.7648964524269104, -0.31843990087509155, -0.5711646676063538, -0.49543076753616333, -0.306738942861557, -0.2565034031867981, 0.09524190425872803, -0.5099864602088928, -0.2554723918437958, -0.002905357861891389, 0.4415052831172943, 0.7488235235214233, 0.07261490076780319, 0.01628502644598484, -0.9671050310134888, -0.07579845935106277, 0.04592151567339897, -0.06470032781362534, -0.2662934958934784, -0.8896191716194153, -0.30170801281929016, -0.24899059534072876, -0.1277463138103485, -0.6557285189628601, 0.4476793110370636, 0.5773029327392578, 0.41287797689437866, 0.12235397845506668, 0.10658203810453415, 0.6320098042488098, -0.6146989464759827, 0.8236875534057617, 0.03352509066462517, -0.905840277671814, 0.7448298931121826, -0.38684627413749695, 0.3369884490966797, 0.8784164786338806, 0.4640849232673645, -0.23833045363426208, -0.5718184113502502, -0.4213155210018158, -1.0044984817504883, 0.4610270857810974, 0.5939939022064209, 0.2692056894302368, -0.10102447867393494, -0.015458235517144203, 0.1620751917362213, -0.03330077975988388, -0.4529483914375305, -0.39644384384155273, -0.07996314018964767, -0.6584305763244629, -0.13318072259426117, -0.3782125413417816, 0.18174320459365845, -0.1729300171136856, 0.844018816947937, 0.025382239371538162, 0.34250739216804504, 0.3002454936504364, -0.16609668731689453, 0.20799942314624786, 0.609230637550354, 0.6101458668708801, 0.574678361415863, -0.30526506900787354, 0.20582740008831024, 0.5157323479652405, -0.5948658585548401, 0.18869860470294952, 0.31458780169487, -0.2895892262458801, 0.2962343692779541, 0.7108115553855896, 0.7147151827812195, 0.08566078543663025, -0.5908030271530151, 0.4967820942401886, 0.0786067470908165, -0.2765754163265228, -0.4504229426383972, -0.16904626786708832, 0.12383107841014862, 0.05012935400009155, 0.3290015757083893, 0.18725024163722992, 0.3469783663749695, -0.47694623470306396, 0.3659031093120575, 0.19690127670764923, -1.0659997463226318, -0.35404542088508606, 0.3316574990749359, 0.2324531078338623, -0.13166262209415436, 0.14833775162696838, -0.2195839136838913, -0.6590942144393921, 0.6441337466239929, 0.663182258605957, 0.43140068650245667, -0.40510255098342896, -0.03324776515364647, 0.6834174990653992, 0.21247713267803192, 0.2538144886493683, 0.6483134627342224, -0.07030411064624786, -0.8090758323669434, -0.5397692918777466, -1.002058744430542, -0.17527027428150177, -0.10278478264808655, -0.969851553440094, 0.385330468416214, 0.26392221450805664, -0.19546277821063995, -0.056323498487472534, -0.11928338557481766, -0.7646414637565613, 0.4106389582157135, -0.13738448917865753, 0.71463543176651, -0.8603658080101013, 0.906991183757782, 1.0637853145599365, -0.32228341698646545, -0.6368693709373474, -0.09437432885169983, -0.07428288459777832, -0.4818740487098694, 0.6308227181434631, 0.28356680274009705, -0.14633339643478394, -0.06654702872037888, 0.10533928126096725, -0.8233168125152588, 1.1207984685897827, -0.0490136444568634, -0.5893203616142273, 0.1469181478023529, 0.2756458818912506, 0.6439419984817505, -0.19234699010849, 0.4639423191547394, 0.5554831624031067, 0.15941648185253143, 0.11741423606872559, -0.8973836898803711, -0.04945093020796776, -0.44166627526283264, 0.028021275997161865, 0.5720998644828796, -0.4075063169002533, 0.5349737405776978, 0.08595847338438034, -0.08745855838060379, 0.3897287845611572, 0.8572096824645996, 0.11639194190502167, 0.5854583382606506, 0.24724729359149933, 0.9247928857803345, 0.354078471660614, -0.2402142435312271, 0.6263825297355652, -0.40539979934692383, 0.32996678352355957, 1.3025636672973633, -0.47206658124923706, 0.9801518321037292, 0.4451649487018585, -0.34584978222846985, 0.6928436756134033, 0.36078187823295593, 0.1281011402606964, 0.5710036754608154, 0.018721528351306915, -0.6667834520339966, -0.029908906668424606, -0.683785080909729, -0.6387010812759399, 0.628994345664978, 0.5853185057640076, -0.5117873549461365, -0.1319759488105774, -0.03128728270530701, -0.11574897915124893, 0.5120400786399841, -0.2653810381889343, 1.1046842336654663, 0.18243634700775146, -0.5793716907501221, 0.27948886156082153, 0.021800395101308823, 0.6071605086326599, -0.6096437573432922, -0.3496682941913605, -0.019680798053741455, 0.058802280575037, -0.09312032908201218, -0.7141078114509583, 0.5435947179794312, -0.05583736672997475, -0.2871379256248474, 0.16691358387470245, 0.8967114686965942, -0.6695238947868347, -0.6370065212249756, 0.5344142913818359, 0.744965136051178, 0.14294132590293884, 0.17596426606178284, -0.4374096989631653, 0.18858420848846436, 0.008015411905944347, 0.26029232144355774, 0.29715079069137573, 0.4988020360469818, -0.3002903163433075, 0.19878292083740234, 0.5169875025749207, -0.009742308408021927, -0.05964288115501404, 0.5363727807998657, 0.7456831336021423, -0.8553711175918579, -0.24283649027347565, -0.7545998692512512, -0.14244192838668823, -0.019812671467661858, -0.269885778427124, 1.053031325340271, 0.7679992914199829, 0.9941810369491577, -0.19788336753845215, 0.6686596870422363, -0.06339539587497711, 0.6995829343795776, -0.626345157623291, 0.5500239729881287, -0.3559350371360779, 0.31203535199165344, -0.33796173334121704, -1.2508424520492554, -0.17363668978214264, 0.624451220035553, -0.251356840133667, -0.02885143831372261, 0.7929290533065796, 1.0553641319274902, 0.06071298196911812, 0.154732808470726, 0.514010488986969, -0.3072427213191986, -0.18325002491474152, 0.5850207209587097, 1.0650070905685425, -0.6752588152885437, 0.2237372249364853, -0.15257924795150757, 0.09541915357112885, -0.094075046479702, -0.684337854385376, -0.9479823708534241, -0.8868193626403809, -0.2629191279411316, -0.45121094584465027, 0.2155447155237198, 0.9815356731414795, 0.272468239068985, -1.2743910551071167, -0.22313594818115234, 0.024547509849071503, -0.08924120664596558, -0.05613762512803078, -0.24101616442203522, 0.69851154088974, -0.12834957242012024, -0.522489070892334, 0.26641544699668884, 0.4280928671360016, -0.04099823907017708, 0.2033333033323288, -0.18753281235694885, -0.5335119366645813, 0.05865997448563576, 0.6469117999076843, -0.11573692411184311, -0.7820892333984375, -0.4532302916049957, -0.07937919348478317, -0.14805273711681366, -0.10107043385505676, 0.5990269184112549, -0.7511992454528809, 0.33816686272621155, 0.5849881172180176, 0.6191958785057068, 0.5379223823547363, 0.2071065902709961, 0.38714399933815, -0.7612682580947876, 0.3274529278278351, 0.3928929269313812, 0.3232690095901489, 0.5404303073883057, -0.026297887787222862, 0.8186461925506592, -0.020400352776050568, -0.7544533610343933, -0.28661859035491943, 0.26088905334472656, -1.0670737028121948, 0.19539301097393036, 0.9699404835700989, -0.3587060570716858, -0.07045602798461914, -0.6078215837478638, -0.240912526845932, 0.1515924632549286, -0.27843940258026123, 0.3834589421749115, 0.6798505187034607, -0.016772456467151642, 0.04039532691240311, -0.38088637590408325, 0.4253515303134918, 0.7291059494018555, -0.775543212890625, -0.6558072566986084, 0.38817495107650757, 0.1124918982386589, 0.27554360032081604, 0.45982012152671814, -0.11752069741487503, 0.28276821970939636, -0.09655454009771347, -0.012493668124079704, 0.19396360218524933, -0.10925285518169403, -0.3434288501739502, 0.016820237040519714, 0.06899072974920273, -0.024791574105620384 ]
http://arxiv.org/abs/2405.00657v1
http://arxiv.org/pdf/2405.00657v1
RST-LoRA: A Discourse-Aware Low-Rank Adaptation for Long Document Abstractive Summarization
2024-05-01T17:37:50
2024-05-01T17:37:50
Dongqi Pu, Vera Demberg
cs.CL
cs.CL, cs.AI, cs.LG
For long document summarization, discourse structure is important to discern the key content of the text and the differences in importance level between sentences. Unfortunately, the integration of rhetorical structure theory (RST) into parameter-efficient fine-tuning strategies for long document summarization remains unexplored. Therefore, this paper introduces RST-LoRA and proposes four RST-aware variants to explicitly incorporate RST into the LoRA model. Our empirical evaluation demonstrates that incorporating the type and uncertainty of rhetorical relations can complementarily enhance the performance of LoRA in summarization tasks. Furthermore, the best-performing variant we introduced outperforms the vanilla LoRA and full-parameter fine-tuning models, as confirmed by multiple automatic and human evaluations, and even surpasses previous state-of-the-art methods.
[ -0.14654068648815155, -0.715745747089386, 0.579810619354248, 0.41351446509361267, -0.5812027454376221, 0.23058447241783142, -0.09445315599441528, -0.47500917315483093, 0.49390244483947754, 0.3322330713272095, -0.10144168138504028, -0.38214871287345886, -0.9104917645454407, 0.1562645584344864, -0.39517584443092346, 1.2981699705123901, 0.11360156536102295, -0.31206846237182617, 0.18339502811431885, -0.3276364803314209, -0.16221384704113007, -0.38457730412483215, -0.5886963605880737, -0.255228191614151, 0.9531687498092651, 0.2770073115825653, 0.6416829824447632, 0.49704575538635254, 0.5518743991851807, 0.24112184345722198, -0.4815181791782379, 0.08653870224952698, -0.6175658702850342, 0.3346225917339325, -0.6044002175331116, -0.48444974422454834, -1.0773093700408936, -0.43880805373191833, 0.869020402431488, 0.6911030411720276, -0.061314038932323456, 0.19847863912582397, 0.3657410144805908, 1.0097339153289795, -0.7320702075958252, 0.10959595441818237, -0.5062829852104187, -0.07469552755355835, -0.1459318846464157, -0.5717810988426208, -0.48263856768608093, -0.4353432059288025, 0.13223223388195038, -0.7108361124992371, -0.2449515163898468, 0.10263809561729431, 0.6054249405860901, 0.3850639760494232, -0.5184530019760132, -0.13988542556762695, -0.6959525346755981, 0.5713626742362976, -0.7597516775131226, -0.08762995898723602, 0.27353668212890625, 0.1886390745639801, -0.08265981078147888, -0.5475689768791199, 0.05275857076048851, 0.11768963932991028, -0.03504046052694321, 0.4416327476501465, -0.189694344997406, 0.2974138855934143, 0.11944831907749176, 0.39578643441200256, -0.34511008858680725, 0.1594209372997284, -0.48853686451911926, 0.27004474401474, 0.2501770555973053, 0.007228124886751175, -0.15891724824905396, -0.552687406539917, -0.19165943562984467, 0.32999029755592346, -0.7905163764953613, -0.14602914452552795, 0.20332948863506317, 0.7630202770233154, -0.34415969252586365, 0.5828011631965637, -0.32277920842170715, 0.6010209321975708, 0.1296592354774475, -0.21325112879276276, -0.24852021038532257, -0.22569668292999268, -0.19791527092456818, 0.09949413686990738, 0.522743821144104, 0.09790375083684921, 0.030815299600362778, 0.25787705183029175, -0.11557997763156891, -0.06246351823210716, -0.14634239673614502, -1.0008223056793213, -0.012973018921911716, 0.08202023059129715, -0.5525924563407898, -0.42433762550354004, -0.2187078446149826, -0.7276313900947571, -0.47384899854660034, -0.1524566411972046, 0.3669601082801819, -0.5118047595024109, -0.009157735854387283, 0.19519244134426117, -0.12526936829090118, 0.3308817148208618, 0.6909011602401733, -0.9201020002365112, 0.6434755325317383, 0.8154755234718323, 1.0342522859573364, -0.4193101227283478, -0.25218284130096436, -0.7211725115776062, 0.502449095249176, -0.18799063563346863, 1.3361217975616455, -0.39360669255256653, -0.4472917318344116, -0.2793061435222626, -0.33059629797935486, -0.1680765002965927, 0.0029501300305128098, 0.7675849199295044, -0.4169916808605194, 0.4969181418418884, -0.35092565417289734, -0.29248499870300293, -0.0775272324681282, 0.17813745141029358, -0.48960915207862854, 0.9552674293518066, 0.4810742437839508, -0.9567312002182007, -0.08028595894575119, -1.0170525312423706, -0.8257720470428467, -0.1971132755279541, -0.00950714386999607, -0.5036255121231079, 0.3170820474624634, 0.21267388761043549, 0.25803402066230774, -0.18958517909049988, -0.18365362286567688, -0.07646704465150833, -0.5583022236824036, 0.1178746148943901, -0.1600213646888733, 0.5584570169448853, 0.13846264779567719, 0.09201326221227646, 0.33826252818107605, -0.7381314039230347, -0.04749825969338417, -0.08571115881204605, -0.37008294463157654, -0.504500150680542, 0.12315282970666885, -0.03845290094614029, -0.04719756171107292, 0.2280624806880951, 0.030992060899734497, 0.12193702161312103, -0.802697479724884, 0.7555127143859863, 0.8214137554168701, 0.4148900508880615, 0.4623579978942871, -0.4678722321987152, 0.6692718267440796, -0.15095312893390656, -0.14974455535411835, -0.3072625994682312, -0.36687421798706055, -0.7277191281318665, -0.3123646676540375, 0.6751783490180969, 0.5427966117858887, -0.4675367772579193, 0.40787458419799805, -0.5470737814903259, -0.3443412780761719, -0.1723320633172989, -0.1515701860189438, 0.5475665926933289, 0.3626175820827484, 0.19663123786449432, -0.1628464013338089, -0.5583730936050415, -0.6526928544044495, -0.4189286530017853, -0.1463756561279297, 0.15987995266914368, -0.19572722911834717, 0.646606981754303, 0.4330381751060486, 0.9860745668411255, -0.7157475352287292, -0.2845136821269989, -0.5355687141418457, 0.4339359700679779, 0.24179136753082275, 0.24603718519210815, 0.7156344056129456, -0.4055427610874176, -0.6776083111763, 0.005942291114479303, -0.4456198215484619, 0.22973214089870453, 0.12550023198127747, 0.013815926387906075, 0.23057986795902252, 0.41000545024871826, -0.5933569669723511, 0.5570952296257019, 0.3769330084323883, -0.21661695837974548, 0.14364375174045563, -0.4775993824005127, 0.15105052292346954, -1.6485992670059204, 0.05456509068608284, -0.08736995607614517, -0.44768616557121277, -0.3038109242916107, 0.12393122166395187, 0.06887836009263992, -0.4021218717098236, -0.2900139093399048, 0.3378167450428009, -0.5323613882064819, -0.5277253985404968, -0.32290908694267273, 0.5318173766136169, 0.18804022669792175, 0.6040006875991821, -0.12413006275892258, 0.7108131647109985, 0.18114013969898224, -0.6010690927505493, -0.3552001118659973, 0.307656466960907, -0.34784695506095886, 0.9594886302947998, -0.8651326894760132, 0.01911327615380287, -0.3090139329433441, 0.5386815071105957, -1.047377109527588, -0.35761550068855286, 0.21411888301372528, -0.33792853355407715, 0.10040738433599472, -0.5753998756408691, -0.25325945019721985, 0.23254089057445526, -0.600230872631073, 0.46377483010292053, 0.4434851109981537, -0.04318482428789139, 0.7921008467674255, 0.1569986492395401, -0.650755763053894, -0.7598187923431396, -0.6646973490715027, 0.15449734032154083, -0.41592955589294434, -0.2983546257019043, 0.5011270046234131, -0.027643149718642235, -0.28161555528640747, -0.2390211969614029, -0.09461850672960281, 0.14930608868598938, 0.17764179408550262, 0.3057260513305664, 0.022406021133065224, -0.6284414529800415, -0.14141474664211273, 0.5169787406921387, -0.26030775904655457, -0.2793063819408417, 0.15544922649860382, 0.20219355821609497, -0.02172025665640831, -0.32597920298576355, -0.36700639128685, 0.47176823019981384, 0.6467623114585876, -0.30338016152381897, 0.502025306224823, 0.10193581134080887, -0.2853115499019623, -0.25595808029174805, 0.022016946226358414, -0.008070233277976513, -0.43275246024131775, 0.6084030270576477, -0.42477190494537354, -0.6796178221702576, 0.6709437370300293, -0.09267368912696838, 0.08196938037872314, 0.5088539719581604, 0.15184016525745392, -0.2308621108531952, 0.6485019326210022, 0.7426614761352539, -0.18552495539188385, 0.5251226425170898, 0.012591741979122162, 0.28891682624816895, -0.912675142288208, 0.4597957730293274, -0.7985345721244812, -0.34926873445510864, -0.4378650188446045, -0.28085875511169434, 0.5892361998558044, -0.10709160566329956, -0.15082164108753204, 0.15288083255290985, -0.5054731369018555, 0.643318772315979, 0.02599211595952511, -0.07048098742961884, 0.7423609495162964, 0.027042783796787262, 0.6609700322151184, -0.08561332523822784, -0.4802456796169281, -0.2743380069732666, 0.737037181854248, 0.40541398525238037, 0.7936648726463318, 0.4605807065963745, 0.7119454145431519, 0.44170892238616943, 0.09209776669740677, -1.027590274810791, 0.6033993363380432, -0.37268126010894775, -0.180404394865036, -0.5836113095283508, -0.04587067291140556, -1.0906428098678589, 0.47253477573394775, -0.05905286967754364, -0.5908292531967163, 0.16140983998775482, 0.13516002893447876, -0.8652061820030212, -0.05423089861869812, -0.6039236783981323, 0.3829919993877411, 0.02037815749645233, -0.1487913578748703, -0.3365650177001953, -0.634972095489502, 0.28033626079559326, 0.047228310257196426, 0.26970693469047546, -0.20820015668869019, -0.3018612265586853, 0.8499834537506104, -0.04074402153491974, 0.9672253727912903, -0.009962772019207478, -0.3038826286792755, -0.0719793438911438, 0.09522444009780884, 0.9111087322235107, 0.05875425785779953, -0.2579742670059204, -0.45962271094322205, 0.10841473937034607, -0.3833620548248291, -0.8383926153182983, 0.7166309952735901, -0.6887878179550171, -0.5498368144035339, -0.7184945940971375, -0.5016905069351196, -0.27962392568588257, 0.41344785690307617, 0.25919899344444275, 0.3587965667247772, -0.5808701515197754, 0.23787014186382294, 0.8932380080223083, 0.18326036632061005, 0.3602977693080902, 0.37964555621147156, -0.297529011964798, -0.44117823243141174, 0.7652552127838135, 0.2806803584098816, 0.23669648170471191, 0.7442710995674133, 0.31243896484375, 0.09852425009012222, -0.9481616020202637, -0.2616736888885498, 0.23940950632095337, -0.8398828506469727, -0.2940295934677124, -0.5568928718566895, -0.42480090260505676, -0.3354891836643219, -0.43487608432769775, -0.44370439648628235, -1.1105406284332275, -0.3750610649585724, -0.1343863308429718, 0.6029772758483887, 0.8972291946411133, 0.3007742762565613, 0.5408650040626526, -0.13580374419689178, 0.6804665327072144, 0.18166090548038483, 0.3739028871059418, -0.28194597363471985, -0.9963982105255127, -0.15649065375328064, -0.2429511547088623, -0.21470330655574799, -0.7431448101997375, 0.12416611611843109, 0.3683605492115021, 0.07302083820104599, 0.23853850364685059, 0.22570082545280457, 0.6556295156478882, -0.22525112330913544, 0.6479964852333069, 0.06664685159921646, -0.8610968589782715, 0.5715638995170593, -1.0168852806091309, 0.49136605858802795, 0.7056563496589661, -0.08773946762084961, -0.33458656072616577, -0.17563338577747345, -0.18776600062847137, -0.822887659072876, 0.511528491973877, 0.11319214105606079, 0.0005373279564082623, 0.3741679787635803, 0.301153302192688, 0.10764157772064209, -0.06327170878648758, -0.7954268455505371, 0.035078972578048706, -0.2808067798614502, -0.18716076016426086, 0.03518911823630333, -0.5091723799705505, -0.34631651639938354, -0.18903477489948273, 0.7145136594772339, -0.2708185315132141, 0.11204525083303452, 0.06330493837594986, -0.20242804288864136, 0.02570146881043911, 0.8664391040802002, 1.1809509992599487, 1.0019577741622925, -0.49792543053627014, 0.09013309329748154, 0.29303497076034546, -0.25583916902542114, -0.06369328498840332, 0.11766991019248962, -0.20790396630764008, -0.06790699064731598, 0.19061940908432007, 0.6366773843765259, 0.9053053855895996, -0.11228757351636887, 0.46923866868019104, -0.01453649252653122, -0.3033054769039154, -0.3449835181236267, -0.09187006205320358, 0.24629676342010498, -0.018030010163784027, 0.35055074095726013, 0.20990239083766937, 0.13691949844360352, -0.5465968251228333, -0.26693296432495117, 0.19558316469192505, -0.25281187891960144, -0.3823242485523224, 0.3750040829181671, 0.4235425591468811, -0.4593476355075836, -0.24344375729560852, -0.14203661680221558, -0.14581598341464996, 0.1949191391468048, 0.6759113669395447, 0.7554922103881836, -0.19513607025146484, 0.33287402987480164, 0.15626145899295807, 0.1488768309354782, -0.1980193853378296, 0.37345683574676514, 0.024188606068491936, -0.06191256269812584, -0.5879428386688232, -0.37264275550842285, -0.6928182244300842, -0.10730316489934921, -0.6958571672439575, 0.34510013461112976, -0.6133829951286316, -0.045383140444755554, 0.13723942637443542, -0.17598700523376465, 0.12921655178070068, -0.28238698840141296, -0.39627155661582947, 0.7502118349075317, -0.46414998173713684, 0.7260356545448303, 0.4146031439304352, -0.19969385862350464, -0.24052996933460236, -0.0322980135679245, -0.254387766122818, -0.5119012594223022, 0.311110258102417, -0.46670281887054443, -0.7737447619438171, -0.048091448843479156, -0.22699059545993805, -1.2316501140594482, 1.1405919790267944, 0.6223536729812622, -0.15055842697620392, -0.4780842065811157, 0.09251279383897781, 0.6817723512649536, -0.2925663888454437, 0.05586951971054077, 0.3381842076778412, 0.43437179923057556, 0.07714919000864029, -0.7546967267990112, 0.02914838120341301, 0.025563707575201988, 0.036047257483005524, 0.31131359934806824, -0.824767529964447, 0.8551206588745117, -0.18530382215976715, -0.12230940908193588, 0.45270514488220215, 1.0041764974594116, 0.27132460474967957, 0.2302660495042801, 0.1232120469212532, 0.17685317993164062, 0.7273789048194885, 0.1528407335281372, 0.5830143690109253, -0.3773992955684662, -0.017789741978049278, 1.7011311054229736, -0.35548684000968933, 1.1508190631866455, 0.5035029649734497, -0.16234862804412842, 0.754399299621582, 0.25922703742980957, 0.38915255665779114, 0.4577696919441223, 0.08226685971021652, -0.055526744574308395, 0.16253909468650818, 0.08895259350538254, -0.6877429485321045, 0.5943273305892944, 0.6286903023719788, -0.48543182015419006, -0.39445915818214417, -0.20311172306537628, 0.12300701439380646, 0.33108317852020264, -0.39142516255378723, 0.8045458793640137, 0.28622451424598694, -0.784672737121582, 0.6992363333702087, 0.23047055304050446, 0.6819251179695129, -0.7606040239334106, 0.13360774517059326, -0.1936791092157364, 0.01725510135293007, -0.3232269585132599, -0.5853307843208313, 0.22786757349967957, -0.10165444016456604, -0.3103654384613037, -0.15683497488498688, 0.793114423751831, -0.0543796643614769, -0.4522036015987396, -0.07082424312829971, 0.6161968111991882, -0.027964530512690544, -0.026972072198987007, -0.4448619782924652, 0.045922499150037766, -0.25273850560188293, -0.398364394903183, 0.7546794414520264, 0.45799511671066284, -0.10371106117963791, 0.4636080265045166, 0.20720627903938293, 0.0465690903365612, -0.49828049540519714, -0.014361136592924595, 0.8503542542457581, -0.8301526308059692, -0.9993215203285217, -0.7407798767089844, 0.3170345425605774, -0.17446888983249664, -0.4194512367248535, 0.5721657872200012, 0.6836938858032227, -0.09715639799833298, 0.10621124505996704, 0.8646939992904663, 0.1693776249885559, 0.8438817262649536, -0.6070614457130432, 0.9571793079376221, -0.14487753808498383, 0.22158801555633545, -0.43154314160346985, -0.9042159914970398, -0.07901608943939209, 0.45706257224082947, -0.3743622899055481, -0.15130552649497986, 0.9727649092674255, 0.4329085946083069, -0.3245837986469269, 0.11401175707578659, 0.24168524146080017, 0.295624703168869, 0.0063664792105555534, 0.5224953889846802, 0.6008445024490356, -0.5815240740776062, 0.5435989499092102, 0.11890518665313721, -0.06548184901475906, -0.24449698626995087, -1.2300080060958862, -0.9781069159507751, -0.6865321397781372, -0.39179563522338867, -0.3155157268047333, 0.45531004667282104, 0.7568070292472839, 0.5987769365310669, -0.5582672953605652, -0.21496689319610596, 0.2588055729866028, 0.36548498272895813, -0.16400089859962463, -0.1051645278930664, 0.679713785648346, 0.10548482835292816, -0.4563032388687134, 0.5457644462585449, 0.609393835067749, 0.2526514232158661, -0.06369420886039734, 0.03956782445311546, -0.0500919483602047, 0.5052444338798523, 0.9960381388664246, 0.674464225769043, -0.5075259804725647, -0.41739627718925476, -0.41653063893318176, -0.09738797694444656, 0.40645137429237366, 0.8344212174415588, -0.4818631410598755, -0.2606925070285797, 0.407254159450531, 0.35415855050086975, 0.5346621870994568, 0.3126179277896881, 0.4596938192844391, -0.8054625988006592, 0.13297544419765472, 0.2463304102420807, 0.35097938776016235, 0.22972647845745087, -0.26473990082740784, 0.5511411428451538, -0.23165380954742432, -0.408527135848999, -1.0755592584609985, 0.3307960331439972, -1.5784926414489746, -0.2834286391735077, 1.0931901931762695, 0.04784790426492691, -0.3715188801288605, -0.24903616309165955, -0.41962653398513794, 0.060374289751052856, -0.6126301288604736, 0.9168627858161926, 0.5085148215293884, -0.1928771734237671, -0.23570474982261658, -0.2800765335559845, 0.7028104066848755, 0.4272269308567047, -1.2455239295959473, 0.3600565791130066, 0.16914813220500946, 0.2226666361093521, 0.14493781328201294, 0.9436426162719727, -0.06676080822944641, 0.30233529210090637, -0.35886329412460327, -0.5861595869064331, -0.017581898719072342, 0.018764369189739227, -0.3654237389564514, 0.5657978653907776, 0.44395291805267334, 0.2583315968513489 ]
http://arxiv.org/abs/2405.00632v1
http://arxiv.org/pdf/2405.00632v1
When Quantization Affects Confidence of Large Language Models?
2024-05-01T16:58:28
2024-05-01T16:58:28
Irina Proskurina, Luc Brun, Guillaume Metzler, Julien Velcin
cs.CL
cs.CL, cs.AI
Recent studies introduced effective compression techniques for Large Language Models (LLMs) via post-training quantization or low-bit weight representation. Although quantized weights offer storage efficiency and allow for faster inference, existing works have indicated that quantization might compromise performance and exacerbate biases in LLMs. This study investigates the confidence and calibration of quantized models, considering factors such as language model type and scale as contributors to quantization loss. Firstly, we reveal that quantization with GPTQ to 4-bit results in a decrease in confidence regarding true labels, with varying impacts observed among different language models. Secondly, we observe fluctuations in the impact on confidence across different scales. Finally, we propose an explanation for quantization loss based on confidence levels, indicating that quantization disproportionately affects samples where the full model exhibited low confidence levels in the first place.
[ -0.21407268941402435, -0.44186922907829285, 0.675561785697937, 0.18691784143447876, -0.08085966110229492, -0.12527987360954285, -0.13735227286815643, -0.38482776284217834, -0.19719302654266357, 0.18998880684375763, 0.10813040286302567, -0.3639720380306244, -0.8635120987892151, 0.06484831869602203, -0.2966674864292145, 0.9675696492195129, 0.018864626064896584, 0.3981970250606537, -0.3535650372505188, -0.010346213355660439, -0.22379396855831146, -1.1692430973052979, -0.5958054661750793, -0.4042741656303406, 0.45048788189888, -0.08984930068254471, 1.080100178718567, 0.47803038358688354, 0.3911341428756714, 0.24570533633232117, -0.31188035011291504, -0.5167915225028992, -0.4835205078125, 0.11372603476047516, 0.21554386615753174, -1.1765391826629639, -0.41617682576179504, 0.15603193640708923, 0.908057451248169, 0.7856371998786926, -0.38405030965805054, 0.18921855092048645, 0.11199498921632767, 0.4810984134674072, -0.9606724977493286, 0.0892680212855339, -0.3093944787979126, -0.09030807763338089, -0.03687445446848869, -0.2174711525440216, -0.4242601990699768, -0.34952446818351746, 0.005577419884502888, -0.44484826922416687, 0.008663293905556202, -0.07653596997261047, 0.7541568279266357, 0.522912859916687, -0.6937485337257385, -0.027249978855252266, -0.9615093469619751, 0.9358033537864685, -0.8957124352455139, 0.25245174765586853, 0.6244130730628967, -0.05307004973292351, 0.24842619895935059, -0.40923628211021423, -0.33537063002586365, -0.006579608656466007, 0.060078687965869904, -0.26546183228492737, -0.03177500516176224, 0.4021475613117218, 0.4734576344490051, 0.6972019672393799, -0.3026506304740906, 0.05996938422322273, -0.058762770146131516, -0.2777678966522217, 0.4140717685222626, -0.09838834404945374, 0.0054311128333210945, 0.03757235407829285, -0.009365486912429333, -0.49988338351249695, -0.9282732605934143, 0.042648158967494965, 0.6026946306228638, 0.06222378462553024, 0.16484832763671875, 0.5155724883079529, -0.04181167855858803, 0.7354572415351868, -0.017577989026904106, -0.26831719279289246, 0.04183879494667053, -0.2885076105594635, -0.44577574729919434, 0.06185618042945862, 0.7865927219390869, 0.276708722114563, 0.4912796914577484, 0.09410832077264786, -0.32421210408210754, 0.051370251923799515, -0.07862722873687744, -1.106499195098877, -0.3218364715576172, 0.028659159317612648, -0.2924122214317322, -0.30451324582099915, 0.07165003567934036, 0.1229064017534256, -0.4092477262020111, -0.06342683732509613, 0.8156346678733826, -0.32371267676353455, -0.14303497970104218, 0.3244560658931732, -0.06759746372699738, 0.13909779489040375, 0.3361284136772156, -0.9115399718284607, 0.3100492060184479, 0.5690793991088867, 0.7087215185165405, 0.44415587186813354, 0.27894333004951477, -0.38136357069015503, 0.04731769487261772, -0.6426092386245728, 0.1861429214477539, -0.40404725074768066, -0.5230947732925415, -0.025504624471068382, -0.0800282210111618, 0.11315689235925674, -0.4460148215293884, 0.23839448392391205, -0.5680286884307861, 0.04931524023413658, -0.11735609173774719, -0.6048386693000793, -0.14071227610111237, 0.06471609324216843, -0.8806727528572083, 0.7543615102767944, 0.0979049801826477, -0.7890695333480835, 0.30937960743904114, 0.29706254601478577, -0.23064585030078888, -0.009001925587654114, -0.13550782203674316, -0.4129772484302521, 0.6534315943717957, -0.08978389203548431, 0.4095506966114044, -0.3468087613582611, 0.215133398771286, -0.42236587405204773, -0.8033438324928284, 0.7819547653198242, -0.5642091631889343, 0.6205053329467773, -0.043672967702150345, -0.10924549400806427, -0.3920958936214447, -0.5762947797775269, 0.3631826341152191, -0.12151337414979935, -0.47353553771972656, -0.6484075784683228, -0.018876835703849792, -0.13411574065685272, 0.10191790759563446, 0.16272294521331787, -0.375933438539505, 0.2529311180114746, -0.25117871165275574, 0.6099855303764343, 0.5891113877296448, 0.13637109100818634, 0.4273947775363922, -0.17613762617111206, 0.7236483693122864, -0.1134081482887268, -0.026699252426624298, -0.0035587134771049023, -0.45068255066871643, -0.6523453593254089, 0.027853595092892647, 0.9406203031539917, 0.38831594586372375, -0.7308598756790161, 0.1473090946674347, -0.6387672424316406, -0.13941708207130432, -0.6733748316764832, -0.21029597520828247, 0.5241081714630127, -0.09040803462266922, -0.10981553047895432, -0.2049243301153183, -0.21796944737434387, -1.0381965637207031, -0.3560716509819031, -0.19192536175251007, -0.5206397175788879, -0.14084459841251373, 0.4894774258136749, 0.05905852094292641, 0.8855502605438232, -0.4153750538825989, -0.057555247098207474, 0.13149233162403107, 0.507619321346283, -0.04776795953512192, 0.5299614667892456, 0.3420969247817993, -0.713834822177887, -0.37344813346862793, -0.2994881570339203, -0.13646665215492249, 0.0426950603723526, 0.05573055520653725, 0.26794707775115967, 0.34095486998558044, 0.3914465606212616, -0.6332245469093323, 0.6314296722412109, 1.038804531097412, -0.049348827451467514, 0.4964160621166229, -0.20577587187290192, 0.35280993580818176, -0.9257084131240845, -0.24500353634357452, 0.24127978086471558, -0.38491782546043396, -0.540335476398468, -0.01704581454396248, 0.2707614600658417, 0.09748581796884537, -0.2511157989501953, 0.18266575038433075, -0.2967783808708191, -0.1750980168581009, -0.1063549593091011, -0.04248734936118126, 0.4376271367073059, 0.2178787887096405, 0.14109696447849274, 1.0295103788375854, 0.36198970675468445, -0.48860836029052734, -0.09205508232116699, -0.09783253818750381, -0.4912634491920471, 0.3935873210430145, -0.8502111434936523, 0.08396086096763611, 0.007990832440555096, 0.3873824179172516, -0.9466732740402222, -0.1542397439479828, -0.22510460019111633, -0.5579954981803894, 0.6317789554595947, -0.3858790993690491, -0.872433066368103, -0.15125924348831177, -0.5835829973220825, 0.5530087351799011, 0.5059581995010376, -0.09648679941892624, 0.06895478814840317, 0.1910298466682434, 0.05947205051779747, -0.2626577913761139, -1.306046962738037, 0.01968495547771454, -0.19414721429347992, -0.47520455718040466, 0.3429206907749176, -0.23816372454166412, -0.42183226346969604, -0.2277064472436905, -0.38607290387153625, -0.26505959033966064, 0.09976118803024292, 0.24900637567043304, -0.004746661055833101, -0.05686734616756439, 0.5454150438308716, -0.11463302373886108, 0.11779740452766418, 0.2342594712972641, -0.3411966860294342, 0.4490879476070404, -0.35092565417289734, -0.033974383026361465, -0.4907838702201843, 0.05400548502802849, 0.3109495937824249, -0.09414266794919968, 1.244232416152954, 0.44488778710365295, -0.2811594307422638, 0.0862974300980568, -0.5153594017028809, -0.32973331212997437, -0.45441558957099915, 0.2937277555465698, -0.4767731726169586, -1.198748230934143, 0.35536471009254456, 0.060503095388412476, -0.6337549686431885, 0.3108368515968323, 0.5880804061889648, -0.17025327682495117, 1.2733594179153442, 0.8145813345909119, 0.008402674458920956, 0.3759639859199524, -0.1314394474029541, 0.3185689449310303, -0.8977487087249756, 0.15875709056854248, -0.7159423828125, -0.25518929958343506, -1.0172498226165771, -0.650696337223053, 0.3132971227169037, 0.3260214626789093, -0.3732379078865051, -0.02334892563521862, -0.423289030790329, 0.4907152056694031, 0.5496712923049927, 0.07275466620922089, 0.3700959384441376, -0.08979728072881699, 0.4762573540210724, -0.16045759618282318, -0.7356308698654175, -0.5360803008079529, 1.2163194417953491, 0.5009638071060181, 1.1429522037506104, 0.28087159991264343, 0.5949539542198181, 0.167878195643425, 0.2805670201778412, -0.9704870581626892, 0.17159920930862427, -0.005396671127527952, -0.6479947566986084, -0.4730462431907654, -0.810340940952301, -0.7687521576881409, 0.11290513724088669, -0.1247510015964508, -0.6587235927581787, 0.3537692427635193, 0.2567828893661499, -0.7317542433738708, 0.02905626781284809, -0.7515580654144287, 0.6996611952781677, 0.0929713249206543, -0.04658891260623932, -0.028686964884400368, -0.6325992345809937, 0.6220686435699463, -0.30209434032440186, 0.41137000918388367, 0.010668938048183918, -0.25598180294036865, 0.8025173544883728, -0.6427769064903259, 0.9303339123725891, 0.1388506442308426, -0.5527275800704956, 0.2519576847553253, 0.2652767598628998, 0.5329111814498901, 0.17745842039585114, -0.0694313570857048, 0.39960452914237976, 0.3969307541847229, -0.47877708077430725, -0.6987090706825256, 0.5319317579269409, -0.7108297944068909, -0.5954124331474304, -0.39447593688964844, -0.6103483438491821, -0.32795825600624084, -0.3130328953266144, 0.5424947738647461, 0.39133745431900024, 0.32747653126716614, 0.47761398553848267, 1.0806479454040527, -0.37181490659713745, 0.28622251749038696, 0.2511778175830841, 0.012735684402287006, -0.39262792468070984, 0.5892975926399231, 0.389478862285614, 0.8336515426635742, 0.49391064047813416, 0.16738256812095642, -0.11663834005594254, -0.3565441370010376, 0.10022836178541183, 0.27610281109809875, -0.717064619064331, -0.4071098864078522, -0.06916606426239014, -0.15635932981967926, -0.7373059391975403, 0.19531938433647156, -0.40002116560935974, -0.7798199653625488, -0.2707628905773163, -0.0749625414609909, 0.3315383195877075, 0.6555638909339905, 0.1634623259305954, 0.8827046751976013, -0.7629229426383972, -0.15293462574481964, 0.42315778136253357, 0.4509316384792328, -0.2178419828414917, -0.778513491153717, -0.6398143768310547, 0.19385233521461487, 0.029632627964019775, -0.876839280128479, 0.17210768163204193, 0.27182164788246155, -0.051853325217962265, 0.44411948323249817, -0.13516391813755035, 0.5489448308944702, -0.33090102672576904, 0.8396525979042053, 0.12210217118263245, -1.182811975479126, 0.18503762781620026, -0.18911436200141907, 0.6252993941307068, 0.4233011305332184, 0.5386766791343689, -0.6258147358894348, -0.21968424320220947, -0.5612640976905823, -0.6572273373603821, 0.49704551696777344, 0.03357384726405144, 0.21233496069908142, 0.0052151912823319435, 0.4737186133861542, -0.30725082755088806, 0.6193217635154724, -1.0601115226745605, -0.2430942803621292, -0.05936199054121971, -0.046528082340955734, -0.25162068009376526, -0.7480067610740662, -0.002059301594272256, -0.07924900949001312, 0.5254843235015869, 0.021681951358914375, 0.13548941910266876, 0.012303153052926064, -0.11286643892526627, -0.178426593542099, 0.3421906530857086, 0.49526214599609375, 0.2645348608493805, -0.2150053083896637, 0.2114211767911911, -0.14528103172779083, -0.3816249966621399, 0.3067442774772644, -0.17284752428531647, -0.21887901425361633, -0.0963413417339325, 0.5658589601516724, 0.9468100666999817, 0.5395901799201965, -0.3766036331653595, 0.6697427034378052, -0.07735981792211533, -0.340310662984848, -0.1481810361146927, -0.13506561517715454, -0.03888217732310295, -0.006230797152966261, 0.2793288230895996, -0.17063702642917633, 0.17717178165912628, -0.5998989343643188, -0.17878082394599915, 0.6139515042304993, -0.10991562902927399, -0.25614866614341736, 0.6699026823043823, -0.16227376461029053, -0.0765252485871315, 0.5413557291030884, -0.1096307635307312, -0.46253323554992676, 0.49239882826805115, 0.244766965508461, 0.5729823112487793, -0.6169041991233826, 0.14644712209701538, 0.2943774163722992, 0.49409225583076477, -0.4874493479728699, -0.1149335503578186, -0.010316015221178532, -0.6252114176750183, -1.0436164140701294, -0.7326505780220032, -0.4060315787792206, 0.1217319443821907, -0.8070903420448303, -0.11307421326637268, -0.315828800201416, -0.7405537366867065, -0.473911851644516, 0.08285927027463913, -0.4566783010959625, 0.42079734802246094, 0.5139192938804626, 0.6486660838127136, -0.8170270919799805, 0.8987725973129272, 0.439321905374527, -0.3991837501525879, -1.203497290611267, 0.04777996987104416, -0.17668846249580383, -0.4824686050415039, 0.8239462375640869, 0.05804010480642319, -0.058307334780693054, 0.40284019708633423, -0.6325082778930664, -1.2558434009552002, 0.9386634230613708, 0.45726293325424194, -0.557404100894928, -0.13257868587970734, 0.4607987105846405, 0.7151090502738953, 0.13196119666099548, 0.24765242636203766, 0.6949925422668457, 0.4440905749797821, 0.1370941698551178, -1.0760165452957153, -0.03580582141876221, 0.23680905997753143, 0.48308509588241577, 0.4877861738204956, -0.48718905448913574, 1.125691533088684, 0.0758294090628624, -0.31703004240989685, 0.15769344568252563, 0.29990991950035095, 0.04833127558231354, -0.21673782169818878, 0.19153662025928497, 0.7420114278793335, 0.5990469455718994, -0.2563900649547577, 1.4504072666168213, -0.37403160333633423, 0.5464752316474915, 0.843696117401123, 0.020563574507832527, 0.828697919845581, 0.537476122379303, -0.5537234544754028, 0.3298819959163666, 0.7635209560394287, 0.22460436820983887, 0.300899475812912, 0.7071540355682373, -0.31036150455474854, -0.265434592962265, -0.06596890836954117, -0.24839180707931519, 0.21780239045619965, 0.4544357359409332, -0.16408605873584747, 0.1781490296125412, 0.16504891216754913, 0.18105541169643402, -0.19051870703697205, -0.6036962270736694, 0.3386293649673462, 0.32338595390319824, -0.3742406666278839, 0.9482799768447876, 0.08059284836053848, 0.6460599899291992, -0.5183531641960144, 0.23486283421516418, -0.20357157289981842, -0.06959393620491028, -0.17314623296260834, -0.5955340266227722, -0.011859157122671604, -0.3629380166530609, -0.102204330265522, -0.39344602823257446, 0.2492063194513321, -0.5796169638633728, -0.4098438024520874, -0.09006825089454651, 0.3839787542819977, 0.21672025322914124, -0.69362473487854, -0.20656847953796387, 0.3745492398738861, -0.11282671988010406, -0.7251095175743103, 0.5753239989280701, 0.7047399878501892, -0.1309543251991272, 0.7202088832855225, 0.34357157349586487, 0.23202191293239594, -0.03685618191957474, 0.10498117655515671, 0.53046715259552, -0.42284703254699707, -0.15442053973674774, -0.9000019431114197, 0.15979743003845215, 0.22960783541202545, 0.12542840838432312, 0.8681000471115112, 0.3623300790786743, 0.7973530888557434, -0.06276891380548477, 0.538117527961731, 0.23305697739124298, 0.10770545899868011, -0.5687040686607361, 0.6913363337516785, -0.5131432414054871, 0.34162572026252747, -0.13917453587055206, -1.0252764225006104, -0.5454562306404114, 0.609648585319519, -0.50187087059021, 0.37517261505126953, 0.7867798209190369, 0.4362371861934662, 0.6574174165725708, -0.533275842666626, 0.7471323609352112, 0.3712506592273712, 0.12187258899211884, 0.5683143138885498, 0.46759364008903503, -0.5106329321861267, 0.6400198936462402, -0.3493538200855255, -0.16662529110908508, -0.16906136274337769, -0.8924475908279419, -0.6831185221672058, -0.5997074842453003, -0.5134329199790955, -0.3007393777370453, -0.09809307754039764, 0.2923487424850464, 0.9043264985084534, -0.4727250635623932, -0.10684064775705338, -0.029136650264263153, -0.05198987200856209, 0.22118498384952545, -0.26649507880210876, 0.2996506690979004, -0.1467169225215912, -0.8681814074516296, -0.14387986063957214, 0.13687308132648468, 0.5540536642074585, -0.41912105679512024, 0.11080948263406754, 0.23519444465637207, 0.22545482218265533, 0.5667209625244141, -0.012979252263903618, -0.5405830144882202, -0.3212493658065796, -0.2325831651687622, -0.3753378391265869, -0.011440171860158443, 0.7953650951385498, -0.9522339105606079, 0.14858253300189972, 0.14970572292804718, 0.3696710765361786, 0.48906639218330383, 0.24486763775348663, 0.6657260656356812, -1.0931918621063232, 0.2600666284561157, 0.20762565732002258, 0.19060717523097992, 0.4579659104347229, -0.4514243006706238, 0.45093807578086853, 0.18939732015132904, -0.8132521510124207, -0.8857395052909851, 0.1737748086452484, -0.506429135799408, -0.3391241729259491, 1.1828360557556152, -0.05843218043446541, -0.2289504110813141, 0.42946547269821167, 0.07131368666887283, 0.17581719160079956, -0.23958438634872437, 0.5726116299629211, 1.2930866479873657, 0.11774782836437225, -0.4318675994873047, -0.7936842441558838, 0.7231742143630981, 0.45782148838043213, -0.3871365189552307, 0.12413469702005386, 0.5180978775024414, 0.16985058784484863, 0.10511213541030884, 0.49417877197265625, 0.11072199046611786, 0.0387040413916111, 0.042150311172008514, 0.3650266230106354, 0.46310073137283325, 0.13472454249858856, -0.8174288868904114, 0.022050095722079277, 0.5369647741317749, 0.09672016650438309 ]
http://arxiv.org/abs/2405.00622v1
http://arxiv.org/pdf/2405.00622v1
Causal Evaluation of Language Models
2024-05-01T16:43:21
2024-05-01T16:43:21
Sirui Chen, Bo Peng, Meiqi Chen, Ruiqi Wang, Mengying Xu, Xingyu Zeng, Rui Zhao, Shengjie Zhao, Yu Qiao, Chaochao Lu
cs.CL
cs.CL, cs.AI, cs.LG
Causal reasoning is viewed as crucial for achieving human-level machine intelligence. Recent advances in language models have expanded the horizons of artificial intelligence across various domains, sparking inquiries into their potential for causal reasoning. In this work, we introduce Causal evaluation of Language Models (CaLM), which, to the best of our knowledge, is the first comprehensive benchmark for evaluating the causal reasoning capabilities of language models. First, we propose the CaLM framework, which establishes a foundational taxonomy consisting of four modules: causal target (i.e., what to evaluate), adaptation (i.e., how to obtain the results), metric (i.e., how to measure the results), and error (i.e., how to analyze the bad results). This taxonomy defines a broad evaluation design space while systematically selecting criteria and priorities. Second, we compose the CaLM dataset, comprising 126,334 data samples, to provide curated sets of causal targets, adaptations, metrics, and errors, offering extensive coverage for diverse research pursuits. Third, we conduct an extensive evaluation of 28 leading language models on a core set of 92 causal targets, 9 adaptations, 7 metrics, and 12 error types. Fourth, we perform detailed analyses of the evaluation results across various dimensions (e.g., adaptation, scale). Fifth, we present 50 high-level empirical findings across 9 dimensions (e.g., model), providing valuable guidance for future language model development. Finally, we develop a multifaceted platform, including a website, leaderboards, datasets, and toolkits, to support scalable and adaptable assessments. We envision CaLM as an ever-evolving benchmark for the community, systematically updated with new causal targets, adaptations, models, metrics, and error types to reflect ongoing research advancements. Project website is at https://opencausalab.github.io/CaLM.
[ -0.16049964725971222, -0.8522710800170898, 0.49018433690071106, 0.6302430033683777, 0.12183269113302231, -0.226125106215477, -0.5531291961669922, -0.3226860761642456, -0.3716266453266144, 0.05809780955314636, -0.3801412880420685, -0.4634643495082855, -0.44493764638900757, -0.010513448156416416, -0.48715946078300476, 0.7451679110527039, 0.005679984577000141, 0.0023508877493441105, 0.00747206574305892, -0.10528948158025742, -0.6229373812675476, -0.2860943675041199, -0.9610029458999634, -0.4452268183231354, 0.6959493160247803, 0.31891515851020813, 0.753503143787384, 0.6014736890792847, 0.6353752017021179, 0.3419978618621826, 0.1572778820991516, -0.38009870052337646, -0.6533298492431641, 0.0239697452634573, -0.5358896851539612, -0.19457535445690155, -0.36700525879859924, 0.12804938852787018, 0.7045918107032776, 0.8369901180267334, -0.13908693194389343, 0.21658796072006226, -0.16929377615451813, 0.4304276704788208, -0.9326313138008118, 0.33943644165992737, -0.519982635974884, -0.23293055593967438, -0.10819221287965775, -0.07224784791469574, -0.6669963002204895, -0.4456227719783783, 0.07847147434949875, -0.44269105792045593, -0.17179009318351746, 0.17456528544425964, 0.7211977243423462, 0.4029383957386017, -0.6310144066810608, -0.06438969820737839, -0.9134999513626099, 0.952800989151001, -0.8468700647354126, 0.4693247377872467, 0.3597131669521332, 0.2608795762062073, -0.42959898710250854, -0.7510228753089905, -0.46031633019447327, -0.39846256375312805, 0.21993885934352875, 0.33357998728752136, -0.5359886288642883, -0.16325734555721283, 0.25786155462265015, 0.10482563823461533, -0.609727144241333, 0.3607105314731598, -0.10686726123094559, -0.18055205047130585, 0.7854277491569519, 0.44123604893684387, 0.4469545781612396, 0.17766880989074707, -0.3438344895839691, -0.0017907157307490706, -0.3744666576385498, 0.08696896582841873, 0.1324288547039032, 0.5002954602241516, -0.23256175220012665, 0.2050071507692337, -0.40460288524627686, 0.6483938694000244, -0.04062272235751152, -0.20702891051769257, -0.13438881933689117, -0.2823590934276581, -0.2738051414489746, -0.11612636595964432, 0.9205633401870728, 0.35376450419425964, 0.06431231647729874, -0.29347777366638184, -0.15624813735485077, 0.23115338385105133, 0.2735694646835327, -0.6184982657432556, -0.12243500351905823, 0.2504466474056244, -0.2664574384689331, -0.18700413405895233, -0.23371285200119019, -0.7265303730964661, -0.41712677478790283, -0.5503194332122803, 0.4131259024143219, -0.21935006976127625, -0.38101571798324585, 0.3898635804653168, 0.10510069131851196, 0.185831680893898, 0.33552801609039307, -0.5853193998336792, 0.6017563939094543, 0.74783855676651, 0.4177962839603424, -0.07687020301818848, -0.5749025940895081, -0.17079003155231476, -0.06084079667925835, -0.5295864343643188, 1.029211401939392, -0.5256867408752441, -0.21624772250652313, 0.1883223056793213, -0.16835075616836548, -0.3289538323879242, -0.1844232976436615, 1.1794800758361816, -0.4183695912361145, 0.17146025598049164, -0.3410608172416687, -0.5473548173904419, -0.32226288318634033, -0.04389512538909912, -0.6026612520217896, 1.0236139297485352, 0.00965120643377304, -0.7356398701667786, 0.4688512682914734, -0.3135388195514679, -0.563802182674408, -0.08717834204435349, 0.13795898854732513, -0.2271864414215088, 0.15373583137989044, -0.10798158496618271, 0.2108813226222992, -1.1895320415496826, 0.9990522861480713, -0.6543462872505188, -0.3121962249279022, 0.3910304605960846, -0.4609110355377197, 1.0509034395217896, 0.27106961607933044, -0.5832338929176331, 0.3406011760234833, -0.8333560228347778, -0.003939630929380655, -0.01979711465537548, -0.3143112063407898, -0.2987495958805084, 0.3337761163711548, 0.005479907616972923, 0.5076111555099487, 0.048983726650476456, -0.19285249710083008, -0.10589184612035751, 0.004536688327789307, 0.18779271841049194, 0.7162702083587646, 0.13911990821361542, 0.22115352749824524, -0.1907408982515335, 0.384359747171402, -0.029794739559292793, 0.5076518058776855, 0.05110706016421318, -0.44554904103279114, -0.9463623762130737, -0.32410335540771484, -0.06400629878044128, 0.6612568497657776, -0.3182840347290039, 0.5033249855041504, -0.217174232006073, -0.7897595167160034, -0.4079791307449341, 0.017753779888153076, 0.584899365901947, 0.7630009651184082, 0.1916412115097046, -0.2917977571487427, -0.30201494693756104, -0.8459744453430176, -0.5962552428245544, -0.5998131632804871, 0.17045490443706512, 0.1236068457365036, 0.4389459490776062, -0.26653215289115906, 0.8012462258338928, -0.31518322229385376, 0.24125398695468903, 0.07173769176006317, 0.5529565811157227, 0.16490328311920166, 0.49170368909835815, 0.4467158019542694, -0.404479056596756, -0.05029628053307533, -0.14115314185619354, -0.8483998775482178, -0.47592297196388245, -0.17731691896915436, -0.3888254463672638, -0.11485915631055832, 0.6365833878517151, -0.4737696051597595, 0.28607746958732605, 0.2303599715232849, -0.5861421823501587, 0.8141019344329834, 0.11626888811588287, 0.34506458044052124, -0.6919618844985962, 0.5394047498703003, 0.10645810514688492, 0.3073205053806305, -0.8408752083778381, 0.1254071742296219, -0.10895507782697678, -0.26554200053215027, -0.3102076053619385, 0.8984841704368591, -0.046810083091259, 0.2846594750881195, -0.049478188157081604, 0.18435853719711304, -0.16647914052009583, 0.5816054940223694, -0.25005725026130676, 0.3262884020805359, 0.6995371580123901, -0.522479772567749, 0.17395125329494476, -0.21924813091754913, -0.4322555959224701, 0.533304750919342, -0.7033780813217163, 0.15847371518611908, 0.05994049832224846, -0.04579133540391922, -0.8223311901092529, -0.23904912173748016, 0.14423500001430511, -0.2278241217136383, 0.22307483851909637, 0.2595707178115845, -0.5685784816741943, -0.4255636930465698, -0.057000331580638885, 0.34682533144950867, 0.3167143166065216, -0.30667930841445923, 0.3807145953178406, 0.5128445625305176, -0.17381185293197632, -0.4804621934890747, -0.45149993896484375, 0.014546954073011875, -0.34022513031959534, -0.4703807532787323, -0.08099820464849472, -0.20382142066955566, -0.7564978003501892, 0.11342532932758331, -0.01759476400911808, -0.3407747149467468, 0.5187308192253113, 0.23176977038383484, 0.11220388114452362, -0.36535462737083435, 0.2839268445968628, -0.05102020874619484, -0.25363391637802124, 0.3404037058353424, -0.24477894604206085, 0.09253662079572678, -0.4268845021724701, -0.37082698941230774, -0.47767648100852966, 0.23415511846542358, 0.6633197069168091, -0.2941076457500458, 0.7607604265213013, 0.6269451379776001, -0.6110008358955383, -0.0976138710975647, -0.5344557166099548, -0.13517053425312042, -0.3445809483528137, 0.22063048183918, -0.26113712787628174, -0.8975658416748047, 0.6089260578155518, -0.35116714239120483, -0.08093944191932678, 0.6031181216239929, 0.8316465020179749, 0.32636362314224243, 1.130223274230957, 0.6184626221656799, -0.42499518394470215, 0.25707319378852844, 0.47347527742385864, 0.5486863851547241, -0.47764700651168823, -0.1871752142906189, -1.0690112113952637, 0.0639418214559555, -0.5150983333587646, -0.46054086089134216, 0.06835232675075531, 0.5563955903053284, -0.6528708338737488, 0.17875492572784424, 0.036146968603134155, 0.15366917848587036, 0.3103516101837158, -0.10614175349473953, 0.18918462097644806, -0.3852344751358032, -0.2398056834936142, 0.050395481288433075, -0.7368173003196716, -0.5880876779556274, 0.8108598589897156, 0.3620411157608032, 0.813863217830658, 0.30493244528770447, 0.17610250413417816, 0.17162753641605377, 0.7152372002601624, -0.6877635717391968, 0.6035251021385193, 0.12297625839710236, -0.8968212604522705, -0.30635157227516174, -0.5131972432136536, -0.8876567482948303, 0.1299976259469986, -0.09969235211610794, -0.9515774250030518, 0.3814845681190491, 0.012405360117554665, -0.06533677130937576, -0.08671996742486954, -0.8077089786529541, 1.11397385597229, -0.20365849137306213, -0.6831274628639221, -0.43214401602745056, -0.5833536386489868, 0.841424286365509, -0.35958001017570496, 0.402919739484787, -0.4468424916267395, 0.20980925858020782, 0.7029467821121216, -0.2010572850704193, 0.933196485042572, 0.023134004324674606, -0.017306115478277206, 0.39776110649108887, 0.15539774298667908, 0.008769482374191284, -0.11654520779848099, -0.5312510132789612, 0.24479438364505768, -0.22819927334785461, -0.4430124759674072, -0.7125571966171265, 0.8903966546058655, -0.8031728267669678, -0.604368269443512, -0.34009477496147156, -0.6618618965148926, -0.30154427886009216, 0.37746161222457886, -0.35533004999160767, 0.5978302359580994, -0.49066317081451416, -0.08958753943443298, 0.2697119414806366, -0.45287978649139404, 0.30697065591812134, 1.0637339353561401, -0.3562566041946411, -0.23389817774295807, 0.8856591582298279, -0.2803770899772644, 0.21978580951690674, 0.3789038062095642, 0.5186131596565247, -0.2618216574192047, -0.2615028917789459, 0.03362464904785156, 0.07476308196783066, -1.0163859128952026, -0.1363484263420105, -0.37597647309303284, 0.10864712297916412, -0.5504979491233826, -0.18349510431289673, -0.2292054444551468, -0.29109999537467957, -0.044865209609270096, 0.056109704077243805, 0.2166389524936676, 0.565007746219635, -0.21817301213741302, 0.05001068115234375, -0.3619632124900818, 0.07269702851772308, 0.2720930874347687, 0.3838861584663391, 0.1972167193889618, -0.47321000695228577, -0.3419913351535797, -0.37882083654403687, -0.05441823974251747, -0.8678253889083862, 0.1735375076532364, 0.15012630820274353, 0.8693185448646545, 0.6665096879005432, 0.2038765549659729, 0.8454645872116089, -0.5298358798027039, 0.5504819750785828, 0.06409282237291336, -1.1061253547668457, 0.6663678884506226, -0.4688745439052582, 0.5475289225578308, 0.7686766982078552, 0.4494436979293823, -0.39581161737442017, -0.6355111598968506, -0.5615203380584717, -0.7392920255661011, 0.4907597005367279, -0.004571698606014252, -0.2586521506309509, -0.2984329164028168, 0.4086274206638336, -0.16610004007816315, -0.056415144354104996, -0.5244550704956055, -0.1428036242723465, 0.1374405026435852, -0.11214442551136017, -0.3206276297569275, -0.12773214280605316, -0.1536860167980194, -0.3590756952762604, 0.7596700191497803, -0.06836597621440887, 0.16217443346977234, -0.05889458954334259, -0.1517314314842224, -0.3729005753993988, 0.4043720066547394, 0.6134154200553894, 0.7479251027107239, -0.17085163295269012, 0.3570508360862732, 0.08822202682495117, -0.19719219207763672, 0.1126803308725357, 0.30361539125442505, -0.19338344037532806, -0.2447386085987091, 0.7847772836685181, 0.8417568206787109, 0.8425412774085999, -0.7710016965866089, 0.20983651280403137, -0.22577491402626038, 0.4138082265853882, 0.11200527101755142, -0.07279844582080841, -0.08630447834730148, 0.13006503880023956, 0.0013165924465283751, 0.12492598593235016, 0.25471991300582886, -0.5892210602760315, 0.2706385850906372, -0.0010540568036958575, -0.6357386708259583, -0.5551773905754089, 0.6874464750289917, 0.1276618242263794, -0.17282994091510773, 0.6136699318885803, -0.18583209812641144, -0.41786065697669983, 0.47160202264785767, 0.6684881448745728, 1.1889196634292603, -0.7145230174064636, 0.21472950279712677, 0.7282059788703918, 0.7532438039779663, -0.05459311977028847, 0.5105078220367432, 0.1667925864458084, -0.697900652885437, -0.3836042582988739, -0.7486231923103333, -0.38057610392570496, -0.08648590743541718, -0.8413376212120056, 0.3448934555053711, -0.41524723172187805, -0.2299693077802658, -0.04577053710818291, -0.028486570343375206, -0.7489790916442871, 0.3175774812698364, 0.00967781525105238, 1.0515954494476318, -1.1351133584976196, 0.8370518684387207, 0.564856231212616, -0.49715882539749146, -0.9795570969581604, -0.04966504126787186, 0.40369805693626404, -0.594912052154541, 0.7424120306968689, -0.024405203759670258, -0.3256627917289734, -0.1460801661014557, -0.5196170210838318, -0.8510139584541321, 0.8100374937057495, 0.5526157021522522, -0.3854643702507019, 0.594878077507019, 0.021663451567292213, 0.7778493165969849, -0.24417941272258759, 0.330584317445755, 0.7209819555282593, 0.6696441769599915, -0.15576918423175812, -0.7836697101593018, 0.32971858978271484, -0.5359077453613281, -0.14954881370067596, -0.059853240847587585, -0.5106386542320251, 0.8234040141105652, -0.2338016778230667, -0.298392653465271, -0.0733863115310669, 0.6039769649505615, 0.29025712609291077, 0.2959683835506439, 0.31105828285217285, 0.6736072301864624, 0.8403989672660828, -0.20575019717216492, 1.4455820322036743, -0.4988066256046295, 0.3346996307373047, 1.3364553451538086, -0.6473529934883118, 0.9863957166671753, 0.245095357298851, -0.08483818173408508, 0.46210283041000366, 0.5593850612640381, 0.35104846954345703, 0.3571479618549347, 0.33686357736587524, -0.3506178557872772, -0.25790712237358093, -0.6111364960670471, -0.042310021817684174, 0.35445651412010193, 0.4778427481651306, 0.029821882024407387, -0.2842954695224762, -0.2717299163341522, 0.3354450464248657, 0.07013574987649918, -0.24293439090251923, 0.49009111523628235, 0.12195499986410141, -0.8915709853172302, 0.3709401488304138, 0.2236907184123993, -0.1462637335062027, -0.5902159810066223, 0.2573462426662445, -0.3943171799182892, 0.3726238012313843, 0.020812133327126503, -0.5014464855194092, 0.19669209420681, 0.09135220944881439, -0.025483902543783188, -0.10283879190683365, 0.9097777605056763, -0.24812939763069153, -0.5879850387573242, 0.5828925371170044, 0.438775897026062, 0.16315874457359314, 0.28765004873275757, -0.8755614757537842, 0.5358028411865234, -0.42220538854599, -0.20243079960346222, 0.12173492461442947, 0.5768120884895325, -0.40469202399253845, 0.8185346126556396, 0.5503115653991699, -0.11790803074836731, 0.10945753753185272, 0.6339062452316284, 0.8242758512496948, -0.7550563812255859, -0.2596144676208496, -0.7537004947662354, 0.639228343963623, 0.2039259523153305, -0.6576318740844727, 0.8318270444869995, 0.3806392252445221, 0.4808911681175232, 0.11802864819765091, 0.5281027555465698, -0.010852417908608913, 0.21279343962669373, -0.3573458194732666, 0.5782784819602966, -0.39425739645957947, 0.0629347413778305, -0.5669552087783813, -0.6593069434165955, -0.6362063884735107, 0.41220328211784363, -0.6154462695121765, -0.00947166420519352, 0.876609206199646, 0.7245371341705322, 0.30035245418548584, 0.07049988955259323, 0.31972700357437134, 0.5503292679786682, 0.30790644884109497, 0.4439474940299988, 0.9996204972267151, -0.30542445182800293, 0.021178165450692177, -0.2272944450378418, -0.542194128036499, -0.1925487220287323, -1.098862886428833, -0.8853216171264648, -0.6324002742767334, -0.6850130558013916, -0.10342679917812347, 0.09924018383026123, 0.5730576515197754, 0.5901374816894531, -0.9304038286209106, -0.5714477300643921, -0.029207836836576462, 0.32112258672714233, -0.4015575349330902, -0.2583284378051758, 0.3023511469364166, -0.5807809233665466, -0.36539196968078613, 0.52149897813797, 0.6677695512771606, -0.488383948802948, -0.2805819511413574, -0.14265751838684082, -0.4588607847690582, 0.35504502058029175, 0.6703014373779297, 0.5146003365516663, -0.8544822335243225, -0.3982822299003601, -0.1854422390460968, -0.3088977038860321, -0.49519112706184387, 0.9719759225845337, -0.4110991060733795, 0.6469594240188599, 0.3772295415401459, 0.6200180649757385, 0.03711975738406181, -0.3870481550693512, 0.7030582427978516, -0.13931238651275635, 0.37877196073532104, 0.128325954079628, 0.48848757147789, 0.19494891166687012, -0.031642813235521317, 0.48007863759994507, 0.11337430030107498, -0.6659376621246338, -0.9199127554893494, 0.1970384567975998, -0.9577789902687073, -0.21155251562595367, 0.8803514242172241, -0.35873162746429443, -0.12934918701648712, -0.24470411241054535, 0.10062824189662933, 0.35883569717407227, -0.15080367028713226, 0.9345206618309021, 0.7107408046722412, -0.12208671122789383, -0.08360474556684494, -0.6259533166885376, 0.35297727584838867, 0.42816007137298584, -1.118950366973877, 0.10890863835811615, 0.620847761631012, -0.038895830512046814, 0.046968795359134674, 0.533317506313324, -0.24893231689929962, 0.2994423806667328, 0.2608913779258728, 0.2072797417640686, 0.6099523901939392, -0.38025715947151184, -0.6368409991264343, -0.008376315236091614, 0.30911895632743835, 0.5568149089813232 ]
http://arxiv.org/abs/2405.00611v1
http://arxiv.org/pdf/2405.00611v1
Addressing Topic Granularity and Hallucination in Large Language Models for Topic Modelling
2024-05-01T16:32:07
2024-05-01T16:32:07
Yida Mu, Peizhen Bai, Kalina Bontcheva, Xingyi Song
cs.CL
cs.CL
Large language models (LLMs) with their strong zero-shot topic extraction capabilities offer an alternative to probabilistic topic modelling and closed-set topic classification approaches. As zero-shot topic extractors, LLMs are expected to understand human instructions to generate relevant and non-hallucinated topics based on the given documents. However, LLM-based topic modelling approaches often face difficulties in generating topics with adherence to granularity as specified in human instructions, often resulting in many near-duplicate topics. Furthermore, methods for addressing hallucinated topics generated by LLMs have not yet been investigated. In this paper, we focus on addressing the issues of topic granularity and hallucinations for better LLM-based topic modelling. To this end, we introduce a novel approach that leverages Direct Preference Optimisation (DPO) to fine-tune open-source LLMs, such as Mistral-7B. Our approach does not rely on traditional human annotation to rank preferred answers but employs a reconstruction pipeline to modify raw topics generated by LLMs, thus enabling a fast and efficient training and inference framework. Comparative experiments show that our fine-tuning approach not only significantly improves the LLM's capability to produce more coherent, relevant, and precise topics, but also reduces the number of hallucinated topics.
[ -0.7027754187583923, -1.0570863485336304, 0.6511019468307495, -0.026290642097592354, -0.44433334469795227, -0.35935071110725403, -0.4278244376182556, -0.15998513996601105, 0.3333076238632202, 0.9326556324958801, -0.45050048828125, -0.6082184314727783, -0.6199011206626892, -0.009832106530666351, -0.2729129493236542, 0.766208827495575, 0.16705399751663208, -0.07037955522537231, -0.20456604659557343, 0.24683284759521484, -0.5010197162628174, -0.6584837436676025, -0.49386563897132874, -0.37368595600128174, 0.49807655811309814, 0.36441290378570557, 0.6978861689567566, 0.644404947757721, 0.4600389897823334, 0.18459902703762054, -0.5394207239151001, 0.3470769226551056, -0.7939710021018982, 0.24579307436943054, -0.3229725956916809, -0.17016546428203583, -0.6254046559333801, -0.2616177499294281, 0.35388997197151184, 0.8785959482192993, -0.01363531406968832, -0.07960455119609833, 0.0617048554122448, 0.5164910554885864, -0.5191168785095215, 0.03105579875409603, -1.109863042831421, -0.07247307151556015, -0.07905450463294983, -0.5036913752555847, -0.3049321174621582, -0.10166491568088531, -0.030574046075344086, -0.33964797854423523, 0.517565131187439, -0.20069268345832825, 0.7944462299346924, 0.4477963447570801, -0.22148358821868896, -0.44181230664253235, -0.6967078447341919, 0.6838695406913757, -0.6616721153259277, 0.25565749406814575, 0.4895477294921875, 0.0030114336404949427, -0.4012793302536011, -0.48441314697265625, -0.411913126707077, -0.15340453386306763, 0.08898644149303436, -0.30109483003616333, 0.028089113533496857, 0.17259956896305084, 0.23416154086589813, 0.5117478370666504, -0.47917354106903076, 0.246623694896698, -0.205380380153656, -0.27222979068756104, 0.543045163154602, 0.2781688868999481, -0.12572413682937622, -0.43613746762275696, 0.0215954277664423, 0.23971393704414368, -0.565521776676178, -0.36521095037460327, 0.34198248386383057, 0.5199103355407715, 0.252433180809021, 0.4796387255191803, -0.4294739365577698, 0.8370206356048584, 0.5429364442825317, -0.30536526441574097, 0.15225476026535034, 0.09318060427904129, -0.06894319504499435, 0.1640636920928955, 0.5139821767807007, -0.00455920584499836, 0.040337514132261276, -0.49490341544151306, -0.13776928186416626, -0.022320806980133057, 0.4643509089946747, -0.9494650363922119, -0.12244836241006851, 0.6990152597427368, -0.3699060082435608, -0.4590368866920471, 0.0703703910112381, -0.7704792618751526, -0.4846455752849579, -0.6316140294075012, 0.4121347963809967, -0.3135944604873657, -0.32517391443252563, 0.5319737792015076, 0.2212376445531845, 0.1650269329547882, 0.6708999276161194, -1.0045056343078613, 0.1917554885149002, 1.101751446723938, 0.8211221694946289, -0.4784863293170929, -0.2982783317565918, -0.581989049911499, 0.221857950091362, -0.4578563868999481, 0.8755622506141663, -0.5948939919471741, -0.41743654012680054, -0.12250004708766937, -0.09631510823965073, 0.3870176076889038, -0.7930851578712463, 0.4948493540287018, -0.38099023699760437, 0.17384245991706848, -0.3641473650932312, -0.4004877805709839, 0.02544591948390007, 0.2993655800819397, -0.43586790561676025, 0.8567181825637817, -0.13325732946395874, -0.8075444102287292, 0.3588220775127411, -0.5212357044219971, -0.26340246200561523, -0.06631304323673248, -0.3633846044540405, -0.12477673590183258, 0.4260960519313812, 0.14729705452919006, 0.646233320236206, -0.285715252161026, 1.0150322914123535, -0.2938333749771118, -0.39591607451438904, 0.06455762684345245, -0.4873898923397064, 0.27320247888565063, 0.16441857814788818, -0.41602379083633423, 0.40800201892852783, -0.6913586854934692, -0.329515278339386, -0.17912594974040985, 0.02734426222741604, -0.3706267178058624, -0.09627892822027206, -0.04830874130129814, 0.2639278173446655, 0.40301790833473206, -0.13193635642528534, 0.4241196811199188, -0.42665815353393555, 0.2742484509944916, 1.0402735471725464, 0.12436095625162125, 0.47292572259902954, -0.35757631063461304, 0.2619446814060211, 0.23533344268798828, -0.062229711562395096, -0.03734395280480385, -0.2818317115306854, -0.7009640336036682, -0.4884823262691498, 0.21710658073425293, 0.20312091708183289, -0.49030888080596924, 0.8302351236343384, -0.26760774850845337, -0.36740392446517944, -0.3687095046043396, 0.006122504826635122, -0.05845298245549202, 0.3424288034439087, 0.1676667332649231, -0.21965301036834717, -0.2404186725616455, -0.8677786588668823, 0.07243797183036804, -0.014926516450941563, 0.14296549558639526, 0.5784775614738464, 0.3569454252719879, -0.3985387980937958, 0.9721306562423706, -0.7750858664512634, -0.32017409801483154, -0.15314100682735443, 0.21014858782291412, 0.23807038366794586, 0.18491749465465546, 0.1849394589662552, -0.962332010269165, -0.2733869254589081, 0.0832618772983551, -0.6911507248878479, -0.33514219522476196, -0.20355698466300964, -0.3174973726272583, 0.11723782122135162, 0.4006531238555908, -0.7824748754501343, 0.30162933468818665, 0.029014192521572113, -0.15960465371608734, 0.5457112789154053, -0.17831185460090637, 0.07592979818582535, -1.311315894126892, -0.03636954352259636, -0.21967972815036774, -0.11056220531463623, -0.6043382883071899, 0.054263897240161896, -0.16861362755298615, -0.35947057604789734, -0.5434207916259766, 0.9153712391853333, -0.3961094617843628, 0.02420032024383545, -0.7192890644073486, 0.1373177170753479, -0.1500961184501648, 0.301744282245636, 0.3361804485321045, 0.6899939775466919, 0.8719180226325989, -0.6752801537513733, 0.02702239900827408, 0.22164596617221832, 0.03154471516609192, 0.1349046230316162, -0.434332013130188, 0.25901728868484497, -0.33201655745506287, 0.08651059865951538, -0.6221902370452881, -0.4395408630371094, 0.21537327766418457, -0.10959986597299576, 0.38393017649650574, -0.18391545116901398, -0.3263755440711975, 0.020263662561774254, -0.38082632422447205, 0.13682328164577484, 0.34773290157318115, -0.4876450002193451, 0.4200493395328522, 0.4173241853713989, -0.21130894124507904, -0.5977876782417297, -0.13069695234298706, 0.19379226863384247, -0.45671504735946655, -0.541066586971283, 0.5803999304771423, -0.09078958630561829, -0.465095579624176, -0.16115951538085938, -0.28928256034851074, -0.07074026018381119, 0.07808008044958115, 0.4949893355369568, -0.1591881960630417, -0.039244744926691055, 0.1326991766691208, 0.18632321059703827, -0.22261762619018555, -0.2348940074443817, -0.20376712083816528, 1.067126989364624, 0.1358107328414917, -0.30408185720443726, -0.23854875564575195, 0.4196407198905945, 0.6061328053474426, -0.011938350275158882, 0.5732845664024353, 0.5530166625976562, -0.45863834023475647, -0.43269991874694824, -0.6661227345466614, -0.39946889877319336, -0.4577963650226593, 0.4160620868206024, -0.5768601298332214, -1.1010924577713013, 0.5324882864952087, -0.21279221773147583, -0.11811903119087219, 0.4457377791404724, 0.9889419078826904, 0.4566226005554199, 0.4368443489074707, 0.6472031474113464, -0.22579063475131989, 0.43612730503082275, -0.22094862163066864, 0.1277853399515152, -0.597419261932373, -0.101564921438694, -0.5288035869598389, 0.02926664613187313, -0.3401630222797394, -0.6055610775947571, 0.15070296823978424, 0.24961087107658386, -0.0003451949160080403, -0.019148405641317368, -0.5790122151374817, 0.45616286993026733, 0.2448984980583191, 0.18284259736537933, 0.3293669819831848, 0.36468321084976196, 0.2260124385356903, 0.0808069258928299, -0.4250408113002777, -0.8814321756362915, 0.8394119739532471, 0.2699149250984192, 1.0042083263397217, -0.15198983252048492, 0.9853960871696472, 0.36946141719818115, -0.13790467381477356, -0.8246640563011169, 0.6641389727592468, -0.24057912826538086, -0.5008060336112976, -0.46151718497276306, -0.4985383450984955, -0.8393032550811768, 0.5270583033561707, 0.01103466097265482, -0.860466718673706, 0.3754395842552185, -0.07188168168067932, -0.2339598536491394, 0.3987366259098053, -0.2173941731452942, 0.6430761814117432, -0.04264632239937782, -0.49184396862983704, -0.14428962767124176, -0.1404910832643509, 0.33141013979911804, -0.3131321668624878, -0.027735210955142975, -0.2360982596874237, -0.026352111250162125, 0.44428694248199463, -0.09766814857721329, 0.94583660364151, 0.02133026532828808, -0.5640769004821777, 0.1871912181377411, 0.1471024453639984, 0.2829931080341339, 0.44157639145851135, -0.3979233205318451, 0.39876097440719604, -0.27982297539711, -0.33583298325538635, -0.41960054636001587, 0.9422149658203125, -0.8821094036102295, -1.07346773147583, -0.4127792716026306, -0.7181960344314575, -0.14685913920402527, -0.009684276767075062, 0.29968905448913574, 0.5945422649383545, -0.2865522503852844, 0.04827825352549553, 0.9421159029006958, -0.33074823021888733, 0.34777992963790894, 0.38291481137275696, -0.40174877643585205, -0.4197145104408264, 0.9751201272010803, 0.12164583802223206, 0.16532844305038452, 0.35360187292099, 0.14969226717948914, 0.01642737351357937, -0.9110848903656006, -0.2793511152267456, 0.2746324837207794, -0.6379196047782898, -0.03229638189077377, -1.0652860403060913, -0.34383487701416016, -0.6452470421791077, -0.22108128666877747, -0.3680378198623657, -0.2541046142578125, -0.7536733150482178, 0.01340603455901146, 0.2811088562011719, 0.5028524398803711, -0.19268614053726196, 0.17850375175476074, -0.5364978313446045, 0.8186120390892029, 0.20932205021381378, 0.22801630198955536, 0.03485973924398422, -0.8353244066238403, 0.02053792029619217, -0.0326487198472023, -0.46162259578704834, -0.6099567413330078, 0.4773365259170532, -0.06794243305921555, 0.5532934665679932, 0.6197580695152283, 0.21629144251346588, 0.7761018872261047, -0.39956149458885193, 0.8081575632095337, -0.17253175377845764, -0.8560277223587036, 0.7214272618293762, -0.4642440378665924, 0.12258020788431168, 0.6494662761688232, 0.5423611402511597, -0.331313818693161, -0.21196216344833374, -0.5200613141059875, -0.8832118511199951, 0.6158626079559326, 0.17341412603855133, 0.29551613330841064, -0.22663824260234833, 0.6435281038284302, 0.7646802067756653, 0.31960421800613403, -0.5592596530914307, -0.14169226586818695, 0.09082087129354477, 0.13266006112098694, -0.15657174587249756, -0.5152270793914795, -0.07760430872440338, -0.1858338564634323, 0.6701022386550903, -0.21810993552207947, 0.11628781259059906, 0.0970921516418457, -0.10553161799907684, -0.2340506762266159, 0.2878423035144806, 0.6871359348297119, 0.8759384155273438, -0.4471961259841919, 0.11558273434638977, -0.03590895235538483, -0.43547704815864563, 0.17203277349472046, 0.003331907093524933, -0.3586682379245758, 0.17452365159988403, 0.23998403549194336, 0.910048246383667, -0.2309148609638214, -0.4301479458808899, 0.250997930765152, 0.03910157084465027, -0.28007566928863525, -0.03610878810286522, 0.18113714456558228, -0.08102110773324966, 0.09759562462568283, 0.33579838275909424, -0.21484383940696716, 0.16372068226337433, -0.6035842895507812, 0.2683591842651367, 0.49587786197662354, -0.5169857144355774, -0.24880282580852509, 0.3827061355113983, 0.11661656945943832, -0.43510034680366516, 0.13234511017799377, -0.18962129950523376, -0.30372893810272217, 0.45381253957748413, 0.47244104743003845, 0.980997622013092, 0.10768278688192368, 0.38274919986724854, 0.07098188996315002, 0.04658621922135353, -0.3342655301094055, 0.3320159316062927, -0.05660545825958252, -0.5875949859619141, -0.3562588095664978, -0.888991117477417, -0.5315368175506592, 0.5249446034431458, -0.6805031895637512, 0.5132322907447815, -0.18739503622055054, -0.04668576642870903, 0.03962402790784836, 0.0031968536786735058, -0.12092369049787521, 0.10748309642076492, 0.1254579722881317, 0.5914056301116943, -0.7961142659187317, 0.8966888785362244, 0.6164088249206543, -0.14485833048820496, -0.25788602232933044, 0.48865631222724915, -0.35919252038002014, -0.3096825182437897, 0.4833645224571228, 0.12285705655813217, 0.03247635066509247, -0.09871001541614532, -0.5431853532791138, -0.6268735527992249, 0.8952721357345581, 0.49110862612724304, -0.5703734755516052, -0.13347455859184265, 0.33345910906791687, 0.4091314375400543, -0.2656431496143341, 0.02815301902592182, 0.3052282929420471, 0.2805497944355011, 0.34266725182533264, -0.8815630674362183, -0.0472552590072155, 0.11894803494215012, -0.08107934892177582, 0.4094519317150116, -0.662805438041687, 0.8962422609329224, -0.010907999239861965, 0.18509243428707123, -0.1251285821199417, 0.5564467906951904, 0.3112989664077759, 0.33465683460235596, 0.25804370641708374, 0.5798358917236328, 0.9234587550163269, 0.07226604968309402, 0.7790725231170654, -0.36138635873794556, 0.3356996476650238, 1.1110807657241821, -0.5288045406341553, 0.6267515420913696, 0.5929149389266968, 0.1220620721578598, -0.16072964668273926, 0.9046968817710876, 0.29274308681488037, 0.700243353843689, 0.3649373948574066, -0.11044690757989883, -0.4091072082519531, -0.132070392370224, -0.6836351752281189, 0.39620503783226013, 0.2810157239437103, -0.23107177019119263, -0.2919398546218872, 0.1064242273569107, -0.15798765420913696, -0.11854575574398041, -0.46491676568984985, 1.073960304260254, 0.1507989913225174, -0.47549498081207275, 0.7761529684066772, 0.007337307091802359, 0.855390727519989, -0.4318631887435913, 0.07071355730295181, -0.48789167404174805, 0.0423770397901535, -0.1108923852443695, -0.431034654378891, 0.3195229768753052, 0.004114517010748386, -0.5156266689300537, -0.1164642944931984, 0.9481438398361206, -0.3548513650894165, -0.5085632801055908, 0.14493198692798615, 0.6274546384811401, 0.322862446308136, -0.525177001953125, -0.43365126848220825, 0.17166770994663239, 0.09943704307079315, -0.2193547785282135, 0.7026752233505249, 0.9824646711349487, -0.16056427359580994, 0.5941757559776306, 0.4814194142818451, 0.3391895890235901, -0.19700153172016144, 0.10622424632310867, 1.0363610982894897, -0.8388073444366455, -0.37476474046707153, -0.9557710289955139, 0.2184823900461197, 0.044030919671058655, -0.36848583817481995, 0.505437433719635, 0.6221873760223389, 0.6526041030883789, -0.16089029610157013, 0.6510425209999084, 0.167094424366951, 0.2022968828678131, -0.5684649348258972, 0.6072914600372314, -0.6050331592559814, 0.4604097604751587, -0.4054211676120758, -1.121095061302185, -0.22271686792373657, 0.4996328353881836, -0.48587948083877563, -0.09753010421991348, 0.45302560925483704, 1.073810338973999, -0.22567687928676605, -0.1224374771118164, 0.6469351649284363, 0.24073129892349243, 0.24270099401474, 0.268880695104599, 0.9201927185058594, 0.026657553389668465, 0.23463217914104462, -0.46141454577445984, -0.06437987834215164, -0.3440111577510834, -0.7750852108001709, -1.1839795112609863, -0.6011881232261658, -0.44610854983329773, -0.21346460282802582, 0.11825408041477203, 0.8720426559448242, 0.6622474193572998, -0.7816371321678162, -0.2576085031032562, -0.044719256460666656, 0.17910736799240112, 0.17083221673965454, -0.23974569141864777, 0.5258911848068237, -0.40951383113861084, -0.5651838779449463, 0.1186680942773819, 0.4839501976966858, -0.039027485996484756, -0.5074982047080994, 0.06555604189634323, 0.14560335874557495, 0.10414407402276993, 0.7103590369224548, -0.2808455228805542, -1.1309852600097656, -0.18376369774341583, 0.017812766134738922, -0.1707790344953537, 0.210797518491745, 0.867525577545166, -0.6414601802825928, 0.1532481461763382, 0.37082523107528687, 0.516694188117981, 0.5946838855743408, 0.17590998113155365, 0.2770467698574066, -0.3303785026073456, 0.36547166109085083, 0.2431923747062683, 0.12698471546173096, 0.2170553356409073, -0.595228910446167, 0.3899638056755066, 0.059233445674180984, -0.49190929532051086, -1.04557466506958, 0.2241019904613495, -1.1604351997375488, -0.6973286867141724, 1.5936236381530762, 0.2624519169330597, -0.13303887844085693, -0.1560109704732895, -0.6645718216896057, -0.0061816805973649025, -0.448577880859375, 1.2229737043380737, 0.6109542846679688, -0.03318905085325241, 0.07632018625736237, -0.395805686712265, 0.4175785779953003, 0.1277124285697937, -0.8588217496871948, 0.5099846720695496, 0.6094011068344116, 0.08401762694120407, 0.10398854315280914, 0.670501708984375, 0.05768054723739624, -0.024718523025512695, -0.032708924263715744, 0.09754758328199387, -0.10274063050746918, -0.6088446378707886, -0.4781244099140167, 0.5857004523277283, 0.20389927923679352, 0.14733202755451202 ]
http://arxiv.org/abs/2405.00602v1
http://arxiv.org/pdf/2405.00602v1
Investigating Automatic Scoring and Feedback using Large Language Models
2024-05-01T16:13:54
2024-05-01T16:13:54
Gloria Ashiya Katuka, Alexander Gain, Yen-Yun Yu
cs.CL
cs.CL, cs.LG
Automatic grading and feedback have been long studied using traditional machine learning and deep learning techniques using language models. With the recent accessibility to high performing large language models (LLMs) like LLaMA-2, there is an opportunity to investigate the use of these LLMs for automatic grading and feedback generation. Despite the increase in performance, LLMs require significant computational resources for fine-tuning and additional specific adjustments to enhance their performance for such tasks. To address these issues, Parameter Efficient Fine-tuning (PEFT) methods, such as LoRA and QLoRA, have been adopted to decrease memory and computational requirements in model fine-tuning. This paper explores the efficacy of PEFT-based quantized models, employing classification or regression head, to fine-tune LLMs for automatically assigning continuous numerical grades to short answers and essays, as well as generating corresponding feedback. We conducted experiments on both proprietary and open-source datasets for our tasks. The results show that prediction of grade scores via finetuned LLMs are highly accurate, achieving less than 3% error in grade percentage on average. For providing graded feedback fine-tuned 4-bit quantized LLaMA-2 13B models outperform competitive base models and achieve high similarity with subject matter expert feedback in terms of high BLEU and ROUGE scores and qualitatively in terms of feedback. The findings from this study provide important insights into the impacts of the emerging capabilities of using quantization approaches to fine-tune LLMs for various downstream tasks, such as automatic short answer scoring and feedback generation at comparatively lower costs and latency.
[ -0.30261892080307007, -1.1701654195785522, 0.6126372218132019, 0.17618829011917114, -0.1251264214515686, 0.18021062016487122, -0.4091874659061432, -0.40821295976638794, -0.21065931022167206, 0.5515270829200745, -0.16534769535064697, -0.5948118567466736, -0.40247899293899536, 0.03606762737035751, -0.2788239121437073, 1.2513893842697144, -0.12758561968803406, 0.08820489048957825, -0.019300663843750954, 0.005464879795908928, -0.4940497577190399, -0.7545919418334961, -0.9320216178894043, -0.37204509973526, 0.6725368499755859, 0.42574194073677063, 0.578416645526886, 0.5940994024276733, 0.6127787232398987, 0.2990049123764038, -0.0494222454726696, 0.19332647323608398, -0.3676835596561432, -0.08172395825386047, -0.17503373324871063, -0.609478235244751, -0.9480581879615784, 0.15778101980686188, 0.8451617360115051, 0.6260985136032104, -0.23246487975120544, 0.510567307472229, 0.3406410813331604, 0.7297798991203308, -0.6373673677444458, 0.24602733552455902, -0.480607271194458, -0.10752814263105392, -0.03405703604221344, -0.18338075280189514, -0.5049875378608704, -0.6007707118988037, -0.011015674099326134, -0.4709951877593994, -0.125288724899292, -0.13074296712875366, 0.736901581287384, 0.5160143971443176, -0.38384202122688293, -0.31083545088768005, -0.7370676398277283, 0.918175458908081, -0.7493758201599121, -0.10430050641298294, 0.6304289698600769, 0.2693423926830292, 0.15287645161151886, -0.4346400797367096, -0.17423713207244873, -0.3081020712852478, 0.011067730374634266, -0.12666773796081543, -0.09270630776882172, 0.25695735216140747, 0.19259850680828094, 0.5104430913925171, -0.20651541650295258, 0.45273008942604065, -0.2461521476507187, -0.14500856399536133, 0.7686481475830078, 0.38419607281684875, -0.2410752773284912, -0.08408225327730179, 0.10165397077798843, -0.12220770865678787, -0.6999841332435608, 0.3359036445617676, 0.4251442849636078, 0.3403002917766571, 0.017030948773026466, 0.5062927007675171, -0.3825891613960266, 0.8001455664634705, 0.3828662037849426, -0.23149776458740234, -0.011829459108412266, -0.19197332859039307, -0.3192382752895355, -0.21760348975658417, 0.7485191226005554, 0.4233066439628601, 0.39039015769958496, 0.021545829251408577, -0.5355213284492493, 0.11630585789680481, 0.05067218467593193, -0.8720318078994751, -0.41400015354156494, -0.07199027389287949, -0.49686041474342346, -0.5884624719619751, -0.2839069068431854, -0.6804240942001343, -0.2672065496444702, -0.6018116474151611, 0.7629984617233276, -0.18752768635749817, 0.15136581659317017, 0.007869595661759377, 0.46040135622024536, 0.020560383796691895, 0.8264468908309937, -0.7074787616729736, 0.34717848896980286, 0.5331551432609558, 0.7892922759056091, -0.23968346416950226, -0.1586507260799408, -0.8561878800392151, -0.054377537220716476, -0.3843630254268646, 0.9531941413879395, -0.5945477485656738, -0.10779833793640137, -0.11205261200666428, -0.09539669752120972, 0.008814239874482155, -0.7005519270896912, 0.43136003613471985, -0.5556539297103882, 0.03467126935720444, 0.06765688210725784, -0.4871767461299896, -0.17039665579795837, 0.48676246404647827, -0.5471787452697754, 0.9524953365325928, 0.22452864050865173, -0.3474312722682953, 0.05256108567118645, -0.47283583879470825, -0.11555033177137375, -0.02854979783296585, 0.23268704116344452, -0.5202434659004211, 0.20026226341724396, 0.13769716024398804, 0.5418816804885864, -0.4416811466217041, 0.3614915907382965, -0.32394713163375854, -0.6446595191955566, 0.2981800436973572, -0.536453127861023, 0.14252713322639465, 0.13427704572677612, -0.4485335052013397, 0.16061057150363922, -0.8625221252441406, 0.3481700122356415, -0.13111908733844757, -0.8062446117401123, -0.31648528575897217, -0.1420324593782425, -0.07793321460485458, 0.02668328583240509, 0.27193406224250793, -0.35538965463638306, 0.2769258916378021, -0.3254227936267853, 0.5565645098686218, 0.9136636853218079, -0.006136356387287378, 0.40692758560180664, -0.3712877333164215, 0.6553816795349121, -0.23187345266342163, 0.13478010892868042, -0.11161394417285919, -0.1750962734222412, -0.7871000170707703, -0.17761965095996857, 0.8099173903465271, 0.4573539197444916, -0.33487823605537415, 0.20141847431659698, -0.11577446758747101, -0.4414556622505188, -0.5571613311767578, 0.31098684668540955, 0.4861100912094116, 0.2533208131790161, 0.21442192792892456, -0.16728653013706207, -0.24833253026008606, -0.7495346069335938, -0.12186889350414276, -0.26192978024482727, -0.015662772580981255, 0.24447572231292725, 0.262817919254303, -0.08759907633066177, 0.7681172490119934, -0.4517039656639099, -0.3919750154018402, 0.2041093111038208, 0.24179568886756897, 0.09021533280611038, 0.39254435896873474, 0.4141045808792114, -0.35328409075737, -0.5787540078163147, -0.10012543946504593, -0.30558136105537415, -0.33831456303596497, 0.1605096459388733, -0.055157605558633804, 0.4101337492465973, 0.4408380687236786, -0.222458615899086, 0.19411136209964752, 0.6775386333465576, -0.34549957513809204, 0.5120450258255005, -0.11433425545692444, 0.2094939798116684, -0.5484262108802795, 0.021093927323818207, 0.12640276551246643, -0.422163724899292, -0.22537687420845032, 0.010765544138848782, 0.1121600940823555, 0.16147185862064362, -0.22902964055538177, 0.4165886342525482, -0.1084175556898117, 0.191722109913826, -0.5319253206253052, -0.15000049769878387, 0.029576720669865608, 0.7401819825172424, -0.011824848130345345, 0.6923844814300537, 0.15984946489334106, -0.5520245432853699, 0.08432845771312714, -0.18754324316978455, -0.24653488397598267, 0.5922073721885681, -0.7658410668373108, 0.2516452968120575, 0.1402665674686432, 0.22912898659706116, -0.9074722528457642, -0.17674843966960907, 0.01033955067396164, -0.2746017873287201, 0.20649655163288116, -0.3113902807235718, -0.7830519676208496, -0.14761300384998322, -0.36227622628211975, 0.4687648415565491, 0.6044094562530518, -0.34969019889831543, 0.3693191409111023, 0.45002996921539307, -0.3160148561000824, -0.13577520847320557, -0.44941115379333496, -0.20417015254497528, -0.346738338470459, -0.24117924273014069, 0.22655735909938812, -0.22629030048847198, -0.3770865797996521, -0.22380247712135315, 0.18103459477424622, -0.07622355967760086, 0.26416075229644775, 0.3547605276107788, 0.16687826812267303, -0.25232595205307007, 0.27381467819213867, 0.3557114899158478, 0.060912150889635086, 0.19118240475654602, -0.18905694782733917, 0.46581223607063293, -0.5262792110443115, -0.10416213423013687, -0.38648876547813416, 0.1616293340921402, 0.6891798973083496, -0.29336223006248474, 0.5311181545257568, 0.494870126247406, -0.30393996834754944, -0.31717586517333984, -0.6657781600952148, -0.2352137714624405, -0.4746762812137604, 0.32577279210090637, -0.20265305042266846, -1.19809091091156, 0.3584347069263458, -0.21434375643730164, -0.01613260619342327, 0.4621674418449402, 0.9274156093597412, -0.1718948632478714, 1.4015579223632812, 0.6596910953521729, 0.002578252926468849, 0.40130019187927246, -0.3208148777484894, 0.003581300377845764, -0.6861407160758972, -0.12887641787528992, -0.47384679317474365, -0.3824610412120819, -0.6469826102256775, -0.3469168245792389, 0.334811270236969, 0.48237350583076477, -0.41395023465156555, -0.06866703927516937, -0.5296759009361267, 0.6148091554641724, 0.530113697052002, 0.11418899893760681, 0.4799049496650696, -0.011785429902374744, 0.021021410822868347, 0.1491168588399887, -0.4383223354816437, -0.8175418972969055, 1.16197669506073, 0.6538529992103577, 0.8336055874824524, -0.10667988657951355, 0.4807487428188324, 0.44870367646217346, 0.46666789054870605, -0.9002989530563354, 0.4128407835960388, -0.31654292345046997, -0.13738374412059784, -0.3900254964828491, -0.3746521770954132, -0.5871527194976807, 0.0963698998093605, -0.007288320921361446, -0.4909062087535858, -0.07026655972003937, 0.34039247035980225, -0.7563965916633606, 0.10482949763536453, -0.7279151082038879, 0.5481396317481995, -0.1805804818868637, -0.6414681673049927, -0.38447046279907227, -0.37791311740875244, 0.2316257357597351, -0.50467848777771, 0.20477287471294403, -0.30012527108192444, 0.10106172412633896, 0.9642257690429688, -0.5184447169303894, 1.0299947261810303, -0.21410460770130157, -0.6933249235153198, 0.4248335659503937, 0.2193412035703659, 0.49372896552085876, 0.34162893891334534, -0.26694533228874207, 0.11634470522403717, 0.35764583945274353, -0.175425723195076, -0.5961681604385376, 0.9231570959091187, -0.9872488379478455, -0.549261212348938, -0.20229068398475647, -0.6024765968322754, -0.36335289478302, -0.06044447049498558, 0.016382789239287376, 0.20938657224178314, 0.3830336928367615, 0.022188182920217514, 0.5859524607658386, -0.11715930700302124, 0.39603203535079956, 0.8625025749206543, -0.25631818175315857, -0.6768162250518799, 0.9777840971946716, 0.2607888877391815, -0.02268720045685768, 0.3321852385997772, 0.24535317718982697, -0.11799227446317673, -0.5347338318824768, -0.4711860418319702, 0.3120609521865845, -0.5909844040870667, -0.6154025197029114, -0.3850195109844208, -0.10423209518194199, -0.15839828550815582, 0.011615889146924019, -0.3601836860179901, -0.6142921447753906, -0.4098716676235199, -0.03831591457128525, 0.38972559571266174, 0.9009432196617126, 0.0011305965017527342, 0.5157907009124756, -0.8634277582168579, -0.015178230591118336, 0.3644733428955078, 0.6617484092712402, 0.24576330184936523, -0.7462377548217773, -0.5491641759872437, 0.03463849425315857, -0.538033664226532, -0.5257474780082703, 0.24430951476097107, 0.25558310747146606, 0.08191408216953278, 0.05626154690980911, -0.05259685218334198, 0.7120763063430786, -0.3865795135498047, 0.7088617086410522, -0.17265883088111877, -1.191908836364746, 0.6487263441085815, -0.40318119525909424, 0.26501700282096863, 0.6151375770568848, 0.11500941216945648, -0.12266033887863159, -0.3783576488494873, -0.03109097294509411, -0.7151404023170471, 0.7970046401023865, -0.10822179913520813, 0.060151226818561554, 0.0555083267390728, 0.6446843147277832, 0.2277328073978424, 0.25147226452827454, -0.6814512610435486, 0.12399576604366302, 0.10006185621023178, -0.2455815076828003, -0.10887975245714188, -0.3264036178588867, 0.09473410993814468, -0.4452332556247711, 0.6186234354972839, -0.3610376715660095, 0.030350932851433754, -0.055507585406303406, -0.06710251420736313, -0.4316365122795105, 0.2663551867008209, 0.5136561393737793, 0.4846962094306946, -0.17094533145427704, -0.005345341749489307, 0.3122881054878235, -0.32070815563201904, 0.3943042457103729, -0.10357193648815155, -0.11664152890443802, -0.1858077198266983, 0.1551990509033203, 0.7112153172492981, 0.02920728735625744, -0.8439424633979797, 0.2977547347545624, -0.030811993405222893, -0.24269333481788635, -0.3353396952152252, 0.10169177502393723, -0.230538010597229, 0.3333043158054352, 0.32088860869407654, -0.13785295188426971, 0.16026383638381958, -0.35642263293266296, -0.0005055812071077526, 0.3561883866786957, -0.305840402841568, -0.474113792181015, 0.5408356785774231, 0.16642282903194427, -0.2782299816608429, 0.5492010712623596, 0.04144653305411339, -0.371513307094574, 0.5621155500411987, 0.37466123700141907, 0.5209847688674927, -0.1999344378709793, 0.24053652584552765, 0.36677396297454834, -0.055329982191324234, -0.18654848635196686, 0.0906810536980629, -0.2691093385219574, -0.15790970623493195, -0.8127948641777039, -1.1512137651443481, -0.5024939775466919, 0.23462891578674316, -0.7974908947944641, 0.2709343731403351, -0.6135031580924988, -0.5608376860618591, -0.24428580701351166, 0.30498644709587097, -0.46143144369125366, 0.3586413264274597, 0.4049447476863861, 0.5310617685317993, -0.7157899141311646, 0.9764574766159058, 0.8493359088897705, -0.22637274861335754, -1.1589654684066772, -0.08153968304395676, -0.3572535812854767, -0.42925652861595154, 0.840766191482544, 0.07855164259672165, -0.166213259100914, 0.1532347947359085, -0.3696903884410858, -0.9395416975021362, 0.7898228764533997, 0.5187539458274841, -0.8488404154777527, -0.35180509090423584, 0.3351566195487976, 0.9246423244476318, 0.01262497715651989, 0.4758966565132141, 0.8329405784606934, 0.4252510666847229, -0.29642385244369507, -1.2189213037490845, -0.115616574883461, -0.387417733669281, 0.0820729061961174, 0.40539413690567017, -0.9879401922225952, 0.9370787739753723, 0.014118238352239132, 0.2557537853717804, 0.2342032641172409, 0.5071762800216675, 0.4605376422405243, 0.3395867645740509, 0.4228367507457733, 0.6520287990570068, 0.6933258771896362, -0.06251406669616699, 0.8673813343048096, -0.3714506924152374, 0.5286389589309692, 0.890789270401001, -0.23255369067192078, 1.0087295770645142, 0.3933941721916199, -0.3184874951839447, 0.628593385219574, 0.7519398331642151, -0.19565290212631226, 0.5329124331474304, 0.598800003528595, 0.0604885034263134, -0.28134363889694214, -0.17178703844547272, -0.013807356357574463, 0.49348899722099304, 0.30887144804000854, -0.38261833786964417, -0.014570868574082851, 0.2645251452922821, -0.18077345192432404, 0.18085063993930817, -0.8090982437133789, 0.7943665385246277, 0.12075003981590271, -0.9075836539268494, 0.8535994291305542, 0.37223443388938904, 0.8930898308753967, -0.24021010100841522, -0.17537915706634521, -0.40559273958206177, 0.38522571325302124, -0.30222856998443604, -0.5824877619743347, 0.2298545241355896, 0.4478517770767212, -0.3663022518157959, -0.18555453419685364, 0.30085787177085876, -0.33947399258613586, -0.6047355532646179, 0.16201834380626678, 0.2807798385620117, -0.11840520054101944, -0.18163809180259705, -0.4993748068809509, 0.14304031431674957, -0.22212032973766327, -0.3253136873245239, 0.5488237738609314, 0.3391757905483246, -0.40234753489494324, 0.538067102432251, 0.41552865505218506, 0.0974927768111229, -0.013981766067445278, 0.08529873937368393, 0.62078458070755, -0.45449647307395935, -0.4452754557132721, -0.9666234254837036, 0.08327165246009827, 0.4684098958969116, -0.23036697506904602, 0.718595564365387, 0.5013812780380249, 0.9470444321632385, 0.000770716171246022, 0.5949035882949829, 0.3501441776752472, 0.6327784061431885, -0.6376355886459351, 0.7463743090629578, -0.5526952743530273, 0.3820061981678009, -0.3532593548297882, -0.8737614154815674, -0.28571608662605286, 0.45706385374069214, -0.4951256215572357, 0.13959042727947235, 0.5406913161277771, 0.5224277973175049, 0.28568464517593384, -0.28604400157928467, 0.21773084998130798, 0.06797639280557632, 0.25626102089881897, 0.759794294834137, 1.0498809814453125, -0.41018348932266235, 0.5586761832237244, -0.5598986744880676, -0.07336482405662537, -0.3282194137573242, -0.5046520233154297, -0.9839076995849609, -0.39649203419685364, -0.6784400343894958, -0.3025939166545868, 0.12380438297986984, 0.7915747165679932, 0.6874544620513916, -0.9644332528114319, -0.25730687379837036, -0.06292537599802017, -0.19420288503170013, 0.07617529481649399, -0.32264411449432373, 0.6338983178138733, -0.2512115240097046, -0.9811069965362549, 0.07175631076097488, 0.22081193327903748, 0.1048429012298584, -0.2692122459411621, -0.09467379003763199, 0.3285115361213684, 0.14682532846927643, 0.7669667601585388, -0.09099239856004715, -0.8278110027313232, -0.15831594169139862, 0.08817164599895477, -0.2311648279428482, 0.053955916315317154, 0.6503183245658875, -1.1566463708877563, -0.21524079144001007, 0.36861056089401245, 0.4634315073490143, 0.2480987161397934, 0.2569884657859802, 0.5154376029968262, -0.437590628862381, -0.25896933674812317, 0.355218768119812, 0.06437309831380844, 0.30829963088035583, -0.45149463415145874, 0.4450232684612274, -0.11516135185956955, -0.8647338151931763, -1.1096487045288086, -0.15778416395187378, -0.7306419014930725, -0.22370903193950653, 1.0814239978790283, -0.17822186648845673, -0.19245746731758118, 0.3146287798881531, -0.3980987071990967, 0.22811023890972137, -0.4152044951915741, 1.013526201248169, 0.5773798227310181, -0.18974652886390686, -0.2287631779909134, -0.28114476799964905, 0.4629073441028595, 0.7597177028656006, -0.835824728012085, 0.08445518463850021, 0.48577991127967834, 0.3109648525714874, -0.00816508661955595, 0.4222118854522705, -0.10055036097764969, 0.4102332592010498, -0.5142106413841248, -0.19979457557201385, -0.06177222356200218, -0.3170825242996216, -0.7796093225479126, 0.47225770354270935, 0.4479382336139679, 0.1453230232000351 ]
http://arxiv.org/abs/2405.00588v1
http://arxiv.org/pdf/2405.00588v1
Are Models Biased on Text without Gender-related Language?
2024-05-01T15:51:15
2024-05-01T15:51:15
Catarina G Belém, Preethi Seshadri, Yasaman Razeghi, Sameer Singh
cs.CL
cs.CL, cs.AI, cs.CV, cs.CY, cs.LG
Gender bias research has been pivotal in revealing undesirable behaviors in large language models, exposing serious gender stereotypes associated with occupations, and emotions. A key observation in prior work is that models reinforce stereotypes as a consequence of the gendered correlations that are present in the training data. In this paper, we focus on bias where the effect from training data is unclear, and instead address the question: Do language models still exhibit gender bias in non-stereotypical settings? To do so, we introduce UnStereoEval (USE), a novel framework tailored for investigating gender bias in stereotype-free scenarios. USE defines a sentence-level score based on pretraining data statistics to determine if the sentence contain minimal word-gender associations. To systematically benchmark the fairness of popular language models in stereotype-free scenarios, we utilize USE to automatically generate benchmarks without any gender-related language. By leveraging USE's sentence-level score, we also repurpose prior gender bias benchmarks (Winobias and Winogender) for non-stereotypical evaluation. Surprisingly, we find low fairness across all 28 tested models. Concretely, models demonstrate fair behavior in only 9%-41% of stereotype-free sentences, suggesting that bias does not solely stem from the presence of gender-related words. These results raise important questions about where underlying model biases come from and highlight the need for more systematic and comprehensive bias evaluation. We release the full dataset and code at https://ucinlp.github.io/unstereo-eval.
[ -0.05722947418689728, -0.32399898767471313, 0.3443071246147156, 0.22649964690208435, 0.011338266544044018, -0.1961572766304016, -0.3221094608306885, -0.4154234230518341, -0.21323111653327942, 0.5760075449943542, -0.5936257839202881, -0.49060511589050293, -0.4001481235027313, 0.1393943876028061, -0.5215586423873901, 1.1167856454849243, 0.16559411585330963, 0.6564526557922363, -0.41382142901420593, -0.2758515477180481, -0.4419887959957123, -0.6392298936843872, 0.15766370296478271, -0.5458744168281555, -0.16028408706188202, 0.28201374411582947, 0.5165472030639648, 0.4842473268508911, 0.17870767414569855, 0.2016921490430832, -0.19507019221782684, -0.2906239330768585, -0.4749924838542938, 0.1434367597103119, -0.12751434743404388, -0.4908771514892578, -0.2917135953903198, 0.4863348603248596, 0.31311434507369995, 1.0266908407211304, -0.12819494307041168, 0.19191522896289825, 0.1998894065618515, 0.8217226266860962, -0.7830081582069397, 0.14066962897777557, -0.7446981072425842, 0.048267900943756104, -0.13687372207641602, 0.03076518513262272, -0.3271365165710449, -0.3251214325428009, 0.32987746596336365, -0.3385629653930664, 0.5828830599784851, 0.11134286224842072, 0.5794435739517212, 0.12594449520111084, -0.6381170153617859, -0.3861845135688782, -0.38495761156082153, 0.9499935507774353, -0.5222943425178528, 0.4770705997943878, 0.5128289461135864, -0.11363906413316727, -0.19448263943195343, -0.1606963723897934, -0.2677868604660034, -0.4669475257396698, -0.07371728122234344, 0.04720883071422577, -0.3879856467247009, 0.11099515110254288, 0.4215297996997833, 0.26898980140686035, -0.2785474359989166, -0.050798267126083374, -0.44095879793167114, 0.07860191911458969, 0.5061798691749573, -0.16289515793323517, 0.3834250569343567, -0.44946855306625366, -0.379092812538147, -0.13582009077072144, -0.6299217939376831, 0.019150950014591217, 0.7536628246307373, 0.4728139042854309, -0.2742575705051422, 0.7911966443061829, 0.07998422533273697, 0.31066158413887024, -0.03770064562559128, 0.4940616488456726, 0.44711217284202576, -0.05713702738285065, -0.3600546717643738, 0.2411859929561615, 0.8814867734909058, 0.4268478751182556, 0.7691102623939514, -0.25092214345932007, -0.18620353937149048, 0.2181430608034134, 0.42853230237960815, -0.5867213606834412, -0.11905445903539658, -0.07429161667823792, -0.47821393609046936, -0.5836607813835144, -0.03664637356996536, -1.114827275276184, -0.5440585613250732, 0.0980583131313324, 0.055123575031757355, -0.14446347951889038, -0.24180158972740173, -0.0965752974152565, -0.4139494001865387, -0.16032300889492035, -0.0909937173128128, -0.9778808355331421, 0.21757377684116364, 0.38013774156570435, 0.5475513935089111, 0.042937956750392914, -0.20277884602546692, -0.2954435348510742, -0.12904058396816254, -0.653817355632782, 0.5552151203155518, -0.8128346800804138, -0.5447733998298645, 0.2097892165184021, -0.06813547015190125, -0.09948388487100601, -0.5287217497825623, 0.6896058917045593, -0.02803611196577549, 0.6436569094657898, -0.3447491228580475, -0.527898907661438, -0.011409652419388294, -0.05306442454457283, -0.6559557914733887, 1.1184229850769043, -0.022809471935033798, -1.2107045650482178, 0.5518851280212402, -0.7562626600265503, -0.14014531672000885, -0.4318110942840576, -0.3116950988769531, -0.11240915954113007, 0.42050033807754517, 0.17386281490325928, -0.07806670665740967, -0.4154028594493866, 0.6239436268806458, -0.47592923045158386, -0.28977736830711365, 0.29432523250579834, -0.560702919960022, 0.822937548160553, -0.15894344449043274, -0.5637887120246887, 0.0286441408097744, -0.5248304605484009, 0.053970806300640106, -0.12002711743116379, 0.013344122096896172, -0.85564786195755, -0.132096067070961, 0.3052356243133545, 0.26711297035217285, 0.06938411295413971, -0.7471433281898499, -0.025308679789304733, -0.3910946846008301, 0.24270625412464142, 0.8788176774978638, -0.5802091360092163, 0.9239004850387573, -0.20970913767814636, 0.41811802983283997, -0.24079222977161407, -0.009756422601640224, 0.3212244510650635, -0.2669958472251892, -0.6260008215904236, -0.34345221519470215, 0.34797725081443787, 0.3574444651603699, -0.6132122278213501, 0.047349777072668076, -0.0008954718941822648, -0.22482213377952576, -0.6845798492431641, 0.11411802470684052, 0.7645551562309265, 0.5019032955169678, 0.28291797637939453, -0.13165903091430664, -0.6091445088386536, -1.2784727811813354, -0.9105990529060364, -0.332947701215744, -0.17655958235263824, 0.22363057732582092, 0.682497501373291, 0.007807252462953329, 0.9174008965492249, -0.1700240522623062, -0.3838998079299927, -0.2973936200141907, 0.42821404337882996, 0.0905902087688446, 0.3141365647315979, 0.7010610103607178, -0.49489128589630127, 0.10332681238651276, -0.42570415139198303, -1.0135430097579956, -0.597095787525177, 0.27572405338287354, -0.17027881741523743, 0.39564043283462524, 0.28008967638015747, -0.5025217533111572, 0.4119853675365448, 0.7748807072639465, -0.58458411693573, 0.3420241177082062, -0.16451595723628998, 0.0732385516166687, -0.5635772347450256, 0.19647081196308136, 0.1468268781900406, -0.18174529075622559, -0.6695117354393005, -0.1961488425731659, -0.012428722344338894, 0.18973417580127716, -0.40838825702667236, 0.8090035319328308, -0.553610622882843, -0.2330390363931656, -0.4004673659801483, -0.1969059407711029, -0.07048175483942032, 0.32806396484375, 0.3145148456096649, 0.7090590000152588, 0.40736204385757446, -0.4017968475818634, -0.4595053493976593, 0.20591160655021667, -0.16516388952732086, 0.4700060188770294, -0.6480336785316467, 0.1712634414434433, -0.45070984959602356, 0.05631685256958008, -0.5169826149940491, 0.04369252920150757, 0.1320188194513321, -0.3824876844882965, -0.05692422017455101, -0.269729882478714, -0.2199995517730713, -0.1824682056903839, -0.6016120910644531, 0.34548690915107727, 0.46194493770599365, -0.3815985321998596, 0.18392419815063477, 0.4452817142009735, 0.253645122051239, -0.8145225048065186, -0.7177035212516785, -0.40037643909454346, -0.13451798260211945, -0.2538910210132599, 0.07623595744371414, -0.13254404067993164, -0.5684638023376465, -0.18351340293884277, -0.39713484048843384, -0.3388630151748657, -0.11278581619262695, 0.4766787886619568, 0.40419983863830566, 0.14664244651794434, 0.203649640083313, 0.09310513734817505, 0.3258800506591797, 0.06791271269321442, -0.17697963118553162, 0.3632408082485199, -0.16232863068580627, -0.00044280377915129066, -0.32242026925086975, 0.31044137477874756, 0.5872095227241516, 0.19403010606765747, 0.61705482006073, 0.21133218705654144, -0.4501325488090515, -0.25084832310676575, -0.34474682807922363, -0.32672780752182007, -0.3887234926223755, 0.4810992181301117, -0.02589622512459755, -1.0724467039108276, 0.19665087759494781, 0.536740779876709, 0.15925323963165283, 0.35118183493614197, 0.340025395154953, -0.16410255432128906, 0.958293616771698, 0.7954471707344055, -0.027895931154489517, 0.35059186816215515, 0.1847103089094162, -0.08153043687343597, -0.7739356756210327, -0.25157594680786133, -0.7012467384338379, -0.12448735535144806, -0.9774574637413025, -0.2565109431743622, -0.05705234780907631, -0.0007629139581695199, -0.37982699275016785, 0.06050502136349678, -0.3306330442428589, 0.3334783911705017, 0.49461373686790466, -0.33818069100379944, 0.3722863495349884, 0.0351218543946743, -0.1331874579191208, -0.48478007316589355, -0.6174085736274719, -0.5775924921035767, 1.3535959720611572, 0.1962938904762268, 0.6977105140686035, -0.2544932961463928, 0.34684860706329346, 0.6665370464324951, 0.4923373758792877, -0.3394623100757599, 0.3636501729488373, -0.4052732586860657, -1.0602283477783203, -0.003811868140473962, -0.6903509497642517, -0.8265506029129028, 0.46526890993118286, -0.3378753662109375, -0.7656010985374451, 0.3684733510017395, 0.2737334966659546, 0.3003216087818146, 0.22576795518398285, -0.4771822690963745, 0.8781282901763916, -0.3440418839454651, -0.30397218465805054, 0.21126359701156616, -0.34277305006980896, 0.6562052369117737, 0.003400741843506694, 0.5409360527992249, -0.3363252282142639, 0.2433122992515564, 0.9880119562149048, -0.3673829734325409, 0.7149602174758911, -0.22224915027618408, -0.08459363132715225, -0.13211394846439362, 0.21723511815071106, 0.014226398430764675, 0.08756814152002335, -0.15202189981937408, 0.5978012681007385, 0.03262206166982651, -0.22080649435520172, -0.3283410370349884, 0.6238769292831421, -0.77985018491745, -0.24831242859363556, -0.7139015793800354, -0.5625001192092896, -0.3159262239933014, 0.3429054021835327, 0.35933393239974976, 0.2565205991268158, -0.5617181062698364, -0.060592491179704666, 0.44464319944381714, -0.2743707001209259, 0.2934006452560425, 0.505230188369751, -0.29101064801216125, -0.13193389773368835, 0.37793123722076416, -0.21365170180797577, 0.1070282831788063, 0.2885186970233917, 0.15070194005966187, -0.390696257352829, -0.12799644470214844, -0.466257244348526, 0.26328468322753906, -0.2897259294986725, 0.002512218663468957, -0.6470893025398254, 0.009964719414710999, -0.46297091245651245, 0.07162345200777054, -0.7985314726829529, -0.42731183767318726, -0.10754566639661789, -0.07886228710412979, 0.18503212928771973, 0.7760123610496521, 0.0427963025867939, 0.1893155723810196, -0.39188626408576965, 0.3371882736682892, 0.1934087574481964, 0.17147089540958405, -0.16741019487380981, -0.4580444097518921, 0.3668486475944519, 0.26880398392677307, 0.08363619446754456, -0.9110426306724548, 0.5503876209259033, 0.07323407381772995, 0.4636894166469574, 0.19602128863334656, 0.08504638820886612, 0.2078855186700821, -0.48360928893089294, 0.5594006180763245, 0.22994393110275269, -1.2048548460006714, 0.41177481412887573, -0.5190889239311218, 0.046006131917238235, 0.7622133493423462, 0.23412218689918518, -0.5866321325302124, -0.5892162919044495, -0.5896435976028442, -0.7300560474395752, 0.8206305503845215, 0.5581116080284119, 0.3194034695625305, -0.20864519476890564, 0.25156956911087036, 0.12379669398069382, 0.8389784693717957, -0.9604542255401611, -0.30714693665504456, -0.3718995451927185, -0.25392946600914, 0.126591756939888, -0.35606124997138977, -0.01190180703997612, -0.058890242129564285, 0.4811556339263916, -0.07668990641832352, 0.27059999108314514, 0.0696994960308075, -0.37017348408699036, 0.09179257601499557, 0.644199550151825, 0.3346189856529236, 0.5082168579101562, -0.502335250377655, 0.022257909178733826, -0.07085265219211578, -0.48477309942245483, -0.0017027840949594975, -0.04360289126634598, -0.5016074180603027, 0.23645171523094177, 0.396930456161499, 0.630013108253479, 0.33724555373191833, -0.8403435945510864, 0.8628058433532715, -0.2610425353050232, -0.254551500082016, -0.24490895867347717, -0.09964374452829361, -0.20076049864292145, 0.2286979854106903, 0.2294182926416397, 0.13968342542648315, 0.15570534765720367, -0.6923785209655762, -0.008369465358555317, 0.702347457408905, -1.0628724098205566, -0.3395369350910187, 0.9315281510353088, 0.20142339169979095, 0.16608291864395142, 0.795028805732727, 0.08049217611551285, -0.41212892532348633, 0.564041256904602, 0.3718322813510895, 0.9206345677375793, -0.18323415517807007, 0.5223371386528015, 0.21370242536067963, 0.68829345703125, -0.2572875916957855, 0.22243739664554596, 0.26184922456741333, -0.8067074418067932, 0.12546080350875854, -0.643044650554657, -0.01149352453649044, 0.09031280130147934, -0.7345985174179077, 0.18586328625679016, -0.3999682366847992, -0.1350231170654297, -0.22594882547855377, -0.3792966902256012, -0.6093743443489075, 0.15261024236679077, 0.12723027169704437, 0.7660014629364014, -1.0897969007492065, 0.5272468328475952, 0.673026978969574, -0.30969488620758057, -0.3614896535873413, -0.05102840065956116, 0.23749594390392303, -0.6464589238166809, 0.6810451745986938, 0.2512182891368866, -0.14348261058330536, -0.5751854777336121, -0.4302152693271637, -0.36111980676651, 0.6312927007675171, 0.7235159277915955, -0.38627520203590393, -0.24941754341125488, 0.18930089473724365, 0.6153106689453125, -0.5963817834854126, 0.6355301141738892, 0.3689625859260559, 0.3749397397041321, -0.13164669275283813, -0.947508692741394, -0.0473816879093647, -0.3524034023284912, 0.1971384882926941, -0.048078473657369614, -0.2784610688686371, 1.0028533935546875, -0.09267737716436386, 0.03674609586596489, 0.019055915996432304, 0.556257426738739, 0.15749311447143555, 0.24510563910007477, 0.41229960322380066, 0.3395019471645355, 0.9812873601913452, 0.07579516619443893, 1.0179574489593506, -0.03468864783644676, 0.30596300959587097, 1.1552410125732422, -0.39466360211372375, 0.5695449709892273, 0.46996942162513733, 0.20016959309577942, 0.5020666718482971, 0.27849018573760986, 0.16895397007465363, 0.45600688457489014, 0.28847047686576843, -0.10882394015789032, -0.23134712874889374, -0.49392038583755493, -0.3754172623157501, 0.780387818813324, -0.17273905873298645, -0.6970794200897217, -0.25639885663986206, -0.057326748967170715, 0.49018892645835876, 0.1489412933588028, -0.2929316759109497, 0.32712748646736145, 0.06621642410755157, -0.4405864477157593, 0.27121099829673767, 0.08660125732421875, 0.9878606200218201, -0.59449702501297, 0.04552563279867172, -0.46623262763023376, 0.16743265092372894, -0.1633056104183197, -0.3822133243083954, 0.06710250675678253, 0.48637887835502625, -0.5032063126564026, -0.2683483064174652, 0.5703777074813843, -0.6574075222015381, -0.6914732456207275, 0.41253748536109924, 0.8494018912315369, 0.1260199099779129, -0.10149455815553665, -0.42774903774261475, -0.35693153738975525, 0.14652104675769806, -0.027326462790369987, 0.43804314732551575, 0.1737995594739914, -0.413120836019516, 0.5480793118476868, 0.612104058265686, 0.1503550410270691, 0.03577784448862076, 0.44487860798835754, 0.5344038009643555, -0.5774016976356506, -0.2510477304458618, -0.835414469242096, 0.2155051827430725, -0.14875932037830353, -0.3986143469810486, 0.8198685646057129, 0.6357348561286926, 0.839029848575592, 0.027860261499881744, 0.8611889481544495, 0.13014553487300873, 0.31308797001838684, -0.43342557549476624, 1.1335687637329102, -0.6290595531463623, 0.18876321613788605, -0.6940048336982727, -0.9904283285140991, -0.1645083725452423, 0.6285701990127563, -0.329228013753891, 0.3973511755466461, 0.771812915802002, 0.607326328754425, 0.029243916273117065, 0.345491886138916, 0.16280531883239746, 0.1789664477109909, -0.10108376294374466, 0.3785170912742615, 0.9010393619537354, -0.29021909832954407, 0.4047009348869324, -0.00456224475055933, -0.2924036681652069, 0.2682841122150421, -0.9181433320045471, -1.3220503330230713, -0.2837145924568176, -0.20624807476997375, -0.20145992934703827, 0.47014790773391724, 0.781436026096344, 0.4096347391605377, -0.5517390966415405, -0.5547851324081421, -0.10789772868156433, 0.3008785843849182, 0.09496258944272995, -0.18495680391788483, 0.1883503496646881, -0.19595284759998322, -0.8118383288383484, 0.16562804579734802, -0.03687228262424469, -0.17261508107185364, 0.0036243379581719637, 0.012747233733534813, -0.07096092402935028, 0.03897150605916977, 0.24087537825107574, 0.037427935749292374, -0.29132431745529175, -0.16895654797554016, 0.16892151534557343, 0.016149330884218216, -0.016308773308992386, 1.060263991355896, -0.7196414470672607, 0.45480799674987793, 0.40298062562942505, -0.007945210672914982, 0.2012375444173813, -0.09418904036283493, 0.8162363767623901, -0.8174539804458618, 0.24426360428333282, 0.08047901093959808, 0.3287791609764099, 0.5437766313552856, -0.09556843340396881, 0.35396531224250793, 0.33554917573928833, -0.12993350625038147, -0.9116891026496887, 0.04953084886074066, -0.4289768636226654, -0.38968583941459656, 1.178071141242981, 0.20072413980960846, -0.33974263072013855, -0.014221505261957645, 0.14381985366344452, 0.2707206904888153, -0.6650455594062805, 0.9033872485160828, 0.7499827146530151, -0.04217492416501045, -0.08770062774419785, -1.0081660747528076, 0.7562180757522583, 0.5343301892280579, -0.651138424873352, 0.3575654923915863, 0.7291392087936401, 0.4375232756137848, -0.250440388917923, 0.7540811896324158, -0.2614009976387024, 0.05092241242527962, -0.18727797269821167, 0.36079996824264526, 0.0570661835372448, -0.31069597601890564, -0.30163633823394775, -0.04688863828778267, -0.11776068061590195, -0.055988118052482605 ]
http://arxiv.org/abs/2405.00578v1
http://arxiv.org/pdf/2405.00578v1
The Real, the Better: Aligning Large Language Models with Online Human Behaviors
2024-05-01T15:30:41
2024-05-01T15:30:41
Guanying Jiang, Lingyong Yan, Haibo Shi, Dawei Yin
cs.CL
cs.CL, cs.AI
Large language model alignment is widely used and studied to avoid LLM producing unhelpful and harmful responses. However, the lengthy training process and predefined preference bias hinder adaptation to online diverse human preferences. To this end, this paper proposes an alignment framework, called Reinforcement Learning with Human Behavior (RLHB), to align LLMs by directly leveraging real online human behaviors. By taking the generative adversarial framework, the generator is trained to respond following expected human behavior; while the discriminator tries to verify whether the triplets of query, response, and human behavior come from real online environments. Behavior modeling in natural-language form and the multi-model joint training mechanism enable an active and sustainable online alignment. Experimental results confirm the effectiveness of our proposed methods by both human and automatic evaluations.
[ -0.3233690559864044, -0.9299089312553406, 0.41436073184013367, 0.1159319207072258, 0.09934001415967941, 0.4662337005138397, -0.32051974534988403, -0.5606611371040344, 0.3081979751586914, 0.3329137861728668, -0.7788540720939636, 0.030321326106786728, -0.09244241565465927, -0.09891485422849655, 0.004027324263006449, 0.9620813131332397, 0.0854666605591774, 0.17387911677360535, -0.3067935109138489, -0.1166565865278244, -0.43594151735305786, -0.5191970467567444, -0.7412854433059692, -0.5709661245346069, 0.5490645170211792, 0.016064077615737915, 0.9288778305053711, 0.7509455680847168, 0.39684978127479553, 0.3922468423843384, 0.20065313577651978, 0.4099017083644867, -0.6074013113975525, 0.09909604489803314, -0.2513048052787781, -0.2794235646724701, -0.5973740220069885, -0.004231829196214676, 0.4753427803516388, 0.2415175437927246, -0.745029628276825, -0.055456142872571945, -0.09093563258647919, 0.6115282773971558, -0.412871778011322, -0.15257741510868073, -0.3320019245147705, 0.20820748805999756, 0.17497889697551727, 0.0003157860483042896, -0.3339127004146576, -0.7538840770721436, 0.006050627678632736, -0.9635047316551208, -0.01655862107872963, 0.37481963634490967, 1.075395107269287, 0.33929142355918884, -0.504712700843811, -0.037354812026023865, -0.6835601925849915, 0.6502331495285034, -0.760661244392395, 0.5472404956817627, 0.2143993228673935, 0.4568799138069153, -0.46519437432289124, -0.24075429141521454, -0.8971830010414124, -0.23414893448352814, -0.09514756500720978, 0.11183888465166092, 0.1250932216644287, 0.16067323088645935, 0.1133149191737175, -0.01359640620648861, -0.80046147108078, 0.43813255429267883, -0.06252545863389969, -0.2716314196586609, 0.7774163484573364, 0.2454858124256134, 0.4177285134792328, 0.16470257937908173, -0.4923631250858307, -0.3563317358493805, -0.6775658130645752, 0.13084326684474945, 0.8137370347976685, 0.41951268911361694, -0.22837884724140167, 0.4808051884174347, 0.10902861505746841, 0.8663445115089417, 0.5505817532539368, -0.331582635641098, 0.10911683738231659, -0.12239311635494232, -0.1310148984193802, 0.3353966772556305, 0.8027394413948059, 0.3835253417491913, 0.35589420795440674, -0.22926898300647736, -0.14867784082889557, 0.08964721858501434, 0.8189918994903564, -0.5076959133148193, 0.003214813768863678, 0.07937470823526382, -0.3405246138572693, -0.3737310767173767, 0.16627810895442963, -0.7903513312339783, -0.6461484432220459, -0.6664976477622986, 0.3863765001296997, -0.22718390822410583, -0.5121288895606995, 0.018203159794211388, 0.2751443088054657, 0.40425798296928406, 0.2316073477268219, -1.131986379623413, 0.3972582519054413, 0.9676002264022827, 0.6162917017936707, -0.4089200794696808, -0.3455421030521393, -0.7875595688819885, 0.24922363460063934, -0.38352909684181213, 0.5194238424301147, -0.28794947266578674, 0.0019668908789753914, 0.15143105387687683, -0.07190161198377609, -0.11573774367570877, -0.5609603524208069, 0.3854556083679199, -0.8312707543373108, 0.461153119802475, -0.055517297238111496, -0.7347624897956848, -0.0757705345749855, 0.5596296191215515, -0.7449480891227722, 0.9935634136199951, -0.05935914069414139, -0.5526527166366577, 0.2198115736246109, -0.7052198052406311, -0.3416040241718292, -0.16580812633037567, -0.15676304697990417, -0.8379623293876648, -0.16194985806941986, 0.2211552858352661, 0.3000994026660919, 0.18301840126514435, 0.6203776597976685, -0.5507612824440002, -0.4034530818462372, 0.6662988662719727, -0.19584184885025024, 0.7072526812553406, 0.2493886947631836, -0.24496044218540192, 0.587714433670044, -0.5126282572746277, 0.046094123274087906, 0.2240079790353775, -0.7665402293205261, -0.08013490587472916, 0.22294987738132477, -0.11835338920354843, 0.46923351287841797, 0.2316095530986786, -0.5132986307144165, 0.4532451629638672, -0.5652377605438232, 0.2289036065340042, 1.0228352546691895, -0.23872241377830505, 0.5638967156410217, -0.47216805815696716, 0.7465059161186218, -0.3221573233604431, 0.07057709991931915, 0.5437714457511902, -0.0774284079670906, -0.672727108001709, -0.2791190445423126, 0.06823846697807312, 0.5550029277801514, -0.3908888101577759, 0.7573346495628357, -0.5321151614189148, -0.13767199218273163, -0.7303792238235474, 0.07052677124738693, 0.6757307648658752, 0.31272202730178833, 0.22698858380317688, -0.0009850499918684363, -0.7426794767379761, -0.727180004119873, -0.4228965938091278, -0.22594793140888214, -0.002468667458742857, 0.09116271883249283, 0.11103621870279312, -0.1824445128440857, 1.1389000415802002, -0.46542856097221375, -0.1393834948539734, -0.35319340229034424, 0.2229132056236267, -0.20075944066047668, 0.28051120042800903, 0.2435963749885559, -0.7964920401573181, -0.36847805976867676, -0.03073536790907383, -0.6992888450622559, 0.07794589549303055, -0.1752219945192337, -0.320789635181427, 0.29697057604789734, 0.4258502721786499, -0.5069072246551514, -0.04783998429775238, 0.7556665539741516, -0.22845622897148132, 0.2570156455039978, -0.3459066152572632, 0.08343328535556793, -1.145379662513733, -0.09098697453737259, 0.20884151756763458, -0.6687526702880859, -0.5833266377449036, 0.06688956171274185, 0.12948518991470337, -0.051392391324043274, -0.519698441028595, 0.6809235215187073, -0.3259700834751129, -0.41741690039634705, -0.25860825181007385, 0.206344336271286, -0.033562615513801575, 0.6330417394638062, 0.2588805854320526, 0.8120236396789551, -0.016955675557255745, -0.7701808214187622, 0.7293356657028198, 0.3822348415851593, -0.4386126399040222, 0.7502611875534058, -0.2657727301120758, 0.11714467406272888, -0.2696373462677002, 0.48150354623794556, -0.7452571988105774, -0.4090152680873871, 0.31094396114349365, -0.3533813953399658, 0.3481106758117676, 0.11302715539932251, -0.2822296619415283, -0.23650358617305756, -0.36020636558532715, 0.09745066612958908, 0.3700942099094391, -0.7177078127861023, 0.7106326222419739, 0.3940616250038147, 0.05312712490558624, -0.46935734152793884, -0.4874171018600464, -0.031243333593010902, -0.4681158661842346, -0.5519124865531921, 0.5255404114723206, -0.19599249958992004, -0.3154543936252594, -0.16987182199954987, 0.17572356760501862, 0.051285725086927414, 0.2464292049407959, 0.04803360253572464, 0.5573707818984985, -0.12623389065265656, 0.06782467663288116, -0.5568013191223145, 0.04910283908247948, -0.11451002210378647, -0.05815253034234047, 0.5180889964103699, 0.019473593682050705, -0.4943481683731079, -0.6103819012641907, 0.05438779294490814, 0.27565234899520874, -0.07789979875087738, 0.7532963156700134, 0.6966763138771057, -0.2065628170967102, -0.036932166665792465, -0.39847543835639954, -0.24734382331371307, -0.4950231909751892, 0.49592509865760803, 0.02546338550746441, -0.8716464638710022, 0.12440524250268936, 0.17871199548244476, 0.030026037245988846, -0.12717875838279724, 0.5274232029914856, -0.32555726170539856, 1.449723720550537, 0.6884598135948181, -0.09342896193265915, 0.6327340006828308, 0.3485807180404663, 0.5321401357650757, -0.8177443742752075, -0.27061545848846436, -0.1974143534898758, -0.46158358454704285, -0.6568107008934021, -0.12053357064723969, 0.17799769341945648, 0.09730412811040878, -0.6989961266517639, 0.3763220012187958, -0.37496137619018555, 0.3185717463493347, 0.3471544086933136, 0.31581753492355347, 0.04019227996468544, -0.008868670091032982, -0.07870665937662125, -0.2882538139820099, -0.445768803358078, -0.4701330363750458, 0.7384645938873291, 0.37436431646347046, 0.8557026386260986, 0.6265994310379028, 0.46136561036109924, 0.2941298186779022, 0.4765944480895996, -0.8036249279975891, 0.44913965463638306, 0.2196345031261444, -0.6638810038566589, -0.3875112235546112, -0.4138823449611664, -0.9311952590942383, 0.41517606377601624, -0.5114591717720032, -0.7266369462013245, -0.3251608610153198, 0.4732494652271271, -0.5669997334480286, 0.24299919605255127, -0.36521658301353455, 0.9115567207336426, -0.974371612071991, -0.45078223943710327, -0.25611570477485657, -0.6732853651046753, 0.5288662314414978, 0.03743968904018402, 0.4382951259613037, -0.180395245552063, 0.04295215383172035, 0.711420476436615, -0.2530570328235626, 0.9660401940345764, -0.1431839019060135, -0.2424391508102417, -0.17919933795928955, 0.1376560926437378, 0.9731412529945374, -0.4364296793937683, 0.08882085978984833, -0.36140599846839905, -0.3603707253932953, -0.22768308222293854, -0.5703149437904358, 0.7522914409637451, -0.9708285331726074, -0.5124365091323853, -0.5572086572647095, -0.3038819134235382, -0.5516223311424255, -0.08706670254468918, -0.1513710469007492, 0.01100842747837305, -0.5424867272377014, -0.14455896615982056, 0.8053956627845764, -0.2782258689403534, 0.34204983711242676, 0.6756917238235474, -0.5327887535095215, -0.47702810168266296, 1.2044492959976196, -0.4282439649105072, 0.31461474299430847, 0.6140747666358948, 0.3831564486026764, -0.6444681882858276, -0.09959546476602554, -0.5259906053543091, 0.2915985584259033, -0.5174788236618042, -0.062326859682798386, -0.48919954895973206, 0.05042403191328049, -0.613200843334198, -0.39073243737220764, -0.18628185987472534, 0.0003312488261144608, -0.3224753439426422, -0.31081080436706543, 0.23602959513664246, 0.6640416383743286, 0.06971564888954163, 0.4295955300331116, -0.7731189131736755, 0.4770768880844116, 0.6629567742347717, 0.27579107880592346, 0.0360475592315197, -0.48452767729759216, -0.1317749172449112, 0.18971340358257294, -0.46658754348754883, -0.6034712791442871, 0.44351696968078613, 0.27839744091033936, 0.7616000175476074, 0.593923032283783, 0.01858527399599552, 0.9563398957252502, -0.3304865062236786, 0.5766359567642212, 0.37782084941864014, -0.6834708452224731, 0.22505298256874084, -0.34365007281303406, -0.022167682647705078, 0.3892931342124939, 0.5054038166999817, -0.7708499431610107, -0.014627194963395596, -0.4173412621021271, -0.5876371264457703, 0.8035638332366943, -0.09677048772573471, -0.009425901807844639, 0.07156301289796829, 0.10032910108566284, -0.14368128776550293, 0.19993971288204193, -1.024243950843811, 0.038383107632398605, -0.26180049777030945, -0.5178347826004028, 0.139957457780838, 0.1774006187915802, -0.22477179765701294, -0.08573252707719803, 0.9219284653663635, -0.32857877016067505, 0.11204025894403458, -0.4588944911956787, -0.31499069929122925, -0.35589057207107544, 0.1950346976518631, 0.6838995218276978, 0.6090537309646606, -0.1943017691373825, -0.08775755763053894, 0.028612559661269188, -0.043388474732637405, 0.41928187012672424, -0.15967431664466858, 0.0072761825285851955, -0.6755011081695557, 0.26537391543388367, 0.8604279160499573, 0.5542547106742859, -0.9001436829566956, 0.6615430116653442, -0.23271150887012482, -0.008602051064372063, -0.33869749307632446, 0.22329342365264893, 0.3948611617088318, 0.17664383351802826, -0.10056215524673462, -0.2658228278160095, -0.41458407044410706, -0.5764963030815125, 0.13022805750370026, 0.6418771743774414, -0.4714455306529999, -0.22405368089675903, 0.688667893409729, 0.39636847376823425, -0.5249005556106567, 0.6986687183380127, -0.23410242795944214, -0.6564462184906006, 0.4985654652118683, 0.779495894908905, 0.6210882067680359, -0.22010952234268188, 0.2994474172592163, 0.47608304023742676, -0.14212572574615479, -0.4121525287628174, 0.003728794865310192, 0.11909276992082596, -1.0252577066421509, -0.45775407552719116, -0.8775360584259033, -0.31231406331062317, 0.07560136914253235, -0.6186853647232056, 0.29862383008003235, -0.47219982743263245, 0.02640005573630333, -0.1424989253282547, -0.1429763287305832, -0.30453911423683167, 0.158132866024971, 0.310576856136322, 0.21031321585178375, -0.8406527042388916, 0.8858304619789124, 0.7502844333648682, -0.4324127435684204, -0.8257191181182861, 0.11871249973773956, 0.3688144385814667, -1.0575536489486694, 0.6773757338523865, 0.1816411167383194, -0.2935240864753723, 0.1800410896539688, -0.4590405523777008, -0.9291645288467407, 0.9938916563987732, 0.39228326082229614, -0.6707620024681091, -0.0684489980340004, -0.10318548232316971, 0.4952906668186188, -0.35781461000442505, 0.034514229744672775, 0.3532945215702057, 0.5994323492050171, -0.029471782967448235, -0.7427648901939392, 0.10541042685508728, 0.19515405595302582, 0.0754784494638443, 0.5110880732536316, -0.6035104990005493, 0.5131729245185852, -0.06793727725744247, -0.42149728536605835, 0.01196857076138258, 0.7090007662773132, 0.3859260678291321, -0.21374383568763733, 0.593723714351654, 0.7902613878250122, 0.801435112953186, 0.1127273365855217, 0.8045329451560974, -0.003993913996964693, 0.28486624360084534, 1.192496418952942, -0.5894346237182617, 0.8711355328559875, 0.3920349180698395, -0.4693654477596283, 0.5400140881538391, 0.7976101040840149, 0.1324639618396759, 0.5317859053611755, 0.43013995885849, -0.3928261697292328, -0.6241858005523682, -0.1057845950126648, -0.08527404069900513, 0.31861358880996704, 0.1680225282907486, 0.17737002670764923, -0.06663867086172104, -0.04748188331723213, 0.08147091418504715, 0.5378813743591309, -0.16561102867126465, 1.2182087898254395, -0.238458514213562, -1.1537336111068726, 0.4398711621761322, 0.18728160858154297, 1.0908393859863281, -0.6110648512840271, 0.025126878172159195, -0.06963489949703217, 0.3128276765346527, -0.30421534180641174, -0.6320019960403442, 0.13550159335136414, -0.09751126915216446, -0.08321242779493332, -0.3393322229385376, 0.4187089204788208, -0.5664810538291931, -0.2934218943119049, 0.3620448708534241, 0.147699236869812, -0.08664809167385101, 0.19709412753582, -0.8688295483589172, -0.14216548204421997, -0.034643612802028656, -0.12855671346187592, 0.8848151564598083, -0.09766755998134613, -0.22983577847480774, 0.7373268604278564, 0.8478818535804749, 0.12972353398799896, 0.09821965545415878, 0.0454411543905735, 0.4414798617362976, -0.7100335359573364, -0.6191384196281433, -0.778285562992096, 0.3206109404563904, -0.2299337536096573, -0.057333894073963165, 0.47741225361824036, 0.4070816934108734, 0.9021804928779602, 0.13710138201713562, 0.7866805791854858, 0.0030617702286690474, 0.4854097068309784, -0.638915479183197, 0.43214428424835205, -0.3977679908275604, 0.02729080803692341, 0.22696836292743683, -0.9287263751029968, -0.07803872972726822, 0.853726327419281, -0.012823743745684624, -0.029306819662451744, 0.3625320494174957, 1.0147385597229004, -0.22871048748493195, -0.34004321694374084, 0.32786625623703003, -0.154860720038414, 0.5291132926940918, 0.25466740131378174, 0.8697569370269775, 0.04557942971587181, 0.5029971599578857, -0.051909156143665314, -0.01765650138258934, -0.5147965550422668, -1.196079134941101, -0.6582985520362854, -0.1721869707107544, -0.22502250969409943, -0.40975379943847656, 0.13599523901939392, 1.556982398033142, 0.667320728302002, -0.7279943227767944, -0.29501622915267944, -0.1398087739944458, 0.04157564416527748, -0.40741807222366333, -0.2758996784687042, 0.1450904756784439, -0.28045853972435, -0.5151405334472656, 0.5519457459449768, 0.0611436665058136, 0.14816409349441528, -0.5647351741790771, -0.7787260413169861, -0.5789880752563477, 0.006282253190875053, 0.2682226002216339, 0.5610678195953369, -0.9767811298370361, -0.45774009823799133, -0.1588805913925171, -0.44059067964553833, 0.1834864765405655, 0.785051703453064, -0.6647975444793701, 0.44039830565452576, 0.42165350914001465, 0.7887980937957764, 0.23916685581207275, 0.5413392186164856, 0.8962869644165039, -0.7993696331977844, -0.1098983883857727, 0.18343962728977203, 0.23892301321029663, 0.6333997845649719, -0.36105865240097046, 0.14621064066886902, -0.040545184165239334, -0.6507071852684021, -0.48100733757019043, 0.41443371772766113, -0.7438934445381165, -0.3080213963985443, 1.1155263185501099, -0.12951719760894775, -0.22204402089118958, -0.17810849845409393, -0.08734072744846344, 0.5162885785102844, -0.5012040138244629, 0.9999505281448364, 0.6148143410682678, -0.4203534424304962, -0.009806605987250805, -0.43913570046424866, 0.6012089252471924, 0.3160419464111328, -1.0760186910629272, 0.16701216995716095, 0.6319979429244995, 0.21060062944889069, -0.07227067649364471, 0.43248414993286133, 0.27171197533607483, 0.04688103869557381, -0.6219176650047302, 0.35096460580825806, -0.0255934726446867, -0.043983254581689835, -0.5130629539489746, -0.12455379962921143, 0.293689101934433, -0.026118211448192596 ]
http://arxiv.org/abs/2405.00566v1
http://arxiv.org/pdf/2405.00566v1
NumLLM: Numeric-Sensitive Large Language Model for Chinese Finance
2024-05-01T15:17:27
2024-05-01T15:17:27
Huan-Yi Su, Ke Wu, Yu-Hao Huang, Wu-Jun Li
cs.CE
cs.CE, cs.CL, q-fin.GN
Recently, many works have proposed various financial large language models (FinLLMs) by pre-training from scratch or fine-tuning open-sourced LLMs on financial corpora. However, existing FinLLMs exhibit unsatisfactory performance in understanding financial text when numeric variables are involved in questions. In this paper, we propose a novel LLM, called numeric-sensitive large language model (NumLLM), for Chinese finance. We first construct a financial corpus from financial textbooks which is essential for improving numeric capability of LLMs during fine-tuning. After that, we train two individual low-rank adaptation (LoRA) modules by fine-tuning on our constructed financial corpus. One module is for adapting general-purpose LLMs to financial domain, and the other module is for enhancing the ability of NumLLM to understand financial text with numeric variables. Lastly, we merge the two LoRA modules into the foundation model to obtain NumLLM for inference. Experiments on financial question-answering benchmark show that NumLLM can boost the performance of the foundation model and can achieve the best overall performance compared to all baselines, on both numeric and non-numeric questions.
[ -0.0708095133304596, -1.0292245149612427, 0.04916459694504738, 0.3952723443508148, -0.47582167387008667, 0.17610906064510345, -0.3599872887134552, -0.3806317448616028, -0.25680744647979736, 0.8676670789718628, -0.05035340413451195, -0.7350325584411621, -0.3303992748260498, -0.04751600697636604, -0.2993355989456177, 1.1945686340332031, 0.2928983271121979, 0.12152229249477386, -0.007806063629686832, -0.07073993980884552, -0.3475923538208008, -0.5956388115882874, -0.7481101751327515, -0.23726628720760345, 0.3104434907436371, 0.2306383103132248, 0.7130531668663025, 0.3468713164329529, 0.670520007610321, 0.2971138656139374, -0.20020532608032227, -0.049375880509614944, -0.5321117043495178, -0.15763764083385468, 0.11519934237003326, -0.4865076541900635, -0.8964413404464722, -0.2433762103319168, 0.7823589444160461, 0.7164020538330078, -0.05549190565943718, 0.3334902822971344, 0.1373409628868103, 0.6759520173072815, -0.6265156269073486, 0.3946787714958191, -0.6310350298881531, -0.09046275168657303, 0.09937458485364914, -0.21961988508701324, -0.700497031211853, -0.46056777238845825, 0.14028893411159515, -0.6837957501411438, -0.01816144399344921, -0.05720735341310501, 0.39970120787620544, 0.3783535063266754, -0.6344115734100342, 0.016583656892180443, -0.42042770981788635, 0.7248768210411072, -1.0571178197860718, -0.016575252637267113, 0.43846482038497925, 0.272360235452652, 0.08451516181230545, -0.5332298874855042, 0.012836713343858719, -0.3828337788581848, -0.08817000687122345, -0.12455764412879944, 0.01717640645802021, -0.15283946692943573, 0.29949894547462463, 0.2209959775209427, -0.5649906396865845, 0.3174166977405548, -0.25060299038887024, -0.0304938405752182, 0.7902820706367493, 0.20535096526145935, 0.010966408997774124, 0.05332593619823456, -0.7583511471748352, -0.14721699059009552, -0.828732967376709, -0.009994364343583584, -0.03310902789235115, 0.6322185397148132, -0.41694319248199463, 0.2703707814216614, -0.04545779526233673, 0.8543561697006226, -0.05616649612784386, -0.29666998982429504, 0.15814609825611115, -0.04164343327283859, -0.599689781665802, 0.3687538206577301, 0.2924685776233673, 0.19678834080696106, 0.4258960783481598, 0.12507547438144684, -0.4459924101829529, -0.32387760281562805, -0.07684007287025452, -0.8216286301612854, -0.2139437049627304, 0.23688307404518127, -0.4373569190502167, -0.5562183856964111, 0.0870886817574501, -0.6007689237594604, -0.5437468886375427, -0.2532212734222412, 0.5114269852638245, -0.30210497975349426, -0.2836024761199951, 0.23601295053958893, 0.019716138020157814, 0.6686742305755615, 0.4010351896286011, -0.9706634879112244, 0.2535693049430847, 1.0493746995925903, 0.7246173620223999, 0.023925183340907097, -0.06950432062149048, -0.9360781908035278, 0.32289546728134155, -0.2774219512939453, 0.7503677606582642, -0.36048460006713867, -0.40143904089927673, -0.1415780782699585, -0.30514320731163025, -0.06105271726846695, -0.5166199207305908, 0.0603262223303318, -0.7006487846374512, -0.01719622127711773, -0.004505365155637264, -0.4818451702594757, -0.10885263234376907, 0.31876465678215027, -0.7684486508369446, 0.7845335006713867, 0.24827399849891663, -0.7634981870651245, 0.2896483242511749, -0.9880300760269165, -0.40328723192214966, 0.4315333068370819, -0.038621578365564346, -0.48498088121414185, -0.1722153276205063, -0.04651324078440666, 0.38023191690444946, -0.5300542712211609, 0.591457724571228, -0.47141408920288086, -0.6288045644760132, 0.8204882144927979, -0.6046227812767029, 0.7470113635063171, 0.058216921985149384, -0.2864547371864319, 0.27315661311149597, -0.9406613707542419, 0.006623547989875078, 0.03929625451564789, -0.24872171878814697, -0.6758310794830322, -0.3493903577327728, 0.2834600508213043, -0.14297878742218018, 0.6247480511665344, -0.06310423463582993, 0.13433876633644104, -0.6074293255805969, 0.4646974503993988, 0.9841281771659851, -0.11248163878917694, 0.4871572256088257, -0.31335383653640747, 0.3517923355102539, -0.09539148211479187, 0.11512285470962524, -0.01982763037085533, -0.22637557983398438, -0.505370557308197, -0.1529712975025177, 0.48880472779273987, 0.387534499168396, -0.5318971276283264, 0.2220032662153244, -0.013475676998496056, -0.3565012812614441, -0.2213025689125061, 0.2808355689048767, 0.2721666395664215, 0.3495550751686096, 0.145613431930542, 0.05989488959312439, -0.2871360182762146, -0.6950371861457825, -0.18973958492279053, -0.3187641203403473, -0.09120695292949677, 0.20890451967716217, 0.44686970114707947, 0.3331701457500458, 0.7322452068328857, -0.7819004654884338, -0.13068541884422302, -0.24256853759288788, 0.22724880278110504, 0.6536426544189453, 0.3703038692474365, 0.8626841902732849, -1.2119828462600708, -0.6019932627677917, 0.21973831951618195, -0.44198471307754517, -0.19020476937294006, -0.21076299250125885, -0.03223944082856178, 0.3210979998111725, 0.5747115612030029, -0.3421812057495117, 0.4318237900733948, 0.5305299162864685, -0.7742346525192261, 0.21658217906951904, -0.45566216111183167, -0.3946669399738312, -0.9380816221237183, 0.3568357527256012, -0.03147562965750694, -0.07216477394104004, -0.7435791492462158, 0.09271089732646942, 0.35410434007644653, 0.15558433532714844, -0.5003715753555298, 0.8721816539764404, -0.3748392164707184, -0.3072523772716522, -0.48573121428489685, 0.31354039907455444, 0.08554266393184662, 0.4824391305446625, -0.08907226473093033, 0.7119750380516052, 0.31897208094596863, -0.6094807386398315, 0.2291402667760849, 0.20137497782707214, -0.4774702191352844, 0.43220359086990356, -0.6937069296836853, -0.10823442041873932, 0.059681814163923264, 0.04786904901266098, -1.0426421165466309, 0.10168491303920746, 0.12853746116161346, -0.13035541772842407, 0.26009756326675415, -0.008134989999234676, -0.10904160887002945, -0.057749178260564804, -0.1815883070230484, 0.556283712387085, 0.3933382034301758, -0.3267251253128052, 0.5960590839385986, 0.11848097294569016, -0.47483205795288086, -0.6161572337150574, -0.48952654004096985, 0.005058689974248409, -0.41918709874153137, -0.5778152346611023, 0.09884737432003021, -0.2895961105823517, -0.5991175174713135, -0.15841826796531677, 0.06989244371652603, -0.14960156381130219, 0.7745085954666138, 0.14941389858722687, 0.8844783902168274, -0.7744137644767761, 0.32788777351379395, -0.35612285137176514, -0.3798145055770874, 0.0076362756080925465, -0.21171076595783234, 0.4517951011657715, -0.2711760997772217, -0.13740767538547516, 0.24008217453956604, -0.04028240963816643, 0.49961230158805847, -0.37950557470321655, 0.8544901609420776, 0.44630488753318787, -0.2089289426803589, -0.37799930572509766, -0.31146907806396484, 0.016091953963041306, -0.484392911195755, 0.42048975825309753, -0.29087260365486145, -1.0481669902801514, 0.3450877070426941, 0.030310623347759247, 0.07544199377298355, 0.7301580905914307, 0.9023162722587585, 0.3684854805469513, 0.5067328214645386, 0.7474303841590881, -0.36304745078086853, 0.22772179543972015, -0.1604476273059845, 0.13101857900619507, -0.3782828450202942, -0.04329248517751694, -0.620066225528717, -0.29363319277763367, -0.2797720730304718, -0.3619534373283386, 0.19675618410110474, -0.017247026786208153, -0.6325380206108093, 0.18054290115833282, -0.018854517489671707, 0.578546941280365, 0.2422199845314026, -0.25557741522789, 0.6289738416671753, -0.1919085681438446, 0.0024935146793723106, 0.18450406193733215, -0.5036303997039795, -0.4025111496448517, 1.053802490234375, 0.39439859986305237, 0.9082333445549011, 0.20465348660945892, 0.07505403459072113, 0.31405404210090637, 0.6801254749298096, -0.4488382041454315, 0.2797980010509491, -0.6071641445159912, -0.4451883137226105, -0.6430851817131042, -0.6762869954109192, -0.5141005516052246, 0.23836271464824677, -0.13780303299427032, -0.4531891644001007, 0.02789887599647045, -0.19058988988399506, -0.8744783997535706, 0.18348877131938934, -0.2970043122768402, 0.845914363861084, -0.6781042218208313, -0.2597077190876007, 0.15713949501514435, -0.5403416752815247, 0.609252393245697, -0.7358905076980591, 0.3661085367202759, -0.39582836627960205, -0.1907426118850708, 0.5013515949249268, -0.23034149408340454, 1.1040369272232056, -0.08286131173372269, -0.6791900396347046, -0.021914130076766014, -0.12358297407627106, 0.44762179255485535, 0.26809293031692505, -0.4144890606403351, 0.227009579539299, -0.024493753910064697, -0.3595772683620453, -0.5465416312217712, 0.652769923210144, -0.7950382828712463, -0.5241295695304871, -0.3388040065765381, -0.8821475505828857, -0.15242359042167664, 0.2092069387435913, -0.09914034605026245, 0.20862746238708496, -0.42459776997566223, 0.5683945417404175, 0.3965217173099518, -0.39657464623451233, 0.4255176782608032, 0.9417872428894043, -0.48332738876342773, -0.42130953073501587, 0.6709286570549011, -0.07622947543859482, 0.42727917432785034, 0.7377620935440063, 0.31565943360328674, -0.3243510127067566, -0.3392358422279358, -0.17246925830841064, 0.2213304340839386, -0.5926993489265442, -0.2757507860660553, -0.39850741624832153, -0.5051000118255615, -0.5773172378540039, -0.233228862285614, -0.09836087375879288, -0.31506696343421936, -0.5399294495582581, -0.11387671530246735, 0.7994046211242676, 0.6322423815727234, -0.15553270280361176, 0.13741275668144226, -0.8726064562797546, 0.6459702253341675, 0.3242861032485962, 0.5018450617790222, 0.1701517552137375, -1.029831051826477, -0.4637569189071655, 0.08906280994415283, 0.20618899166584015, -0.27283409237861633, 0.5984150171279907, 0.20164650678634644, 0.35245388746261597, 0.7790889739990234, 0.40598034858703613, 0.5675382018089294, 0.1525690108537674, 0.27436110377311707, -0.03195078670978546, -0.8035239577293396, 0.09420182555913925, -0.20428794622421265, 0.43467098474502563, 0.4885239899158478, 0.0868833139538765, -0.6464296579360962, -0.2510252296924591, -0.18031831085681915, -0.9424593448638916, 0.6164668202400208, 0.024428725242614746, 0.20154830813407898, 0.19110392034053802, 0.46985894441604614, 0.267330139875412, 0.3066229820251465, -0.7844401001930237, -0.16728182137012482, 0.006306379567831755, -0.0186027679592371, -0.34683865308761597, -0.3931632339954376, 0.04360944777727127, -0.13397666811943054, 0.6475178599357605, -0.425530344247818, -0.3446674644947052, -0.21670500934123993, 0.019376318901777267, -0.11824024468660355, 0.16429373621940613, 0.631477415561676, 0.6649692058563232, -0.44521456956863403, 0.061156149953603745, 0.43555331230163574, -0.4215194284915924, 0.02619750052690506, -0.03612364083528519, -0.2093181163072586, -0.1394011676311493, 0.3416222333908081, 0.781125009059906, 0.8815750479698181, -0.7738674283027649, 0.5437177419662476, -0.13837501406669617, -0.42451924085617065, -0.5571213960647583, 0.15851333737373352, 0.23304449021816254, 0.3458150327205658, 0.547716498374939, -0.2569136321544647, -0.18010295927524567, -0.33991873264312744, 0.2783442735671997, 0.35652956366539, -0.31902432441711426, 0.021839125081896782, 0.8071333169937134, 0.24962088465690613, -0.11227580904960632, 0.5506990551948547, 0.29726019501686096, -0.39375415444374084, 1.0182113647460938, 0.7444939017295837, 0.9744016528129578, -0.15615741908550262, 0.3803621828556061, 0.10374753177165985, 0.14545969665050507, -0.1216980442404747, 0.37626445293426514, 0.1006498709321022, -0.6425598859786987, -0.5922293066978455, -0.8493049740791321, -0.5748657584190369, 0.12969940900802612, -0.7069360613822937, 0.5699602365493774, -0.8321881294250488, -0.012119785882532597, 0.08363787084817886, -0.06404536962509155, -0.2645456790924072, 0.1347341537475586, 0.38713619112968445, 1.2172505855560303, -0.6436078548431396, 0.8223616480827332, 0.4492241442203522, -0.14636386930942535, -0.5390647053718567, -0.3938746750354767, -0.2624379098415375, -0.928371250629425, 0.7587348818778992, 0.03571901097893715, 0.20584861934185028, 0.05625433474779129, -0.5271226167678833, -0.9347467422485352, 1.252475619316101, 0.46547865867614746, -0.6077147722244263, -0.03668597340583801, 0.5758686065673828, 0.4275510311126709, -0.5059791207313538, -0.052688781172037125, 0.49962398409843445, 0.7615983486175537, 0.29717352986335754, -0.5625513792037964, -0.15032730996608734, -0.3978126049041748, -0.14656025171279907, 0.39464423060417175, -0.9796341061592102, 1.2543997764587402, -0.26155003905296326, 0.16578297317028046, 0.4172487258911133, 0.5665333271026611, 0.4312712252140045, 0.6927017569541931, 0.4379459619522095, 0.14643190801143646, 0.8410800099372864, 0.023733099922537804, 0.818432092666626, -0.6222248077392578, 0.46764668822288513, 1.1707090139389038, -0.5913828015327454, 1.05251145362854, 0.13502603769302368, -0.124715656042099, 0.22928458452224731, 0.3838528096675873, -0.4110075831413269, 0.19442488253116608, 0.40132689476013184, -0.32185128331184387, -0.523760974407196, 0.026440920308232307, -0.625945508480072, 0.6170607805252075, 0.129378542304039, -0.32107824087142944, 0.012987491674721241, -0.1468091458082199, -0.24143736064434052, -0.0319635309278965, -0.43750500679016113, 0.793815553188324, 0.5683271288871765, -0.23832160234451294, 0.3939228057861328, 0.257633775472641, 0.4300557076931, -0.7703879475593567, 0.00036098682903684676, -0.48273324966430664, 0.1834845393896103, 0.03345249965786934, -0.40567076206207275, 0.05688265338540077, 0.1745109111070633, -0.009775135666131973, -0.0009187294635921717, 0.994706392288208, -0.42620718479156494, -0.8530628681182861, 0.30258458852767944, 0.35149720311164856, 0.05711370334029198, -0.29991239309310913, -0.40773165225982666, -0.35714107751846313, -0.0745352953672409, -0.24326865375041962, 0.491270512342453, 0.780931830406189, -0.17074616253376007, 0.6423856616020203, 1.1388044357299805, -0.1117882952094078, -0.4377283751964569, 0.2828812301158905, 0.7242603898048401, -1.347862720489502, -0.7488883137702942, -1.0638153553009033, 0.196760356426239, 0.0805220678448677, -0.32560670375823975, 0.5647758841514587, 0.5165886282920837, 0.39696362614631653, -0.14394663274288177, 0.7094669342041016, 0.6778848171234131, 0.11325483024120331, -0.6913655996322632, 1.052459716796875, -0.4016895294189453, 0.5873488187789917, -0.37418076395988464, -0.9778040647506714, -0.6607413291931152, 0.42044100165367126, -0.4342572093009949, -0.07102962583303452, 0.27682504057884216, 0.4225744903087616, 0.16817592084407806, 0.30034348368644714, 0.8320671916007996, 0.604142963886261, -0.12749511003494263, 0.7388352155685425, 0.7131819128990173, -0.2426135390996933, 0.4888729751110077, 0.02985706366598606, 0.02946864441037178, -0.722122848033905, -1.0343152284622192, -0.8883537650108337, -0.015229812823235989, -0.28831052780151367, 0.001095356303267181, -0.3243368864059448, 0.7860250473022461, -0.013002259656786919, -0.814723789691925, -0.5548694729804993, 0.46239081025123596, 0.21998131275177002, 0.12133757770061493, -0.21117088198661804, 0.4713278114795685, -0.029038406908512115, -0.3722197711467743, 0.11106587201356888, 0.7724246382713318, 0.35107508301734924, -0.4790450632572174, -0.20895373821258545, 0.14124688506126404, 0.0570288822054863, 0.6815259456634521, 0.11977419257164001, -0.254925012588501, -0.07177763432264328, 0.2627047896385193, -0.28507333993911743, 0.04631035029888153, 0.8266946077346802, -0.5153277516365051, -0.09118649363517761, 0.15362147986888885, 0.7382454872131348, 0.25442445278167725, 0.22139385342597961, 0.5812505483627319, -0.24990665912628174, 0.229997918009758, 0.0423193983733654, 0.2793899178504944, 0.09737316519021988, -0.4754980504512787, 0.49305254220962524, -0.09694556146860123, -0.38872405886650085, -0.6380160450935364, -0.3372778296470642, -0.9891932606697083, -0.618426501750946, 1.251919150352478, -0.00856082420796156, -0.6364841461181641, -0.25859835743904114, -0.2902492582798004, -0.015485191717743874, -0.25958386063575745, 0.7602917551994324, 0.48040056228637695, 0.622291088104248, -0.05118553712964058, -0.48310235142707825, 0.1847928911447525, 0.296800822019577, -0.659892737865448, 0.3821655809879303, 0.19240179657936096, 0.16075372695922852, -0.1687307357788086, 0.649681568145752, 0.014163704589009285, 0.5529723167419434, -0.021610453724861145, -0.12129534780979156, -0.09183333814144135, -0.043461158871650696, -0.4196375012397766, 0.48019394278526306, 0.3665772080421448, 0.29012247920036316 ]
http://arxiv.org/abs/2405.00557v2
http://arxiv.org/pdf/2405.00557v2
Mixture of insighTful Experts (MoTE): The Synergy of Thought Chains and Expert Mixtures in Self-Alignment
2024-05-01T15:06:05
2024-07-03T15:04:25
Zhili Liu, Yunhao Gou, Kai Chen, Lanqing Hong, Jiahui Gao, Fei Mi, Yu Zhang, Zhenguo Li, Xin Jiang, Qun Liu, James T. Kwok
cs.CL
cs.CL, cs.AI
As the capabilities of large language models (LLMs) have expanded dramatically, aligning these models with human values presents a significant challenge. Traditional alignment strategies rely heavily on human intervention, such as Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF), or on the self-alignment capacities of LLMs, which usually require a strong LLM's emergent ability to improve its original bad answer. To address these challenges, we propose a novel self-alignment method that utilizes a Chain of Thought (CoT) approach, termed AlignCoT. This method encompasses stages of Question Analysis, Answer Guidance, and Safe Answer production. It is designed to enable LLMs to generate high-quality, safe responses throughout various stages of their development. Furthermore, we introduce the Mixture of insighTful Experts (MoTE) architecture, which applies mixture of experts to enhance each component of the AlignCoT process, markedly increasing alignment efficiency. The MoTE approach not only outperforms existing methods in aligning LLMs with human values but also highlights the benefits of using self-generated data, revealing the dual benefits of improved alignment and training efficiency.
[ -0.4119221866130829, -0.5910055637359619, 0.43546563386917114, -0.13611386716365814, -0.13468550145626068, 0.6853612661361694, -0.2450270652770996, -0.3728872537612915, 0.40526315569877625, 0.5433000326156616, -0.6932860016822815, -0.30343952775001526, -0.3214361369609833, -0.02406603842973709, -0.25503385066986084, 0.894719660282135, -0.06641718745231628, -0.04967234656214714, -0.1824897825717926, -0.250892698764801, -0.43342921137809753, -0.2923785150051117, -0.32564979791641235, -0.08928292989730835, 0.301338791847229, 0.5827672481536865, 0.7469860315322876, 0.8859821557998657, 0.5114646553993225, 0.3375590443611145, 0.2512810528278351, 0.6103333830833435, -0.45377877354621887, 0.25596320629119873, -0.7508430480957031, -0.1508890837430954, -0.5738124251365662, 0.04523105546832085, 0.05065680295228958, 0.47227638959884644, -0.5051090717315674, 0.04525907337665558, 0.20313289761543274, 0.4586736261844635, -0.5850238800048828, -0.515145480632782, -0.8849994540214539, -0.1346997767686844, -0.05256672948598862, -0.21777865290641785, -0.19465389847755432, -0.19854912161827087, 0.0813976377248764, -0.482555627822876, 0.17516446113586426, 0.2787439525127411, 0.5476576685905457, 0.48307281732559204, -0.3773721754550934, -0.20718039572238922, -0.41990211606025696, 0.8046634793281555, -0.9620386362075806, 0.15362122654914856, -0.04056744650006294, 0.22472500801086426, -0.4566277861595154, -0.1556233912706375, -0.7719503045082092, 0.4305001199245453, 0.06982091814279556, 0.27812737226486206, 0.33012115955352783, -0.10147687792778015, -0.35646453499794006, 0.20843353867530823, -0.5801429748535156, 0.37207016348838806, -0.06914155185222626, -0.26884838938713074, 0.8467666506767273, 0.2582547068595886, 0.3635556995868683, -0.03599508851766586, -0.7124179601669312, -0.10535147041082382, -0.4117618799209595, -0.28361353278160095, 0.3167966902256012, 0.23027385771274567, 0.17244412004947662, 0.5436182618141174, -0.04871158301830292, 0.6990810632705688, 0.4854896068572998, -0.44051307439804077, 0.06464486569166183, -0.36775076389312744, -0.05913107842206955, 0.3145122528076172, 1.120376706123352, 0.3501901924610138, 0.15724319219589233, -0.19262807071208954, -0.3294772207736969, -0.13758881390094757, 0.3203177750110626, -0.4266389310359955, -0.18674910068511963, 0.3482566773891449, -0.04740483686327934, -0.5388860106468201, 0.0448375903069973, -0.8055714964866638, -0.5302980542182922, -0.46272316575050354, 0.30871057510375977, -0.4100363850593567, -0.43164247274398804, 0.09029947966337204, 0.16301438212394714, 0.34455373883247375, 0.41792964935302734, -1.1374577283859253, 0.3858938217163086, 0.7869552373886108, 0.4265362322330475, -0.5201629400253296, -0.270579993724823, -0.31626641750335693, 0.4130770266056061, -0.4250052571296692, 0.902556836605072, -0.3270604610443115, -0.2183101773262024, -0.32953912019729614, -0.3917014002799988, -0.08367393910884857, -0.47082287073135376, 0.2094782441854477, -0.43788766860961914, 0.47149819135665894, -0.23520299792289734, -0.6335141658782959, 0.21279315650463104, 0.39245763421058655, -0.19269967079162598, 1.1458287239074707, 0.17722827196121216, -0.8618929982185364, 0.21523602306842804, -0.2865629494190216, -0.2447565495967865, 0.14188843965530396, -0.683928370475769, -0.04209630936384201, 0.03487123176455498, 0.4863583445549011, 0.2595905661582947, -0.23491503298282623, 0.48079928755760193, -0.2145088016986847, 0.20245018601417542, 0.40636518597602844, -0.29864174127578735, 0.6120299696922302, 0.3312210440635681, -0.4367468059062958, 0.18459376692771912, -0.5582149028778076, 0.39407140016555786, -0.13463714718818665, -0.07262090593576431, -0.3010728359222412, -0.11006315797567368, -0.458646684885025, 0.5821481347084045, 0.4581025242805481, -0.5287656188011169, 0.2531956732273102, -0.35649311542510986, 0.30840611457824707, 1.0654946565628052, -0.02546793594956398, 0.41456228494644165, -0.18180552124977112, 0.6366069316864014, 0.3114835321903229, -0.09883701056241989, 0.1142236590385437, -0.20959782600402832, -0.7386361360549927, -0.004646796267479658, 0.36492854356765747, 0.43190112709999084, -0.6400724649429321, 0.8659152984619141, -0.31834009289741516, -0.4077088236808777, -1.1001570224761963, 0.6086995005607605, 0.43848755955696106, 0.9045783281326294, 0.42235255241394043, -0.3729797899723053, -0.48483341932296753, -0.9335432648658752, -0.22106343507766724, -0.13629956543445587, 0.27684861421585083, 0.032468363642692566, 0.25402265787124634, -0.0718744769692421, 1.2518935203552246, -0.5234395861625671, 0.048740193247795105, -0.022821757942438126, 0.20074330270290375, 0.018947284668684006, 0.6801299452781677, 0.13580548763275146, -0.39615875482559204, -0.5842381715774536, 0.3622896075248718, -0.599803626537323, -0.09762520343065262, 0.04008663073182106, -0.474420964717865, 0.1337403506040573, 0.3795188367366791, -0.3286217749118805, -0.1096043512225151, 0.500093400478363, -0.17531731724739075, 0.38552868366241455, -0.09509812295436859, 0.2047904133796692, -1.473530650138855, -0.1638636440038681, -0.09719941020011902, -0.41784536838531494, -0.3888726532459259, 0.022818133234977722, 0.1454838216304779, 0.11850766837596893, -0.3243403136730194, 0.46962109208106995, -0.5508708953857422, 0.2039058804512024, -0.2884770333766937, 0.493675172328949, -0.04040225222706795, 0.4811336100101471, -0.06818417459726334, 1.1573423147201538, 0.30007749795913696, -0.32656770944595337, 0.24501702189445496, 0.4195120334625244, -0.26556292176246643, 0.6630384922027588, -0.32947996258735657, 0.5363222360610962, -0.08449383080005646, -0.048994868993759155, -0.9390422701835632, -0.2954629063606262, 0.025893155485391617, -0.3111032247543335, 0.25220006704330444, 0.14407879114151, -0.22716931998729706, -0.3046806752681732, -0.14800870418548584, 0.4642848074436188, 0.5168925523757935, -0.47704169154167175, 0.6604188680648804, 0.6305875182151794, -0.23319567739963531, -0.8444948196411133, -0.5130470991134644, 0.07077163457870483, -0.20436523854732513, -0.7382088303565979, 0.4047149419784546, -0.04595101624727249, -0.15729892253875732, -0.06205325573682785, -0.42576852440834045, 0.17480085790157318, 0.05415363982319832, -0.26880472898483276, 0.22460414469242096, -0.3311663568019867, 0.17536966502666473, 0.06362175196409225, -0.08095960319042206, -0.042365897446870804, -0.5596960186958313, 0.532342255115509, -0.11721307784318924, -0.3422560691833496, -0.28500470519065857, 0.4148370921611786, 0.5028040409088135, -0.5034400820732117, 0.6386382579803467, 0.2807866930961609, -0.12547899782657623, -0.27872562408447266, -0.8946661353111267, -0.12263739109039307, -0.4960542619228363, 0.17768028378486633, -0.16855672001838684, -0.8354344367980957, 0.3987867534160614, 0.02794341929256916, 0.0485198087990284, 0.46769365668296814, 0.5039899945259094, -0.407106876373291, 1.1535769701004028, 0.5234476327896118, -0.1400471329689026, 0.1731170117855072, -0.0010207552695646882, 0.4689739942550659, -0.989514172077179, -0.3155982196331024, -0.3323403298854828, -0.4549427628517151, -0.3902280628681183, -0.3927915096282959, 0.27490687370300293, 0.08950228244066238, -0.28554022312164307, 0.4398075044155121, -0.7087242603302002, 0.5705613493919373, 0.3405177593231201, 0.24002300202846527, 0.19958212971687317, -0.2650536000728607, -0.33323222398757935, 0.02036864496767521, -0.8524265885353088, -0.6163308620452881, 0.8495886325836182, 0.1651315838098526, 1.130383849143982, 0.20201681554317474, 0.9031605124473572, 0.06444550305604935, 0.2100672572851181, -0.5987749695777893, 0.6270132660865784, 0.0616084523499012, -0.4615859389305115, -0.38358908891677856, -0.3289276957511902, -0.6290904879570007, 0.254930704832077, -0.2978104054927826, -0.7595227360725403, 0.15214815735816956, 0.27321603894233704, -0.5663575530052185, 0.19861751794815063, -0.6450761556625366, 0.75103759765625, -0.8024768233299255, -0.44527968764305115, -0.10359515249729156, -0.9241681098937988, 0.3159676492214203, -0.1957699954509735, 0.17109526693820953, -0.15854458510875702, -0.13498647511005402, 0.8038217425346375, -0.5076523423194885, 0.7693786025047302, 0.2074582576751709, -0.4449682831764221, 0.4891620874404907, 0.11380141228437424, 0.4858470559120178, -0.3118225634098053, 0.007301546633243561, -0.32253405451774597, -0.11623329669237137, -0.3624327778816223, -0.8700249791145325, 0.7535696625709534, -0.964141309261322, -1.0267984867095947, -0.21587002277374268, -0.7065167427062988, -0.5883390307426453, 0.2664423882961273, 0.07796119153499603, 0.2347893863916397, -0.040326010435819626, -0.04384337365627289, 0.8733662366867065, 0.1974203884601593, 0.29072996973991394, 0.45400774478912354, -0.13835924863815308, -0.9130881428718567, 0.8180226683616638, -0.02874784544110298, 0.5238024592399597, 0.43347030878067017, 0.3140573799610138, -0.35760390758514404, -0.35560283064842224, -0.31095802783966064, 0.12186894565820694, -0.7015752792358398, -0.49068447947502136, -0.7787472009658813, -0.29377299547195435, -0.7424415946006775, -0.22824721038341522, -0.45696452260017395, -0.43093621730804443, -0.1200934574007988, -0.23731660842895508, 0.1293366700410843, 0.4930174648761749, 0.1550077348947525, 0.38935548067092896, -0.7491910457611084, -0.012725802138447762, 0.49020737409591675, 0.1612984985113144, 0.053540002554655075, -0.3185764253139496, -0.2518501579761505, 0.2687774896621704, -0.5966576933860779, -0.7916442155838013, 0.2508479058742523, -0.10376663506031036, 0.6285208463668823, 0.42552685737609863, 0.12728369235992432, 1.0146805047988892, -0.23002417385578156, 0.6092227697372437, 0.5118955969810486, -0.9732810258865356, 0.5638903379440308, -0.3450239896774292, 0.136241152882576, 0.9112582802772522, 0.1255996972322464, -0.37961894273757935, -0.5448240041732788, -0.7059067487716675, -0.7060399651527405, 0.36172839999198914, -0.00026547812740318477, -0.14585427939891815, -0.166002094745636, 0.09649349749088287, 0.2762090265750885, 0.30958956480026245, -0.42514514923095703, 0.290865033864975, -0.034985579550266266, -0.9583637118339539, 0.13726016879081726, 0.07883540540933609, -0.4076395332813263, -0.2310919463634491, 0.7690269947052002, -0.4315846264362335, -0.07575749605894089, 0.22237113118171692, -0.19116327166557312, -0.39597445726394653, 0.37175217270851135, 0.5432923436164856, 0.7238616943359375, 0.052197933197021484, 0.36074143648147583, 0.21969616413116455, -0.02480332925915718, 0.32329314947128296, -0.3477562963962555, 0.17596063017845154, -0.6043927669525146, 0.300911009311676, 0.4267229735851288, 0.174610897898674, -0.5888159871101379, 0.5500245094299316, 0.1702963262796402, -0.1143011748790741, 0.035248469561338425, 0.4943259060382843, 0.14938117563724518, 0.07821701467037201, 0.1772167980670929, 0.23012997210025787, -0.2031586617231369, -0.5188426971435547, 0.20992088317871094, 0.5721216797828674, -0.38825908303260803, -0.14874379336833954, 0.6015799641609192, 0.5189510583877563, -0.3785327672958374, 0.6206345558166504, 0.10129174590110779, -0.6908849477767944, 0.5291064381599426, 0.656461775302887, 0.911401093006134, -0.3893907964229584, 0.08288665860891342, 0.06681656837463379, 0.12894296646118164, -0.06455003470182419, 0.19389687478542328, -0.06419406831264496, -1.091884970664978, -0.5294375419616699, -0.3837657868862152, -0.31663551926612854, -0.28979992866516113, -0.5779010653495789, 0.18184815347194672, -0.33924782276153564, -0.016251951456069946, -0.14118757843971252, -0.053813185542821884, -0.4816182255744934, 0.2936905026435852, -0.015513247810304165, 0.8912832140922546, -0.7651838064193726, 0.8356484770774841, 0.6181061863899231, -0.30883273482322693, -1.1659268140792847, 0.11521361023187637, -0.03933766856789589, -0.9659738540649414, 0.2220391184091568, 0.046358466148376465, -0.4282398223876953, 0.21789592504501343, -0.7225853204727173, -0.910088837146759, 1.0960426330566406, 0.26309990882873535, -0.7021687626838684, 0.07553572952747345, -0.03815944120287895, 0.5838947296142578, -0.6809027194976807, 0.21734696626663208, 0.5888831615447998, 0.1845477670431137, 0.2271289825439453, -0.6769596934318542, 0.053595803678035736, -0.1571858674287796, -0.1028449684381485, 0.5452643036842346, -0.7709343433380127, 0.3888278305530548, -0.2394770383834839, -0.16104665398597717, -0.12343660742044449, 0.9517249464988708, 0.19104214012622833, -0.1635032743215561, 0.5752296447753906, 0.813522219657898, 1.0068402290344238, 0.16658754646778107, 0.5007323622703552, -0.5978060960769653, 0.2100069224834442, 1.4282872676849365, -0.4019470512866974, 0.7494497299194336, 0.7423732876777649, -0.026034124195575714, 0.6672939658164978, 0.5097226500511169, 0.23402447998523712, 0.611688494682312, 0.003918663132935762, -0.17117293179035187, -0.5585343241691589, -0.018064327538013458, -0.1830284148454666, 0.3390892446041107, 0.16274510324001312, -0.06982673704624176, -0.10277190804481506, -0.3308429718017578, -0.13489662110805511, 0.40210285782814026, -0.11106657981872559, 1.0446027517318726, -0.07048805803060532, -1.1497606039047241, 0.3135230243206024, -0.2708042562007904, 0.48657238483428955, -0.3817974328994751, 0.10891655832529068, -0.12116049230098724, 0.14252540469169617, -0.33211860060691833, -1.083727478981018, -0.00840130914002657, -0.13672156631946564, -0.014367107301950455, -0.2964203357696533, 0.4430978298187256, -0.807310938835144, -0.44010674953460693, 0.04560217261314392, 0.5725648999214172, -0.13230833411216736, 0.44144803285598755, -0.6007888317108154, -0.3875124752521515, 0.060299668461084366, 0.14837238192558289, 0.3358134627342224, 0.6949135065078735, 0.022367240861058235, 0.675711989402771, 0.36703914403915405, -0.06203960254788399, 0.03783392533659935, -0.1714763343334198, 0.9158896803855896, -0.7145135998725891, -0.4311399757862091, -0.8699182868003845, 0.711777925491333, -0.3505080044269562, -0.563366711139679, 0.5959922671318054, 0.5650520324707031, 0.6965501308441162, 0.2044578492641449, 0.8093287944793701, -0.026376822963356972, 0.39548259973526, -0.5694709420204163, 0.3423402011394501, -0.3613739311695099, 0.24272172152996063, -0.2748681902885437, -0.7096948623657227, 0.10867905616760254, 0.4034028649330139, -0.21832051873207092, -0.041464149951934814, 0.8325484395027161, 0.9053543210029602, -0.15508413314819336, 0.11615537852048874, 0.17730578780174255, 0.14406633377075195, 0.4449050724506378, 0.4398384690284729, 0.8377017974853516, -0.15893511474132538, 0.33807724714279175, -0.31564733386039734, -0.28350043296813965, 0.055123068392276764, -0.9345046281814575, -0.7277097702026367, -0.4018234312534332, -0.38446134328842163, -0.2516283690929413, -0.07146259397268295, 1.4746661186218262, 0.6054521203041077, -1.0049777030944824, -0.29038703441619873, -0.23170213401317596, 0.08618532866239548, -0.27518603205680847, -0.18655937910079956, 0.35605230927467346, -0.6101808547973633, -0.41595223546028137, 0.3304380774497986, 0.4682990610599518, 0.09009791165590286, -0.41269582509994507, -0.05827714502811432, -0.23605751991271973, 0.13009656965732574, 0.10839522629976273, -0.018955009058117867, -0.7777826189994812, -0.4112532436847687, 0.1686778962612152, -0.40803802013397217, 0.34935811161994934, 0.7719384431838989, -0.6960921883583069, 0.6229568123817444, 0.44964689016342163, 0.8795162439346313, -0.03789040818810463, 0.6079617738723755, 0.9453440308570862, -0.5147199034690857, -0.27393099665641785, 0.4732663035392761, 0.4242379367351532, 0.35378074645996094, -0.5576556921005249, 0.452971488237381, -0.05488651245832443, -0.6743419170379639, -0.43214571475982666, 0.2483634352684021, -1.0943329334259033, -0.11844442039728165, 0.9484068155288696, 0.13286910951137543, -0.3857993483543396, 0.007248692214488983, -0.44478121399879456, 0.10275370627641678, -0.3172228932380676, 0.9519859552383423, 0.7704922556877136, -0.27733907103538513, -0.1710495799779892, 0.11234026402235031, 0.17983174324035645, 0.5740628838539124, -0.924239456653595, 0.09814456105232239, 0.1958574503660202, 0.36053889989852905, 0.13807477056980133, 0.5003711581230164, -0.12932786345481873, -0.16612955927848816, -0.35085707902908325, 0.2140931338071823, 0.2601102888584137, -0.24811439216136932, 0.043665554374456406, -0.0025381629820913076, 0.19400960206985474, -0.025081491097807884 ]
http://arxiv.org/abs/2405.00543v1
http://arxiv.org/pdf/2405.00543v1
New Benchmark Dataset and Fine-Grained Cross-Modal Fusion Framework for Vietnamese Multimodal Aspect-Category Sentiment Analysis
2024-05-01T14:29:03
2024-05-01T14:29:03
Quy Hoang Nguyen, Minh-Van Truong Nguyen, Kiet Van Nguyen
cs.CL
cs.CL, cs.AI
The emergence of multimodal data on social media platforms presents new opportunities to better understand user sentiments toward a given aspect. However, existing multimodal datasets for Aspect-Category Sentiment Analysis (ACSA) often focus on textual annotations, neglecting fine-grained information in images. Consequently, these datasets fail to fully exploit the richness inherent in multimodal. To address this, we introduce a new Vietnamese multimodal dataset, named ViMACSA, which consists of 4,876 text-image pairs with 14,618 fine-grained annotations for both text and image in the hotel domain. Additionally, we propose a Fine-Grained Cross-Modal Fusion Framework (FCMF) that effectively learns both intra- and inter-modality interactions and then fuses these information to produce a unified multimodal representation. Experimental results show that our framework outperforms SOTA models on the ViMACSA dataset, achieving the highest F1 score of 79.73%. We also explore characteristics and challenges in Vietnamese multimodal sentiment analysis, including misspellings, abbreviations, and the complexities of the Vietnamese language. This work contributes both a benchmark dataset and a new framework that leverages fine-grained multimodal information to improve multimodal aspect-category sentiment analysis. Our dataset is available for research purposes: https://github.com/hoangquy18/Multimodal-Aspect-Category-Sentiment-Analysis.
[ -0.6325418949127197, -0.7660084962844849, 0.43820181488990784, 0.3041470944881439, -0.4801006317138672, -0.023401513695716858, -0.21617190539836884, -0.2345481812953949, 0.32666072249412537, 0.3975246548652649, -0.4534815549850464, -0.7190874218940735, -0.4085147976875305, -0.0301115233451128, 0.025409691035747528, 0.764221727848053, -0.19911131262779236, 0.1401071548461914, -0.4819667935371399, -0.770797610282898, -0.2931113839149475, -0.6337300539016724, -0.03124774806201458, -0.0625564232468605, 0.538858950138092, 0.5076608061790466, 0.6224679946899414, 0.15765738487243652, 0.6651530861854553, 0.1318201869726181, 0.37601518630981445, 0.5988829135894775, -0.1455903947353363, -0.009532085619866848, -0.10162807255983353, -0.029806284233927727, -0.4656001031398773, -0.13797728717327118, 0.4924052655696869, 0.33246299624443054, 0.16595306992530823, 0.17465320229530334, -0.009329481981694698, 0.6242860555648804, -0.7488426566123962, 0.3910771906375885, -0.37301507592201233, -0.13879811763763428, -0.12434940785169601, -0.22592677175998688, -0.013526273891329765, -0.09684423357248306, 0.1328122764825821, -0.3519015312194824, -0.11658985167741776, -0.2418804168701172, 0.9050735235214233, 0.12909935414791107, -0.9049906134605408, 0.05892393738031387, -0.4284062087535858, 0.8185949921607971, -0.29288721084594727, 0.5275640487670898, 0.35665300488471985, 0.44006219506263733, 0.3300049304962158, -0.36614927649497986, -0.6877142786979675, -0.11835366487503052, -0.08130068331956863, 0.13159160315990448, -0.1920957863330841, -0.030276484787464142, -0.1360645294189453, 0.4328778386116028, -0.6218481659889221, -0.19993853569030762, -0.134941965341568, -0.20360173285007477, 0.5349826216697693, 0.19715633988380432, 0.060322731733322144, -0.7995575070381165, -0.73719722032547, -0.2824373245239258, -0.4785492420196533, 0.2098616063594818, -0.04677615314722061, 0.32363229990005493, -0.3370856046676636, 0.6667904257774353, -0.438098281621933, 0.5130566954612732, -0.46636486053466797, -0.10959751904010773, 0.733916163444519, -0.6778102517127991, -0.36374396085739136, -0.045165445655584335, 1.0082300901412964, 0.9464312195777893, -0.03388569876551628, 0.35698768496513367, -0.371177077293396, 0.5144749283790588, 0.05503669008612633, -0.535192608833313, -0.1891375333070755, 0.35823309421539307, -0.636576235294342, -0.2208593189716339, 0.4591231346130371, -1.0325441360473633, -0.34071168303489685, -0.3031376600265503, 0.5598177313804626, -0.28620946407318115, -0.41780632734298706, -0.05556492879986763, -0.10870935022830963, 0.3633260428905487, 0.3825100064277649, -0.21201825141906738, -0.0852164775133133, 0.5620836615562439, 0.8637426495552063, -0.1500190794467926, -0.31442105770111084, -0.5660273432731628, -0.15871135890483856, 0.03499193489551544, 0.8457699418067932, -0.8412909507751465, -0.6330919861793518, 0.23783518373966217, 0.1696176379919052, 0.06389547884464264, -0.5973806381225586, 0.48582735657691956, 0.001049773651175201, -0.03161998093128204, -0.28929582238197327, -0.005436296574771404, -0.4262361526489258, 0.5437508225440979, -0.8198848366737366, 1.0964974164962769, 0.31578192114830017, -0.39740967750549316, 0.2896122932434082, -0.3949367105960846, -0.42906713485717773, -0.3544495701789856, -0.2003057450056076, -0.44126060605049133, 0.3048069179058075, 0.546105146408081, 0.7186827659606934, -0.3836854100227356, 0.2811364233493805, -0.572845458984375, 0.14286723732948303, 0.4950563609600067, -0.5228376984596252, 0.2634202539920807, 0.37213876843452454, -0.12061672657728195, 0.17665733397006989, -0.8625739216804504, -0.15168143808841705, -0.08796859532594681, -0.2169044017791748, -0.6108065843582153, -0.2761835753917694, 0.660423994064331, 0.6397109627723694, 0.34131449460983276, -0.4385868012905121, 0.11395801603794098, 0.29292863607406616, 0.2240106761455536, 0.5775806903839111, 0.13082213699817657, 0.33780089020729065, -0.3821642994880676, 0.48384201526641846, 0.6042214632034302, 0.3685154914855957, -0.6302278637886047, -0.34698349237442017, -0.7250494360923767, -0.44616299867630005, -0.006582723930478096, 0.20635981857776642, -1.1774451732635498, 0.19448667764663696, -0.2378935068845749, -0.561742901802063, -0.8535304665565491, 0.12921328842639923, 0.38930779695510864, 0.2717862129211426, 0.4383772611618042, -0.5467342734336853, -0.7013462781906128, -0.9509113430976868, -0.15973728895187378, -0.1624840348958969, 0.15132665634155273, 0.33106112480163574, 0.29334694147109985, -0.7403646111488342, 0.8257639408111572, -0.3904649019241333, -0.7257000207901001, -0.03160783275961876, 0.35773399472236633, -0.2967734932899475, 0.4242742359638214, 0.6593548059463501, -1.0244381427764893, -0.139864981174469, 0.11638154089450836, -0.7257074117660522, -0.06276291608810425, 0.0179215706884861, 0.010239391587674618, 0.33091968297958374, 0.271681547164917, -0.3874790072441101, 0.16081394255161285, 0.7985758185386658, -0.3373596668243408, 0.34214672446250916, 0.15539899468421936, 0.4316774904727936, -1.3206381797790527, -0.07723001390695572, 0.5527541041374207, -0.27913549542427063, -0.4204378128051758, 0.019930236041545868, 0.05291908234357834, 0.0180949866771698, -0.6241841912269592, 0.6265274882316589, -0.13293112814426422, 0.24298609793186188, -0.4486192464828491, 0.011086882092058659, 0.19853204488754272, 0.612195611000061, 0.13225755095481873, 0.35029149055480957, 0.4738333523273468, -0.1941799521446228, 0.3315732777118683, -0.11862411350011826, -0.2600322961807251, 0.7352413535118103, -0.3031626343727112, -0.2092728167772293, -0.11586014181375504, 0.3089005947113037, -1.1035438776016235, -0.2953924536705017, 0.09742093831300735, -0.2270190417766571, -0.058625947684049606, 0.053046517074108124, -0.4232121706008911, -0.001266857492737472, -0.6818611025810242, 0.6198477745056152, 0.08387011289596558, -0.2883667051792145, 0.902730405330658, 0.6323039531707764, -0.08724700659513474, -0.31715449690818787, -0.4206640422344208, -0.04495004191994667, -0.09205766767263412, -0.20808608829975128, 0.1490774154663086, 0.20080319046974182, -0.15184253454208374, 0.055646106600761414, -0.002500333823263645, -0.14782901108264923, -0.27862709760665894, 0.5206773281097412, 0.36689886450767517, -0.3188096284866333, 0.17518416047096252, 0.1712493747472763, -0.13964669406414032, -0.043397050350904465, -0.029485899955034256, 0.6056053042411804, -0.4873652458190918, -0.19779345393180847, -0.45386797189712524, 0.40092939138412476, 0.8209506273269653, -0.3834706246852875, 0.43829381465911865, 1.0780885219573975, -0.39714834094047546, 0.33707064390182495, -0.6647659540176392, 0.03649747371673584, -0.3357660174369812, 0.4668480455875397, -0.4871113896369934, -0.9869405031204224, 0.24130849540233612, 0.045917361974716187, -0.10449489951133728, 0.5968539118766785, 0.743104875087738, -0.021268775686621666, 0.9689027667045593, 0.6419909000396729, -0.3705045282840729, 0.5706748962402344, -0.25065678358078003, -0.08532796055078506, -0.7224788665771484, -0.3841826915740967, -0.32945674657821655, -0.30975890159606934, -0.8973016142845154, -0.9177985191345215, 0.33199891448020935, -0.26332521438598633, 0.035182077437639236, 0.056758150458335876, -0.1255023330450058, 0.04765065759420395, 0.47646835446357727, 0.08891406655311584, 0.45323994755744934, 0.08874054253101349, 0.08160427212715149, 0.02430683933198452, -0.27815401554107666, -0.45608043670654297, 0.8751735091209412, 0.25124770402908325, 0.8963460922241211, -0.12124303728342056, 0.3959209620952606, 0.33532336354255676, 0.038897156715393066, -0.7194429039955139, 0.39207321405410767, -0.24947746098041534, -0.2577437162399292, 0.18809297680854797, -0.5072095990180969, -0.5022324323654175, 0.4372197389602661, -0.36563706398010254, -0.3249675929546356, 0.6745052933692932, -0.07389917224645615, -0.1668419986963272, 0.02685460075736046, -0.6529633402824402, 0.8414660692214966, -0.19394688308238983, -0.11885455250740051, -0.19960449635982513, -0.6578570008277893, 0.3800927996635437, -0.22760866582393646, 0.30033352971076965, -0.5014299750328064, -0.10999889671802521, 0.5554121732711792, -0.2685456871986389, 0.753208339214325, -0.18674130737781525, -0.20089663565158844, 0.27497053146362305, -0.10074784606695175, -0.037458643317222595, 0.5251680016517639, 0.1153649389743805, 0.6336435675621033, 0.05246409401297569, -0.32985231280326843, -0.43109872937202454, 1.0289804935455322, -0.8944944143295288, -0.07629647850990295, -0.3687101900577545, -0.3950241506099701, -0.2714351415634155, -0.007382360752671957, 0.14882077276706696, 0.5780670046806335, -0.29612794518470764, 0.25999975204467773, 0.2668839395046234, -0.08218931406736374, 0.34646084904670715, 0.3738343119621277, -0.3735661208629608, -0.8464296460151672, 1.329140543937683, 0.06331155449151993, 0.031626224517822266, 0.662508487701416, -0.012154887430369854, -0.2223615050315857, 0.1887362003326416, -0.2959934175014496, 0.014912241138517857, -0.5704556107521057, -0.39247193932533264, -0.8633114099502563, -0.0639696717262268, -0.38101184368133545, -0.14139264822006226, -0.49785882234573364, -0.5050966143608093, -0.058668047189712524, 0.052235495299100876, 0.35668641328811646, 0.45999667048454285, 0.05177866667509079, 0.33188560605049133, -1.0357285737991333, 0.586815595626831, 0.3145199418067932, 0.15494613349437714, -0.16234132647514343, 0.03612538427114487, -0.21601013839244843, 0.1838626265525818, -0.36283746361732483, -0.5202352404594421, 0.30323347449302673, 0.16491959989070892, 0.2081034630537033, 0.5841121673583984, 0.06582648307085037, 0.6365294456481934, -0.008002628572285175, 0.8384255170822144, 0.2723672389984131, -0.8342821598052979, 0.5359195470809937, -0.31721261143684387, 0.5637337565422058, 0.6433491706848145, 0.28177410364151, -0.6774373054504395, -0.31355518102645874, -0.39747223258018494, -0.8731461763381958, 0.47719472646713257, 0.05885593965649605, 0.06096436828374863, 0.13010351359844208, -0.16319876909255981, 0.38081514835357666, 0.5445592999458313, -0.7109866738319397, -0.1592027097940445, -0.5647042989730835, -0.5014100670814514, -0.41872888803482056, -0.22968311607837677, -0.06152629107236862, -0.38214337825775146, 0.47911837697029114, -0.33164921402931213, 0.2402377724647522, 0.059777356684207916, -0.20520687103271484, -0.09483534097671509, 0.19720084965229034, 0.5826388001441956, 0.429984450340271, -0.2877919375896454, 0.39925387501716614, -0.18557074666023254, -0.4108002781867981, 0.13857746124267578, 0.2877338230609894, 0.26927393674850464, 0.1564054638147354, 0.3359021246433258, 0.6980290412902832, 0.07341734319925308, -0.8230551481246948, 0.5126806497573853, -0.2194223701953888, 0.10758843272924423, 0.053936004638671875, -0.1801413893699646, -0.36207354068756104, 0.32553550601005554, 0.32727959752082825, 0.2331455945968628, 0.09580494463443756, -0.730640172958374, 0.19719591736793518, 0.372287392616272, -0.8986079692840576, -0.5241430401802063, 0.25267675518989563, 0.2602196931838989, 0.19789323210716248, 0.17084385454654694, 0.1294427365064621, -0.47421523928642273, 0.2210569679737091, -0.02205909602344036, 1.038770318031311, -0.23829272389411926, 0.445420503616333, 0.04419634863734245, 0.29661235213279724, 0.12568636238574982, 0.5728297829627991, -0.09204775094985962, -0.40499117970466614, -0.07891947776079178, -0.8920779228210449, -0.3195682764053345, -0.10514689981937408, -0.6319713592529297, 0.25460803508758545, -0.26869067549705505, -0.18836262822151184, -0.173348069190979, -0.07351868599653244, -0.7369477152824402, 0.4075030982494354, 0.11913752555847168, 0.46995842456817627, -0.858777642250061, 0.8843376636505127, 1.1365638971328735, -0.4932369887828827, -0.4172916114330292, 0.05132859945297241, 0.23816220462322235, -0.6465533971786499, 0.13531610369682312, 0.4888950288295746, -0.08903948962688446, -0.5533738136291504, -0.3066675364971161, -0.48021772503852844, 0.8304938077926636, 0.032535284757614136, -0.3776649832725525, 0.2696017920970917, 0.4124576151371002, 0.36241453886032104, -0.7118523120880127, 0.03524651378393173, 0.582153856754303, 0.3587934374809265, -0.12228713929653168, -0.8036876916885376, -0.00032878131605684757, -0.4446532130241394, 0.14230002462863922, 0.2786230444908142, -0.8679667115211487, 0.8587256073951721, 0.22508132457733154, 0.30816105008125305, -0.1537436842918396, 0.7581846117973328, 0.10513100773096085, 0.6752368807792664, 0.5745419263839722, 0.5059278607368469, 0.3368718922138214, -0.23114632070064545, 0.7307367324829102, -0.01432985719293356, 0.4822942018508911, 0.9748217463493347, -0.35244670510292053, 1.0758424997329712, 0.6330600380897522, 0.22603030502796173, 0.5312016606330872, 0.5533437728881836, 0.15627175569534302, 0.7512429356575012, -0.46469980478286743, -0.13974334299564362, -0.3709970712661743, -0.5920174717903137, -0.4657101631164551, 0.8600689172744751, 0.33104488253593445, -0.30301371216773987, -0.3423498272895813, 0.7342087030410767, -0.09305444359779358, -0.1716471165418625, -0.3045498728752136, 0.837310791015625, 0.31793197989463806, -0.4161684215068817, 0.29302436113357544, 0.05154111608862877, 0.662623941898346, -0.5422593951225281, 0.008098820224404335, -0.203574538230896, 0.24390378594398499, -0.18669091165065765, -0.8276363015174866, -0.06401030719280243, -0.10906115919351578, -0.23813199996948242, 0.07194078713655472, 0.6848512887954712, -0.5934848785400391, -0.6417664885520935, 0.17512117326259613, 0.5249717235565186, -0.39043503999710083, -0.31202590465545654, -0.5382757782936096, 0.4524620771408081, -0.2166936695575714, -0.05513878911733627, 0.2824424207210541, 0.6300254464149475, -0.1847345381975174, 0.29048576951026917, 0.4041344225406647, -0.32177409529685974, -0.20521903038024902, 0.16454656422138214, 1.0868192911148071, -0.7445665001869202, -0.46707385778427124, -0.8628440499305725, 0.4493507742881775, 0.0017813753802329302, -0.6646156907081604, 0.8470168113708496, 0.6209498643875122, 0.9868281483650208, -0.03375968337059021, 0.8510897159576416, 0.023627184331417084, 0.02427530661225319, -0.6392502188682556, 0.42774710059165955, -1.0821760892868042, -0.006083660293370485, -0.7160243988037109, -1.0665929317474365, -0.2233799695968628, 0.38109374046325684, 0.036678727716207504, 0.1252533495426178, 0.5271015763282776, 0.8525118231773376, -0.11939769238233566, 0.05925412476062775, 0.32024598121643066, 0.10585013031959534, 0.44476011395454407, 0.4303518533706665, 1.043421745300293, -0.5496206283569336, 0.37074190378189087, -0.5263553857803345, -0.19045564532279968, -0.6872038841247559, -0.5640639066696167, -0.7539044618606567, -1.0357259511947632, -0.3333171010017395, -0.38687413930892944, -0.1519027203321457, 1.2588386535644531, 0.47578078508377075, -0.7921480536460876, -0.26330068707466125, 0.5891158580780029, 0.030690979212522507, -0.4293197691440582, -0.27829667925834656, 0.4355373978614807, -0.13210202753543854, -0.6863007545471191, 0.0006268093711696565, 0.7341942191123962, 0.003293838119134307, -0.5276252627372742, -0.01729825884103775, -0.3275793194770813, 0.06223517283797264, 0.9874925017356873, -0.08728159964084625, -0.6548227667808533, -0.16921280324459076, -0.026007819920778275, -0.31141549348831177, 0.17798534035682678, 1.0260140895843506, -0.7822750806808472, 0.8034723997116089, 0.4435027241706848, 0.4973853528499603, 0.13171175122261047, -0.13919205963611603, 0.42764559388160706, -0.759087860584259, 0.28790658712387085, 0.01462554931640625, 0.6254751086235046, 0.36714592576026917, 0.009412690065801144, 0.22015716135501862, 0.27646318078041077, -0.2438739538192749, -0.7372032999992371, 0.012894450686872005, -1.4958720207214355, -0.26681074500083923, 1.1982090473175049, 0.24046699702739716, -0.46057119965553284, -0.20003476738929749, -0.5492817163467407, 0.08175414800643921, -0.6208721399307251, 0.7377252578735352, 0.5208666324615479, 0.27662530541419983, -0.09569103270769119, -0.22990413010120392, 0.3970854878425598, 0.3782632052898407, -0.811449408531189, 0.11094692349433899, 0.8266615867614746, -0.19996976852416992, 0.13037124276161194, 0.6296762228012085, -0.004007543902844191, 0.48313480615615845, -0.2988327145576477, -0.11055538803339005, -0.0021385159343481064, -0.6777829527854919, -0.4247492551803589, 0.47348904609680176, -0.23950006067752838, -0.3597366213798523 ]
http://arxiv.org/abs/2405.00536v1
http://arxiv.org/pdf/2405.00536v1
A Legal Framework for Natural Language Processing Model Training in Portugal
2024-05-01T14:18:50
2024-05-01T14:18:50
Rúben Almeida, Evelin Amorim
cs.CL
cs.CL, cs.ET, 68T50, K.5.0
Recent advances in deep learning have promoted the advent of many computational systems capable of performing intelligent actions that, until then, were restricted to the human intellect. In the particular case of human languages, these advances allowed the introduction of applications like ChatGPT that are capable of generating coherent text without being explicitly programmed to do so. Instead, these models use large volumes of textual data to learn meaningful representations of human languages. Associated with these advances, concerns about copyright and data privacy infringements caused by these applications have emerged. Despite these concerns, the pace at which new natural language processing applications continued to be developed largely outperformed the introduction of new regulations. Today, communication barriers between legal experts and computer scientists motivate many unintentional legal infringements during the development of such applications. In this paper, a multidisciplinary team intends to bridge this communication gap and promote more compliant Portuguese NLP research by presenting a series of everyday NLP use cases, while highlighting the Portuguese legislation that may arise during its development.
[ -0.36314600706100464, -0.6724953055381775, 0.2694312632083893, 0.15543872117996216, -0.25816214084625244, 0.12332206964492798, -0.3650617301464081, -0.8374598026275635, -0.13010169565677643, 0.9317998290061951, -0.3634341061115265, -0.43889451026916504, -0.7680229544639587, 0.05420307815074921, -0.4719412922859192, 1.0692261457443237, 0.15224230289459229, 0.19272355735301971, 0.013681387528777122, -0.18343569338321686, -0.5569729208946228, -0.7957879900932312, -0.7822781205177307, -0.13065297901630402, 0.2382694035768509, 0.18594761192798615, 0.47323256731033325, 0.4622742235660553, 0.35546907782554626, 0.3066023588180542, -0.22718487679958344, -0.11397028714418411, -0.2245032638311386, 0.25194692611694336, -0.2767573595046997, -0.5866745114326477, -0.04004265367984772, -0.1021614670753479, 0.4227431118488312, 0.6372703909873962, -0.35691893100738525, -0.3018362522125244, 0.23419612646102905, 0.7215041518211365, -0.5387256741523743, 0.218525692820549, -0.5488518476486206, 0.3027501702308655, -0.23853746056556702, -0.0607609897851944, -0.264269083738327, -0.44340765476226807, 0.3208366632461548, -0.3865620493888855, 0.38942277431488037, -0.35060471296310425, 0.9431000351905823, 0.38382261991500854, -0.3997112214565277, -0.7349640130996704, -0.5338283777236938, 0.5759106874465942, -0.7819538116455078, 0.4138556718826294, 0.33777913451194763, 0.5039058327674866, -0.371050089597702, -0.5513836741447449, -0.35078081488609314, -0.4428141713142395, 0.12419771403074265, -0.14804735779762268, -0.4307411015033722, 0.1598699688911438, 0.33776772022247314, 0.07853444665670395, -0.465567022562027, 0.3076879382133484, -0.6583403944969177, -0.20212624967098236, 0.5399540662765503, -0.18148289620876312, 0.3087369203567505, 0.021120186895132065, -0.14580602943897247, 0.1385330706834793, -0.7688314914703369, -0.0008018180378712714, 0.6490141153335571, 0.4294484555721283, -0.08755514770746231, 0.4569922387599945, -0.11866738647222519, 0.856594443321228, -0.4929899573326111, 0.19269335269927979, 0.16097323596477509, 0.04603100195527077, -0.25119948387145996, 0.1591121405363083, 0.7408603429794312, -0.0266242828220129, 0.5500845909118652, -0.11941312998533249, -0.16723477840423584, 0.10850512981414795, 0.4023981988430023, -0.5980674624443054, -0.015935273841023445, 0.13590724766254425, -0.25660279393196106, -0.25726762413978577, 0.022600548341870308, -0.646401047706604, -0.5906757116317749, -0.5785449147224426, -0.08630123734474182, -0.3936953842639923, -0.31323951482772827, 0.4433375298976898, -0.024016505107283592, 0.2822815179824829, 0.0885034054517746, -1.0026642084121704, 0.46633976697921753, 0.885770320892334, 0.4995834529399872, 0.12531788647174835, -0.07468010485172272, -0.2700069546699524, 0.06286997348070145, -0.06368578225374222, 0.6872854232788086, -0.43420881032943726, -0.3018340766429901, 0.13966000080108643, -0.04074811562895775, -0.07969081401824951, -0.4111553430557251, 0.9954137206077576, -0.5287734270095825, 0.47434982657432556, -0.029576679691672325, -0.49186965823173523, -0.25924742221832275, 0.4235394299030304, -0.4951038658618927, 0.6911405920982361, -0.23110364377498627, -0.8232883810997009, 0.5075317621231079, -0.8016232848167419, -0.5042229294776917, 0.18630781769752502, -0.4489165246486664, -0.27318623661994934, -0.08786679804325104, 0.06820834428071976, 0.5189040303230286, -0.2575162649154663, 0.6648297309875488, -0.05032576993107796, -0.0571107417345047, 0.04376275837421417, -0.6279470920562744, 1.20480477809906, 0.46314767003059387, -0.25747352838516235, 0.047808799892663956, -0.8435899615287781, -0.275754451751709, -0.05286453664302826, -0.6448338031768799, -0.4093310534954071, -0.017371900379657745, 0.059872016310691833, 0.44307413697242737, 0.06160081550478935, -0.6090454459190369, 0.06276300549507141, -0.6584957838058472, 0.9196870923042297, 0.4252476394176483, -0.1273196041584015, 0.32244473695755005, -0.07002901285886765, 0.6381111145019531, -0.15269936621189117, 0.07587578892707825, -0.11224100738763809, -0.7955729961395264, -0.6708332300186157, -0.0998896136879921, 0.4461103677749634, 0.5361868143081665, -0.7242852449417114, 0.23607562482357025, -0.3959488272666931, -0.35115107893943787, -0.7806485891342163, 0.0997183620929718, 0.27915525436401367, 0.4871896505355835, 0.15852415561676025, -0.3827221691608429, -0.6417847871780396, -0.8997382521629333, -0.39310598373413086, 0.04506480693817139, -0.14416511356830597, 0.3027920722961426, 0.5738977789878845, -0.22871257364749908, 1.0482863187789917, -0.022173874080181122, -0.4774537682533264, -0.275680810213089, 0.20432692766189575, 0.3409936726093292, 0.5900643467903137, 0.5692920684814453, -0.9153530597686768, -0.3843879997730255, 0.04318758845329285, -0.7332993745803833, -0.15550562739372253, 0.05681821331381798, 0.13877888023853302, 0.4093693792819977, 0.5910170078277588, -0.543529748916626, 0.33449509739875793, 0.38440367579460144, -0.4196465313434601, 0.3491852879524231, -0.43396925926208496, -0.08977712690830231, -0.8482639789581299, 0.06455855816602707, -0.05574794486165047, -0.35420161485671997, -0.6900337934494019, 0.17946159839630127, -0.21328914165496826, -0.33996346592903137, -0.7471938729286194, 0.32770055532455444, -0.23691201210021973, 0.0907658264040947, -0.29460573196411133, -0.17683641612529755, -0.16430965065956116, 0.3188113868236542, 0.24143239855766296, 0.4549412131309509, 0.6777091026306152, -0.7027714848518372, 0.21389994025230408, 0.145597442984581, -0.1986437290906906, 0.7342450618743896, -0.5348325967788696, 0.001148031442426145, -0.19479407370090485, -0.031075874343514442, -0.40961065888404846, -0.30811765789985657, 0.38028085231781006, -0.45920777320861816, 0.3082028031349182, -0.5857417583465576, -0.36207637190818787, -0.31031712889671326, -0.031059248372912407, 0.11093419045209885, 0.21092183887958527, -0.3247019052505493, 0.5419912934303284, 0.754128098487854, -0.09081975370645523, -0.7306126952171326, -1.0610082149505615, 0.5724746584892273, -0.35071462392807007, -0.8307884335517883, 0.2419893443584442, 0.2054179161787033, -0.17768961191177368, 0.028061842545866966, 0.29640287160873413, -0.5920827984809875, 0.3745322823524475, 0.24373207986354828, -0.30955642461776733, -0.11287204176187515, 0.008309593424201012, 0.044853053987026215, -0.1971183568239212, 0.3290107846260071, -0.1810571402311325, 0.6309893727302551, -0.07109081745147705, -0.2886253297328949, -0.44517531991004944, 0.4580070674419403, 0.17929571866989136, -0.09911315143108368, 0.40734198689460754, 0.3288179039955139, -0.42111316323280334, -0.18114487826824188, -0.563525915145874, 0.049669165164232254, -0.47948747873306274, 0.16794222593307495, -0.13405875861644745, -1.0805459022521973, 0.272506982088089, 0.18618816137313843, 0.34551873803138733, 0.3408416211605072, 0.6335336565971375, 0.10104231536388397, 0.6064701080322266, 0.9602442383766174, -0.06062223017215729, 0.5719262957572937, 0.007409895770251751, 0.2768983244895935, -0.2815936207771301, -0.2003720998764038, -0.7794907689094543, 0.049408748745918274, -0.916939377784729, -0.2742505967617035, 0.018722761422395706, -0.14622104167938232, -0.0848156288266182, 0.7682796120643616, -0.6750730276107788, 0.7373489141464233, 0.7545793056488037, -0.1311470866203308, 0.4928916394710541, 0.002990970853716135, -0.3191318213939667, -0.0744076669216156, -0.8493388891220093, -0.775037944316864, 0.9402118921279907, 0.42475298047065735, 0.48759207129478455, -0.017562469467520714, 0.887015700340271, 0.3590655028820038, 0.11601372063159943, -0.7421655058860779, 0.48090553283691406, -0.15640853345394135, -0.7568632960319519, -0.05295667424798012, -0.49025967717170715, -1.4435946941375732, 0.16284513473510742, -0.21236591041088104, -0.6729493737220764, 0.33333277702331543, 0.00832060631364584, -0.27593356370925903, 0.11522228270769119, -0.726226270198822, 0.9531407952308655, -0.19607965648174286, -0.5241041779518127, -0.22177332639694214, -0.7743393778800964, 0.19858434796333313, 0.18339742720127106, 0.46231260895729065, -0.22978097200393677, 0.3036845028400421, 0.7868529558181763, -0.2598622739315033, 1.021602749824524, -0.2366635948419571, -0.3157511055469513, 0.4859697222709656, 0.10397765040397644, 0.11790917813777924, -0.0035483918618410826, 0.015494603663682938, 0.07149846851825714, 0.030229000374674797, -0.21467098593711853, 0.042093466967344284, 0.46444830298423767, -0.3933957517147064, -0.37960749864578247, -0.5136215090751648, -0.3384852707386017, -0.04872239753603935, 0.4210019111633301, 0.23063033819198608, -0.18476659059524536, -0.4682613015174866, 0.07590034604072571, 0.6044026613235474, -0.2850170135498047, 0.3559289574623108, 0.7714258432388306, 0.1413554698228836, -0.06553171575069427, 0.9607167840003967, 0.05691517889499664, -0.0806804671883583, 0.19126544892787933, 0.10321327298879623, -0.20178106427192688, -0.6533136963844299, -0.22417117655277252, -0.033602915704250336, -0.7653445601463318, 0.0642256885766983, -0.6448838114738464, -0.13128264248371124, -0.5534804463386536, -0.019210858270525932, -0.2644970118999481, -0.47233134508132935, -0.10102174431085587, 0.0664927139878273, 0.12730441987514496, 0.672336220741272, -0.08285173773765564, 0.2726152539253235, -0.8947514295578003, 0.1374937891960144, 0.3451336622238159, 0.39437738060951233, -0.34773898124694824, -0.29016023874282837, -0.11135507375001907, 0.16437369585037231, -0.5014992952346802, -0.5665358901023865, 0.6261163949966431, 0.06446623802185059, 0.5616652965545654, 0.08499845862388611, -0.40024492144584656, 0.2625756561756134, -0.5539987683296204, 0.4422460198402405, -0.04248131439089775, -0.8118271231651306, 0.6273404359817505, -0.5928081274032593, -0.07716213166713715, 0.5394890904426575, 0.2601120173931122, -0.752111554145813, -0.43806952238082886, -0.6754018068313599, -1.0074087381362915, 0.5967044234275818, 0.47562456130981445, 0.2973032295703888, 0.17523537576198578, 0.28126275539398193, 0.05660572275519371, 0.4269992709159851, -1.001657247543335, 0.4667663872241974, 0.021629175171256065, -0.056062277406454086, 0.38381487131118774, 0.05580363795161247, -0.22421111166477203, -0.13950738310813904, 0.6500086784362793, -0.03420701622962952, 0.20413778722286224, -0.045775532722473145, -0.24736864864826202, 0.2909356653690338, 0.49836471676826477, 0.4966326355934143, 0.5682203769683838, 0.1412404477596283, -0.026422953233122826, -0.006098857149481773, -0.4988422691822052, -0.02359815686941147, 0.3367516100406647, -0.21748194098472595, 0.011762198992073536, 0.24537667632102966, 0.6213421821594238, 0.22800412774085999, -0.9345131516456604, 0.510323703289032, -0.1857462078332901, -0.305174320936203, -0.34413397312164307, 0.30229389667510986, 0.0995873436331749, 0.26469650864601135, -0.028470449149608612, 0.16907791793346405, 0.40514087677001953, -0.4452388882637024, 0.25252920389175415, 0.23217175900936127, -0.5383787751197815, 0.0029816257301717997, 0.7715283632278442, 0.22515958547592163, -0.32564470171928406, 0.34371641278266907, -0.198330357670784, -0.5467216372489929, 0.6287951469421387, 0.07685830444097519, 0.8038917183876038, -0.01190006174147129, 0.12150278687477112, 0.004453184083104134, 0.3014428913593292, -0.4927745759487152, 0.38451361656188965, -0.18632902204990387, -0.7833460569381714, -0.4189499020576477, -0.37941378355026245, -0.6329613924026489, -0.202469602227211, -0.42537376284599304, 0.45918339490890503, -0.35684892535209656, -0.06844504177570343, -0.03814627602696419, -0.15313389897346497, -0.6962986588478088, 0.06464037299156189, 0.3954862952232361, 0.636835515499115, -0.7093952894210815, 1.0600061416625977, 0.4360167980194092, -0.2875955402851105, -0.13440024852752686, -0.4319221079349518, 0.03424995765089989, -0.6712087988853455, 0.4909847676753998, 0.28317171335220337, 0.0001234082883456722, -0.13521675765514374, -0.6972702145576477, -0.24522726237773895, 0.561174213886261, 0.7351019978523254, -0.6295573115348816, -0.08020216226577759, 0.608969509601593, 0.9240812063217163, -0.10907432436943054, -0.10476923733949661, 0.8480069637298584, 0.27010783553123474, 0.05708148702979088, -0.6442703008651733, -0.2792702913284302, -0.2504558861255646, -0.27362480759620667, 0.15401749312877655, -0.2043488621711731, 0.6465073823928833, 0.10760655999183655, -0.27841395139694214, -0.23797719180583954, 0.4306499660015106, 0.23643432557582855, 0.04935329779982567, 0.14976583421230316, 0.6644085049629211, 0.8527874946594238, -0.19787003099918365, 1.03672456741333, -0.28832995891571045, 0.2478635460138321, 1.2686594724655151, -0.22278504073619843, 0.537998378276825, 0.43923965096473694, 0.02450421079993248, 0.14421075582504272, 0.4316713809967041, -0.3272208869457245, 0.15425677597522736, 0.40118473768234253, -0.3091902732849121, 0.04238336905837059, -0.4251815676689148, -0.2030072957277298, 0.45563697814941406, 0.6706843972206116, -0.3896165192127228, -0.4598747789859772, 0.10057347267866135, 0.2816735506057739, 0.34692180156707764, -0.12446905672550201, 0.7108701467514038, 0.18729513883590698, -0.5276739597320557, 0.280075341463089, 0.28119102120399475, 0.8845677375793457, -0.46020445227622986, 0.08211621642112732, 0.09351282566785812, 0.10752880573272705, -0.18990778923034668, -0.945580005645752, 0.6720278859138489, 0.44013363122940063, 0.21539975702762604, -0.5548999309539795, 0.7339602708816528, -0.24354799091815948, -0.3381364345550537, 0.42684951424598694, 0.3621530830860138, 0.3072393834590912, -0.12908361852169037, -1.0768002271652222, -0.08138445764780045, -0.15695782005786896, -0.1985437572002411, 0.2179466336965561, 0.6171658039093018, -0.18427221477031708, 0.7862937450408936, 0.623089611530304, 0.1651550531387329, 0.3145875036716461, 0.25736427307128906, 0.9597828388214111, -0.6344170570373535, -0.7047666907310486, -0.9068353176116943, 0.2923598289489746, -0.1440228819847107, -0.5097261667251587, 0.5306501388549805, 0.5329413414001465, 0.8117875456809998, 0.29237696528434753, 0.8011726140975952, -0.226316899061203, 0.45525044202804565, -0.6440543532371521, 0.8257777690887451, -0.025566602125763893, 0.42351678013801575, 0.004993516951799393, -0.7673829197883606, -0.589248776435852, 0.6494808197021484, -0.35957804322242737, -0.12494554370641708, 0.2066585272550583, 0.4931401014328003, -0.17254717648029327, 0.26829883456230164, 0.2698955237865448, 0.2885896563529968, 0.7057056427001953, 0.7155712842941284, 0.6316395401954651, -0.29268768429756165, 0.5231168270111084, -0.30716177821159363, 0.21641755104064941, 0.13477669656276703, -1.0313119888305664, -0.857177734375, -0.23204414546489716, -0.2050766944885254, -0.3390805721282959, 0.15183013677597046, 0.9788126945495605, 0.6093358993530273, -1.0456973314285278, -0.46539223194122314, -0.6766587495803833, 0.07820091396570206, 0.11406610906124115, -0.22356919944286346, 0.13716432452201843, -0.35206812620162964, -0.7652801275253296, 0.351383239030838, 0.15878534317016602, 0.1685466170310974, -0.2010323703289032, 0.055912986397743225, -0.2706778645515442, -0.2577902376651764, 0.4720260202884674, 0.6484432220458984, -0.26737460494041443, 0.032132141292095184, -0.5123625993728638, -0.15821687877178192, 0.3953142464160919, 0.9182726740837097, -0.8611735105514526, 0.5881871581077576, 0.5838545560836792, 0.8390753865242004, 0.4166558086872101, -0.47578859329223633, 0.77774578332901, -0.8143813610076904, 0.5342150926589966, 0.7649598717689514, 0.4904623031616211, 0.4409174919128418, -0.15085536241531372, 0.7104655504226685, 0.14689037203788757, -0.47353482246398926, -0.7007018327713013, 0.16348031163215637, -0.7416807413101196, -0.33013424277305603, 0.8181747794151306, -0.12859003245830536, -0.1639755815267563, -0.6006868481636047, -0.4681549370288849, 0.22141623497009277, -0.5427667498588562, 0.9382956027984619, 0.7951554656028748, 0.08849108219146729, 0.004790345206856728, -1.3187956809997559, 0.6694039106369019, 0.16077648103237152, -0.9409406185150146, 0.08526307344436646, 0.227714404463768, 0.19298206269741058, 0.03912816941738129, 0.44824498891830444, -0.28120920062065125, 0.13011404871940613, -0.3723490536212921, 0.21478872001171112, 0.12321189790964127, -0.22093087434768677, -0.5155830383300781, 0.14823731780052185, -0.0948498398065567, 0.1763535737991333 ]
http://arxiv.org/abs/2405.00523v1
http://arxiv.org/pdf/2405.00523v1
CookingSense: A Culinary Knowledgebase with Multidisciplinary Assertions
2024-05-01T13:58:09
2024-05-01T13:58:09
Donghee Choi, Mogan Gim, Donghyeon Park, Mujeen Sung, Hyunjae Kim, Jaewoo Kang, Jihun Choi
cs.AI
cs.AI, cs.CL
This paper introduces CookingSense, a descriptive collection of knowledge assertions in the culinary domain extracted from various sources, including web data, scientific papers, and recipes, from which knowledge covering a broad range of aspects is acquired. CookingSense is constructed through a series of dictionary-based filtering and language model-based semantic filtering techniques, which results in a rich knowledgebase of multidisciplinary food-related assertions. Additionally, we present FoodBench, a novel benchmark to evaluate culinary decision support systems. From evaluations with FoodBench, we empirically prove that CookingSense improves the performance of retrieval augmented language models. We also validate the quality and variety of assertions in CookingSense through qualitative analysis.
[ -0.45242318511009216, -0.5586058497428894, 0.539047122001648, 0.34168267250061035, 0.6454178094863892, 0.020245758816599846, -0.09366672486066818, -0.2709665894508362, 0.5450907349586487, 0.4393320083618164, -0.5521747469902039, -0.7131238579750061, -0.6703279614448547, 0.12179048359394073, -0.2849667966365814, 0.6025980114936829, -0.26074543595314026, 0.22758063673973083, -0.6884862780570984, -0.009086249396204948, -0.6273448467254639, 0.04092719405889511, -0.16924747824668884, -0.25548624992370605, 0.8002074360847473, 0.6935502290725708, 0.32033345103263855, 0.2707105278968811, 0.7679604291915894, 0.21756917238235474, 0.3049596846103668, 0.5510588884353638, 0.14685851335525513, 0.6504278182983398, -0.6052926182746887, -0.3603346347808838, -0.14558520913124084, 0.057155631482601166, -0.2091076523065567, 0.5951409935951233, -0.1567719578742981, 0.28082865476608276, -0.12769007682800293, 0.8925126791000366, -1.1621291637420654, 0.13162319362163544, -0.2548429071903229, -0.013137755915522575, -0.05915989726781845, 0.3411077558994293, -0.2946007251739502, -0.737541675567627, -0.05441726744174957, -0.621753990650177, 0.025779208168387413, -0.3188793957233429, 0.6000666618347168, 0.1527009904384613, -0.6189218163490295, -0.3382984697818756, -0.8811551332473755, 0.7102102041244507, -0.39509186148643494, 0.7159778475761414, 0.7487818002700806, 0.9751194715499878, -0.0634714886546135, -1.095584750175476, -0.645642101764679, -0.12858855724334717, 0.056618332862854004, 0.2566508650779724, 0.27245673537254333, -0.28367701172828674, -0.03151239827275276, 0.35497188568115234, -0.5032056570053101, -0.19841699302196503, 0.06496351212263107, 0.08845565468072891, 0.7245173454284668, 0.18359804153442383, 0.3477407693862915, -0.4027648866176605, -0.43722474575042725, -0.10585897415876389, -0.3062455654144287, -0.009461157023906708, -0.27995240688323975, -0.24497711658477783, 0.1936332732439041, 0.685073971748352, -0.5048074126243591, 0.7615846395492554, -0.3581947088241577, -0.34188413619995117, -0.002291653538122773, -0.5221297144889832, -0.019301041960716248, -0.128016859292984, 0.6056416034698486, 0.7976505160331726, -0.22680352628231049, -0.23021534085273743, 0.05215028300881386, 0.5677338242530823, 0.054488327354192734, -0.4313924312591553, -0.6492655277252197, 0.22202101349830627, -0.2404746562242508, -0.17433792352676392, 0.5574118494987488, -0.9774794578552246, -0.8590739369392395, 0.0393805205821991, -0.01833629608154297, -0.2577236294746399, -0.5885452628135681, 0.08314403891563416, -0.9824257493019104, 0.2071906179189682, 0.009905634447932243, -0.8893703818321228, 0.4910067021846771, 0.9216886758804321, 0.846569836139679, -0.16856646537780762, -0.15193910896778107, -0.07995692640542984, 0.3739042282104492, -0.29109442234039307, 1.016884207725525, -0.7341287732124329, -0.6789731383323669, -0.3266127109527588, 0.09142747521400452, -0.122334785759449, -0.7732575535774231, 0.9015164375305176, -0.2865252196788788, -0.26006820797920227, -1.2022446393966675, -0.9532700777053833, -0.33847230672836304, 0.45148831605911255, -0.6878030896186829, 0.9573825001716614, 0.209193155169487, -0.5812471508979797, 0.8692788481712341, -0.8128660321235657, -0.5079606175422668, 0.16437922418117523, -0.409027099609375, -0.06108245998620987, 0.061291106045246124, 0.23214322328567505, 0.4905296266078949, -0.7910639047622681, 0.2871924340724945, -0.5505108833312988, 0.19689851999282837, 0.2392171323299408, -0.1812010407447815, 0.5375535488128662, 0.5527613162994385, -0.051335081458091736, 0.004293056204915047, -0.636773407459259, 0.06441842764616013, 0.239836186170578, -0.25535494089126587, -0.8443885445594788, 0.379167765378952, -0.2580936849117279, 0.005474884528666735, 0.19802945852279663, -0.9442103505134583, 0.2853587567806244, -0.06985564529895782, 0.23895366489887238, 0.3351743519306183, 0.38536131381988525, 0.09794649481773376, -0.7179317474365234, 0.3693813681602478, -0.01750660501420498, 0.17775402963161469, -0.039846111088991165, -0.5615684390068054, -0.45299869775772095, -0.35073357820510864, 0.21979616582393646, 0.8630353212356567, -1.1083370447158813, 0.4271763861179352, -0.1301080733537674, -0.6954264640808105, -0.3597007393836975, -0.050291817635297775, 0.0022017676383256912, 0.6655805706977844, 0.39341914653778076, -0.011366531252861023, -0.5877060890197754, -0.8210413455963135, -0.6748391389846802, 0.3517681360244751, -0.09973783046007156, 0.09742129594087601, 0.22492621839046478, -0.10663274675607681, 0.8307551741600037, -0.9499332308769226, 0.03656699135899544, -0.16022607684135437, -0.06536739319562912, 0.1307571679353714, 0.4163913130760193, 0.7724284529685974, -0.777808666229248, -1.0572705268859863, 0.4402906000614166, -1.1178475618362427, 0.09755466878414154, 0.3525274693965912, -0.17319510877132416, -0.42545267939567566, 0.3135337233543396, -0.7580582499504089, 0.37469780445098877, 0.2680550515651703, -0.8375574350357056, 0.7427151799201965, 0.460186630487442, 0.5870751738548279, -1.2610163688659668, -0.36579152941703796, 0.37183499336242676, 0.03192539140582085, -0.31269124150276184, 0.10513541102409363, 0.18236058950424194, 0.1653786301612854, -0.13929344713687897, 0.7046284675598145, -0.24468891322612762, 0.13494278490543365, -0.09864991158246994, -0.30730634927749634, 0.6721631288528442, 0.11695671081542969, -0.07457675039768219, 0.5236227512359619, 0.7142882347106934, -0.3091239035129547, 0.9799185395240784, 0.2338046282529831, -0.8162820935249329, 0.9272538423538208, -0.27080196142196655, -0.26347941160202026, 0.1629999279975891, 0.026854394003748894, -1.33441162109375, -0.2135334312915802, 0.3510020971298218, -0.1318342387676239, -0.031153513118624687, -0.21853068470954895, -0.41660282015800476, -0.7501291632652283, 0.02770303562283516, -0.15424731373786926, -0.14429867267608643, -0.6512552499771118, 0.9060039520263672, 0.262662798166275, -0.3499583899974823, -0.2698301076889038, -0.5633241534233093, 0.17614227533340454, -0.2409486174583435, -0.549461841583252, -0.028223209083080292, 0.0954328402876854, -0.5170214772224426, 0.10024462640285492, -0.1838211566209793, -0.22889336943626404, 0.3052988052368164, 0.24186477065086365, 0.18932847678661346, -0.36885330080986023, 0.033375587314367294, 0.09808332473039627, 0.28701111674308777, 0.4401102364063263, -0.4416980445384979, 0.14846181869506836, -0.04247008636593819, -0.503330647945404, -0.37000468373298645, 0.6159874796867371, 0.8468301892280579, -0.2913050055503845, 0.706740140914917, 0.5098772644996643, -0.16343477368354797, 0.04422014206647873, -0.8078045845031738, -0.1302572637796402, -0.4770854711532593, 0.1287461221218109, -0.5042883157730103, -0.26153531670570374, 0.6516163945198059, -0.3521271347999573, 0.35015809535980225, 0.570850670337677, -0.1086781769990921, -0.18333177268505096, 0.7585889101028442, 0.012643393129110336, 0.19595026969909668, 0.12807351350784302, -0.04604402557015419, -0.1714368462562561, -0.6696867346763611, -0.5342608094215393, -0.7812134027481079, -0.23211167752742767, -0.3275102376937866, -0.5925202369689941, 0.43980672955513, -0.4756357967853546, -0.2862803637981415, 0.18882213532924652, -0.6060498356819153, 1.0058269500732422, 0.3420414924621582, 0.29852935671806335, 0.3803834319114685, -0.18714848160743713, -0.5686061978340149, -0.17506718635559082, -0.579312264919281, -0.39114755392074585, 0.9230648875236511, 0.11377626657485962, 0.7823732495307922, 0.5544778108596802, 0.49993735551834106, 0.6115938425064087, 0.2486429065465927, -0.9478517174720764, 0.3913007080554962, -0.4221343994140625, -0.7376328706741333, -0.22134260833263397, -0.7196385264396667, -0.4021915793418884, 0.41558289527893066, -0.13907963037490845, -0.342820942401886, 0.3466436266899109, -0.1782809942960739, -0.1904338151216507, 0.40739554166793823, -1.280550479888916, 1.04795503616333, -0.665364146232605, -0.6641919612884521, 0.17522650957107544, -0.2005324363708496, 0.5277838110923767, 0.30009493231773376, 0.16519926488399506, -0.18904277682304382, 0.40969061851501465, 0.7831767201423645, -0.45097726583480835, 0.7845236659049988, -0.7700642347335815, -0.14062434434890747, 0.19272027909755707, 0.6444375514984131, 0.3099730312824249, 0.19318805634975433, -0.35498714447021484, -0.03873017802834511, 0.6533216834068298, -0.2863054573535919, -0.9839392900466919, 1.0075441598892212, -0.4493923783302307, -0.5781028270721436, -0.4441867470741272, -0.1523657888174057, -0.6601695418357849, 0.5262293219566345, -0.04404624179005623, -0.0094040771946311, -0.3528098165988922, 0.004877248778939247, 0.6633031964302063, -0.022509928792715073, 0.13092157244682312, 0.27928483486175537, -0.44251111149787903, -0.3274095356464386, 1.1614269018173218, 0.1097172200679779, 0.04342380538582802, 0.4667649567127228, 0.5944834351539612, -0.20360854268074036, -0.0264272578060627, -0.12944519519805908, -0.2091333121061325, -0.8073647618293762, -0.3757854104042053, -0.5364961624145508, -0.019741075113415718, -0.5389201641082764, -0.16648751497268677, -0.6755655407905579, -0.751332700252533, 0.11545813828706741, -0.3616842031478882, 0.5445515513420105, 0.8170982599258423, -0.004861917812377214, -0.08462671935558319, -0.787764847278595, 0.542452335357666, 0.3105195462703705, 0.5397822856903076, 0.19586274027824402, 0.06919363886117935, -0.4648240804672241, -0.007509407587349415, -0.4953426122665405, -0.9032142162322998, 0.15099753439426422, 0.3476695418357849, 0.7328545451164246, 0.5946841835975647, 0.2259511798620224, 0.3294927179813385, -0.17725025117397308, 0.8830451369285583, 0.502155601978302, -0.4792543649673462, 0.6583776473999023, -0.2440783977508545, 0.43875280022621155, 0.823902428150177, 0.7843126058578491, -0.6272608041763306, -0.12036269903182983, -0.18073606491088867, -0.6185780763626099, -0.15214738249778748, -0.5214442610740662, -0.23047393560409546, -0.4315739870071411, 0.3005683124065399, 0.5330536365509033, -0.02746179886162281, -0.3724327087402344, -0.14297568798065186, -0.6967674493789673, -0.12852399051189423, 0.24936823546886444, -0.11663047224283218, -0.42231082916259766, -0.7827624082565308, 0.4939284920692444, 0.18755842745304108, -0.06868229061365128, 0.08352209627628326, 0.3273142874240875, 0.09960750490427017, 0.17601746320724487, 0.45991960167884827, 0.774078905582428, -0.07817770540714264, 0.31474804878234863, -0.13290616869926453, -0.3640413284301758, 0.3228754699230194, -0.18375201523303986, 0.33847561478614807, 0.016629807651042938, 0.4464292526245117, 0.555443525314331, -0.018635589629411697, -0.23337988555431366, 0.5266788601875305, -0.38040247559547424, -0.33409491181373596, -0.11868880689144135, 0.23239348828792572, 0.3359150290489197, 0.1330399215221405, 0.25680747628211975, 0.2859911322593689, 0.5107362270355225, -0.2629372775554657, 0.5356599688529968, 0.19579912722110748, -0.1355399191379547, -0.044553328305482864, 0.3506317734718323, 0.4060065746307373, 0.41971924901008606, 0.590339183807373, 0.028256140649318695, -0.17081962525844574, 0.5249658226966858, 0.030429910868406296, 0.6634674072265625, -0.5717034339904785, 0.6072955131530762, 0.35513755679130554, -0.044748272746801376, 0.020516108721494675, 0.5241644978523254, -0.4080086648464203, -0.7755934000015259, -0.20290060341358185, -0.6182493567466736, -0.3375975489616394, -0.44042882323265076, -0.8948032855987549, -0.031559888273477554, -0.5178002119064331, -0.40243130922317505, 0.45534995198249817, -0.2429441511631012, -0.6653690338134766, 0.016123734414577484, -0.33649325370788574, 1.3279054164886475, -1.001858115196228, 0.5259363651275635, 0.8376899361610413, -0.19961045682430267, -0.6038564443588257, -0.10255356878042221, 0.236316978931427, -0.6554526686668396, 0.7627385854721069, -0.3492893576622009, -0.20823925733566284, -0.4067201018333435, -0.4031042158603668, -0.646194577217102, 0.5837600231170654, 0.030862364917993546, -0.5271152853965759, -0.023983579128980637, -0.10667005181312561, 0.10029447078704834, -0.16270971298217773, -0.05728200078010559, 0.6514824628829956, 0.9854423999786377, 0.5054460763931274, -0.7956030368804932, -0.0243829358369112, -0.23052965104579926, -0.2218618094921112, 0.21866466104984283, -0.4732462763786316, 0.6751495003700256, -0.049769360572099686, -0.03859800100326538, -0.03393286466598511, 0.523577094078064, -0.10275672376155853, 0.4073898196220398, 0.04118647426366806, 0.6948306560516357, 0.799055814743042, -0.4185231029987335, 1.0833300352096558, 0.1717473715543747, 0.16472749412059784, 1.3234035968780518, -0.820556640625, 0.4769790768623352, 0.4414640963077545, -0.18278199434280396, 0.8120357990264893, 0.903823971748352, -0.2012363225221634, 1.1058539152145386, 0.03138841316103935, -0.39467015862464905, -0.15093013644218445, -0.30521783232688904, -0.365127295255661, 0.7412242889404297, 0.6505016088485718, -0.3795360326766968, -0.40068894624710083, 0.24769841134548187, -0.19322404265403748, 0.212898388504982, 0.0455087274312973, 1.1963720321655273, 0.013424653559923172, -0.7199390530586243, 0.49833086133003235, 0.08282072097063065, 0.0628451481461525, -0.5295498371124268, -0.39910247921943665, -0.15711049735546112, -0.05567677319049835, -0.35836806893348694, -1.05781090259552, 0.3202647268772125, -0.400336354970932, -0.47568708658218384, -0.0887245237827301, 0.6588934659957886, -0.12086205184459686, -0.6287739276885986, 0.22178497910499573, 0.6817615032196045, -0.34766119718551636, -0.04648175463080406, -0.46281546354293823, 0.1537480652332306, -0.18241608142852783, -0.028543028980493546, 0.03288563713431358, 0.5880143642425537, 0.2178780734539032, 0.3982482850551605, 0.3093772530555725, 0.20369437336921692, 0.16321495175361633, 0.09239323437213898, 0.834547758102417, -0.5234052538871765, -0.6670225858688354, -0.7407523393630981, 0.38972795009613037, -0.19701097905635834, 0.1029861569404602, 1.1022729873657227, 0.5215022563934326, 0.9084261059761047, -0.31008750200271606, 1.205410361289978, -0.3446520268917084, 0.8407909870147705, -0.5350403189659119, 0.6109921336174011, -0.5267594456672668, 0.3702685236930847, -0.29100531339645386, -0.6793402433395386, -0.19132494926452637, 0.6435496807098389, -0.6057599186897278, 0.1450587511062622, 0.512428879737854, 0.6379638910293579, -0.2157621681690216, 0.4023040235042572, 0.3256441652774811, -0.14021964371204376, 0.27439242601394653, 0.18414990603923798, 1.0898566246032715, -0.18869727849960327, -0.42474979162216187, -0.35208868980407715, -0.3782441020011902, -0.10624904930591583, -0.6212751269340515, -0.5060598254203796, -0.7142061591148376, -0.3026789426803589, -0.1357114166021347, 0.011230283416807652, 0.6982907652854919, 0.9142818450927734, -0.9222947359085083, -0.30934393405914307, 0.12385592609643936, 0.4944239556789398, -0.9694876074790955, -0.3195277154445648, 0.11181061714887619, -0.03765036538243294, 0.004933538381010294, 0.7767718434333801, 0.20409400761127472, -0.40650904178619385, -0.21259969472885132, 0.06688631325960159, -0.6607136130332947, -0.009004239924252033, 0.8162302374839783, 0.5314797163009644, -0.4689759314060211, 0.05129888281226158, -0.13215364515781403, 0.20319172739982605, -0.0699344351887703, 0.9515734314918518, -0.2725507616996765, 0.6544992923736572, 0.2710660696029663, 0.9180065393447876, 0.34811636805534363, -0.16844142973423004, 0.4189314842224121, -0.8492797613143921, -0.31969746947288513, 0.053869400173425674, 0.4521591067314148, 0.36750301718711853, -0.6083249449729919, 0.4178960919380188, 0.2821277678012848, -0.5160852074623108, -0.40761598944664, 0.322725385427475, -0.5895938873291016, -0.7068965435028076, 0.7713912129402161, -0.2507302761077881, -0.16894476115703583, -0.2326362431049347, 0.19931279122829437, 0.06111445650458336, -0.21620284020900726, 0.878589928150177, 0.9019336700439453, -0.4324813783168793, -0.1399897187948227, -0.6723629832267761, 0.3804919421672821, 0.16334164142608643, -0.9686464071273804, 0.22813092172145844, 0.7148023247718811, 0.6570289134979248, 0.35785725712776184, 0.01732461340725422, 0.08832951635122299, 0.2533434331417084, -0.016581231728196144, 0.0640668198466301, -0.040882594883441925, -0.800530195236206, 0.7533620595932007, 0.3025337755680084, 0.27044427394866943, -0.25601646304130554 ]
http://arxiv.org/abs/2405.00522v1
http://arxiv.org/pdf/2405.00522v1
DAM: A Universal Dual Attention Mechanism for Multimodal Timeseries Cryptocurrency Trend Forecasting
2024-05-01T13:58:01
2024-05-01T13:58:01
Yihang Fu, Mingyu Zhou, Luyao Zhang
econ.GN
econ.GN, cs.CE, cs.CL, cs.CR, q-fin.CP, q-fin.EC
In the distributed systems landscape, Blockchain has catalyzed the rise of cryptocurrencies, merging enhanced security and decentralization with significant investment opportunities. Despite their potential, current research on cryptocurrency trend forecasting often falls short by simplistically merging sentiment data without fully considering the nuanced interplay between financial market dynamics and external sentiment influences. This paper presents a novel Dual Attention Mechanism (DAM) for forecasting cryptocurrency trends using multimodal time-series data. Our approach, which integrates critical cryptocurrency metrics with sentiment data from news and social media analyzed through CryptoBERT, addresses the inherent volatility and prediction challenges in cryptocurrency markets. By combining elements of distributed systems, natural language processing, and financial forecasting, our method outperforms conventional models like LSTM and Transformer by up to 20\% in prediction accuracy. This advancement deepens the understanding of distributed systems and has practical implications in financial markets, benefiting stakeholders in cryptocurrency and blockchain technologies. Moreover, our enhanced forecasting approach can significantly support decentralized science (DeSci) by facilitating strategic planning and the efficient adoption of blockchain technologies, improving operational efficiency and financial risk management in the rapidly evolving digital asset domain, thus ensuring optimal resource allocation.
[ -0.43569374084472656, -0.6245698928833008, 0.05383677035570145, 0.5333725214004517, -0.8698070645332336, 0.48814985156059265, -0.07576486468315125, -0.3987569808959961, 0.5097512006759644, 0.38574013113975525, -0.8277633786201477, -0.5008835196495056, -0.44075801968574524, -0.2866538465023041, -0.40995508432388306, 1.2313050031661987, 0.10511427372694016, 0.13532087206840515, -0.05568883195519447, 0.13702146708965302, -0.15781113505363464, -0.2820318937301636, -0.5873311161994934, -0.18562918901443481, 0.6010489463806152, 0.2791292071342468, 0.5593819618225098, 0.5114681720733643, 0.9801449179649353, 0.2390562742948532, 0.4660605490207672, 0.32345521450042725, -0.15427833795547485, 0.4453960955142975, 0.15314944088459015, 0.16711822152137756, -0.42655259370803833, -0.11111990362405777, 0.39819756150245667, 0.2839679419994354, -0.2842279374599457, 0.2353271096944809, 0.007652890868484974, 0.5013645887374878, -0.7176570296287537, 0.3895939886569977, -0.38347917795181274, 0.22603173553943634, -0.29201287031173706, -0.601459264755249, -0.12824854254722595, 0.026378577575087547, 0.24271830916404724, -0.4507177174091339, 0.21451352536678314, 0.24606573581695557, 0.3426222503185272, 0.2930496335029602, -0.4917950928211212, -0.015985682606697083, -0.5756787657737732, 0.7918308973312378, -0.3339076042175293, 0.26964354515075684, -0.071268230676651, 0.31755685806274414, 0.21877190470695496, -0.7478653788566589, -0.36417391896247864, 0.032855819910764694, 0.11902648955583572, 0.25489768385887146, -0.21292494237422943, -0.19511374831199646, 0.07467357069253922, 0.3500692546367645, -0.1864796280860901, -0.29547250270843506, -0.5144505500793457, -0.3512904644012451, 0.4343384802341461, 0.3963017463684082, 0.039391182363033295, -0.20220355689525604, -0.9383206367492676, -0.1939830183982849, -0.11375822871923447, 0.047746576368808746, 0.3931082487106323, 0.6258832812309265, -0.5552324652671814, 0.29997390508651733, -0.08131585270166397, 0.2581747770309448, 0.20877976715564728, -0.22343076765537262, 0.19672958552837372, -0.5895752906799316, -0.012947375886142254, 0.5522134900093079, 0.855401337146759, 0.7353418469429016, -0.03534199297428131, -0.15823541581630707, -0.11966376006603241, 0.16899095475673676, 0.4014643728733063, -0.8071575164794922, 0.08475291728973389, 0.34491991996765137, -0.14708121120929718, -0.616420328617096, 0.2485194206237793, -1.4728224277496338, -0.5955143570899963, -0.4556649923324585, 0.11531557142734528, 0.038077693432569504, -0.5732957720756531, -0.04379335045814514, -0.5738056898117065, -0.15002276003360748, 0.0724978893995285, -0.9128490090370178, 0.5284045338630676, 0.775811493396759, 1.0723670721054077, -0.14291365444660187, 0.007928956300020218, -0.6391971707344055, 0.27618128061294556, -0.16550405323505402, 0.6244006156921387, -0.2013261318206787, -0.36914336681365967, 0.012632591649889946, -0.24473518133163452, 0.19703161716461182, 0.023012105375528336, 0.15132035315036774, -0.7150120735168457, -0.039010170847177505, 0.07866937667131424, 0.21931518614292145, -0.05423835292458534, 0.3667844235897064, -0.7006736993789673, 0.668933629989624, -0.12757228314876556, -1.5248335599899292, 0.27791717648506165, -0.8777072429656982, -0.5216002464294434, -0.14493049681186676, 0.2799051105976105, -0.5341139435768127, -0.4355240762233734, 0.4531322419643402, 0.3614802658557892, -0.45354655385017395, 0.5091663002967834, -0.9055291414260864, -0.07473769038915634, 0.5677545070648193, -0.6512717604637146, 0.4724639654159546, 0.001598741509951651, -0.7109913229942322, 0.4891703724861145, -0.8559558391571045, -0.04857683926820755, -0.0070437099784612656, 0.45202702283859253, -0.4015575051307678, -0.0450093038380146, 0.5393334031105042, 0.36186471581459045, 0.6056271195411682, -0.32854849100112915, 0.22530122101306915, -0.3786545693874359, 0.9315467476844788, 1.1191539764404297, 0.32240405678749084, 0.33680427074432373, -0.020537031814455986, 0.3218672275543213, 0.31009528040885925, 0.5868629217147827, 0.04488718882203102, -0.018895165994763374, -0.39708584547042847, -0.44877761602401733, 0.04263677820563316, 0.5623745322227478, -0.11159316450357437, 0.008372628130018711, -0.310524582862854, -0.3583439290523529, -0.48435792326927185, -0.003962322138249874, -0.16182032227516174, 0.15414296090602875, 0.3074025511741638, -0.24849064648151398, -0.8881222605705261, -0.7934011220932007, 0.08820446580648422, 0.10671592503786087, 0.22472967207431793, 0.08159159123897552, 0.27368834614753723, -0.4271163046360016, 0.6283798217773438, -0.25677812099456787, -0.16039235889911652, 0.04192964732646942, 0.3672237694263458, 0.20136022567749023, -0.03355412930250168, 0.10402634739875793, -1.1098047494888306, -0.26422256231307983, 0.21557419002056122, -0.4398193359375, 0.3835478723049164, -0.023550918325781822, -0.08375337719917297, 0.04976532608270645, 0.14689487218856812, -0.4672890603542328, 0.262651652097702, 0.6287616491317749, -0.32777222990989685, 0.43096041679382324, -0.26139333844184875, 0.2802107036113739, -1.2788727283477783, -0.03427086025476456, 0.04126328229904175, -0.14152979850769043, -0.27987799048423767, -0.13303843140602112, 0.22004924714565277, -0.2316352128982544, -0.10015971958637238, 0.4723395109176636, -0.3213854432106018, 0.0009109569946303964, -0.3485077917575836, 0.462859183549881, -0.18955551087856293, 0.35809528827667236, -0.22114719450473785, 0.5540614128112793, 1.1065953969955444, -0.6339418888092041, 1.0083848237991333, -0.32942479848861694, -0.2112540900707245, 0.43637263774871826, -0.6595535278320312, 0.15946877002716064, 0.025712713599205017, -0.20140834152698517, -1.1231999397277832, -0.10086597502231598, 0.5747065544128418, -0.3047442138195038, 0.42498278617858887, 0.4053933620452881, -0.3928016722202301, -0.7925751805305481, -0.7193577885627747, 0.24587313830852509, -0.023409070447087288, -0.3304557502269745, 0.5570359230041504, 0.33293211460113525, -0.166468545794487, -1.188118577003479, -0.49651750922203064, 0.06818471848964691, -0.4336695969104767, -0.5672968626022339, 0.28177475929260254, -0.34794723987579346, -0.5595844388008118, -0.03923756256699562, -0.32394298911094666, 0.2957404851913452, 0.055524177849292755, 0.6965096592903137, 0.9052795171737671, 0.10173933207988739, -0.0214689951390028, -0.025198787450790405, -0.4082793593406677, 0.0862221047282219, -0.74412602186203, 0.5417216420173645, 0.0493745394051075, -0.0689719170331955, -0.7730262875556946, 0.3195464313030243, 1.0798676013946533, -0.2914291322231293, 0.7656945586204529, 0.5360177159309387, -0.0524357371032238, -0.049889590591192245, -0.4663774371147156, -0.3353133201599121, -0.45550039410591125, 0.09709064662456512, -0.1745777279138565, -0.7865478992462158, 0.5726981163024902, 0.2327064871788025, 0.07322624325752258, 0.42972415685653687, 0.808597981929779, 0.31721487641334534, 1.3717361688613892, 0.7520890831947327, -0.3757941424846649, 0.5969052910804749, -0.29163068532943726, 0.41706615686416626, -0.7768074870109558, -0.2632458508014679, -0.13527216017246246, -0.5101820230484009, -0.7970353960990906, -0.29085808992385864, 0.2680797874927521, -0.18335923552513123, -0.2806369662284851, 0.19032113254070282, -0.5326327085494995, -0.34021681547164917, 0.5889177322387695, 0.14355532824993134, 0.43147507309913635, 0.32563114166259766, -0.1680302619934082, -0.09944158047437668, -0.22078758478164673, 0.04674532637000084, 1.4473077058792114, 0.13137856125831604, 0.8113524913787842, -0.4614752531051636, 0.416900634765625, 0.7702695727348328, 0.5387913584709167, -0.6221060752868652, 0.0002942100982181728, 0.043056849390268326, -0.5087915658950806, -0.31501248478889465, -0.3150709271430969, -0.46453532576560974, 0.24568921327590942, 0.13668742775917053, -0.2532615661621094, 0.35835137963294983, -0.17374397814273834, -0.42613789439201355, 0.2769289016723633, -0.14324593544006348, 0.9508324265480042, -0.08528502285480499, -0.5126354694366455, -0.7626849412918091, -0.4901786148548126, 0.18796055018901825, -0.04346361383795738, 0.6590359210968018, -0.23824943602085114, -0.5516178607940674, 0.454507052898407, -0.1782855987548828, 0.770133912563324, -0.02077210322022438, 0.01247407030314207, 0.12818801403045654, -0.5099499821662903, 0.6976547241210938, 0.5511243939399719, 0.20916648209095, 0.19644971191883087, -0.32750725746154785, -0.381738543510437, -0.27598732709884644, 1.099938154220581, -0.8937142491340637, -0.4392632842063904, -0.51446932554245, -0.6530007123947144, -0.053159747272729874, 0.08688055723905563, 0.15084055066108704, 0.5571121573448181, -0.22087228298187256, -0.07719045132398605, 0.17422211170196533, 0.8287940621376038, 0.6730979084968567, 0.5827139019966125, 0.14783984422683716, -1.1108253002166748, 0.6919437646865845, -0.1451038420200348, 0.031264778226614, 0.7163242101669312, 0.15312616527080536, -0.4484013020992279, -0.22736097872257233, -0.2794940769672394, 0.2520900070667267, -0.5237069129943848, -0.22838827967643738, -0.8267152309417725, 0.18911895155906677, -0.9061782360076904, 0.13598233461380005, -0.30976781249046326, -0.26178160309791565, -0.07599857449531555, -0.2374466061592102, 0.3963279128074646, 0.15505538880825043, -0.3438681662082672, -0.09478020668029785, -0.6096493005752563, 0.69716477394104, 0.6302167177200317, 0.21038798987865448, 0.08883118629455566, -0.24986517429351807, -0.2220517098903656, 0.29927563667297363, -0.4504231810569763, -0.8110014200210571, 0.49708881974220276, -0.19720473885536194, 0.1652609258890152, 1.037044644355774, 0.20233304798603058, 0.7963892817497253, -0.22028160095214844, 0.25916433334350586, 0.6736941933631897, -0.8333308100700378, 0.6113858222961426, -0.22783787548542023, -0.08023711293935776, 0.05543173477053642, 0.2971441149711609, -0.9080758690834045, -0.6604418754577637, -0.5078713297843933, -0.8207514882087708, 0.8267641067504883, -0.17504994571208954, 0.12832441926002502, -0.07371149957180023, -0.1835336983203888, 0.23418639600276947, 0.707444965839386, -0.681818962097168, -0.5693790912628174, -0.7543390989303589, -0.1498217135667801, -0.041145458817481995, -0.21828711032867432, -0.24380964040756226, -0.11571477353572845, 0.6864637732505798, -0.11271687597036362, 0.0006929124938324094, 0.10819815844297409, 0.40336719155311584, -0.5850619077682495, 0.380614310503006, 0.37071964144706726, 0.6918193101882935, -0.2778453230857849, 0.08863463252782822, -0.19039785861968994, -0.39324966073036194, -0.008470173925161362, 0.5275874137878418, -0.3217798173427582, -0.141304150223732, 0.11439821124076843, 0.9068577885627747, 0.6002479791641235, -0.6638690829277039, 0.43922221660614014, -0.15473094582557678, -0.11097215116024017, -0.4810503125190735, -0.30976060032844543, 0.016509659588336945, 0.5740714073181152, 0.6341584920883179, 0.6311120390892029, 0.35929226875305176, -0.6280373334884644, 0.11054468154907227, 0.5196400880813599, -0.7273369431495667, -0.5434070229530334, 0.9597226977348328, -0.012968916445970535, 0.0521952286362648, 0.4796624183654785, 0.15018221735954285, -0.2823043763637543, 0.7123769521713257, 0.4060926139354706, 1.0272129774093628, -0.3569297194480896, 0.21402549743652344, 0.5034408569335938, 0.1484566032886505, -0.19651100039482117, 0.17350813746452332, -0.35436680912971497, -0.5107556581497192, -0.4668727517127991, -0.5845514535903931, 0.009258453734219074, -0.15743528306484222, -0.6304604411125183, 0.5599690079689026, -0.6215590238571167, -0.5715351700782776, 0.350776731967926, 0.24641765654087067, -0.48243552446365356, 0.09257438778877258, 0.42180734872817993, 0.4788026511669159, -0.44241976737976074, 0.5195064544677734, 0.6780455112457275, -0.13296689093112946, -0.12659995257854462, -0.1109897717833519, 0.0034280268009752035, -0.7392777800559998, 0.5638501644134521, 0.3699782192707062, -0.1409653127193451, -0.048718441277742386, -0.48441484570503235, -0.782656192779541, 0.9846415519714355, 0.07668053358793259, -0.7539569139480591, -0.1294039785861969, -0.08919277042150497, 0.3050042986869812, -0.5008369088172913, 0.11518214643001556, 0.07384464144706726, 0.8865290284156799, 0.050897207111120224, -0.5406531691551208, -0.1026245728135109, -0.4612244665622711, -0.20008769631385803, 0.7984305024147034, -0.8173662424087524, 0.5879080891609192, -0.7512526512145996, -0.47693219780921936, -0.17779496312141418, 0.7432434558868408, -0.01346089318394661, 0.8252385258674622, 0.6122013330459595, 0.4387029707431793, 0.5208877325057983, -0.08897918462753296, 0.8814586997032166, -0.6998153924942017, 0.6166220903396606, 0.5041869282722473, -0.02203083410859108, 0.6175435185432434, 0.7975161075592041, -0.3830054700374603, 0.7701495289802551, 0.6142755746841431, 0.018620673567056656, 1.0544896125793457, -0.13400721549987793, -0.23422271013259888, -0.6305044293403625, -0.3084459602832794, -0.5810165405273438, 0.13941732048988342, 0.20560021698474884, -0.0412553995847702, 0.03206799924373627, 0.34715673327445984, -0.3729482591152191, -0.16017654538154602, -0.5488710403442383, 0.4855996072292328, 0.1651705503463745, -0.42195212841033936, 0.041435979306697845, 0.06036078557372093, 0.8739553093910217, -0.7292103171348572, 0.3477799892425537, 0.001459288876503706, 0.42687487602233887, 0.09696409851312637, -0.2782175540924072, -0.0037883904296904802, -0.3137892186641693, -0.5337061882019043, -0.3461277484893799, 0.4115752875804901, -0.32436296343803406, -0.6195014715194702, 0.5713310241699219, -0.11272900551557541, -0.5594660043716431, -0.3542132079601288, -0.6795816421508789, -0.28235653042793274, -0.19931800663471222, -0.07641211152076721, 0.27781423926353455, 0.5694892406463623, 0.06628426909446716, 0.8058302402496338, 0.7263287901878357, -0.07942020893096924, -0.14367343485355377, 0.263194739818573, 0.8225974440574646, -0.7890004515647888, -1.0009592771530151, -0.8375601768493652, 0.42175793647766113, -0.26700082421302795, -0.0019772788509726524, 0.6464279294013977, 0.4320056736469269, 0.4765572249889374, 0.05472064018249512, 0.7212429642677307, 0.21050840616226196, 0.36645615100860596, 0.06475827842950821, 0.21089370548725128, -0.5866230130195618, -0.056126922369003296, -0.016214560717344284, -0.5688477754592896, 0.06974537670612335, -0.1029706746339798, -0.3943953812122345, -0.24780656397342682, 0.6665291786193848, 0.47334837913513184, -0.0762757882475853, 0.14855271577835083, -0.012735745869576931, -0.023935837671160698, -0.13254186511039734, 0.32759159803390503, 0.5536872744560242, -0.35125279426574707, 0.8086274862289429, -0.8316477537155151, -0.014366325922310352, -0.5512207746505737, -0.6241849064826965, -0.8748130202293396, -0.38736453652381897, -0.34758785367012024, -0.06385750323534012, 0.0474374033510685, 0.7500439286231995, 0.5686613321304321, -1.1268020868301392, -0.15398147702217102, 0.07775013148784637, 0.2167581170797348, -0.7737969160079956, -0.3759198486804962, 0.45886483788490295, -0.3073776960372925, -0.7573373913764954, -0.01996489055454731, 0.8607994914054871, -0.0850958526134491, -0.5913427472114563, 0.07530954480171204, 0.27329081296920776, -0.1759679764509201, 0.2451578676700592, -0.3112248480319977, -0.5719144344329834, 0.10687407851219177, 0.33615416288375854, -0.3233129680156708, 0.0574631430208683, 1.2351077795028687, -0.432836651802063, 0.5386924147605896, 0.49174565076828003, 0.0288398340344429, 0.5466428399085999, 0.029870042577385902, 0.3351919949054718, -0.41018083691596985, 0.44341614842414856, -0.012823953293263912, 0.1880078762769699, 0.38808733224868774, -0.5192832350730896, -0.0910787582397461, 0.6382716298103333, -0.2708744406700134, -0.6535293459892273, -0.27657532691955566, -1.0753648281097412, -0.11734757572412491, 0.4543997049331665, 0.31178387999534607, -0.3335692882537842, -0.07097040861845016, -0.023107564076781273, 0.49877429008483887, -0.7825157046318054, 1.1200151443481445, 0.648998498916626, 0.38527315855026245, -0.29098328948020935, -0.7521505951881409, 0.11572379618883133, -0.08617424219846725, -0.3687424659729004, 0.2892361283302307, 0.22839319705963135, 0.08328720182180405, 0.463237464427948, 0.3841079771518707, -0.1340147703886032, 0.5839807987213135, 0.06942606717348099, 0.008046046830713749, -0.33807581663131714, -0.4333762228488922, 0.14708015322685242, 0.503983736038208, -0.4334781765937805, -0.32420068979263306 ]
http://arxiv.org/abs/2405.00516v1
http://arxiv.org/pdf/2405.00516v1
Navigating WebAI: Training Agents to Complete Web Tasks with Large Language Models and Reinforcement Learning
2024-05-01T13:51:45
2024-05-01T13:51:45
Lucas-Andreï Thil, Mirela Popa, Gerasimos Spanakis
cs.LG
cs.LG, cs.AI, cs.CL, 68T07, I.2.7; I.2.8; I.2.1
Recent advancements in language models have demonstrated remarkable improvements in various natural language processing (NLP) tasks such as web navigation. Supervised learning (SL) approaches have achieved impressive performance while utilizing significantly less training data compared to previous methods. However, these SL-based models fall short when compared to reinforcement learning (RL) approaches, which have shown superior results. In this paper, we propose a novel approach that combines SL and RL techniques over the MiniWoB benchmark to leverage the strengths of both methods. We also address a critical limitation in previous models' understanding of HTML content, revealing a tendency to memorize target elements rather than comprehend the underlying structure. To rectify this, we propose methods to enhance true understanding and present a new baseline of results. Our experiments demonstrate that our approach outperforms previous SL methods on certain tasks using less data and narrows the performance gap with RL models, achieving 43.58\% average accuracy in SL and 36.69\% when combined with a multimodal RL approach. This study sets a new direction for future web navigation and offers insights into the limitations and potential of language modeling for computer tasks.
[ -0.44280099868774414, -0.8007635474205017, 0.37808844447135925, 0.021104246377944946, -0.05802635848522186, 0.2779277265071869, -0.2482060194015503, -0.41436681151390076, -0.07627546787261963, 0.18091638386249542, -0.8941764235496521, -0.572558581829071, -0.42036280035972595, -0.07086344063282013, -0.2202487587928772, 0.9149091243743896, 0.17710256576538086, 0.011291158385574818, -0.47452232241630554, -0.11697554588317871, -0.2745102345943451, -0.31965988874435425, -0.9407018423080444, -0.5864315032958984, 0.8112426400184631, 0.2911383807659149, 0.7637125253677368, 0.6835598349571228, 0.36557501554489136, 0.3173075020313263, 0.10623721778392792, 0.4595431685447693, -0.3865683972835541, -0.02882423996925354, -0.39137715101242065, -0.5358220338821411, -0.4117274284362793, 0.01278778724372387, 0.3226606249809265, 0.8034458160400391, -0.2536904215812683, -0.020589975640177727, -0.11253629624843597, 0.7992715239524841, -0.7895680069923401, 0.3116605281829834, -0.3611829876899719, 0.1139594316482544, 0.07873956859111786, -0.26418137550354004, -0.7194837927818298, 0.0009464712929911911, 0.2983708679676056, -1.0999034643173218, 0.24697116017341614, 0.22498393058776855, 0.8080140352249146, 0.4148768186569214, -0.7834104895591736, -0.4033917188644409, -0.5630403757095337, 0.9852391481399536, -0.6129445433616638, 0.7304720878601074, 0.5887129306793213, 0.4494722783565521, -0.0886612981557846, -0.7401131987571716, -0.3861527144908905, -0.36780402064323425, -0.05151021108031273, 0.035832252353429794, -0.3291700482368469, 0.023035047575831413, 0.19996868073940277, -0.2773140072822571, -0.8552975654602051, 0.29687145352363586, -0.11302024871110916, -0.20218826830387115, 0.7480248808860779, 0.17490364611148834, 0.37800663709640503, 0.011380800977349281, -0.4293181300163269, -0.6699159741401672, -0.3693997263908386, 0.28889375925064087, 0.11324770003557205, 0.6174371242523193, -0.15289436280727386, 0.13826997578144073, -0.4064365327358246, 0.6967981457710266, 0.052613936364650726, -0.6307876110076904, 0.36363062262535095, -0.21797147393226624, -0.06233362480998039, -0.2559848427772522, 0.6000158786773682, 0.38631129264831543, 0.2596433758735657, -0.28955838084220886, -0.301858127117157, 0.052550412714481354, 0.5518079996109009, -0.3826391398906708, -0.4034900665283203, 0.008480207063257694, -0.5696181058883667, -0.020096812397241592, -0.005304153077304363, -0.6863065958023071, -0.3841472566127777, -0.3076322376728058, 0.2848643958568573, -0.44908663630485535, -0.2930228114128113, -0.22249610722064972, -0.23041819036006927, 0.33690956234931946, 0.5630713701248169, -0.9051839709281921, 0.5129543542861938, 0.6356296539306641, 0.6662377119064331, -0.5059147477149963, -0.4504876434803009, -0.6725946664810181, 0.2542356848716736, -0.324282169342041, 0.6578814387321472, -0.4666473865509033, -0.2650526463985443, 0.21645350754261017, -0.29541558027267456, -0.14757698774337769, -0.3806401789188385, 0.17255893349647522, -0.7411452531814575, -0.13452893495559692, 0.15684807300567627, -0.38989511132240295, -0.5545681715011597, 0.46497413516044617, -0.8662635087966919, 0.6836218237876892, -0.1865759640932083, -0.40529122948646545, 0.24206474423408508, -0.5491796135902405, -0.7170725464820862, -0.11765434592962265, 0.040324483066797256, -0.3231668174266815, -0.10709570348262787, 0.5149610638618469, 0.37318170070648193, -0.07168205827474594, -0.07959161698818207, -0.10147407650947571, -0.17983748018741608, 0.2841375470161438, -0.4257558286190033, 0.543556809425354, 0.13622665405273438, -0.20744042098522186, 0.1773926019668579, -0.8354019522666931, 0.23726999759674072, 0.20567794144153595, -0.534085214138031, -0.5887988209724426, 0.06734349578619003, 0.2151443511247635, 0.22983063757419586, 0.30052509903907776, -0.1568385809659958, 0.28833964467048645, -0.23455810546875, 0.02811235748231411, 0.7292714715003967, -0.07373634725809097, 0.6766127347946167, -0.29259437322616577, 0.6978989243507385, -0.0713077187538147, 0.36723387241363525, 0.02795541100203991, -0.43678829073905945, -1.0295469760894775, 0.2571444511413574, 0.326753705739975, 0.5244850516319275, -1.3026295900344849, -0.2602027952671051, -0.40818753838539124, -0.5726298093795776, -0.49154800176620483, 0.26911094784736633, 0.8485727906227112, 0.17174585163593292, 0.7474874258041382, -0.30050283670425415, -0.5190499424934387, -0.6486602425575256, -0.23745207488536835, -0.337361603975296, 0.11020679771900177, 0.28116998076438904, 0.48988834023475647, -0.5292676687240601, 0.842248797416687, -0.44888320565223694, -0.37641552090644836, -0.6822119951248169, 0.43805158138275146, -0.1469198316335678, 0.5354369878768921, 0.09208868443965912, -1.2578643560409546, -0.6326267719268799, 0.17319457232952118, -0.7053486704826355, 0.20058411359786987, -0.2565138041973114, 0.2608351707458496, 0.1470988541841507, 0.5368562936782837, -0.4399822950363159, 0.502907395362854, 0.4459286034107208, -0.06714700162410736, 0.3262788653373718, -0.32367250323295593, -0.05417706444859505, -0.4889616072177887, -0.289011687040329, 0.5157229900360107, -0.5631903409957886, -0.8861547708511353, 0.541898787021637, 0.19625170528888702, 0.08197199553251266, -0.5988871455192566, 0.6414515376091003, -0.6968941688537598, -0.10623306781053543, -0.5378293395042419, 0.3224325180053711, -0.11720390617847443, 0.990215003490448, -0.0807783231139183, 0.784615695476532, 0.282594233751297, -0.9424875378608704, 0.50482577085495, 0.27854683995246887, 0.14023888111114502, 0.38382354378700256, -0.31537050008773804, 0.08985906839370728, -0.14068999886512756, 0.2852950990200043, -0.6894815564155579, -0.09493641555309296, -0.06626889854669571, -0.6823932528495789, 0.3118714392185211, -0.18277429044246674, -0.3731401562690735, -0.20024217665195465, -0.17557522654533386, 0.25668561458587646, 0.5318055152893066, -0.4610357880592346, 0.8939183950424194, 0.3362201154232025, 0.049140945076942444, -0.49839019775390625, -0.6246943473815918, -0.007674656808376312, -0.10018607974052429, -0.4078436493873596, 0.39548954367637634, 0.055778779089450836, -0.32926085591316223, -0.22979985177516937, -0.07411893457174301, -0.31804895401000977, 0.28285878896713257, 0.29958170652389526, 0.09201107919216156, -0.12467842549085617, 0.13579468429088593, -0.16763384640216827, -0.36775752902030945, -0.1729607731103897, -0.25715214014053345, 0.6040992736816406, -0.1122923195362091, -0.43686187267303467, -0.8284968137741089, 0.19031691551208496, 0.16742834448814392, -0.2921721041202545, 0.6245966553688049, 0.6275719404220581, -0.174155130982399, -0.2827441990375519, -0.48718029260635376, -0.13199689984321594, -0.48317912220954895, 0.2546471357345581, -0.42521655559539795, -0.5853248834609985, 0.13300888240337372, -0.30393731594085693, 0.08480291068553925, 0.24912132322788239, 0.17788079380989075, -0.5161161422729492, 1.2927420139312744, 1.143837332725525, -0.14963684976100922, 0.595626175403595, -0.34733396768569946, -0.04368690028786659, -0.5941251516342163, -0.4115039110183716, -0.35863158106803894, -0.2862772047519684, -0.7420172095298767, -0.47476664185523987, 0.379564106464386, -0.06467689573764801, 0.033310458064079285, 0.367412805557251, 0.07304175198078156, 0.18392714858055115, 0.8613113760948181, 0.23978681862354279, 0.446016401052475, -0.08758466690778732, -0.38143059611320496, 0.22396747767925262, -0.9379497766494751, -0.2596028447151184, 1.1432667970657349, 0.2418266385793686, 1.059658408164978, 0.2651215195655823, 0.6074201464653015, 0.6407281160354614, -0.07862254232168198, -0.4975615441799164, 0.6962003707885742, 0.0672631487250328, -0.2640470862388611, -0.5392645001411438, -0.32261785864830017, -1.1056580543518066, 0.5084402561187744, -0.23538464307785034, -0.6074474453926086, -0.05163775756955147, 0.1581377387046814, -0.2834811210632324, 0.04511786624789238, -0.6660003066062927, 0.7855545282363892, -0.3547839820384979, -0.5162019729614258, -0.4964260756969452, -0.8383015394210815, 0.032190293073654175, 0.396119087934494, 0.49884656071662903, 0.2203035205602646, -0.23679977655410767, 0.5707494616508484, -0.2849195599555969, 0.8677041530609131, -0.19863997399806976, 0.08838357776403427, -0.05977177992463112, -0.012445670552551746, 0.7141055464744568, -0.3072497546672821, 0.2639178931713104, -0.2954317033290863, -0.26481062173843384, -0.5707378387451172, -0.7510525584220886, 0.5001605153083801, -0.7640047669410706, -0.5113406777381897, -0.6269155740737915, -0.5186826586723328, -0.48474380373954773, -0.029101217165589333, -0.2010846585035324, 0.3813572824001312, -0.10793845355510712, 0.03713366761803627, 0.8535622954368591, -0.2372654676437378, 0.645739734172821, 0.751069962978363, -0.3452741801738739, -0.14994972944259644, 1.0738112926483154, -0.23857703804969788, 0.2273688018321991, 0.7072334885597229, -0.031878452748060226, -0.48468002676963806, -0.7516610622406006, -0.5193739533424377, 0.1359313428401947, -0.7831313610076904, 0.006339358165860176, -0.5960995554924011, -0.08740280568599701, -0.5122937560081482, -0.017013104632496834, -0.2803310453891754, -0.10466758906841278, -0.24635395407676697, -0.010624902322888374, 0.02581084705889225, 0.728684663772583, -0.1197001039981842, 0.4433740973472595, -0.7695158123970032, 0.4188282787799835, 0.5390942096710205, -0.15509402751922607, 0.48711901903152466, -0.10693615674972534, -0.526213526725769, 0.06558898836374283, -0.30956050753593445, -0.8212921023368835, 0.49382367730140686, 0.04555100202560425, 0.8778961300849915, 0.46466952562332153, 0.010913591831922531, 0.9281061887741089, -0.4540739059448242, 0.6789903044700623, 0.3105893135070801, -0.7248746752738953, 0.728079080581665, -0.2737112045288086, 0.4606553614139557, 0.5677013397216797, 0.5884633660316467, -0.49996116757392883, -0.1674373745918274, -0.5527142286300659, -0.729637861251831, 0.5382524132728577, 0.12202586233615875, -0.2557837665081024, 0.23408672213554382, 0.01235714741051197, -0.11209098249673843, 0.12031497806310654, -0.9366779327392578, -0.27364903688430786, 0.0048599159345030785, -0.12144573032855988, -0.24028342962265015, 0.06434772163629532, 0.15701770782470703, -0.1700134575366974, 1.0017940998077393, -0.4517231285572052, 0.026004735380411148, -0.013420318253338337, -0.8737525343894958, 0.13900059461593628, 0.10635139048099518, 0.41651952266693115, 0.8514612913131714, 0.04999757558107376, 0.08054274320602417, 0.2624285817146301, -0.2039567083120346, 0.21367642283439636, 0.0025630455929785967, -0.26571089029312134, -0.2123112976551056, 0.6811290383338928, 0.8649091124534607, 0.3338673412799835, -1.0071725845336914, 0.5988691449165344, -0.13829033076763153, 0.14524966478347778, -0.3196299076080322, 0.2687261998653412, 0.059660326689481735, 0.4866323471069336, 0.5564067363739014, -0.13348132371902466, 0.2194712907075882, -0.7517394423484802, 0.24049867689609528, 0.4406648874282837, -0.5769649744033813, 0.015907911583781242, 0.5141584277153015, 0.2926907539367676, -0.42054274678230286, 0.6018940806388855, -0.3413364291191101, -0.4286271929740906, 0.5951541066169739, 0.46823185682296753, 0.5860549211502075, -0.05887603014707565, 0.3753068745136261, 0.22760546207427979, 0.27542203664779663, -0.06297536194324493, -0.058147452771663666, -0.27664121985435486, -0.5014859437942505, -0.39028069376945496, -0.49976298213005066, -0.502247154712677, -0.21271802484989166, -0.9317047595977783, -0.26945120096206665, -0.48228320479393005, -0.13498179614543915, -0.15734733641147614, 0.2328493446111679, -0.7456909418106079, 0.5836654901504517, 0.17787674069404602, 0.8308748602867126, -0.7556480169296265, 1.0985853672027588, 0.7709941864013672, -0.7735625505447388, -0.6486029028892517, 0.22440823912620544, 0.1731366366147995, -0.5726220011711121, 0.6691210269927979, 0.1856001913547516, -0.28837111592292786, 0.04965341463685036, -0.3537319600582123, -0.6654496788978577, 1.163435459136963, -0.34324464201927185, -0.5292207598686218, -0.3779348134994507, -0.010909355245530605, 0.5569728016853333, -0.22185058891773224, 0.2713215947151184, 0.5249942541122437, 0.39917293190956116, -0.06629592180252075, -0.95303875207901, -0.061482641845941544, -0.3173246681690216, 0.24612082540988922, -0.060923803597688675, -0.7283453345298767, 0.8846361041069031, -0.23458142578601837, -0.2494172304868698, 0.15441274642944336, 0.9390623569488525, 0.11165577918291092, 0.57234126329422, 0.7164797782897949, 0.5150144696235657, 0.742213785648346, 0.06835361570119858, 0.9924771785736084, 0.18023212254047394, 0.2686312794685364, 1.1391035318374634, -0.1381414234638214, 0.9777432084083557, 0.5116527080535889, -0.24039869010448456, 0.8068674802780151, 0.4940868020057678, 0.18780745565891266, 0.789230465888977, 0.0790313333272934, -0.1260017603635788, -0.5931527018547058, -0.20504151284694672, -0.02404690533876419, 0.5554693937301636, 0.3335138261318207, 0.024897215887904167, -0.32884761691093445, 0.5901049971580505, -0.12732714414596558, 0.5729608535766602, -0.48725539445877075, 1.1645662784576416, 0.0011836150661110878, -0.7829848527908325, 0.35466164350509644, 0.30602678656578064, 0.811393141746521, -0.8780679702758789, -0.17954353988170624, -0.2774810492992401, 0.1729002743959427, 0.024430260062217712, -0.3118361234664917, -0.1515524685382843, 0.07924136519432068, -0.12885436415672302, -0.5328938364982605, 0.6650367975234985, -0.14782577753067017, -0.2712351977825165, 0.5256816744804382, 0.7138399481773376, 0.03994427248835564, 0.09634958952665329, -0.7557244300842285, 0.03239474445581436, 0.16618385910987854, 0.036552466452121735, 0.6077575087547302, 0.06943134218454361, -0.09646657854318619, 1.411405324935913, 0.8063277006149292, -0.19556260108947754, 0.33983367681503296, 0.020127061754465103, 0.754810631275177, -0.7625348567962646, -0.8056185841560364, -0.7190359234809875, 0.27775290608406067, -0.19628773629665375, -0.10447167605161667, 0.7924399375915527, 0.588681697845459, 1.0591545104980469, 0.01258718129247427, 0.8525174260139465, 0.21658793091773987, 0.5049405097961426, -0.8318294286727905, 0.5991222858428955, -0.8496019244194031, -0.10538192838430405, -0.2050807923078537, -0.4896058738231659, -0.011655116453766823, 0.7369112968444824, -0.05064868554472923, 0.055070728063583374, 0.8043490648269653, 0.670922040939331, -0.0726664587855339, -0.08827441930770874, 0.4459914565086365, -0.0008007246069610119, 0.40481916069984436, 0.8902024626731873, 0.7901819348335266, -0.36683061718940735, 0.7466578483581543, -0.4347459077835083, -0.12602972984313965, -0.38559848070144653, -0.6497501134872437, -1.0032687187194824, -0.6768860816955566, -0.19112537801265717, -0.15451452136039734, 0.4610717296600342, 1.024932861328125, 0.9944238066673279, -0.6383736729621887, -0.37540292739868164, -0.02061055228114128, 0.32870757579803467, -0.7015885710716248, -0.14608457684516907, 0.12184928357601166, -0.4648157060146332, -0.8746775388717651, 0.7492324113845825, 0.11039862036705017, 0.17074424028396606, -0.5900403261184692, -0.40485525131225586, -0.708585798740387, -0.11103237420320511, 0.41223838925361633, 0.46475693583488464, -0.9311176538467407, 0.012588564306497574, -0.2484099417924881, -0.29807746410369873, -0.0012882242444902658, 0.7281831502914429, -1.178420066833496, 0.2918277680873871, 0.3065478801727295, 0.8388351202011108, 0.9347353577613831, 0.11504064500331879, 0.4703633189201355, -0.7319140434265137, 0.2443869411945343, 0.22988857328891754, 0.12791918218135834, 0.3543856739997864, -0.03856418654322624, 0.5427409410476685, 0.09995266050100327, -0.11363854259252548, -0.5323601365089417, 0.30053117871284485, -1.051498293876648, -0.5674464702606201, 1.1167713403701782, -0.19130849838256836, -0.2693327069282532, -0.20131941139698029, 0.11941464245319366, 0.3958822786808014, -0.4383276700973511, 0.5284693241119385, 0.4023154675960541, -0.2196321189403534, -0.363608181476593, -0.8288813233375549, 0.4138612449169159, 0.21244534850120544, -0.8708810210227966, -0.3814639449119568, 0.49373188614845276, 0.04377971962094307, 0.2793775200843811, 0.6235798597335815, 0.6582983136177063, 0.47802647948265076, 0.1396273970603943, 0.024350782856345177, -0.11732429265975952, -0.7953144907951355, -0.1297580450773239, 0.2564920485019684, 0.007407367695122957, -0.3132234215736389 ]
http://arxiv.org/abs/2405.00494v1
http://arxiv.org/pdf/2405.00494v1
GOLD: Geometry Problem Solver with Natural Language Description
2024-05-01T13:00:51
2024-05-01T13:00:51
Jiaxin Zhang, Yashar Moshfeghi
cs.AI
cs.AI, cs.CL
Addressing the challenge of automated geometry math problem-solving in artificial intelligence (AI) involves understanding multi-modal information and mathematics. Current methods struggle with accurately interpreting geometry diagrams, which hinders effective problem-solving. To tackle this issue, we present the Geometry problem sOlver with natural Language Description (GOLD) model. GOLD enhances the extraction of geometric relations by separately processing symbols and geometric primitives within the diagram. Subsequently, it converts the extracted relations into natural language descriptions, efficiently utilizing large language models to solve geometry math problems. Experiments show that the GOLD model outperforms the Geoformer model, the previous best method on the UniGeo dataset, by achieving accuracy improvements of 12.7% and 42.1% in calculation and proving subsets. Additionally, it surpasses the former best model on the PGPS9K and Geometry3K datasets, PGPSNet, by obtaining accuracy enhancements of 1.8% and 3.2%, respectively.
[ -0.11894889175891876, -1.022883653640747, 0.40259286761283875, 0.2250720113515854, -0.05085233971476555, -0.10984256118535995, -0.11963125318288803, -0.4806181788444519, -0.03135859966278076, 0.5917220711708069, -0.695260226726532, -0.49423640966415405, -0.6728194952011108, 0.35504016280174255, -0.36155247688293457, 1.0446038246154785, -0.2506506145000458, 0.009797433391213417, -0.3150305449962616, 0.09437648206949234, -0.3071514070034027, -0.556594729423523, -0.6391163468360901, -0.44575315713882446, 0.20896515250205994, 0.06812192499637604, 1.1382571458816528, 0.8102871775627136, 0.9972244501113892, 0.5119543671607971, -0.20268356800079346, 0.3009483218193054, -0.2276272177696228, -0.500371515750885, 0.15335635840892792, -0.41997474431991577, -0.6413763165473938, -0.1514969766139984, 0.4538048505783081, 0.9564248323440552, -0.04467862844467163, 0.16084299981594086, -0.04091855138540268, 0.9855930209159851, -0.4007195830345154, 0.8043078184127808, -0.26302576065063477, 0.052968427538871765, -0.096305713057518, -0.184284970164299, 0.10575190931558609, -0.6064374446868896, 0.3536563813686371, -1.2988009452819824, 0.19691972434520721, 0.10857654362916946, 0.9495825171470642, 0.4807610809803009, -0.17229925096035004, -0.4650110900402069, -1.0643402338027954, 0.7380422949790955, -0.5565446019172668, 0.13039936125278473, 0.5153411030769348, 0.684710681438446, -0.20185664296150208, -0.5857433676719666, -0.38065508008003235, -0.1398562490940094, -0.43937405943870544, -0.07995156198740005, -0.29094383120536804, 0.26049551367759705, 0.17073367536067963, 0.9039018750190735, -0.741999089717865, -0.4282304644584656, -0.9251604676246643, -0.26227158308029175, 0.7497479319572449, 0.15382696688175201, 0.559352457523346, -0.40700221061706543, 0.0895199403166771, 0.05037068575620651, -0.3046073615550995, 0.05997508019208908, 0.38541561365127563, 0.43882063031196594, -0.09286921471357346, 0.7758833169937134, -0.3997132182121277, 0.9412196278572083, -0.3042813837528229, -0.13536129891872406, 0.23129890859127045, -0.11618233472108841, -0.39212819933891296, -0.007706330623477697, 0.7073619961738586, 0.048047058284282684, 0.5385730862617493, -0.2845880389213562, 0.03210928291082382, 0.24761581420898438, -0.005917761940509081, -0.5330005288124084, -0.7128779292106628, 0.07867966592311859, -0.48554161190986633, -0.0222073495388031, 0.21505536139011383, -0.5996127128601074, -0.22044993937015533, -0.7140465974807739, 0.2764427065849304, -0.42828261852264404, -0.18383164703845978, 0.580093264579773, 0.03614823520183563, -0.16915561258792877, 0.1792181432247162, -0.536867082118988, 0.46254241466522217, 0.9225541353225708, 0.9396560788154602, 0.2609730362892151, -0.22676101326942444, -0.6916409134864807, 0.20402775704860687, -0.21077921986579895, 0.8845643401145935, -0.4925503730773926, -0.2878308594226837, -0.2847074568271637, 0.0666620060801506, -0.025985226035118103, -0.5826804041862488, 0.787818968296051, -0.1078111082315445, 0.5124510526657104, -0.28173157572746277, -0.5448791980743408, -0.5344604253768921, 0.3964654803276062, -1.140598177909851, 1.0412101745605469, 0.22086381912231445, -0.5734862089157104, -0.06798233091831207, -1.1419787406921387, 0.019888056442141533, 0.40905702114105225, -0.018019646406173706, -0.41460543870925903, 0.2156963050365448, 0.5434907674789429, -0.08465109020471573, 0.04273397848010063, 0.2264716476202011, -0.19858315587043762, -0.2768436372280121, 0.0634538009762764, -0.22367244958877563, 0.6822393536567688, 0.04350312426686287, 0.00006652769661741331, 0.2071733921766281, -0.6202293038368225, -0.029118945822119713, 0.43990641832351685, -0.153901144862175, -0.21813471615314484, 0.022365838289260864, 0.011118329130113125, 0.1930588036775589, 0.3679589629173279, -0.5588695406913757, 0.10796110332012177, -0.8198789954185486, 0.31802040338516235, 0.5235421657562256, -0.21420659124851227, 0.5526682138442993, -0.2574433386325836, 0.4794885218143463, -0.458984375, 0.30616286396980286, 0.15306778252124786, -0.592265248298645, -0.6191987991333008, -0.24846485257148743, 0.15175873041152954, 0.8152726888656616, -0.5488532185554504, 0.40191739797592163, -0.42745915055274963, -0.3290303945541382, -0.4043149948120117, 0.304941326379776, 0.4195643663406372, 0.6134874820709229, 0.41851603984832764, 0.0517321340739727, -0.5042674541473389, -0.7855302095413208, -0.5848442912101746, -0.18002471327781677, -0.09092646092176437, 0.3325040340423584, 0.3698703646659851, -0.06680991500616074, 1.160434365272522, -0.6899442672729492, -0.6256239414215088, -0.43896570801734924, 0.5266302824020386, 0.21566855907440186, 0.11332590878009796, 0.40706247091293335, -0.8466764688491821, -0.3673275411128998, 0.18399883806705475, -0.9988661408424377, -0.18683724105358124, 0.09783429652452469, -0.37412628531455994, 0.196686789393425, 0.1185310110449791, -0.5806781649589539, 0.8108555674552917, 0.5534523129463196, -0.48186540603637695, 0.474944531917572, -0.35142356157302856, -0.05421699211001396, -0.7815601825714111, 0.25394150614738464, 0.25053566694259644, 0.055927589535713196, -0.3603561222553253, -0.03657105192542076, -0.1722092479467392, -0.43402913212776184, -0.27368074655532837, 0.5646038055419922, -0.388862669467926, -0.27557533979415894, -0.2521018087863922, 0.0200531966984272, 0.2112206369638443, 0.38412877917289734, 0.042045146226882935, 0.6691203117370605, 0.5335817933082581, -0.5178917050361633, 0.88779616355896, 0.5602755546569824, -0.07127899676561356, 0.41517361998558044, -0.9078813791275024, -0.0942569375038147, -0.34057483077049255, 0.21610580384731293, -0.7212105989456177, -0.2830825746059418, 0.2827267050743103, -0.4140951633453369, -0.2027338445186615, -0.43230104446411133, -0.702876091003418, -0.6365894079208374, -0.054652582854032516, 0.46660616993904114, 0.05472623556852341, -0.35678136348724365, 0.8127405643463135, 0.13802094757556915, -0.4786941409111023, -0.30140653252601624, -0.4910510778427124, 0.19912445545196533, -0.26282766461372375, -0.8178336024284363, 0.3137657642364502, -0.21163786947727203, -0.40516984462738037, 0.3113984763622284, 0.05555097758769989, -0.17790593206882477, -0.06518197059631348, 0.05612001568078995, 0.5321183204650879, -0.08511392027139664, 0.07665430009365082, -0.32506445050239563, -0.741187572479248, 0.32931846380233765, -0.25153934955596924, 0.5534977912902832, -0.5507776737213135, -0.3510739803314209, -0.7978681325912476, 0.47862446308135986, 0.3617960810661316, -0.6858379244804382, 0.6513537168502808, 0.37232068181037903, -0.738443911075592, 0.42337632179260254, -0.06543952226638794, 0.03669357672333717, -0.49895942211151123, 0.558496356010437, -0.29240983724594116, -0.4003882110118866, 0.47130316495895386, -0.02824432961642742, 0.29802456498146057, 0.5968814492225647, 0.07051848620176315, 0.1786150187253952, 1.4319260120391846, 0.7907209992408752, -0.31481391191482544, 0.32231733202934265, -0.41643965244293213, 0.6293489933013916, -0.5610281825065613, -0.4718782901763916, -0.5382295846939087, -0.3767843246459961, -0.1749112606048584, -0.010038081556558609, 0.6215481162071228, 0.3265306353569031, -0.23986276984214783, 0.1538183093070984, -0.8095447421073914, 0.6686643958091736, 0.2941272556781769, -0.13766157627105713, 0.5636054873466492, 0.4544776380062103, 0.3691404461860657, -0.32757335901260376, -0.4925270676612854, -0.6494979858398438, 0.9212679862976074, 0.157262921333313, 0.8035373091697693, 0.22380174696445465, 0.3430362641811371, -0.039225369691848755, 0.08440767973661423, -0.7928068041801453, 0.2727965712547302, -0.4006750285625458, -0.4650960862636566, -0.17200559377670288, -0.8207694292068481, -0.8886224627494812, -0.0274816807359457, -0.16981342434883118, -0.6444019079208374, -0.5231013298034668, 0.22972580790519714, -0.6575411558151245, 0.5666201710700989, -0.5885123014450073, 1.0135725736618042, -0.6471224427223206, 0.08970655500888824, 0.11243993043899536, -0.2781222462654114, 0.2028452605009079, 0.44980916380882263, 0.43583694100379944, -0.06876301020383835, 0.26633960008621216, 0.7059792280197144, -0.35043594241142273, 0.40209609270095825, -0.04765479266643524, -0.0697711631655693, 0.28035953640937805, 0.3537033200263977, 0.32171183824539185, 0.10256168991327286, -0.0007590846507810056, 0.10396650433540344, -0.037577781826257706, -0.3762442469596863, -0.8567517995834351, 0.41559240221977234, -0.8907499313354492, -0.04133492708206177, -0.2917061150074005, -0.9773483276367188, 0.20212973654270172, 0.10600679367780685, 0.2430785745382309, 0.8449952602386475, -0.05411922559142113, -0.20701904594898224, 0.4336753785610199, -0.3180157244205475, 0.3629237115383148, 0.03447629138827324, -0.4471169114112854, -0.49561673402786255, 0.8911489248275757, 0.058003656566143036, -0.10033466666936874, 0.07370645552873611, 0.2828216850757599, -0.5247734189033508, -0.17049279808998108, -0.633101224899292, 0.6190676093101501, -0.5677393078804016, -0.34103265404701233, -0.5510545372962952, -0.4767206609249115, -0.17714402079582214, -0.16325394809246063, -0.4929812550544739, -0.6049546003341675, -0.14829121530056, 0.04475327953696251, 0.6378616690635681, 0.9314626455307007, 0.11355767399072647, 0.5492271184921265, -0.8727918267250061, 0.4512085020542145, 0.20875011384487152, 0.4813876152038574, -0.5105652809143066, -0.22767968475818634, -0.09234864264726639, 0.23665112257003784, -0.22768568992614746, -0.5467044115066528, 0.7446122169494629, 0.35859397053718567, 0.44564148783683777, 0.30250972509384155, -0.14638285338878632, 1.0306215286254883, -0.27755117416381836, 0.4716680347919464, -0.0757177397608757, -0.7685490250587463, 0.6986334919929504, -0.2133232057094574, 0.3461253046989441, 0.33849844336509705, 0.08615434169769287, -0.40262338519096375, -0.17404676973819733, -0.603803277015686, -0.766475260257721, 0.6179202795028687, 0.41529008746147156, -0.17056182026863098, 0.3845871090888977, 0.5449010729789734, -0.03210487216711044, -0.007046287879347801, -0.7451639175415039, -0.23411671817302704, -0.18490633368492126, -0.5224957466125488, -0.004242362454533577, -0.03202832117676735, -0.37311917543411255, -0.32255658507347107, 0.6166141033172607, -0.21284158527851105, 0.45951247215270996, 0.016696497797966003, -0.3347042500972748, -0.44349199533462524, 0.17672604322433472, 0.38105863332748413, 1.0464190244674683, -0.239729106426239, 0.05475766211748123, -0.035520970821380615, -0.3838576674461365, -0.5601533651351929, 0.7876002192497253, -0.005414985120296478, 0.12026268243789673, 0.3943966031074524, 0.5176249742507935, -0.13194145262241364, -0.5171816945075989, 0.15538348257541656, -0.3653308153152466, -0.17721445858478546, -0.5302465558052063, -0.06353884190320969, -0.14097405970096588, -0.09809393435716629, 0.5320472121238708, 0.24468424916267395, 0.4310777485370636, -0.19075559079647064, 0.02887148968875408, 0.4313758909702301, -0.20960982143878937, -0.3694145679473877, 0.4450349509716034, 0.023193234577775, -0.503557026386261, 0.972065269947052, -0.25552523136138916, -0.9793050289154053, 0.7247711420059204, 0.5167688131332397, 0.3840826749801636, 0.07260648161172867, 0.26270970702171326, 0.5090422034263611, 0.2463323175907135, -0.006700222846120596, 0.35616031289100647, 0.33111244440078735, -0.32251644134521484, -0.7060765624046326, -0.5780500769615173, -0.1631190925836563, 0.12573136389255524, -0.7448629140853882, 0.06105461344122887, -0.4555916488170624, 0.12126260995864868, -0.29167240858078003, 0.5381016135215759, -0.4717530310153961, 0.03352479636669159, 0.3999519944190979, 0.6813980340957642, -0.9389773011207581, 0.24316300451755524, 0.9742116928100586, -0.16885261237621307, -0.9066880941390991, -0.44729557633399963, 0.31542864441871643, -0.4149780869483948, 0.3840208947658539, 0.3844984471797943, -0.21046948432922363, -0.04485663026571274, -0.5264914631843567, -1.0114399194717407, 1.0210267305374146, 0.6499781608581543, -0.12268151342868805, -0.0827222466468811, 0.44823309779167175, 0.36536356806755066, -0.11730658262968063, 0.19607745110988617, 0.5174611806869507, 0.5065129995346069, 0.21556583046913147, -1.1990914344787598, -0.44588154554367065, -0.5685616731643677, -0.08717036992311478, 0.49745893478393555, -0.09633807837963104, 0.9528306722640991, 0.0831393375992775, -0.1986139714717865, 0.3171795606613159, 0.8506029844284058, 0.5014640092849731, 0.3011835515499115, 0.384270042181015, 0.7193081378936768, 0.9162350296974182, -0.30840155482292175, 1.118900179862976, -0.21453192830085754, 0.603047788143158, 0.7462354898452759, 0.17587776482105255, 0.40795809030532837, 0.1063871756196022, -0.21571247279644012, 0.755945086479187, 0.5633116960525513, 0.31103119254112244, 0.20026816427707672, -0.06782867014408112, -0.13314685225486755, -0.3513158857822418, -0.004325222223997116, -0.5439619421958923, 0.5825498104095459, 0.3308814465999603, 0.0009268899448215961, -0.7077118158340454, -0.30026933550834656, 0.05821523815393448, 0.32519400119781494, -0.5779035687446594, 0.6032512784004211, -0.16886290907859802, -0.27228090167045593, 0.3015878200531006, 0.1693231463432312, 0.40990132093429565, -0.6293291449546814, -0.35591739416122437, -0.17095433175563812, 0.5139464139938354, -0.389934778213501, -0.6097718477249146, 0.7875937819480896, 0.02218918688595295, -0.15900491178035736, -0.032952021807432175, 0.4907348155975342, -0.41728833317756653, -1.3409793376922607, 0.018589435145258904, 0.38509637117385864, 0.09734645485877991, -0.40156248211860657, -1.0561045408248901, -0.045830242335796356, -0.41156983375549316, 0.2479228675365448, -0.208406001329422, 0.6643715500831604, -0.16314058005809784, 0.8801752328872681, 0.761603593826294, 0.12398212403059006, 0.25794583559036255, -0.21874560415744781, 0.8975338935852051, -0.4562918543815613, -0.9142008423805237, -0.7770712971687317, 0.5467529892921448, -0.3017950654029846, -0.20700675249099731, 0.6620211005210876, 0.8443660736083984, 0.677699863910675, 0.10719276964664459, 0.6083611249923706, -0.01805182732641697, 0.5167216658592224, -0.43594101071357727, 0.5948420763015747, -0.29496848583221436, 0.2631261348724365, -0.30865994095802307, -1.0637812614440918, -0.6901757717132568, 1.0496937036514282, -0.6282562613487244, -0.00274859182536602, 0.6657959222793579, 0.6765313744544983, -0.41811296343803406, 0.25522926449775696, -0.190425306558609, -0.20977753400802612, 0.4074529707431793, 0.7576329112052917, 0.8267284631729126, -0.5128606557846069, 0.9040501117706299, -0.4605835974216461, -0.25982120633125305, 0.14413650333881378, -0.7039591073989868, -0.8147613406181335, -0.2188355028629303, -0.22515203058719635, -0.17885299026966095, -0.18221637606620789, 0.808292806148529, 0.7009907364845276, -0.735547661781311, -0.3683412969112396, -0.2395894080400467, 0.012243764474987984, -0.2319907248020172, -0.28556278347969055, 0.6224238872528076, -0.2734289765357971, -0.758592963218689, 0.12645532190799713, 0.31582990288734436, -0.09929852187633514, -0.17876122891902924, -0.3993991017341614, 0.08887596428394318, -0.21446971595287323, 0.3883565366268158, 0.376158207654953, -0.7089227437973022, -0.0897609069943428, 0.02547423169016838, 0.09631025791168213, 0.11378566920757294, 0.872350811958313, -0.8961039185523987, 0.41016608476638794, 0.18659862875938416, 0.6057443618774414, 0.12741784751415253, 0.3748290538787842, 0.5823284983634949, -0.4774533212184906, 0.19776450097560883, 0.04062260314822197, 0.3703358769416809, 0.6288841366767883, -0.6344782710075378, 0.45434120297431946, 0.34533512592315674, -0.3533885180950165, -0.39688193798065186, 0.35850557684898376, -0.8038500547409058, -0.1116078644990921, 0.881131112575531, -0.030903581529855728, -0.5636668801307678, -0.1851803958415985, -0.41449177265167236, 0.33805587887763977, -0.16131030023097992, 0.9709930419921875, 0.4253620207309723, -0.37293902039527893, -0.15608584880828857, -0.6385250687599182, 0.4225948750972748, 0.37926357984542847, -0.982054591178894, -0.026854120194911957, 0.6685823202133179, 0.07567078620195389, 0.21649475395679474, 0.2654082775115967, -0.4065171778202057, 0.1978243589401245, -0.497123122215271, -0.09116612374782562, -0.6327936053276062, -0.5282729268074036, -0.3521440327167511, 0.04918695613741875, -0.24367977678775787, -0.10593506693840027 ]
http://arxiv.org/abs/2405.00492v1
http://arxiv.org/pdf/2405.00492v1
Is Temperature the Creativity Parameter of Large Language Models?
2024-05-01T12:59:37
2024-05-01T12:59:37
Max Peeperkorn, Tom Kouwenhoven, Dan Brown, Anna Jordanous
cs.CL
cs.CL, cs.AI
Large language models (LLMs) are applied to all sorts of creative tasks, and their outputs vary from beautiful, to peculiar, to pastiche, into plain plagiarism. The temperature parameter of an LLM regulates the amount of randomness, leading to more diverse outputs; therefore, it is often claimed to be the creativity parameter. Here, we investigate this claim using a narrative generation task with a predetermined fixed context, model and prompt. Specifically, we present an empirical analysis of the LLM output for different temperature values using four necessary conditions for creativity in narrative generation: novelty, typicality, cohesion, and coherence. We find that temperature is weakly correlated with novelty, and unsurprisingly, moderately correlated with incoherence, but there is no relationship with either cohesion or typicality. However, the influence of temperature on creativity is far more nuanced and weak than suggested by the "creativity parameter" claim; overall results suggest that the LLM generates slightly more novel outputs as temperatures get higher. Finally, we discuss ideas to allow more controlled LLM creativity, rather than relying on chance via changing the temperature parameter.
[ -0.4310761094093323, -0.9486585259437561, 0.9640402793884277, 0.2644243538379669, -0.5337649583816528, 0.014267472550272942, -0.529072642326355, -0.10104334354400635, 0.4264514148235321, 0.42212343215942383, -0.5225942730903625, -0.49320659041404724, -0.49121424555778503, -0.00930118653923273, -0.4133356213569641, 0.8618905544281006, -0.08054282516241074, -0.5728534460067749, -0.46992745995521545, 0.19778060913085938, -0.055038828402757645, -0.6154537796974182, -0.33448880910873413, -0.3606497645378113, 1.1226295232772827, 0.47696593403816223, 0.7080993056297302, 0.7519978880882263, 0.1571294665336609, 0.3600541949272156, 0.07632951438426971, -0.16913995146751404, -0.5159735679626465, 0.7955335378646851, -0.0842224583029747, -0.4531221091747284, -0.0952582061290741, 0.26603108644485474, 0.4417223036289215, 0.4919659197330475, -0.1051725447177887, 0.1696377992630005, -0.0492389053106308, 0.564842939376831, -0.3869538903236389, -0.11978161334991455, -0.7906671166419983, -0.2199573665857315, -0.3488720953464508, -0.29967331886291504, -0.2636517584323883, -0.5190752744674683, 0.16265226900577545, -0.18376435339450836, 0.474459707736969, 0.10944776982069016, 0.6728628277778625, 0.16964998841285706, -0.3542592525482178, -0.6314804553985596, -0.8726602792739868, 0.9537255764007568, -0.8745331764221191, 0.057321108877658844, -0.008457865566015244, -0.16374421119689941, 0.08819280564785004, -0.5559872984886169, -0.8454724550247192, -0.2564309537410736, 0.5337908864021301, 0.1643659919500351, -0.019327757880091667, -0.6004672646522522, 0.34288620948791504, 0.4384171962738037, -0.4924355149269104, 0.3723323345184326, -0.07204685360193253, 0.04854664206504822, 0.7155904769897461, 0.5968330502510071, 0.5269999504089355, 0.09533078968524933, -0.11120931804180145, -0.17357593774795532, -0.5343158841133118, 0.39644762873649597, 0.6666116118431091, 0.14937910437583923, -0.14894606173038483, 0.4842589795589447, -0.15681609511375427, 0.4035942852497101, -0.07303193211555481, -0.26457643508911133, 0.05665457621216774, -0.09643705189228058, 0.02186494879424572, -0.03595396876335144, 0.7865518927574158, 0.5901744961738586, 0.2031148225069046, -0.34968748688697815, -0.21166491508483887, -0.22697043418884277, 0.15417875349521637, -0.7932800650596619, -0.48738235235214233, 0.07032031565904617, 0.055678702890872955, -0.37032759189605713, 0.204823836684227, -0.5512682199478149, -0.23081880807876587, -0.290340781211853, -0.08813676983118057, -0.051108814775943756, -0.44785311818122864, -0.1915329396724701, -0.4794140160083771, 0.047621361911296844, 0.16141819953918457, -1.000891089439392, -0.10699692368507385, 0.5136080980300903, 0.6792832016944885, -0.5591408014297485, -0.5539274215698242, 0.07318425923585892, 0.3736921548843384, -0.7328860759735107, 0.7641533017158508, -0.6551787853240967, -0.14387190341949463, -0.2767893373966217, -0.2227790504693985, -0.017670340836048126, -0.1592765748500824, 0.2181028425693512, -0.6771968603134155, 0.3841192126274109, -0.6077849864959717, -0.34644564986228943, -0.008707122877240181, -0.12857282161712646, -0.8235433101654053, 0.6840898990631104, -0.011109380051493645, -0.5746875405311584, 0.7824261784553528, -0.1356775462627411, -0.301717072725296, 0.17256607115268707, -0.07294364273548126, -0.38508832454681396, 0.38488155603408813, -0.20440807938575745, 0.4316006004810333, -0.7012903690338135, 0.4956444501876831, -0.4369101822376251, -0.1589275300502777, 0.8254240155220032, -0.5561819076538086, 0.3770662844181061, 0.3212186098098755, -0.36535242199897766, 0.08752508461475372, -0.6342117786407471, 0.37408626079559326, 0.3648487627506256, -0.654229462146759, -0.2366550713777542, -0.3320329487323761, -0.2780836224555969, 0.06826033443212509, 0.48489344120025635, -0.5196359157562256, 0.1689589023590088, -0.4514085650444031, 0.3998400866985321, 0.5876953601837158, 0.36664241552352905, 0.6545600891113281, -0.6941053867340088, 0.7077456116676331, -0.0826859250664711, -0.5454830527305603, 0.06545274704694748, -0.744945228099823, -0.5587618947029114, -0.4112558364868164, -0.1498645693063736, 0.4717139005661011, -0.5648743510246277, 0.08207383006811142, 0.22787043452262878, -1.022343397140503, -0.21201135218143463, 0.6110045909881592, 0.13924072682857513, 0.4018491506576538, -0.2133655846118927, 0.13446936011314392, -0.3797600269317627, -0.7022988200187683, -0.45927342772483826, 0.19136199355125427, -0.21186764538288116, 0.30230140686035156, 0.154472216963768, 0.2783849835395813, 0.9120289087295532, -0.3917621672153473, 0.3500008285045624, -0.6278882026672363, 0.4629055857658386, 0.8852468132972717, 0.4416201114654541, 0.8414257168769836, -0.5801458358764648, -0.5623059272766113, -0.30996233224868774, -0.8168007731437683, -0.42801398038864136, -0.006174223031848669, 0.08168577402830124, 0.5911155939102173, 0.49013182520866394, -0.8596281409263611, 0.26240795850753784, 0.5806909799575806, -0.290851354598999, 0.5522711277008057, -0.242741197347641, 0.25829169154167175, -0.9587363600730896, -0.08020199835300446, -0.01948573812842369, 0.3684498965740204, -0.7778245806694031, 0.1406371146440506, -0.30606696009635925, -0.10468287020921707, -0.5937913656234741, 0.6064936518669128, -0.36347657442092896, 0.5062368512153625, -0.48700156807899475, -0.20051617920398712, 0.1276453137397766, 0.36782222986221313, 0.10803143680095673, 0.2501789927482605, 0.835674524307251, -0.5774518847465515, 0.9526727795600891, -0.3891564905643463, -0.3830965459346771, -0.0662093535065651, -0.7444190382957458, 0.5440393686294556, -0.11526867002248764, -0.01660507172346115, -1.088044285774231, -0.530452311038971, -0.26816239953041077, -0.09728969633579254, 0.07348424196243286, 0.4019247591495514, -0.8507819771766663, -0.4115962088108063, -0.05605015903711319, 0.18496432900428772, 0.5732404589653015, -0.14738096296787262, 0.37829387187957764, -0.17382699251174927, -0.5744187235832214, 0.18622566759586334, -0.7169817090034485, -0.018132206052541733, -0.7557293772697449, -0.6880529522895813, 0.19796842336654663, -0.6386039853096008, -0.6706684231758118, -0.2447558343410492, 0.06877197325229645, 0.05922314524650574, 0.09614948183298111, 0.472769170999527, -0.00190344441216439, -0.4898095726966858, -0.2105477899312973, 0.04385923966765404, 0.20918859541416168, 0.33734753727912903, 0.13562758266925812, 0.8310412764549255, -0.11040136963129044, -0.09375345706939697, -0.27942022681236267, 0.579908549785614, 0.5478593707084656, 0.2906125485897064, 0.7782137393951416, 0.59205162525177, -0.013798989355564117, -0.30431079864501953, -0.6649194955825806, -0.10511891543865204, -0.5572398900985718, 0.007358914706856012, -0.46689337491989136, -0.8350253701210022, 0.8537511825561523, 0.5016829967498779, -0.0907403826713562, 0.5717185735702515, 1.023044466972351, -0.10392618924379349, 0.8115820288658142, 0.4350987374782562, 0.3842245936393738, 0.25754329562187195, 0.19988226890563965, 0.2898454964160919, -0.3852475881576538, -0.30360549688339233, -0.4391142725944519, -0.5128940343856812, -0.7701399326324463, -0.11047761142253876, 0.19138453900814056, 0.09042922407388687, -0.3551286458969116, -0.17160916328430176, -0.21991506218910217, 0.7824016213417053, 1.0497140884399414, -0.05038730055093765, -0.05015759542584419, -0.21741805970668793, -0.16921788454055786, -0.18545027077198029, -0.6755726933479309, -0.5306169390678406, 0.8739367127418518, 0.2261248081922531, 0.7412866353988647, 0.39210274815559387, 0.9909599423408508, -0.16892394423484802, 0.1449081301689148, -0.32436174154281616, 0.5661850571632385, -0.06572338193655014, -0.593141496181488, -0.7122460603713989, -0.3719230592250824, -0.683018684387207, -0.26508283615112305, -0.16521605849266052, -0.858102023601532, -0.14025549590587616, 0.0015147192170843482, -0.4216982126235962, 0.4887082874774933, -0.7707037329673767, 0.5702283978462219, -0.19216342270374298, -0.6263219118118286, 0.14668932557106018, -0.24271273612976074, 0.35999006032943726, -0.4369070529937744, 0.083964042365551, -0.3496648669242859, 0.12697872519493103, 0.7512974143028259, -0.08018578588962555, 0.8391309380531311, -0.028449932113289833, -0.29544734954833984, 0.48120325803756714, 0.5354880094528198, 0.34708836674690247, 0.17111462354660034, -0.5274121165275574, -0.08318869024515152, -0.001964407740160823, -0.396274209022522, -0.5182788968086243, 1.096570611000061, -0.748656690120697, -1.2464734315872192, -0.2298421710729599, -1.2403758764266968, -0.1498909741640091, 0.19365361332893372, 0.8339182734489441, 0.2830074429512024, -0.03787079453468323, 0.5216625928878784, 0.4075716733932495, -0.56412672996521, 0.8238934278488159, 0.43075326085090637, -0.01198780257254839, 0.05644566938281059, 0.9226443767547607, 0.21333733201026917, 0.48450878262519836, -0.061285149306058884, 0.622462272644043, 0.06948595494031906, -0.6341315507888794, -0.11286001652479172, 0.034432269632816315, -0.7626762390136719, 0.005230723414570093, -0.43170806765556335, -0.4067792296409607, -0.6407195925712585, -0.6269311308860779, -0.06500445306301117, -0.23455603420734406, -0.8496068120002747, -0.08079304546117783, 0.524075984954834, 0.7821845412254333, -0.04844943806529045, 0.11979609727859497, -0.4937197268009186, 0.16830486059188843, 0.48616740107536316, 0.0188406053930521, 0.18305696547031403, -0.6958035826683044, -0.07529722154140472, -0.09568009525537491, -0.2520873248577118, -0.6489689350128174, 0.7017735242843628, 0.24609911441802979, 0.6197101473808289, 0.5529220700263977, 0.13624975085258484, 0.08858375251293182, -0.21454504132270813, 1.2227741479873657, 0.3032573461532593, -0.735768735408783, 0.3574422001838684, -0.6371523141860962, 1.1090856790542603, 0.1372331976890564, 0.2936912178993225, -0.0916847437620163, -1.2091459035873413, -0.7892614603042603, -0.9390235543251038, 0.33675628900527954, -0.22134198248386383, 0.7862251996994019, -0.0968087688088417, 0.23182153701782227, 0.5473958849906921, 0.23102669417858124, -0.7752569317817688, 0.0018186240922659636, -0.1567973792552948, 0.0845889300107956, -0.21483807265758514, -0.4518495500087738, -0.13679955899715424, -0.22488270699977875, 0.27363401651382446, 0.13949042558670044, -0.036649588495492935, -0.13050878047943115, 0.4060525894165039, -0.5336300134658813, 0.3796003758907318, 0.8212889432907104, 0.9458267688751221, -0.1953144371509552, 0.4433710277080536, 0.24145357310771942, -0.11308304965496063, -0.21322259306907654, -0.5362657308578491, -0.14212997257709503, -0.13808204233646393, 0.521695077419281, 0.7843841314315796, -0.1504892259836197, -0.38495123386383057, 0.1414337307214737, 0.032374657690525055, -0.3784070909023285, -0.34537410736083984, 0.7986395359039307, 0.37037137150764465, 0.5273821353912354, 0.43058130145072937, 0.09431536495685577, -0.32189100980758667, -0.8620120882987976, -0.02427808567881584, 0.3761269748210907, 0.07063201069831848, -0.5806554555892944, 0.8322230577468872, -0.2114754617214203, -0.3717036247253418, 0.5966891050338745, -0.3100999593734741, -0.33463358879089355, 0.8296797275543213, 0.8179770708084106, 0.6140618324279785, -0.11572368443012238, 0.22154782712459564, 0.17497415840625763, 0.16518253087997437, 0.11126545816659927, 0.6567193865776062, 0.15457192063331604, -0.9205432534217834, -0.050552673637866974, -0.8142428994178772, -0.3728470504283905, 0.21354739367961884, -0.48884546756744385, 0.04075227677822113, -0.5159433484077454, -0.0033622276969254017, -0.008512935601174831, -0.34821030497550964, -0.9896041750907898, 0.3683132231235504, 0.41122329235076904, 0.4382554888725281, -0.7891598343849182, 1.0020415782928467, 0.25035762786865234, -0.2791909873485565, -0.9260307550430298, -0.036361660808324814, 0.1929377019405365, -0.6169735789299011, 0.7025316953659058, -0.1329445242881775, -0.05442959442734718, -0.02585356868803501, -0.768884003162384, -0.9897220134735107, 0.9630917310714722, 0.5635597109794617, -0.5281035304069519, -0.204955592751503, 0.3606070578098297, 0.940126895904541, -0.8101367354393005, -0.39647382497787476, 0.5995022654533386, 0.4644644558429718, 0.5479273200035095, -0.655219554901123, 0.2146981805562973, -0.3201655149459839, -0.052978869527578354, -0.2000451683998108, -0.472353458404541, 1.0176059007644653, -0.7750382423400879, -0.03577382117509842, 0.3285748362541199, 0.6347382664680481, 0.4394979178905487, 0.7050178647041321, 0.10356253385543823, 0.539923906326294, 0.6123303771018982, -0.17866185307502747, 1.1753901243209839, -0.2954254448413849, -0.16296377778053284, 0.9014193415641785, -0.32399553060531616, 0.6910371780395508, 0.5851261019706726, 0.30477023124694824, 0.5087563395500183, 0.5919525027275085, -0.1311003565788269, 0.5880224704742432, 0.37627938389778137, -0.23268114030361176, -0.23495668172836304, -0.11430827528238297, -0.13442912697792053, 0.3242798149585724, 0.2697717547416687, -0.5829833745956421, 0.14386935532093048, 0.15631665289402008, 0.197612926363945, 0.09245691448450089, -0.21706564724445343, 0.8215770125389099, 0.22527381777763367, -0.915019690990448, 0.5109102129936218, -0.26506611704826355, 0.3452305793762207, -0.30207034945487976, 0.4540497064590454, -0.16536559164524078, -0.18807601928710938, -0.14895734190940857, -1.2870879173278809, 0.3504715859889984, 0.07661761343479156, -0.45712003111839294, -0.6605685353279114, 0.4443448483943939, -0.3911150097846985, -0.503110945224762, -0.2122562825679779, 0.5247336030006409, 0.17535486817359924, -0.08572464436292648, -0.24149902164936066, 0.22653871774673462, -0.09177690744400024, -0.7426546812057495, 0.2168971747159958, 1.0996774435043335, 0.44160935282707214, 0.2583504915237427, 0.6690734028816223, 0.34558960795402527, -0.04122692346572876, 0.1719919592142105, 0.7580335736274719, -0.8710470199584961, -0.45797857642173767, -1.064910888671875, 0.30255693197250366, 0.25714969635009766, -0.6895341873168945, 0.8589178323745728, 0.2952456772327423, 0.25843149423599243, -0.25274717807769775, 0.6160669922828674, -0.01552270632237196, 0.39470338821411133, -0.7895950675010681, 0.6414663791656494, -0.5074462294578552, 0.3482942581176758, -0.4204971194267273, -1.3729993104934692, -0.12547887861728668, -0.09474027156829834, -0.6520611047744751, 0.10931099951267242, 0.866894006729126, 0.7222655415534973, 0.2904886305332184, 0.021312860772013664, 0.5311195850372314, 0.21086172759532928, 0.21178916096687317, 0.3774934709072113, 0.9642528891563416, 0.5263079404830933, 0.11015013605356216, -0.3111031651496887, -0.16940848529338837, 0.18993929028511047, -1.1113849878311157, -1.034576177597046, -0.9178990125656128, -0.3937481641769409, -0.3520786762237549, -0.3028590977191925, 0.7490636110305786, 0.24326547980308533, -0.5565325021743774, -0.1798146367073059, 0.0354120098054409, -0.10361446440219879, 0.07273820787668228, -0.26746866106987, 0.08822732418775558, 0.049237534403800964, -0.6407334804534912, 0.23011375963687897, 0.39411699771881104, 0.1988925337791443, -0.35806697607040405, 0.2000303417444229, 0.28463974595069885, 0.6671742796897888, 0.4308040142059326, 0.07367708534002304, -0.8487250804901123, -0.07978709787130356, 0.07571177184581757, -0.2631697952747345, -0.057621464133262634, 0.7234127521514893, -0.22544367611408234, 0.18534570932388306, 0.7362294793128967, -0.021396471187472343, 0.3867909908294678, -0.19026757776737213, 0.6599364280700684, -0.9258633852005005, 0.1363457590341568, 0.32462427020072937, 0.2438475340604782, 0.2926562428474426, -0.46515026688575745, -0.26229578256607056, 0.20587632060050964, -0.6436989307403564, -0.6800178289413452, 0.4209668040275574, -0.9638924598693848, -0.43026602268218994, 1.5172300338745117, 0.12052158266305923, -0.38279053568840027, 0.35316383838653564, 0.00800975039601326, 0.12253980338573456, -0.5247947573661804, 1.1187386512756348, 1.0749716758728027, -0.21700142323970795, -0.45191967487335205, -0.5307350158691406, 0.2512013614177704, 0.04214948043227196, -0.47991055250167847, 0.09523793309926987, 0.2526763677597046, 0.36437085270881653, 0.16638578474521637, 0.3892819285392761, 0.4045868217945099, 0.19358640909194946, -0.06258966773748398, -0.10802613198757172, -0.03403053805232048, -0.15317140519618988, 0.2744519114494324, 0.6585279703140259, 0.3462349772453308, 0.6842848658561707 ]
http://arxiv.org/abs/2405.00489v1
http://arxiv.org/pdf/2405.00489v1
Explainable Automatic Grading with Neural Additive Models
2024-05-01T12:56:14
2024-05-01T12:56:14
Aubrey Condor, Zachary Pardos
cs.LG
cs.LG, cs.CL, stat.AP
The use of automatic short answer grading (ASAG) models may help alleviate the time burden of grading while encouraging educators to frequently incorporate open-ended items in their curriculum. However, current state-of-the-art ASAG models are large neural networks (NN) often described as "black box", providing no explanation for which characteristics of an input are important for the produced output. This inexplicable nature can be frustrating to teachers and students when trying to interpret, or learn from an automatically-generated grade. To create a powerful yet intelligible ASAG model, we experiment with a type of model called a Neural Additive Model that combines the performance of a NN with the explainability of an additive model. We use a Knowledge Integration (KI) framework from the learning sciences to guide feature engineering to create inputs that reflect whether a student includes certain ideas in their response. We hypothesize that indicating the inclusion (or exclusion) of predefined ideas as features will be sufficient for the NAM to have good predictive power and interpretability, as this may guide a human scorer using a KI rubric. We compare the performance of the NAM with another explainable model, logistic regression, using the same features, and to a non-explainable neural model, DeBERTa, that does not require feature engineering.
[ -0.5054218769073486, -0.8408222198486328, 0.5384223461151123, 0.03215993568301201, -0.19306686520576477, -0.0019971178844571114, 0.0898674800992012, -0.6970422863960266, 0.17355884611606598, 0.1988103985786438, -0.2555330991744995, -0.3126087784767151, -0.6699234843254089, -0.19269225001335144, -0.5473273992538452, 1.1378930807113647, -0.05812402814626694, 0.13510319590568542, -0.4120972752571106, -0.20589162409305573, -0.5895905494689941, -0.4742196500301361, -0.7983558773994446, -0.730242133140564, 0.46763819456100464, 0.3535914421081543, 0.8250677585601807, 0.9346078038215637, 0.6441937685012817, 0.3163613975048065, -0.3395038843154907, -0.14102672040462494, 0.2524566054344177, -0.3101356625556946, -0.23309551179409027, -0.5255688428878784, -0.9332088828086853, 0.2727513611316681, 0.3610524535179138, 0.9303743243217468, 0.2885798513889313, 0.39414840936660767, 0.12966704368591309, 0.5374660491943359, -0.6053690314292908, 0.37353503704071045, -0.12069252133369446, 0.12711696326732635, 0.3069717586040497, 0.1230810359120369, -0.303203284740448, -0.7379165291786194, 0.3820333182811737, -0.4722643494606018, 0.256550669670105, -0.4924393892288208, 0.8788453340530396, 0.30634352564811707, -0.3810559809207916, -0.6586106419563293, -0.6211066246032715, 0.47933194041252136, -0.5691467523574829, -0.1036800742149353, 0.43621259927749634, 0.5499963164329529, 0.22591403126716614, -0.5312619805335999, -0.5384547710418701, -0.3284894824028015, -0.17980895936489105, 0.24423319101333618, 0.12882308661937714, 0.3973301351070404, 0.10080810636281967, 0.5226965546607971, -0.3548619747161865, 0.321107417345047, -0.3141670227050781, -0.12858273088932037, 0.7207414507865906, 0.16511200368404388, 0.23503737151622772, -0.32290759682655334, -0.36102038621902466, 0.08208070695400238, -0.32700014114379883, 0.5319597125053406, 0.5138371586799622, 0.13256266713142395, 0.2149956077337265, 0.6891409158706665, -0.032026030123233795, 0.7925693392753601, 0.016683431342244148, 0.2151491492986679, -0.06019268184900284, -0.07976604253053665, -0.07248027622699738, 0.3197597563266754, 0.46872660517692566, 0.33576998114585876, 0.10779353976249695, -0.08416404575109482, -0.2836407721042633, 0.4818761348724365, 0.23142924904823303, -0.7590856552124023, -0.5314310789108276, -0.004248328041285276, -0.43806225061416626, -0.7047759294509888, -0.47582578659057617, -0.5541726350784302, -0.2964497208595276, -0.5665661692619324, 1.0161738395690918, -0.2949907183647156, -0.013194411993026733, -0.06121034547686577, -0.14044785499572754, -0.09283925592899323, 0.6522473692893982, -0.609719455242157, 0.10308835655450821, 0.3771767020225525, 0.7203851938247681, -0.11449844390153885, -0.23679304122924805, -0.12752605974674225, -0.2805880904197693, -0.35181277990341187, 0.8744379281997681, -0.4944101572036743, -0.07101292163133621, -0.4503098726272583, -0.18340501189231873, 0.042931508272886276, -0.39580854773521423, 0.16173923015594482, -0.6541749835014343, 0.3411487340927124, -0.053850188851356506, -0.7334630489349365, -0.7579786777496338, 0.3415357768535614, -0.474945992231369, 0.6834650039672852, 0.28951576352119446, -0.298041969537735, 0.36695560812950134, -1.1724975109100342, -0.2684950530529022, 0.19392700493335724, 0.1157979741692543, -0.37779027223587036, 0.12058792263269424, 0.026759248226881027, 0.3243611454963684, -0.17167864739894867, 0.5098108053207397, -0.32436951994895935, -0.4831310212612152, 0.3757966160774231, -0.3865020275115967, 0.7148905992507935, 0.18531803786754608, -0.2786600887775421, 0.2037409394979477, -0.9753025770187378, 0.04330394044518471, -0.07032149285078049, -0.33625495433807373, -0.32961469888687134, -0.1388607919216156, -0.33182403445243835, 0.28208068013191223, 0.3679335117340088, -0.3575984835624695, -0.006141653284430504, -0.21957279741764069, 0.3543151319026947, 1.0064054727554321, -0.05150889977812767, 0.5856204628944397, -0.37738552689552307, 0.8090983629226685, 0.23746369779109955, 0.0932467058300972, -0.1831117421388626, -0.541037380695343, -0.8677219748497009, -0.07042690366506577, 0.7553871273994446, 0.42267942428588867, -0.6014358401298523, 0.3561297059059143, 0.13917690515518188, -0.29630881547927856, -0.6554486155509949, 0.19213195145130157, 0.36866289377212524, 0.8675975799560547, 0.3534773588180542, -0.4200122356414795, -0.1743776500225067, -0.9803171157836914, -0.23801465332508087, -0.22625143826007843, -0.11895707994699478, 0.2610883414745331, 0.4239817261695862, 0.16318950057029724, 0.8475341200828552, -0.6164397597312927, -0.12458774447441101, -0.07332711666822433, 0.45190128684043884, 0.1451667696237564, 0.46676763892173767, 0.4391499161720276, -0.5858251452445984, -0.17227071523666382, -0.20470863580703735, -0.9379435181617737, -0.09372017532587051, 0.01598823070526123, -0.21542495489120483, -0.20036505162715912, 0.27847573161125183, -0.21410755813121796, 0.9111378192901611, 0.06049749627709389, -0.6185352802276611, 0.5522075295448303, -0.17626117169857025, 0.09535468369722366, -0.6402319669723511, -0.09204046428203583, 0.2991607189178467, -0.014369484037160873, -0.5617876052856445, 0.10431011021137238, 0.31145042181015015, -0.34811726212501526, -0.30728879570961, 0.6671929955482483, -0.03816435858607292, -0.060842227190732956, -0.6280291676521301, -0.05905186012387276, 0.37841910123825073, 0.7306609749794006, -0.0989179015159607, 0.56972336769104, 0.39802834391593933, -0.8913284540176392, 0.2880196273326874, 0.131683811545372, -0.4198073148727417, 0.5063982009887695, -0.7724913358688354, -0.2005942165851593, -0.36384502053260803, 0.13030728697776794, -0.8668943047523499, -0.17099490761756897, -0.05464931204915047, -0.6197887659072876, 0.082254558801651, -0.4387032389640808, -0.1699555218219757, -0.29830026626586914, 0.049472909420728683, 0.5893529057502747, 0.6521937847137451, -0.7140363454818726, 0.5486278533935547, 0.11948634684085846, -0.14322561025619507, -0.512839138507843, -0.5651825666427612, -0.08437012881040573, -0.44778692722320557, -0.44707223773002625, 0.28597626090049744, -0.06826934218406677, -0.11903543025255203, 0.3012646734714508, 0.007759890519082546, -0.3124235272407532, 0.5119987726211548, 0.20470763742923737, 0.4718824326992035, -0.5467782020568848, 0.4214518666267395, 0.04528595134615898, -0.1125953271985054, 0.4383818507194519, -0.16620957851409912, 0.009089930914342403, -0.15544520318508148, -0.2920137345790863, -0.41362354159355164, 0.11388861387968063, 0.8275387287139893, -0.29902952909469604, 0.734466552734375, 0.4275563955307007, -0.5355023145675659, -0.27326375246047974, -0.23965948820114136, -0.26601001620292664, -0.43943849205970764, 0.30666616559028625, -0.1494070440530777, -0.4763914942741394, 0.8117757439613342, 0.12599007785320282, 0.11294455081224442, 0.3193001449108124, 0.164103701710701, -0.25734829902648926, 1.3344712257385254, 0.6298133134841919, 0.4621050953865051, 0.5241161584854126, -0.39163148403167725, 0.4197370707988739, -0.9403628706932068, -0.3978135883808136, -0.3393825590610504, -0.7777877449989319, -0.4100475013256073, -0.030187686905264854, 0.21593260765075684, 0.4589186906814575, -0.09244673699140549, 0.07953376322984695, -0.6907051801681519, 0.6117166876792908, 0.5693334341049194, 0.34743380546569824, 0.130005344748497, -0.3185648024082184, -0.06623435020446777, 0.2923414707183838, -0.6772779226303101, -0.4599193334579468, 1.1416248083114624, 0.38397112488746643, 0.5505402684211731, -0.03489140793681145, 0.49745601415634155, 0.43592631816864014, 0.6836175322532654, -1.1665107011795044, 0.5320976376533508, -0.3017319440841675, -0.5971814393997192, -0.2799661457538605, -0.3848685324192047, -0.630486011505127, 0.2600652873516083, -0.23986463248729706, -0.43912243843078613, 0.24474583566188812, 0.4519908130168915, -0.5618576407432556, 0.30727726221084595, -1.1897670030593872, 0.7936635613441467, -0.37699732184410095, -0.3106682300567627, -0.02078905515372753, -0.20448750257492065, 0.5411347150802612, -0.09554906189441681, 0.2458856999874115, -0.1994042694568634, 0.3528687655925751, 0.9298759698867798, -0.6139844655990601, 0.566939651966095, -0.3595661222934723, 0.12673720717430115, 0.6129654049873352, 0.18861250579357147, 0.19291935861110687, -0.04812317714095116, -0.26361873745918274, -0.08370765298604965, -0.3991072475910187, -0.48514676094055176, -1.0139364004135132, 0.7997868657112122, -0.8235199451446533, -0.5940549969673157, -0.26132556796073914, -0.8417247533798218, 0.05346005782485008, -0.039168115705251694, 0.06762378662824631, 0.5445942282676697, 0.3290466070175171, -0.1343255639076233, 0.7224730253219604, -0.20825806260108948, 0.5454691052436829, 0.3119906485080719, -0.12982524931430817, -0.22969092428684235, 1.1580278873443604, 0.5824492573738098, 0.2114063948392868, -0.11411209404468536, 0.5190132260322571, -0.4503138065338135, -0.6328181028366089, -0.5702387690544128, -0.16522985696792603, -1.0469231605529785, -0.22376401722431183, -0.6757102608680725, -0.4386305809020996, -0.19821099936962128, -0.43344128131866455, 0.06589918583631516, -1.0229871273040771, -0.4765118956565857, -0.2819348871707916, 0.46009495854377747, 0.9764394760131836, -0.008242614567279816, 0.5228047370910645, -0.4361933171749115, 0.3836205005645752, 0.5949358940124512, 0.6294153928756714, 0.44783273339271545, -0.8800074458122253, -0.3310695290565491, 0.11882200092077255, -0.4912567138671875, -0.6394665241241455, 0.15877829492092133, 0.10953381657600403, 0.41068530082702637, 0.327687531709671, -0.05341392010450363, 0.7016695737838745, -0.14297902584075928, 0.770694375038147, 0.21382197737693787, -0.9624554514884949, 0.6210670471191406, -0.06489510834217072, 0.4567739963531494, 0.2760976552963257, 0.3292095363140106, 0.00756477564573288, -0.4550260305404663, -0.7234359979629517, -0.9229260087013245, 0.8073455095291138, 0.006235604640096426, -0.14907407760620117, -0.01141266617923975, 0.515139639377594, 0.22234629094600677, 0.15802964568138123, -0.9321956038475037, -0.22388899326324463, -0.5158435106277466, -0.42742282152175903, -0.13768815994262695, -0.175223708152771, 0.05935295671224594, -0.4066157341003418, 0.6485989689826965, -0.07094325125217438, -0.006909097544848919, -0.03991609811782837, -0.3251880407333374, 0.14571255445480347, 0.32844677567481995, 0.6046918034553528, 0.6565470695495605, -0.35491499304771423, 0.21466904878616333, 0.13686959445476532, -0.2630397379398346, 0.36791688203811646, 0.16047851741313934, -0.32283395528793335, -0.10650353878736496, 0.25981467962265015, 0.6877000331878662, -0.10792383551597595, -0.2940097749233246, 0.25988906621932983, -0.19404193758964539, -0.39457979798316956, -0.2778061032295227, 0.40031731128692627, -0.04656292498111725, 0.1462302803993225, 0.24939405918121338, 0.4684290885925293, 0.2155599296092987, -0.4215453565120697, 0.07896404713392258, 0.21153075993061066, -0.6338424682617188, -0.29358237981796265, 0.689551591873169, 0.27673718333244324, -0.5964365005493164, 0.4592023491859436, -0.07638504356145859, -0.5378111004829407, 1.2526071071624756, 0.38220635056495667, 0.8822417855262756, -0.04681074619293213, 0.36562004685401917, 0.37780991196632385, 0.2072998285293579, 0.04973294958472252, 0.011481843888759613, -0.26765677332878113, -0.3713194727897644, -0.4571065306663513, -0.8267090916633606, -0.3322833478450775, 0.3059229254722595, -0.7548204064369202, 0.21950308978557587, -0.8472511768341064, -0.22243629395961761, 0.4892083406448364, -0.2752125859260559, -0.7422975897789001, 0.6669174432754517, -0.02343820221722126, 0.6328786611557007, -1.1728363037109375, 0.45915934443473816, 1.0552926063537598, -0.4723431468009949, -0.8827343583106995, -0.32108572125434875, -0.2808825969696045, -0.7694911360740662, 0.7153422236442566, 0.2961257994174957, 0.1820918768644333, -0.08932266384363174, -0.15035013854503632, -0.7238349914550781, 0.912331223487854, 0.07073798775672913, 0.1368967890739441, -0.3602577745914459, 0.008382568135857582, 0.7782227993011475, -0.349105566740036, 0.7360950708389282, 0.3418601453304291, 0.34526389837265015, 0.15353111922740936, -0.49303707480430603, -0.056838929653167725, -0.3766437768936157, -0.18006469309329987, 0.35765203833580017, -0.379286527633667, 0.7133920788764954, -0.1922609806060791, 0.1980200856924057, -0.33043918013572693, 0.5209619998931885, -0.05678825452923775, 0.6427996754646301, 0.39779171347618103, 0.7579725384712219, 0.5453558564186096, -0.11322791129350662, 0.7682324051856995, -0.08328688889741898, -0.014927241951227188, 1.0357404947280884, 0.22165898978710175, 0.299533873796463, 0.15139435231685638, 0.05040261149406433, 0.7047637701034546, 0.624312698841095, -0.016036882996559143, 0.26586759090423584, 0.3753816783428192, -0.3632887601852417, -0.3665977716445923, -0.21992987394332886, -0.22610066831111908, 0.7140185236930847, 0.47106826305389404, -0.6509923934936523, -0.36352941393852234, 0.327631413936615, -0.6001784205436707, 0.16558556258678436, -0.8386332988739014, 0.7791913151741028, -0.03621567413210869, -0.9815744757652283, 0.5468997359275818, -0.011590645648539066, 0.5455408096313477, -0.40395820140838623, -0.3395323157310486, -0.2819852828979492, 0.25360107421875, -0.3655382990837097, -0.9192186594009399, 0.3123463988304138, 0.1075931191444397, -0.4277537167072296, -0.2077389657497406, 0.3798792362213135, -0.44212329387664795, -0.6728733777999878, -0.009094214998185635, 0.11640795320272446, 0.08076213300228119, 0.26765406131744385, -0.5933624505996704, -0.596705973148346, -0.07809600979089737, -0.03658478707075119, 0.4146973192691803, 0.47340506315231323, -0.2870040535926819, 0.8933176398277283, 0.5689665079116821, -0.009411532431840897, 0.02972397394478321, -0.219354048371315, 0.5302752256393433, -0.5801025629043579, -0.5867558121681213, -0.7103596925735474, 0.7139570116996765, 0.2000955194234848, -0.24931801855564117, 0.4724937975406647, 0.32021480798721313, 0.5522601008415222, 0.10463584214448929, 0.6507429480552673, 0.25089165568351746, 0.3131515085697174, -0.38608288764953613, 0.9174835681915283, -0.5750699043273926, 0.40158942341804504, -0.1326945275068283, -0.7136839628219604, -0.1543920785188675, 0.5412147641181946, -0.28374844789505005, 0.12057187408208847, 0.6931344270706177, 0.2798801362514496, -0.11079047620296478, 0.22417519986629486, 0.22932736575603485, -0.1897769421339035, 0.3411020338535309, 0.5715437531471252, 0.9322754144668579, -0.4548100531101227, 0.5886059999465942, -0.5750478506088257, -0.4145306944847107, -0.22302496433258057, -0.7556712031364441, -1.117777943611145, -0.283905029296875, -0.6772326827049255, -0.5667059421539307, -0.13117921352386475, 0.6364763379096985, 0.4942465126514435, -0.7411612272262573, 0.019576314836740494, -0.11792617291212082, 0.4825827479362488, -0.1328023225069046, -0.30221322178840637, 0.50043123960495, -0.14407894015312195, -0.4291464686393738, 0.20996472239494324, -0.048026543110609055, 0.5723713040351868, -0.020748909562826157, 0.24781200289726257, -0.08111261576414108, 0.28953197598457336, 0.5263684988021851, 0.15221741795539856, -0.5650750994682312, -0.3692645728588104, -0.05289620906114578, 0.16867071390151978, 0.042486175894737244, 0.5353918671607971, -0.8886610269546509, 0.6085942387580872, 0.40768495202064514, 0.5881701707839966, 0.22180306911468506, 0.14028839766979218, 0.5760504603385925, -0.41724371910095215, -0.020889652892947197, 0.4974361062049866, 0.16807220876216888, 0.11779551208019257, -0.6070150136947632, 0.2637535631656647, -0.0016346513293683529, -0.6044893860816956, -0.9590696096420288, 0.2050582319498062, -0.5068134665489197, -0.39029523730278015, 0.3988679349422455, -0.3864671587944031, -0.1785113662481308, -0.14401775598526, 0.21738301217556, 0.33167263865470886, -0.09865575283765793, 1.274020791053772, 0.9410570859909058, -0.42711320519447327, -0.1538858264684677, -0.35260000824928284, 0.5005246996879578, 0.615173876285553, -0.7353810667991638, -0.16738365590572357, 0.4787934422492981, 0.25955232977867126, 0.3027920126914978, 0.05901039391756058, -0.19553504884243011, 0.6971127986907959, -0.16855472326278687, 0.15000058710575104, -0.524128258228302, -0.5645923018455505, -0.6105280518531799, 0.36981430649757385, 0.21166394650936127, -0.294697105884552 ]
http://arxiv.org/abs/2405.00467v1
http://arxiv.org/pdf/2405.00467v1
Harnessing the Power of Multiple Minds: Lessons Learned from LLM Routing
2024-05-01T12:04:28
2024-05-01T12:04:28
KV Aditya Srivatsa, Kaushal Kumar Maurya, Ekaterina Kochmar
cs.CL
cs.CL
With the rapid development of LLMs, it is natural to ask how to harness their capabilities efficiently. In this paper, we explore whether it is feasible to direct each input query to a single most suitable LLM. To this end, we propose LLM routing for challenging reasoning tasks. Our extensive experiments suggest that such routing shows promise but is not feasible in all scenarios, so more robust approaches should be investigated to fill this gap.
[ -0.6633075475692749, -0.5876363515853882, 1.2696982622146606, 0.10459128022193909, -0.34275728464126587, 0.10933490097522736, -0.003590781707316637, -0.16493012011051178, -0.004911686759442091, 0.8112998008728027, -1.0700267553329468, -0.1444731056690216, -0.5873385071754456, 0.22204719483852386, -0.25216829776763916, 0.4763306975364685, 0.017842911183834076, 0.21641018986701965, -0.45875003933906555, -0.3883882462978363, -0.7452602386474609, -0.8411768078804016, -0.8333670496940613, -0.7562660574913025, 0.8990959525108337, 0.5824263095855713, 0.36082184314727783, 0.1818215698003769, 0.6271730661392212, 0.3092970848083496, -0.029268071055412292, 0.6898662447929382, -0.1305033266544342, 0.5875643491744995, -0.551791787147522, -0.7407039999961853, -0.17327773571014404, -0.1754298359155655, 0.6871221661567688, 0.7532578110694885, -0.15696929395198822, -0.19626206159591675, -0.21625478565692902, 0.9987295269966125, -0.4536299407482147, -0.49192720651626587, -0.909690797328949, 0.09412699192762375, -0.4553828835487366, -0.4916948974132538, -0.31628429889678955, -0.3274042010307312, 0.006485557183623314, -0.39046111702919006, 0.0315253771841526, 0.5519423484802246, 0.30017948150634766, 0.6485425233840942, -0.7124776244163513, -0.3992466926574707, -0.7597421407699585, 0.653006911277771, -0.21158142387866974, 0.19979605078697205, 0.19421938061714172, 0.675666868686676, -0.07752929627895355, -0.749125599861145, -0.4461488425731659, 0.15460216999053955, 0.2355281561613083, 0.17371238768100739, 0.005930495448410511, 0.062270715832710266, 0.34929174184799194, 0.04627237096428871, -0.26773974299430847, 0.1388900876045227, -0.2872312366962433, 0.09339015930891037, 0.8021135330200195, 0.5078234672546387, 0.13795743882656097, 0.002040816703811288, -0.43707185983657837, 0.15494003891944885, -0.7896057367324829, -0.07851698994636536, 0.5232831239700317, 0.25846439599990845, 0.4138801395893097, 0.6096511483192444, -0.2066550999879837, 0.9965600967407227, -0.02620328590273857, -0.21296292543411255, -0.40028971433639526, -0.4463825821876526, 0.03892837464809418, 0.0009095963905565441, 0.4206503629684448, 0.21146266162395477, 0.21891409158706665, -0.38996121287345886, -0.015251215547323227, -0.07187528908252716, 0.7757073640823364, -0.3442959785461426, -0.18797102570533752, 0.2237756997346878, -0.25831401348114014, 0.048894140869379044, -0.10501612722873688, -0.9694125056266785, -0.7713986039161682, -0.23837287724018097, 0.5034586787223816, -0.32479509711265564, -0.3094942271709442, 0.3168119490146637, -0.24592705070972443, 0.4506678879261017, 0.4638100266456604, -1.0530647039413452, 0.6130832433700562, 0.7636303305625916, 0.7926233410835266, -0.42939579486846924, -0.2564765512943268, -0.14175371825695038, 0.08101922273635864, 0.019718173891305923, 1.0617241859436035, -0.5141878724098206, -0.5111125707626343, -0.2914222478866577, -0.3291380703449249, -0.2644067108631134, -0.578252375125885, 0.6657806634902954, -0.6862019896507263, -0.10446105897426605, -0.83245849609375, -0.5904126763343811, -0.25076213479042053, 0.39188340306282043, -0.515049934387207, 0.39288991689682007, -0.14574983716011047, -0.6577805280685425, -0.04610053822398186, -0.5218120813369751, -0.7190008759498596, -0.16535420715808868, -0.31647154688835144, -0.015342425554990768, -0.0007399088935926557, 0.39129695296287537, 0.3597232401371002, -0.48849746584892273, -0.05038249492645264, -0.34308046102523804, -0.17712578177452087, 0.2890952527523041, -0.4176273047924042, 1.081647276878357, 0.1086641401052475, -0.12808166444301605, 0.07173806428909302, -0.6523783206939697, 0.10087614506483078, 0.2685792148113251, -0.3703770935535431, -0.18793180584907532, 0.21858085691928864, -0.44176167249679565, 0.30824247002601624, -0.19987593591213226, -0.3854459822177887, 0.4864504933357239, -0.2402588427066803, 0.62086421251297, 1.152320384979248, -0.00969020463526249, 0.7299615144729614, -0.7772027850151062, 0.7502306699752808, -0.046893708407878876, -0.15190835297107697, 0.13729359209537506, -0.67071932554245, -1.0149403810501099, 0.08338433504104614, -0.16465120017528534, 0.7247658371925354, -0.8606741428375244, -0.17810304462909698, 0.13693057000637054, -0.4455870985984802, -0.5539685487747192, 0.2731105387210846, 0.12570558488368988, 0.6359412670135498, 0.44642364978790283, 0.01715170219540596, -0.5307157635688782, -0.6889582276344299, -0.5688628554344177, -0.07876036316156387, 0.05312493070960045, 0.6501787900924683, 0.290645033121109, 0.11039570719003677, 0.5577645301818848, -0.578914225101471, -0.3661554455757141, -0.3522813618183136, -0.25321653485298157, 0.15822143852710724, 0.4584142565727234, 0.1230747252702713, -0.881749153137207, -0.12502910196781158, -0.3184046745300293, -0.9414359331130981, -0.0571594163775444, -0.2944164276123047, -0.526484489440918, -0.2513808310031891, 0.49058592319488525, -0.8750354051589966, 0.09214267134666443, 0.14766660332679749, -0.10635041445493698, 0.5400810241699219, 0.20299619436264038, 0.062007881700992584, -0.8390523195266724, -0.5234436392784119, -0.03258606418967247, -0.030750976875424385, -0.5188325047492981, 0.2735843360424042, -0.19926069676876068, 0.07867083698511124, -0.43074244260787964, 0.6086721420288086, -0.5143944025039673, -0.09844502806663513, -0.03937850892543793, 0.21401742100715637, 0.09948701411485672, 0.5854827165603638, -0.2796057164669037, 0.8092955350875854, 0.8805338740348816, -0.7528228759765625, 0.9951974749565125, 0.12984314560890198, -0.049810755997896194, 1.0431883335113525, -0.40901899337768555, 0.56243497133255, -0.17026293277740479, 0.18181556463241577, -1.0320416688919067, -0.1654852032661438, 0.167732834815979, -0.2954745888710022, 0.12454897910356522, 0.17946405708789825, -0.45375582575798035, -0.3366183936595917, -0.07706150412559509, 0.36837732791900635, 0.4204739034175873, -0.7657116651535034, 0.9321820735931396, 0.308285653591156, 0.01885664090514183, -0.26969197392463684, -0.8408867716789246, 0.0634661540389061, -0.6219479441642761, -0.8748157024383545, 0.40242907404899597, -0.19289931654930115, -0.3788283169269562, -0.32556992769241333, -0.22559981048107147, 0.05624985322356224, 0.1296708583831787, 0.29156115651130676, -0.06392285227775574, 0.003976271953433752, 0.22557221353054047, 0.04662838578224182, -0.05216998979449272, 0.3920048773288727, -0.6422190070152283, 0.29695942997932434, -0.06157064437866211, -0.9959214329719543, -0.22161124646663666, 0.8240662813186646, 0.6471575498580933, -0.23338396847248077, 0.32546472549438477, 0.24333666265010834, -0.43418803811073303, -0.4758475124835968, -0.8707641959190369, -0.23302505910396576, -0.5177947282791138, 0.037082333117723465, -0.6331301331520081, -1.1346049308776855, 0.39439526200294495, -0.7105224132537842, 0.014495552517473698, -0.07847660034894943, 0.5542256832122803, -0.32825541496276855, 1.1149828433990479, 0.5633875131607056, 0.11346876621246338, 0.05005566030740738, -0.05340736359357834, 0.350965291261673, -1.03086519241333, -0.4562927484512329, -0.5446288585662842, -0.32655227184295654, -0.4866194427013397, -0.4572892189025879, 0.7584730982780457, 0.1279054880142212, -0.01598098874092102, -0.16602236032485962, -0.4912038743495941, 0.3576403260231018, 0.9451387524604797, 0.4298240840435028, 0.5083590149879456, 0.10760566592216492, -0.6378124356269836, 0.21633577346801758, -1.2604905366897583, -0.45739009976387024, 0.8262955546379089, -0.22135472297668457, 0.8233431577682495, 0.3550642728805542, 0.5291287302970886, -0.26776957511901855, 0.1417488008737564, -0.9306463599205017, 0.8965787887573242, -0.0005098431138321757, -0.7368276119232178, -0.3810681402683258, -0.31891679763793945, -0.9281545877456665, 0.459485799074173, -0.08749106526374817, -0.8278627991676331, -0.10839574038982391, -0.022494690492749214, -0.4724178910255432, 0.9136133790016174, -0.5356499552726746, 0.23462046682834625, -0.5016177892684937, -0.6275997757911682, -0.26489049196243286, -0.7676123976707458, 0.59868323802948, 0.029560735449194908, 0.17840372025966644, -0.11387158930301666, -0.06506611406803131, 0.6054490208625793, -0.27768436074256897, 0.47409743070602417, 0.20821036398410797, 0.2363114356994629, 0.4420192241668701, -0.10587696731090546, 0.07005175948143005, 0.009595894254744053, -0.3647927939891815, -0.16100682318210602, -0.527383029460907, -0.40662792325019836, -0.6378441452980042, 0.7722154855728149, -0.6049359440803528, -1.1481578350067139, -0.32167550921440125, -0.6873824000358582, -0.7498595714569092, 0.28039005398750305, 0.27203670144081116, 0.376631498336792, 0.18114854395389557, -0.12330256402492523, 0.8071954250335693, 0.11410542577505112, 0.6153280138969421, 0.14878074824810028, 0.03777291998267174, -0.27487966418266296, 0.7061518430709839, 0.32160890102386475, 0.22304116189479828, 0.2820400595664978, 0.07533251494169235, -0.47293201088905334, -0.7655887007713318, -0.5892378687858582, 0.0917794480919838, -0.8367327451705933, -0.3154173195362091, -0.6725504398345947, -0.0697707086801529, -0.15260477364063263, -0.33070871233940125, -0.2764599919319153, -0.4050062894821167, -0.29170653223991394, -0.13004660606384277, 0.3329380452632904, 0.593205451965332, -0.17418988049030304, 0.26847273111343384, -0.515122652053833, 0.6049326062202454, 1.0409536361694336, 0.36582398414611816, 0.4558468461036682, -0.12713570892810822, 0.17688414454460144, -0.2670513689517975, -0.7724325060844421, -1.1609067916870117, 0.1591486632823944, -0.16061483323574066, 0.8759531378746033, 0.20776747167110443, 0.21494591236114502, 0.6217272281646729, -0.732008695602417, 0.6593616008758545, 0.3907555043697357, -0.6666668653488159, 0.9052876830101013, -0.19145654141902924, 0.3790733218193054, 0.5012757182121277, 0.6544085741043091, -0.1142391636967659, -0.25453007221221924, -0.4983469545841217, -0.7577208280563354, 0.5084325075149536, 0.046597227454185486, -0.1551106870174408, 0.09892482310533524, 0.4078797698020935, 0.06858115643262863, 0.07036012411117554, -0.3354407250881195, -0.4133870005607605, 0.04336216673254967, 0.26334166526794434, 0.4021686911582947, -0.013623501174151897, -0.45363786816596985, -0.42098599672317505, 0.3943798542022705, -0.16266615688800812, 0.4883517622947693, 0.37684938311576843, 0.22603529691696167, -0.08716223388910294, 0.22638267278671265, 0.42195063829421997, 1.022422432899475, 0.11085416376590729, 0.6567056775093079, 0.4582063555717468, 0.04821435362100601, 0.3700658679008484, -0.12798121571540833, -0.04601253941655159, -0.23752374947071075, 0.2032002955675125, 0.6533705592155457, -0.30485787987709045, -0.45909473299980164, 0.15045176446437836, -0.2586401104927063, -0.5960912704467773, -0.019510919228196144, 0.43238863348960876, 0.4231712818145752, 0.6446858644485474, 0.5849138498306274, 0.27245259284973145, 0.05539655312895775, -0.24216416478157043, 0.06544413417577744, 0.6476739048957825, -0.1864037960767746, 0.017178112640976906, 0.7266759872436523, 0.25225183367729187, -0.9212360382080078, 0.7808515429496765, -0.0645645409822464, -0.6770831346511841, 0.6290927529335022, 0.5091649889945984, 0.7988711595535278, 0.06512057036161423, -0.24465249478816986, 0.07428727298974991, 0.5442599058151245, -0.24185338616371155, 0.25277918577194214, -0.14754743874073029, -0.8577097058296204, -0.43846482038497925, -0.35953018069267273, -0.9191422462463379, -0.2355158030986786, -0.6372961401939392, -0.04057199880480766, -0.6069286465644836, -0.2785704731941223, -0.1832694113254547, -0.08016162365674973, -0.8283611536026001, 0.13073278963565826, 0.19274917244911194, 0.6910590529441833, -0.4146336019039154, 0.8158769607543945, 1.12795889377594, -0.16878405213356018, -0.842134952545166, -0.33610644936561584, 0.2702249586582184, -0.9688106775283813, 0.2360801100730896, 0.05458208546042442, -0.5183924436569214, 0.02190665900707245, -0.750563383102417, -0.5429554581642151, 1.2461082935333252, 0.23241659998893738, -0.3281463384628296, -0.12133105844259262, -0.010894001461565495, -0.017775116488337517, -0.3131026029586792, 0.07012761384248734, 0.4696209728717804, 0.481678307056427, 0.2623412013053894, -0.6895344853401184, 0.23428978025913239, 0.042597267776727676, -0.03404168784618378, -0.12399078160524368, -1.1259841918945312, 0.7752810120582581, -0.46893244981765747, -0.1369173377752304, -0.12006942182779312, 0.581758975982666, 0.7609875798225403, 0.5362164974212646, 0.6286827921867371, 0.6622629165649414, 1.262830138206482, -0.02643262967467308, 0.9388034343719482, 0.19350434839725494, -0.051445022225379944, 0.8941147327423096, -0.38834989070892334, 0.3578824996948242, 0.7501760125160217, -0.38613754510879517, 0.23504355549812317, 0.496000200510025, 0.4776380658149719, 0.5792629718780518, 0.5242919325828552, -0.5494031310081482, -0.6403067111968994, -0.09047979861497879, -0.1736479103565216, 0.2910558879375458, 0.48451000452041626, 0.2743722200393677, -0.3387145698070526, 0.2682080566883087, -0.0031028627417981625, 0.07766295224428177, -0.5948046445846558, 0.4858507215976715, 0.4564310610294342, -0.842564582824707, 0.21333371102809906, -0.1577952653169632, 0.8595394492149353, -0.4693352282047272, -0.10053043812513351, -0.3012356162071228, -0.04391638562083244, -0.1716574877500534, -0.6477475762367249, 0.36502307653427124, -0.18626907467842102, -0.13490711152553558, -0.7274004220962524, 1.31913161277771, 0.11954792588949203, -0.5571250915527344, 0.1932409703731537, 1.08047354221344, 0.18526391685009003, -0.05707462877035141, -0.5947783589363098, 0.04187284782528877, -0.09139183163642883, -0.21028046309947968, 0.5507694482803345, 0.7822369337081909, 0.22951337695121765, 1.373295783996582, 0.5830725431442261, 0.26261311769485474, 0.43402940034866333, 0.09399926662445068, 1.0457265377044678, -0.9258022308349609, -0.1994895190000534, -1.1379448175430298, 0.25370433926582336, -0.07184793055057526, -0.3204588294029236, 0.853417694568634, -0.02192223258316517, 0.793359100818634, 0.29127779603004456, 0.8814791440963745, 0.1431855708360672, 0.3650323450565338, -0.6869792938232422, 0.2630302906036377, -0.6336526274681091, 0.4619544744491577, 0.08624080568552017, -0.5492360591888428, -0.24380120635032654, 0.740365207195282, 0.05457916110754013, -0.022652657702565193, 0.9915011525154114, 0.7892547249794006, 0.1194741353392601, 0.33593204617500305, 0.2176479548215866, -0.0976799726486206, 0.25620341300964355, 1.1191205978393555, 1.102629542350769, 0.06362317502498627, 0.5213257074356079, -0.3489956259727478, -0.13186395168304443, -0.041906774044036865, -0.9680107831954956, -0.9829686880111694, -0.20057038962841034, -0.21084505319595337, -0.20293550193309784, 0.13860851526260376, 0.4911469519138336, 0.9635055065155029, -0.34093862771987915, -0.3018776476383209, -0.38535311818122864, 1.0621216297149658, -0.3650483787059784, -0.14796015620231628, -0.00377560593187809, -0.30029401183128357, -0.4855334162712097, 0.49334341287612915, 0.31623056530952454, -0.3213745355606079, -0.6911917328834534, 0.21307329833507538, -0.5837507247924805, 0.10684467107057571, 0.6743842363357544, 0.07344447076320648, -0.891502320766449, -0.28322967886924744, 0.2677479684352875, -0.007394813001155853, 0.11325191706418991, 1.1283055543899536, -0.9534701108932495, 0.3195801377296448, 0.44052180647850037, 1.1054980754852295, 0.6443004608154297, -0.0540592260658741, 0.45652252435684204, -0.388077974319458, -0.35849183797836304, 0.5538164377212524, 0.2806990444660187, 0.3463954031467438, -0.41569027304649353, 0.5913467407226562, 0.39386993646621704, -0.8025372624397278, -0.5118230581283569, 0.5273971557617188, -1.19939386844635, -0.3716927766799927, 1.2482666969299316, 0.031779419630765915, 0.015847934409976006, -0.3927524983882904, -0.2207723706960678, 0.10310681164264679, 0.05048295482993126, 0.37255239486694336, 1.068332314491272, -1.0179009437561035, -0.4227089285850525, -0.9253899455070496, 0.051192499697208405, 0.7642409801483154, -0.6716662645339966, -0.29494205117225647, 0.2863572835922241, 0.1130957305431366, 0.0653872936964035, 1.0794624090194702, 0.16262194514274597, -0.173471137881279, 0.07718758285045624, -0.655113160610199, -0.19028069078922272, -0.5109152793884277, -0.12986411154270172, 0.6173089742660522, 0.18882323801517487, -0.07494053244590759 ]
http://arxiv.org/abs/2405.00465v3
http://arxiv.org/pdf/2405.00465v3
BiomedRAG: A Retrieval Augmented Large Language Model for Biomedicine
2024-05-01T12:01:39
2024-05-03T01:12:08
Mingchen Li, Halil Kilicoglu, Hua Xu, Rui Zhang
cs.CL
cs.CL
Large Language Models (LLMs) have swiftly emerged as vital resources for different applications in the biomedical and healthcare domains; however, these models encounter issues such as generating inaccurate information or hallucinations. Retrieval-augmented generation provided a solution for these models to update knowledge and enhance their performance. In contrast to previous retrieval-augmented LMs, which utilize specialized cross-attention mechanisms to help LLM encode retrieved text, BiomedRAG adopts a simpler approach by directly inputting the retrieved chunk-based documents into the LLM. This straightforward design is easily applicable to existing retrieval and language models, effectively bypassing noise information in retrieved documents, particularly in noise-intensive tasks. Moreover, we demonstrate the potential for utilizing the LLM to supervise the retrieval model in the biomedical domain, enabling it to retrieve the document that assists the LM in improving its predictions. Our experiments reveal that with the tuned scorer,\textsc{ BiomedRAG} attains superior performance across 5 biomedical NLP tasks, encompassing information extraction (triple extraction, relation extraction), text classification, link prediction, and question-answering, leveraging over 9 datasets. For instance, in the triple extraction task, \textsc{BiomedRAG} outperforms other triple extraction systems with micro-F1 scores of 81.42 and 88.83 on GIT and ChemProt corpora, respectively.
[ 0.07629574835300446, -0.6830001473426819, 0.675300121307373, 0.0547671914100647, -0.34101420640945435, 0.3161906898021698, -0.1999538242816925, -0.7979363799095154, 0.6447402834892273, 0.39187154173851013, -0.1742602437734604, -0.4509274661540985, -0.7507134079933167, 0.4315037131309509, -0.3481970727443695, 1.0915634632110596, 0.17859607934951782, 0.3441646993160248, -0.11435650289058685, -0.10219493508338928, -0.26677006483078003, -0.5511155128479004, -0.5776641964912415, -0.621755838394165, 1.0039622783660889, -0.12888886034488678, 0.4825998544692993, 0.6946669220924377, 0.8640621900558472, 0.25542551279067993, -0.38078150153160095, 0.1894916146993637, -0.3019362986087799, 0.4970104694366455, -0.2718854248523712, -0.3350069224834442, -0.6570541858673096, -0.2286127507686615, 0.7134011387825012, 0.6415151357650757, -0.18813496828079224, 0.23782502114772797, 0.11594071239233017, 0.594090461730957, -0.5730382204055786, 0.10695723444223404, -0.5127673149108887, 0.06663902848958969, -0.37066081166267395, -0.5258235931396484, -0.3413081169128418, -0.23639079928398132, -0.21928267180919647, -0.31921690702438354, 0.017294542863965034, 0.10131991654634476, 0.45053455233573914, 0.5227864980697632, -0.11907318234443665, -0.14802788197994232, -0.566125750541687, 0.456193208694458, -0.40897589921951294, 0.5948145389556885, 0.4343098998069763, 0.19301658868789673, -0.2137596607208252, -1.0029863119125366, -0.12661899626255035, -0.025659218430519104, 0.05542423203587532, 0.16655196249485016, -0.20549209415912628, 0.24811241030693054, 0.2512364685535431, 0.4507473409175873, -0.5113180875778198, 0.19424006342887878, -0.7721364498138428, -0.1394733488559723, 0.5073747634887695, 0.16529488563537598, 0.3044874370098114, -0.39447611570358276, -0.11939447373151779, 0.14545825123786926, -0.7719376683235168, -0.3843970000743866, -0.1751611828804016, 0.1924726963043213, 0.20383265614509583, 0.8525452017784119, -0.2037530541419983, 0.7327339053153992, 0.12801046669483185, -0.28350308537483215, 0.46584558486938477, -0.2676081657409668, -0.21831299364566803, 0.34298238158226013, 0.7942365407943726, -0.026958541944622993, -0.22801974415779114, -0.2840917706489563, -0.1291569322347641, -0.05682514235377312, 0.6607009172439575, -0.9439758062362671, -0.20820067822933197, 0.5727669596672058, -0.5499957799911499, -0.38214677572250366, -0.36032506823539734, -0.8100336194038391, -0.4643414318561554, -0.04666772857308388, 0.4766893982887268, -0.5463016629219055, 0.19883908331394196, 0.37327247858047485, -0.1468215137720108, -0.041800208389759064, 0.2302914261817932, -0.7292511463165283, 0.06983918696641922, 0.8054203987121582, 1.0480453968048096, -0.3225725591182709, -0.018737995997071266, -0.9180613160133362, 0.2957254648208618, -0.18067948520183563, 0.9665268659591675, -0.6826527118682861, -0.3959437906742096, -0.1042502224445343, -0.06098894402384758, -0.08926291763782501, -0.7634792923927307, 0.6629290580749512, -0.6392709612846375, 0.009904145263135433, 0.011518474668264389, -0.6000916957855225, -0.09198131412267685, 0.05153514817357063, -0.6979866027832031, 0.9431731104850769, 0.06038818508386612, -0.7952476143836975, 0.2285185009241104, -0.6599236130714417, -0.39552614092826843, 0.5197795033454895, -0.275387167930603, -0.3581215739250183, 0.08764471113681793, 0.06533967703580856, 0.5318372249603271, -0.21815012395381927, 0.2855992615222931, -0.2718011140823364, -0.5105140209197998, 0.09198348969221115, -0.11889299005270004, 0.6148255467414856, 0.12138906121253967, -0.03614399954676628, 0.10761238634586334, -0.7002343535423279, -0.037692517042160034, -0.1953829675912857, -1.0000587701797485, -0.24137836694717407, -0.02955799549818039, -0.019155286252498627, 0.06743812561035156, 0.23892995715141296, -0.7149029970169067, 0.25651782751083374, -0.6187315583229065, 0.35023778676986694, 0.3315056562423706, 0.021710624918341637, 0.2401696890592575, -0.5567417740821838, 0.6647893786430359, -0.33699944615364075, -0.24441587924957275, -0.014860262162983418, -0.47775089740753174, -0.12110792845487595, -0.7986208200454712, 0.5703824758529663, 0.5348405838012695, -0.7309806942939758, 0.38136348128318787, -0.2679133713245392, -0.40296506881713867, -0.9580633044242859, 0.22257420420646667, 0.34473174810409546, 0.5619449019432068, 0.62956702709198, -0.1313880831003189, -0.5806964039802551, -0.6281982660293579, -0.3381173610687256, -0.10061709582805634, -0.23649317026138306, 0.27926698327064514, 0.45855677127838135, -0.6291482448577881, 0.3500622510910034, -0.4051414132118225, -0.2634997069835663, -0.43881750106811523, 0.007331914734095335, 0.3985571563243866, 0.24214044213294983, 0.23027454316616058, -0.6402919888496399, -0.26708757877349854, 0.20501871407032013, -0.6867935061454773, -0.48015469312667847, 0.38948965072631836, -0.05960406735539436, 0.0760134756565094, 0.39780741930007935, -0.8861976861953735, 0.3308028280735016, 0.4490911364555359, -0.03931080922484398, 0.754867434501648, -0.3293707072734833, 0.15352235734462738, -1.1390763521194458, 0.4846501648426056, -0.11965605616569519, -0.4161606729030609, -0.45854243636131287, 0.24517205357551575, 0.1557837277650833, 0.06900713592767715, -0.2652919590473175, 0.8157463669776917, -0.2628149092197418, -0.0644787847995758, -0.3543294668197632, 0.004217841196805239, 0.17626239359378815, 0.15541397035121918, 0.06749290972948074, 0.7527751922607422, 0.2171507328748703, -0.4365531802177429, 0.3401123583316803, 0.5477676391601562, -0.387464314699173, 0.40735653042793274, -0.9219915270805359, 0.018561607226729393, -0.35415658354759216, 0.5139464139938354, -0.4592582583427429, -0.6250810027122498, 0.18666788935661316, -0.2886600196361542, 0.5389125347137451, -0.021784532815217972, -0.6239893436431885, -0.45835649967193604, -0.34945374727249146, 0.3204091787338257, 0.49082714319229126, -0.5057428479194641, 0.39299288392066956, 0.46492379903793335, -0.48877203464508057, -0.6066708564758301, -0.4709334373474121, -0.030352072790265083, -0.05622241646051407, -0.13882479071617126, 0.5889663696289062, -0.03517541289329529, -0.21002815663814545, -0.27783048152923584, -0.08246756345033646, 0.0038972622714936733, -0.10875730216503143, 0.22687065601348877, 0.3335893452167511, -0.022800873965024948, 0.6295074820518494, 0.2773202061653137, -0.02797102928161621, -0.04763014614582062, -0.1473747342824936, 0.5819988250732422, 0.3465072214603424, -0.18352966010570526, -0.13573697209358215, 0.32717835903167725, 0.5554401874542236, -0.29519742727279663, 0.716469943523407, 0.6991256475448608, -0.441031813621521, 0.08603537082672119, -0.5494542121887207, -0.2903882563114166, -0.3957790732383728, 0.6631931066513062, -0.10732796043157578, -0.9594250917434692, 0.23210874199867249, -0.14806631207466125, -0.09341707080602646, 0.45685678720474243, 0.8128071427345276, -0.29509422183036804, 0.883571445941925, 0.287066251039505, -0.1547672152519226, 0.2659364640712738, 0.033515918999910355, -0.07003738731145859, -1.2214289903640747, -0.5223679542541504, -0.7892286777496338, -0.44560864567756653, -0.3748309314250946, -0.6517335176467896, 0.855318009853363, 0.15681740641593933, -0.12863336503505707, 0.10197684913873672, -0.6081210970878601, 0.16772501170635223, 0.33381202816963196, 0.5930311679840088, 0.45540687441825867, 0.15500310063362122, -0.2503992021083832, 0.09324786812067032, -0.9333791732788086, -0.3084954023361206, 1.0242829322814941, 0.2906345725059509, 0.7364144921302795, 0.09802351146936417, 0.8206222653388977, 0.21373894810676575, 0.4406895041465759, -0.8352863192558289, 0.29894572496414185, -0.21399755775928497, -0.7339213490486145, -0.022312752902507782, -0.5857352614402771, -1.1898751258850098, 0.21625998616218567, -0.4520849287509918, -0.8348336815834045, 0.08804178982973099, 0.06612157821655273, -0.6601192355155945, 0.21546487510204315, -0.09907403588294983, 0.4837394654750824, -0.11641062796115875, -0.6619961261749268, -0.3429565131664276, -0.7037523984909058, 0.2647717297077179, -0.4746430814266205, 0.20387160778045654, 0.10019960254430771, -0.1832856982946396, 0.6578683853149414, -0.42047807574272156, 0.6239744424819946, 0.2509222626686096, -0.07062427699565887, -0.03813169151544571, 0.05739801004528999, 0.3779785931110382, -0.07462354749441147, -0.43122798204421997, 0.1344311386346817, 0.26324328780174255, -0.22176219522953033, -0.4043826162815094, 0.5685940384864807, -0.35766711831092834, -0.48102355003356934, -0.31678569316864014, -0.6366018056869507, -0.13863085210323334, 0.2305697798728943, 0.3177461326122284, 0.618973970413208, -0.019290542230010033, 0.4306212067604065, 0.7425807118415833, -0.6606038808822632, 0.17486384510993958, 0.5246644616127014, -0.48228418827056885, -0.4257984757423401, 0.6486070156097412, 0.055058520287275314, -0.024596821516752243, 0.5325062274932861, 0.10572709888219833, -0.4182397723197937, -0.39151865243911743, -0.35249847173690796, 0.37616193294525146, -0.2837878465652466, -0.5365824103355408, -1.133478045463562, -0.37312957644462585, -0.2760677635669708, 0.079305000603199, -0.06703806668519974, -0.30712181329727173, -0.32127514481544495, -0.14435157179832458, 0.6343417167663574, 0.7082104682922363, -0.20517154037952423, 0.09017594158649445, -1.1911098957061768, 0.4608445167541504, -0.0683276429772377, 0.4562089741230011, -0.2559698820114136, -0.6910713315010071, -0.31538495421409607, -0.15571866929531097, -0.22247882187366486, -1.0387719869613647, 0.6140903234481812, 0.26585638523101807, 0.3495081961154938, 0.04072577878832817, -0.32284560799598694, 0.3680785298347473, -0.8501570224761963, 0.4036990702152252, -0.026948457583785057, -0.3636489510536194, 0.5423222780227661, -0.48391810059547424, 0.43460798263549805, 0.5445939898490906, 0.4499848783016205, -0.2649765908718109, -0.3292214274406433, -0.5038543343544006, -0.6487820148468018, 0.2933013141155243, -0.2227131724357605, -0.03499988093972206, -0.22186097502708435, 0.6219412088394165, 0.09094607830047607, 0.4069250524044037, -0.32113662362098694, 0.1090969517827034, 0.4635671079158783, -0.5461582541465759, -0.016820399090647697, -0.42000067234039307, -0.07565620541572571, -0.43133196234703064, 0.5676919221878052, -0.03848716616630554, 0.4053402841091156, 0.3761700391769409, -0.047067172825336456, -0.1558482050895691, 0.3172595202922821, 0.5142229199409485, 0.3164861798286438, -0.3239959478378296, 0.05426526814699173, 0.027588237076997757, -0.7112301588058472, -0.021982058882713318, 0.3724890947341919, -0.02103138156235218, 0.1754685342311859, 0.42872869968414307, 0.36889782547950745, 0.4900893270969391, -0.8097548484802246, 0.1418905109167099, 0.3689315915107727, -0.03738090395927429, 0.11962935328483582, 0.07955949008464813, 0.06313158571720123, 0.5352557301521301, 0.3033582270145416, 0.05652877688407898, 0.512021541595459, -0.4411814212799072, 0.40413734316825867, 0.45918911695480347, -0.3715399503707886, -0.22020001709461212, 0.9212146997451782, -0.0026016635820269585, -0.4368782341480255, 0.23018057644367218, 0.25567394495010376, -0.46099838614463806, 0.15596550703048706, 0.6592541933059692, 0.5947680473327637, -0.28154435753822327, 0.17785657942295074, 0.2761498689651489, -0.032757718116045, -0.3227017819881439, 0.39574676752090454, 0.0419883206486702, -0.4579601287841797, -0.7839577198028564, -1.168046474456787, -0.25953909754753113, -0.018504103645682335, -0.5189023613929749, 0.01189516019076109, -0.21372385323047638, -0.3362874388694763, 0.14585167169570923, 0.08381981402635574, -0.3240976929664612, 0.09595487266778946, -0.14501701295375824, 0.9008861780166626, -0.19719569385051727, 0.8676548004150391, 0.6940707564353943, -0.3045240044593811, -0.5972332954406738, -0.38152527809143066, -0.08137263357639313, -0.6625534892082214, 0.6932322978973389, -0.11338379979133606, 0.02439875714480877, -0.02355356328189373, -0.4116731882095337, -0.6595677733421326, 0.9504674077033997, 0.3037857413291931, -0.7264793515205383, -0.1529064178466797, -0.1876247078180313, 0.8163593411445618, -0.12365338951349258, 0.18920665979385376, 0.4615863263607025, 0.3417464792728424, -0.025933802127838135, -0.9967958331108093, -0.06116502359509468, -0.3460310399532318, -0.39661821722984314, 0.233480766415596, -0.5838356018066406, 0.6835866570472717, -0.1827135980129242, 0.16003882884979248, 0.2432803511619568, 0.2569233477115631, 0.6381530165672302, 0.23224668204784393, -0.22397713363170624, 0.45687881112098694, 1.0062206983566284, 0.1138971745967865, 1.514146089553833, -0.43238136172294617, 0.06602103263139725, 0.984765350818634, -0.43861907720565796, 1.1070377826690674, 0.3471701145172119, -0.16380974650382996, 0.47887033224105835, 0.31394609808921814, 0.2540057897567749, 0.23905529081821442, 0.16105468571186066, -0.5008881688117981, -0.08946935087442398, -0.2925293445587158, -0.5155600309371948, 0.49776825308799744, 0.46976396441459656, -0.7747377753257751, 0.06422878056764603, 0.0046372367069125175, 0.037202540785074234, -0.07157213985919952, -0.4678211808204651, 0.8487353324890137, 0.2741469144821167, -0.36454498767852783, 0.5034288763999939, 0.03747545927762985, 0.5577874779701233, -0.4262700378894806, -0.1837504506111145, -0.10357221961021423, 0.10761528462171555, -0.25951963663101196, -0.49856260418891907, 0.299481064081192, 0.14078497886657715, -0.35128656029701233, -0.0477561354637146, 1.0947619676589966, -0.5899754166603088, -0.7045851945877075, 0.26298218965530396, 0.5317208170890808, 0.34087347984313965, -0.003719743574038148, -0.5017856359481812, 0.4535430073738098, -0.2853946089744568, -0.0739840641617775, 0.38187581300735474, 0.15614096820354462, 0.29976099729537964, 0.6975886821746826, 0.4414710998535156, 0.5753925442695618, -0.1799696832895279, -0.14514492452144623, 0.7236185073852539, -0.5289336442947388, -0.034298866987228394, -0.7993211150169373, 0.12437300384044647, -0.05308682471513748, 0.005094306543469429, 0.43582019209861755, 0.561072826385498, 0.29575619101524353, -0.07853482663631439, 0.6476016044616699, 0.18945471942424774, 1.0673892498016357, -0.6505057215690613, 1.0085382461547852, -0.6060201525688171, 0.29728904366493225, -0.22051458060741425, -0.8131887912750244, -0.4987448751926422, 0.6088151335716248, -0.22175714373588562, 0.20532427728176117, 0.739473819732666, 0.6584072113037109, 0.06638577580451965, -0.16456027328968048, 0.3488619327545166, 0.4326973259449005, -0.051199063658714294, 0.4815596342086792, 0.4986627697944641, -0.39023739099502563, 0.11154650151729584, 0.2092922031879425, -0.05762961506843567, -0.3536193072795868, -0.4862162172794342, -0.6183441281318665, -0.1562677025794983, -0.1635439246892929, -0.5370388031005859, 0.4189072549343109, 1.1350241899490356, 0.4905655086040497, -0.49355822801589966, 0.08662012219429016, 0.44108036160469055, 0.009380141273140907, 0.026354225352406502, -0.1634846329689026, 0.2866624593734741, -0.3414236307144165, -0.6461858153343201, 0.732134997844696, 0.6602963805198669, -0.2477315068244934, -0.07605577260255814, 0.08470109850168228, -0.32923322916030884, 0.0336519293487072, 0.7629135251045227, 0.2809617817401886, -0.42005905508995056, -0.17280369997024536, 0.015065747313201427, -0.3410479724407196, 0.15393182635307312, 0.5660409331321716, -1.058912754058838, 0.2586865723133087, 0.39809197187423706, 0.9471747875213623, 0.48084765672683716, 0.0051865545101463795, 0.6052821278572083, -0.5872717499732971, 0.024242468178272247, 0.2659224569797516, 0.3830527365207672, 0.27707985043525696, -0.5276616811752319, 0.6856760382652283, 0.15045416355133057, -0.7247007489204407, -0.851995587348938, -0.1174481064081192, -0.8708812594413757, -0.21445025503635406, 1.220494031906128, 0.2204972356557846, -0.2525702714920044, -0.1700303554534912, -0.3032888174057007, 0.3248361349105835, -0.21726547181606293, 0.9413419365882874, 0.26697084307670593, -0.027642741799354553, -0.06166472285985947, -0.8135286569595337, 0.6638774275779724, 0.5079939961433411, -0.8136034607887268, -0.2824724018573761, 0.6465145349502563, 0.1598765105009079, 0.10207056999206543, 0.8252331018447876, -0.43381398916244507, 0.33586201071739197, -0.36948108673095703, 0.04402497783303261, 0.21232637763023376, -0.4140024483203888, -0.4156646728515625, 0.32268643379211426, -0.0754949301481247, 0.15179438889026642 ]
http://arxiv.org/abs/2405.00461v1
http://arxiv.org/pdf/2405.00461v1
Enhancing Surgical Robots with Embodied Intelligence for Autonomous Ultrasound Scanning
2024-05-01T11:39:38
2024-05-01T11:39:38
Huan Xu, Jinlin Wu, Guanglin Cao, Zhen Lei, Zhen Chen, Hongbin Liu
cs.RO
cs.RO, cs.AI, cs.CL, cs.HC
Ultrasound robots are increasingly used in medical diagnostics and early disease screening. However, current ultrasound robots lack the intelligence to understand human intentions and instructions, hindering autonomous ultrasound scanning. To solve this problem, we propose a novel Ultrasound Embodied Intelligence system that equips ultrasound robots with the large language model (LLM) and domain knowledge, thereby improving the efficiency of ultrasound robots. Specifically, we first design an ultrasound operation knowledge database to add expertise in ultrasound scanning to the LLM, enabling the LLM to perform precise motion planning. Furthermore, we devise a dynamic ultrasound scanning strategy based on a \textit{think-observe-execute} prompt engineering, allowing LLMs to dynamically adjust motion planning strategies during the scanning procedures. Extensive experiments demonstrate that our system significantly improves ultrasound scan efficiency and quality from verbal commands. This advancement in autonomous medical scanning technology contributes to non-invasive diagnostics and streamlined medical workflows.
[ -0.31489574909210205, -0.3983684182167053, 1.0335904359817505, -0.2543255090713501, -0.6124163269996643, 0.1301935613155365, 0.23062527179718018, -0.8121703863143921, 0.8161963820457458, 0.6681369543075562, -0.7078406810760498, -0.4248885214328766, -0.7290173768997192, 0.13760678470134735, -0.36298906803131104, 0.4922465682029724, 0.17863236367702484, 0.12965770065784454, -0.019870802760124207, -0.3296163082122803, -0.2519107460975647, -0.13507753610610962, -0.4092600643634796, -0.2145133763551712, 0.48400917649269104, 0.0992593988776207, 1.1002895832061768, 0.916667103767395, 0.5498895645141602, 0.3574725091457367, 0.25934046506881714, 0.7644517421722412, -0.0032744985073804855, 0.06714440137147903, -0.19907647371292114, -0.23161421716213226, -0.818576455116272, -0.28110334277153015, 0.3855747580528259, 0.9341493248939514, -0.21298032999038696, -0.2594519555568695, -0.29107949137687683, 0.6310672760009766, -0.39058318734169006, 0.09494993090629578, -0.08640257269144058, 0.12737411260604858, 0.3825933635234833, -0.45650556683540344, -0.0014133922522887588, -0.2892046868801117, -0.05648503825068474, -0.8933838605880737, -0.1923326849937439, -0.28744685649871826, 0.3929310142993927, 0.8871855139732361, -0.4525015950202942, -0.4134194850921631, -0.9903410077095032, 0.2363569438457489, -0.2830021381378174, 0.7896183729171753, 0.04449690133333206, 0.16404016315937042, -0.08513622730970383, -0.7331421971321106, -0.25543105602264404, -0.3333446979522705, -0.01616913266479969, 0.2571553587913513, -0.13222430646419525, 0.3551380932331085, 0.10603844374418259, 0.08743590861558914, -0.4917263090610504, 0.09300035238265991, -0.22493000328540802, -0.026626965031027794, 0.7594258189201355, 0.2945951223373413, 0.4101915955543518, 0.28065574169158936, -0.4090504050254822, -0.20160698890686035, -0.42583465576171875, -0.15726922452449799, 0.007995051331818104, 0.010005500167608261, 0.08570263534784317, 0.5865868330001831, -0.25751176476478577, 0.6522138118743896, 0.11868893355131149, -0.20713728666305542, 0.2877747118473053, -0.1126481369137764, -0.14493779838085175, 0.24439014494419098, 0.6306484341621399, 0.16608643531799316, -0.12071636319160461, -0.03448047488927841, -0.5177933573722839, -0.09730160981416702, 0.7669867873191833, -0.632417619228363, 0.003982956521213055, 0.15358178317546844, -0.5685498714447021, 0.023356355726718903, -0.12996134161949158, -0.3335624933242798, -0.8998138904571533, -0.4566488265991211, 0.501579225063324, -0.42209309339523315, -0.2843250632286072, 0.735054075717926, -0.039669573307037354, 0.18460948765277863, 0.5811050534248352, -0.7830333709716797, 0.2558477520942688, 0.7128475308418274, 0.5463371872901917, 0.4731731712818146, 0.09797079861164093, -0.42360344529151917, 0.34484052658081055, -0.7742962837219238, 0.8052554726600647, -0.535042941570282, -0.8810700178146362, -0.17286933958530426, -0.05231236293911934, 0.029508983716368675, -0.7893431782722473, 0.4331832528114319, -0.26258328557014465, -0.26916995644569397, 0.04214397072792053, -0.4498057961463928, -0.5321794152259827, 0.006401631515473127, -0.7680379748344421, 0.47587651014328003, 0.2843930721282959, 0.04198956862092018, 0.3296927511692047, -0.8572325110435486, -0.7476447224617004, 0.4820239543914795, -0.6053000688552856, -0.2186414897441864, 0.11639111489057541, 0.48519280552864075, 0.6775809526443481, -0.21622666716575623, 0.3188909888267517, -0.16204001009464264, -0.6956896781921387, 0.003930683713406324, -0.048284709453582764, 0.5487480759620667, -0.15407459437847137, -0.38215014338493347, 0.22187595069408417, -0.38872790336608887, -0.40318769216537476, 0.13070233166217804, -0.040240395814180374, -0.059102803468704224, 0.09400200098752975, -0.6634950041770935, -0.1680736094713211, 0.4076486825942993, -0.36271899938583374, 0.6131733655929565, -0.7667105197906494, -0.07750386744737625, 0.46888136863708496, 0.053435392677783966, 0.5984212160110474, -0.6819766759872437, 0.6354646682739258, -0.4045052230358124, 0.27989405393600464, 0.17094877362251282, -0.6639474630355835, -0.766816258430481, -0.5015698671340942, -0.4621254503726959, 0.6148979067802429, -0.7840529680252075, 0.36741864681243896, -0.1089877337217331, -0.7286498546600342, -0.6402300000190735, -0.05725599080324173, 0.2505338490009308, 0.6036553978919983, 0.2935500741004944, -0.15835219621658325, -0.521450400352478, -0.793601930141449, -0.040534473955631256, -0.3258878290653229, -0.24168330430984497, 0.7906035780906677, 0.22018609941005707, -0.40940847992897034, 0.301342248916626, -0.4886123538017273, -0.5114116072654724, -0.25764375925064087, 0.1393027901649475, 0.7533218860626221, 0.5163587927818298, 0.5001941323280334, -0.7322381734848022, 0.27360162138938904, 0.28008803725242615, -1.0295677185058594, 0.052275627851486206, -0.22657853364944458, -0.25359898805618286, 0.34198957681655884, 0.6061586737632751, -0.9839675426483154, 0.4933255612850189, 0.23254752159118652, -0.1623329073190689, 0.3029116690158844, -0.5736584663391113, 0.28639712929725647, -0.8550176620483398, 0.07716347277164459, -0.020634500309824944, 0.022305157035589218, -0.34317606687545776, 0.22453980147838593, 0.008504576981067657, -0.03972942754626274, -0.15029072761535645, 0.5620681643486023, -0.4862667918205261, -0.2040475457906723, -0.40785980224609375, -0.008932078257203102, 0.04716207832098007, 0.27622777223587036, 0.35345521569252014, 0.6585469841957092, 0.411923885345459, -0.8265759348869324, 0.562158465385437, 0.28549790382385254, -0.16810673475265503, 0.3798280656337738, -0.6000134348869324, 0.40094703435897827, 0.21255256235599518, 0.258555144071579, -0.5137943625450134, -0.21169111132621765, 0.2684965431690216, -0.6369686126708984, 0.4626222848892212, -0.07946158200502396, -0.33770978450775146, -0.5952340960502625, -0.15601254999637604, 0.1212865337729454, 0.7302377820014954, -0.5148254632949829, 1.3316646814346313, 0.5849962830543518, -0.256098210811615, -0.5771557688713074, -0.26516449451446533, 0.15976229310035706, 0.014239956624805927, -0.5541836023330688, 0.17669761180877686, 0.05756783112883568, -0.24742738902568817, -0.10685554891824722, -0.24905039370059967, -0.18327739834785461, 0.34234854578971863, 0.06418649852275848, 0.4786073565483093, -0.19694291055202484, 0.26176390051841736, 0.5167311429977417, -0.251560240983963, 0.40769410133361816, -0.661934494972229, 0.562311589717865, 0.16840046644210815, -0.5764296650886536, -0.7845513820648193, 0.1831781417131424, 0.7297404408454895, -0.17440269887447357, 0.26212531328201294, 0.5527151823043823, -0.42831382155418396, -0.17520862817764282, -0.5094398856163025, -0.7201859951019287, -0.5296801328659058, 0.5001171827316284, -0.2211562842130661, -0.5926251411437988, 0.4039894640445709, -0.12791898846626282, 0.03673028573393822, 0.0915934219956398, 0.5915511846542358, -0.5197377800941467, 1.404184103012085, 0.6586443781852722, 0.06609595566987991, 0.15034635365009308, -0.30770620703697205, 0.177598774433136, -0.7701589465141296, -0.5097024440765381, -0.45891430974006653, -0.3561543822288513, -0.5037716627120972, -0.6177084445953369, 0.8844122290611267, -0.4196684956550598, -0.34154993295669556, 0.02574714459478855, -0.7677985429763794, 0.1550649106502533, 0.6751376986503601, 0.4507778584957123, 0.09157467633485794, -0.4141004681587219, -0.02082730084657669, 0.48339760303497314, -0.6185569763183594, -0.6216368079185486, 0.8034040927886963, 0.049065329134464264, 0.8634510040283203, -0.13099166750907898, 0.6468915939331055, 0.1746940165758133, -0.2542203366756439, -0.9280911087989807, 0.8210644721984863, -0.33006560802459717, -0.2568618655204773, -0.2929936647415161, -0.06111564114689827, -1.0719956159591675, -0.020403854548931122, -0.06488052755594254, -0.4102562665939331, 0.17763656377792358, 0.30334708094596863, -0.6445316076278687, 0.48507216572761536, -0.13093754649162292, 0.10525979101657867, -0.40494585037231445, -0.286910742521286, -0.5204145908355713, -0.7088164687156677, 0.030153699219226837, -0.01548447273671627, 0.0967675969004631, -0.10487806051969528, -0.5765403509140015, 0.6072186827659607, -0.3209029734134674, 0.8571561574935913, -0.4965636134147644, -0.34713563323020935, 0.09061340242624283, 0.4029187560081482, 0.34004855155944824, 0.1258193850517273, -0.07224740087985992, 0.1497814655303955, -0.543742835521698, 0.0008963319123722613, -0.7261203527450562, 0.2586761713027954, -0.49614375829696655, -0.7144573330879211, -0.08441983908414841, -0.8047521710395813, -0.27663686871528625, 0.12011945247650146, -0.23404482007026672, 0.442383348941803, -0.0009655350586399436, -0.012872160412371159, 0.7521675229072571, -0.25116467475891113, 0.2228633612394333, 0.43152788281440735, 0.08330436795949936, -0.07743555307388306, 0.7476820349693298, 0.06085014343261719, -0.19588786363601685, 0.545387327671051, 0.3216482102870941, -0.5429337024688721, -0.5996386408805847, -0.8852763175964355, 0.40775224566459656, -0.4943797290325165, -0.20279338955879211, -0.8419913649559021, -0.08888477832078934, -0.41323646903038025, -0.5892943739891052, -0.47550198435783386, -0.15097194910049438, -0.46373802423477173, 0.003636059118434787, 0.4907199442386627, 1.00052809715271, -0.12071971595287323, -0.05782567709684372, -1.0861867666244507, 0.6372571587562561, 0.4192231595516205, 0.193320631980896, -0.1733950674533844, -0.37780725955963135, -0.1122601255774498, 0.03653036430478096, 0.1133539155125618, -0.5534054040908813, 0.37911027669906616, -0.06715895235538483, 0.6813759803771973, 0.6552259922027588, 0.03683948516845703, 0.6091821193695068, -0.22320996224880219, 0.47388654947280884, -0.0541672557592392, -0.7531943321228027, 0.5140981078147888, -0.5776958465576172, 0.36676985025405884, 0.2949478030204773, 0.3884965181350708, -0.2097311168909073, -0.5676438808441162, -0.31970036029815674, -0.740304708480835, 0.5391777157783508, -0.32158780097961426, 0.1213872879743576, 0.24176651239395142, 0.5522623062133789, 0.16827642917633057, 0.3578011393547058, -0.08201418071985245, 0.2262697070837021, 0.05946585536003113, -0.26693159341812134, 0.22860468924045563, 0.1301621049642563, -0.2178233563899994, -0.4414721727371216, 0.7310453653335571, -0.4853435754776001, 0.5991242527961731, 0.20517894625663757, 0.11125124990940094, -0.00625812541693449, -0.4182312786579132, 0.7082387804985046, 0.35294389724731445, 0.03861076757311821, -0.20078237354755402, 0.16513937711715698, -0.8285388350486755, -0.011607637628912926, 0.09297407418489456, 0.18163685500621796, -0.21891902387142181, 0.4423341751098633, 0.5045729279518127, 0.07863026112318039, -0.8362595438957214, 0.31259724497795105, -0.06652624160051346, -0.3349561095237732, -0.27377504110336304, 0.436260849237442, 0.32641103863716125, 0.5749425292015076, 0.36842212080955505, 0.1517893224954605, 0.5037403106689453, -0.1557047814130783, 0.08328548818826675, 0.43457290530204773, -0.42563101649284363, -0.03734571859240532, 0.5597550272941589, 0.34078794717788696, -0.30869996547698975, 0.7851126790046692, -0.11950023472309113, -0.38857826590538025, 0.9810072779655457, 0.17511172592639923, 0.7375706434249878, -0.5298650860786438, -0.05402619019150734, 0.17437231540679932, 0.6117992997169495, 0.2546199858188629, 0.7168528437614441, -0.3606266975402832, -0.78512042760849, -0.4747573137283325, -0.2456200271844864, -0.6914496421813965, -0.20789313316345215, -0.5919411182403564, 0.2854365408420563, -0.6343345046043396, 0.20676080882549286, -0.21032381057739258, -0.13833753764629364, -0.4122340679168701, 0.4605337977409363, 0.39895209670066833, 0.6070268154144287, -0.18174591660499573, 0.6908979415893555, 0.9872980117797852, -0.10483067482709885, -0.9574311375617981, -0.19042962789535522, -0.015432849526405334, -1.465888261795044, 0.3313590884208679, 0.21564804017543793, -0.9807316064834595, -0.15777024626731873, -0.4964759051799774, -0.820353090763092, 0.9245710968971252, 0.4218813478946686, -0.6351178884506226, -0.07375603169202805, -0.13471713662147522, 0.5093411803245544, -0.3069028854370117, 0.15349149703979492, 0.4857141077518463, 0.5791159868240356, 0.11307810992002487, -1.0850465297698975, 0.012502077035605907, -0.36515623331069946, -0.5320267081260681, 0.4984658360481262, -0.29798439145088196, 0.5084854960441589, -0.7459480166435242, -0.014206238090991974, 0.30293095111846924, 0.47954046726226807, 0.28003913164138794, 0.45050734281539917, 0.6243088841438293, 0.5985842347145081, 0.9304270148277283, 0.027566490694880486, 1.1617003679275513, -0.6207112669944763, -0.32859277725219727, 0.6675912141799927, -0.5162636637687683, 0.3061932325363159, 0.05962906405329704, 0.29508936405181885, 0.4202570915222168, 0.3864533007144928, 0.07325553894042969, 0.12445914000272751, -0.18910296261310577, -0.4826986789703369, -0.5285952687263489, -0.29456478357315063, -0.23287461698055267, 1.0719019174575806, 0.7341872453689575, -0.2135317623615265, 0.2568229138851166, 0.4933709502220154, 0.011048300191760063, 0.04485299438238144, -0.6074907779693604, 1.1580508947372437, -0.10719427466392517, -0.48089465498924255, 0.5306429266929626, -0.43214648962020874, 0.42649248242378235, -0.5785740613937378, -0.3727436363697052, -0.0038542000111192465, 0.10890445113182068, -0.10903605818748474, -0.9255018830299377, 0.26463156938552856, -0.4194192588329315, 0.20519056916236877, -0.25145286321640015, 0.8017057180404663, 0.15121538937091827, -0.3661269247531891, 0.5198286175727844, 0.6860935091972351, 0.22664490342140198, -0.10897043347358704, -0.47647809982299805, -0.1375793218612671, -0.09449869394302368, -0.0408940352499485, 0.054210759699344635, 0.2711833715438843, 0.0680932030081749, 0.9548959732055664, 0.4934958219528198, 0.005195308942347765, -0.5060144066810608, 0.0633285716176033, 1.121474027633667, -0.6839800477027893, -0.438524067401886, -0.5086722373962402, 0.3057522475719452, 0.06787931174039841, -0.08446730673313141, 0.14658395946025848, 0.3493591845035553, 0.5831247568130493, 0.059422463178634644, 0.4815158247947693, 0.22652022540569305, 0.6390489339828491, -0.45319536328315735, 1.1097861528396606, -0.9533068537712097, 0.011159362271428108, -0.0993926003575325, -0.4052029550075531, -0.3686012923717499, 0.958742618560791, -0.023088529706001282, 0.4311007857322693, 0.4506572484970093, 0.8424277305603027, 0.0588805116713047, 0.1542980670928955, 0.44438719749450684, 0.24668852984905243, 0.11491768807172775, 0.38415035605430603, 0.7658675312995911, 0.11106321215629578, 0.06777971237897873, -0.36899062991142273, -0.3015052080154419, -0.39189019799232483, -0.5577095746994019, -0.4737807512283325, -0.4770124852657318, -0.1491028517484665, -0.07558484375476837, 0.13737578690052032, 0.9465141892433167, 1.0459991693496704, -0.0334576852619648, -0.3124735951423645, 0.13171808421611786, 0.07153847068548203, -0.3120522201061249, -0.0770212933421135, 0.2766033411026001, 0.10710351914167404, -0.8111164569854736, 1.1501387357711792, 0.7070872783660889, -0.020203538239002228, -0.09980882704257965, -0.11968212574720383, 0.08486991375684738, 0.22788852453231812, 0.3993006646633148, 0.20381346344947815, -0.36969614028930664, -0.22318759560585022, 0.2708563804626465, -0.1280815750360489, 0.1613188534975052, 0.6418682336807251, -1.1227374076843262, 0.5832792520523071, 0.11166377365589142, 0.7136320471763611, 0.1377703845500946, -0.20009148120880127, 0.43325889110565186, -0.013550766743719578, 0.23984654247760773, 1.0999599695205688, 0.5121180415153503, 0.006130356807261705, -0.8963075876235962, 0.5444630980491638, 0.1343471258878708, -0.5466489195823669, -0.3744588792324066, 0.11281277239322662, -1.1738065481185913, -0.3935478925704956, 0.6162769198417664, 0.09999292343854904, -0.4571368396282196, -0.2534235417842865, -0.3167208433151245, 0.46486786007881165, -0.3594507873058319, 0.7123990058898926, -0.24116040766239166, -0.774677574634552, -0.016821933910250664, -0.202614426612854, 0.15654420852661133, 0.4040864109992981, -0.8760173320770264, -0.4348594546318054, 0.4523738622665405, -0.13330309092998505, 0.2423979789018631, 0.699927568435669, -0.2511451542377472, 0.8590577244758606, 0.06590499728918076, 0.41726356744766235, -0.33547163009643555, -0.5267102718353271, -0.22367294132709503, 0.10307316482067108, -0.16316886246204376, -0.30342555046081543 ]
http://arxiv.org/abs/2405.00449v1
http://arxiv.org/pdf/2405.00449v1
RAG-based Explainable Prediction of Road Users Behaviors for Automated Driving using Knowledge Graphs and Large Language Models
2024-05-01T11:06:31
2024-05-01T11:06:31
Mohamed Manzour Hussien, Angie Nataly Melo, Augusto Luis Ballardini, Carlota Salinas Maldonado, Rubén Izquierdo, Miguel Ángel Sotelo
cs.LG
cs.LG, cs.AI, cs.CL, cs.IR, cs.NE
Prediction of road users' behaviors in the context of autonomous driving has gained considerable attention by the scientific community in the last years. Most works focus on predicting behaviors based on kinematic information alone, a simplification of the reality since road users are humans, and as such they are highly influenced by their surrounding context. In addition, a large plethora of research works rely on powerful Deep Learning techniques, which exhibit high performance metrics in prediction tasks but may lack the ability to fully understand and exploit the contextual semantic information contained in the road scene, not to mention their inability to provide explainable predictions that can be understood by humans. In this work, we propose an explainable road users' behavior prediction system that integrates the reasoning abilities of Knowledge Graphs (KG) and the expressiveness capabilities of Large Language Models (LLM) by using Retrieval Augmented Generation (RAG) techniques. For that purpose, Knowledge Graph Embeddings (KGE) and Bayesian inference are combined to allow the deployment of a fully inductive reasoning system that enables the issuing of predictions that rely on legacy information contained in the graph as well as on current evidence gathered in real time by onboard sensors. Two use cases have been implemented following the proposed approach: 1) Prediction of pedestrians' crossing actions; 2) Prediction of lane change maneuvers. In both cases, the performance attained surpasses the current state of the art in terms of anticipation and F1-score, showing a promising avenue for future research in this field.
[ -0.5207234621047974, -0.843358039855957, 1.0719282627105713, 0.06570753455162048, -0.14511284232139587, -0.01171772088855505, -0.024453055113554, -0.6595779657363892, 0.2540760934352875, 0.5057120323181152, -0.6860851645469666, -0.2423323392868042, -0.40675950050354004, -0.22100326418876648, -0.48551997542381287, 0.6351538300514221, -0.12222348153591156, -0.08970587700605392, -0.39917898178100586, -0.013345710933208466, -0.5040906071662903, -0.1739410161972046, -0.3501216769218445, -0.4505825340747833, 0.7062028646469116, 0.16549836099147797, 0.7412228584289551, 0.45962202548980713, 0.2006344050168991, 0.3479171693325043, 0.1032327339053154, 0.26936662197113037, -0.023729536682367325, 0.14315448701381683, -0.31547701358795166, 0.23479020595550537, -0.38117897510528564, -0.20800328254699707, 0.5534378886222839, 0.8487871885299683, -0.08223102986812592, -0.2993883192539215, -0.04963941127061844, 0.5350496172904968, -0.6888742446899414, 0.24530243873596191, -0.441186785697937, -0.2787438631057739, -0.07817631214857101, -0.27298808097839355, -0.2634866535663605, -0.26354271173477173, 0.14552326500415802, -0.6812291741371155, -0.14828304946422577, 0.0731215849518776, 0.43122929334640503, 0.3075312674045563, -0.607204794883728, -0.4199952781200409, -0.8141958117485046, 0.5152372717857361, -0.6157787442207336, 0.5252615809440613, 0.4634271562099457, 0.6522769927978516, -0.40103504061698914, -0.29880020022392273, -0.8939399123191833, -0.22516408562660217, -0.339349627494812, 0.30648380517959595, 0.0382261723279953, 0.06124507635831833, 0.15304824709892273, -0.251926988363266, -0.718536913394928, 0.2113960087299347, -0.08367829769849777, 0.04630096256732941, 0.8773134350776672, 0.4659446179866791, -0.018275989219546318, -0.06036582216620445, -0.5689502954483032, 0.04145750403404236, -0.47660917043685913, 0.4245237708091736, 0.10333342105150223, 0.16088169813156128, -0.1370595246553421, 0.45099297165870667, -0.5562880635261536, 0.8658463358879089, 0.03455216437578201, -0.15858317911624908, 0.44940996170043945, 0.03814549371600151, -0.2011840045452118, -0.15576781332492828, 0.9186469316482544, 0.48157966136932373, 0.46128979325294495, -0.5560882091522217, -0.19798393547534943, -0.01763879880309105, 0.09269607067108154, -0.6038976907730103, -0.11460195481777191, 0.08025071024894714, -0.2067221850156784, -0.32992419600486755, 0.2517401874065399, -1.0350794792175293, -0.7640191316604614, -0.5841955542564392, 0.31273433566093445, -0.490692138671875, -0.48426297307014465, 0.08646799623966217, 0.0584382563829422, 0.38233762979507446, 0.7266188859939575, -0.6972300410270691, 0.2281208038330078, 0.5006307363510132, 0.5313698053359985, -0.3500056862831116, -0.3823513388633728, -0.3689221441745758, 0.47395193576812744, -0.0542333647608757, 0.9732398986816406, -0.47464945912361145, -0.29566729068756104, -0.10243569314479828, 0.02535872533917427, -0.0966407060623169, -0.23311682045459747, 0.44294679164886475, -0.6201851963996887, -0.14071214199066162, 0.0754057765007019, -0.5288119316101074, -0.5999289155006409, 0.08018168061971664, -0.5654312968254089, 0.6357755064964294, 0.16456057131290436, -0.6270018219947815, 0.2645704448223114, -0.7150229215621948, -0.9089732766151428, 0.12709376215934753, 0.014832152053713799, -0.49668481945991516, -0.039436835795640945, 0.3316570222377777, 0.5652133226394653, -0.15356899797916412, 0.6216009259223938, -0.4270738959312439, -0.12922343611717224, 0.6130886673927307, -0.3079415261745453, 0.7741583585739136, 0.12320327758789062, -0.26896682381629944, 0.23703612387180328, -0.5159692168235779, -0.09120166301727295, 0.02403111383318901, -0.10110500454902649, -0.28317537903785706, 0.11638179421424866, -0.11532097309827805, 0.3370242714881897, 0.1394510567188263, -0.496233731508255, -0.17555153369903564, -0.36883753538131714, -0.06164681911468506, 1.084885597229004, 0.014303205534815788, 0.48607125878334045, -0.26261386275291443, 0.7055689096450806, 0.14255186915397644, 0.020352039486169815, 0.02200113609433174, -0.7449116110801697, -0.42563289403915405, 0.28701087832450867, 0.07827620208263397, 0.5844864845275879, -0.6840817332267761, 0.22632063925266266, -0.3769165277481079, -0.49284303188323975, -0.258620947599411, 0.05957205221056938, 0.2860216200351715, 0.7399677634239197, 0.23563730716705322, 0.005638131406158209, -0.3192311227321625, -0.33387038111686707, -0.3327407240867615, -0.3228718340396881, -0.015610998496413231, 0.6426822543144226, 0.3987267315387726, -0.4128704369068146, 1.1119883060455322, -0.4887290298938751, 0.01882409304380417, -0.42657867074012756, 0.21579399704933167, -0.09686766564846039, 0.429329514503479, 0.2902367115020752, -1.0723462104797363, -0.3523305356502533, 0.125740185379982, -0.5910691022872925, -0.09219364076852798, -0.15929122269153595, -0.09690772742033005, 0.2694331705570221, 0.522901177406311, -0.4967990517616272, 0.7334463596343994, 0.5773728489875793, -0.8060464262962341, 0.5667549967765808, -0.2582376003265381, -0.061853472143411636, -0.7193071246147156, -0.06767354905605316, 0.14919045567512512, -0.5343025326728821, -0.6123325228691101, -0.28968003392219543, -0.15436868369579315, 0.10563631355762482, 0.01777256466448307, 0.7280242443084717, -0.04702024906873703, -0.5251581072807312, -0.3433557152748108, 0.19630242884159088, -0.29359397292137146, 0.4171472489833832, 0.1516663283109665, 0.47862327098846436, 0.5157880187034607, -0.8324962854385376, 0.2115619033575058, 0.013503863476216793, -0.540690541267395, 0.2699851989746094, -0.39865225553512573, -0.2573840320110321, -0.36311572790145874, 0.23795224726200104, -1.0137357711791992, -0.5043781399726868, 0.07715241611003876, -0.9075653553009033, 0.0799255520105362, -0.14017677307128906, -0.47414615750312805, -0.22846728563308716, 0.41462036967277527, 0.21576228737831116, 0.7183718681335449, -0.45843037962913513, 0.981275200843811, 0.8468040823936462, -0.03395312279462814, -0.11531875282526016, -0.37564417719841003, -0.04713795706629753, -0.4821794927120209, -0.7800872325897217, 0.23574139177799225, -0.1150878295302391, -0.3097850978374481, 0.029485609382390976, 0.20645318925380707, -0.23915371298789978, 0.4597419500350952, 0.640206515789032, 0.4065459370613098, 0.13804946839809418, 0.251071035861969, -0.058794084936380386, -0.4606519639492035, 0.3226695954799652, -0.08781622350215912, 0.4007267355918884, 0.05262429639697075, -0.05974751338362694, -0.4902360439300537, 0.07690095156431198, 0.6267525553703308, -0.35303938388824463, 0.4603177309036255, 0.8562038540840149, -0.1516176462173462, -0.03787236288189888, -0.1987147480249405, -0.20766502618789673, -0.49373772740364075, 0.1652863472700119, -0.36110764741897583, -0.7800418734550476, 0.3531194031238556, -0.48051032423973083, -0.27005141973495483, 0.36820465326309204, 0.538655161857605, -0.7048582434654236, 1.404990315437317, 0.4687829315662384, 0.13508100807666779, 0.4074315130710602, 0.002278763335198164, 0.14368347823619843, -0.6010740995407104, -0.46004727482795715, -0.1345600187778473, -0.26622822880744934, -1.03655207157135, -0.4258464276790619, 0.6032872796058655, -0.22337263822555542, -0.3306533992290497, 0.0762891173362732, -0.045970555394887924, 0.22461114823818207, 0.3816046416759491, 0.09852536022663116, 0.1688554584980011, -0.13459770381450653, -0.009773935191333294, 0.357250839471817, -0.5328329801559448, -0.11068544536828995, 0.8439626097679138, 0.20256495475769043, 0.8810584545135498, 0.15674066543579102, 0.38729244470596313, 0.25559574365615845, 0.3026868402957916, -0.8082959651947021, 0.6978502869606018, -0.14288555085659027, -0.31039515137672424, -0.41463786363601685, -0.8277668952941895, -1.1220612525939941, -0.05238119512796402, -0.4059962034225464, -0.758777916431427, -0.09730258584022522, 0.21378251910209656, -0.29823678731918335, 0.22956065833568573, -0.24296900629997253, 0.9499632120132446, -0.5492345690727234, -0.2625414729118347, -0.3556996285915375, -0.8249501585960388, 0.23993262648582458, 0.20238161087036133, 0.6757080554962158, -0.31114256381988525, 0.20645229518413544, 0.6508508920669556, -0.18591143190860748, 0.7874559760093689, -0.6626224517822266, 0.1891952008008957, 0.15089015662670135, 0.1315370500087738, 0.6582820415496826, -0.25522512197494507, -0.011055677197873592, -0.071662038564682, -0.4536982476711273, 0.07874283194541931, -0.9405207633972168, 0.5907585024833679, -0.4651246666908264, -0.35899293422698975, -0.11979172378778458, -0.7697391510009766, -0.3976909816265106, 0.10598581284284592, -0.00478519918397069, 0.5258384943008423, 0.20663200318813324, -0.29102709889411926, 0.5357248783111572, -0.18785177171230316, 0.22962884604930878, 0.5990809798240662, -0.5449265241622925, -0.20110361278057098, 1.0641610622406006, -0.033992186188697815, 0.09450701624155045, 0.3689603805541992, 0.6198951601982117, -0.5269120931625366, -0.5346174836158752, -0.5416887998580933, 0.2613650858402252, -0.4274229109287262, 0.012411476112902164, -0.6016026139259338, 0.082746222615242, -0.5174770355224609, -0.2864131033420563, -0.06298612058162689, -0.599747896194458, 0.03800635039806366, -0.08303292840719223, 0.40046611428260803, 1.0840034484863281, -0.1576271802186966, 0.5332548022270203, -0.2822589874267578, 0.44456422328948975, 0.45070481300354004, 0.44946199655532837, 0.07562414556741714, -0.3893321454524994, -0.3756994903087616, -0.07779916375875473, -0.12564076483249664, -0.7682434320449829, 0.400656521320343, -0.3335551619529724, 0.6212472915649414, 0.4554003179073334, 0.23762664198875427, 0.5767602920532227, -0.21022236347198486, 0.17887695133686066, 0.2185206562280655, -0.5234432220458984, 0.5567643046379089, -0.4324319362640381, 0.10274963825941086, 0.31025034189224243, 0.35373634099960327, -0.3391563594341278, -0.4409831166267395, -0.44748544692993164, -0.7966145277023315, 0.45863449573516846, 0.16374795138835907, -0.2729392349720001, 0.2867985665798187, 0.17732080817222595, 0.16463495790958405, -0.07815486937761307, -0.6329352259635925, -0.04587901756167412, -0.10265517979860306, -0.4047980308532715, -0.2605520188808441, -0.07678753137588501, 0.36966443061828613, -0.5110515356063843, 0.5778682827949524, -0.21993882954120636, 0.18038566410541534, -0.020608488470315933, -0.02114996500313282, -0.1057484969496727, 0.056927889585494995, 0.48981136083602905, 0.7954197525978088, -0.3465591073036194, 0.17241805791854858, 0.026116712018847466, -0.18088507652282715, 0.056827958673238754, 0.1582254022359848, -0.46148720383644104, -0.05339999869465828, 0.10210268199443817, 0.6131606698036194, 0.05463194102048874, -0.9024336934089661, 0.474905401468277, 0.09673760086297989, 0.05556609854102135, -0.9478352069854736, 0.2094772756099701, 0.023985812440514565, 0.28077903389930725, 0.10844672471284866, 0.1185675784945488, 0.32341909408569336, -0.30096057057380676, 0.0512324795126915, 0.45183509588241577, -0.7644702196121216, -0.3237106204032898, 0.6959220767021179, 0.15236935019493103, -0.016384316608309746, 0.29698625206947327, -0.47513657808303833, -0.6551348567008972, 0.5857545137405396, 0.2619156539440155, 0.8567366600036621, -0.32051101326942444, 0.17254377901554108, 0.5614725351333618, -0.000021532041500904597, 0.14376898109912872, 0.05012194439768791, -0.10078231990337372, -0.950480043888092, -0.5427677035331726, -0.7148858308792114, -0.31248918175697327, -0.06776104867458344, -0.46987229585647583, 0.007285646162927151, -0.29035329818725586, -0.0691724643111229, 0.14629271626472473, -0.22020602226257324, -0.4994640648365021, 0.39321431517601013, 0.16620756685733795, 0.792628288269043, -0.8427985310554504, 0.8020904064178467, 0.7678159475326538, -0.23730197548866272, -0.5527768731117249, 0.22689490020275116, 0.011323717422783375, -0.6549995541572571, 0.6874346733093262, 0.36522164940834045, -0.35832110047340393, -0.13093198835849762, -0.2879689931869507, -0.6654253602027893, 1.1528431177139282, 0.07699716091156006, -0.20466852188110352, -0.14516949653625488, 0.15316101908683777, 0.14031171798706055, -0.4683360159397125, -0.07185464352369308, 0.5993393063545227, 0.7550843358039856, 0.3459767699241638, -0.6211963295936584, 0.13702857494354248, 0.08199512958526611, -0.012826086953282356, 0.22294501960277557, -0.16224974393844604, 0.7824281454086304, -0.3397926688194275, -0.08565211296081543, 0.19563326239585876, 0.6382878422737122, 0.37101611495018005, 0.7518704533576965, 0.9776777625083923, 0.6572616696357727, 0.6784437894821167, 0.07004304230213165, 1.2336969375610352, -0.0904368981719017, 0.07606802880764008, 1.1357570886611938, -0.09142381697893143, 0.6448464393615723, 0.3436688482761383, -0.10434279590845108, 0.9761740565299988, 0.254056841135025, 0.31974703073501587, 0.7466672658920288, -0.04301372542977333, -0.2732487618923187, -0.7174108028411865, -0.019962824881076813, 0.22219400107860565, 0.9192519783973694, 0.5167083740234375, -0.2533766031265259, -0.1856876015663147, 0.02068309113383293, -0.12917013466358185, 0.051766928285360336, -0.5239664912223816, 1.1089985370635986, -0.33874139189720154, -0.8522053360939026, 0.041644688695669174, -0.005281229503452778, 0.3256760239601135, -0.3986961543560028, -0.21851249039173126, 0.17942847311496735, 0.2449883073568344, -0.1637500375509262, -1.3453444242477417, 0.2659273147583008, -0.15371325612068176, -0.1484304517507553, -0.42119231820106506, 0.8871184587478638, -0.31924834847450256, -0.5933597683906555, 0.42659828066825867, 0.4609583616256714, 0.25174757838249207, 0.01820969767868519, -0.40904831886291504, -0.2829768657684326, 0.08686628192663193, -0.09821488708257675, 0.3245905637741089, 0.5915889739990234, -0.12727616727352142, 0.997331976890564, 0.5936211943626404, -0.0017386568943038583, -0.1478203684091568, -0.251290887594223, 1.0034505128860474, -0.7599427700042725, -0.5756664872169495, -0.8067907094955444, 0.7779242396354675, 0.04312087967991829, -0.04208485782146454, 0.6458965539932251, 0.37085604667663574, 0.44629642367362976, 0.23266196250915527, 1.0286287069320679, -0.11061467230319977, 0.9083289504051208, -0.6607824563980103, 0.5233141183853149, -0.5660408139228821, 0.12107521295547485, -0.23293811082839966, -0.3280419409275055, 0.12059148401021957, 0.8274987936019897, -0.46914878487586975, 0.2951091229915619, 0.026241669431328773, 0.5953786969184875, -0.2927194833755493, -0.08753444254398346, 0.27780723571777344, 0.3276982009410858, 0.2667730450630188, 0.5901842713356018, 0.7991394400596619, 0.23056748509407043, 0.40932321548461914, -0.4731909930706024, -0.34298253059387207, -0.5508890151977539, -0.7690210938453674, -0.5932691097259521, -0.7323644161224365, 0.019236672669649124, -0.2518788278102875, -0.11352937668561935, 0.34285768866539, 0.6333462595939636, -0.6010990142822266, -0.288320928812027, -0.47147297859191895, 0.40914320945739746, -0.04314061999320984, -0.31601086258888245, 0.23827020823955536, -0.30582624673843384, -0.25568607449531555, 0.4198760986328125, 0.22150833904743195, 0.22418683767318726, -0.4192237854003906, -0.5960395932197571, -0.02850158140063286, -0.21040089428424835, 0.53925621509552, 0.2401992827653885, -0.6106532216072083, -0.14273197948932648, -0.16923631727695465, 0.09515919536352158, -0.2675403952598572, 0.7363452911376953, -1.3425863981246948, 0.48456963896751404, 0.4023137390613556, 0.3619067370891571, 0.677475094795227, 0.2536962926387787, 0.7355468273162842, -0.2340897023677826, -0.05702032148838043, 0.31845757365226746, 0.33605653047561646, 0.28643348813056946, -0.1928112655878067, 0.5959933400154114, 0.14532774686813354, -0.6734858155250549, -0.3629337549209595, 0.4684460461139679, -1.0781545639038086, -0.48455777764320374, 1.1207789182662964, -0.18068283796310425, -0.34119921922683716, -0.4247680902481079, 0.14364711940288544, 0.20682744681835175, -0.40939396619796753, 0.7947008609771729, -0.014191627502441406, -0.49006521701812744, -0.3839094340801239, -0.7287493348121643, 0.48829880356788635, 0.09646719694137573, -0.9203215837478638, 0.41620779037475586, 0.6814406514167786, 0.05499260500073433, -0.09664055705070496, 0.3993281126022339, 0.29228007793426514, 0.5468282699584961, -0.4395756721496582, -0.2924635410308838, -0.25802159309387207, -0.4445194602012634, 0.07195594161748886, -0.0797877162694931, -0.06969798356294632, 0.2635601758956909 ]
http://arxiv.org/abs/2405.00438v1
http://arxiv.org/pdf/2405.00438v1
MetaRM: Shifted Distributions Alignment via Meta-Learning
2024-05-01T10:43:55
2024-05-01T10:43:55
Shihan Dou, Yan Liu, Enyu Zhou, Tianlong Li, Haoxiang Jia, Limao Xiong, Xin Zhao, Junjie Ye, Rui Zheng, Tao Gui, Qi Zhang, Xuanjing Huang
cs.LG
cs.LG, cs.CL
The success of Reinforcement Learning from Human Feedback (RLHF) in language model alignment is critically dependent on the capability of the reward model (RM). However, as the training process progresses, the output distribution of the policy model shifts, leading to the RM's reduced ability to distinguish between responses. This issue is further compounded when the RM, trained on a specific data distribution, struggles to generalize to examples outside of that distribution. These two issues can be united as a challenge posed by the shifted distribution of the environment. To surmount this challenge, we introduce MetaRM, a method leveraging meta-learning to align the RM with the shifted environment distribution. MetaRM is designed to train the RM by minimizing data loss, particularly for data that can improve the differentiation ability to examples of the shifted target distribution. Extensive experiments demonstrate that MetaRM significantly improves the RM's distinguishing ability in iterative RLHF optimization, and also provides the capacity to identify subtle differences in out-of-distribution samples.
[ -0.2660904824733734, -0.3051656186580658, 0.24933329224586487, -0.09558431059122086, -0.13532482087612152, -0.030398709699511528, -0.28843000531196594, 0.013160043396055698, 0.09485256671905518, 0.43240517377853394, -1.0302038192749023, -0.36310476064682007, -0.6372354030609131, -0.058590251952409744, 0.060787830501794815, 1.2001214027404785, -0.06767961382865906, -0.034806035459041595, -0.3007873296737671, -0.31145408749580383, -0.3965757489204407, -0.3656264543533325, -0.33499106764793396, -0.7512111663818359, 0.7306829690933228, 0.4628535509109497, 0.7508631944656372, 1.0246844291687012, 0.7707265615463257, 0.21703524887561798, 0.20588113367557526, 0.015429344028234482, -0.5675909519195557, 0.20626115798950195, -0.4516938030719757, -0.1896158903837204, -0.07209429889917374, 0.06995543092489243, 0.6875430941581726, 0.5092687010765076, -0.627506673336029, 0.3335684537887573, 0.176338329911232, 0.8448425531387329, -1.1526451110839844, 0.1359080970287323, -0.31816115975379944, 0.15488967299461365, -0.19416360557079315, -0.2946711480617523, -0.5135238170623779, -0.3601800501346588, 0.07492675632238388, -0.5478950142860413, 0.11027154326438904, -0.07121102511882782, 0.7133535146713257, 0.6908116340637207, -0.5116512775421143, -0.15335360169410706, -1.0507197380065918, 0.885292112827301, -0.32636111974716187, 0.6005797982215881, 0.277031272649765, 0.6237168312072754, 0.05508992820978165, -0.3592189848423004, -0.3071646988391876, 0.07883427292108536, -0.023555323481559753, 0.08133102208375931, 0.1533389836549759, -0.1500878483057022, 0.054363004863262177, 0.007722567766904831, -0.4595796465873718, -0.046673718839883804, -0.3192071318626404, -0.27575385570526123, 0.6440081000328064, 0.4380577504634857, 0.17469522356987, -0.04906005039811134, -0.28602591156959534, -1.0014411211013794, -0.6425641775131226, 0.08330168575048447, 0.46262070536613464, 0.44549083709716797, 0.15000154078006744, 0.3767370879650116, 0.08520179986953735, 0.6574715375900269, -0.021058857440948486, -0.35239946842193604, 0.43582800030708313, 0.0665656328201294, -0.25549355149269104, 0.10021353513002396, 0.7279221415519714, 0.2752123475074768, -0.3281533122062683, 0.10974471271038055, -0.3493518531322479, -0.12968246638774872, 0.4266972839832306, -0.5642616152763367, -0.2897520661354065, -0.18806937336921692, -0.5916720032691956, -0.3567356467247009, 0.37988218665122986, -0.8799386620521545, -0.4456040859222412, -0.22088995575904846, 0.407843679189682, -0.13296739757061005, -0.594214677810669, 0.052669018507003784, -0.3009624481201172, 0.2596881687641144, -0.00924480240792036, -1.2758647203445435, 0.25195786356925964, 0.7546390295028687, 0.48685476183891296, -0.3052087128162384, -0.3299800455570221, -0.7121517658233643, 0.43692925572395325, -0.17654122412204742, 0.6288450956344604, -0.8013585805892944, -0.30073854327201843, 0.033268481492996216, 0.031464215368032455, -0.44735187292099, -0.8251743912696838, 0.5628674626350403, -0.48109349608421326, 0.3250129520893097, -0.4607395529747009, -0.2580810785293579, -0.1666327565908432, 0.3961867690086365, -0.728752076625824, 1.0905441045761108, 0.3933514952659607, -0.9152974486351013, 0.4178762435913086, -0.7778552770614624, -0.26009538769721985, -0.2047284096479416, 0.011672167107462883, -0.6449644565582275, -0.022236565127968788, 0.012472888454794884, 0.056165970861911774, 0.013315117917954922, 0.10428198426961899, -0.4628225266933441, -0.14692825078964233, 0.33890214562416077, -0.3050563633441925, 0.47443801164627075, 0.35448551177978516, -0.39367368817329407, 0.19768324494361877, -0.5663918256759644, 0.085472971200943, -0.021452827379107475, -0.5710620284080505, -0.48528701066970825, 0.2534276247024536, -0.01177322119474411, 0.34643301367759705, -0.134616881608963, -0.20120906829833984, 0.40024152398109436, -0.18731838464736938, 0.38950610160827637, 0.8206803798675537, -0.17547564208507538, 0.8888300657272339, -0.2694246172904968, 0.8617996573448181, 0.0388762541115284, 0.24486719071865082, 0.29618775844573975, 0.05688159912824631, -0.30961719155311584, -0.3270769715309143, 0.5348269939422607, 0.8120020031929016, -0.5696976780891418, 0.3661847710609436, -0.2779320180416107, -0.22733278572559357, -0.7269064784049988, 0.15577679872512817, 0.3510444164276123, 0.6305704712867737, 0.4328240752220154, -0.10386635363101959, -0.49681586027145386, -0.8491896390914917, -0.36656755208969116, -0.04543190449476242, 0.09854938834905624, 0.22887977957725525, 0.2957794666290283, -0.7890053391456604, 0.9529494047164917, -0.7021964192390442, -0.14808432757854462, -0.2771502435207367, 0.38039225339889526, -0.09282413125038147, 0.48009631037712097, 0.23734433948993683, -0.7612282633781433, -0.341493159532547, -0.08973145484924316, -0.4569019675254822, -0.3544672727584839, -0.03648531064391136, -0.44959551095962524, 0.012493523769080639, 0.5409643054008484, -0.3725978136062622, 0.26461005210876465, 0.6607229113578796, -0.18435928225517273, 0.38217225670814514, -0.1770310401916504, -0.09640008956193924, -0.8970322608947754, 0.15127375721931458, -0.3705228865146637, -0.380783349275589, -0.31348392367362976, -0.0012660172069445252, 0.24730733036994934, -0.03428639471530914, -0.2997860312461853, 0.6828770041465759, -0.29139408469200134, -0.24171903729438782, -0.3320178985595703, -0.25780099630355835, -0.297209233045578, 0.40001264214515686, 0.36104774475097656, 0.5398646593093872, 0.27580416202545166, -0.9357529282569885, 0.29840219020843506, 0.4060617983341217, -0.12146187573671341, 0.6873083114624023, -0.32872703671455383, 0.0472879596054554, -0.13189361989498138, 0.3457445204257965, -0.7994092702865601, -0.24583618342876434, 0.6828420758247375, -0.1437336951494217, 0.25782904028892517, 0.04843013361096382, -0.12893903255462646, -0.28651347756385803, -0.25673696398735046, 0.6318908929824829, 0.543067216873169, -0.6647653579711914, 0.6142745018005371, 0.20152729749679565, 0.0406438447535038, -1.0176715850830078, -0.5178349614143372, -0.4629383385181427, -0.5187591910362244, -0.19766449928283691, 0.3727168142795563, -0.044945601373910904, -0.1967434585094452, 0.14748868346214294, -0.14722990989685059, 0.23993700742721558, 0.19556425511837006, 0.24724797904491425, -0.08279512077569962, 0.09937363862991333, 0.5457327961921692, 0.04447117820382118, -0.3945713937282562, 0.1839328557252884, -0.23464913666248322, 0.48810088634490967, 0.1935795247554779, -0.4608684778213501, -0.18282833695411682, 0.13080832362174988, 0.31003767251968384, -0.22012346982955933, 0.8593559265136719, 0.7414873838424683, -0.09998378157615662, -0.2399713695049286, -0.04873037710785866, -0.39057883620262146, -0.49727845191955566, 0.3227770924568176, -0.10608985275030136, -0.45969539880752563, 0.2497478723526001, -0.20605696737766266, 0.1476605087518692, 0.5215539932250977, 0.4459644556045532, -0.10955040156841278, 1.1759148836135864, 0.8559001684188843, -0.08344458788633347, 0.9202455282211304, -0.04600545018911362, -0.0857522189617157, -0.9839047789573669, -0.3663097321987152, -0.30314901471138, -0.7581140995025635, -0.40744519233703613, -0.26752540469169617, 0.4061008095741272, -0.13893115520477295, -0.4758475124835968, 0.21883568167686462, -0.507885217666626, 0.46711429953575134, 0.7213072776794434, 0.26361045241355896, -0.013968869112432003, -0.1776941567659378, -0.1966378539800644, -0.1871725469827652, -0.7423575520515442, -0.3169364333152771, 1.009537696838379, 0.25248441100120544, 0.9508704543113708, 0.20430269837379456, 0.9223131537437439, 0.45774027705192566, 0.5885475277900696, -0.43279704451560974, 0.350914865732193, 0.25261375308036804, -0.4149307906627655, -0.5044306516647339, -0.7881969809532166, -1.0638318061828613, 0.23860014975070953, -0.39624735713005066, -0.15572479367256165, 0.12298747152090073, 0.316098153591156, -0.24397867918014526, 0.2643435001373291, -0.5026316046714783, 1.0661766529083252, -0.29034319519996643, -0.06842149049043655, -0.22578437626361847, -0.9075547456741333, 0.36195793747901917, 0.210149884223938, 0.3080044090747833, -0.10281882435083389, -0.0015426587779074907, 0.8033431172370911, -0.4965980350971222, 0.6248835921287537, -0.2737143635749817, -0.13653559982776642, 0.09717880189418793, 0.26639634370803833, 0.614505410194397, -0.07613125443458557, 0.06871497631072998, -0.49722379446029663, -0.05062579736113548, -0.384113609790802, -0.7342295050621033, 0.21542851626873016, -0.9055629968643188, -0.3929637670516968, -0.4026426672935486, -0.7448368668556213, -0.07052876055240631, 0.01815611682832241, 0.37097758054733276, 0.11548402160406113, -0.42753100395202637, 0.03652647137641907, 0.7571941614151001, -0.2647596597671509, 0.43859440088272095, 0.45490697026252747, -0.2376902997493744, -0.6416202187538147, 0.8754459619522095, -0.2333287000656128, 0.47233232855796814, 0.6676693558692932, 0.4620230197906494, -0.6648977398872375, 0.06037217006087303, -0.32756516337394714, 0.24498003721237183, -0.9163246154785156, -0.30745187401771545, -0.46447473764419556, -0.087819904088974, -0.36720365285873413, -0.07028144598007202, -0.3037961423397064, -0.2422260046005249, -0.358319491147995, -0.23957669734954834, 0.015823256224393845, 0.7188367247581482, -0.457931786775589, 0.41306912899017334, -0.8075700998306274, -0.005418422631919384, 0.6626622080802917, 0.17598585784435272, -0.25681769847869873, -0.6390203237533569, -0.19032615423202515, 0.3373757600784302, -0.5161437392234802, -1.0156660079956055, 0.46562817692756653, 0.23115435242652893, 0.5428212285041809, 0.6277152895927429, 0.16683745384216309, 0.631117582321167, -0.3652079701423645, 0.33425384759902954, 0.21806420385837555, -0.9217135906219482, 0.32534244656562805, -0.28397056460380554, 0.25310078263282776, 0.6021417379379272, 0.25648823380470276, -0.8316632509231567, -0.1160673275589943, -0.8146798610687256, -0.4466520845890045, 0.6879833340644836, -0.24926884472370148, 0.06822020560503006, 0.044699471443891525, 0.24952499568462372, 0.1624581515789032, 0.2808178663253784, -0.9750215411186218, -0.03641239181160927, -0.2902436852455139, -0.4543260931968689, -0.2541508376598358, -0.08592518419027328, -0.4150749444961548, -0.3055856227874756, 0.5764945149421692, -0.20307207107543945, 0.3363328278064728, -0.1351204663515091, -0.37610888481140137, -0.3349018394947052, 0.3329240679740906, 1.0832971334457397, 0.6596370339393616, -0.2572142481803894, 0.5333721041679382, 0.08678897470235825, -0.3440823554992676, 0.4249102771282196, -0.17911583185195923, 0.05020405724644661, -0.1800922006368637, 0.30140483379364014, 0.8799635171890259, 0.3266550898551941, -0.6881872415542603, 0.5305987000465393, 0.15503111481666565, -0.4632502794265747, 0.14220105111598969, 0.2721782624721527, 0.1469525396823883, 0.3986528217792511, 0.24183803796768188, 0.09116658568382263, -0.06292187422513962, -0.5654193758964539, 0.32648932933807373, 0.5848249793052673, -0.42669248580932617, -0.2775292694568634, 0.6476554274559021, 0.16757161915302277, -0.4624224603176117, 1.0268439054489136, -0.3105737268924713, -0.7599073052406311, 0.5181077122688293, 0.752566397190094, 0.8932679891586304, -0.5234237313270569, 0.6117043495178223, 0.4334750175476074, 0.2371360957622528, -0.49779000878334045, 0.03796286880970001, -0.1510826200246811, -0.8323979377746582, -0.0004335733538027853, -0.21808196604251862, -0.525060772895813, -0.2465960532426834, -1.0620436668395996, 0.25265419483184814, -0.43423643708229065, -0.09061114490032196, -0.49430057406425476, -0.38256916403770447, -0.5756435990333557, -0.020544622093439102, 0.3038312494754791, 0.5519983768463135, -1.3089252710342407, 0.5802764892578125, 0.5914803743362427, -0.05818602442741394, -0.6745437979698181, -0.005259428173303604, -0.02478855475783348, -0.9251296520233154, 0.8452650308609009, -0.01604515127837658, -0.08307970315217972, -0.09452933818101883, -0.6021963953971863, -0.9693480134010315, 1.3025825023651123, 0.4974934160709381, -0.44264066219329834, 0.26857122778892517, 0.14130856096744537, 0.36196717619895935, -0.42796245217323303, 0.35967060923576355, 0.4591812491416931, 0.5781310796737671, 0.13952375948429108, -0.6580632925033569, -0.05362677574157715, 0.2098444700241089, -0.16535411775112152, 0.7942155003547668, -0.4850441515445709, 0.8324840664863586, -0.2719227969646454, -0.37640076875686646, -0.6239134073257446, 0.5654777884483337, 0.4727459251880646, 0.30211809277534485, 0.6512471437454224, 0.8568275570869446, 0.9498887658119202, -0.008013165555894375, 0.8639031052589417, 0.12403162568807602, 0.6671133041381836, 0.9783479571342468, -0.3653647303581238, 1.0024465322494507, 0.4399310052394867, -0.08877775818109512, 0.9634792804718018, 0.9805005788803101, 0.23565365374088287, 1.11391019821167, 0.22129210829734802, -0.13601332902908325, -0.3673531711101532, 0.2743106782436371, -0.49749964475631714, 0.00873844139277935, 0.20901648700237274, -0.4091995358467102, -0.4543142318725586, 0.22990991175174713, -0.24431514739990234, -0.014164182357490063, -0.3158482313156128, 0.8711829781532288, -0.15485742688179016, -0.7375278472900391, 0.5618510246276855, 0.07353738695383072, 0.4023028612136841, -0.491275817155838, -0.014332609251141548, -0.23564974963665009, 0.44831329584121704, -0.26765769720077515, -0.4626317024230957, 0.5325614213943481, -0.5458921790122986, -0.38933655619621277, -0.6018856763839722, 0.5142039060592651, -0.7508227229118347, -0.2418496459722519, 0.15433716773986816, 0.3504534363746643, -0.07514236122369766, 0.12668688595294952, -0.9018818140029907, -0.014127826318144798, -0.07687179744243622, -0.11258360743522644, 0.4165060818195343, 0.41481292247772217, -0.004343291278928518, 0.7480372786521912, 0.41834813356399536, -0.21144235134124756, 0.09984105080366135, -0.2704980969429016, 0.5300551652908325, -0.7485732436180115, -0.6853605508804321, -1.1623432636260986, 0.2141684591770172, 0.11997882276773453, -0.24089141190052032, 0.4003084897994995, 0.32252204418182373, 0.6578516960144043, -0.39350762963294983, 0.6894350647926331, 0.011942032724618912, 0.581501841545105, -0.5140194892883301, 0.1757824569940567, -0.43664851784706116, 0.09603236615657806, -0.22183364629745483, -1.1695475578308105, -0.1804366260766983, 0.7002670764923096, -0.5236830711364746, -0.01782076619565487, 0.9232665300369263, 0.6544868350028992, -0.3044518828392029, -0.4831882417201996, 0.032656896859407425, -0.46193841099739075, 0.27206772565841675, 0.8063908815383911, 0.9911618232727051, -0.1963377594947815, 0.6708970665931702, 0.08352083712816238, 0.06904621422290802, -0.5183551907539368, -1.0987600088119507, -0.7189854383468628, -0.5390312075614929, -0.39236971735954285, -0.4099312722682953, -0.07137833535671234, 1.2252440452575684, 0.870513379573822, -0.6610878109931946, -0.26768264174461365, -0.18837685883045197, 0.5884760022163391, -0.8545913100242615, -0.2330579161643982, 0.1870744526386261, -0.37075918912887573, -0.39495551586151123, 0.09243927896022797, 0.18713153898715973, 0.0825512632727623, -0.22407600283622742, -0.5597354173660278, -0.0332086943089962, -0.03941607475280762, 0.0924716517329216, 0.6548938751220703, -0.3681216239929199, -0.30219176411628723, 0.027576560154557228, -0.3607008159160614, 0.07686389982700348, 1.087655782699585, -0.6481851935386658, 0.1578783094882965, 0.675741970539093, 0.9685859680175781, 0.2988983988761902, 0.3886234760284424, 0.7231602668762207, -0.8748524785041809, 0.05552301183342934, 0.133860245347023, 0.0006408917834050953, 0.30100321769714355, -0.30991795659065247, 0.5516630411148071, 0.29915380477905273, -0.7350493669509888, -0.9547293782234192, 0.38378238677978516, -0.6110460758209229, -0.24295896291732788, 1.3489915132522583, 0.34135961532592773, -0.32191407680511475, 0.21948866546154022, -0.07018119841814041, 0.20211204886436462, -0.1926751434803009, 0.9066980481147766, 0.864729642868042, -0.02519860491156578, -0.5641613602638245, -0.29643553495407104, 0.924872636795044, 0.685651957988739, -0.9324617981910706, 0.271698534488678, 0.27678775787353516, 0.5770484209060669, 0.021250039339065552, 0.5247336626052856, 0.17886213958263397, 0.1861000955104828, -0.47062787413597107, 0.2568981945514679, 0.12393371760845184, -0.42618468403816223, -0.5549819469451904, -0.05437016487121582, -0.023483967408537865, -0.5688361525535583 ]
http://arxiv.org/abs/2405.00402v1
http://arxiv.org/pdf/2405.00402v1
Self-Refine Instruction-Tuning for Aligning Reasoning in Language Models
2024-05-01T09:10:27
2024-05-01T09:10:27
Leonardo Ranaldi, Andrè Freitas
cs.CL
cs.CL
The alignments of reasoning abilities between smaller and larger Language Models are largely conducted via Supervised Fine-Tuning (SFT) using demonstrations generated from robust Large Language Models (LLMs). Although these approaches deliver more performant models, they do not show sufficiently strong generalization ability as the training only relies on the provided demonstrations. In this paper, we propose the Self-refine Instruction-tuning method that elicits Smaller Language Models to self-refine their abilities. Our approach is based on a two-stage process, where reasoning abilities are first transferred between LLMs and Small Language Models (SLMs) via Instruction-tuning on demonstrations provided by LLMs, and then the instructed models Self-refine their abilities through preference optimization strategies. In particular, the second phase operates refinement heuristics based on the Direct Preference Optimization algorithm, where the SLMs are elicited to deliver a series of reasoning paths by automatically sampling the generated responses and providing rewards using ground truths from the LLMs. Results obtained on commonsense and math reasoning tasks show that this approach significantly outperforms Instruction-tuning in both in-domain and out-domain scenarios, aligning the reasoning abilities of Smaller and Larger Language Models.
[ -0.2578141987323761, -0.6419100761413574, 0.614327609539032, -0.17701691389083862, -0.23167955875396729, -0.2308070808649063, -0.5410690307617188, 0.10036726295948029, -0.1519402414560318, 0.6890160441398621, -0.8821168541908264, -0.22994987666606903, -0.2890927791595459, -0.04003635421395302, 0.12530696392059326, 0.8130945563316345, 0.05915791541337967, 0.05500687286257744, -0.34591564536094666, 0.052172597497701645, -0.6816625595092773, -0.085020050406456, -0.6215457320213318, -0.5584303736686707, 0.2624237835407257, 0.7779682874679565, 0.5283085703849792, 0.9789292216300964, 0.24083799123764038, 0.3363756835460663, 0.3532008230686188, 0.4776694178581238, -0.5012432336807251, 0.1097555160522461, -0.7442916631698608, -0.36110830307006836, -0.3059631586074829, -0.00019642891129478812, 0.48909899592399597, 0.3526332378387451, -0.20579150319099426, 0.4471922516822815, 0.16649138927459717, 0.8261047005653381, -0.513944149017334, 0.06181522458791733, -0.8634847402572632, -0.17806601524353027, 0.07252221554517746, -0.34630122780799866, -0.519210696220398, -0.2764970362186432, -0.06060156226158142, -0.517208456993103, 0.35189586877822876, 0.15545454621315002, 0.7398825883865356, 0.6773120760917664, -0.1484312117099762, 0.032487452030181885, -0.42688706517219543, 1.044327735900879, -0.9770495295524597, 0.26990652084350586, 0.20926247537136078, 0.3034455478191376, -0.0890544131398201, -0.35255926847457886, -0.24492257833480835, -0.20579853653907776, -0.2680841088294983, -0.13557350635528564, 0.04867523908615112, -0.014666784554719925, 0.38249683380126953, 0.07022280246019363, -0.598526120185852, 0.3933824896812439, -0.2503044307231903, -0.17077991366386414, 0.7755351662635803, 0.1294865906238556, -0.11375328153371811, -0.01134924590587616, -0.2285050004720688, -0.04599149152636528, -0.7488125562667847, -0.08433285355567932, 0.3902565836906433, 0.5502500534057617, 0.14762543141841888, 0.5470275282859802, -0.48563385009765625, 0.9075427651405334, 0.7163450717926025, -0.29741933941841125, 0.018155349418520927, -0.359394907951355, -0.23995190858840942, -0.017987698316574097, 0.6935666799545288, 0.2573692202568054, 0.37684255838394165, 0.1139514222741127, -0.286295086145401, -0.08750984817743301, 0.3685554265975952, -0.7746545076370239, -0.34386488795280457, -0.08871331810951233, -0.37986379861831665, -0.21364790201187134, -0.3567747175693512, -0.7337926030158997, -0.05962629243731499, -0.8911640644073486, 0.6743044257164001, -0.2559891641139984, -0.15764565765857697, 0.2465958148241043, 0.24888336658477783, 0.08863455802202225, 0.35259711742401123, -1.3586219549179077, 0.18106599152088165, 0.7878440618515015, 0.31572601199150085, -0.04139666631817818, -0.22106888890266418, -0.5871974229812622, 0.18310701847076416, -0.31114307045936584, 0.8135815858840942, -0.6155176758766174, -0.026495758444070816, -0.10622166097164154, -0.06702350080013275, -0.33453598618507385, -0.60623699426651, 0.3550876975059509, -0.3462297320365906, 0.23778222501277924, -0.24531638622283936, -0.6712054014205933, 0.10683596134185791, 0.1199890598654747, -0.1716184914112091, 1.1088029146194458, -0.01268303394317627, -0.4073716998100281, 0.08317749202251434, -0.4675203859806061, -0.41527509689331055, -0.18235553801059723, -0.3651122450828552, -0.4455418586730957, 0.12127985805273056, 0.4965587258338928, 0.4493907690048218, -0.25474315881729126, 0.16939859092235565, -0.3189781904220581, -0.3540778160095215, -0.15656587481498718, -0.22509174048900604, 0.333053320646286, 0.2270776480436325, -0.5890299677848816, 0.2970922589302063, -0.47282013297080994, 0.5349550247192383, 0.11344912648200989, 0.09413948655128479, -0.14646215736865997, 0.017690103501081467, -0.8837617039680481, 0.2850963771343231, 0.5542338490486145, -0.2656034231185913, 0.5108930468559265, -0.6720806360244751, 0.45351144671440125, 0.9052870869636536, -0.16758783161640167, 0.6893355250358582, -0.2428382784128189, 0.4177156984806061, -0.07904890924692154, 0.11924058198928833, -0.17221078276634216, -0.3390287756919861, -1.0397872924804688, 0.03231194615364075, 0.3125092387199402, 0.42667365074157715, -0.5297242403030396, 0.6165470480918884, -0.20965321362018585, -0.24566997587680817, -0.8562545776367188, 0.38712170720100403, 0.5705000162124634, 0.7607038617134094, 0.5255651473999023, 0.1722852885723114, -0.23395714163780212, -1.2135181427001953, -0.31506308913230896, 0.030715858563780785, 0.14111201465129852, 0.3100613057613373, 0.4248923063278198, 0.07517281919717789, 0.8876172304153442, -0.5152567625045776, -0.2262437492609024, 0.032101109623909, 0.19238245487213135, -0.00555109977722168, 0.6417839527130127, 0.2159002274274826, -0.2265985608100891, -0.5116925835609436, 0.08865658193826675, -0.4292154312133789, -0.365724116563797, -0.11060627549886703, -0.30597811937332153, 0.2896171510219574, 0.5958282351493835, -0.1574864238500595, 0.25140389800071716, 0.3068666458129883, -0.1255127489566803, 0.6110713481903076, -0.37315434217453003, 0.11775092035531998, -0.6589956283569336, -0.3775002062320709, -0.03380493074655533, -0.2293645292520523, -0.21838970482349396, 0.11128532141447067, 0.14056023955345154, 0.029787098988890648, 0.04206915944814682, 0.6814228892326355, -0.6311284303665161, 0.0590401254594326, -0.5294605493545532, 0.3242398202419281, 0.17593468725681305, 0.6069790124893188, 0.23192726075649261, 0.8752338886260986, 0.5611556768417358, -0.45746269822120667, 0.25415778160095215, -0.14867596328258514, -0.17326517403125763, 0.5189560055732727, -0.4404427111148834, 0.3142174184322357, 0.12389213591814041, -0.05252290889620781, -0.8334519267082214, 0.02805902808904648, 0.07373533397912979, -0.09043993800878525, 0.37430527806282043, -0.45121264457702637, -0.3324248194694519, -0.4100445806980133, 0.011939996853470802, 0.25221186876296997, 0.600654661655426, -0.7890689969062805, 0.618844211101532, -0.03748583793640137, -0.18702831864356995, -0.5110874772071838, -0.3671940863132477, -0.4856232702732086, -0.15140944719314575, -0.7157082557678223, 0.21985460817813873, -0.11572100967168808, -0.012539103627204895, -0.13819509744644165, -0.3600943386554718, 0.2201451063156128, -0.10548368841409683, -0.02101624570786953, 0.1805596500635147, -0.44077959656715393, 0.3104013204574585, 0.6041724681854248, -0.3534744083881378, -0.06292690336704254, -0.5979737639427185, 0.34200477600097656, -0.3045980632305145, -0.6522476673126221, -0.44632837176322937, 0.16388311982154846, 0.11849209666252136, -0.3558441996574402, 0.49888911843299866, 0.45980480313301086, -0.07929417490959167, -0.4787401258945465, -0.8311662673950195, -0.6123059391975403, -0.5273698568344116, 0.08215118944644928, -0.5914404988288879, -1.0777804851531982, 0.036150094121694565, -0.3616558313369751, 0.09776996821165085, 0.5790860652923584, 0.7187084555625916, -0.09584993869066238, 1.4428702592849731, 0.39919283986091614, 0.07732492685317993, 0.31249234080314636, -0.19788189232349396, 0.2720060646533966, -0.8273372650146484, -0.0348537378013134, -0.5857902765274048, -0.25996464490890503, -0.3759543299674988, -0.4446747899055481, 0.061599601060152054, 0.16042205691337585, -0.5399556756019592, 0.26883456110954285, -0.81630939245224, 0.7913398146629333, 0.5782445669174194, 0.028611425310373306, 0.2145378291606903, 0.11103034019470215, -0.40927377343177795, -0.24671348929405212, -0.7288481593132019, -0.7171822190284729, 0.8591955900192261, 0.2208942323923111, 0.9608768820762634, -0.010367956012487411, 0.849270761013031, 0.00002775183202174958, 0.21416912972927094, -0.5647785067558289, 0.5285943746566772, -0.3606626093387604, -0.5057417154312134, -0.5080356001853943, -0.5067337155342102, -0.5886048674583435, 0.3335137367248535, -0.09416663646697998, -0.7581767439842224, 0.10650087893009186, 0.5353056192398071, -0.4881359338760376, -0.030917944386601448, -1.0384256839752197, 1.1135481595993042, -0.4224526286125183, -0.5333765149116516, -0.6119737029075623, -0.5184745788574219, 0.355785995721817, 0.18276375532150269, 0.14718198776245117, -0.3286820948123932, 0.166634202003479, 0.3327248990535736, -0.38536712527275085, 0.8774691820144653, -0.13940034806728363, -0.3157638907432556, 0.15914003551006317, 0.2621670961380005, 0.5435831546783447, 0.1344219595193863, -0.1928987205028534, -0.24685311317443848, 0.08595548570156097, -0.279838502407074, -1.0271843671798706, 0.9770557284355164, -0.7379007339477539, -1.1276795864105225, -0.06626182794570923, -0.328216552734375, -0.4626865088939667, 0.22693710029125214, 0.09342627227306366, 0.33733105659484863, 0.1264311671257019, -0.17381563782691956, 0.7492405772209167, 0.2400171160697937, 0.10505735129117966, 0.7040643692016602, -0.23636561632156372, -0.3257620930671692, 1.1403132677078247, -0.1109834834933281, 0.6143821477890015, 0.3433847427368164, 0.465226948261261, -0.4415072202682495, -0.348530650138855, -0.6792246103286743, 0.41253748536109924, -0.6320739388465881, -0.3752303123474121, -0.18380510807037354, -0.18404483795166016, -0.5747250318527222, -0.21894845366477966, -0.5743432641029358, -0.4807458817958832, -0.3890377879142761, 0.12658128142356873, 0.19380059838294983, 0.36191093921661377, -0.15846514701843262, 0.30043649673461914, -0.38837283849716187, 0.4579382538795471, 0.7003337144851685, 0.37744686007499695, -0.04644492268562317, -1.0190547704696655, -0.2667476534843445, 0.2625918686389923, -0.331493079662323, -0.4680795669555664, 0.14725928008556366, 0.2553018033504486, 0.4076010584831238, 0.45167839527130127, -0.07233644276857376, 0.9281577467918396, -0.602129340171814, 0.43922725319862366, 0.03030666522681713, -0.8537720441818237, 0.871516764163971, -0.2766786515712738, 0.32625818252563477, 0.7599775195121765, -0.059589024633169174, -0.041799791157245636, -0.1698015332221985, -0.5631589293479919, -0.2749629318714142, 0.8525686264038086, -0.03423340246081352, 0.05924258381128311, 0.034278202801942825, 0.5765723586082458, 0.09566915780305862, 0.07560011744499207, -0.48278555274009705, -0.11660300940275192, -0.3673344552516937, -0.3545466363430023, 0.11829890310764313, -0.10436759144067764, -0.3906215727329254, -0.5655568242073059, 1.0686843395233154, -0.7082287073135376, 0.021969109773635864, -0.11162442713975906, 0.08788508176803589, -0.40099936723709106, 0.3993052542209625, 0.6164118051528931, 0.5827107429504395, 0.04287237673997879, 0.059699393808841705, 0.16098690032958984, 0.18721379339694977, 0.2241087555885315, 0.115110844373703, -0.2631288170814514, -0.49642592668533325, 0.015513591468334198, 0.9428321123123169, 0.2968544661998749, -0.45774638652801514, 0.4683270752429962, 0.014048311859369278, -0.19236144423484802, 0.013229064643383026, 0.5378704071044922, 0.1585707813501358, 0.40932756662368774, -0.04464714601635933, 0.007186722941696644, -0.01848474144935608, -0.22557039558887482, 0.004769479855895042, 0.6514322757720947, -0.13102690875530243, -0.04470057040452957, 0.4106108844280243, 0.167341947555542, -0.2906487286090851, 0.6377631425857544, -0.2613426446914673, -0.3325788676738739, 0.4495847821235657, 0.9078825116157532, 0.7791118621826172, -0.19023823738098145, 0.22712373733520508, 0.6123625636100769, 0.3059570789337158, -0.3093809187412262, 0.025290077552199364, -0.12565596401691437, -0.9255926012992859, -0.6358397603034973, -0.5836896300315857, -0.2878962457180023, 0.07087865471839905, -0.6839418411254883, 0.2645077705383301, -0.36137402057647705, 0.005909687839448452, 0.00985514372587204, 0.03830583766102791, -0.46970245242118835, 0.2953694760799408, 0.06835519522428513, 0.7144643068313599, -0.744692325592041, 0.9745036959648132, 0.488360732793808, -0.1646021008491516, -1.0730972290039062, -0.08991197496652603, -0.038096800446510315, -0.9431885480880737, 0.6110634207725525, 0.07396313548088074, -0.46499955654144287, 0.3153141736984253, -0.5610798001289368, -0.9554666876792908, 0.9152786135673523, 0.6300452947616577, -0.995403528213501, -0.03867645934224129, -0.030023915693163872, 0.6532102227210999, -0.6710956692695618, 0.19351907074451447, 0.7779520750045776, 0.4286337196826935, 0.1625566929578781, -0.8570218682289124, -0.02135355956852436, -0.035844847559928894, 0.014692804776132107, 0.20824314653873444, -0.8705186247825623, 0.4209582209587097, -0.3745795786380768, -0.048024047166109085, 0.15988394618034363, 0.8955234289169312, 0.42678070068359375, -0.07402091473340988, 0.5932732224464417, 0.7724339365959167, 0.6690661311149597, -0.14506028592586517, 0.5758378505706787, -0.3723987340927124, 0.4205021262168884, 1.4795722961425781, -0.2622128129005432, 0.7399351596832275, 0.335867315530777, 0.008434071205556393, 0.7288029193878174, 0.40289586782455444, -0.05463893339037895, 0.5106915235519409, 0.19079884886741638, -0.05482614412903786, -0.792832612991333, 0.23235106468200684, -0.3342683017253876, 0.33069854974746704, 0.3537084758281708, -0.2231164574623108, -0.1435476392507553, -0.1621485948562622, -0.19257819652557373, 0.3699783682823181, -0.3731135129928589, 0.7773556113243103, -0.021694954484701157, -1.1646391153335571, 0.6801252365112305, 0.13033810257911682, 0.3780648410320282, -0.4739242494106293, -0.10343880951404572, -0.13883516192436218, 0.2690034508705139, -0.09821731597185135, -0.6403709650039673, 0.1375879943370819, -0.13257238268852234, -0.2614968717098236, -0.3911210298538208, 0.8232983350753784, -0.6134352087974548, -0.3997356593608856, 0.13488085567951202, 0.3885650038719177, -0.030315138399600983, 0.10950510203838348, -0.9845905900001526, -0.23066583275794983, 0.11573126912117004, -0.09033335745334625, 0.5092760920524597, 0.5348025560379028, -0.10082364082336426, 0.7263201475143433, 0.4711763858795166, -0.06776754558086395, 0.047086961567401886, 0.5005723834037781, 0.7506913542747498, -0.48976948857307434, -0.34170979261398315, -0.8376216292381287, 0.30365124344825745, -0.06895016878843307, -0.24521662294864655, 0.6865683197975159, 0.5108543038368225, 0.8050775527954102, -0.13739559054374695, 0.5401132702827454, 0.24094565212726593, 0.7185686230659485, -0.7420942783355713, 0.274495005607605, -0.5810275673866272, 0.2907000184059143, 0.05895334482192993, -0.6438688039779663, 0.1390487551689148, 0.9136365056037903, -0.6018782258033752, 0.28589552640914917, 0.5843591690063477, 1.0571132898330688, -0.1466820240020752, -0.04016612097620964, 0.28235578536987305, 0.1265621781349182, -0.013185701332986355, 0.4038589894771576, 0.5870495438575745, -0.13458524644374847, 0.24876806139945984, -0.5016295313835144, -0.3015647828578949, -0.12414661794900894, -0.8672302961349487, -0.9977288842201233, -0.25683972239494324, -0.4580809772014618, -0.1340632289648056, 0.060316599905490875, 0.8867416381835938, 0.8842872381210327, -0.8498439788818359, -0.1718224734067917, -0.008623503148555756, 0.16823600232601166, -0.42112821340560913, -0.26834607124328613, 0.3540089726448059, -0.7990538477897644, -0.6139429211616516, 0.595492959022522, 0.3032906651496887, -0.27389800548553467, -0.5155794620513916, -0.0762382224202156, -0.035940021276474, 0.22836962342262268, 0.3579609990119934, 0.3071810305118561, -0.975718080997467, -0.562004566192627, 0.033783648163080215, -0.12832732498645782, 0.06296180188655853, 0.7793668508529663, -0.8510181903839111, 0.5672316551208496, 0.20805668830871582, 0.43474745750427246, 0.5667918920516968, 0.26391613483428955, 0.5067321062088013, -0.8749829530715942, -0.19339044392108917, 0.03143603354692459, 0.2760726809501648, 0.22989721596240997, -0.38736599683761597, 0.37566569447517395, -0.016766712069511414, -0.8695712685585022, -0.5922308564186096, 0.3826601207256317, -0.7087708115577698, -0.19962146878242493, 1.0659445524215698, 0.03058648109436035, -0.01658051088452339, 0.21316170692443848, -0.34001240134239197, 0.118472620844841, -0.37393754720687866, 0.8637678623199463, 0.5384011268615723, -0.3857783377170563, -0.28137022256851196, -0.17371229827404022, 0.5838778018951416, 0.7541351318359375, -0.7434532046318054, 0.3482958674430847, 0.5041287541389465, 0.47927919030189514, 0.060361724346876144, 0.5121167302131653, 0.04358683153986931, 0.27055624127388, -0.31963977217674255, -0.05712854862213135, -0.08936706185340881, -0.4553180932998657, -0.374284565448761, -0.056749045848846436, 0.19261685013771057, 0.15567946434020996 ]
http://arxiv.org/abs/2405.01601v1
http://arxiv.org/pdf/2405.01601v1
Efficient Sample-Specific Encoder Perturbations
2024-05-01T08:55:16
2024-05-01T08:55:16
Yassir Fathullah, Mark J. F. Gales
cs.CL
cs.CL, cs.LG
Encoder-decoder foundation models have displayed state-of-the-art performance on a range of autoregressive sequence tasks. This paper proposes a simple and lightweight modification to such systems to control the behaviour according to a specific attribute of interest. This paper proposes a novel inference-efficient approach to modifying the behaviour of an encoder-decoder system according to a specific attribute of interest. Specifically, we show that a small proxy network can be used to find a sample-by-sample perturbation of the encoder output of a frozen foundation model to trigger the decoder to generate improved decodings. This work explores a specific realization of this framework focused on improving the COMET performance of Flan-T5 on Machine Translation and the WER of Whisper foundation models on Speech Recognition. Results display consistent improvements in performance evaluated through COMET and WER respectively. Furthermore, experiments also show that the proxies are robust to the exact nature of the data used to train them and can extend to other domains.
[ -0.09798301756381989, -0.5155874490737915, -0.03162926807999611, 0.09465605765581131, -0.13184450566768646, -0.19040557742118835, -0.0035574501380324364, -0.2869437634944916, 0.3843999207019806, 0.45627209544181824, -0.34295469522476196, -0.20820575952529907, -0.6109830141067505, 0.17343151569366455, -0.7877956628799438, 0.4806440770626068, 0.2241988629102707, 0.08212894201278687, 0.22306683659553528, 0.028262341395020485, -0.0021904786117374897, -0.5198420286178589, -0.47310009598731995, -0.335649698972702, 0.1812358796596527, 0.23378901183605194, 0.77753746509552, 0.8127653002738953, 0.4852471351623535, 0.3327332139015198, -0.21921473741531372, -0.20654529333114624, -0.5584978461265564, 0.14145107567310333, -0.32390037178993225, -0.5491375923156738, -0.2796211540699005, -0.5232120752334595, 0.5927326679229736, 0.8427146673202515, -0.2680443525314331, 0.16177208721637726, 0.08885268121957779, 0.5167204737663269, -0.9887084364891052, -0.04620008543133736, -0.6840411424636841, 0.029135720804333687, -0.11054686456918716, -0.27329221367836, -0.4618785083293915, -0.003830365603789687, -0.049454085528850555, -0.31662794947624207, 0.692471444606781, -0.23820890486240387, 0.7302435040473938, 0.5846699476242065, -0.010964514687657356, -0.1377861350774765, -0.7576454877853394, 0.5919502377510071, -0.6688562035560608, 0.7447165846824646, 0.23815517127513885, 0.31331273913383484, -0.470520943403244, -0.8246614336967468, -0.49115028977394104, 0.16314661502838135, -0.08413640409708023, 0.08231374621391296, -0.11063845455646515, 0.014214947819709778, 0.1180279329419136, 0.41721311211586, -0.16854524612426758, 0.06931836903095245, 0.0637887716293335, -0.4596805274486542, 0.290127158164978, 0.14939813315868378, -0.04445517063140869, 0.013549720868468285, 0.1652350127696991, -0.5356768369674683, -0.6828683614730835, 0.20524480938911438, 0.4322255551815033, 0.3611769378185272, 0.10638134926557541, 0.4914051294326782, -0.5922819972038269, 0.8055633306503296, 0.5298033356666565, -0.004496817011386156, 0.25073525309562683, 0.03532317653298378, -0.3381015658378601, 0.22298578917980194, 0.5211266279220581, -0.09673035889863968, -0.2006106823682785, -0.3644256591796875, -0.5766317844390869, 0.3367154896259308, -0.00320894131436944, -1.0450927019119263, -0.40728071331977844, 0.20677299797534943, -0.4235819876194, -0.26076740026474, 0.1571425050497055, -0.6840426325798035, -0.21129442751407623, 0.09861528128385544, 0.6172059774398804, -0.3501110076904297, -0.12937931716442108, 0.5331501364707947, -0.3077957332134247, 0.040757983922958374, 0.22622805833816528, -0.8715426921844482, 0.6040502786636353, 0.24598397314548492, 0.6642549633979797, 0.14097310602664948, -0.0024722658563405275, -1.0218844413757324, 0.17158232629299164, -0.30096572637557983, 0.5919424295425415, -0.8020275831222534, -0.3442906141281128, -0.16652989387512207, -0.07959787547588348, -0.018562819808721542, -0.5960167646408081, 0.1051526591181755, -0.7148061394691467, -0.34404540061950684, -0.2506852149963379, -0.5082128047943115, 0.14834721386432648, -0.18060052394866943, -0.9512208700180054, 0.5652315020561218, 0.004908446688205004, -0.6937173008918762, 0.1151559054851532, -0.6541199088096619, -0.5756700038909912, -0.27239564061164856, 0.03567498177289963, -0.22943204641342163, 0.07854977995157242, 0.5406462550163269, 0.48605555295944214, -0.22534535825252533, -0.08026562631130219, -0.09945981204509735, -0.637444257736206, 0.36270326375961304, -0.31235095858573914, 0.5420142412185669, 0.348874032497406, -0.5392327308654785, -0.1221332922577858, -0.9615160226821899, -0.038878846913576126, -0.11042433232069016, -0.47858795523643494, -0.22812433540821075, 0.20649640262126923, -0.13883450627326965, -0.23134134709835052, -0.02689547650516033, -0.4266613721847534, -0.08337756246328354, -0.4982983469963074, 0.5204042792320251, 0.3577251732349396, 0.11345218122005463, 0.6184410452842712, -0.17326700687408447, 0.4472217559814453, 0.05586206912994385, 0.012310517951846123, -0.3623756468296051, -0.14141200482845306, -0.8427128195762634, -0.5080300569534302, 0.7380584478378296, 0.42658519744873047, -0.9195050001144409, 0.3138832151889801, -0.2370331734418869, -0.17404037714004517, -0.8752216696739197, 0.11172740906476974, 0.45410123467445374, 0.5899094939231873, 0.5859736800193787, -0.4619350731372833, -0.2778182029724121, -0.7052253484725952, -0.5188190340995789, 0.056436993181705475, -0.2588730752468109, 0.01660527102649212, 0.34960225224494934, 0.008776280097663403, 0.9523776769638062, -0.26563382148742676, 0.009496776387095451, -0.00010503087105462328, -0.0543699786067009, 0.4577985107898712, 0.8930412530899048, 0.3633778989315033, -1.0152961015701294, -0.2548660635948181, -0.3130827844142914, -0.3735637664794922, -0.34382298588752747, -0.05346379429101944, -0.16445089876651764, -0.20980612933635712, 0.4518072307109833, -0.41443559527397156, 0.7249181866645813, 0.35751083493232727, -0.3741743564605713, 0.3750448524951935, 0.07525292783975601, 0.2896789610385895, -0.6327196955680847, -0.031213143840432167, -0.1342451423406601, -0.2870163917541504, -0.8469136357307434, 0.2839656472206116, 0.18313170969486237, 0.2192283272743225, -0.5413175821304321, 0.2848101556301117, -0.5212940573692322, -0.1874695122241974, -0.10833451896905899, -0.32046979665756226, -0.054848045110702515, 0.22908799350261688, 0.30159249901771545, 0.6138930916786194, 0.5954211354255676, -0.9770333170890808, 0.07290609925985336, 0.34032097458839417, -0.19428712129592896, 0.30047059059143066, -0.6937159895896912, 0.33549484610557556, -0.2747332751750946, 0.40534213185310364, -0.6103625893592834, -0.295897901058197, 0.17315886914730072, -0.4627997875213623, 0.32299500703811646, -0.42355597019195557, -0.4872623682022095, -0.10398425161838531, 0.02273775264620781, 0.11295145004987717, 0.6506391167640686, -0.8068190217018127, 0.9260354042053223, 0.053444430232048035, 0.45092013478279114, -0.6468914747238159, -0.9842069745063782, 0.03612761199474335, -0.06870166212320328, -0.4322696626186371, 0.6022431254386902, -0.20057280361652374, -0.10034341365098953, 0.06087183952331543, -0.32318320870399475, 0.0011443899711593986, 0.05379245802760124, 0.1932818442583084, -0.38500258326530457, -0.21218308806419373, -0.11268913000822067, 0.33960506319999695, -0.011314607225358486, -0.20973524451255798, -0.4517116844654083, 0.5006247758865356, -0.03897003456950188, -0.3153865337371826, -0.48010095953941345, 0.24059957265853882, 0.398337185382843, -0.29983943700790405, 0.748690664768219, 0.36788302659988403, -0.40834182500839233, -0.5444589853286743, -0.6415269374847412, -0.7121464610099792, -0.5994784832000732, 0.21822480857372284, -1.0383776426315308, -0.7241085171699524, 0.6845780611038208, -0.1423177868127823, -0.22579970955848694, 0.15389609336853027, 0.32021594047546387, 0.1931530386209488, 0.8449406623840332, 0.5887711644172668, -0.11542902886867523, 0.46940943598747253, -0.5210574865341187, -0.11011911183595657, -0.683539628982544, -0.0029455344192683697, -0.5938457250595093, -0.35825473070144653, -0.2451963722705841, -0.37488898634910583, 0.20801369845867157, 0.29468217492103577, -0.3325660824775696, 0.5162340402603149, -0.3714348375797272, 0.34723591804504395, 0.3012644946575165, 0.344990611076355, 0.1273912489414215, 0.044157516211271286, -0.40686845779418945, 0.25554582476615906, -1.141440749168396, -0.41652029752731323, 0.7670068144798279, 0.18102285265922546, 0.9817185401916504, 0.3683702349662781, 0.7202317714691162, 0.30332279205322266, 0.16776788234710693, -0.37575700879096985, 0.49243634939193726, -0.5178198218345642, -0.3286982774734497, -0.29381465911865234, -0.44896838068962097, -0.7448516488075256, 0.43325668573379517, -0.1559850573539734, -0.808088481426239, 0.8019861578941345, 0.5655193328857422, -0.29083243012428284, 0.33159297704696655, -0.5492562055587769, 0.471030056476593, 0.20721711218357086, -0.5273166298866272, -0.1316561996936798, -0.4543202221393585, -0.0881575271487236, -0.07499038428068161, 0.014328401535749435, 0.16503730416297913, -0.07946470379829407, 0.455377459526062, -0.6331237554550171, 1.0371427536010742, -0.4241417944431305, 0.20544129610061646, 0.32487618923187256, 0.3403952121734619, 0.5671141147613525, 0.02486308664083481, -0.6891927123069763, 0.02262258343398571, -0.029775507748126984, -0.45896801352500916, -0.8594333529472351, 0.47313761711120605, -0.5559684038162231, -0.5466367602348328, 0.07636983692646027, -0.2035512775182724, -0.2675894796848297, 0.08366722613573074, 0.4069061875343323, 0.7706001400947571, -0.14336693286895752, 0.40286800265312195, 0.6916152238845825, -0.04769447445869446, 0.5002188086509705, 0.8656746745109558, 0.1899319589138031, -0.3437853753566742, 0.503223180770874, -0.014932023361325264, 0.38535547256469727, 0.896371603012085, 0.28548285365104675, -0.14680850505828857, -0.6897532939910889, -0.4611841142177582, -0.14975295960903168, -0.9515137076377869, -0.32847049832344055, -0.6462729573249817, 0.05044122040271759, -0.5151675343513489, -0.1704183965921402, -0.5588188171386719, -0.451320081949234, -0.44434815645217896, 0.07089612632989883, 0.39580026268959045, 0.4437384605407715, -0.1553703099489212, 0.6878568530082703, -0.732823371887207, 0.308463454246521, 0.25482022762298584, 0.34056803584098816, -0.02713443711400032, -0.7858714461326599, -0.14665357768535614, 0.1686587780714035, 0.27621981501579285, -1.063508152961731, 0.38366860151290894, 0.5704233646392822, 0.5284334421157837, 0.3802644610404968, 0.44338440895080566, 0.7706382870674133, -0.5217952132225037, 0.6615176200866699, 0.0408918596804142, -1.3827128410339355, 0.5762917995452881, -0.04362574964761734, 0.40441185235977173, 0.3206517994403839, 0.1188633069396019, -0.004717935808002949, -0.4287380874156952, -0.4167320132255554, -0.6799476742744446, 0.5049585700035095, 0.4314965605735779, 0.042584892362356186, 0.11082626134157181, 0.7139784693717957, -0.029461009427905083, 0.2075166255235672, 0.04552524536848068, -0.11836405843496323, -0.6760633587837219, -0.2864457070827484, 0.0641278326511383, -0.03781446814537048, 0.10101797431707382, -0.1092996746301651, 0.5877273678779602, -0.34388068318367004, 0.23717746138572693, 0.5496242642402649, -0.41677331924438477, -0.13883152604103088, 0.16436222195625305, 0.15724971890449524, 0.377753347158432, -0.2509150505065918, 0.26038017868995667, 0.24349811673164368, -0.5823430418968201, 0.17612040042877197, -0.018004899844527245, -0.40961363911628723, 0.03205125033855438, 0.19640420377254486, 0.89205002784729, 0.27445974946022034, -0.46277526021003723, 0.34357449412345886, -0.01958937756717205, -0.14983759820461273, -0.106196328997612, 0.5224719047546387, -0.11771876364946365, 0.40012243390083313, 0.5416361689567566, 0.24959991872310638, 0.4603523015975952, -0.3727320432662964, 0.30776575207710266, 0.035627130419015884, -0.21988195180892944, -0.4927749037742615, 0.8304670453071594, 0.07113809883594513, -0.38841548562049866, 0.4460216164588928, -0.031032869592308998, -0.5766435861587524, 0.6537703275680542, 0.8374276757240295, 0.6997330784797668, -0.5303160548210144, -0.08892800658941269, 0.26691555976867676, 0.2680375874042511, -0.3291485607624054, 0.30750149488449097, -0.1544310450553894, -1.1781554222106934, -0.394662469625473, -0.7068179249763489, -0.3112029433250427, 0.025095896795392036, -0.8741351962089539, 0.10030020028352737, -0.34110504388809204, -0.34162431955337524, 0.02346704714000225, -0.4538065791130066, -1.0218536853790283, 0.5290043354034424, -0.2444283366203308, 1.1511378288269043, -0.6160897016525269, 1.0626335144042969, 0.6892909407615662, -0.1989445835351944, -0.7395133972167969, 0.053465042263269424, -0.09528128802776337, -0.3124254047870636, 0.6173521876335144, -0.1817975640296936, -0.6499367356300354, 0.20125751197338104, -0.5084307193756104, -1.0744770765304565, 0.9198600053787231, 0.5795456171035767, -0.8952314257621765, 0.3228754997253418, -0.10079296678304672, 0.47624626755714417, -0.5061123967170715, 0.24204517900943756, 0.7712472677230835, 0.313547283411026, 0.11578987538814545, -0.9701296091079712, 0.12513579428195953, -0.4829237759113312, 0.21120432019233704, 0.0016341914888471365, -0.634704053401947, 0.4780143201351166, -0.11901647597551346, -0.10895231366157532, 0.23271726071834564, 0.8603131175041199, -0.0075547341257333755, -0.12402355670928955, 0.7917088270187378, 0.32959437370300293, 0.6403115391731262, -0.0004867181705776602, 1.013025164604187, -0.484804630279541, 0.010462854988873005, 1.0816690921783447, -0.1441946178674698, 1.0363341569900513, 0.5376951694488525, -0.0844813883304596, 0.3394392132759094, 0.3184751868247986, -0.0026005085092037916, 0.9419562220573425, 0.36156365275382996, -0.2969893515110016, -0.3119235336780548, 0.26700282096862793, -0.07611507922410965, 0.5576418042182922, 0.6724231243133545, -0.2424555867910385, 0.1862344592809677, 0.09912032634019852, -0.15825794637203217, 0.08255137503147125, -0.3173612654209137, 0.5203138589859009, -0.04965989291667938, -0.3344576954841614, 0.6784985661506653, 0.3242042064666748, 0.8440686464309692, -0.6381024122238159, -0.04930209368467331, -0.17075543105602264, 0.33902063965797424, -0.3109886348247528, -0.07002275437116623, 0.15148590505123138, 0.06522218883037567, -0.293637752532959, -0.016629159450531006, 0.7385064363479614, -0.4288838505744934, -0.31623169779777527, 0.26879262924194336, 0.11530999839305878, 0.2709053158760071, 0.02575494349002838, -0.3906151056289673, 0.34868094325065613, -0.10100364685058594, -0.37844663858413696, 0.19875288009643555, 0.15297071635723114, 0.21848057210445404, 0.556678831577301, 0.7167018055915833, 0.2266460806131363, 0.305882066488266, 0.25338059663772583, 0.866865873336792, -0.5053603649139404, -0.8102378845214844, -0.5200187563896179, 0.49384334683418274, 0.016413137316703796, -0.04707400128245354, 0.469666987657547, 0.30216026306152344, 0.7383319139480591, -0.21465067565441132, 0.7683054208755493, -0.16169416904449463, 0.4588712453842163, -0.8020316958427429, 0.7325117588043213, -0.29544469714164734, 0.6523983478546143, -0.19551298022270203, -0.6837341785430908, -0.2989685535430908, 0.7487351894378662, -0.04189131781458855, -0.0857706293463707, 0.5405508875846863, 1.1359190940856934, -0.07390986382961273, 0.14000307023525238, 0.364492803812027, 0.3604566752910614, 0.4015251100063324, 0.20457249879837036, 0.46173232793807983, -0.56471848487854, 0.3172725737094879, -0.5043386220932007, -0.23092207312583923, -0.10911646485328674, -1.0113885402679443, -0.7501795887947083, -0.4798707962036133, -0.5229387283325195, -0.537398636341095, 0.6644810438156128, 0.8138903379440308, 0.9475102424621582, -1.1644221544265747, -0.14558614790439606, 0.025121383368968964, -0.13914942741394043, -0.519500732421875, -0.17659682035446167, 0.4444945454597473, -0.19696983695030212, -0.6848023533821106, 0.9318181276321411, -0.18334949016571045, 0.017825381830334663, -0.03808867186307907, -0.2835642099380493, 0.3577580153942108, 0.2646442651748657, 0.3276257812976837, 0.27611446380615234, -0.6674428582191467, -0.3322250545024872, -0.030274443328380585, 0.31863662600517273, -0.06680118292570114, 0.9528580904006958, -1.0576969385147095, 0.5165225863456726, 0.48700717091560364, 0.6798052787780762, 0.8266273140907288, -0.01387447863817215, 0.6692940592765808, -0.6341238021850586, 0.2241600751876831, 0.2455844283103943, 0.45070186257362366, 0.49107229709625244, -0.5741578340530396, 0.4363240897655487, 0.2132699191570282, -0.10803525149822235, -0.7583377361297607, 0.1377626210451126, -0.45674166083335876, -0.2701527178287506, 1.0040831565856934, -0.24611406028270721, -0.41165030002593994, 0.042943306267261505, 0.3466138243675232, 0.25982388854026794, -0.633251965045929, 0.6059110760688782, 0.2503332495689392, -0.011502176523208618, -0.22860077023506165, -0.22197410464286804, 0.4231528341770172, 0.36327433586120605, -0.3068290054798126, -0.37727856636047363, 0.48746010661125183, 0.6274498105049133, -0.015871020033955574, 0.653281033039093, -0.1396176517009735, 0.2565099895000458, 0.20666514337062836, 0.029089855030179024, -0.09524009376764297, -0.4045920968055725, -0.4972201883792877, 0.4186001121997833, -0.15712082386016846, -0.3243386447429657 ]
http://arxiv.org/abs/2405.00390v2
http://arxiv.org/pdf/2405.00390v2
CofiPara: A Coarse-to-fine Paradigm for Multimodal Sarcasm Target Identification with Large Multimodal Models
2024-05-01T08:44:44
2024-05-20T07:25:27
Hongzhan Lin, Zixin Chen, Ziyang Luo, Mingfei Cheng, Jing Ma, Guang Chen
cs.CL
cs.CL
Social media abounds with multimodal sarcasm, and identifying sarcasm targets is particularly challenging due to the implicit incongruity not directly evident in the text and image modalities. Current methods for Multimodal Sarcasm Target Identification (MSTI) predominantly focus on superficial indicators in an end-to-end manner, overlooking the nuanced understanding of multimodal sarcasm conveyed through both the text and image. This paper proposes a versatile MSTI framework with a coarse-to-fine paradigm, by augmenting sarcasm explainability with reasoning and pre-training knowledge. Inspired by the powerful capacity of Large Multimodal Models (LMMs) on multimodal reasoning, we first engage LMMs to generate competing rationales for coarser-grained pre-training of a small language model on multimodal sarcasm detection. We then propose fine-tuning the model for finer-grained sarcasm target identification. Our framework is thus empowered to adeptly unveil the intricate targets within multimodal sarcasm and mitigate the negative impact posed by potential noise inherently in LMMs. Experimental results demonstrate that our model far outperforms state-of-the-art MSTI methods, and markedly exhibits explainability in deciphering sarcasm as well.
[ -0.3793790936470032, -0.9254732728004456, 0.49193936586380005, 0.3790188431739807, -0.24983307719230652, -0.14531873166561127, -0.44652655720710754, -0.31555095314979553, 0.16814355552196503, -0.14183871448040009, -0.9389021992683411, -0.012606709264218807, -0.5606945753097534, -0.023258419707417488, -0.12363308668136597, 1.228244423866272, 0.24229565262794495, -0.07301639020442963, 0.04189635068178177, 0.07040824741125107, -0.27257680892944336, -0.24579690396785736, -0.9732256531715393, -0.015768053010106087, 1.0223044157028198, 0.46660372614860535, 0.6390320658683777, 0.07544361799955368, 0.704550564289093, 0.31741800904273987, 0.14066070318222046, 0.19989101588726044, -0.5865563750267029, -0.15729248523712158, -0.26529785990715027, -0.40580424666404724, -0.2608206570148468, -0.02779511734843254, 0.2359972596168518, 0.1936206817626953, 0.33394742012023926, 0.3363109230995178, -0.15100082755088806, 0.05802541226148605, -0.9048532843589783, 0.07366188615560532, -0.4713079333305359, 0.165217325091362, -0.4057355523109436, -0.5760207176208496, -0.6097287535667419, 0.012550385668873787, -0.302421510219574, -0.49572232365608215, 0.152101069688797, -0.10549674928188324, 1.0299813747406006, 0.4966386556625366, -0.5234529376029968, -0.16908615827560425, -0.5474936366081238, 0.7641221284866333, -0.39051398634910583, 0.3720523715019226, 0.040129221975803375, 0.8204663991928101, 0.08138206601142883, -0.585682213306427, -0.3896116614341736, -0.3352716267108917, -0.2755948603153229, 0.047474972903728485, -0.17593589425086975, -0.03138667717576027, 0.371699720621109, 0.251177042722702, -0.5714825987815857, -0.3175894320011139, -0.07487267255783081, -0.41264450550079346, 0.2712222933769226, -0.02572578564286232, 0.21471722424030304, -0.24868644773960114, -0.8447666764259338, 0.4235747754573822, 0.04675959050655365, 0.3490523099899292, 0.24530401825904846, 0.300091952085495, -0.4279087483882904, 0.3491198718547821, -0.30498799681663513, 0.2011028528213501, 0.37868109345436096, -0.4175582528114319, 0.24201901257038116, -0.4216037392616272, -0.20105516910552979, -0.32745853066444397, 0.7590785026550293, 0.13438962399959564, 0.4618820250034332, -0.14368164539337158, -0.248075932264328, 0.20192256569862366, 0.2622894048690796, -0.6138937473297119, -0.07533592730760574, -0.13873326778411865, -0.36338722705841064, -0.4155442714691162, -0.206399068236351, -0.9347689747810364, -0.2963009476661682, -0.16140708327293396, 0.594113826751709, -0.608544647693634, -0.44089263677597046, -0.23407411575317383, -0.5495036244392395, 0.19383376836776733, 0.3790442943572998, -0.6327328085899353, -0.03277811035513878, 0.5670161843299866, 0.793368399143219, 0.3865797817707062, -0.37992873787879944, -0.5536351203918457, 0.2518315315246582, 0.04363783821463585, 0.7760599255561829, -0.6739076972007751, 0.2548797130584717, -0.3453531861305237, -0.2086792141199112, -0.26290392875671387, 0.049961671233177185, 0.804982602596283, -0.30821657180786133, -0.22499613463878632, -0.19393596053123474, 0.18547509610652924, -0.24167852103710175, 0.6623522043228149, -0.5929372906684875, 0.9640060663223267, 0.31444862484931946, -0.9851071238517761, 0.20939324796199799, -0.6549472212791443, -0.44175985455513, -0.11222773045301437, -0.10710468888282776, -0.08184777200222015, 0.36665764451026917, 0.2941585183143616, 0.6393251419067383, -0.5144961476325989, 0.7066895365715027, -0.5924959778785706, -0.4654447138309479, 0.3497020900249481, -1.2437000274658203, 0.7919255495071411, 0.5921192765235901, -0.4449848532676697, -0.09750618040561676, -0.547818124294281, -0.04696432128548622, 0.14023344218730927, 0.020816771313548088, -0.3645644187927246, -0.489009290933609, 0.11560320109128952, 0.5495003461837769, 0.3665233254432678, -0.1626095026731491, -0.3410278856754303, 0.03317640349268913, 0.48088887333869934, 0.6956273913383484, -0.27877548336982727, 0.4442538917064667, -0.2725078761577606, 0.45634132623672485, 0.2875215709209442, 0.7340669631958008, -0.466413289308548, -0.18569320440292358, -0.7066973447799683, -1.1664713621139526, 0.09398090094327927, 0.316815584897995, -1.0003831386566162, -0.1273990124464035, -0.4585360586643219, -0.49715080857276917, -0.4547044336795807, -0.08490478247404099, 0.6624067425727844, 0.6009228229522705, 0.4465077519416809, -0.15803085267543793, -0.32944798469543457, -1.1748987436294556, -0.7455571293830872, 0.10301590710878372, 0.32963162660598755, 0.3664570450782776, 0.4921503961086273, -0.23965057730674744, 0.7543358206748962, -0.30737289786338806, -0.23620131611824036, -0.18305642902851105, 0.3331569731235504, -0.0913931354880333, 0.3966321647167206, 0.5996754765510559, -1.0491745471954346, -0.4670120179653168, -0.11094515025615692, -0.6812238097190857, -0.11625106632709503, -0.3623565435409546, -0.26863446831703186, -0.2624163031578064, 0.4699800908565521, -0.7108954191207886, 0.5031481385231018, 0.11440686881542206, -0.37328243255615234, 0.6654510498046875, 0.3148011565208435, 0.590627133846283, -1.0377172231674194, 0.13590404391288757, 0.36669525504112244, -0.3560733497142792, -0.6949897408485413, 0.499784916639328, -0.05763143673539162, -0.14779561758041382, -0.585280179977417, 0.7105258107185364, -0.11504792422056198, 0.18064087629318237, 0.24962453544139862, -0.3071286976337433, 0.1955496370792389, 0.8416120409965515, -0.34519511461257935, 0.6319233775138855, 0.33249446749687195, -0.35033807158470154, 0.25450605154037476, -0.3080866038799286, 0.08135820180177689, 1.2079097032546997, -0.5015319585800171, -0.13145117461681366, -0.19190502166748047, 0.5367156863212585, -1.1569383144378662, -0.685580313205719, 0.5525057911872864, -0.6210514903068542, 0.26135095953941345, -0.3249185383319855, -0.3242064118385315, -0.41987791657447815, -0.4328921139240265, 0.9342784881591797, 0.0428466796875, -0.5732021331787109, 1.0049543380737305, -0.12481825798749924, -0.13555452227592468, -0.8685382008552551, -0.7267509698867798, 0.039533521980047226, -0.40741655230522156, -0.8542951345443726, 0.17007073760032654, -0.2107275277376175, -0.13196657598018646, -0.3897608816623688, 0.14728206396102905, -0.5249894857406616, 0.056996092200279236, 0.2111864686012268, 0.10038503259420395, -0.2342953383922577, 0.18037159740924835, 0.19794881343841553, -0.23695290088653564, -0.10880587995052338, 0.23034150898456573, 0.560613751411438, -0.271838903427124, -0.3290804922580719, -0.9437748789787292, 0.4929649829864502, 0.7504384517669678, -0.23977117240428925, 0.338725209236145, 1.3897989988327026, -0.40892493724823, 0.1471555083990097, -0.6720871329307556, -0.05764877796173096, -0.4929543137550354, 0.32099565863609314, -0.904394805431366, -0.5963917374610901, 0.29573366045951843, -0.3624640703201294, -0.4535227417945862, 0.41760995984077454, 0.45774760842323303, -0.016083160415291786, 1.117537260055542, 0.6855714321136475, -0.008450839668512344, 0.46202293038368225, 0.002786973724141717, 0.19786867499351501, -0.49725341796875, -0.25563034415245056, -0.5220232605934143, -0.42894500494003296, -0.12935906648635864, -0.5775133967399597, 0.2637525498867035, -0.06616378575563431, -0.5059508681297302, 0.13426560163497925, -0.06034046411514282, 0.5173274874687195, 0.4950128495693207, 0.4177013039588928, 0.179561048746109, 0.04549937695264816, 0.04755237698554993, -0.024511221796274185, -0.47623273730278015, -0.18463046848773956, 0.5236697793006897, 0.5555171370506287, 0.8234952688217163, 0.15522998571395874, 0.48835399746894836, 0.3900240361690521, 0.3151282072067261, -0.9020636081695557, 0.40274131298065186, -0.22962521016597748, -0.8458254337310791, 0.06180739775300026, -0.6300285458564758, -0.12159866839647293, 0.011832389049232006, -0.15767741203308105, -0.39434579014778137, 0.1671239137649536, 0.3597102165222168, -0.47687214612960815, 0.04585302621126175, -1.1333057880401611, 1.0169066190719604, -0.2668549716472626, -0.4222499430179596, -0.2024269998073578, -0.838405191898346, 0.5666866302490234, 0.0994027778506279, 0.6207876801490784, -0.23855073750019073, 0.011280202306807041, 0.2286963015794754, -0.10646618902683258, 1.229477047920227, -0.3804304599761963, -0.006612978409975767, 0.16967277228832245, 0.017035501077771187, 0.38800734281539917, 0.3461158275604248, -0.134995236992836, 0.324140340089798, -0.11405893415212631, -0.60134357213974, -0.5009380578994751, 0.7305907011032104, -0.5489398837089539, -0.2754330039024353, -0.13257648050785065, -0.81391441822052, -0.10960032045841217, 0.27076074481010437, 0.4292278587818146, 0.6998386383056641, -0.26933568716049194, -0.08485114574432373, 0.431745320558548, 0.08488713949918747, 0.4607701897621155, 0.009198534302413464, 0.5393747687339783, -0.40550360083580017, 1.1642825603485107, -0.24813805520534515, 0.10054801404476166, 0.4551047086715698, 0.11677667498588562, -0.13710863888263702, 0.07146025449037552, -0.3513059914112091, 0.22875343263149261, -0.9054833650588989, -0.3016030192375183, -0.6471990942955017, -0.16166004538536072, -0.5430594682693481, -0.6121630668640137, -0.4300812780857086, -0.3060704469680786, -0.37547117471694946, 0.43710455298423767, 0.14630958437919617, 0.1863761693239212, -0.11161146312952042, 0.5319250822067261, -0.36029312014579773, 0.5054783821105957, 0.3080684542655945, 0.19978946447372437, -0.06574618816375732, -0.7406312227249146, -0.06617427617311478, 0.326736181974411, -0.07275441288948059, -0.6531522870063782, 0.22602641582489014, 0.5098634362220764, 0.2281937599182129, 0.7022033929824829, -0.015086829662322998, 1.0096709728240967, -0.4244726300239563, 0.4788115322589874, 0.5938431620597839, -0.8551974296569824, 0.4395749866962433, -0.47572794556617737, 0.2860298156738281, 0.8027487993240356, 0.589324951171875, -0.2272467464208603, -0.32246583700180054, -0.4628407657146454, -0.5521490573883057, 0.507377028465271, -0.15900537371635437, 0.5249021053314209, -0.14128588140010834, 0.36586034297943115, 0.2950563430786133, 0.24562302231788635, -1.1051849126815796, 0.1485845297574997, -0.27043449878692627, -0.6962525248527527, -0.0802818238735199, -0.20086991786956787, -0.39573559165000916, -0.2580034136772156, 0.43597841262817383, -0.5582582950592041, 0.4476505517959595, -0.07305612415075302, -0.5348095893859863, -0.01507672481238842, 0.4742743968963623, 0.6496092677116394, 0.25987422466278076, 0.03145020827651024, 0.5355662703514099, -0.10302101820707321, -0.3035695254802704, 0.003488482441753149, 0.18130460381507874, -0.04037142172455788, -0.09549378603696823, 0.37103530764579773, 0.7006708383560181, 0.4433363974094391, -0.5213912725448608, 0.9979919791221619, -0.1377594769001007, -0.059340838342905045, -0.2477288395166397, -0.062594935297966, -0.3242838382720947, 0.6935112476348877, 0.28631046414375305, 0.7818266749382019, 0.3816045820713043, -0.6591102480888367, 0.10202042013406754, 0.5759992599487305, -0.7460771799087524, -0.6011587381362915, 0.3496135473251343, 0.2172430008649826, -0.09265367686748505, 0.1280599981546402, -0.24004361033439636, -0.5697212219238281, 0.6372023820877075, 0.4710578918457031, 0.820487380027771, -0.1452692598104477, 0.6053012609481812, 0.18472512066364288, 0.5054489374160767, 0.06352312862873077, 0.25649386644363403, -0.2860777676105499, -0.35241538286209106, -0.15395572781562805, -0.506554126739502, 0.20908120274543762, -0.1256982982158661, -0.6443085074424744, 0.6875004768371582, -0.5941377282142639, -0.2909854054450989, 0.471677303314209, -0.5305935740470886, -0.8430725932121277, 0.5749640464782715, 0.2536957859992981, 0.9033753871917725, -1.0003046989440918, 0.3530902862548828, 0.3992348909378052, -0.6803433895111084, -0.6996710896492004, 0.23814302682876587, 0.19432467222213745, -0.80552738904953, 0.6459714770317078, 0.45985138416290283, -0.31796279549598694, 0.12322844564914703, -0.7585126161575317, -0.5365272164344788, 0.9447243809700012, 0.8016210794448853, -0.18918173015117645, -0.1737467348575592, 0.061130400747060776, 0.5147629976272583, -0.36467432975769043, 0.8483120203018188, 0.38537105917930603, 0.6078753471374512, 0.37196627259254456, -0.8645901679992676, 0.19994431734085083, -0.27905574440956116, -0.28673896193504333, 0.13177606463432312, -1.0183674097061157, 1.0825754404067993, -0.41698288917541504, -0.023433808237314224, -0.06763476133346558, 0.3305664658546448, -0.12803055346012115, 0.7350521087646484, 0.5516793131828308, 0.7051848769187927, 0.43379655480384827, -0.1598701924085617, 0.9533100724220276, 0.1437041163444519, 0.3171969950199127, 1.115022897720337, 0.15625770390033722, 0.6743453741073608, 0.6923819780349731, 0.3015556335449219, 0.5741002559661865, 0.6388883590698242, 0.14817528426647186, 0.6074267029762268, -0.27003902196884155, -0.3028988838195801, -0.47493648529052734, -0.39893946051597595, -0.29556894302368164, 0.612596869468689, 0.4254074692726135, -0.4749094843864441, -0.4653892517089844, 0.26267820596694946, 0.1547158658504486, -0.2310158759355545, -0.5275927186012268, 0.6006883978843689, -0.047793660312891006, -0.466519832611084, 0.7197369933128357, 0.03044753149151802, 0.9782320261001587, -0.4956164062023163, 0.18699216842651367, -0.12858547270298004, 0.22512181103229523, -0.22631072998046875, -0.28951436281204224, 0.27505138516426086, -0.020339863374829292, -0.29122933745384216, 0.14424622058868408, 0.953130841255188, -0.4426989257335663, -0.45683369040489197, 0.17194479703903198, 0.267196387052536, -0.08686631172895432, -0.21823877096176147, -1.0703938007354736, -0.007906393148005009, -0.2740404009819031, -0.07635781913995743, 0.03449154645204544, 0.9143260717391968, -0.1916406750679016, 0.6149083971977234, 0.3925595283508301, -0.49583181738853455, -0.09753728657960892, 0.30773404240608215, 1.0743151903152466, -0.4400884211063385, -0.5781676769256592, -0.8925175666809082, 0.6907600164413452, -0.18911567330360413, -0.48618432879447937, 0.4517700970172882, 0.13484281301498413, 0.5076325535774231, -0.27157333493232727, 0.6139932870864868, -0.2515370845794678, 0.15294577181339264, -0.2857446074485779, 0.4436497092247009, -1.0203436613082886, -0.14740882813930511, -0.46096616983413696, -0.5859187841415405, -0.2671366333961487, 0.4102027714252472, -0.25240394473075867, 0.4383144676685333, 0.7916561961174011, 0.9283249974250793, -0.584287166595459, 0.05573777109384537, 0.3556692898273468, 0.23077864944934845, -0.05960556119680405, 0.708289384841919, 0.9872114062309265, -0.3354613482952118, 0.8501767516136169, -0.2080407291650772, -0.6126208901405334, -0.4570169746875763, -0.7251869440078735, -1.134451985359192, -0.3161781132221222, -0.12394311279058456, -0.16988003253936768, 0.10158827155828476, 0.9661393761634827, 0.7226619720458984, -0.4929666817188263, 0.34653282165527344, 0.18279197812080383, -0.047427691519260406, -0.2516939342021942, -0.2935038208961487, -0.0247891154140234, -0.5347679853439331, -0.6240086555480957, 0.0675162747502327, 0.5468940138816833, -0.3436294496059418, -0.1639275997877121, -0.021200308576226234, -0.45970359444618225, 0.5259072780609131, 0.690916895866394, 0.15697960555553436, -0.7215806841850281, -0.4357282519340515, 0.01710089109838009, -0.2871158719062805, -0.1569804549217224, 0.8100064396858215, -0.3317193388938904, 0.28841909766197205, 0.3768356442451477, 0.5212321877479553, 0.02246127836406231, -0.18088002502918243, 0.1562480330467224, -1.122867226600647, 0.553264856338501, 0.10382509976625443, 0.29684945940971375, 0.29343563318252563, -0.6519981026649475, 0.37025487422943115, 0.45817211270332336, -0.09724991768598557, -0.9190502166748047, 0.3831605315208435, -1.1374177932739258, -0.3061269521713257, 1.1429955959320068, -0.23674657940864563, -0.4002849757671356, -0.2879044711589813, -0.44859811663627625, 0.31901028752326965, -0.3749806582927704, 0.831670880317688, 0.47414740920066833, 0.2512943148612976, -0.316549152135849, -0.33975353837013245, 0.5037037134170532, 0.4824683666229248, -0.7759103178977966, -0.23804450035095215, 0.5401967167854309, 0.16590802371501923, 0.35874056816101074, 0.8531925678253174, -0.11445682495832443, 0.6949886679649353, 0.14498817920684814, -0.09055482596158981, 0.0420459620654583, -0.8790088891983032, -0.06691285967826843, 0.39118126034736633, -0.28037795424461365, 0.3030354380607605 ]
http://arxiv.org/abs/2405.15787v1
http://arxiv.org/pdf/2405.15787v1
Extracting chemical food safety hazards from the scientific literature automatically using large language models
2024-05-01T08:02:10
2024-05-01T08:02:10
Neris Özen, Wenjuan Mu, Esther D. van Asselt, Leonieke M. van den Bulk
cs.IR
cs.IR, cs.CL
The number of scientific articles published in the domain of food safety has consistently been increasing over the last few decades. It has therefore become unfeasible for food safety experts to read all relevant literature related to food safety and the occurrence of hazards in the food chain. However, it is important that food safety experts are aware of the newest findings and can access this information in an easy and concise way. In this study, an approach is presented to automate the extraction of chemical hazards from the scientific literature through large language models. The large language model was used out-of-the-box and applied on scientific abstracts; no extra training of the models or a large computing cluster was required. Three different styles of prompting the model were tested to assess which was the most optimal for the task at hand. The prompts were optimized with two validation foods (leafy greens and shellfish) and the final performance of the best prompt was evaluated using three test foods (dairy, maize and salmon). The specific wording of the prompt was found to have a considerable effect on the results. A prompt breaking the task down into smaller steps performed best overall. This prompt reached an average accuracy of 93% and contained many chemical contaminants already included in food monitoring programs, validating the successful retrieval of relevant hazards for the food safety domain. The results showcase how valuable large language models can be for the task of automatic information extraction from the scientific literature.
[ 0.05420655384659767, -0.6940933465957642, 0.6994458436965942, 0.05047178268432617, 0.05260787531733513, -0.3407006859779358, -0.12183501571416855, -0.7585515379905701, -0.07040287554264069, 0.4451321065425873, -0.17259961366653442, -0.5314538478851318, -0.6959903836250305, 0.5829668045043945, -0.6903785467147827, 0.8688535094261169, -0.31393009424209595, -0.037734366953372955, 0.03455301374197006, 0.5581674575805664, -0.34082573652267456, -0.2805180549621582, -0.5565212965011597, 0.21191325783729553, 0.6412585377693176, 0.36950552463531494, 0.3908650875091553, 0.45842573046684265, 0.41448572278022766, 0.36853620409965515, -0.04956405982375145, -0.027087386697530746, 0.20083095133304596, 0.3997577130794525, -0.6150974631309509, -0.1705804020166397, -0.18362219631671906, 0.15084953606128693, 0.15143650770187378, 0.42718830704689026, 0.12561744451522827, 0.27880212664604187, 0.14743387699127197, 0.6105954647064209, -0.5743440389633179, 0.529604434967041, -0.4423275291919708, 0.14954949915409088, 0.3791322112083435, -0.31388697028160095, -0.5468424558639526, -0.6327219009399414, 0.2380836457014084, -0.7336548566818237, -0.3516058325767517, 0.21039064228534698, 0.7994447350502014, -0.04111040383577347, -0.49498775601387024, -0.5893661379814148, -0.7019099593162537, 0.7257615923881531, -0.6258590817451477, 0.1906823068857193, 0.4720967411994934, 0.4866380989551544, -0.4313417375087738, -0.6139575242996216, -0.4509716331958771, -0.6825741529464722, 0.09078942984342575, -0.11306438595056534, 0.005402629263699055, -0.19041183590888977, 0.4444657564163208, -0.08585108816623688, -0.45463791489601135, 0.06615914404392242, -0.3571837246417999, -0.1533740609884262, 0.6063122749328613, 0.18427354097366333, 0.6274431943893433, -0.22841030359268188, -0.40177544951438904, -0.38670673966407776, -0.4836488962173462, -0.04492875188589096, -0.10357002168893814, 0.3922891318798065, 0.20624446868896484, 0.7334057092666626, -0.3408149778842926, 0.32530251145362854, -0.25730347633361816, -0.30988001823425293, 0.10497730225324631, -0.47481003403663635, 0.19766922295093536, 0.18461091816425323, 0.8919803500175476, 0.5197230577468872, 0.3305893838405609, 0.0553162507712841, -0.18867142498493195, -0.1773097813129425, -0.013616111129522324, -0.7075559496879578, -0.37757378816604614, 0.2549285292625427, -0.25823092460632324, -0.3589189648628235, -0.07157737761735916, -0.9973622560501099, -0.634340763092041, -0.2093910425901413, 0.5155435800552368, -0.23140981793403625, -0.07861047238111496, 0.029563747346401215, -0.2344249039888382, -0.12836025655269623, 0.2925818860530853, -0.7649065852165222, 0.1001230850815773, 0.440534383058548, 0.819363534450531, -0.22054126858711243, 0.22677992284297943, -0.6533105373382568, 0.4002973437309265, 0.04308440536260605, 0.8076156377792358, -0.5168361067771912, -0.23525512218475342, -0.11363216489553452, 0.3477698266506195, 0.04390208050608635, -0.39801710844039917, 0.5693565011024475, -0.5149354338645935, -0.09681415557861328, -0.3884124159812927, -0.2810344994068146, -0.30364149808883667, 0.11128982156515121, -0.6711627840995789, 0.8777673840522766, -0.03887839615345001, -0.6436366438865662, 0.3024686276912689, -0.5566665530204773, -0.7080190181732178, 0.0496821254491806, -0.09877826273441315, -0.14004330337047577, -0.3533599376678467, 0.4144406318664551, 0.43402549624443054, -0.6912568807601929, 0.43630844354629517, -0.2974587678909302, 0.18038538098335266, 0.3283770680427551, -0.4065031111240387, 0.4723702073097229, 0.28242403268814087, -0.2916567623615265, 0.17658863961696625, -0.4360464811325073, 0.06901799142360687, 0.16828873753547668, -0.5825219750404358, -0.32204312086105347, 0.08292525261640549, 0.261246919631958, 0.478716641664505, 0.1787802278995514, -0.5217827558517456, -0.06790032982826233, -0.2031734436750412, 0.3626827597618103, 0.6799109578132629, 0.38819822669029236, 0.2684370279312134, -0.29508450627326965, 0.39429450035095215, -0.08467765897512436, 0.20882904529571533, -0.32045137882232666, -0.36869317293167114, -0.1872192621231079, -0.3061028718948364, 0.4888409674167633, 0.9352970719337463, -0.7396936416625977, 0.9615693688392639, -0.042675647884607315, -0.5310669541358948, 0.10987178236246109, -0.09205640852451324, 0.05141335353255272, 0.7284068465232849, 0.3648611903190613, 0.03403467684984207, -0.4149608612060547, -0.4600009620189667, -0.2703549265861511, -0.1296735256910324, -0.11688993871212006, 0.04280813783407211, 0.611893355846405, -0.11472316831350327, 0.9335333108901978, -0.9254416227340698, 0.2758820354938507, -0.10788557678461075, 0.12460128217935562, 0.3218052089214325, 0.5284765362739563, 0.3532855212688446, -0.6565994024276733, -0.8652363419532776, 0.4701876640319824, -0.8531246781349182, -0.18506036698818207, 0.2121470868587494, -0.20674175024032593, 0.21712270379066467, 0.6145212054252625, -0.6110813021659851, 0.3126169741153717, 0.23659110069274902, -0.030142225325107574, 0.8878778219223022, -0.1145835667848587, 0.20947299897670746, -0.9186504483222961, 0.5780823826789856, 0.514034628868103, 0.05792014300823212, -0.5100096464157104, -0.1677245795726776, 0.13202181458473206, -0.2530228793621063, -0.43897372484207153, 0.7519939541816711, -0.523678183555603, 0.21793468296527863, -0.17369422316551208, 0.029115628451108932, 0.1998046189546585, 0.034479763358831406, 0.19596925377845764, 0.4613857567310333, 0.5640419721603394, -0.7967395186424255, 0.5149473547935486, 0.005536225158721209, -0.384572833776474, 0.0001839150208979845, -0.6007562875747681, -0.5001339912414551, -0.2074868083000183, 0.5350123047828674, -1.0536351203918457, -0.3928035795688629, 0.6564165353775024, 0.04710416495800018, 0.16778810322284698, -0.006114369258284569, -0.7253154516220093, -0.6160337924957275, -0.057991769164800644, -0.15455028414726257, 0.3465774357318878, -0.33992695808410645, 0.5294877290725708, 0.6777572631835938, -0.9290772676467896, -0.3334791362285614, -0.14527994394302368, -0.08838814496994019, -0.23279593884944916, -0.2652147114276886, -0.45275530219078064, -0.2947821617126465, -0.14895716309547424, -0.356968492269516, -0.4355556070804596, -0.08460105210542679, 0.22812989354133606, 0.34749123454093933, 0.3373705744743347, 0.2121303826570511, 0.2137482613325119, 0.13745717704296112, -0.24337612092494965, 0.3457678258419037, -0.05662684515118599, 0.40933385491371155, 0.11300310492515564, 0.07980144023895264, -0.6160467267036438, 0.5210731029510498, 0.6127452850341797, -0.2949279546737671, 0.45376017689704895, 0.26903387904167175, -0.5029112100601196, 0.11457737535238266, -0.10564729571342468, -0.3686327636241913, -0.4992021322250366, 0.4051375389099121, 0.029591882601380348, -0.13143840432167053, 0.14249083399772644, -0.2832067012786865, 0.15520310401916504, 0.5751582384109497, -0.021364770829677582, -0.14978258311748505, 1.066288948059082, 0.2836105227470398, -0.1930280476808548, 0.451117604970932, 0.11965969204902649, 0.12992748618125916, -0.24207524955272675, -0.4988992512226105, -1.034546136856079, 0.36286085844039917, -0.07802087813615799, -0.38402169942855835, 0.7357480525970459, -0.6105894446372986, -0.42704150080680847, 0.32617413997650146, -0.4766438901424408, 0.7805178761482239, 0.11823531240224838, 0.17704057693481445, 0.42344674468040466, 0.3673136532306671, -0.39330151677131653, 0.18762387335300446, -0.47540396451950073, -0.6996192336082458, 0.5843163132667542, 0.6755695939064026, 0.9971581101417542, -0.10713189840316772, 0.29623112082481384, 0.1677032858133316, 0.4359890818595886, -0.8533546924591064, 0.6154730319976807, -0.12784817814826965, -0.7748281359672546, -0.48314207792282104, -0.5097178220748901, -0.6564085483551025, 0.11218618601560593, -0.41435110569000244, -0.7090243101119995, 0.02859046868979931, -0.03213786333799362, -0.48697149753570557, -0.01054480392485857, -0.8645074367523193, 0.6460466384887695, -0.5536154508590698, -0.12290505319833755, 0.3806113004684448, -0.919165313243866, 0.3284507691860199, -0.4382898211479187, 0.5530489683151245, -0.2894405722618103, 0.019468456506729126, 0.7447607517242432, -0.22789061069488525, 1.0394423007965088, -0.11370088905096054, -0.597756028175354, 0.20611533522605896, 0.2227848470211029, 0.9141412973403931, -0.23077604174613953, -0.28392812609672546, -0.14926402270793915, 0.12369032204151154, 0.03360757976770401, -0.2509818971157074, 0.6086685061454773, -0.2761439383029938, -0.3686668574810028, -0.8043114542961121, -0.5164198875427246, -0.11755720525979996, 0.540252685546875, 0.09768830239772797, -0.02268274314701557, -0.00926347728818655, -0.18642671406269073, 0.577115535736084, -0.5746906399726868, 0.6321064829826355, 0.7356716394424438, -0.23990309238433838, -0.18503427505493164, 0.8191884756088257, 0.22742298245429993, 0.06696406751871109, 0.33043548464775085, 0.45777595043182373, -0.5524472594261169, -0.23606322705745697, -0.17749258875846863, 0.0037295965012162924, -0.916876494884491, -0.41003113985061646, -1.0297695398330688, -0.2695310115814209, -0.45448005199432373, -0.005092964507639408, 0.059468504041433334, -0.19541700184345245, -0.4726133644580841, -0.16922132670879364, 0.4394056797027588, 0.6206810474395752, 0.06868305057287216, 0.0424874946475029, -1.3111293315887451, 0.2740587890148163, 0.12238766998052597, 0.09091594070196152, 0.3033529818058014, -0.24955150485038757, -0.07452800869941711, -0.09268795698881149, -0.17909514904022217, -1.2217520475387573, 0.7105273604393005, 0.08995412290096283, 0.6104452013969421, 0.43914705514907837, 0.3850261867046356, 0.32294806838035583, -0.5404473543167114, 0.6214879751205444, 0.5551932454109192, -0.7617255449295044, 0.6211249828338623, -0.5204958915710449, 0.24357931315898895, 0.5871906280517578, 1.1013071537017822, -0.6561757922172546, -0.37214359641075134, -0.06752808392047882, -1.2630681991577148, 0.3961232304573059, -0.14702068269252777, -0.41231927275657654, -0.3717750608921051, -0.009310834109783173, 0.42428579926490784, -0.13719020783901215, -0.7033731341362, 0.11148223280906677, 0.25853922963142395, -0.317474365234375, 0.03256760537624359, -0.20277635753154755, -0.2575245797634125, -0.41623517870903015, 0.8546324968338013, 0.01825197972357273, -0.03465303033590317, 0.17768047749996185, -0.23966193199157715, -0.49970486760139465, 0.40929317474365234, 0.3186328411102295, 0.45108094811439514, -0.043812502175569534, 0.33918607234954834, 0.087299644947052, -0.6197713613510132, 0.23087774217128754, 0.07886862754821777, -0.016674449667334557, -0.20953452587127686, 0.17071831226348877, 0.12838959693908691, 0.10495710372924805, -0.9836583733558655, 0.33625632524490356, -0.07899941504001617, 0.1446312963962555, -0.3771102726459503, 0.20200344920158386, -0.09898834675550461, 0.11304044723510742, 0.6303618550300598, 0.025023579597473145, 0.4553467035293579, -0.509878396987915, 0.4926896095275879, 0.0907401442527771, 0.18806326389312744, 0.006553220562636852, 0.39624616503715515, 0.4728747308254242, 0.21948203444480896, 0.4320049583911896, -0.0554240420460701, -0.3834230601787567, 0.7921090126037598, 0.7760933637619019, 0.5484395027160645, -0.4403454065322876, 0.37118902802467346, 0.7411116361618042, 0.30473262071609497, -0.18851996958255768, 0.3301263451576233, 0.4102184772491455, -0.24221141636371613, -0.39182519912719727, -0.7557974457740784, -0.005422690417617559, 0.21937724947929382, -0.36462026834487915, 0.07151541113853455, -0.5562746524810791, -0.058281298726797104, 0.5487872958183289, -0.2715884745121002, -0.26507899165153503, 0.10438904166221619, -0.011784300208091736, 1.0009706020355225, -1.3838788270950317, 0.3934597373008728, 0.6351205706596375, -0.3593055009841919, -0.7906438708305359, 0.14399805665016174, 0.04168272390961647, -0.35182294249534607, 0.6877193450927734, 0.23490537703037262, 0.10562294721603394, -0.2861056625843048, -0.6180465221405029, -1.1531099081039429, 0.7668846249580383, 0.19321811199188232, -0.8619794845581055, -0.23995357751846313, 0.07835211604833603, 0.3973662555217743, -0.22829891741275787, 0.41744640469551086, 0.4093470871448517, 0.8868356347084045, 0.25359198451042175, -0.8714118003845215, 0.4987562894821167, -0.3320654034614563, -0.15591908991336823, 0.04101944714784622, -0.11764879524707794, 0.4455876350402832, -0.16279329359531403, -0.333861380815506, -0.04156213998794556, 0.5709239840507507, 0.1842634230852127, 0.46403080224990845, 0.5162232518196106, -0.15297085046768188, 0.7868126630783081, 0.16314345598220825, 0.833785891532898, -0.03171415627002716, 0.09641262143850327, 1.0178099870681763, -0.521690845489502, 0.8176907896995544, 0.3268905282020569, -0.03357435390353203, 0.18476428091526031, 1.0073771476745605, -0.12606240808963776, 0.7232040762901306, 0.1266927868127823, -0.4303130507469177, -0.04453359544277191, -0.23424071073532104, -0.3345482349395752, 0.14193929731845856, 0.6803306341171265, -0.8695167303085327, -0.4190162718296051, 0.19811569154262543, 0.214774027466774, -0.2574302554130554, -0.3139893114566803, 0.6495595574378967, 0.11348550021648407, -0.7547863125801086, 0.41876503825187683, 0.023202549666166306, 0.05064832791686058, -0.3711187243461609, -0.37843719124794006, 0.20027892291545868, -0.1926889270544052, -0.1991567611694336, -0.7893143892288208, -0.021433964371681213, 0.07072804123163223, -0.09124358743429184, 0.19479326903820038, 0.743442714214325, -0.607532262802124, -0.4949718117713928, 0.17913898825645447, 0.11900442093610764, 0.34157055616378784, -0.11568272858858109, -0.6399372816085815, 0.05334842950105667, -0.23125135898590088, -0.024912754073739052, 0.08407049626111984, 0.15045030415058136, -0.20465274155139923, 0.5198336243629456, 0.7258613109588623, -0.0282683577388525, -0.059046268463134766, -0.3524329364299774, 1.0104613304138184, -0.6098475456237793, -0.6550484299659729, -0.46001848578453064, 0.5551692843437195, -0.17646245658397675, 0.22416235506534576, 0.5333350300788879, 0.3053444027900696, 0.2598962187767029, -0.44006824493408203, 0.9056847095489502, -0.21923084557056427, 0.2147642970085144, -0.5070024132728577, 0.8357551693916321, -0.2747490704059601, 0.3492850661277771, -0.46750348806381226, -0.7383542656898499, -0.24112235009670258, 0.5627787113189697, -0.5460733771324158, 0.11495994031429291, 1.0194711685180664, 0.7778918743133545, 0.10123161226511002, 0.03432983160018921, -0.12403171509504318, 0.4615473747253418, 0.21875372529029846, 0.2972899377346039, 0.5380957722663879, -0.0397106297314167, 0.20710328221321106, 0.03421957790851593, -0.4450909197330475, -0.42781350016593933, -1.1282399892807007, -0.557037889957428, -0.5498842597007751, -0.5351077914237976, -0.3604651987552643, 0.27161741256713867, 1.1221102476119995, 0.4342382848262787, -0.7458460927009583, 0.04555715620517731, 0.17361755669116974, 0.00427979463711381, -0.1999194473028183, -0.20432597398757935, 0.4437289237976074, -0.21302996575832367, -0.3527202904224396, 0.4811420142650604, 0.09185527265071869, 0.21216100454330444, 0.2389131635427475, 0.19185875356197357, -0.44166043400764465, 0.11623746901750565, 0.7899206280708313, 0.7501557469367981, -0.33415231108665466, -0.33585041761398315, -0.3721314072608948, -0.2949865162372589, -0.360097199678421, 0.18381021916866302, -0.11502579599618912, 0.490425169467926, 0.5184097290039062, 0.4332599639892578, 0.23881986737251282, -0.12322170287370682, 0.610012948513031, -0.5982171297073364, -0.3557944595813751, 0.06937258690595627, 0.15893113613128662, 0.043931085616350174, -0.8020941019058228, 0.3749893009662628, 0.010443032719194889, -0.5079440474510193, -0.7335095405578613, 0.10421506315469742, -1.0340988636016846, -0.47300294041633606, 1.4922157526016235, -0.2475874423980713, -0.6822871565818787, -0.2744380831718445, -0.2929043471813202, 0.4754399359226227, -0.4305823743343353, 0.904227077960968, 0.4888909161090851, 0.11482615023851395, 0.04085633531212807, -0.7170496582984924, 0.5767775774002075, -0.04788963124155998, -1.2748743295669556, 0.1656028926372528, 0.5951097011566162, 0.7087569236755371, 0.24891354143619537, 0.09090166538953781, -0.3408631384372711, 0.3164255917072296, -0.184121772646904, 0.27961546182632446, 0.23251107335090637, -0.8113166093826294, -0.19961044192314148, 0.17163850367069244, -0.04151298478245735, 0.07833177596330643 ]
http://arxiv.org/abs/2405.00361v1
http://arxiv.org/pdf/2405.00361v1
AdaMoLE: Fine-Tuning Large Language Models with Adaptive Mixture of Low-Rank Adaptation Experts
2024-05-01T07:33:43
2024-05-01T07:33:43
Zefang Liu, Jiahua Luo
cs.CL
cs.CL
We introduce AdaMoLE, a novel method for fine-tuning large language models (LLMs) through an Adaptive Mixture of Low-Rank Adaptation (LoRA) Experts. Moving beyond conventional methods that employ a static top-k strategy for activating experts, AdaMoLE dynamically adjusts the activation threshold using a dedicated threshold network, adaptively responding to the varying complexities of different tasks. By replacing a single LoRA in a layer with multiple LoRA experts and integrating a gating function with the threshold mechanism, AdaMoLE effectively selects and activates the most appropriate experts based on the input context. Our extensive evaluations across a variety of commonsense reasoning and natural language processing tasks show that AdaMoLE exceeds baseline performance. This enhancement highlights the advantages of AdaMoLE's adaptive selection of LoRA experts, improving model effectiveness without a corresponding increase in the expert count. The experimental validation not only confirms AdaMoLE as a robust approach for enhancing LLMs but also suggests valuable directions for future research in adaptive expert selection mechanisms, potentially broadening the scope for optimizing model performance across diverse language processing tasks.
[ -0.47454285621643066, -0.7402933835983276, 0.32416287064552307, -0.04944118112325668, -0.14090092480182648, 0.43695515394210815, -0.5775818824768066, -0.6797499060630798, 0.05699767544865608, 0.4156787395477295, -0.09160599857568741, -0.37990471720695496, -0.6919206380844116, 0.17715641856193542, -0.19071975350379944, 0.7636417150497437, 0.3098162114620209, -0.28465646505355835, -0.22030362486839294, -0.24976256489753723, -0.2554808557033539, 0.11136776208877563, -1.1525063514709473, -0.2757505178451538, 0.3861388564109802, 0.6433228850364685, 0.4712463319301605, 0.45867329835891724, 0.09890235215425491, 0.43710118532180786, -0.4140997529029846, 0.43852803111076355, -0.5895599722862244, 0.3932036757469177, -0.49296826124191284, -0.3666866719722748, -0.9344145655632019, -0.2223278135061264, 0.4031077027320862, 0.8178840279579163, -0.16247065365314484, 0.14444683492183685, 0.4010452628135681, 0.5087334513664246, -0.7809752821922302, -0.31681880354881287, -1.1636356115341187, -0.1477711945772171, 0.12873652577400208, -0.4337550103664398, -0.4440079927444458, -0.13366974890232086, -0.11167510598897934, -0.6137229204177856, -0.12328571826219559, 0.342054545879364, 0.21419279277324677, 0.5614755153656006, -0.14616236090660095, -0.10930339246988297, -0.8518639206886292, 0.945757269859314, -0.995688259601593, 0.2592785060405731, 0.2520373463630676, 0.0524606816470623, -0.11151547729969025, -0.22687122225761414, -0.3105534017086029, -0.3980228304862976, 0.49345138669013977, -0.18510518968105316, -0.1586044579744339, -0.07074020057916641, -0.0823957622051239, 0.21311219036579132, -0.09273035079240799, 0.5958248376846313, -0.3209940493106842, 0.06840537488460541, 0.6135711669921875, -0.2882683575153351, 0.18318170309066772, 0.38573935627937317, -0.18701571226119995, 0.19793345034122467, -0.4914611577987671, 0.09749637544155121, 0.44462376832962036, 0.5241865515708923, 0.06527774035930634, 0.1878044456243515, -0.2910597324371338, 0.8229451775550842, 0.43989911675453186, -0.2692376375198364, 0.07766520977020264, -0.05640975385904312, -0.21755492687225342, 0.3507043123245239, 0.6512491703033447, 0.22571901977062225, 0.36280640959739685, -0.28717124462127686, -0.26189544796943665, -0.467235803604126, 0.2919566333293915, -0.709576427936554, -0.30182135105133057, 0.26096299290657043, -0.00836971029639244, -0.7095386385917664, -0.5203173160552979, -0.9273157119750977, -0.6145029664039612, -0.14989779889583588, 0.2112390100955963, -0.3732016980648041, -0.23578985035419464, 0.006612659431993961, 0.28022468090057373, -0.21417060494422913, 0.42090195417404175, -1.2142010927200317, 0.5745832324028015, 0.5848060846328735, 0.4787982106208801, -0.12971051037311554, -0.49365234375, -0.873206615447998, 0.143137589097023, -0.5624582767486572, 0.9940329194068909, -0.9508662223815918, 0.002240784466266632, -0.17357151210308075, -0.3389951288700104, -0.2344295233488083, -0.7020972967147827, 0.7120826840400696, -0.5040884613990784, -0.026703061535954475, -0.09778521955013275, -0.4623260796070099, -0.156793013215065, 0.28379666805267334, -0.3727986216545105, 1.20158052444458, 0.1124109998345375, -0.3934711217880249, 0.5415729284286499, -0.8570291996002197, -0.44102296233177185, 0.2262158989906311, 0.011989704333245754, -0.07858427613973618, 0.23207210004329681, 0.5401305556297302, 0.4322744607925415, -0.23240163922309875, -0.18521341681480408, -0.3117373585700989, -0.20135937631130219, 0.20326918363571167, -0.083274245262146, 0.5167864561080933, 0.09707604348659515, -0.10768087953329086, 0.5656580924987793, -1.101080298423767, -0.13326166570186615, 0.020731158554553986, -0.5405917167663574, -0.7067150473594666, 0.3798812925815582, -0.18226204812526703, -0.009308596141636372, 0.3136960566043854, -0.4645825922489166, 0.19780071079730988, -0.515272855758667, 0.7077381610870361, 0.9927353858947754, 0.14021778106689453, 0.721609890460968, -0.1588098108768463, 0.41182082891464233, 0.02949259616434574, -0.020262060686945915, 0.2562576234340668, -0.31489717960357666, -0.8773412704467773, -0.13017074763774872, 0.4323853552341461, 0.5158776044845581, -0.7692928910255432, 0.6427512168884277, -0.32449766993522644, -0.3305686116218567, -0.6194048523902893, 0.7507072687149048, 0.07079791277647018, 0.5046784281730652, 0.3097471594810486, -0.08059804141521454, -0.2329367697238922, -0.6612693071365356, -0.15792445838451385, -0.013063370250165462, 0.26552897691726685, 0.3661106824874878, 0.31609874963760376, 0.1339469999074936, 0.6302251815795898, 0.010719671845436096, -0.19824589788913727, -0.5285906791687012, 0.07786288857460022, 0.371367871761322, 0.49142929911613464, 0.7178733348846436, -0.41027751564979553, -0.4203777313232422, 0.3836825489997864, -0.38438642024993896, -0.09666574001312256, -0.18726849555969238, -0.1058131754398346, 0.10207876563072205, 0.7274021506309509, -0.05611862987279892, -0.32621216773986816, 0.7363627552986145, -0.23045314848423004, 0.24648205935955048, -0.39831629395484924, 0.1278407871723175, -1.17183256149292, -0.04629979655146599, 0.0910729169845581, -0.5161213874816895, -0.7126435041427612, 0.27803874015808105, -0.15252184867858887, -0.023939987644553185, -0.6314607858657837, 0.6650575399398804, -0.3666432797908783, -0.02737419307231903, -0.32942628860473633, 0.3386160135269165, -0.22087933123111725, 0.4367499053478241, -0.5697228908538818, 1.0108306407928467, 0.941868245601654, -0.8287169933319092, 0.2631121575832367, 0.3227786123752594, -0.34859803318977356, 0.7370707988739014, -0.5021329522132874, 0.4465485215187073, 0.041589900851249695, -0.2660049796104431, -0.8605356216430664, -0.2437370866537094, 0.22536341845989227, -0.2491448074579239, 0.24024489521980286, -0.5973399877548218, -0.18837568163871765, -0.14902785420417786, -0.2975331246852875, 0.4666632115840912, 0.47052475810050964, -0.2381603717803955, 0.6905587911605835, 0.32044506072998047, -0.5375143885612488, -0.452735960483551, -0.44000208377838135, 0.3853873610496521, -0.14971423149108887, -0.3371010720729828, 0.11578024923801422, -0.11349622160196304, -0.33714908361434937, -0.008832139894366264, -0.044812850654125214, 0.0066150035709142685, 0.5936146974563599, -0.01588272489607334, -0.046762652695178986, -0.2568493187427521, -0.08442974835634232, 0.3873162567615509, -0.13809461891651154, -0.21337468922138214, -0.3991047143936157, 0.6253010034561157, -0.08202138543128967, -0.15465441346168518, -0.22962193191051483, 0.10522583872079849, 0.5862125754356384, -0.3650067448616028, 0.8611565828323364, 0.6872954368591309, -0.367881715297699, -0.6049660444259644, -0.33802032470703125, -0.03946837782859802, -0.5034396648406982, 0.5699607133865356, -0.4049060046672821, -0.9324716329574585, 0.6009591817855835, -0.27552324533462524, 0.11829551309347153, 0.3748866617679596, 0.6001697182655334, 0.12360985577106476, 0.8408353924751282, 0.5975873470306396, -0.30572447180747986, 0.43186599016189575, 0.012582584284245968, 0.303049236536026, -1.1312228441238403, 0.19557039439678192, -0.4841475784778595, -0.6201983094215393, -0.41808539628982544, -0.29021063446998596, 0.3866730332374573, 0.35071277618408203, -0.10915542393922806, 0.0535203218460083, -0.6238343119621277, 0.7639212012290955, 0.6155961751937866, 0.21681401133537292, 0.3051542341709137, 0.004423005506396294, 0.12248046696186066, 0.3334052562713623, -0.6929832100868225, -0.41967299580574036, 1.0723352432250977, 0.287566214799881, 0.8003037571907043, 0.14526879787445068, 0.7032133936882019, 0.6701712608337402, -0.0346054770052433, -0.7110018134117126, 0.8009630441665649, -0.3274948000907898, -0.45348575711250305, -0.5338025093078613, -0.21633663773536682, -0.7609309554100037, 0.08296962827444077, -0.5513421893119812, -1.0322455167770386, 0.4149211347103119, 0.3637535572052002, -0.915509819984436, 0.5185309648513794, -0.43001532554626465, 0.47093266248703003, -0.18207499384880066, -0.5084291100502014, -0.48962727189064026, -0.19899074733257294, 0.04463338479399681, -0.17001165449619293, 0.21129707992076874, -0.4047148823738098, -0.1792154312133789, 0.7670782208442688, 0.007930010557174683, 0.8610445857048035, -0.21010349690914154, -0.22320590913295746, 0.06684031337499619, 0.33812272548675537, 0.734932541847229, -0.10216830670833588, -0.4947618544101715, -0.05129345878958702, -0.15427061915397644, -0.617784857749939, -0.3068482577800751, 0.9324965476989746, -0.9252801537513733, -0.5281578898429871, -0.10424446314573288, -0.7420312166213989, -0.4283052384853363, 0.38392987847328186, -0.1062241867184639, 0.48770129680633545, -0.09447383135557175, 0.3019150495529175, 0.5737391710281372, -0.20310670137405396, 0.4964728355407715, 0.18359704315662384, -0.12227465212345123, -0.5779979825019836, 0.9997352957725525, -0.2258942425251007, 0.3874140679836273, 0.2717097997665405, 0.10402815788984299, 0.14547240734100342, -1.3381749391555786, -0.610334038734436, -0.05498872697353363, -0.7647855281829834, -0.08266838639974594, -0.48759815096855164, -0.11140459775924683, -0.48344358801841736, -0.3636641800403595, -0.5271620154380798, -0.33538374304771423, -0.39968374371528625, -0.06759301573038101, 0.3635979890823364, 0.5969194769859314, 0.14703795313835144, 0.2637676000595093, -0.4725382924079895, 0.18045787513256073, 0.5538226366043091, 0.31300967931747437, 0.01302605215460062, -0.8095452189445496, -0.27868619561195374, -0.07796122878789902, 0.005301968660205603, -0.4866817891597748, 0.18682754039764404, 0.6849262118339539, 0.7091079354286194, 0.4523601830005646, 0.11743473261594772, 0.4108451306819916, -0.6071485280990601, 0.5042832493782043, -0.1702203005552292, -0.9679728150367737, 0.37244802713394165, -0.6018583178520203, 0.04205593839287758, 0.8890482187271118, -0.040203601121902466, -0.3027845025062561, -0.44336339831352234, -0.22970260679721832, -0.8911508917808533, 0.6637927889823914, 0.07343978434801102, 0.3497511148452759, 0.31566935777664185, 0.3592621684074402, 0.32124727964401245, 0.10284999758005142, -0.5869148373603821, 0.09667278081178665, 0.19193266332149506, -0.3489297330379486, 0.14257103204727173, -0.43421486020088196, -0.44302263855934143, -0.28549742698669434, 0.8809477090835571, -0.493186891078949, 0.2730630338191986, 0.02142074517905712, -0.4054526388645172, -0.5788590908050537, 0.5940242409706116, 0.8600091934204102, 1.1080362796783447, -0.3912159204483032, 0.14974893629550934, 0.7423347234725952, -0.11163022369146347, -0.06408464908599854, 0.3010704517364502, -0.21510739624500275, -0.611190915107727, 0.5137181282043457, 1.069618821144104, 0.454946905374527, -0.4859340786933899, 0.05901801586151123, 0.21656844019889832, -0.46103447675704956, -0.1468820422887802, 0.6647183895111084, -0.07434841245412827, 0.5411147475242615, 0.6546220779418945, 0.5862677693367004, -0.018941855058073997, -0.45074063539505005, 0.03203201666474342, 0.17750774323940277, -0.27611976861953735, -0.2935577929019928, 0.8890625834465027, 0.6628947257995605, -0.4132464826107025, 0.126104936003685, -0.38495934009552, -0.32290738821029663, 0.36102041602134705, 0.5070204138755798, 0.762953519821167, -0.35522890090942383, 0.05670104920864105, 0.1282709240913391, 0.3403850495815277, 0.18427851796150208, 0.06378994882106781, 0.10109205543994904, -1.0882846117019653, -0.6911547780036926, -0.7338159680366516, -0.5293793082237244, 0.12451709806919098, -0.48132017254829407, -0.020519189536571503, -0.8109158277511597, 0.09385207295417786, 0.15145736932754517, -0.12790651619434357, -0.4206073582172394, 0.03218532353639603, 0.5183087587356567, 1.0624477863311768, -0.9843377470970154, 0.7797623872756958, 0.9275979399681091, 0.0408010259270668, -0.3028469979763031, 0.013133350759744644, -0.2442585676908493, -0.9123597145080566, 0.17537935078144073, -0.30405470728874207, -0.13111025094985962, 0.5045718550682068, -0.5234118103981018, -0.7587026953697205, 0.8894211649894714, 0.3273738622665405, -0.6924066543579102, 0.15931513905525208, 0.009006639011204243, 0.5774909853935242, -0.48547613620758057, 0.21324321627616882, 0.5771984457969666, 0.40502944588661194, 0.11597342044115067, -0.7729705572128296, 0.051256511360406876, -0.2747569680213928, -0.17701327800750732, 0.1596745401620865, -0.4581931233406067, 0.614371657371521, -0.18923233449459076, 0.40965536236763, 0.1278887242078781, 0.7015981078147888, 0.2631339728832245, 0.05155717581510544, 0.9825501441955566, 0.48940616846084595, 0.960067629814148, 0.18754522502422333, 0.9785206913948059, -0.7151792049407959, 0.15783612430095673, 1.0499777793884277, -0.44759392738342285, 0.9394930601119995, 0.3055761456489563, -0.14861613512039185, 0.4277987480163574, 0.5561836361885071, 0.117714062333107, 0.43587860465049744, -0.25826868414878845, -0.3260803818702698, -0.6706620454788208, -0.012817036360502243, -0.0802074670791626, 0.43459051847457886, 0.3013280928134918, -0.24997863173484802, -0.07210133969783783, 0.12466685473918915, 0.026791784912347794, 0.13393117487430573, -0.5959864854812622, 0.7992474436759949, -0.12125666439533234, -0.5704253911972046, 0.7495819330215454, -0.040173809975385666, 0.4325101375579834, -0.19708453118801117, 0.2061052769422531, -0.19699952006340027, 0.31777670979499817, -0.060582563281059265, -0.5220049619674683, -0.2645365595817566, -0.07506310194730759, -0.003152035642415285, -0.01593254692852497, 0.955634355545044, -0.564541757106781, -0.896858274936676, 0.20722445845603943, 0.5364993214607239, -0.14826364815235138, -0.08285238593816757, -0.9366753101348877, 0.028079845011234283, 0.014117823913693428, -0.15529285371303558, 0.2349056452512741, 0.37028539180755615, 0.07178487628698349, 0.6924747228622437, 0.6976864337921143, 0.3530949056148529, 0.006796254310756922, 0.2683512568473816, 0.9956536293029785, -0.4764816164970398, -0.3876369893550873, -0.6798086762428284, 0.4229181110858917, -0.21497710049152374, -0.3111536204814911, 0.5539212226867676, 0.20762336254119873, 0.6390053629875183, 0.0798625648021698, 0.745083212852478, -0.042056646198034286, 0.5670070052146912, -0.6426199078559875, 0.6984043717384338, -0.5575765371322632, 0.2858121395111084, -0.15721233189105988, -1.1826658248901367, -0.3068808913230896, 0.43321824073791504, -0.48912131786346436, 0.31465113162994385, 0.4921810030937195, 0.6339806914329529, -0.33426353335380554, -0.21122460067272186, 0.401826411485672, 0.7882719039916992, 0.37370702624320984, 0.5112795233726501, 0.6867930293083191, -0.14828139543533325, 0.4041036367416382, -0.24711905419826508, -0.2527294158935547, -0.3958311676979065, -0.8986908793449402, -1.1883832216262817, -0.25565165281295776, -0.4174128472805023, 0.03830994293093681, 0.38848018646240234, 1.3450089693069458, 0.9676448702812195, -1.2556639909744263, 0.06781081110239029, 0.007832293398678303, 0.1382560133934021, -0.3660244345664978, -0.0965849906206131, 0.1755092293024063, -0.5251753330230713, -1.0744367837905884, 0.8658610582351685, 0.4705675542354584, -0.3534664213657379, -0.13033761084079742, -0.13307926058769226, -0.19485454261302948, 0.09736698120832443, 0.5671830177307129, 0.24534231424331665, -0.5697563290596008, -0.5028163194656372, -0.3705745339393616, 0.1914006918668747, 0.19609999656677246, 0.4925358295440674, -0.5854004621505737, 0.17026641964912415, 0.45449042320251465, 0.7603131532669067, -0.02732669934630394, 0.10813528299331665, 0.299173504114151, -0.7652654647827148, 0.38324329257011414, 0.21629977226257324, 0.3679203391075134, 0.30027952790260315, -0.2999480068683624, 0.38634026050567627, 0.05581046640872955, -0.7433215975761414, -0.9099079966545105, -0.07763317972421646, -1.2023837566375732, -0.3245057165622711, 1.2182328701019287, 0.2718065679073334, -0.26681047677993774, -0.09415382146835327, -0.24823784828186035, -0.0833994597196579, -0.7000166773796082, 0.9050589203834534, 0.4414083957672119, 0.022350329905748367, -0.5648084878921509, -0.6880379915237427, 0.29795515537261963, 0.4435214102268219, -0.8963468074798584, -0.08167510479688644, 0.12416460365056992, 0.3468465805053711, 0.133210688829422, 0.2657453715801239, 0.48216262459754944, 0.04118482396006584, -0.24820801615715027, 0.11864428967237473, -0.44932398200035095, -0.42966675758361816, -0.11286207288503647, 0.15970125794410706, 0.6532973051071167, -0.04019983857870102 ]
http://arxiv.org/abs/2405.00332v3
http://arxiv.org/pdf/2405.00332v3
A Careful Examination of Large Language Model Performance on Grade School Arithmetic
2024-05-01T05:52:05
2024-05-03T17:53:26
Hugh Zhang, Jeff Da, Dean Lee, Vaughn Robinson, Catherine Wu, Will Song, Tiffany Zhao, Pranav Raja, Dylan Slack, Qin Lyu, Sean Hendryx, Russell Kaplan, Michele Lunati, Summer Yue
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) have achieved impressive success on many benchmarks for mathematical reasoning. However, there is growing concern that some of this performance actually reflects dataset contamination, where data closely resembling benchmark questions leaks into the training data, instead of true reasoning ability. To investigate this claim rigorously, we commission Grade School Math 1000 (GSM1k). GSM1k is designed to mirror the style and complexity of the established GSM8k benchmark, the gold standard for measuring elementary mathematical reasoning. We ensure that the two benchmarks are comparable across important metrics such as human solve rates, number of steps in solution, answer magnitude, and more. When evaluating leading open- and closed-source LLMs on GSM1k, we observe accuracy drops of up to 13%, with several families of models (e.g., Phi and Mistral) showing evidence of systematic overfitting across almost all model sizes. At the same time, many models, especially those on the frontier, (e.g., Gemini/GPT/Claude) show minimal signs of overfitting. Further analysis suggests a positive relationship (Spearman's r^2=0.32) between a model's probability of generating an example from GSM8k and its performance gap between GSM8k and GSM1k, suggesting that many models may have partially memorized GSM8k.
[ -0.4372020959854126, -0.5267674326896667, 0.8102168440818787, 0.023640206083655357, -0.10709366202354431, -0.027983753010630608, 0.07668331265449524, -0.3529561758041382, -0.32236671447753906, 0.6405972242355347, -0.5125178694725037, -0.4560142457485199, -0.8516204357147217, -0.13237857818603516, -0.3928711414337158, 0.6930165886878967, -0.10735909640789032, 0.21954289078712463, -0.5771629214286804, -0.12687888741493225, -0.08971837908029556, -0.861709475517273, -0.6611458659172058, -0.7206801176071167, 0.31314972043037415, 0.26047152280807495, 0.7744532823562622, 0.9710512757301331, 0.5727260112762451, 0.2958044707775116, -0.2558341920375824, 0.037641432136297226, -0.5445185899734497, -0.1027814969420433, -0.37320825457572937, -0.5945003032684326, -0.5982747077941895, 0.26383256912231445, 0.6934459805488586, 0.9659257531166077, -0.3744441866874695, 0.18353082239627838, -0.10176530480384827, 1.0941022634506226, -0.7055323123931885, 0.20003435015678406, -0.628657877445221, -0.18029649555683136, -0.4507638216018677, 0.13298895955085754, -0.6232730150222778, -0.42636924982070923, -0.14260457456111908, -0.7325336337089539, -0.016459794715046883, -0.08462057262659073, 0.6505571603775024, 0.36664313077926636, -0.4257314205169678, -0.39690306782722473, -0.6190910339355469, 0.9165631532669067, -0.8483381867408752, 0.3871762156486511, 0.8301834464073181, 0.48802104592323303, -0.2705747187137604, -0.5688411593437195, -0.34877902269363403, -0.1372469663619995, 0.19863681495189667, 0.11013417690992355, -0.10655784606933594, -0.0059118689969182014, 0.7438840270042419, 0.4011882543563843, -0.5801306962966919, -0.1605461984872818, -0.5991078615188599, -0.15065817534923553, 0.6659101843833923, 0.40747302770614624, 0.19029885530471802, -0.009851343929767609, -0.2533349096775055, -0.08970525115728378, -1.1938390731811523, 0.1826552450656891, 0.5865952372550964, 0.08138181269168854, 0.24018245935440063, 0.5811982750892639, -0.31877169013023376, 0.760502278804779, -0.3875902593135834, -0.2778366208076477, -0.020920855924487114, -0.17554113268852234, -0.20832829177379608, 0.18189892172813416, 0.5135036706924438, 0.09980855137109756, 0.64310222864151, -0.08292704820632935, -0.3397817313671112, 0.3669155240058899, 0.2056964486837387, -1.0190186500549316, -0.3671925961971283, -0.05950034037232399, -0.048573195934295654, -0.008851902559399605, 0.12366557866334915, -0.11315875500440598, -0.25497132539749146, -0.521386981010437, 0.37515708804130554, -0.3253602981567383, -0.07504041492938995, 0.5424506664276123, 0.22878436744213104, -0.2853921055793762, 0.33372077345848083, -0.8435242176055908, 0.41539302468299866, 1.2817002534866333, 0.5716604590415955, 0.032020844519138336, -0.2813775837421417, -0.36953994631767273, -0.07994575798511505, -0.6447482705116272, 0.6974529027938843, -0.6103584170341492, -0.37951356172561646, -0.02261524274945259, -0.17646004259586334, -0.2104460746049881, -0.9144361019134521, 0.842825710773468, -0.623190701007843, 0.031181728467345238, -0.42233848571777344, -0.9131957292556763, -0.15793189406394958, 0.21985800564289093, -0.6392806768417358, 0.989557683467865, 0.08976203948259354, -0.5178725123405457, 0.2967320382595062, -0.06644318252801895, -0.2397889345884323, -0.0951022207736969, -0.07221265882253647, -0.3894882798194885, 0.06274952739477158, 0.08939169347286224, 0.17324791848659515, -0.2676859200000763, 0.26695871353149414, -0.6926360130310059, -0.5325734615325928, 0.4149913787841797, -0.5046834349632263, 0.8186501264572144, 0.21859414875507355, 0.08802606165409088, -0.37352725863456726, -0.8340479731559753, 0.33450111746788025, -0.003384792013093829, -0.283856064081192, -0.5574349761009216, -0.15451017022132874, -0.47043275833129883, 0.548186182975769, -0.004619786515831947, -0.49659278988838196, 0.3154580295085907, -0.18486064672470093, 0.5667429566383362, 0.7132176756858826, -0.08569531887769699, 0.3562324643135071, -0.6311793923377991, 0.46489477157592773, -0.08179708570241928, 0.09929138422012329, -0.5197319984436035, -0.5698452591896057, -0.663176953792572, -0.19537082314491272, 0.44513723254203796, 0.4317423105239868, -0.5323036313056946, 0.13296745717525482, -0.5185030698776245, -0.48803791403770447, -0.3722497820854187, 0.21204334497451782, 0.43244266510009766, 0.485774427652359, 0.13114939630031586, -0.14874666929244995, -0.10690120607614517, -0.8520207405090332, -0.47896671295166016, -0.17801982164382935, -0.1735968291759491, 0.2861151695251465, 0.4345288872718811, 0.09915003180503845, 0.8286088705062866, -0.4596177637577057, -0.03678111732006073, 0.13294629752635956, 0.05107656121253967, 0.25072434544563293, 0.4483622610569, 0.31667304039001465, -0.3728269040584564, -0.2774166166782379, -0.19606159627437592, -0.8724995255470276, -0.18740585446357727, 0.14637045562267303, -0.3167335093021393, 0.03593623265624046, 0.32640978693962097, -0.6132762432098389, 0.4424532353878021, 0.5691064596176147, -0.5231932997703552, 0.48345956206321716, -0.12753230333328247, 0.14060159027576447, -0.7155605554580688, -0.07906574755907059, 0.2253294289112091, -0.15049320459365845, -0.5387647151947021, 0.03176764398813248, 0.34775781631469727, -0.024708915501832962, -0.30333277583122253, 0.43667837977409363, -0.12074044346809387, -0.13103578984737396, -0.09169869124889374, 0.09676042199134827, 0.1922297477722168, 0.12570446729660034, -0.395439088344574, 0.9627326726913452, 0.32281026244163513, -0.32233676314353943, 0.20116952061653137, 0.04397593066096306, -0.7471958994865417, 0.4481227695941925, -0.6467790007591248, 0.24431659281253815, 0.12084192782640457, 0.32169991731643677, -0.9771159887313843, -0.1875743865966797, -0.08090540766716003, -0.49932661652565, 0.20090089738368988, -0.5499024391174316, -0.6986520290374756, -0.23677043616771698, -0.17635835707187653, 0.4632169306278229, 0.486734539270401, -0.7020518779754639, 0.29565542936325073, 0.29583561420440674, -0.4033343493938446, -0.47512394189834595, -0.5910846590995789, 0.04910609871149063, -0.13562597334384918, -1.1407908201217651, -0.11690467596054077, 0.08290473371744156, -0.5730201601982117, -0.027873702347278595, -0.4444867670536041, -0.19071565568447113, 0.21183724701404572, 0.42994120717048645, 0.6013221740722656, -0.40730127692222595, 0.07280109077692032, 0.05082784965634346, -0.24774636328220367, 0.5086607336997986, -0.0817512720823288, 0.3692781925201416, -0.13537074625492096, -0.6653257608413696, -0.17886307835578918, -0.009534814395010471, 0.7554956674575806, -0.10836740583181381, 0.6744041442871094, -0.16929829120635986, -0.46989554166793823, -0.25046494603157043, -0.4771019518375397, -0.10476654767990112, -0.4903745949268341, 0.16574649512767792, -0.6143779158592224, -0.7126978039741516, 0.6863726377487183, -0.13905330002307892, -0.12132417410612106, 0.4198238253593445, 0.09175553917884827, 0.10042092949151993, 1.2593472003936768, 0.12463249266147614, -0.05899912863969803, 0.20068126916885376, -0.28699320554733276, -0.0006515247514471412, -0.7288006544113159, -0.1449277102947235, -0.5004332661628723, 0.011869039386510849, -0.3719402849674225, -0.40897107124328613, 0.11405859887599945, 0.4826168417930603, -0.5506266951560974, 0.031896885484457016, -0.15126588940620422, 0.8652844429016113, 0.37496575713157654, 0.025884289294481277, 0.5405522584915161, 0.1826097071170807, -0.0441792756319046, -0.27195867896080017, -0.7088930010795593, -0.7806721925735474, 1.2866131067276, 0.5362940430641174, 0.9397080540657043, 0.05958783999085426, 0.6158726811408997, 0.019249409437179565, 0.5703243613243103, -0.5550838708877563, 0.4472716152667999, -0.3836464583873749, -0.8246933817863464, -0.27338430285453796, -0.8885976672172546, -0.6598750948905945, 0.22399047017097473, 0.0908493623137474, -0.533064067363739, -0.032679855823516846, 0.0906524509191513, -0.15158501267433167, 0.20631824433803558, -0.6803480982780457, 0.8447678685188293, 0.060885995626449585, -0.4659308195114136, -0.128746896982193, -0.2969678044319153, 0.8081246018409729, -0.13419222831726074, 0.3643881380558014, -0.3332485854625702, 0.17594890296459198, 0.6161300539970398, -0.5541438460350037, 0.37449732422828674, 0.0032444745302200317, -0.4033481776714325, 0.35370489954948425, 0.38928472995758057, 0.7088127136230469, 0.012166431173682213, -0.20683498680591583, 0.42893582582473755, -0.06796122342348099, -0.6226422786712646, -0.738854169845581, 0.8608652949333191, -0.7089596390724182, -0.4932752549648285, -0.3576678931713104, -0.3352181017398834, -0.3908487558364868, 0.04856235533952713, 0.18631108105182648, 0.796604335308075, 0.19158923625946045, 0.23430663347244263, 0.8253435492515564, 0.08411229401826859, 0.10691207647323608, 0.43475621938705444, -0.367289662361145, -0.5235447883605957, 0.982416570186615, 0.4790719151496887, 0.6984596252441406, -0.1217513382434845, 0.2847220301628113, -0.3687225580215454, -0.49416086077690125, -0.7785767316818237, 0.303597629070282, -0.9721195101737976, -0.10674700140953064, -0.3422452509403229, -0.4066593050956726, -0.2044590413570404, 0.03898639976978302, -0.5725616812705994, -0.7085611820220947, 0.12325066328048706, -0.03016114979982376, 0.03293047845363617, 0.9344580173492432, 0.3410067856311798, 0.16416476666927338, -0.8075371384620667, 0.09649502485990524, 0.31564420461654663, 0.5368967652320862, -0.01461686659604311, -1.0077027082443237, -0.21874980628490448, 0.13457973301410675, -0.205370232462883, -0.40902623534202576, 0.04094593971967697, -0.047317881137132645, 0.5412907600402832, 0.6282731890678406, -0.12352674454450607, 0.6221571564674377, -0.5428081154823303, 0.5954164266586304, 0.1170586347579956, -0.9056004285812378, 0.1442141830921173, -0.47062867879867554, 0.37514686584472656, 0.4172159433364868, 0.3688700497150421, -0.45964959263801575, -0.5250555276870728, -0.7426021695137024, -0.5534977912902832, 0.7436787486076355, 0.2488945573568344, -0.0404091440141201, 0.2592434883117676, 0.4074467420578003, 0.03744679316878319, 0.004879857879132032, -0.3736454248428345, -0.4091738760471344, -0.22581975162029266, -0.16105185449123383, -0.1942390650510788, -0.31134283542633057, -0.2419063299894333, -0.23643016815185547, 0.6178367733955383, 0.13671329617500305, -0.24574710428714752, -0.24585117399692535, -0.04982961341738701, -0.24318864941596985, 0.273052453994751, 0.9573435187339783, 1.1569827795028687, -0.019457172602415085, 0.46891161799430847, 0.026947710663080215, -0.7810986638069153, 0.1424756795167923, 0.15411663055419922, -0.12972508370876312, -0.15852995216846466, 0.600625216960907, 0.5172505974769592, 0.16291365027427673, -0.6304866075515747, 0.361792653799057, -0.013586767017841339, -0.4035506844520569, -0.11895692348480225, 0.23164722323417664, 0.28990060091018677, 0.03603747859597206, 0.6031243801116943, 0.08193785697221756, 0.07183282822370529, -0.6056613922119141, 0.27563539147377014, 0.19958491623401642, -0.02874339185655117, -0.2557694911956787, 0.5354393124580383, -0.1345217525959015, -0.17044733464717865, 0.6203145384788513, -0.26692885160446167, -0.7788742184638977, 0.864517331123352, 0.47455063462257385, 0.4119442105293274, -0.25432029366493225, -0.045308083295822144, 0.5288048386573792, 0.5097020268440247, -0.5669966340065002, 0.01025370229035616, 0.16368456184864044, -0.4919193387031555, -0.728857696056366, -0.31734782457351685, -0.5016117691993713, 0.20452511310577393, -0.6786304712295532, 0.0034782434813678265, -0.5072541832923889, -0.02236900106072426, 0.19700169563293457, 0.2398013472557068, -0.2920592427253723, 0.26462510228157043, 0.29741814732551575, 0.99338698387146, -0.9671586155891418, 0.8917955160140991, 0.5541942119598389, -0.020612850785255432, -1.0451613664627075, -0.2579881250858307, 0.0009257107740268111, -0.8391246795654297, 0.8246098756790161, 0.1686476767063141, 0.04675498977303505, -0.21632781624794006, -0.44627296924591064, -0.9395504593849182, 0.874899685382843, 0.567689836025238, -0.7538554072380066, 0.30347394943237305, 0.4873420298099518, 0.4451773762702942, -0.15060444176197052, 0.27458855509757996, 0.6456528306007385, 0.3309125602245331, 0.45835262537002563, -0.9268772006034851, 0.024376925081014633, -0.13886024057865143, -0.12593263387680054, 0.5279988050460815, -0.5441211462020874, 1.106176495552063, -0.07918363064527512, -0.2789335250854492, -0.09143129736185074, 0.20803576707839966, 0.5465854406356812, 0.7324349880218506, 0.2967272400856018, 1.0601269006729126, 0.6792193055152893, -0.3146776854991913, 1.035821795463562, -0.17718012630939484, 0.5222726464271545, 1.0941210985183716, -0.33306851983070374, 0.852583646774292, 0.15803691744804382, -0.650540292263031, 0.08376096189022064, 0.5962957143783569, 0.2578171491622925, 0.3858084976673126, 0.4100708067417145, -0.4002665579319, -0.6553141474723816, 0.3594495356082916, -0.4871909022331238, 0.10685846209526062, 0.3902006149291992, -0.21618033945560455, -0.3980918228626251, -0.277959942817688, 0.20419789850711823, 0.19051243364810944, -0.530807375907898, 0.5194345712661743, 0.3516071140766144, -0.7489555478096008, 0.7823873162269592, -0.11625748872756958, 0.19160160422325134, -0.3227299749851227, -0.05840224772691727, -0.5371166467666626, 0.35645991563796997, -0.23688548803329468, -0.9278983473777771, 0.27458125352859497, -0.0827004685997963, -0.21389999985694885, -0.13256168365478516, 0.6340892314910889, -0.47909125685691833, -0.6211892366409302, -0.06130460277199745, 0.4163571894168854, 0.27712300419807434, -0.27769291400909424, -0.5102096199989319, 0.25261497497558594, -0.18950064480304718, -0.24762989580631256, 0.5113087296485901, 0.6239219903945923, -0.04146141931414604, 1.0121054649353027, 0.7505457401275635, 0.07572803646326065, 0.4144454896450043, 0.09436129778623581, 0.9149054288864136, -0.4936271607875824, -0.3074941337108612, -1.059350848197937, 0.11124151200056076, -0.05084051936864853, -0.33229246735572815, 0.9173703789710999, 0.9617305397987366, 0.9707508087158203, 0.1873026192188263, 0.5098657608032227, 0.6554660797119141, 0.48535001277923584, -0.7172472476959229, 0.6329197883605957, -0.282936155796051, 0.43454110622406006, -0.11518170684576035, -0.8897895812988281, -0.04581815004348755, 0.6102598309516907, -0.6120398044586182, 0.015189675614237785, 0.6954710483551025, 0.6142251491546631, -0.1736968457698822, 0.21159811317920685, 0.5878227353096008, -0.08751306682825089, 0.23108206689357758, 0.7383736371994019, 1.1295467615127563, -0.4710630476474762, 0.6275670528411865, -0.37134888768196106, -0.13423870503902435, -0.12597912549972534, -0.6455097198486328, -0.8947901725769043, -0.16413027048110962, -0.34110215306282043, -0.3913837969303131, 0.09606798738241196, 0.5795281529426575, 0.6341985464096069, -0.5887312889099121, -0.05204933136701584, -0.06873665004968643, 0.14424030482769012, 0.11277448385953903, -0.18537932634353638, 0.1481838971376419, -0.21642747521400452, -0.5662674903869629, 0.2378864884376526, 0.11094795167446136, 0.06240713968873024, -0.26877427101135254, -0.093455471098423, 0.353378027677536, 0.29926371574401855, 0.572028636932373, 0.14600741863250732, -0.593539297580719, -0.13709041476249695, 0.07703810930252075, -0.48867133259773254, 0.0248878113925457, 0.9015514850616455, -0.5375661849975586, 0.3263557255268097, 0.3887538015842438, 0.6723492741584778, 0.5610663890838623, 0.2866247296333313, 0.21031732857227325, -0.34365761280059814, -0.12470109760761261, 0.12518858909606934, 0.3193419277667999, 0.30239295959472656, -0.11025617271661758, 0.5495297312736511, 0.3281189203262329, -0.7599714398384094, -1.0438729524612427, 0.09572352468967438, -0.7533654570579529, -0.15156838297843933, 1.2260328531265259, -0.44254523515701294, -0.17006616294384003, 0.010498051531612873, 0.0973016545176506, -0.18476663529872894, -0.40178805589675903, 0.8823366761207581, 1.3065102100372314, 0.05990500748157501, -0.043412789702415466, -1.0644800662994385, 0.39869698882102966, 0.4551520347595215, -0.8549493551254272, 0.39495527744293213, 0.48262014985084534, 0.37007978558540344, 0.14505738019943237, 0.3046783208847046, -0.186791330575943, 0.31703758239746094, 0.297425776720047, -0.25090426206588745, -0.35377776622772217, -0.1943061649799347, -0.35297828912734985, 0.12441742420196533, 0.08434418588876724, 0.07504981011152267 ]
http://arxiv.org/abs/2405.00321v1
http://arxiv.org/pdf/2405.00321v1
DFKI-NLP at SemEval-2024 Task 2: Towards Robust LLMs Using Data Perturbations and MinMax Training
2024-05-01T05:03:08
2024-05-01T05:03:08
Bhuvanesh Verma, Lisa Raithel
cs.CL
cs.CL
The NLI4CT task at SemEval-2024 emphasizes the development of robust models for Natural Language Inference on Clinical Trial Reports (CTRs) using large language models (LLMs). This edition introduces interventions specifically targeting the numerical, vocabulary, and semantic aspects of CTRs. Our proposed system harnesses the capabilities of the state-of-the-art Mistral model, complemented by an auxiliary model, to focus on the intricate input space of the NLI4CT dataset. Through the incorporation of numerical and acronym-based perturbations to the data, we train a robust system capable of handling both semantic-altering and numerical contradiction interventions. Our analysis on the dataset sheds light on the challenging sections of the CTRs for reasoning.
[ 0.007746212184429169, -0.8790469765663147, 0.5325490832328796, 0.26635855436325073, -0.10667213052511215, -0.22154085338115692, 0.08824200183153152, -0.20143531262874603, -0.04331241920590401, 0.8127251267433167, -0.5407500267028809, -0.5968937873840332, -0.8214409351348877, 0.4853852093219757, -0.26854339241981506, 1.0032331943511963, -0.1001489907503128, 0.493251770734787, -0.1540297269821167, -0.11134906858205795, -0.4992510676383972, -0.8401548862457275, -0.6878334879875183, -0.32179778814315796, 0.6994267702102661, 0.44699540734291077, 0.5705012083053589, 0.3010379374027252, 0.7631697058677673, 0.2696012854576111, -0.27028951048851013, -0.055717214941978455, -0.6408928632736206, 0.239793598651886, 0.13349193334579468, -0.5431797504425049, -0.463468462228775, -0.23130683600902557, 0.5224743485450745, 0.6304143667221069, -0.26078060269355774, -0.3998951315879822, 0.08325446397066116, 0.41421374678611755, -0.4875842332839966, -0.043218083679676056, -0.6933282613754272, 0.15128234028816223, -0.044585078954696655, -0.20768465101718903, -0.3232059180736542, -0.19298028945922852, 0.17250707745552063, -0.6010968089103699, 0.12425810098648071, -0.3467589318752289, 0.6615422964096069, 0.6889477968215942, -0.8302638530731201, -0.49573031067848206, -0.506723165512085, 0.902740478515625, -1.0971413850784302, 0.39428114891052246, 0.5421104431152344, 0.205990731716156, -0.6182825565338135, -1.0042020082473755, -0.48465442657470703, -0.2487172782421112, -0.024250654503703117, 0.10096994042396545, -0.15823578834533691, 0.38945990800857544, 0.507005512714386, -0.01701628416776657, -0.35038790106773376, 0.3142150640487671, -0.17786772549152374, -0.3770882487297058, 0.5146620273590088, 0.568805456161499, 0.033176932483911514, -0.059296444058418274, -0.458075612783432, 0.15150825679302216, -0.7181865572929382, -0.17428213357925415, 0.1622716188430786, 0.29636189341545105, -0.1640423983335495, 0.7016810178756714, -0.14339394867420197, 0.8249969482421875, -0.05748526751995087, -0.28763875365257263, 0.2495286762714386, -0.7004611492156982, -0.31477120518684387, -0.02929096482694149, 0.7428026795387268, 0.32285159826278687, -0.22559556365013123, -0.0889865830540657, -0.3875398337841034, 0.040926672518253326, 0.16303500533103943, -0.7368625998497009, 0.015532826073467731, 0.2778991162776947, -0.17235206067562103, -0.7579962611198425, -0.31460773944854736, -0.9464632868766785, -0.3801717162132263, -0.3121567666530609, 0.6458067297935486, -0.4539056420326233, 0.0233547855168581, 0.3562234938144684, -0.1917584091424942, 0.17711661756038666, 0.40159186720848083, -0.5915933847427368, 0.5223898887634277, 0.6858419179916382, 0.6360970139503479, -0.11946432292461395, -0.12565815448760986, -0.6652129888534546, 0.10462180525064468, -0.15981365740299225, 0.7390125393867493, -0.5345564484596252, -0.6014737486839294, 0.1929648220539093, -0.05698557570576668, -0.14041371643543243, -0.46904900670051575, 1.0959502458572388, -0.40622714161872864, 0.24562504887580872, -0.4892268180847168, -0.7861482501029968, 0.12360551208257675, 0.4280352294445038, -0.6328092813491821, 0.892948567867279, 0.025949371978640556, -1.1004637479782104, 0.20331500470638275, -0.6757566928863525, -0.4441086947917938, -0.11070618778467178, -0.3233172297477722, -0.41674569249153137, 0.11131118983030319, 0.20036514103412628, 0.209529310464859, -0.12743210792541504, 0.373760849237442, -0.3990935981273651, -0.21018335223197937, 0.40001609921455383, -0.50579833984375, 0.6993235945701599, 0.35272204875946045, -0.33162721991539, 0.046982213854789734, -0.8398764133453369, -0.21265040338039398, 0.005661515053361654, -0.38219574093818665, -0.32698166370391846, -0.1911645233631134, 0.039134617894887924, 0.13603943586349487, 0.2773822546005249, -0.5877262353897095, 0.19078634679317474, -0.6318480968475342, 0.6574274301528931, 0.5397199988365173, 0.3039714992046356, 0.16952770948410034, -0.23033474385738373, 0.6615603566169739, 0.15817275643348694, 0.32489433884620667, 0.026394320651888847, -0.348478764295578, -0.6681249141693115, -0.35143226385116577, 0.4754813611507416, 0.4762084186077118, -1.0808714628219604, 0.18779194355010986, -0.22074128687381744, -0.23601290583610535, -0.11210781335830688, -0.060758884996175766, 0.27016064524650574, 0.7621838450431824, 0.27394601702690125, 0.0720171257853508, -0.6559638977050781, -1.0119704008102417, -0.06608336418867111, 0.022085240110754967, 0.07856282591819763, 0.06262437999248505, 0.6933562159538269, -0.4358978271484375, 0.7079282402992249, -0.2457025647163391, -0.42964968085289, -0.2219989150762558, 0.1963229477405548, 0.40743550658226013, 0.4180481731891632, 0.280730277299881, -0.7840511798858643, -0.14418461918830872, -0.33540794253349304, -0.6437078714370728, -0.4452514946460724, -0.21370621025562286, -0.04050951078534126, -0.08367739617824554, 0.7762584090232849, -0.3941408097743988, 0.6540323495864868, 0.5137135982513428, -0.4319956302642822, 0.38920196890830994, -0.19595882296562195, 0.13016623258590698, -0.9687817692756653, -0.03668230026960373, -0.06814634054899216, -0.1738012433052063, -1.057327151298523, -0.27098533511161804, -0.33422335982322693, 0.22264254093170166, -0.33947011828422546, 0.46844735741615295, -0.10764956474304199, 0.16755858063697815, -0.31594714522361755, -0.2274300903081894, 0.01468520238995552, 0.13424909114837646, -0.09837234020233154, 0.6846594214439392, 0.19982731342315674, -0.553960382938385, 0.04890816658735275, 0.5992445349693298, 0.023632172495126724, 0.19695425033569336, -1.0222854614257812, 0.08757542073726654, -0.04943079128861427, 0.3605085015296936, -0.8712922930717468, -0.346818208694458, 0.09039365500211716, -0.5226984024047852, 0.2653106153011322, -0.12024754285812378, -0.47866857051849365, -0.18872368335723877, -0.24934935569763184, 0.36977529525756836, 0.10613969713449478, -0.30897414684295654, 0.64640212059021, 0.4695589244365692, -0.1637866199016571, -0.7350273728370667, -0.9521586894989014, 0.3278834819793701, -0.2502807676792145, -0.43736010789871216, 0.4158381521701813, -0.08924128115177155, -0.324281245470047, -0.16524282097816467, 0.0679367259144783, -0.3560025691986084, 0.14985962212085724, 0.26819470524787903, 0.201872780919075, -0.1294146180152893, 0.04648538678884506, 0.30329111218452454, -0.05940433591604233, 0.1784665286540985, 0.10365396738052368, 0.21236440539360046, -0.03446508198976517, -0.4324049651622772, -0.5748417973518372, 0.3709256947040558, 0.5719543695449829, 0.20310193300247192, 0.47403907775878906, 0.3760215938091278, -0.5225546360015869, 0.13582457602024078, -0.5480630397796631, -0.19936427474021912, -0.4660499393939972, 0.43394389748573303, -0.5409266948699951, -1.3696824312210083, 0.21034552156925201, -0.12931789457798004, 0.08683470636606216, 0.4316082298755646, 0.8965147137641907, 0.02094442769885063, 1.2095385789871216, 0.5096936821937561, 0.02904793992638588, 0.20639967918395996, -0.1142045110464096, 0.1026080772280693, -0.7477316856384277, -0.13127344846725464, -0.6461005210876465, -0.12364457547664642, -0.37781593203544617, -0.5051549077033997, 0.6674107313156128, 0.054301176220178604, -0.3420320451259613, -0.15232469141483307, -0.40308117866516113, 0.13776983320713043, 0.28185394406318665, 0.17433056235313416, 0.193380206823349, 0.15695825219154358, -0.4544317424297333, -0.34227246046066284, -0.9430055022239685, -0.47572216391563416, 1.1113446950912476, 0.5352960228919983, 0.7603127956390381, 0.1608717441558838, 0.6150106191635132, 0.30106091499328613, 0.14903205633163452, -0.6855946779251099, 0.3300163745880127, -0.13031113147735596, -0.5522500276565552, -0.18796473741531372, -0.35581713914871216, -1.0070768594741821, 0.12315191328525543, -0.20383360981941223, -0.4693455696105957, 0.3294951319694519, 0.04556797817349434, -0.3950626254081726, -0.03934585675597191, -0.518663227558136, 0.7153457999229431, -0.34393247961997986, -0.28268229961395264, -0.055747997015714645, -0.7784520387649536, 0.28572627902030945, -0.1430494636297226, 0.24372830986976624, -0.05213048681616783, -0.4552210867404938, 0.5143824815750122, -0.6271917223930359, 1.064927577972412, -0.3592734932899475, -0.10182131826877594, 0.18902897834777832, -0.11224047094583511, 0.6076940894126892, 0.25129756331443787, -0.32158297300338745, 0.15549279749393463, 0.3878525495529175, -0.45986658334732056, -0.538519024848938, 0.564146101474762, -0.7073805928230286, -0.4984028935432434, -0.5883874297142029, -0.4002782106399536, -0.4533235728740692, 0.12382214516401291, 0.4617783725261688, 0.683840274810791, -0.29830700159072876, 0.13780459761619568, 0.6137275099754333, -0.4077889025211334, -0.008352010510861874, 0.4251542091369629, 0.11548659205436707, -0.6981543898582458, 0.41005560755729675, -0.14659757912158966, 0.1998152881860733, 0.4528854787349701, 0.259451687335968, -0.5192549824714661, -1.0444778203964233, 0.05829697847366333, 0.31851890683174133, -0.8129873275756836, -0.24519120156764984, -0.7135657072067261, -0.2629404366016388, -0.5257665514945984, -0.01929926499724388, -0.1688132882118225, -0.49079716205596924, -0.38860630989074707, -0.11282654851675034, 0.3133397102355957, 0.7998486161231995, -0.14331242442131042, 0.30866801738739014, -0.8728724122047424, -0.05120263248682022, 0.11047551780939102, 0.11827678233385086, -0.4141214191913605, -0.8536871671676636, -0.14177058637142181, 0.08169489353895187, -0.023685483261942863, -0.721957266330719, 0.41406750679016113, 0.34300073981285095, 0.6050118803977966, 0.25133880972862244, 0.12768234312534332, 0.7132617235183716, -0.4973122477531433, 0.7701221704483032, 0.31404200196266174, -0.7473575472831726, 0.7710244059562683, -0.553359866142273, 0.3071829676628113, 0.8413792848587036, 0.41038304567337036, -0.30014991760253906, -0.36420831084251404, -0.4015694260597229, -0.6950086355209351, 0.40457266569137573, 0.36042696237564087, 0.10990353673696518, -0.01710807904601097, 0.8064314723014832, 0.06795661151409149, 0.04173597693443298, -0.5570492148399353, 0.13276569545269012, -0.10189437866210938, -0.6386665105819702, 0.08257422596216202, -0.6965876817703247, -0.4816356897354126, -0.29094183444976807, 0.6206681728363037, -0.35995927453041077, 0.3995988667011261, 0.6499874591827393, 0.08855028450489044, 0.1897212117910385, 0.20312269032001495, 0.8580304980278015, 0.5152064561843872, -0.0004639255930669606, 0.1624278575181961, 0.5845831632614136, -0.6418766379356384, 0.1265530288219452, 0.17101691663265228, -0.1401885598897934, -0.026607656851410866, 0.6605451107025146, 0.8204377293586731, 0.3011300265789032, -0.8949658274650574, 0.7512801885604858, -0.5504313111305237, -0.5805935263633728, -0.6630533933639526, -0.07133088260889053, -0.25200125575065613, 0.2678806185722351, 0.003896877635270357, -0.08698682487010956, 0.39674898982048035, 0.13792598247528076, 0.3999333381652832, 0.25727421045303345, -0.8022244572639465, -0.523545503616333, 0.7569951415061951, 0.11667068302631378, 0.14640402793884277, 0.41414302587509155, 0.12494899332523346, -0.5548988580703735, 0.4977070689201355, 0.4421841502189636, 0.5292091965675354, -0.045761603862047195, -0.0849834457039833, 0.5076160430908203, 0.2976570129394531, 0.07535894960165024, 0.4527963697910309, 0.374761700630188, -0.875456690788269, -0.5692806839942932, -0.48110929131507874, -0.3424077033996582, 0.39432135224342346, -0.586997389793396, 0.5928471088409424, -0.5298647284507751, -0.3471337854862213, 0.05474788323044777, -0.20807625353336334, -0.5205990672111511, 0.21621863543987274, 0.09116911143064499, 1.056368112564087, -0.6390370726585388, 1.0090773105621338, 0.700756847858429, -0.15040133893489838, -0.7709536552429199, -0.1943710297346115, 0.40463292598724365, -0.53006511926651, 0.8161205649375916, -0.18151646852493286, -0.08961828798055649, -0.035820674151182175, -0.701906681060791, -0.8521893620491028, 0.9706173539161682, 0.2028411477804184, -0.48885515332221985, -0.08596204966306686, 0.41580432653427124, 0.6119241714477539, -0.20442919433116913, 0.1690530627965927, 0.7282683849334717, 0.36757636070251465, 0.36725595593452454, -0.7066511511802673, -0.08374401926994324, -0.1493002474308014, -0.014362446032464504, -0.06244019791483879, -0.34172940254211426, 0.4575103223323822, -0.11688538640737534, 0.13857904076576233, 0.3457478880882263, 0.6499485969543457, 0.24964141845703125, 0.3360847532749176, 0.7414532899856567, 0.7655068635940552, 0.6421346068382263, -0.11037098616361618, 0.9872685670852661, -0.20505984127521515, 0.25863203406333923, 1.1303260326385498, -0.5384677648544312, 0.766287088394165, 0.6292986273765564, -0.17073777318000793, 0.12608197331428528, 0.5261929631233215, -0.01846955344080925, 0.6109042167663574, 0.11255767196416855, -0.5243065357208252, -0.10201183706521988, -0.19149868190288544, -0.20699122548103333, 0.5862754583358765, 0.7199772596359253, -0.07778387516736984, -0.04667670652270317, 0.10362835228443146, 0.10510651767253876, -0.1251005381345749, 0.14989088475704193, 0.920744001865387, 0.21949656307697296, -0.6072953343391418, 0.6755978465080261, 0.0412481389939785, 0.569828450679779, -0.7847216725349426, -0.13925153017044067, -0.15900331735610962, 0.28391164541244507, -0.14566312730312347, -0.37460649013519287, 0.43949779868125916, 0.09691821783781052, 0.1180635318160057, 0.17461691796779633, 0.9314301609992981, -0.2359541803598404, -0.6276991367340088, 0.27699989080429077, 0.24393059313297272, -0.13122861087322235, 0.3872472643852234, -0.9028913378715515, 0.21189050376415253, 0.26007646322250366, -0.2392984926700592, 0.31587204337120056, 0.6294236183166504, 0.16011905670166016, 0.5304703712463379, 0.4856733977794647, 0.17753110826015472, 0.10711117833852768, 0.3831673562526703, 0.9809111952781677, -0.6271670460700989, -0.24593015015125275, -0.6201895475387573, 0.32696250081062317, -0.01571713574230671, -0.44669970870018005, 0.5888153910636902, 0.4571109414100647, 0.2534807622432709, 0.30935147404670715, 0.7947028875350952, 0.08860393613576889, 0.677030086517334, -0.7761645913124084, 0.24334579706192017, -0.588405191898346, 0.3508526384830475, -0.09390048682689667, -0.28018301725387573, -0.5575370788574219, 0.3391258418560028, -0.254441499710083, -0.13247504830360413, 0.6056238412857056, 0.7980678081512451, 0.3402392268180847, 0.22519168257713318, 0.336399108171463, 0.7039549350738525, 0.5944018959999084, 0.4375961124897003, 1.015167236328125, -0.45671841502189636, 0.4277809262275696, -0.285788357257843, -0.287855327129364, -0.07746637612581253, -0.8471773266792297, -0.7330280542373657, -0.4046608805656433, -0.35328859090805054, -0.49545174837112427, 0.08825575560331345, 0.8781474828720093, 0.3600466251373291, -0.9618486166000366, -0.04718717932701111, -0.38634490966796875, -0.10818272083997726, 0.1270599663257599, -0.16753387451171875, 0.2608790993690491, -0.6195840835571289, -0.6511633992195129, 0.6045827269554138, 0.3424675166606903, 0.15232254564762115, -0.05468073859810829, -0.1608162522315979, -0.20109595358371735, -0.04650459811091423, 0.5720913410186768, -0.14555811882019043, -0.6949818134307861, -0.1524098813533783, 0.053405266255140305, -0.1756565272808075, -0.05870473384857178, 0.954024612903595, -0.6064971685409546, 0.45245784521102905, 0.47017449140548706, 0.9103665947914124, 0.46180459856987, -0.18965205550193787, 0.6834540367126465, -0.510002613067627, 0.29146185517311096, 0.6905733942985535, 0.37770283222198486, 0.13742494583129883, -0.4154665172100067, 0.6613237261772156, 0.2797296345233917, -0.7920722365379333, -0.9000844955444336, 0.10742848366498947, -0.8984644412994385, -0.24784475564956665, 1.272391438484192, -0.018065502867102623, -0.0816543772816658, -0.51303631067276, -0.128858745098114, 0.1210002675652504, -0.10076448321342468, 0.46383678913116455, 0.8266175389289856, -0.22646331787109375, -0.021355150267481804, -0.9372231960296631, 0.6784055829048157, 0.6069650053977966, -0.7014040350914001, -0.32312384247779846, 0.5848180651664734, 0.23669418692588806, -0.30194956064224243, 0.8296561241149902, -0.46383944153785706, 0.05772023648023605, 0.014786716550588608, -0.22819562256336212, 0.16009436547756195, 0.013920213095843792, -0.7818505764007568, -0.035583920776844025, 0.22444991767406464, 0.24062643945217133 ]
http://arxiv.org/abs/2405.00302v3
http://arxiv.org/pdf/2405.00302v3
Generating Feedback-Ladders for Logical Errors in Programming using Large Language Models
2024-05-01T03:52:39
2024-05-08T20:38:58
Hasnain Heickal, Andrew Lan
cs.CL
cs.CL
In feedback generation for logical errors in programming assignments, large language model (LLM)-based methods have shown great promise. These methods ask the LLM to generate feedback given the problem statement and a student's (buggy) submission. There are several issues with these types of methods. First, the generated feedback messages are often too direct in revealing the error in the submission and thus diminish valuable opportunities for the student to learn. Second, they do not consider the student's learning context, i.e., their previous submissions, current knowledge, etc. Third, they are not layered since existing methods use a single, shared prompt for all student submissions. In this paper, we explore using LLMs to generate a "feedback-ladder", i.e., multiple levels of feedback for the same problem-submission pair. We evaluate the quality of the generated feedback-ladder via a user study with students, educators, and researchers. We have observed diminishing effectiveness for higher-level feedback and higher-scoring submissions overall in the study. In practice, our method enables teachers to select an appropriate level of feedback to show to a student based on their personal learning context, or in a progressive manner to go more detailed if a higher-level feedback fails to correct the student's error.
[ -0.06894568353891373, -0.7522987723350525, 0.4870498776435852, 0.44894030690193176, 0.151697039604187, 0.1926121860742569, -0.09773392975330353, -0.04539581760764122, 0.08425138145685196, 0.23444154858589172, -0.5150201916694641, -0.6289082765579224, -0.3811514675617218, 0.2612663507461548, -0.5588667392730713, 1.1777064800262451, -0.10210629552602768, 0.13897433876991272, -0.5005789399147034, 0.1904861479997635, -0.817439079284668, -0.5241936445236206, -0.6141912937164307, -0.17464424669742584, 0.576957106590271, 0.7645348906517029, 0.3597414791584015, 0.4042279124259949, 0.7094959020614624, 0.23344779014587402, 0.16889916360378265, 0.09456782788038254, -0.4962000846862793, 0.27489039301872253, -0.26291611790657043, -0.7006776928901672, -0.4064406454563141, -0.15222211182117462, 0.8171212077140808, 0.7025979161262512, -0.20707865059375763, 0.47451603412628174, 0.3578798770904541, 0.6063375473022461, -0.5799201130867004, 0.2492578625679016, -0.37696361541748047, 0.24840572476387024, -0.19783428311347961, -0.40259966254234314, -0.7023823857307434, -0.5686934590339661, -0.3898676335811615, -0.2097163051366806, -0.05419245362281799, -0.027555542066693306, 0.3754706084728241, 0.2668294906616211, -0.461897075176239, -0.5322779417037964, -0.9666702747344971, 0.7098405957221985, -0.9063072204589844, 0.14460326731204987, 0.13351492583751678, 0.33420273661613464, -0.39523398876190186, -0.389798104763031, -0.39660078287124634, -0.4246581792831421, 0.11072392016649246, 0.29480379819869995, 0.1103510856628418, -0.08824063092470169, 0.4627874791622162, 0.08743681013584137, -0.42742565274238586, 0.2665134370326996, -0.4591333270072937, -0.2149437665939331, 0.6504488587379456, 0.40806183218955994, 0.28031203150749207, -0.3858702778816223, -0.299027681350708, -0.10105571895837784, -1.0307410955429077, 0.38013312220573425, 0.5857928395271301, 0.36874133348464966, 0.23567183315753937, 0.8314470052719116, -0.02881430834531784, 0.8659588694572449, -0.10206624120473862, -0.49053823947906494, 0.21924494206905365, -0.36418479681015015, 0.09868290275335312, -0.19991275668144226, 0.6130420565605164, 0.45450639724731445, -0.020770687609910965, -0.012853081338107586, -0.617953360080719, 0.3153342306613922, 0.13974444568157196, -0.627355694770813, -0.2804197669029236, 0.1887243241071701, -0.29250699281692505, -0.48434993624687195, 0.07517559081315994, -0.863749623298645, -0.5599808096885681, -0.3239184319972992, 0.4177107512950897, -0.0555046908557415, -0.16946616768836975, -0.19545073807239532, 0.13486509025096893, -0.04399237409234047, 0.44253888726234436, -0.4768270254135132, 0.29778891801834106, 0.42963534593582153, 0.4821988344192505, 0.02058529667556286, -0.47042030096054077, -1.0830554962158203, 0.02930481918156147, -0.4240909516811371, 0.5963220000267029, -0.6685997843742371, -0.3576388359069824, 0.05796344578266144, -0.5164054036140442, 0.12141388654708862, -0.6184444427490234, 0.3082127869129181, -0.342527836561203, 0.21721656620502472, -0.33743423223495483, -0.6186001896858215, 0.26155930757522583, 0.3002874255180359, -0.31318414211273193, 0.9765569567680359, 0.046630486845970154, -0.8118910789489746, 0.019201762974262238, -0.6028100848197937, -0.14482846856117249, 0.08067900687456131, -0.4317507743835449, -0.1210126131772995, 0.021626777946949005, 0.11418015509843826, 0.317312091588974, -0.1580454707145691, 0.3005833327770233, -0.06541746109724045, -0.337208092212677, 0.3783154785633087, -0.14363333582878113, 0.6326882839202881, 0.17097128927707672, -0.37067192792892456, 0.32709449529647827, -0.897699236869812, 0.07017862051725388, 0.02214745618402958, -0.7267470359802246, -0.085719995200634, 0.2638181746006012, -0.23473574221134186, 0.40096062421798706, 0.23030349612236023, -0.4981207251548767, 0.3284345269203186, -0.13522009551525116, 0.35311204195022583, 1.0545274019241333, -0.009421930648386478, 0.09946350008249283, -0.4120328426361084, 0.8443544507026672, 0.3027860224246979, -0.11743547022342682, -0.24237574636936188, -0.25626423954963684, -0.7187103033065796, 0.1577986478805542, 0.2725175619125366, 0.6777774691581726, -0.7047189474105835, 0.2018580585718155, -0.07909249514341354, -0.307630717754364, -0.22281812131404877, 0.6340739727020264, 0.5354310274124146, 0.6460574269294739, 0.07482779771089554, -0.2950908839702606, -0.46545204520225525, -0.5621753334999084, -0.3343445658683777, -0.45792216062545776, -0.11679673939943314, 0.281772255897522, 0.43452849984169006, -0.37560614943504333, 0.9535972476005554, -0.6097127199172974, -0.16648975014686584, -0.21125946938991547, 0.046736203134059906, 0.21657268702983856, 0.573092520236969, 0.2742233872413635, -0.33766791224479675, -0.36554956436157227, -0.364496111869812, -0.6004832983016968, -0.26158860325813293, -0.29900607466697693, -0.03967289254069328, 0.23428742587566376, 0.467216819524765, -0.27403509616851807, 0.13825923204421997, 0.5888800621032715, -0.22800150513648987, 0.7637879848480225, -0.14297181367874146, -0.0755360946059227, -1.011742353439331, -0.08522773534059525, 0.13568797707557678, -0.15126144886016846, -0.2642425298690796, 0.27607864141464233, 0.0018039604183286428, -0.12277599424123764, -0.06517583131790161, 0.2114185094833374, -0.4069174528121948, -0.051315370947122574, 0.03687683492898941, 0.4191916584968567, -0.41206783056259155, 0.5273312330245972, -0.3357839286327362, 0.35865509510040283, 0.5897699594497681, -0.32042691111564636, 0.6662232875823975, -0.06839899718761444, -0.09671133011579514, 0.7042738199234009, -0.5697475671768188, 0.2959461808204651, -0.2153765708208084, 0.4109981656074524, -1.3289400339126587, -0.40139928460121155, 0.30001720786094666, -0.6877173781394958, 0.200405091047287, 0.048373784869909286, -0.7196024656295776, -0.683607280254364, -0.5475723743438721, 0.19897966086864471, 0.425335168838501, -0.540685772895813, 0.20448824763298035, 0.14958389103412628, -0.24202555418014526, -0.6720574498176575, -0.5996127724647522, 0.055659107863903046, 0.059151582419872284, -0.7972105145454407, -0.25363749265670776, -0.27052170038223267, -0.16876724362373352, 0.01999812014400959, -0.37792396545410156, 0.13154393434524536, 0.16411179304122925, 0.4013650715351105, 0.3530017137527466, -0.09882062673568726, 0.1472817212343216, -0.0723705068230629, 0.03156464546918869, 0.49365758895874023, -0.15790361166000366, 0.30513715744018555, -0.4356352984905243, -0.659864604473114, -0.23790830373764038, 0.276360422372818, 0.4379742741584778, -0.3588528335094452, 0.6174032092094421, 0.24172843992710114, -0.33582353591918945, -0.6659196019172668, -0.48486658930778503, -0.23746222257614136, -0.41327208280563354, 0.41285741329193115, -0.2101893573999405, -0.803815484046936, 0.4934070110321045, -0.12412721663713455, 0.33740106225013733, -0.01609472557902336, 0.6078299283981323, -0.25254887342453003, 1.1100894212722778, 0.5896015763282776, 0.04976276308298111, 0.20776183903217316, -0.18544650077819824, 0.4811538755893707, -0.6849846243858337, -0.4664730429649353, -0.8146600127220154, -0.3106277585029602, -0.39374762773513794, -0.25401806831359863, 0.39393630623817444, 0.35971903800964355, -0.35861456394195557, 0.12251323461532593, -0.4558388888835907, 0.4919983446598053, 0.7443431615829468, 0.11428224295377731, 0.43077823519706726, 0.04263726994395256, -0.24348320066928864, -0.10937090218067169, -0.7632644772529602, -0.5262090563774109, 1.1128727197647095, 0.3285456597805023, 1.0677001476287842, 0.32508063316345215, 1.1608774662017822, 0.0888507291674614, 0.5133554339408875, -0.7437788844108582, 0.6235065460205078, 0.2990776598453522, -0.47781696915626526, -0.371938556432724, -0.928575873374939, -0.6906982660293579, 0.19259557127952576, -0.07262014597654343, -0.7661714553833008, -0.34537166357040405, 0.4455144703388214, -0.3382095396518707, 0.32879552245140076, -0.5969751477241516, 0.7537984251976013, -0.04381416365504265, -0.37226951122283936, -0.09282957017421722, -0.7503190040588379, 0.4806918501853943, -0.17313864827156067, 0.48347365856170654, 0.41903766989707947, 0.29667484760284424, 0.7560774683952332, -0.6351524591445923, 1.0444272756576538, -0.3331013321876526, -0.37054502964019775, 0.4689086377620697, 0.46324828267097473, 0.6903699040412903, 0.22725939750671387, 0.10586676001548767, -0.4570193886756897, -0.04483900964260101, -0.27120834589004517, -0.6101288199424744, 0.751830518245697, -0.8472333550453186, -0.8926210999488831, -0.4687589406967163, -0.6937177181243896, -0.3407614827156067, 0.115077443420887, 0.10653220117092133, 0.7438543438911438, 0.49266862869262695, 0.06568266451358795, 0.27530553936958313, -0.3882389962673187, 0.20664601027965546, 0.35095447301864624, -0.6235201358795166, -0.09371151775121689, 1.0151207447052002, 0.2212630957365036, 0.22729940712451935, 0.049751315265893936, 0.17620700597763062, -0.07978718727827072, -0.5396682620048523, -0.3227807283401489, 0.22716747224330902, -0.9641295075416565, -0.32478830218315125, -0.16502025723457336, -0.28722235560417175, -0.32022789120674133, -0.12206815183162689, -0.16886204481124878, -0.37360531091690063, -0.035846322774887085, -0.19125576317310333, -0.12865738570690155, 1.0172103643417358, -0.233228400349617, -0.0011406384874135256, -0.9667249917984009, 0.07867446541786194, 0.2072581648826599, 0.21087291836738586, 0.33616286516189575, -0.38353779911994934, -0.08517520129680634, 0.1275983452796936, -0.5434594750404358, -1.0163321495056152, 0.18236182630062103, -0.17007938027381897, 0.43587374687194824, 0.026345741003751755, 0.10131374001502991, 0.47367751598358154, -0.37338992953300476, 0.8939194679260254, 0.4503512680530548, -1.0027785301208496, 0.8370724320411682, -0.2893351912498474, 0.282873272895813, 0.2983354926109314, 0.2832924723625183, -0.6589150428771973, -0.8616487383842468, -0.19860999286174774, -0.8528298735618591, 0.7308416962623596, 0.11377736181020737, 0.15965798497200012, 0.015523692592978477, 0.28257763385772705, -0.06635197252035141, 0.09832634031772614, -1.2054529190063477, -0.18843087553977966, -0.11039052158594131, -0.17522074282169342, 0.18399029970169067, -0.21463324129581451, -0.23278042674064636, -0.14481286704540253, 0.5046049952507019, -0.22954486310482025, -0.09210588783025742, 0.156618133187294, -0.06408844143152237, -0.5683229565620422, 0.5113615989685059, 0.4303143322467804, 1.1435140371322632, -0.07670354098081589, 0.38834649324417114, -0.003959351219236851, -0.25779083371162415, 0.2370569258928299, -0.41810253262519836, -0.15897706151008606, -0.12136903405189514, 0.4739539623260498, 0.23764105141162872, -0.10324249416589737, -0.7609154582023621, 0.5940102338790894, 0.09299144893884659, 0.022052599117159843, -0.18091805279254913, 0.137693852186203, 0.24174118041992188, 0.1071099117398262, 0.28726276755332947, 0.2898590862751007, -0.016813643276691437, -0.6605437994003296, 0.015886683017015457, 0.2585031986236572, -0.10498938709497452, -0.27928462624549866, 0.47668033838272095, 0.5325129628181458, -0.48491713404655457, 0.8223934173583984, -0.17488360404968262, -0.5205089449882507, 0.729644238948822, 0.8685516715049744, 0.43978676199913025, -0.15783166885375977, 0.45470449328422546, 0.5819065570831299, 0.25157269835472107, -0.02092943899333477, 0.21732380986213684, -0.08991030603647232, -0.5069523453712463, -0.6626688838005066, -0.536424994468689, -0.5681425333023071, -0.055103279650211334, -0.704579770565033, 0.21622870862483978, -0.5846096873283386, -0.01553268451243639, -0.33086097240448, -0.03276308253407478, -0.3477361798286438, 0.00542014604434371, 0.2221880704164505, 0.7242649793624878, -0.8450589776039124, 0.6718189120292664, 0.9767012596130371, -0.5549954771995544, -1.3253451585769653, -0.03217291459441185, 0.19166253507137299, -0.41871383786201477, 1.0850400924682617, 0.06874602288007736, -0.17554685473442078, -0.20160561800003052, -0.6098760366439819, -0.6667735576629639, 0.7998405694961548, 0.2811480760574341, -0.8283851742744446, -0.19636808335781097, 0.2980315387248993, 0.6844750046730042, -0.24779324233531952, 0.16975277662277222, 0.06495165824890137, 0.2815944254398346, 0.17147612571716309, -0.7908667922019958, 0.2397642731666565, -0.2450929433107376, 0.2107626050710678, 0.14642946422100067, -0.6040833592414856, 0.9158923625946045, -0.4270254075527191, -0.11369004845619202, -0.10238416492938995, 0.5325644016265869, 0.5962194800376892, 0.15135829150676727, 0.5721060037612915, 0.5208680033683777, 0.9810715317726135, 0.1190042570233345, 0.9583761692047119, -0.21360573172569275, 0.5701971650123596, 1.2313001155853271, -0.33756136894226074, 0.8452397584915161, 0.5142407417297363, -0.1824972927570343, 0.5858603715896606, 0.5176912546157837, -0.11595337837934494, 0.11733705550432205, 0.8287668824195862, -0.014561568386852741, -0.2845946252346039, 0.22907237708568573, -0.4418592154979706, -0.03403608873486519, 0.14414022862911224, -0.028283745050430298, -0.4134257137775421, -0.18356095254421234, 0.03641180694103241, 0.1479736864566803, -0.4330306053161621, 0.3011167347431183, 0.18107326328754425, -0.9400588274002075, 0.589461624622345, 0.05227114260196686, 0.5762709975242615, -0.2744832932949066, -0.18586798012256622, -0.4768238365650177, 0.31225505471229553, -0.812846302986145, -0.805256724357605, 0.2235192358493805, 0.44476792216300964, -0.1447163224220276, -0.17181426286697388, 0.42086800932884216, -0.34150341153144836, -0.5371862649917603, 0.26750341057777405, 0.5013520121574402, 0.12881843745708466, 0.4325348734855652, -0.36432403326034546, 0.0763949528336525, 0.09561631083488464, -0.20300880074501038, 0.24857833981513977, 0.3491581380367279, -0.004391801077872515, 0.7939385175704956, 0.5916712284088135, 0.15151865780353546, 0.31567561626434326, 0.09155479818582535, 0.8668143153190613, -0.5102243423461914, -0.20384368300437927, -0.8508774638175964, 0.4791998267173767, 0.19161781668663025, -0.23765262961387634, 1.1253089904785156, 0.4806274473667145, 1.107198715209961, -0.06858839839696884, 0.7191258072853088, -0.06414251029491425, 0.4145226776599884, -0.40520524978637695, 0.2962329089641571, -0.47962042689323425, 0.786998450756073, -0.5837478637695312, -1.2109179496765137, -0.4278731644153595, 0.5318149924278259, -0.11171972006559372, 0.08620642125606537, 0.8562359809875488, 0.7943528294563293, 0.26578783988952637, -0.1259378343820572, 0.0164002925157547, 0.536389172077179, 0.4872211515903473, 0.8986167311668396, 1.3151122331619263, -0.04110553115606308, 0.6728591322898865, -0.13963726162910461, -0.41836661100387573, -0.23761186003684998, -0.6702224016189575, -0.8859413266181946, -0.2704011797904968, -0.5725084543228149, -0.7697346806526184, -0.07814577221870422, 0.9891104102134705, 0.3658211827278137, -0.7444290518760681, -0.4950200617313385, -0.20119458436965942, 0.3830121159553528, -0.014291481114923954, -0.2435862272977829, 0.17552736401557922, -0.7287289500236511, -0.4568389058113098, 0.1965804249048233, -0.0015529267257079482, -0.45118942856788635, -0.45360058546066284, -0.14449544250965118, 0.197470560669899, -0.025600086897611618, 0.5353610515594482, 0.05472681298851967, -0.5455983281135559, -0.48350048065185547, 0.09173190593719482, -0.29686200618743896, 0.13685870170593262, 0.6997233033180237, -0.6127113699913025, 0.2597580552101135, 0.7680661082267761, 0.685696542263031, 0.2916204631328583, -0.10455215722322464, 0.4339664578437805, -0.7691073417663574, -0.4409872889518738, 0.32674115896224976, 0.25188353657722473, 0.191807359457016, -0.34472429752349854, 0.42973431944847107, 0.24662509560585022, -0.7994523048400879, -1.132051944732666, 0.21104611456394196, -0.861641526222229, -0.18987636268138885, 1.130841612815857, -0.31498631834983826, -0.05902815982699394, 0.3730967938899994, -0.3522959053516388, -0.04356943070888519, -0.3042958974838257, 0.8473374247550964, 0.9399735331535339, -0.2947135865688324, 0.13309001922607422, -0.4498648941516876, 0.17765949666500092, 0.5025104284286499, -0.9313869476318359, -0.016659580171108246, 0.8656912446022034, 0.5305059552192688, 0.38082849979400635, 0.4748307466506958, -0.21501773595809937, 0.39307495951652527, 0.0673961341381073, -0.06057177856564522, 0.05181128531694412, -0.6851641535758972, -0.33996784687042236, 0.42753469944000244, 0.44610846042633057, 0.12695908546447754 ]
http://arxiv.org/abs/2405.00301v3
http://arxiv.org/pdf/2405.00301v3
Enhanced Language Model Truthfulness with Learnable Intervention and Uncertainty Expression
2024-05-01T03:50:09
2024-06-07T01:41:15
Farima Fatahi Bayat, Xin Liu, H. V. Jagadish, Lu Wang
cs.CL
cs.CL
Large language models (LLMs) can generate long-form and coherent text, yet they often hallucinate facts, which undermines their reliability. To mitigate this issue, inference-time methods steer LLM representations toward the "truthful directions" previously learned for truth elicitation. However, applying these truthful directions with the same intensity fails to generalize across different query contexts. We propose LITO, a Learnable Intervention method for Truthfulness Optimization that automatically identifies the optimal intervention intensity tailored to each specific context. LITO explores a sequence of model generations based on increasing levels of intervention intensities. It selects the most accurate response or refuses to answer when the predictions are highly uncertain. Experiments on multiple LLMs and question-answering datasets demonstrate that LITO improves truthfulness while preserving task accuracy. The adaptive nature of LITO counters the limitations of one-size-fits-all intervention methods, maximizing truthfulness by reflecting the model's internal knowledge only when it is confident. Our code is available at https://github.com/launchnlp/LITO.
[ 0.27046042680740356, -0.9463331699371338, 0.8265350461006165, 0.2731396555900574, -0.18409962952136993, 0.18683665990829468, -0.4954677224159241, -0.27709150314331055, -0.08610482513904572, 0.5942198038101196, -0.36143219470977783, -0.3656896650791168, -0.43623846769332886, -0.06360190361738205, -0.10315854102373123, 0.8744629621505737, 0.12450753152370453, -0.03531612455844879, 0.12029799818992615, -0.11693330109119415, -0.30659615993499756, -0.059296298772096634, -0.7408145070075989, -0.3746453523635864, 0.40965092182159424, 0.44389691948890686, 0.789770781993866, 0.5684829950332642, 0.3641233742237091, 0.31349003314971924, -0.10322465747594833, 0.37573692202568054, -0.6140667796134949, 0.17980808019638062, -0.015698757022619247, -0.6857160329818726, -0.38799962401390076, -0.04335859790444374, 0.7302192449569702, 0.8140439391136169, -0.2965869605541229, -0.13463209569454193, 0.0743504986166954, 0.6005836129188538, -0.7678149342536926, 0.07757854461669922, -0.867843747138977, -0.05880099907517433, 0.3868507742881775, -0.22630073130130768, -0.5709234476089478, -0.6115204095840454, 0.13013309240341187, -0.7042888402938843, -0.11876832693815231, 0.019471200183033943, 0.5077096223831177, 0.5020930767059326, -0.45086726546287537, -0.4854881167411804, -0.9244371056556702, 1.1151540279388428, -0.936409592628479, 0.42550331354141235, 0.23546861112117767, 0.2695392966270447, -0.22485803067684174, -0.5837565064430237, -0.4843573570251465, -0.16164322197437286, 0.11803586035966873, 0.3785821199417114, 0.17444248497486115, 0.359562486410141, 0.20559115707874298, 0.06796646118164062, -0.43691691756248474, 0.04012303054332733, 0.05468674749135971, -0.31663036346435547, 0.5174927711486816, -0.030629832297563553, 0.0009650031570345163, -0.062052369117736816, -0.36577108502388, 0.06756795942783356, -0.5657802224159241, 0.14781764149665833, 0.3568767309188843, 0.13318650424480438, -0.10336707532405853, 0.49423497915267944, -0.2522941529750824, 0.6716828942298889, -0.09051494300365448, -0.658734917640686, 0.2794003188610077, -0.17495016753673553, -0.13478851318359375, 0.16534726321697235, 0.5532264709472656, 0.5712243318557739, -0.027906084433197975, -0.2099457085132599, -0.5970319509506226, -0.13170145452022552, 0.06110726296901703, -0.9927205443382263, 0.23769734799861908, 0.5051644444465637, -0.1619751900434494, -0.4792824685573578, -0.16455532610416412, -0.7463836669921875, -0.43991026282310486, -0.04019754379987717, 0.6111199855804443, -0.41793903708457947, -0.3406884968280792, 0.39328593015670776, 0.1115938276052475, 0.24472816288471222, 0.40088245272636414, -0.5854564905166626, 0.014220197685062885, 0.4830766022205353, 0.7541189193725586, 0.020434774458408356, 0.06737764924764633, -0.7789758443832397, 0.24521683156490326, -0.6722514033317566, 0.3636032044887543, -0.8151967525482178, -0.27667248249053955, 0.1279570758342743, -0.3006346523761749, -0.13895273208618164, -0.3669203817844391, 0.7971702218055725, -0.6970120072364807, 0.35161930322647095, -0.10045557469129562, -0.828348696231842, -0.21838025748729706, 0.23434236645698547, -0.5069063305854797, 0.7854653000831604, 0.20120291411876678, -0.7010518908500671, 0.2458764612674713, -0.7250550985336304, -0.25600630044937134, -0.04694052040576935, -0.2359350025653839, -0.4230654537677765, 0.4005637466907501, 0.1844692975282669, 0.399532675743103, -0.10518142580986023, 0.6331498026847839, -0.26641055941581726, -0.29408255219459534, 0.434685081243515, -0.6038291454315186, 0.55594801902771, 0.2759593427181244, -0.22392180562019348, 0.2967321574687958, -0.896132230758667, 0.060217779129743576, 0.3072335422039032, -0.38500678539276123, -0.2945135533809662, 0.11634474247694016, -0.19825680553913116, -0.1088206097483635, 0.4486229717731476, -0.6559949517250061, 0.013079803436994553, -0.6264679431915283, 0.2487601935863495, 0.8594754934310913, 0.17843292653560638, 0.28818580508232117, -0.3854913115501404, 0.40648186206817627, -0.24601271748542786, 0.4301649332046509, 0.06605707108974457, -0.2643432319164276, -0.7512129545211792, -0.28323736786842346, 0.0870087519288063, 0.525479793548584, -1.109319806098938, 0.40823233127593994, -0.4457668364048004, -0.054226186126470566, -0.46681082248687744, 0.1912810355424881, 0.44941553473472595, 0.8573710322380066, 0.236649289727211, 0.2104910910129547, -0.34949302673339844, -0.790190577507019, -0.3862749934196472, -0.24426984786987305, 0.09279691427946091, 0.34161505103111267, 0.3082888424396515, -0.18240980803966522, 0.8808892965316772, -0.5407230854034424, 0.2105393260717392, -0.44392165541648865, 0.3527370095252991, 0.29795292019844055, 0.29015305638313293, 0.47321557998657227, -0.9892440438270569, -0.45789021253585815, -0.04979533329606056, -0.7611892819404602, -0.23875147104263306, -0.4961394965648651, 0.149091899394989, 0.07753380388021469, 0.25639474391937256, -0.09958098828792572, 0.187120258808136, 0.6910703182220459, -0.03891703113913536, 0.23086076974868774, -0.2598116993904114, 0.10751276463270187, -1.132863998413086, -0.09957026690244675, -0.440083771944046, -0.364402174949646, -0.7836975455284119, -0.05620817467570305, 0.17623618245124817, 0.18217581510543823, -0.3496834337711334, 0.61134934425354, -0.2588328719139099, 0.10344327986240387, -0.4866355061531067, 0.06722458451986313, 0.06215742602944374, 0.49863383173942566, 0.2241663783788681, 0.9168928861618042, 0.4827386438846588, -0.5222128033638, 0.2533207833766937, -0.16513539850711823, -0.32027390599250793, 0.31638067960739136, -0.6987257599830627, 0.35248908400535583, -0.1645866185426712, -0.2712623178958893, -0.6756122708320618, -0.46962520480155945, -0.03432091325521469, -0.39867278933525085, 0.3027585446834564, -0.0053110988810658455, -0.3082278370857239, 0.028015080839395523, -0.5940991044044495, 0.2578672170639038, 0.38424715399742126, -0.5805140137672424, 0.8946545124053955, 0.17175078392028809, -0.08952321112155914, -0.7668372392654419, -0.47911369800567627, -0.021611278876662254, -0.27625030279159546, -0.47395554184913635, 0.05945739895105362, -0.5516877770423889, -0.32583916187286377, -0.3290553689002991, -0.1975296437740326, -0.025363797321915627, 0.3134121894836426, 0.09875103086233139, 0.28664731979370117, 0.06222839280962944, 0.386409729719162, 0.3003990948200226, 0.031116073951125145, 0.026531226933002472, -0.06356159597635269, 0.44230711460113525, -0.25376537442207336, -0.3121732473373413, -0.24977008998394012, 0.13314233720302582, 0.33874404430389404, -0.07049451768398285, 0.8400768637657166, 0.6067091226577759, -0.33296969532966614, -0.3250071108341217, -0.7402963042259216, -0.2960306704044342, -0.5428468585014343, 0.4007300138473511, -0.3428468108177185, -0.9158619046211243, 0.38783082365989685, -0.24751457571983337, 0.24666865170001984, -0.020405156537890434, 0.24626509845256805, 0.18081897497177124, 1.115756869316101, 0.8291947245597839, -0.028811419382691383, 0.6075230240821838, -0.10299833863973618, 0.17118701338768005, -0.8552742600440979, -0.0861346498131752, -0.2548006474971771, 0.11204942315816879, -0.47419628500938416, -0.4107617139816284, 0.5810667276382446, 0.12187843024730682, -0.025290338322520256, -0.17186732590198517, -0.350458025932312, 0.318109393119812, 0.30411139130592346, 0.4198874533176422, 0.48763883113861084, -0.08312340080738068, 0.11448090523481369, -0.11209681630134583, -0.7281885147094727, -0.4199366867542267, 1.2121851444244385, 0.30816707015037537, 0.886224091053009, 0.16811643540859222, 0.7756395936012268, 0.05190597474575043, 0.4745975136756897, -0.9947670698165894, 0.4744618237018585, 0.3569120764732361, -0.5593551397323608, -0.47055861353874207, -0.7978101968765259, -0.7191225290298462, 0.02609381265938282, -0.303216814994812, -0.5014488101005554, 0.17400075495243073, 0.1127941831946373, -0.5204858183860779, 0.10738798975944519, -0.6633854508399963, 0.46404725313186646, -0.4196716845035553, -0.5166550278663635, -0.22641323506832123, -0.6128078699111938, 0.274332195520401, -0.42397600412368774, 0.5436445474624634, -0.08314528316259384, -0.5578219294548035, 0.600730836391449, -0.15062856674194336, 0.8539857864379883, -0.06765789538621902, -0.11668382585048676, 0.28747352957725525, 0.1288755089044571, 0.8484373092651367, 0.17586514353752136, -0.4073287546634674, -0.32426512241363525, -0.3805930018424988, -0.4589177072048187, -0.7777768969535828, 0.47823649644851685, -0.6200687885284424, -0.5582559108734131, -0.13146983087062836, -0.8684064745903015, -0.4635765850543976, 0.2756732106208801, 0.25807949900627136, 0.41250890493392944, -0.1739223301410675, 0.44114920496940613, 1.0338902473449707, -0.26753392815589905, 0.6851539015769958, 0.7979587912559509, -0.508196234703064, -0.5423943996429443, 0.7609548568725586, -0.03126330301165581, 0.6469162106513977, 0.4890792965888977, 0.6210137605667114, -0.2411985993385315, -0.8541733622550964, -0.0403672531247139, 0.23577164113521576, -0.6998884677886963, -0.14155030250549316, -0.4326736032962799, -0.11751782894134521, -0.3924862742424011, -0.21260134875774384, -0.5933475494384766, -0.2817324995994568, -0.009147887118160725, -0.19362682104110718, 0.3534908890724182, 0.5323308110237122, -0.06732118874788284, 0.4150382876396179, -0.5668743252754211, 0.2837560474872589, 0.5437090992927551, 0.24576784670352936, -0.39298123121261597, -0.8054437041282654, -0.1498454213142395, 0.20122680068016052, 0.1453915387392044, -0.8130950927734375, 0.4172801673412323, 0.45509177446365356, 0.5347120761871338, 0.4880717098712921, 0.4024713635444641, 0.3097527325153351, -0.18994562327861786, 0.4593025743961334, 0.24200807511806488, -0.8874858617782593, 0.8471329212188721, -0.24644114077091217, 0.26823216676712036, 0.5317966938018799, 0.32616713643074036, -0.22576460242271423, -0.26771873235702515, -0.3700898289680481, -0.6868101954460144, 0.40084683895111084, 0.2361903041601181, 0.26874205470085144, 0.18544724583625793, 0.5468553900718689, 0.18406787514686584, 0.3796660304069519, -0.9274200201034546, 0.010518082417547703, -0.15774932503700256, -0.49962037801742554, 0.21855026483535767, -0.44707438349723816, -0.43834391236305237, 0.14150504767894745, 0.7688754796981812, -0.6557878851890564, -0.08961900323629379, 0.34678858518600464, -0.29559949040412903, -0.26257431507110596, 0.35573145747184753, 0.49785566329956055, 0.7430040836334229, -0.3258185386657715, 0.18976978957653046, 0.23607869446277618, -0.5658161640167236, -0.16458696126937866, 0.005161658860743046, -0.5039696097373962, -0.1735651046037674, 0.7587361931800842, 0.8402213454246521, 0.15376320481300354, -0.8201004862785339, 0.6793501973152161, -0.08283261209726334, 0.0877457708120346, -0.15112978219985962, 0.3896160125732422, -0.08718328922986984, 0.4179518520832062, 0.2817497253417969, -0.2979275584220886, 0.23074907064437866, -0.5906292796134949, -0.17532040178775787, 0.5127760171890259, -0.45090070366859436, -0.1800219565629959, 0.44240137934684753, 0.22272513806819916, -0.2429150491952896, 0.3510669767856598, -0.18865293264389038, -0.5140833854675293, 0.3535209000110626, 0.45753416419029236, 0.7999714016914368, -0.5174444913864136, 0.24507547914981842, 0.273939311504364, 0.4434219300746918, -0.06612180173397064, 0.5597264170646667, 0.17064706981182098, -1.0834301710128784, -0.5029228329658508, -0.5302392244338989, -0.4108160734176636, 0.23633012175559998, -0.580768346786499, -0.08225707709789276, -0.5996792316436768, -0.12903420627117157, -0.4247976541519165, 0.10751140862703323, -0.3073989748954773, 0.2636035680770874, -0.07044652104377747, 0.5895037055015564, -0.8113484978675842, 0.8523615598678589, 0.3593687415122986, -0.38344424962997437, -0.8656914830207825, 0.049677714705467224, -0.1614050716161728, -0.975147008895874, 0.1649058759212494, 0.11654011905193329, -0.41325220465660095, 0.02469034120440483, -0.9650511145591736, -0.7456678748130798, 1.115931749343872, 0.6371458172798157, -0.602508544921875, 0.17408965528011322, 0.20269237458705902, 0.4110620319843292, -0.474412739276886, 0.22195252776145935, 0.4163907468318939, 0.4380713701248169, 0.18187443912029266, -0.7338719964027405, 0.07526987046003342, 0.16191941499710083, 0.06035804748535156, -0.1648981273174286, -0.7182668447494507, 0.3671056032180786, -0.4033181071281433, -0.02085101418197155, 0.05042358860373497, 0.7485862970352173, 0.10989949107170105, 0.20830507576465607, 0.7075324654579163, 0.24936527013778687, 0.9905267357826233, -0.02748815342783928, 1.0025941133499146, -0.5319058895111084, 0.28874391317367554, 1.314862608909607, -0.2212079018354416, 0.5886019468307495, 0.4788531959056854, 0.0790630429983139, 0.3016655147075653, 0.40695735812187195, 0.4443845748901367, 0.5483478307723999, -0.3319719135761261, -0.5747841000556946, -0.4336065649986267, -0.4513699412345886, -0.18732881546020508, 0.22133304178714752, 0.51808100938797, -0.2703409492969513, 0.14803320169448853, 0.04171471670269966, 0.10207914561033249, 0.24317213892936707, -0.18630556762218475, 0.7548519968986511, -0.019678711891174316, -0.5138392448425293, 0.5380700826644897, -0.2969914376735687, 0.46469828486442566, -0.7419288754463196, -0.16182956099510193, -0.33503589034080505, 0.019274435937404633, -0.13542746007442474, -0.7333977222442627, 0.015629053115844727, -0.2000662237405777, 0.010960442014038563, -0.13404013216495514, 0.7262510657310486, -0.5408857464790344, -0.5622483491897583, 0.4343603253364563, 0.4901732802391052, -0.08951614797115326, -0.1049998328089714, -0.7245355844497681, 0.28643670678138733, 0.13190317153930664, -0.6267060041427612, -0.05168042331933975, 0.46609845757484436, 0.1962767094373703, 0.9386312961578369, 0.46748772263526917, 0.2318456918001175, 0.028643647208809853, 0.27156445384025574, 0.803178608417511, -0.323138028383255, -0.10129597038030624, -0.5241885781288147, 0.35143813490867615, -0.3190913498401642, -0.11066455394029617, 0.5764367580413818, 0.5776119828224182, 0.5295935273170471, 0.21523945033550262, 0.6505491733551025, 0.3012198209762573, 0.5677492022514343, -0.8257223963737488, 0.28634437918663025, -0.6773547530174255, 0.48855048418045044, -0.0013599294470623136, -0.8919521570205688, -0.24435323476791382, 0.5837792158126831, -0.384111613035202, 0.057923197746276855, 0.6550458073616028, 0.9837601780891418, 0.15026064217090607, -0.02181202918291092, 0.6224269866943359, 0.4804627299308777, 0.2881525754928589, 0.4942973852157593, 0.6942988038063049, -0.14518937468528748, 0.5334151387214661, -0.43020346760749817, -0.5002598166465759, -0.27457061409950256, -1.051943302154541, -0.8082441091537476, -0.2411462366580963, -0.20596756041049957, -0.21360735595226288, 0.21856345236301422, 1.0166010856628418, 0.6750208735466003, -0.6146886944770813, -0.05870884656906128, -0.1791268140077591, 0.3819374144077301, -0.014144142158329487, -0.2459793984889984, 0.3227129876613617, -0.5220848917961121, -0.8334734439849854, 0.5285033583641052, 0.373372346162796, 0.030183633789420128, -0.03521982952952385, -0.2515130341053009, -0.009830585680902004, 0.4845068156719208, 0.5259981155395508, 0.0015122215263545513, -0.49858301877975464, -0.6579411029815674, 0.05285116285085678, -0.0961347445845604, 0.13209138810634613, 0.6446661353111267, -0.4776085913181305, 0.7851805090904236, 0.4146082103252411, 0.6888370513916016, 0.3166089653968811, -0.2061726301908493, 0.5067507028579712, -0.7303104400634766, 0.1470271497964859, 0.5945126414299011, 0.41287896037101746, 0.5027580857276917, -0.5572255253791809, 0.7291146516799927, 0.2214999496936798, -0.39358699321746826, -0.8535485863685608, 0.43275174498558044, -0.8719143271446228, -0.4509941637516022, 1.1907494068145752, -0.245627298951149, -0.2063858062028885, -0.09652219712734222, -0.0918465107679367, 0.38751569390296936, -0.4223923087120056, 0.7730405926704407, 0.5412706732749939, -0.15547150373458862, -0.2096436619758606, -0.7308128476142883, 0.4597291648387909, 0.5660691857337952, -0.8373057842254639, 0.05631881207227707, 0.46005532145500183, 0.29305610060691833, 0.11904416233301163, 0.42929115891456604, 0.1566145271062851, 0.03982280194759369, -0.04840899631381035, 0.10476403683423996, -0.001773275900632143, -0.49943646788597107, -0.37376442551612854, -0.02876109816133976, 0.32996290922164917, 0.2284761518239975 ]
http://arxiv.org/abs/2405.00291v1
http://arxiv.org/pdf/2405.00291v1
How Can I Improve? Using GPT to Highlight the Desired and Undesired Parts of Open-ended Responses
2024-05-01T02:59:10
2024-05-01T02:59:10
Jionghao Lin, Eason Chen, Zeifei Han, Ashish Gurung, Danielle R. Thomas, Wei Tan, Ngoc Dang Nguyen, Kenneth R. Koedinger
cs.CL
cs.CL, cs.AI, cs.HC
Automated explanatory feedback systems play a crucial role in facilitating learning for a large cohort of learners by offering feedback that incorporates explanations, significantly enhancing the learning process. However, delivering such explanatory feedback in real-time poses challenges, particularly when high classification accuracy for domain-specific, nuanced responses is essential. Our study leverages the capabilities of large language models, specifically Generative Pre-Trained Transformers (GPT), to explore a sequence labeling approach focused on identifying components of desired and less desired praise for providing explanatory feedback within a tutor training dataset. Our aim is to equip tutors with actionable, explanatory feedback during online training lessons. To investigate the potential of GPT models for providing the explanatory feedback, we employed two commonly-used approaches: prompting and fine-tuning. To quantify the quality of highlighted praise components identified by GPT models, we introduced a Modified Intersection over Union (M-IoU) score. Our findings demonstrate that: (1) the M-IoU score effectively correlates with human judgment in evaluating sequence quality; (2) using two-shot prompting on GPT-3.5 resulted in decent performance in recognizing effort-based (M-IoU of 0.46) and outcome-based praise (M-IoU of 0.68); and (3) our optimally fine-tuned GPT-3.5 model achieved M-IoU scores of 0.64 for effort-based praise and 0.84 for outcome-based praise, aligning with the satisfaction levels evaluated by human coders. Our results show promise for using GPT models to provide feedback that focuses on specific elements in their open-ended responses that are desirable or could use improvement.
[ -0.5696071982383728, -0.7007081508636475, 0.33125820755958557, 0.06393890082836151, -0.4236106276512146, 0.11255882680416107, -0.43468597531318665, -0.37689587473869324, 0.11606194823980331, 0.06886567175388336, -0.4109223186969757, -0.4668557643890381, -0.5383455753326416, 0.2322850525379181, -0.4455263912677765, 1.3979746103286743, -0.07226037979125977, 0.19817695021629333, 0.10766350477933884, 0.1343076378107071, -0.8263012766838074, -0.4888964593410492, -0.5886368155479431, -0.047996971756219864, 0.6158812642097473, 0.6252983212471008, 0.563506007194519, 0.4312848150730133, 0.5081966519355774, 0.240822896361351, 0.01819809153676033, 0.16203537583351135, -0.4296160638332367, 0.030248679220676422, -0.14350198209285736, -0.5443210005760193, -0.5704283714294434, 0.18456000089645386, 0.2597818672657013, 0.6531504988670349, 0.008970377966761589, 0.2712152898311615, 0.6357995867729187, 0.4437113404273987, -0.38719215989112854, 0.4661865532398224, -0.2140253335237503, 0.2514095902442932, 0.011273072101175785, -0.33023393154144287, -0.6358044147491455, -0.6357941627502441, 0.3323976993560791, -0.6504390835762024, 0.5027658939361572, -0.27653399109840393, 0.7599567770957947, 0.4682968258857727, 0.052548207342624664, -0.3777836263179779, -0.8550992608070374, 0.6896237730979919, -0.7049142718315125, 0.031512219458818436, 0.4067971706390381, 0.5266202688217163, 0.2426900863647461, -0.576646089553833, -0.3293512165546417, -0.2590000629425049, -0.2678605914115906, 0.5379190444946289, 0.10890445113182068, 0.005322903860360384, 0.4188692271709442, 0.5490596890449524, -0.4631037712097168, 0.21275408565998077, -0.20179404318332672, -0.12202727794647217, 0.49945318698883057, -0.02387731708586216, 0.01690545678138733, -0.010289294645190239, -0.047081444412469864, -0.30776798725128174, -0.6283431649208069, 0.40866246819496155, 0.4499910771846771, 0.5228667855262756, 0.04265613108873367, 0.6775432825088501, -0.1975286304950714, 0.7677302360534668, 0.14503733813762665, 0.06364361941814423, 0.05639897286891937, -0.24941472709178925, 0.06767525523900986, -0.26313546299934387, 0.5266115069389343, 0.4518895745277405, 0.24433554708957672, -0.18832479417324066, -0.30103936791419983, 0.07633688300848007, 0.2910235822200775, -0.7298613786697388, -0.3785604238510132, 0.13189949095249176, -0.32281720638275146, -0.07319331914186478, 0.4939672350883484, -0.9558298587799072, -0.12796783447265625, -0.6528947949409485, 0.6472417712211609, -0.4022073745727539, -0.0957191064953804, -0.09355641156435013, -0.07561253011226654, 0.12128974497318268, 0.5960664749145508, -0.9287410378456116, -0.0506240539252758, 0.5116584897041321, 0.8335707187652588, -0.036712732166051865, -0.1551702469587326, -0.6817089915275574, -0.14515839517116547, 0.009957078844308853, 0.9063873887062073, -0.5236236453056335, -0.45402637124061584, 0.0886966809630394, -0.040830519050359726, -0.13368411362171173, -0.5380133390426636, 0.3969714343547821, -0.4167719781398773, 0.6031521558761597, -0.15254947543144226, -0.6691288352012634, -0.18289504945278168, 0.08256629854440689, -0.5908453464508057, 0.7129195928573608, 0.4141981899738312, -0.5053351521492004, 0.4237922728061676, -0.8070844411849976, -0.31840404868125916, 0.16958516836166382, -0.17778660356998444, -0.4812798500061035, 0.21639913320541382, 0.3706039488315582, 0.35763147473335266, 0.08609933406114578, 0.17294800281524658, 0.005522030871361494, -0.5081759095191956, 0.276176780462265, -0.3068722188472748, 0.09052447974681854, -0.020708004012703896, -0.7492849230766296, 0.605739414691925, -0.6097882986068726, 0.3610645830631256, -0.14122092723846436, -0.39383623003959656, 0.03512074425816536, -0.23785831034183502, -0.09018334001302719, 0.06984701007604599, -0.11903258413076401, -0.29985594749450684, 0.45214107632637024, -0.2984687089920044, 0.4068623483181, 0.8692806959152222, -0.11183121800422668, 0.1296570599079132, -0.2510595917701721, 0.8369163870811462, -0.18012063205242157, 0.1533203274011612, -0.31969428062438965, -0.5747427940368652, -0.7467840909957886, -0.2520149052143097, 0.5762980580329895, 0.20300813019275665, -0.8499144911766052, 0.45294010639190674, -0.320803165435791, -0.2642483115196228, -0.7130823135375977, 0.05416493862867355, 0.5500316619873047, 0.5557394027709961, 0.6380082368850708, -0.65061354637146, -0.4271392524242401, -0.5500776171684265, -0.36097294092178345, -0.1289398968219757, -0.35155296325683594, 0.21186724305152893, 0.3107970654964447, 0.11368738114833832, 1.0424227714538574, -0.6220558881759644, -0.2725832462310791, -0.3339146673679352, 0.3881628215312958, 0.23002761602401733, 0.23561571538448334, 0.08276060968637466, -0.7501538395881653, -0.7180647850036621, -0.1846712976694107, -0.39210182428359985, -0.14778262376785278, 0.03195839002728462, 0.01104329526424408, -0.12385626882314682, 0.2548180818557739, -0.28473562002182007, 0.486716628074646, 0.09675171971321106, -0.3356269299983978, 0.8353923559188843, -0.0025492936838418245, 0.19177214801311493, -0.6669917106628418, 0.07057499885559082, -0.18226806819438934, -0.1947447508573532, -0.43825119733810425, 0.09323529899120331, 0.019723104313015938, -0.014061487279832363, -0.3647438883781433, 0.17401522397994995, -0.2579496204853058, 0.07934676110744476, -0.3328949809074402, -0.0891723707318306, -0.06978387385606766, 0.7670578360557556, -0.01412713062018156, 0.8938876986503601, 0.20705941319465637, -0.5477454662322998, 0.2960064709186554, 0.38499715924263, -0.35613512992858887, 0.4706612229347229, -0.7409137487411499, 0.17633549869060516, 0.0019477856112644076, 0.176003560423851, -1.0297259092330933, -0.5956560373306274, 0.2136276215314865, -0.536831796169281, 0.5055460333824158, -0.1748434156179428, -0.5245561003684998, -0.5824776887893677, -0.20272497832775116, 0.27317607402801514, 0.6141313314437866, -0.7076075077056885, 0.20620571076869965, -0.16267453134059906, -0.3917444944381714, -0.25565019249916077, -0.32149025797843933, -0.2109811007976532, -0.17371204495429993, -0.2430059313774109, 0.2489476203918457, -0.09476920962333679, 0.20066608488559723, -0.13060764968395233, 0.016008269041776657, 0.011817905120551586, 0.0053345682099461555, 0.3033348619937897, 0.2403842806816101, -0.14406384527683258, 0.10477756708860397, -0.16188080608844757, -0.3755878806114197, -0.036165639758110046, -0.318046897649765, 0.4604833722114563, -0.28695470094680786, -0.5802249908447266, -0.4726760983467102, 0.29023274779319763, 0.4297759532928467, -0.35709384083747864, 0.31188905239105225, 0.8312045931816101, 0.01830247789621353, -0.156667560338974, -0.20918336510658264, -0.43910881876945496, -0.41561830043792725, 0.3865750730037689, -0.07268134504556656, -1.103448510169983, 0.2795606255531311, 0.16959162056446075, 0.14540338516235352, 0.21800439059734344, 0.44158026576042175, -0.08455388247966766, 1.3420201539993286, 0.5931420922279358, 0.14688561856746674, 0.5937033891677856, -0.4939301609992981, 0.276838093996048, -0.8834331631660461, -0.1279100626707077, -0.2527223527431488, -0.27206990122795105, -0.2749602496623993, -0.1477845162153244, 0.40789541602134705, 0.44179320335388184, -0.036822207272052765, 0.3710826337337494, -0.7618051171302795, 0.49852943420410156, 0.8125017285346985, 0.3753388524055481, 0.24322164058685303, -0.026287095621228218, -0.07130157202482224, -0.06859366595745087, -0.5000044107437134, -0.46946612000465393, 0.928840696811676, 0.40240955352783203, 0.7285546660423279, 0.2983960211277008, 0.40197011828422546, 0.1310291439294815, 0.697723925113678, -0.9243674874305725, 0.39331793785095215, 0.000959654338657856, -0.20946204662322998, -0.3855306804180145, -0.38467666506767273, -0.7939035892486572, 0.12176323682069778, 0.19317491352558136, -0.5821455121040344, -0.3114936947822571, 0.3811436593532562, -0.7769882678985596, 0.1409609019756317, -0.8778648972511292, 0.9096790552139282, -0.21244670450687408, -0.5006113648414612, 0.07001133263111115, -0.6990256309509277, 0.09111766517162323, -0.02520912140607834, 0.04523654282093048, 0.055877409875392914, 0.3346456289291382, 0.5764220952987671, -0.7351230978965759, 1.064084768295288, -0.35123518109321594, -0.1765148639678955, 0.37086519598960876, -0.3527759313583374, 0.33543160557746887, -0.13818255066871643, 0.1287403106689453, -0.3634677231311798, -0.28549015522003174, -0.40456631779670715, -0.9042262434959412, 0.24146966636180878, -0.6828054785728455, -0.6679490208625793, 0.06458982825279236, -0.423513799905777, -0.3103090226650238, -0.017706695944070816, 0.6051679849624634, 0.6093612313270569, 0.17518620193004608, -0.2154022753238678, 0.5396764278411865, -0.19631005823612213, 0.3862555921077728, 0.5516259074211121, -0.2824338972568512, -0.4219726622104645, 1.1581941843032837, 0.19468708336353302, 0.33824071288108826, 0.31046053767204285, 0.16967906057834625, -0.5263326168060303, -0.47072598338127136, -0.7171302437782288, 0.0069105979055166245, -0.7543957829475403, -0.3267780840396881, -0.3704596757888794, 0.023321576416492462, -0.4487311840057373, 0.058609023690223694, -0.049169912934303284, -0.4763813614845276, -0.356874942779541, -0.18999479711055756, 0.2893534302711487, 1.0271930694580078, 0.015632618218660355, 0.5713083744049072, -0.7632290720939636, 0.051064908504486084, 0.5218074917793274, 0.73655104637146, 0.26217153668403625, -0.6634188890457153, -0.47374847531318665, 0.07894252985715866, -0.6470404267311096, -0.8718722462654114, 0.4269118010997772, 0.29000124335289, 0.24350537359714508, 0.34393325448036194, -0.10315226763486862, 0.7288026213645935, -0.41766515374183655, 0.9048085808753967, 0.08724743127822876, -0.8362882733345032, 0.7932712435722351, -0.2611168920993805, 0.3360172510147095, 0.40684187412261963, 0.36067113280296326, -0.30126187205314636, -0.5128176808357239, -0.3886038661003113, -1.0408269166946411, 0.6567105054855347, 0.059221141040325165, -0.2171466201543808, -0.039240479469299316, 0.36288416385650635, 0.4386242926120758, 0.3732648491859436, -0.5978115797042847, -0.18620774149894714, -0.4930594861507416, -0.17229291796684265, -0.08211439847946167, -0.011381970718502998, -0.07261965423822403, -0.28104889392852783, 0.7148046493530273, -0.44829419255256653, 0.5103641152381897, 0.2172926664352417, -0.14328300952911377, -0.0629667118191719, 0.5770128965377808, 0.6135056614875793, 0.5754643082618713, -0.15431521832942963, 0.045193951576948166, -0.2026563584804535, -0.3557034730911255, 0.19514122605323792, 0.2742782533168793, -0.1139964684844017, 0.2584538459777832, 0.37199848890304565, 0.7658806443214417, 0.12293767929077148, -0.3585719168186188, 0.6540111303329468, -0.2351350039243698, 0.10896261036396027, -0.03499782830476761, 0.20783434808254242, -0.3039083182811737, -0.034605156630277634, 0.29606106877326965, -0.06425503641366959, 0.10078015178442001, -0.3262867331504822, 0.24370580911636353, 0.20062300562858582, -0.6222559809684753, -0.5031676888465881, 0.6762028336524963, 0.28964704275131226, -0.20983006060123444, 0.5345733761787415, -0.3568180203437805, -0.7638172507286072, 0.5747798681259155, 0.430522620677948, 0.9319530129432678, -0.18028278648853302, 0.37215715646743774, 0.48233741521835327, -0.21488820016384125, -0.0859578475356102, 0.20630790293216705, -0.26448768377304077, -0.18748216331005096, -0.7887114882469177, -0.5273047089576721, -0.686295211315155, 0.04013264179229736, -1.1831951141357422, 0.27330780029296875, -0.329892098903656, -0.2601795792579651, 0.058889999985694885, -0.31426236033439636, -0.7862465381622314, 0.08521921187639236, -0.12263131141662598, 0.6899781227111816, -0.6735111474990845, 0.5903332829475403, 0.8148411512374878, -0.9943966865539551, -1.2598652839660645, 0.004680371843278408, -0.0752638503909111, -0.6574839949607849, 0.5637310743331909, 0.584128201007843, 0.26939889788627625, 0.25334158539772034, -0.5324058532714844, -0.6130435466766357, 0.772757887840271, 0.16177478432655334, -0.530121922492981, -0.15010711550712585, 0.3340313136577606, 0.778846025466919, -0.20137980580329895, 0.8099892735481262, 0.41713714599609375, 0.3492491543292999, -0.009938250295817852, -1.0587013959884644, -0.022293394431471825, -0.3705707788467407, -0.077806256711483, 0.19545729458332062, -0.5756481885910034, 0.5700788497924805, -0.4355708956718445, -0.32896101474761963, 0.42660394310951233, 0.6252418756484985, -0.1066727489233017, 0.14455430209636688, 0.3576817512512207, 0.5740410089492798, 0.667878270149231, -0.3880414068698883, 1.1221462488174438, -0.04559559002518654, 0.47050437331199646, 1.280336618423462, 0.23409897089004517, 0.7614551782608032, 0.33636927604675293, -0.387626975774765, 0.4451531767845154, 0.7586416602134705, -0.19610175490379333, 0.6402938961982727, 0.4657031297683716, -0.29200419783592224, -0.01743038184940815, -0.20164845883846283, -0.5964317321777344, -0.04447910934686661, 0.19751441478729248, -0.3727201819419861, -0.09716131538152695, 0.3629615604877472, -0.43816837668418884, -0.10991142690181732, -0.33611544966697693, 0.9050365686416626, -0.06796828657388687, -1.0885974168777466, 0.6354026794433594, -0.3558851182460785, 0.6790100336074829, -0.41416147351264954, -0.3545936346054077, -0.15301552414894104, 0.28351497650146484, -0.48377981781959534, -0.7939404845237732, 0.10558456182479858, 0.15526491403579712, -0.4573792815208435, -0.23719419538974762, -0.013819963671267033, -0.7394764423370361, -0.14427371323108673, 0.06614779680967331, 0.3515860140323639, 0.1639585793018341, -0.1428181380033493, -0.3953232169151306, -0.2294340282678604, 0.27547702193260193, -0.07617694139480591, 0.22030100226402283, 0.16610729694366455, 0.10213115066289902, 0.3530208468437195, 0.6204579472541809, -0.08941872417926788, 0.028526155278086662, 0.5550519227981567, 0.8384208679199219, -0.6507133841514587, -0.44045543670654297, -0.638932466506958, 0.7007473707199097, 0.16110406816005707, -0.4309708774089813, 0.8144564032554626, 0.43619048595428467, 1.1167486906051636, -0.36558085680007935, 0.9642224311828613, 0.00927038211375475, 0.913115918636322, -0.4341634213924408, 0.23914922773838043, -0.22103062272071838, 0.44088536500930786, -0.37050843238830566, -0.8635513186454773, -0.3742308020591736, 0.552316427230835, -0.38309016823768616, 0.07207547128200531, 0.6241042017936707, 0.554025411605835, 0.1015099361538887, 0.45183539390563965, 0.0984513908624649, 0.08991717547178268, 0.6110644340515137, 0.6001875400543213, 1.2882664203643799, -0.2611466348171234, 0.5579246282577515, -0.27534282207489014, -0.3979324698448181, -0.2640073001384735, -0.6308329105377197, -0.7375357747077942, -0.25739750266075134, -0.5283298492431641, -0.4284648895263672, 0.12185799330472946, 0.8583672642707825, 0.5894460082054138, -1.082258701324463, 0.0465395413339138, -0.2003939151763916, -0.07057590037584305, -0.3367170989513397, -0.3002396821975708, 0.5649690628051758, -0.6110642552375793, -0.6710530519485474, 0.18198895454406738, 0.03631178289651871, 0.2868550419807434, -0.08086045831441879, -0.061412956565618515, 0.4272790253162384, -0.5875988006591797, 0.6558583974838257, 0.29463037848472595, -0.8906583189964294, -0.4386588931083679, 0.14455577731132507, 0.036985207349061966, 0.15773215889930725, 0.8519855737686157, -0.6780185699462891, 0.5245488286018372, 0.22477248311042786, 0.5883203148841858, 0.17285555601119995, 0.258749783039093, 0.7673331499099731, -0.8566401600837708, -0.3329886496067047, 0.3048733174800873, 0.3076099455356598, 0.46619611978530884, -0.2442142516374588, 0.6933203339576721, 0.10638361424207687, -0.6239692568778992, -0.48714011907577515, 0.0724836140871048, -0.6640917658805847, -0.09284830093383789, 1.0009297132492065, -0.5831867456436157, 0.21845006942749023, -0.09098450839519501, -0.5231803059577942, 0.4089500904083252, -0.4018668234348297, 0.969151496887207, 0.7509042024612427, -0.5212379097938538, 0.0406758077442646, -0.44055911898612976, 0.547990083694458, 0.8322040438652039, -0.7912489175796509, 0.0008040734101086855, 0.44754061102867126, -0.11270532757043839, 0.37427058815956116, 0.2999446392059326, -0.15767717361450195, 0.5020058751106262, -0.4120940864086151, -0.1735488325357437, -0.1051725372672081, -0.3802024722099304, -0.5681020617485046, 0.23621368408203125, 0.15929603576660156, -0.27909886837005615 ]
http://arxiv.org/abs/2405.00289v2
http://arxiv.org/pdf/2405.00289v2
Adversarial Attacks and Defense for Conversation Entailment Task
2024-05-01T02:49:18
2024-05-02T03:37:08
Zhenning Yang, Ryan Krawec, Liang-Yuan Wu
cs.CL
cs.CL, cs.AI
As the deployment of NLP systems in critical applications grows, ensuring the robustness of large language models (LLMs) against adversarial attacks becomes increasingly important. Large language models excel in various NLP tasks but remain vulnerable to low-cost adversarial attacks. Focusing on the domain of conversation entailment, where multi-turn dialogues serve as premises to verify hypotheses, we fine-tune a transformer model to accurately discern the truthfulness of these hypotheses. Adversaries manipulate hypotheses through synonym swapping, aiming to deceive the model into making incorrect predictions. To counteract these attacks, we implemented innovative fine-tuning techniques and introduced an embedding perturbation loss method to significantly bolster the model's robustness. Our findings not only emphasize the importance of defending against adversarial attacks in NLP but also highlight the real-world implications, suggesting that enhancing model robustness is critical for reliable NLP applications.
[ -0.36160507798194885, -1.3565367460250854, 0.27894753217697144, 0.030371930450201035, 0.025331921875476837, 0.08461747318506241, -0.09009572863578796, -0.29005685448646545, -0.021452872082591057, 0.9806094765663147, -0.5199247598648071, -0.1765063852071762, -0.926872730255127, -0.1105113998055458, -0.8056992888450623, 0.8156160116195679, 0.1441110074520111, -0.07683494687080383, -0.2146749347448349, -0.13215908408164978, -0.3322463929653168, -0.6277555227279663, -0.7559571266174316, -0.46269556879997253, 0.34192532300949097, 0.04169350489974022, 1.182305097579956, 0.3912062644958496, 0.6668951511383057, 0.30405348539352417, -0.29002076387405396, 0.19302505254745483, -0.5912211537361145, 0.6371906399726868, 0.009668296203017235, -0.9606086015701294, -0.39194974303245544, -0.06139786168932915, 0.3046519160270691, 0.5428130626678467, -0.26365435123443604, -0.17605872452259064, 0.11340314894914627, 0.5017129778862, -0.5848023891448975, -0.15247300267219543, -1.2956585884094238, 0.08543429523706436, -0.2541090250015259, -0.21966297924518585, -0.7011299729347229, 0.01868268847465515, 0.17791959643363953, -0.37435364723205566, 0.2583273947238922, 0.10324833542108536, 1.0716432332992554, 0.5896692872047424, -0.1434716135263443, -0.2350524514913559, -0.6617341041564941, 0.6581096053123474, -0.9327389597892761, 0.2549956142902374, 0.27446699142456055, 0.28282809257507324, -0.5322325229644775, -0.5789333581924438, -0.6542799472808838, -0.2750343382358551, -0.11222182214260101, 0.03723461925983429, -0.7146952748298645, 0.24273328483104706, 0.3799312710762024, 0.32926154136657715, -0.33069321513175964, 0.20699098706245422, 0.17326930165290833, -0.18654227256774902, 0.4370076656341553, 0.28404614329338074, 0.4053417146205902, 0.13558343052864075, -0.20633858442306519, -0.2372438907623291, -0.9845304489135742, -0.12869641184806824, 0.7157280445098877, 0.27380186319351196, 0.010717754252254963, 0.7228283286094666, 0.008576016873121262, 0.5277929902076721, 0.22238826751708984, 0.029101485386490822, -0.416957825422287, -0.24323412775993347, -0.4151156544685364, 0.027478398755192757, 0.7246904969215393, 0.19485147297382355, 0.0976690798997879, -0.4317730963230133, -0.03473812714219093, 0.3112110197544098, 0.6651535034179688, -0.7718420028686523, -0.27936577796936035, 0.2779136896133423, -0.17342129349708557, -0.531542956829071, -0.12149816006422043, -0.6849827170372009, -0.5801072716712952, 0.02320791967213154, 0.38380903005599976, -0.42914879322052, 0.03078298270702362, 0.3249855637550354, -0.08740770071744919, 0.20892231166362762, 0.2830413579940796, -0.8599065542221069, 0.3879443407058716, 0.9318505525588989, 0.6464289426803589, -0.16196449100971222, -0.2544948160648346, -0.48317235708236694, 0.09529684484004974, -0.41978687047958374, 0.5790387988090515, -0.5634555220603943, -0.45227736234664917, 0.14512598514556885, 0.014625467360019684, -0.24120531976222992, -0.5017432570457458, 0.6987826824188232, -0.6103975176811218, 0.2386978268623352, 0.16497202217578888, -0.5119161605834961, -0.18826544284820557, 0.7392334938049316, -0.5692710280418396, 0.5828102231025696, -0.2940923571586609, -0.9038481712341309, -0.08103518187999725, -0.46585434675216675, -0.5246695876121521, -0.2256629914045334, -0.007426675874739885, -0.7178206443786621, 0.11058618128299713, 0.4085560142993927, 0.4134996235370636, -0.29454511404037476, 0.09664454311132431, -0.2975398600101471, -0.06292922794818878, 0.49242839217185974, -0.8030776977539062, 0.7302461266517639, -0.048985935747623444, -0.26466768980026245, 0.24846875667572021, -0.3689119219779968, -0.18078209459781647, 0.3715783655643463, -0.13105341792106628, -0.23495279252529144, 0.21498975157737732, -0.41874343156814575, -0.1355762928724289, 0.09357684850692749, -0.5174739956855774, 0.19466912746429443, -0.9647672772407532, 0.5357532501220703, 0.44959452748298645, 0.053581174463033676, 0.48222652077674866, -0.3809472620487213, 0.6063290238380432, 0.06495415419340134, 0.43285608291625977, -0.2644438147544861, -0.5932766795158386, -0.9514078497886658, -0.028775636106729507, 0.33211469650268555, 0.6249280571937561, -0.8370373845100403, 0.381684273481369, -0.12282144278287888, -0.6925695538520813, -0.765774130821228, 0.021915728226304054, 0.3253350555896759, 0.20534735918045044, 0.3394235074520111, 0.15022976696491241, -0.4238121509552002, -0.918716549873352, -0.6014001965522766, -0.02421124279499054, -0.06360326707363129, 0.07482795417308807, 0.42985260486602783, -0.5136629343032837, 0.6433363556861877, -0.5627869367599487, -0.22832296788692474, -0.22788351774215698, -0.011663898825645447, 0.07142338156700134, 0.338810533285141, 0.5061489343643188, -0.8926969766616821, -0.4404805898666382, -0.25124648213386536, -0.4603779911994934, 0.18218110501766205, -0.32411980628967285, -0.1851818710565567, 0.12240493297576904, 0.6286851763725281, -0.793412983417511, 0.44421255588531494, 0.7008381485939026, -0.2557941675186157, 0.33340978622436523, -0.09641294181346893, -0.0634084939956665, -0.977709949016571, -0.41873887181282043, -0.21760614216327667, -0.2292173206806183, -0.8582915663719177, 0.47138845920562744, -0.22031478583812714, -0.09803188592195511, -0.39338913559913635, 0.15542595088481903, 0.028565527871251106, 0.5423018932342529, -0.32676759362220764, 0.04663743078708649, 0.23214152455329895, 0.23775096237659454, -0.30963999032974243, 0.559033215045929, 0.7205221056938171, -0.6021363139152527, 0.42178845405578613, 0.4629456400871277, -0.08515483140945435, 0.532565712928772, -0.9523785710334778, 0.22947177290916443, 0.0487820990383625, 0.30687111616134644, -0.7119853496551514, 0.02072812058031559, 0.23269963264465332, -0.6467364430427551, 0.5721398591995239, -0.17921797931194305, -0.5196211338043213, 0.038854919373989105, -0.39242568612098694, -0.1064901202917099, 0.22225072979927063, -0.6019041538238525, 0.8387851119041443, 0.5234565138816833, 0.09692975133657455, -0.6518037915229797, -0.8644630908966064, 0.5624461770057678, -0.3750394284725189, -0.7895482778549194, 0.5803622603416443, 0.125776469707489, -0.39036715030670166, -0.23692744970321655, 0.06597655266523361, 0.11824797093868256, 0.4442065954208374, 0.271202951669693, 0.04224523901939392, -0.15448851883411407, -0.16044743359088898, -0.22429130971431732, -0.06698007881641388, 0.301250159740448, 0.058030616492033005, 0.734834611415863, -0.10828138142824173, -0.6695042252540588, -0.288519948720932, 0.2635335326194763, 0.6751900315284729, -0.05325915291905403, 0.9601804614067078, 0.5116801261901855, -0.44153890013694763, -0.2773803770542145, -0.516089916229248, -0.33533328771591187, -0.5157400369644165, 0.5854188799858093, -0.39119207859039307, -0.8196517825126648, 0.6122866272926331, 0.010290401987731457, 0.13829421997070312, 0.5431315898895264, 0.390262246131897, 0.05264538899064064, 1.2537102699279785, 0.5510229468345642, -0.18811945617198944, 0.220160573720932, -0.2354249656200409, 0.4654625952243805, -0.8473642468452454, -0.14265653491020203, -0.552580714225769, -0.05155136063694954, -0.7884945273399353, -0.2599411904811859, 0.24906635284423828, -0.06569884717464447, -0.18314103782176971, 0.48345908522605896, -0.39139696955680847, 0.32603180408477783, 0.41746020317077637, 0.08055685460567474, 0.14560462534427643, -0.18213829398155212, 0.2503405511379242, -0.1661888062953949, -0.6650266051292419, -0.5485899448394775, 0.9300439357757568, 0.674832284450531, 1.0661650896072388, 0.45597609877586365, 0.3516237437725067, 0.1434207558631897, 0.019390171393752098, -0.9533302783966064, 0.5675439834594727, -0.32446521520614624, -0.4330012798309326, -0.36841243505477905, -0.325914591550827, -1.0619964599609375, 0.38281187415122986, -0.44660645723342896, -0.5007283091545105, -0.07782681286334991, 0.0668673887848854, -0.1568383425474167, 0.582389235496521, -0.35815128684043884, 0.8310781717300415, -0.18887798488140106, -0.10301536321640015, -0.2651931643486023, -0.35085389018058777, 0.30554571747779846, -0.05355527997016907, -0.10014941543340683, 0.04030497744679451, 0.1269766241312027, 0.4971628785133362, -0.25917160511016846, 1.0188218355178833, 0.07770616561174393, -0.34800660610198975, 0.06407153606414795, 0.42803847789764404, 0.7315609455108643, 0.050921954214572906, 0.0748492181301117, 0.19788631796836853, -0.09328631311655045, -0.1486576795578003, -0.688626229763031, 0.6728937029838562, -0.5570288896560669, -1.1012870073318481, -0.19347451627254486, -0.41454896330833435, -0.23058141767978668, -0.09836073964834213, 0.4325532019138336, 0.30127331614494324, -0.32012739777565, 0.5622631311416626, 1.0331820249557495, -0.3709854185581207, 0.21955054998397827, 0.38312268257141113, 0.15021438896656036, -0.12789878249168396, 0.7256249785423279, -0.17143313586711884, 0.5697187185287476, 0.5085234045982361, 0.28109854459762573, -0.1460384726524353, -0.6645558476448059, -0.4216928780078888, -0.06336095929145813, -0.6322352290153503, -0.4283539056777954, -0.6848718523979187, -0.24561084806919098, -0.5157429575920105, -0.040621738880872726, -0.5843125581741333, -0.28742799162864685, -0.0848129615187645, 0.115040123462677, 0.20359967648983002, 0.5599284768104553, 0.5820751786231995, 0.46792712807655334, -0.570533275604248, 0.28182876110076904, 0.4000732898712158, -0.01934504695236683, -0.11604969948530197, -0.9483581781387329, -0.09965167194604874, 0.41012781858444214, -0.7699533700942993, -0.8390210270881653, 0.5107360482215881, 0.35973677039146423, 0.5189969539642334, 0.3837411403656006, 0.18177562952041626, 0.47028741240501404, -0.5905622243881226, 0.8767815828323364, 0.13624848425388336, -0.8823366761207581, 0.6361375451087952, -0.2845456004142761, 0.3363267481327057, 0.23818382620811462, 0.18420128524303436, -0.4796093702316284, -0.7502871155738831, -0.8813031911849976, -0.8777666687965393, 0.4457070231437683, 0.2810569703578949, 0.4272344708442688, 0.08435439318418503, 0.12204796075820923, -0.15226471424102783, 0.13133321702480316, -0.6592060923576355, -0.4295588433742523, -0.3125411868095398, -0.05238991975784302, 0.07141664624214172, -0.2273198515176773, -0.5362944602966309, -0.02676280215382576, 0.8051002025604248, -0.15425321459770203, 0.22243767976760864, 0.03632262721657753, -0.0710100531578064, 0.06803871691226959, 0.41364747285842896, 0.5468987822532654, 0.16121739149093628, 0.17147475481033325, 0.26251620054244995, 0.4178179204463959, -0.3352234363555908, -0.044281333684921265, 0.07071606069803238, -0.33311912417411804, -0.062101610004901886, 0.471472829580307, 0.9219006896018982, 0.16919104754924774, -0.46956923604011536, 0.6331146359443665, -0.2283257097005844, -0.19444043934345245, -0.31618282198905945, 0.1658053696155548, 0.08371860533952713, 0.1032685860991478, 0.16345657408237457, 0.30683788657188416, 0.10903371125459671, -0.5290595293045044, -0.0711364671587944, 0.8536478877067566, -0.39252424240112305, -0.15967358648777008, 0.6382505297660828, -0.09289495646953583, -0.46191275119781494, 0.35426485538482666, 0.059838976711034775, -0.9195055961608887, 0.6730139255523682, 0.5990621447563171, 0.876733124256134, -0.3272377848625183, -0.02992679551243782, 0.015031998045742512, 0.6640548706054688, -0.24195246398448944, -0.34064480662345886, 0.40131810307502747, -0.9945741295814514, -0.3325311839580536, -0.4106767177581787, -0.8169004321098328, 0.2775459587574005, -0.6129670143127441, 0.15093137323856354, -0.3091415762901306, -0.2142006903886795, 0.20123764872550964, -0.39194294810295105, -0.39324870705604553, 0.08624722063541412, 0.11514457315206528, 0.6296811103820801, -0.4670659005641937, 0.6861562132835388, 0.41044408082962036, -0.06071612238883972, -0.30221089720726013, 0.20089034736156464, -0.11699140071868896, -0.5605573654174805, 0.5276946425437927, 0.017258156090974808, -0.37305131554603577, -0.4354173243045807, -0.6859317421913147, -0.6061457395553589, 0.6115375757217407, 0.6422826051712036, -0.3870663642883301, 0.05460349842905998, 0.3205011487007141, 0.47676321864128113, -0.23302608728408813, 0.09737501293420792, 0.5728942155838013, 0.28894877433776855, -0.022091882303357124, -0.864726185798645, 0.08849705010652542, 0.014796596020460129, -0.12223265320062637, 0.2678644061088562, -0.49801671504974365, 0.7175993323326111, -0.13931193947792053, -0.32702094316482544, -0.17034780979156494, 0.6481204032897949, -0.18083813786506653, 0.024648992344737053, 0.5328598022460938, 0.6227683424949646, 0.5210687518119812, -0.354020357131958, 1.0197919607162476, -0.2649269104003906, 0.051721248775720596, 1.038846492767334, -0.08078224956989288, 0.9062995314598083, 0.3401104807853699, -0.2799414098262787, 0.2131384313106537, 0.17605681717395782, -0.08514402061700821, 0.31245118379592896, 0.32494404911994934, -0.07044487446546555, -0.18441176414489746, 0.12519250810146332, -0.1813291758298874, 0.8037092089653015, 0.7066869139671326, -0.10175216943025589, -0.003741584485396743, 0.02459416165947914, 0.275690495967865, 0.3964080810546875, -0.07339774817228317, 0.9180076718330383, 0.031224645674228668, -0.7340359687805176, 0.7198675274848938, 0.20749850571155548, 1.0734691619873047, -0.6917105317115784, 0.15535540878772736, 0.09134411066770554, 0.5014805793762207, -0.16046547889709473, -0.5315353870391846, 0.591838538646698, -0.2487930953502655, -0.006706568878144026, -0.1365320235490799, 0.6513846516609192, -0.5120019316673279, -0.2538735568523407, 0.31119003891944885, 0.18855296075344086, -0.3569013774394989, -0.29775023460388184, -0.8205825686454773, -0.024579785764217377, -0.006580556742846966, -0.24625489115715027, 0.4276285767555237, 0.14815683662891388, 0.3067173957824707, 0.9915021657943726, 0.5355567336082458, 0.24722543358802795, -0.07515499740839005, 0.23939906060695648, 0.8595578074455261, -0.31326591968536377, -0.25393903255462646, -1.2550766468048096, 0.039351675659418106, -0.22731582820415497, -0.10279084742069244, 1.0939242839813232, 0.4128875434398651, 0.6530956625938416, 0.09591035544872284, 0.6144484281539917, 0.355305552482605, 0.4830244183540344, -0.5481746792793274, 0.7873069643974304, -0.2154785543680191, 0.4151122570037842, -0.05780654028058052, -0.5439062118530273, -0.3434821665287018, 0.41180115938186646, -0.18136709928512573, -0.35345450043678284, 0.6009899973869324, 0.9587917923927307, 0.11106115579605103, 0.28075656294822693, 0.44847115874290466, 0.3036172688007355, 0.7346525192260742, 0.34995758533477783, 0.8484997153282166, -0.7567667961120605, 0.721498966217041, -0.13710781931877136, 0.11617834866046906, -0.07860581576824188, -0.8597841858863831, -1.1396055221557617, -0.33019551634788513, -0.5460416078567505, -0.657760739326477, 0.11762826144695282, 0.4619746804237366, 0.5103085041046143, -0.9460349082946777, -0.024436229839920998, -0.027323132380843163, 0.07279929518699646, -0.13018792867660522, -0.24212254583835602, 0.244455948472023, -0.35976603627204895, -0.7148138284683228, 0.6882490515708923, 0.09983614832162857, 0.16112327575683594, -0.5441743731498718, 0.054838187992572784, -0.11581616848707199, 0.4408215582370758, 0.44475483894348145, 0.012587955221533775, -0.9737223386764526, -0.25403204560279846, -0.03900009021162987, -0.1350945085287094, -0.09546813368797302, 0.7160555720329285, -0.3728126883506775, 0.47351735830307007, 0.2625367343425751, 0.9720754623413086, 0.18412800133228302, -0.14645947515964508, 0.766961395740509, -0.7763117551803589, 0.1970001757144928, 0.3337841033935547, 0.49484768509864807, 0.5400770306587219, -0.5548047423362732, 0.3474579453468323, -0.060850631445646286, -0.5171374678611755, -0.9542981386184692, 0.49261075258255005, -0.6488826274871826, -0.3454899489879608, 1.133256196975708, -0.26981404423713684, -0.1494062840938568, -0.14646171033382416, -0.23383016884326935, 0.1322851926088333, -0.10748154670000076, 0.8615273237228394, 0.7482525110244751, 0.17342610657215118, 0.031140891835093498, -0.48642200231552124, 0.7753502130508423, 0.4616009593009949, -0.7439625263214111, 0.2645331025123596, -0.01143336109817028, -0.099476657807827, 0.39104828238487244, -0.0948982760310173, -0.07957965135574341, -0.102742500603199, 0.1103183850646019, -0.32846635580062866, -0.09359271079301834, -0.06693414598703384, -0.28377917408943176, 0.23996172845363617, 0.014910501427948475, -0.28018635511398315 ]
http://arxiv.org/abs/2405.00273v1
http://arxiv.org/pdf/2405.00273v1
Social Life Simulation for Non-Cognitive Skills Learning
2024-05-01T01:45:50
2024-05-01T01:45:50
Zihan Yan, Yaohong Xiang, Yun Huang
cs.CL
cs.CL, cs.HC
Non-cognitive skills are crucial for personal and social life well-being, and such skill development can be supported by narrative-based (e.g., storytelling) technologies. While generative AI enables interactive and role-playing storytelling, little is known about how users engage with and perceive the use of AI in social life simulation for non-cognitive skills learning. To this end, we introduced SimuLife++, an interactive platform enabled by a large language model (LLM). The system allows users to act as protagonists, creating stories with one or multiple AI-based characters in diverse social scenarios. In particular, we expanded the Human-AI interaction to a Human-AI-AI collaboration by including a sage agent, who acts as a bystander to provide users with more insightful perspectives on their choices and conversations. Through a within-subject user study, we found that the inclusion of the sage agent significantly enhanced narrative immersion, according to the narrative transportation scale, leading to more messages, particularly in group chats. Participants' interactions with the sage agent were also associated with significantly higher scores in their perceived motivation, self-perceptions, and resilience and coping, indicating positive impacts on non-cognitive skills reflection. Participants' interview results further explained the sage agent's aid in decision-making, solving ethical dilemmas, and problem-solving; on the other hand, they suggested improvements in user control and balanced responses from multiple characters. We provide design implications on the application of generative AI in narrative solutions for non-cognitive skill development in broader social contexts.
[ -0.2738296687602997, -0.8862507939338684, 0.5905117392539978, 0.3455606997013092, -0.052237555384635925, 0.4126344621181488, -0.12666676938533783, -0.6333297491073608, 0.7063344120979309, 0.08144156634807587, -0.637753427028656, -0.35889366269111633, -0.3032403588294983, -0.15163898468017578, -0.015905054286122322, 0.9837618470191956, 0.28724128007888794, 0.2675398290157318, -0.5002685785293579, -0.057317353785037994, -0.6678690314292908, -0.4818283021450043, -1.0776753425598145, -0.7063230276107788, 0.7858878374099731, 0.51289302110672, 0.9225264191627502, 0.13377222418785095, -0.08370047062635422, 0.2780536115169525, 0.20100758969783783, 0.2589081823825836, -0.6313543319702148, 0.05574214830994606, -0.14353811740875244, -0.6152176856994629, -0.47880318760871887, -0.003998621832579374, 0.45709890127182007, 0.5855463147163391, -0.22378304600715637, 0.20477424561977386, 0.18432210385799408, 0.3575737178325653, -0.391844779253006, 0.4339669346809387, 0.04743620753288269, 0.14889265596866608, 0.03288228437304497, -0.08616137504577637, -0.27478933334350586, -0.2770406901836395, -0.05033253878355026, -1.2792086601257324, 0.057205598801374435, 0.07623879611492157, 0.5589691400527954, 0.31171566247940063, -0.35636743903160095, -0.1870856136083603, -0.7773841619491577, 0.789657473564148, -0.3413439691066742, 0.037419725209474564, 0.41971731185913086, 0.3716350197792053, -0.31085383892059326, -0.21773600578308105, -0.5980823636054993, -0.43399712443351746, 0.020710652694106102, 0.43500661849975586, 0.26814597845077515, 0.12175004929304123, 0.30318745970726013, -0.10000555217266083, -0.481563001871109, 0.10695755481719971, -0.3193187117576599, -0.2596657872200012, 1.0316139459609985, 0.525321364402771, 0.4389323890209198, -0.06856457144021988, -0.15606500208377838, -0.3682782053947449, -0.43369829654693604, 0.399178147315979, 0.3725280165672302, 0.14614741504192352, -0.3743874430656433, 0.5975334644317627, -0.08741946518421173, 0.10923951864242554, -0.2715986669063568, -0.5160315036773682, 0.3414129316806793, 0.13634967803955078, 0.09025127440690994, 0.27444833517074585, 0.5334622263908386, 0.5884373784065247, 0.7303426861763, -0.23592205345630646, 0.09342581033706665, 0.28798195719718933, 0.40751251578330994, -0.6373502016067505, 0.1640145629644394, -0.04263685271143913, -0.48518386483192444, -0.310183048248291, -0.12838278710842133, -1.0171486139297485, -0.8301566243171692, -0.25982362031936646, 0.23263399302959442, -0.6734481453895569, -0.35075274109840393, 0.021676652133464813, -0.4237212538719177, 0.5264121890068054, 0.5983378291130066, -0.630760669708252, 0.34724146127700806, 0.5020369291305542, 0.7962140440940857, -0.015805013477802277, -0.6639431715011597, -0.5875780582427979, 0.29722702503204346, -0.28556859493255615, 0.8080649375915527, -0.8182258605957031, -0.8379167318344116, -0.08624579757452011, -0.24450179934501648, -0.11160562932491302, -0.2929779887199402, 0.4451224207878113, -0.304531067609787, -0.20375652611255646, -0.4082965850830078, -0.39934101700782776, -0.12829014658927917, 0.2903158664703369, -0.5421510338783264, 0.8082209825515747, 0.1293749213218689, -0.3661193251609802, 0.28994321823120117, -1.0792783498764038, -0.7759315967559814, 0.5347623229026794, -0.3368002474308014, -0.16987518966197968, 0.06004512682557106, -0.014121419750154018, 0.1736016422510147, -0.30030137300491333, 0.31656011939048767, -0.3939932584762573, -0.6909762024879456, 0.4124583899974823, -0.564669668674469, 0.6406171917915344, 0.056369438767433167, -0.3197139501571655, 0.025409987196326256, -0.3958735167980194, 0.016741782426834106, 0.3515804409980774, -0.12855051457881927, -0.07984570413827896, -0.02462810091674328, 0.09035495668649673, 0.01915009319782257, -0.005561946891248226, -0.5198113918304443, -0.014997891150414944, 0.012267529964447021, 0.1876181662082672, 0.4534113109111786, 0.31685250997543335, 0.3129352629184723, -1.037474513053894, 0.9073414206504822, -0.1643664538860321, 0.2564266324043274, -0.16299787163734436, -0.8136641979217529, -0.7276672720909119, -0.16721373796463013, -0.026992492377758026, 0.7559561133384705, -1.3041470050811768, -0.036782119423151016, -0.16692659258842468, -0.6472165584564209, -0.5260044932365417, 0.015320373699069023, 0.4867469072341919, 0.3375406861305237, 0.3249380588531494, -0.20927777886390686, -0.0947965458035469, -0.3795457184314728, -0.42173221707344055, -0.6117375493049622, 0.06685803830623627, 0.5355890393257141, 0.393650084733963, -0.3139077425003052, 0.9319038987159729, -0.41490063071250916, -0.4069875478744507, -0.5444512367248535, 0.49632716178894043, -0.47133493423461914, 0.3897581994533539, 0.5188657641410828, -0.7755903005599976, -0.4397982656955719, -0.0741846039891243, -1.115736722946167, 0.025300875306129456, -0.5649348497390747, -0.01774050109088421, 0.11640012264251709, 0.19897447526454926, -0.7540313005447388, 0.8132506608963013, 0.08826053142547607, -0.20537042617797852, 0.4350508153438568, -0.5269559025764465, 0.3046891987323761, -0.8285487294197083, -0.03518133610486984, 0.14008447527885437, -0.19302645325660706, -0.6926517486572266, -0.1870691478252411, -0.1764267385005951, -0.3656427264213562, -0.5959100127220154, 0.80073481798172, -0.3050507605075836, -0.26730963587760925, -0.1630551815032959, 0.16932788491249084, -0.045894887298345566, 0.5776153802871704, 0.1713200956583023, 1.1666653156280518, 0.45447608828544617, -0.4653344750404358, 0.23681731522083282, 0.30761271715164185, -0.2439855933189392, 0.704876720905304, -0.5930162072181702, 0.1345684826374054, -0.4739988446235657, 0.27281659841537476, -0.6004968881607056, -0.25673365592956543, 0.1588996946811676, -0.6170501708984375, -0.09450153261423111, 0.3240513801574707, -0.772487223148346, 0.08740410208702087, -0.4050999581813812, 0.13373534381389618, 0.6187034249305725, -0.08972367644309998, 0.9434532523155212, 0.5706409811973572, -0.17539000511169434, -0.10505156219005585, -0.8286433219909668, 0.26298773288726807, -0.29009222984313965, -0.6844162344932556, 0.2272818386554718, -0.24403780698776245, -0.4252682328224182, -0.08897416293621063, 0.47291621565818787, 0.11518939584493637, 0.3000505864620209, 0.4520920217037201, 0.3522435128688812, -0.03313262388110161, 0.16630680859088898, 0.4190898537635803, -0.4465247094631195, -0.03797944262623787, 0.22087670862674713, 0.33333051204681396, -0.18166545033454895, -0.46173733472824097, -0.41189926862716675, 0.38463014364242554, 0.5957515835762024, -0.17981426417827606, 1.0392664670944214, 0.3368545174598694, -0.23129762709140778, 0.09820397198200226, -0.4823934733867645, -0.10895400494337082, -0.4149118661880493, -0.07460967451334, 0.0446774959564209, -0.9824074506759644, 0.6318732500076294, -0.22416166961193085, -0.09996651113033295, -0.006432417780160904, 0.3333298861980438, -0.3946584463119507, 0.6225584149360657, 0.519400417804718, -0.0348118394613266, 0.6260175108909607, -0.02560320682823658, 0.10624267160892487, -0.7395305037498474, -0.3757823705673218, 0.20526327192783356, -0.5219632983207703, -0.23971867561340332, -0.6304242014884949, 0.5640517473220825, -0.2479005753993988, -0.15558426082134247, -0.11487021297216415, -0.13059860467910767, 0.51117342710495, 0.4456213712692261, 0.043180547654628754, 0.44620010256767273, -0.23192161321640015, -0.004668895620852709, -0.051316387951374054, -0.5416924953460693, -0.677143931388855, 0.7494386434555054, 0.1929783821105957, 0.8077040910720825, -0.01198006235063076, 0.8607602119445801, 0.6865647435188293, 0.67316073179245, -0.6090987324714661, 0.7911814451217651, 0.26170292496681213, -0.718730092048645, -0.4758788049221039, -0.379075825214386, -0.7986354231834412, 0.029887979850172997, -0.472744345664978, -0.6699713468551636, 0.1454520970582962, -0.1397828608751297, -0.8001916408538818, 0.0232450719922781, -1.03551185131073, 0.6617974638938904, -0.47265157103538513, -0.5140694975852966, -0.3591175377368927, -0.8275399804115295, -0.13601145148277283, -0.07179951667785645, 0.3690457344055176, -0.11048939824104309, 0.005075337830930948, 0.22043679654598236, -0.015734568238258362, 1.3328142166137695, -0.2701582610607147, 0.23305705189704895, 0.6152026653289795, 0.16923072934150696, 0.2974812686443329, 0.3487543761730194, -0.301923930644989, 0.25682443380355835, -0.08323700726032257, -0.29086393117904663, -0.610173225402832, 0.6334894895553589, -1.1639535427093506, -0.6765321493148804, -0.4857889711856842, -0.5264219045639038, -0.13121028244495392, -0.009896382689476013, -0.0913136824965477, -0.009977049194276333, -0.713352620601654, 0.11708483844995499, 0.5703513026237488, -0.4485092759132385, 0.45805785059928894, 0.6416881084442139, -0.1656865030527115, -0.4113618731498718, 1.0607070922851562, 0.4586663544178009, 0.25307682156562805, 0.08472587168216705, 0.05525188893079758, 0.025303205475211143, 0.030663030222058296, -0.42708417773246765, 0.3007679879665375, -0.5365301966667175, -0.08408008515834808, -0.7130691409111023, -0.4042019844055176, -0.21208836138248444, -0.48844408988952637, -0.011644049547612667, -0.2158323973417282, -0.4663052558898926, -0.3876933157444, 0.4443270266056061, 0.6132020354270935, -0.2126706838607788, 0.46333155035972595, -0.7549850940704346, 0.2871004641056061, 0.34521210193634033, 0.0829572007060051, 0.324453204870224, 0.008867332711815834, -0.23204950988292694, 0.22407729923725128, -0.47216367721557617, -0.734846293926239, 0.24870942533016205, 0.16102825105190277, 0.6184204816818237, 0.3854728043079376, 0.23824939131736755, 0.872253954410553, -0.38921186327934265, 0.9240910410881042, -0.052665386348962784, -0.732345700263977, 0.2478906363248825, -0.46721288561820984, 0.12055797874927521, 0.7895823121070862, 0.1602996289730072, -0.8168455362319946, -0.3606012165546417, -0.5929809808731079, -0.41465574502944946, 0.8009960651397705, 0.5369476675987244, 0.5072000026702881, -0.1006060540676117, 0.6563320755958557, 0.09981998056173325, 0.23673297464847565, -0.7282236814498901, -0.35915499925613403, -0.43989455699920654, 0.04753691330552101, -0.24810966849327087, -0.2618221044540405, 0.06331536918878555, -0.20857544243335724, 0.6790067553520203, -0.21993407607078552, 0.41965290904045105, 0.07417197525501251, 0.11612125486135483, -0.26403042674064636, 0.05432537943124771, 0.49670082330703735, 0.31554678082466125, 0.25841236114501953, -0.187774658203125, 0.5788241028785706, -0.375427782535553, 0.10582412779331207, 0.04896503686904907, 0.03503590077161789, -0.5105062127113342, 0.44728153944015503, 0.5507726073265076, 0.2893048822879791, -0.9583103060722351, 0.4922617971897125, -0.39535555243492126, -0.2557833194732666, -0.6318232417106628, 0.588459312915802, 0.3965453505516052, 0.6646460294723511, 0.25564852356910706, -0.13849984109401703, 0.1237415224313736, -0.5825088024139404, 0.07445504516363144, 0.3242809772491455, -0.3396494388580322, -0.16230954229831696, 0.5829720497131348, 0.3102710545063019, -0.8439899682998657, 0.6211029887199402, -0.49279534816741943, -0.20733517408370972, 0.8381661176681519, 0.4582037627696991, 0.795145571231842, -0.1021038293838501, 0.8629074692726135, -0.16632026433944702, 0.32325199246406555, -0.0324825793504715, 0.33395031094551086, -0.22515282034873962, -0.8350505232810974, -0.25233739614486694, -0.25549420714378357, -0.6565359234809875, -0.16410350799560547, -0.5005751252174377, 0.2660195827484131, -0.4750722646713257, -0.15767507255077362, -0.1766601800918579, 0.002648772671818733, -0.43645915389060974, 0.07981472462415695, 0.24822264909744263, 0.611314594745636, -0.9795156717300415, 0.9337584376335144, 0.904746413230896, -0.685077965259552, -0.6311386227607727, 0.5197212100028992, -0.08618921041488647, -0.6514867544174194, 0.31097301840782166, 0.2859986424446106, -0.34362560510635376, 0.07874564081430435, -0.4857148230075836, -0.6360087394714355, 1.6196821928024292, 0.794401228427887, -0.029965730383992195, -0.11043325811624527, 0.436099648475647, 0.9859172701835632, -0.46755996346473694, 0.3434405028820038, 0.10540792346000671, 0.415782630443573, 0.45107409358024597, -0.633131742477417, -0.17435921728610992, -0.3431532084941864, 0.20837661623954773, -0.18073967099189758, -1.2824428081512451, 0.5728786587715149, -0.19691315293312073, -0.25700539350509644, 0.18533337116241455, 0.8124683499336243, 0.4702073931694031, 0.7451253533363342, 0.38419008255004883, 0.2190500944852829, 0.8929880857467651, 0.37696269154548645, 1.08340322971344, -0.26133960485458374, 0.15428899228572845, 0.9368037581443787, -0.7459602355957031, 0.3710087537765503, 0.3386204242706299, 0.32080620527267456, 0.7950118780136108, 0.43045926094055176, 0.38498640060424805, 0.3901048004627228, 0.002809010213240981, -0.5454587340354919, -0.5696921348571777, -0.5108634829521179, -0.18733356893062592, 0.20176176726818085, 0.3619658946990967, 0.008869902230799198, -0.27478158473968506, 0.3319137990474701, 0.07300056517124176, 0.15517814457416534, -0.12189735472202301, 0.8456283807754517, 0.27940452098846436, -0.6865092515945435, -0.12217561155557632, 0.0120076984167099, 0.18565315008163452, -0.5969544649124146, -0.30786508321762085, -0.1236342191696167, 0.07740506529808044, 0.006729563698172569, -0.8006477355957031, 0.34905433654785156, 0.04552564397454262, 0.02980702370405197, -0.4454461634159088, 0.8518587946891785, -0.13364045321941376, -0.607898473739624, 0.682141125202179, 0.7119212746620178, 0.12629413604736328, 0.14075148105621338, -0.627223551273346, -0.11948377639055252, -0.3352121412754059, -0.0811464935541153, 0.514899730682373, 0.7546881437301636, -0.4223802089691162, 0.8531318306922913, 0.78997802734375, -0.32610955834388733, -0.2904956340789795, 0.08178042620420456, 1.1326119899749756, -0.7234426140785217, -0.7163057923316956, -0.7299174666404724, 0.5646012425422668, -0.1634727120399475, -0.34369683265686035, 0.5820722579956055, 0.4744095206260681, 0.4682736396789551, 0.20529022812843323, 0.8563817739486694, 0.0593113973736763, 0.053812477737665176, -0.2009250968694687, 0.8306059837341309, -0.5258320569992065, 0.15363344550132751, -0.22980394959449768, -0.7069593667984009, -0.19653084874153137, 0.7054651379585266, -0.514404296875, 0.2986272871494293, 0.5132466554641724, 0.6490942239761353, 0.35335275530815125, 0.43626469373703003, 0.6693726181983948, -0.3638083040714264, 0.47801634669303894, 0.4494604468345642, 1.1671842336654663, 0.03348979726433754, 0.12732145190238953, 0.1697738915681839, -0.38785815238952637, -0.06752786785364151, -0.7228192090988159, -1.4390767812728882, -0.3312150835990906, -0.04343656450510025, -0.06116249039769173, 0.31061384081840515, 1.1648881435394287, 0.3326817750930786, -0.19699113070964813, -0.44988659024238586, -0.044891051948070526, 0.1320895552635193, -0.22941367328166962, -0.23945125937461853, -0.29299798607826233, -0.25499171018600464, -0.30687376856803894, 0.4354932904243469, 0.3902093172073364, 0.08505727350711823, -0.413570374250412, -0.44889020919799805, -0.13419440388679504, 0.4647330045700073, 0.4969862997531891, 0.3114294409751892, -0.2335241585969925, -0.31666749715805054, 0.0018959189765155315, 0.005784840788692236, 0.060123905539512634, 0.7534999847412109, -0.9823482632637024, 0.24995476007461548, -0.029615849256515503, 0.7501627206802368, 0.680461049079895, 0.09920112043619156, 0.42470628023147583, -0.45311662554740906, 0.2453301101922989, 0.03446285426616669, 0.07158120721578598, 0.20054365694522858, -0.9884090423583984, 0.43038514256477356, 0.25994253158569336, -0.3246085047721863, -0.3607245981693268, 0.13684995472431183, -0.568871796131134, -0.08962052315473557, 1.2863891124725342, -0.22275540232658386, -0.3375386893749237, -0.2847352623939514, -0.5235204696655273, 0.1499355137348175, -0.871680498123169, 0.7832762598991394, 0.8497582674026489, -0.4415253698825836, -0.292640745639801, -0.6781331300735474, 0.20228944718837738, 0.3968817889690399, -1.0950173139572144, -0.11722732335329056, 0.4019147455692291, -0.012098712846636772, 0.29305344820022583, 0.850220263004303, 0.11425063759088516, 0.31553924083709717, -0.0674305185675621, 0.08319812268018723, -0.3020610809326172, -0.4715680778026581, -0.12658606469631195, 0.0002306613023392856, 0.003986250143498182, 0.11640933901071548 ]
http://arxiv.org/abs/2405.00263v1
http://arxiv.org/pdf/2405.00263v1
Clover: Regressive Lightweight Speculative Decoding with Sequential Knowledge
2024-05-01T00:46:22
2024-05-01T00:46:22
Bin Xiao, Chunan Shi, Xiaonan Nie, Fan Yang, Xiangwei Deng, Lei Su, Weipeng Chen, Bin Cui
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) suffer from low efficiency as the mismatch between the requirement of auto-regressive decoding and the design of most contemporary GPUs. Specifically, billions to trillions of parameters must be loaded to the GPU cache through its limited memory bandwidth for computation, but only a small batch of tokens is actually computed. Consequently, the GPU spends most of its time on memory transfer instead of computation. Recently, parallel decoding, a type of speculative decoding algorithms, is becoming more popular and has demonstrated impressive efficiency improvement in generation. It introduces extra decoding heads to large models, enabling them to predict multiple subsequent tokens simultaneously and verify these candidate continuations in a single decoding step. However, this approach deviates from the training objective of next token prediction used during pre-training, resulting in a low hit rate for candidate tokens. In this paper, we propose a new speculative decoding algorithm, Clover, which integrates sequential knowledge into the parallel decoding process. This enhancement improves the hit rate of speculators and thus boosts the overall efficiency. Clover transmits the sequential knowledge from pre-speculated tokens via the Regressive Connection, then employs an Attention Decoder to integrate these speculated tokens. Additionally, Clover incorporates an Augmenting Block that modifies the hidden states to better align with the purpose of speculative generation rather than next token prediction. The experiment results demonstrate that Clover outperforms the baseline by up to 91% on Baichuan-Small and 146% on Baichuan-Large, respectively, and exceeds the performance of the previously top-performing method, Medusa, by up to 37% on Baichuan-Small and 57% on Baichuan-Large, respectively.
[ 0.061779871582984924, -0.5544612407684326, 0.769076406955719, 0.5953237414360046, -0.3528904318809509, 0.5310460925102234, -0.12356498092412949, -0.40749794244766235, 0.6085044145584106, 0.33576700091362, -0.7873798608779907, -0.71760094165802, -0.7077273726463318, 0.25566068291664124, -0.2644816040992737, 0.7459919452667236, -0.07109510898590088, -0.05513770505785942, 0.12969641387462616, 0.2388918399810791, -0.41963282227516174, -0.5040702223777771, -0.6066914796829224, 0.025834467262029648, 0.7820926308631897, 0.5178467035293579, 0.5651623606681824, 1.0336297750473022, 0.5592651963233948, 0.2924928367137909, -0.09774747490882874, 0.31999075412750244, -0.8768328428268433, -0.22622734308242798, 0.012557702139019966, -0.8926647901535034, -0.2635985314846039, -0.41758498549461365, 0.8385018706321716, 0.587673008441925, 0.043868787586688995, 0.36619147658348083, -0.16066449880599976, 0.4145188629627228, -0.8229437470436096, 0.2399137318134308, -0.8614609837532043, 0.06566229462623596, -0.6222720146179199, -0.521906316280365, -0.7761306762695312, -0.2828077971935272, -0.3722412586212158, -0.8427835702896118, 0.3154853284358978, 0.5679592490196228, 0.6741880774497986, 0.22376437485218048, 0.016896963119506836, 0.1313091218471527, -0.5631231069564819, 0.9263983368873596, -0.7774627208709717, 0.2842232882976532, 0.28684282302856445, -0.03391604870557785, -0.30578160285949707, -0.7825659513473511, -0.6277173161506653, 0.16931933164596558, 0.004835555795580149, 0.0790005624294281, 0.045602794736623764, -0.0034368466585874557, 0.35903558135032654, 0.4427160620689392, -0.5377128720283508, 0.2659362256526947, -0.2316114753484726, -0.4004429876804352, 0.21722735464572906, 0.6501649022102356, 0.003064163262024522, -0.08459682017564774, -0.5133801102638245, -0.09778274595737457, -0.5607626438140869, 0.09046559780836105, 0.4768725037574768, 0.21369248628616333, 0.02959664911031723, 0.2046499103307724, -0.3430546522140503, 0.5651261210441589, 0.2661505341529846, -0.26015254855155945, 0.307193785905838, -0.3433077335357666, -0.02750849723815918, -0.10000187158584595, 0.7859197854995728, 0.21906057000160217, -0.3560206890106201, -0.31692036986351013, -0.06943544000387192, 0.5654940605163574, -0.18006408214569092, -0.7475941181182861, -0.45317572355270386, 0.2763018012046814, -0.5742449164390564, -0.08918386697769165, -0.07217157632112503, -0.8177657127380371, -0.12650099396705627, -0.07574702799320221, 0.09536835551261902, -0.5773450136184692, -0.2942611575126648, 0.6050068140029907, -0.38273271918296814, 0.17945876717567444, 0.21304473280906677, -1.2685962915420532, 0.5617966055870056, 0.863030731678009, 0.8710052371025085, -0.17565137147903442, -0.35388073325157166, -0.8691010475158691, 0.25617289543151855, -0.44518786668777466, 0.8062999248504639, -0.6175585985183716, -0.2387751340866089, -0.2603752613067627, -0.004281673114746809, -0.14171206951141357, -0.24203737080097198, 0.4969339668750763, -0.7939462661743164, -0.5856277942657471, -0.654216468334198, -0.3816414475440979, -0.1601429283618927, -0.19733746349811554, -0.6313232779502869, 0.48188453912734985, -0.1705770641565323, -1.1639106273651123, 0.6252748370170593, -0.23649416863918304, -0.48947200179100037, 0.1454632580280304, -0.18462668359279633, -0.10906275361776352, 0.02681407704949379, 0.2727070152759552, 0.38801291584968567, -0.18791672587394714, -0.024543479084968567, -0.745620608329773, -0.673525333404541, 0.0907226949930191, -0.3386903405189514, 0.4985235333442688, 0.2769910991191864, -0.2634466886520386, 0.20895592868328094, -0.7804872989654541, 0.014272474683821201, 0.03920738771557808, 0.197829931974411, -0.44456636905670166, -0.09065224230289459, 0.001489697489887476, -0.27611854672431946, 0.3769240081310272, -0.679217517375946, 0.012920093722641468, -0.24727711081504822, 0.3716352880001068, 0.9639747142791748, -0.0942925438284874, 0.21752648055553436, -0.29078567028045654, 0.26204997301101685, 0.13568870723247528, 0.22315986454486847, -0.5826624631881714, -0.4597698450088501, -0.8846330046653748, -0.5053709149360657, 0.3445761501789093, 0.6506093144416809, -0.7235344648361206, 0.21471668779850006, -0.21411988139152527, -0.26328107714653015, -0.7084535360336304, 0.45391473174095154, 0.3776231110095978, 0.28576329350471497, 0.17885732650756836, -0.2296716868877411, -0.6453000903129578, -0.6050717234611511, -0.39326947927474976, -0.15497642755508423, 0.45336803793907166, -0.039370350539684296, 0.139067605137825, -0.557705283164978, 0.7086726427078247, -0.8778117299079895, 0.028718873858451843, -0.028816957026720047, 0.4332362413406372, 0.5137616395950317, 0.6679837107658386, 0.2993588149547577, -0.59340500831604, -0.34198635816574097, 0.08083898574113846, -0.8209069967269897, 0.3445901870727539, -0.06097756698727608, -0.3762763440608978, -0.013947837054729462, 0.17170852422714233, -0.7368300557136536, 0.34924808144569397, 0.4310940206050873, -0.21201850473880768, 0.6108139753341675, -0.337296724319458, 0.17361094057559967, -0.8035207390785217, 0.04643235728144646, -0.2588881552219391, -0.23966656625270844, -0.27887973189353943, 0.2006058245897293, 0.23895607888698578, 0.18086397647857666, -0.0376705639064312, 0.22343692183494568, -0.520706295967102, -0.018458958715200424, -0.27183809876441956, -0.2677457332611084, -0.1180221289396286, 0.3732450306415558, 0.2640655040740967, 0.9496192336082458, 0.4654283821582794, -0.47327911853790283, 0.36921948194503784, -0.02127298153936863, -0.2577410638332367, -0.21723215281963348, -0.39448902010917664, 0.2955530285835266, -0.1628728210926056, 0.2152431756258011, -1.0006897449493408, -0.22928839921951294, 0.0853671059012413, -0.4085614085197449, 0.1395808458328247, 0.18325351178646088, -0.9459625482559204, -0.5863239765167236, -0.19423803687095642, 0.8361940979957581, 0.8173381686210632, -0.7125564217567444, 0.3073837161064148, 0.10252877324819565, -0.14448459446430206, -0.7007666230201721, -0.7145609855651855, 0.06485883891582489, -0.24410715699195862, -0.6977391242980957, 0.002482519019395113, -0.25906091928482056, -0.14975933730602264, 0.0728454515337944, 0.08540649712085724, 0.1191546767950058, -0.220188170671463, 0.06378348916769028, 0.35172605514526367, -0.2938627302646637, -0.20927982032299042, 0.09727054834365845, -0.5011764764785767, 0.007090704049915075, -0.908256471157074, 0.5060762763023376, 0.022089464589953423, -0.23671694099903107, -0.6854467988014221, 0.4372401535511017, 0.44160330295562744, -0.20565307140350342, 0.7934001088142395, 0.8581492304801941, -0.21890012919902802, -0.4106099307537079, -0.7078585624694824, -0.21660728752613068, -0.5129945278167725, 0.14081259071826935, -0.572417676448822, -0.8534107208251953, 0.9459706544876099, -0.2571171522140503, 0.10497601330280304, 0.38426995277404785, 0.3285088539123535, 0.29771190881729126, 0.8768606185913086, 0.9154919981956482, -0.31488707661628723, 0.24736922979354858, -0.3822541832923889, 0.07881136238574982, -0.554455578327179, -0.17158876359462738, -0.08820748329162598, -0.13373850286006927, -0.14176906645298004, -0.645211398601532, -0.18521322309970856, 0.02152605541050434, -0.06246679648756981, 0.42005327343940735, -0.19424745440483093, 0.19428548216819763, 0.512347400188446, 0.33827370405197144, 0.5846945643424988, 0.008070187643170357, -0.2869073748588562, -0.18363134562969208, -0.8573532104492188, 0.02555502951145172, 1.2295533418655396, 0.5008828639984131, 1.1664302349090576, -0.1892823725938797, 0.8713393807411194, 0.3058958947658539, 0.16539087891578674, -0.4844408333301544, 0.4318927824497223, -0.3001302480697632, -0.22246390581130981, -0.12301220744848251, -0.6727542281150818, -0.5028818845748901, 0.07554545253515244, -0.005948124919086695, -0.6661755442619324, 0.4159276783466339, 0.17727792263031006, -0.8791394829750061, 0.5213977098464966, -0.8063732385635376, 0.48006564378738403, -0.040474675595760345, -0.6054133176803589, -0.31767722964286804, -0.4530338644981384, 0.8921392560005188, -0.3292704224586487, 0.2905917167663574, 0.1008695438504219, -0.042260248214006424, 0.7541050910949707, -0.5167272090911865, 0.9096795916557312, 0.02131890133023262, -0.20974867045879364, -0.015315413475036621, -0.13490404188632965, 0.7830829620361328, 0.3681863248348236, -0.05082389712333679, 0.1808285117149353, 0.07207983732223511, -0.5355159640312195, -0.5272883772850037, 0.7678878903388977, -0.7788679003715515, -0.6223399639129639, -0.38831090927124023, -0.6853542923927307, -0.1945658028125763, 0.32550376653671265, 0.582949697971344, 0.45031583309173584, 0.3551308512687683, -0.1736796498298645, 1.0719002485275269, 0.01757962815463543, 0.04418254643678665, 0.3951582908630371, -0.3206157684326172, -0.6434715390205383, 1.2085715532302856, -0.027700040489435196, 0.303702712059021, 0.65651535987854, -0.2113441675901413, -0.08169665187597275, -0.582015872001648, -0.1900687962770462, 0.38558194041252136, -0.6275845170021057, -0.28452593088150024, -0.7931720018386841, -0.09000737220048904, -0.48665785789489746, -0.03076470084488392, -0.29775097966194153, -0.06563741713762283, -0.42318516969680786, -0.13828670978546143, 0.5450791716575623, 0.6096530556678772, -0.19993877410888672, 0.5730655789375305, -0.7473886013031006, 0.5821766257286072, 0.07574139535427094, 0.4446966350078583, 0.14000439643859863, -0.28022247552871704, -0.369228333234787, -0.11338528990745544, 0.23784831166267395, -0.5260721445083618, 0.3338179886341095, -0.39776337146759033, 0.3474300801753998, 0.8910414576530457, 0.3400427997112274, 1.1928170919418335, -0.711368978023529, 0.29853036999702454, 0.5091176629066467, -0.7388909459114075, 0.18112269043922424, -0.33280980587005615, 0.19648689031600952, 0.5351293683052063, 0.1644686609506607, -0.08843909949064255, -0.4897809624671936, -0.40044519305229187, -0.6828141808509827, 0.778167724609375, 0.0023553965147584677, -0.27962085604667664, -0.011673131957650185, 0.31627413630485535, 0.548349142074585, 0.014934482052922249, -0.24766753613948822, -0.22471410036087036, 0.11793313175439835, -0.292753130197525, -0.42289066314697266, -0.5458118915557861, -0.062227267771959305, -0.1832612007856369, 0.2710804045200348, 0.029668765142560005, 0.396602600812912, 0.03942349925637245, 0.1690574288368225, -0.3174998462200165, -0.11312657594680786, 0.2601025104522705, 0.5264833569526672, -0.4324285089969635, 0.025052901357412338, 0.13247591257095337, -0.6643773913383484, 0.002051560441032052, 0.26698189973831177, -0.2489328235387802, 0.14342427253723145, 0.29952874779701233, 0.960952877998352, 0.5320855975151062, -0.4503787159919739, 0.1041671484708786, -0.2746804654598236, -0.1405700445175171, -0.3932644724845886, -0.0569019578397274, -0.2858235239982605, 0.34920692443847656, 0.5131275653839111, 0.3711486756801605, 0.4077073633670807, -0.4195127487182617, 0.28202056884765625, 0.33011481165885925, 0.20957563817501068, -0.3891982138156891, 0.7829864621162415, 0.08704401552677155, 0.13304710388183594, 0.26860833168029785, -0.15913252532482147, -0.38132891058921814, 0.4460664689540863, 0.8391563296318054, 0.9295507073402405, 0.14554022252559662, -0.04124550148844719, 0.2978987693786621, 0.25840723514556885, -0.38424333930015564, 0.49065154790878296, -0.25684022903442383, -0.45816555619239807, -0.688495397567749, -0.8044220209121704, -0.21975132822990417, -0.12239893525838852, -0.6438616514205933, 0.12245583534240723, -0.8182776570320129, -0.4154219627380371, -0.3095068335533142, 0.14665667712688446, -0.6977576017379761, -0.10626198351383209, 0.026930395513772964, 1.2939081192016602, -0.6593523025512695, 0.8474645614624023, 0.3222149908542633, -0.21960727870464325, -0.8657143115997314, 0.278032124042511, -0.17345863580703735, -0.779346764087677, 0.841151773929596, 0.23993979394435883, -0.3346136510372162, 0.3166452646255493, -0.3350110948085785, -1.0802448987960815, 1.1238538026809692, 0.4133200943470001, -0.749765157699585, -0.2608124613761902, -0.18419186770915985, -0.00055230304133147, -0.25287678837776184, 0.2417919933795929, 0.36672788858413696, 0.3141375482082367, 0.40181857347488403, -0.6952463388442993, 0.1667824387550354, -0.23941071331501007, 0.1405509114265442, 0.0370309017598629, -1.0079463720321655, 1.213039517402649, -0.5503274202346802, -0.4668508768081665, 0.6652683615684509, 1.1837172508239746, 0.4005279839038849, 0.3532269299030304, 0.33230307698249817, 0.6692787408828735, 0.9339866042137146, 0.10535283386707306, 0.8951147794723511, -0.5626403093338013, 0.09408536553382874, 0.5817914009094238, -0.28379857540130615, 1.1011602878570557, 0.37367185950279236, -0.30840733647346497, 0.7655378580093384, 0.7178806066513062, 0.32383885979652405, 0.662714421749115, 0.03395848348736763, -0.30435749888420105, -0.5922465920448303, 0.3475368916988373, -0.5010628700256348, -0.09553857892751694, 0.604360818862915, -0.08543789386749268, 0.08867722749710083, 0.10042678564786911, -0.1137484535574913, 0.04742543026804924, -0.43272650241851807, 0.5613133311271667, 0.22352604568004608, -0.4773836135864258, 0.6140512824058533, 0.09464873373508453, 1.0129693746566772, -1.0052272081375122, 0.0119470851495862, -0.19589124619960785, 0.6783771514892578, -0.2984084486961365, -0.47352564334869385, -0.053413666784763336, -0.17002853751182556, -0.5354266166687012, 0.1712011843919754, 0.6179019808769226, -0.30223867297172546, -0.602581799030304, 0.42637965083122253, -0.1515706181526184, 0.008503958582878113, 0.29288971424102783, -0.13603512942790985, 0.7346187233924866, -0.2108086198568344, 0.47032034397125244, 0.21396401524543762, 0.669687032699585, 0.2542179822921753, 0.6514604091644287, 1.066929578781128, 0.3372231721878052, 0.30052000284194946, -0.2640456259250641, 1.094839334487915, -0.8556700348854065, -1.0859791040420532, -0.6401450634002686, 0.23887546360492706, -0.005225286353379488, 0.13112744688987732, 1.2195947170257568, 0.5713427066802979, 0.5905433297157288, -0.16187453269958496, 0.8153877258300781, 0.36618807911872864, 0.5452232956886292, -0.8510520458221436, 0.4044575095176697, -0.17182691395282745, 0.41002157330513, -0.42143887281417847, -0.5545682907104492, -0.08190858364105225, 0.20736432075500488, -0.4535280764102936, -0.25505825877189636, 0.7199723124504089, 0.5754735469818115, 0.09008168429136276, 0.3393317759037018, 0.2645871043205261, 0.2644343972206116, -0.05521440878510475, 0.9249993562698364, 0.749920129776001, -0.3009621798992157, 0.35594868659973145, -0.053371816873550415, -0.7136566638946533, -0.18206748366355896, -0.5300154685974121, -0.8893486857414246, -0.2730346918106079, 0.0074298568069934845, -0.15873564779758453, 0.36379557847976685, 0.4920220971107483, 0.7163654565811157, -0.705880880355835, -0.3682917356491089, -0.22540636360645294, 0.03269348293542862, -0.40239426493644714, -0.2178499400615692, 0.2632984220981598, -0.8219336271286011, -0.5235228538513184, 0.19163255393505096, 0.31620949506759644, -0.4265591502189636, -0.3212989568710327, -0.262921541929245, 0.03061739355325699, -0.020538317039608955, 0.5453757643699646, 0.5352069139480591, -0.7239704132080078, 0.10861490666866302, 0.14367243647575378, 0.11754491925239563, -0.32827574014663696, 0.9153506755828857, -1.104920506477356, 0.282822847366333, 0.4627832770347595, 0.8767457008361816, 0.48159152269363403, 0.07416962087154388, 0.6506810188293457, -0.12485923618078232, 0.45465177297592163, -0.1132589653134346, 0.3248719274997711, 0.1333319991827011, -0.764299750328064, -0.21491017937660217, 0.8056480288505554, -0.305357426404953, -0.7665058374404907, 0.04370483383536339, -0.8859685063362122, -0.13031212985515594, 1.2935317754745483, -0.31611794233322144, -0.6948451399803162, -0.028379809111356735, -0.06319230049848557, 0.009818273596465588, -0.5577913522720337, 0.4278998076915741, 0.3855699598789215, 0.14205750823020935, -0.2117893546819687, -0.3273705840110779, 0.45184218883514404, 0.3311059772968292, -0.3509562313556671, 0.23139873147010803, 0.3115837872028351, 0.26597073674201965, 0.2989232540130615, 0.8795062303543091, -0.045148465782403946, 0.28876936435699463, 0.6221504807472229, -0.3155369460582733, 0.07987648993730545, -0.5073951482772827, 0.0033902202267199755, 0.09564831852912903, 0.11745567619800568, -0.43836960196495056 ]
http://arxiv.org/abs/2405.00253v2
http://arxiv.org/pdf/2405.00253v2
CodeHalu: Code Hallucinations in LLMs Driven by Execution-based Verification
2024-04-30T23:56:38
2024-06-26T20:28:36
Yuchen Tian, Weixiang Yan, Qian Yang, Qian Chen, Wen Wang, Ziyang Luo, Lei Ma
cs.CL
cs.CL, cs.SE
Large Language Models (LLMs) have made significant progress in code generation, providing developers with unprecedented automated programming support. However, LLMs often generate code that is syntactically correct and even semantically plausible but may not execute as expected or meet specified requirements. This phenomenon of hallucinations in the code domain has not been systematically explored. To enhance the community's understanding and research on this issue, we introduce the concept of code hallucinations and propose a classification method for code hallucination based on execution verification. We classify code hallucinations into four main types: mapping, naming, resource, and logic hallucinations, with each category further divided into different subcategories to understand and address the unique challenges faced by LLMs in code generation with finer granularity. Additionally, we develop a dynamic detection algorithm named CodeHalu to quantify code hallucinations and establish the CodeHaluEval benchmark, which includes 8,883 samples from 699 tasks to systematically and quantitatively evaluate code hallucinations. By evaluating 17 popular LLMs on this benchmark, we reveal significant differences in their accuracy and reliability in code generation and provide detailed insights for further improving the code generation capabilities of LLMs. The CodeHalu benchmark and code are publicly available at https://github.com/yuchen814/CodeHalu.
[ -0.14891760051250458, -0.9802490472793579, 0.4474545419216156, 0.42293813824653625, -0.10120190680027008, 0.292275607585907, -0.38658443093299866, -0.6200708746910095, 0.28937453031539917, 0.7489354610443115, -0.29974162578582764, -0.7361684441566467, -0.44883546233177185, 0.3522101044654846, -0.7625305652618408, 0.6989611387252808, -0.1659727543592453, -0.06720572710037231, -0.3189440071582794, 0.09254982322454453, -0.8284770846366882, -0.7027609348297119, -0.08634664863348007, -0.24322158098220825, 0.16718167066574097, 0.23218899965286255, 0.6075334548950195, 0.5132448077201843, 0.5208231806755066, 0.2913012206554413, 0.15691833198070526, 0.2899971008300781, -0.6150848865509033, 0.2503051459789276, 0.48287972807884216, -0.6094529628753662, -0.3452873229980469, -0.36091578006744385, 0.2446686029434204, 0.4159816801548004, -0.43239253759384155, 0.02707572653889656, -0.13763873279094696, 0.36148127913475037, -0.6328144073486328, 0.1802125871181488, -0.7826351523399353, 0.36179402470588684, -0.10677393525838852, -0.5669646859169006, -0.569780707359314, -0.7024540305137634, -0.3602898120880127, -0.2074526995420456, -0.01761035993695259, 0.04188753291964531, 0.5639452338218689, 0.5447594523429871, -0.1860489547252655, -0.7872402667999268, -0.6819635033607483, 0.5885135531425476, -0.47150421142578125, 0.32627296447753906, 0.2747783064842224, 0.35463252663612366, -0.17593960464000702, -0.6332143545150757, -0.5390349626541138, -0.41878238320350647, -0.050383321940898895, -0.20869149267673492, -0.052360642701387405, -0.05262774974107742, 0.5762004852294922, 0.534269392490387, -0.8587828278541565, 0.1212071105837822, -0.3023242652416229, -0.3447314500808716, 0.5138792395591736, 0.256653755903244, 0.3565453588962555, -0.18588025867938995, -0.2644329369068146, 0.24480870366096497, -0.6896867752075195, -0.34895771741867065, 0.45313191413879395, -0.3037577271461487, -0.013149913400411606, 0.383188933134079, -0.22522781789302826, 0.5428934693336487, -0.24573498964309692, -0.10568755120038986, 0.42630863189697266, 0.05544036999344826, -0.18707045912742615, 0.3802680969238281, 0.38795825839042664, 0.2730558514595032, 0.38313934206962585, -0.32722294330596924, -0.47089722752571106, 0.6227317452430725, 0.6625329852104187, -0.7801691889762878, -0.412677139043808, 0.42868927121162415, -0.5572515726089478, -0.7820942401885986, 0.14693060517311096, -0.6902024149894714, -0.5898151397705078, -0.15509741008281708, 0.24543453752994537, -0.35041213035583496, -0.4274653196334839, 0.25417593121528625, 0.2551140785217285, 0.49401214718818665, 0.17524407804012299, -0.5316251516342163, 0.16015861928462982, 0.8075944185256958, 0.47343409061431885, -0.6132810711860657, -0.44538813829421997, -0.5208248496055603, 0.015117998234927654, -0.5448294281959534, 0.8182960748672485, -0.4520742893218994, -0.2688864469528198, 0.3849267065525055, -0.08612436801195145, 0.1724502146244049, -0.9750190377235413, 0.15985840559005737, -0.6255416870117188, -0.23254495859146118, 0.061606984585523605, -0.47429561614990234, -0.22102445363998413, 0.2557430565357208, -0.46930623054504395, 0.8428394794464111, 0.12633495032787323, -0.4815356433391571, 0.3295501470565796, -0.3215695023536682, -0.5877392292022705, 0.4661644399166107, -0.7190859913825989, -0.3316742479801178, 0.32459092140197754, -0.20431117713451385, 0.394167423248291, -0.011258643120527267, 0.5191289186477661, 0.06048605591058731, -0.8440664410591125, 0.6174255609512329, -0.13929256796836853, 0.5254203081130981, 0.2986781597137451, -0.7547858953475952, 0.28478750586509705, -0.9063356518745422, 0.06155553087592125, 0.2154889702796936, -0.1596301794052124, 0.11197461187839508, -0.009589061141014099, -0.027385441586375237, -0.22770856320858002, 0.1307605803012848, -0.046049974858760834, 0.25327789783477783, -0.12578581273555756, 0.2697005867958069, 0.7029080986976624, 0.0613003671169281, 0.001309953979216516, -0.3264912962913513, 0.7420017719268799, -0.033344607800245285, 0.1960480958223343, -0.12451668828725815, -0.38607120513916016, -0.8075459003448486, -0.05935772508382797, 0.024149730801582336, 0.6213734745979309, -0.8762028217315674, 0.5725924968719482, -0.028037400916218758, -0.2578795552253723, -0.13539066910743713, 0.16042140126228333, 0.4007279574871063, 0.1386265605688095, 0.21177387237548828, -0.14818885922431946, -0.6912349462509155, -0.6814354062080383, -0.07102564722299576, -0.3074951469898224, 0.26286494731903076, 0.1062786728143692, 0.5145429372787476, -0.8874936699867249, 0.373853474855423, -0.5574435591697693, -0.23195216059684753, -0.16072562336921692, 0.17916733026504517, 0.02662709169089794, 0.3595811724662781, 0.24385467171669006, -0.7538012266159058, 0.03591165691614151, -0.04984483867883682, -1.1829922199249268, -0.4247821867465973, -0.31095680594444275, 0.05208129063248634, 0.7351608872413635, 0.6716012358665466, -0.16930145025253296, 0.489766389131546, 0.6119316220283508, -0.18065562844276428, 0.7790617942810059, -0.0944007933139801, 0.25192996859550476, -0.5735130310058594, 0.014176311902701855, -0.5824152827262878, -0.07539305090904236, -0.3974710702896118, 0.5852323174476624, 0.010621463879942894, -0.0272940993309021, -0.11120143532752991, -0.10767102241516113, -0.43526458740234375, -0.3398936986923218, -0.4428580105304718, -0.07327065616846085, -0.31880685687065125, 0.4601757228374481, 0.024417683482170105, 0.5974434614181519, 0.6871935725212097, -0.5222959518432617, 0.7022925019264221, -0.02011200040578842, -0.7486839294433594, 0.14732949435710907, -0.32996419072151184, 0.369466096162796, 0.28351321816444397, 0.17294064164161682, -0.6738168597221375, -0.4485187828540802, 0.1811690330505371, -0.2419600933790207, 0.08011717349290848, 0.13331982493400574, -0.9919952154159546, -0.1927739530801773, -0.12144176661968231, 0.5640549063682556, 0.8416000604629517, -0.584631085395813, 0.36787399649620056, 0.35237717628479004, 0.3334316611289978, -0.45650792121887207, -0.8034216165542603, 0.19475671648979187, -0.190669447183609, -0.4058782756328583, 0.19048011302947998, -0.16860386729240417, -0.41683074831962585, -0.1967160552740097, -0.17535272240638733, -0.03476249799132347, 0.2305671125650406, 0.6372600197792053, 0.1481124311685562, -0.16353952884674072, -0.0685485303401947, 0.024894744157791138, -0.1493038684129715, 0.4772058129310608, 0.03463178128004074, 0.7348212599754333, -0.23896072804927826, -0.5582128167152405, -0.2525169551372528, 0.14678941667079926, 0.4593484103679657, 0.024052083492279053, 0.2567165493965149, 0.6205560564994812, -0.5101732611656189, -0.666364312171936, -0.7673875689506531, -0.19411303102970123, -0.45454102754592896, 0.2909493148326874, -0.5022748708724976, -0.7491788268089294, 0.7107089161872864, -0.07947464287281036, -0.25000718235969543, 0.03130919113755226, 0.7551577687263489, 0.3058829605579376, 0.7802284955978394, 0.4731389880180359, 0.24674652516841888, 0.0074627273716032505, -0.2580190896987915, 0.22466908395290375, -0.19168978929519653, -0.4532776474952698, -0.26628655195236206, -0.12667454779148102, -0.5938037037849426, -0.5336012244224548, 0.15184810757637024, 0.13793796300888062, 0.19619226455688477, 0.31925487518310547, -0.8925995826721191, 0.6116833686828613, 0.13335976004600525, -0.019267698749899864, 0.3827663064002991, 0.056754011660814285, -0.02531207725405693, 0.16323138773441315, -0.46647587418556213, -0.5089758038520813, 0.7064371705055237, 0.2620266079902649, 0.9285688996315002, 0.08765006065368652, 1.0392653942108154, 0.7576239109039307, 0.19159190356731415, -0.6701222658157349, 0.8193902373313904, 0.3890826404094696, -0.15329517424106598, 0.10683158785104752, -0.6427860856056213, -0.7365224957466125, -0.09975449740886688, -0.028791464865207672, -0.54660964012146, 0.08231914788484573, -0.04253699630498886, -0.2434988170862198, 0.08807966858148575, -0.5254237055778503, 0.7021255493164062, -0.3302304148674011, 0.036397989839315414, -0.43703144788742065, -0.28807532787323, 0.6470887660980225, -0.43726637959480286, 0.3662472665309906, 0.04632602632045746, 0.10502877831459045, 0.5138514041900635, -0.3776160478591919, 0.696376621723175, -0.08929585665464401, -0.6458267569541931, 0.3433336913585663, 0.5668232440948486, 0.4239865243434906, 0.14224620163440704, 0.11059027165174484, 0.49607035517692566, 0.026956705376505852, -0.15838561952114105, -0.4566898047924042, 1.00132155418396, -0.4956759214401245, -0.4328666627407074, -0.47739678621292114, -0.4875122010707855, 0.1410066783428192, 0.13772130012512207, 0.4113083481788635, 0.42934662103652954, 0.10345833003520966, -0.05668201297521591, 0.7447095513343811, -0.6206209063529968, 0.19981326162815094, 0.18702957034111023, -0.8475583791732788, -0.24712789058685303, 1.1039448976516724, -0.012315494939684868, -0.19035354256629944, 0.09819429367780685, -0.15275608003139496, 0.07333994656801224, -0.8704243898391724, -0.1963178962469101, 0.05044439435005188, -0.9135762453079224, -0.3340955376625061, -0.5966912508010864, -0.43939200043678284, -0.19613909721374512, -0.3111226260662079, -0.07188742607831955, -0.052867915481328964, -0.08136302977800369, 0.06261368840932846, 0.26398688554763794, 1.0332307815551758, 0.14871922135353088, -0.10504304617643356, -0.638994574546814, 0.5986093282699585, 0.10898163914680481, 0.5249844789505005, -0.0495888777077198, -0.37263035774230957, -0.3208596110343933, -0.3441246449947357, -0.11549573391675949, -0.8248531222343445, 0.1934170424938202, -0.32501405477523804, 0.46999624371528625, 0.45052215456962585, 0.2255984991788864, 0.5502404570579529, -0.39961743354797363, 0.7956043481826782, 0.0383974090218544, -1.1480534076690674, 0.6765368580818176, -0.008167100138962269, 0.07682197540998459, 0.3341808021068573, 0.012899442575871944, -0.24747934937477112, -0.669895589351654, -0.4074389636516571, -0.4701268970966339, 0.3034141957759857, 0.39542949199676514, 0.14452625811100006, -0.19560681283473969, 0.4597443640232086, 0.39275267720222473, 0.0797949731349945, -0.8486700057983398, -0.21284280717372894, -0.008362232707440853, 0.02524426393210888, 0.3560885488986969, -0.38276636600494385, -0.019635425880551338, -0.062391478568315506, 0.3353116810321808, -0.13690251111984253, 0.4184073507785797, -0.007545581087470055, -0.5597095489501953, -0.24039988219738007, -0.03638659045100212, 0.9738343358039856, 1.0353875160217285, -0.18434497714042664, 0.3239409923553467, 0.16838471591472626, -0.4664613902568817, 0.0593852661550045, -0.3292849361896515, 0.09029360860586166, 0.15682712197303772, 0.562619149684906, 0.6408944725990295, 0.23810195922851562, -0.9893773198127747, 0.5856007933616638, -0.10956008732318878, -0.2626817226409912, -0.6762888431549072, 0.4545871913433075, -0.36228176951408386, 0.3179868459701538, 0.41632506251335144, -0.0011543091386556625, 0.22487549483776093, -0.4336985647678375, 0.3299223780632019, 0.19813765585422516, -0.031034914776682854, -0.2791438400745392, 0.5584126710891724, 0.13805893063545227, -0.5291045308113098, 0.5825597047805786, -0.4469433128833771, -0.5906850099563599, 0.6546123027801514, 0.4150596559047699, 1.1482378244400024, 0.010217693634331226, 0.04315250366926193, 0.020731614902615547, 0.2999216616153717, 0.010078824125230312, 0.5536573529243469, -0.14990101754665375, -0.6197290420532227, -0.4434835910797119, -0.7687464356422424, -0.4127449691295624, 0.10648837685585022, -0.662526547908783, 0.37499719858169556, -0.34938037395477295, 0.029654616490006447, -0.35547611117362976, -0.12433383613824844, -0.15560948848724365, -0.1979980617761612, 0.4886910617351532, 0.683249294757843, -0.5318844318389893, 0.9829187989234924, 0.4673563539981842, -0.1385459154844284, -0.37195923924446106, 0.36735299229621887, -0.1807263344526291, -0.8952245116233826, 0.6179942488670349, 0.5310691595077515, -0.18579904735088348, -0.058097027242183685, -0.5284774303436279, -0.2621041536331177, 0.940392255783081, 0.20884542167186737, -0.3829101622104645, -0.04919982701539993, 0.27733027935028076, 0.4475219249725342, -0.4175854027271271, -0.12812362611293793, 0.5214869976043701, 0.3473063111305237, -0.04778089001774788, -0.5588193535804749, 0.3488049805164337, -0.12956778705120087, 0.160257488489151, 0.06125596910715103, -0.3012990951538086, 0.34946706891059875, -0.3751733601093292, -0.20427460968494415, 0.1415206640958786, 0.5154999494552612, 0.6658628582954407, 0.36471447348594666, 0.36758700013160706, 0.38260191679000854, 0.6816413402557373, -0.2055545300245285, 0.882093071937561, -0.7331966161727905, 0.19381071627140045, 0.6701006889343262, -0.586175262928009, 0.5920935273170471, 0.29174694418907166, -0.06304740905761719, 0.8142704367637634, 0.5308587551116943, -0.431810200214386, 0.2748793661594391, 0.635301947593689, 0.05905211716890335, -0.1279250532388687, 0.09440593421459198, -0.6128271222114563, 0.4303953945636749, 0.19795316457748413, -0.21439339220523834, 0.2087818831205368, 0.21224506199359894, -0.2163677215576172, 0.013105346821248531, 0.0859396755695343, 0.8127166628837585, -0.001138780964538455, -0.6811537742614746, 1.1620129346847534, -0.1357937604188919, 0.7220478057861328, -0.3381184935569763, -0.32480546832084656, -0.4435943067073822, 0.20542411506175995, -0.4481948912143707, -0.46035364270210266, 0.43239516019821167, 0.13285376131534576, -0.02849666215479374, -0.2988356053829193, 0.6081626415252686, -0.18091066181659698, -0.26366207003593445, 0.5415658354759216, 0.21395452320575714, 0.5592580437660217, -0.11917493492364883, -0.36244887113571167, 0.9457509517669678, 0.08096975088119507, -0.008554916828870773, 0.10039262473583221, 0.5688745379447937, 0.1405491828918457, 0.5249446630477905, 0.42595645785331726, 0.09527698159217834, 0.22085611522197723, 0.15591250360012054, 0.6172831058502197, -0.6393327713012695, -0.37576809525489807, -0.919062077999115, 0.07769527286291122, 0.14477640390396118, -0.11153680086135864, 0.6519866585731506, 0.7767148017883301, 0.8979410529136658, -0.34493765234947205, 0.46814000606536865, 0.01953676901757717, -0.12879306077957153, -0.6701343059539795, 0.8513851761817932, -0.3830704987049103, 0.6183337569236755, -0.2927524149417877, -1.1262282133102417, -0.5158824920654297, 0.7236883640289307, -0.03286552429199219, 0.029386838898062706, 0.914718747138977, 0.9846997857093811, 0.22544695436954498, 0.08693382143974304, 0.5909340977668762, 0.32852840423583984, 0.12502652406692505, 0.6316691040992737, 1.268519639968872, -0.4006950855255127, 0.5782281756401062, -0.25981876254081726, -0.1746385395526886, -0.4760400354862213, -0.6474922895431519, -0.8264737129211426, -0.5199001431465149, -0.7790848612785339, -0.6879855394363403, -0.10688222199678421, 0.693803071975708, 0.5191779136657715, -0.9448538422584534, -0.5997297167778015, -0.42318132519721985, 0.26690247654914856, -0.2319304347038269, -0.31525906920433044, 0.14589418470859528, -0.6032267808914185, -0.4672435522079468, 0.21495181322097778, 0.36064282059669495, -0.11753172427415848, -0.5809090733528137, -0.41597771644592285, 0.38217198848724365, 0.0326433926820755, 0.6704407930374146, -0.12487240880727768, -1.0899890661239624, -0.049159225076436996, -0.02787562645971775, -0.3519369661808014, 0.041418787091970444, 0.9702221751213074, -0.8510503768920898, 0.21803799271583557, 0.3087006211280823, 0.7367838621139526, 0.1747673749923706, -0.36726880073547363, 0.15989039838314056, -0.5718734860420227, -0.03776788339018822, 0.15472093224525452, 0.3092855215072632, -0.03492981195449829, -0.5615041851997375, 0.7057373523712158, 0.3629729449748993, -0.659246563911438, -1.3895773887634277, 0.2127683460712433, -1.0116641521453857, -0.46399280428886414, 1.3624457120895386, 0.17026783525943756, -0.022284802049398422, -0.033114053308963776, -0.17071138322353363, 0.0822211503982544, -0.04917074367403984, 1.1680296659469604, 0.516609251499176, -0.1731395423412323, -0.21974550187587738, -0.49492090940475464, 0.7032479643821716, 0.22587570548057556, -1.0274065732955933, 0.2495373785495758, 0.6441276669502258, -0.09062721580266953, 0.3641478419303894, 0.3531162142753601, -0.05485684797167778, 0.4059648811817169, 0.04322964325547218, 0.3235750198364258, 0.033019326627254486, -0.4016433656215668, -0.47728246450424194, 0.4505906105041504, 0.12188279628753662, 0.06164964661002159 ]
http://arxiv.org/abs/2405.00216v1
http://arxiv.org/pdf/2405.00216v1
Graphical Reasoning: LLM-based Semi-Open Relation Extraction
2024-04-30T21:41:53
2024-04-30T21:41:53
Yicheng Tao, Yiqun Wang, Longju Bai
cs.CL
cs.CL, cs.AI, cs.LG
This paper presents a comprehensive exploration of relation extraction utilizing advanced language models, specifically Chain of Thought (CoT) and Graphical Reasoning (GRE) techniques. We demonstrate how leveraging in-context learning with GPT-3.5 can significantly enhance the extraction process, particularly through detailed example-based reasoning. Additionally, we introduce a novel graphical reasoning approach that dissects relation extraction into sequential sub-tasks, improving precision and adaptability in processing complex relational data. Our experiments, conducted on multiple datasets, including manually annotated data, show considerable improvements in performance metrics, underscoring the effectiveness of our methodologies.
[ -0.5713773369789124, -1.2782496213912964, 0.958769679069519, -0.2008424699306488, -0.2935348451137543, -0.07010333240032196, -0.0826694518327713, -0.746970534324646, -0.5928373336791992, 0.4712062478065491, -0.4957112669944763, -0.8172938227653503, -0.40592727065086365, -0.029540682211518288, -0.036779142916202545, 1.0322996377944946, -0.39426514506340027, -0.10591758787631989, -0.25456634163856506, -0.17101599276065826, -0.30050137639045715, -0.44452187418937683, -0.8852525353431702, -0.31516632437705994, 0.38352102041244507, 0.2652560770511627, 0.7199928164482117, 0.5123080015182495, 0.4654354155063629, 0.2037937343120575, -0.010648765601217747, 0.3800450563430786, -0.5864591598510742, 0.20431403815746307, -0.5505460500717163, -0.23714302480220795, -0.5265135169029236, -0.028264595195651054, 0.39614245295524597, 0.612042248249054, 0.027182431891560555, 0.31597253680229187, -0.2612929046154022, 0.542894184589386, -0.589529275894165, 0.7583131790161133, -0.543207049369812, -0.006180444732308388, -0.10917124897241592, 0.007275191135704517, -0.5675213932991028, -0.25416186451911926, 0.23237097263336182, -0.5374761819839478, 0.06197667866945267, -0.04307882860302925, 1.1109106540679932, -0.1120864599943161, -0.5334302186965942, -0.26214203238487244, -0.8065934777259827, 0.512158989906311, -0.5398531556129456, 0.442527174949646, 0.1272948533296585, 0.5367566347122192, -0.3288098871707916, -1.2486017942428589, -0.2969469726085663, -0.07084152102470398, -0.1879209578037262, 0.10424718260765076, -0.14129573106765747, 0.21875910460948944, 0.7738381028175354, 0.6021330952644348, -0.351071834564209, -0.39172041416168213, -0.13368074595928192, 0.22165463864803314, 0.6668143272399902, -0.11201562732458115, 0.8140799403190613, -0.19889143109321594, -0.5127118825912476, 0.1646929830312729, -0.9145880341529846, -0.20536644756793976, 0.03175971657037735, 0.15762217342853546, -0.11336565017700195, 0.6483485698699951, 0.011447066441178322, 0.743671715259552, -0.5514213442802429, -0.14709752798080444, -0.2605932950973511, -0.28197988867759705, -0.4601728022098541, -0.2935680150985718, 0.9564149379730225, 0.09645576775074005, 0.7415959239006042, -0.35120177268981934, -0.23574505746364594, 0.043818458914756775, -0.3445900082588196, -0.35645434260368347, -0.497188538312912, 0.10472436249256134, -0.5322502255439758, 0.03472533077001572, 0.14956270158290863, -0.8198402523994446, -0.0581820011138916, -0.4821507930755615, 0.14457225799560547, -0.6101992130279541, -0.29034316539764404, -0.26651009917259216, -0.4055211842060089, 0.24564902484416962, 0.5733686685562134, -0.767388641834259, 0.6027491688728333, 0.5129044055938721, 0.9844619631767273, -0.13836245238780975, 0.18090863525867462, -0.5307788848876953, 0.7223584651947021, -0.10303059965372086, 0.7315567135810852, -0.6416716575622559, -0.22031795978546143, -0.24994638562202454, 0.022402456030249596, -0.09226736426353455, -0.5121971964836121, 0.19245541095733643, -0.6755441427230835, 0.38905516266822815, -0.1671452671289444, -0.6109870672225952, -0.20534305274486542, 0.13761824369430542, -0.8043107986450195, 1.2063186168670654, 0.5418192744255066, -0.8675894737243652, 0.2758495509624481, -0.7226355075836182, -0.27466487884521484, 0.11772790551185608, -0.7199059128761292, -0.08586785942316055, -0.1696578413248062, 0.6729736924171448, 0.4712072014808655, -0.43988651037216187, 0.275644451379776, -0.5849130749702454, -0.1277298629283905, -0.21015216410160065, -0.058394644409418106, 0.8863570690155029, 0.3851868212223053, -0.30697110295295715, 0.19828170537948608, -0.6928765177726746, -0.04334111884236336, 0.17949926853179932, 0.11391980201005936, -0.35133200883865356, -0.012557731941342354, -0.23872418701648712, 0.5417673587799072, 0.10144871473312378, -0.514104425907135, 0.5420010089874268, -0.25751399993896484, 0.32624951004981995, 0.6958357095718384, 0.4332110583782196, 0.3974529206752777, 0.33188897371292114, 0.4576837420463562, 0.11147008836269379, -0.022302839905023575, 0.0716378390789032, -0.49868449568748474, -0.3367493748664856, -0.45940953493118286, 0.23602230846881866, 0.5961347818374634, -1.1349842548370361, -0.001431864919140935, -0.15189699828624725, -0.12095950543880463, 0.07636654376983643, 0.09520969539880753, 0.3157525658607483, 0.6264097690582275, 0.4315871000289917, -0.20494294166564941, -0.3387475609779358, -0.7525928020477295, -0.28729280829429626, -0.24631460011005402, -0.03364240378141403, 0.4907890856266022, 0.37063273787498474, -0.07304584234952927, 1.116365671157837, -1.0384286642074585, -0.08846960216760635, -0.495967298746109, 0.1912652850151062, 0.2552132308483124, 0.1710798442363739, 0.3699215054512024, -0.7181782722473145, -0.4687424302101135, 0.4015013873577118, -1.4862507581710815, 0.054358940571546555, -0.08452759683132172, -0.38592031598091125, -0.09353046864271164, 0.6833688020706177, -0.6537481546401978, 0.7611616253852844, -0.030725348740816116, -0.14846540987491608, 0.49202167987823486, -0.07940399646759033, -0.24958379566669464, -0.9181587100028992, -0.14264200627803802, 0.47742024064064026, -0.49502500891685486, -0.5223667025566101, 0.04324962571263313, -0.052258677780628204, -0.15244655311107635, -0.2458278387784958, 0.661270260810852, -1.0852255821228027, -0.4329105615615845, 0.02838403545320034, 0.4542364776134491, -0.4024598300457001, 0.5424178838729858, 0.25546786189079285, 0.8229639530181885, 0.6135878562927246, -0.47979143261909485, 0.5794535279273987, 0.39371874928474426, -0.2166607528924942, 0.08717284351587296, -0.34516972303390503, 0.21964748203754425, -0.18090954422950745, 0.18744711577892303, -0.9703527092933655, -0.08852708339691162, 0.4263511896133423, -0.0506451278924942, 0.38449349999427795, -0.6022099852561951, -0.665432870388031, -0.18026874959468842, -0.0006956562283448875, 0.3209588825702667, 0.3809567093849182, -0.6967737674713135, 0.4580300748348236, 0.4781121611595154, -0.3371565341949463, -0.47623854875564575, -0.2062755674123764, -0.055253248661756516, -0.1855994611978531, -0.5454041957855225, 0.09401019662618637, 0.5375686883926392, -0.5749841332435608, 0.19751325249671936, -0.3015327751636505, -0.1085214838385582, -0.17610764503479004, -0.09996215254068375, 0.5112518072128296, -0.09542904794216156, 0.07868659496307373, 0.008706274442374706, -0.14680811762809753, 0.24570687115192413, -0.2071046233177185, 0.24302072823047638, -0.18610583245754242, -0.2564285099506378, -0.17570549249649048, 0.18671995401382446, 0.26238909363746643, -0.16925372183322906, 0.5109041929244995, 0.563187301158905, -0.6871174573898315, -0.2338070124387741, -0.17758937180042267, 0.04940856620669365, -0.3703226149082184, 0.29994893074035645, -0.7394269108772278, -0.6381446719169617, 0.5357025265693665, -0.6866307854652405, -0.07982892543077469, 0.29947832226753235, 0.4304085075855255, 0.11194105446338654, 1.0975141525268555, 0.7017661929130554, -0.042664892971515656, 0.5813702344894409, -0.42970308661460876, 0.5107492208480835, -0.9051694869995117, -0.38833844661712646, -0.08027944713830948, 0.15908338129520416, -0.7045401334762573, -0.13057342171669006, 0.3997686207294464, 0.3630380630493164, -0.23747693002223969, 0.2674333155155182, -0.23678839206695557, 0.4304066598415375, 0.2062089592218399, 0.4061053991317749, 0.4705216586589813, 0.07219253480434418, -0.20057052373886108, 0.24429884552955627, -0.5037522315979004, -0.8684594035148621, 0.8327924609184265, 0.26673033833503723, 0.8611383438110352, 0.25327175855636597, 0.5396900177001953, 0.11804383248090744, 0.622020423412323, -0.660449743270874, 0.7558243274688721, 0.026895996183156967, -0.49688485264778137, -0.5394471883773804, -0.7003353238105774, -0.7452171444892883, 0.24331749975681305, 0.03930153697729111, -1.554445743560791, -0.03489284962415695, -0.11179991066455841, 0.24811702966690063, 0.6847801208496094, -0.7516815066337585, 0.8992586731910706, -0.12722991406917572, -0.7315058708190918, 0.23321394622325897, -0.8785982728004456, 0.6972593069076538, 0.3837262690067291, 0.1493944376707077, -0.29671308398246765, 0.04126373305916786, 0.4889973998069763, -0.3655284643173218, 0.4723593294620514, -0.2520504593849182, -0.24590955674648285, 0.4860957860946655, 0.04377957433462143, 0.5826839208602905, 0.3663140535354614, 0.02167491242289543, 0.05076424777507782, 0.1996651589870453, -0.35500574111938477, -1.0118882656097412, 0.49482524394989014, -0.5689701437950134, -0.5027755498886108, -0.4579037129878998, -0.8141120672225952, -0.5826151967048645, 0.3549572825431824, -0.022361038252711296, 0.48310068249702454, -0.2409065067768097, -0.3527563810348511, 0.5159078240394592, -0.11737576872110367, 0.3583351969718933, -0.21026989817619324, -0.4952039420604706, -0.6742216944694519, 0.5748940110206604, -0.04113372042775154, 0.44524186849594116, 0.4752565920352936, -0.05976957082748413, -0.549362063407898, -0.25264739990234375, -0.508129894733429, 0.545875072479248, -1.0067222118377686, -0.04041054844856262, -0.5316475033760071, -0.21361267566680908, -0.221939355134964, 0.27361056208610535, 0.11947961151599884, -0.4332873225212097, -0.09513867646455765, -0.190669983625412, 0.31077060103416443, 1.0643999576568604, 0.25492510199546814, 0.12506072223186493, -0.7894934415817261, 0.5977194905281067, 0.1693103164434433, 0.2405337393283844, 0.0853874534368515, 0.19992928206920624, -0.049674298614263535, -0.07176075130701065, -0.48350194096565247, -1.1885571479797363, 0.2732914686203003, -0.13302941620349884, 0.7422927021980286, 0.4771566390991211, -0.2545902132987976, 0.8592421412467957, -0.3350611925125122, 0.7524672150611877, 0.1783818155527115, -0.848153293132782, 0.7673726081848145, -0.5705565810203552, -0.05208234116435051, 0.2710261940956116, 0.6291139125823975, -0.09007347375154495, -0.1760672926902771, -1.044779658317566, -0.7841600775718689, 0.6380042433738708, 0.47876274585723877, -0.5201625823974609, -0.16703066229820251, 0.6969099640846252, -0.02614133432507515, 0.0946098268032074, -0.6724343299865723, -0.3689534366130829, 0.3908793330192566, -0.2942178249359131, 0.08622875809669495, -0.25262054800987244, -0.107303187251091, -0.5027653574943542, 0.5379306077957153, -0.23489929735660553, 0.511734664440155, 0.23898902535438538, -0.20380161702632904, -0.048172544687986374, 0.27845537662506104, 0.08049312233924866, 1.2792021036148071, -0.46970659494400024, 0.31602030992507935, 0.3629544675350189, -0.20350965857505798, 0.13079872727394104, 0.12389402836561203, 0.033708274364471436, -0.08455482870340347, 0.5984903573989868, 0.6084194779396057, 0.0014333445578813553, -0.3351747989654541, 0.5177220106124878, -0.08890584856271744, 0.05774599313735962, 0.030809296295046806, -0.09232056140899658, 0.14515522122383118, 0.11764606088399887, 0.04530276358127594, -0.4239438474178314, 0.17786481976509094, -0.9066464304924011, 0.48927927017211914, 0.5478975772857666, -0.4928974509239197, -0.16390001773834229, 0.6999950408935547, -0.14797934889793396, 0.11704473197460175, 0.9090079069137573, -0.0162521805614233, -0.1810477077960968, 0.5052562952041626, 0.8721981048583984, 0.8306410312652588, 0.22195787727832794, 0.13281673192977905, 0.45591622591018677, 0.029765931889414787, -0.023561734706163406, 0.35780444741249084, -0.3454535901546478, -0.6362521052360535, -0.5292709469795227, -0.14781227707862854, -0.5342147350311279, 0.17546924948692322, -0.8456950783729553, 0.4543989896774292, -0.3986629843711853, -0.11197267472743988, -0.22595106065273285, -0.06152971833944321, -0.5077043175697327, 0.3277696967124939, 0.12080459296703339, 0.9440620541572571, -0.9052179455757141, 0.8672590851783752, 0.9272035360336304, -0.7633806467056274, -0.9154291749000549, -0.05395957827568054, -0.20648153126239777, -0.6834332942962646, 0.6443755626678467, -0.0022105209063738585, -0.11778588593006134, 0.10424531996250153, -0.6349919438362122, -0.587570071220398, 1.2184771299362183, 0.5962870717048645, -0.408246785402298, -0.1752101182937622, -0.06376675516366959, 0.4675634503364563, -0.4660760760307312, 0.7631770968437195, 0.7439085841178894, 0.17015980184078217, 0.2101311832666397, -0.5724144577980042, 0.33490562438964844, -0.20077405869960785, 0.14768272638320923, 0.6415967345237732, -0.458746999502182, 0.5799457430839539, -0.24451425671577454, -0.5339403748512268, -0.17867155373096466, 0.8830599188804626, 0.40435510873794556, 0.5475528240203857, 0.39065057039260864, 0.5411807894706726, 0.8714579343795776, -0.1296192854642868, 1.0745939016342163, 0.043693091720342636, 0.5433327555656433, 1.3344104290008545, -0.3574506640434265, 0.5912401676177979, 0.5688447952270508, -0.30885252356529236, 0.829368531703949, 0.9161622524261475, 0.24055345356464386, 0.46392902731895447, 0.04397452250123024, -0.38407331705093384, -0.2529369294643402, 0.13353264331817627, -0.2603849172592163, 0.04561559110879898, 0.35312092304229736, -0.559704601764679, -0.6313780546188354, -0.3610672652721405, 0.19658666849136353, -0.10498445481061935, -0.24652056396007538, 1.0771145820617676, 0.4472963213920593, -0.5138257741928101, 0.21794837713241577, -0.30772867798805237, -0.20459440350532532, -0.46395841240882874, -0.5391436219215393, 0.010728470981121063, 0.06160281226038933, -0.33434373140335083, -0.983971893787384, 0.041848037391901016, 0.07345928251743317, 0.045234084129333496, -0.02647683024406433, 1.182861328125, -0.3323396146297455, -0.2618732750415802, 0.4675877094268799, 1.0690457820892334, 0.2938191890716553, 0.029963215813040733, -0.6835047602653503, -0.36361950635910034, 0.10306701064109802, -0.31347668170928955, 0.38044917583465576, 0.903887152671814, -0.5663730502128601, 0.6976035237312317, 0.7116305232048035, 0.2736155092716217, -0.2356836497783661, 0.3251260817050934, 1.1277756690979004, -0.9054055213928223, -0.17860670387744904, -1.0759142637252808, 0.26361382007598877, -0.5179903507232666, 0.015293091535568237, 0.7265671491622925, 0.6978771090507507, 0.8303345441818237, -0.07223662734031677, 1.083755373954773, -0.11040162295103073, 0.08506941795349121, -0.6926020383834839, 0.16075779497623444, -0.12749817967414856, 0.409349650144577, -0.7505100965499878, -1.1261463165283203, -0.42508813738822937, 0.44704797863960266, -0.8535281419754028, 0.1555752158164978, 1.0965638160705566, 0.5452947020530701, -0.3597733676433563, 0.24066422879695892, 0.05196680873632431, -0.07708141207695007, 0.7624010443687439, 0.722577691078186, 1.0056594610214233, -0.4105563461780548, 0.4060746729373932, -0.25418660044670105, -0.47406572103500366, 0.6138928532600403, -0.9739540219306946, -1.018526554107666, -0.25716227293014526, -0.3490568995475769, -0.266708642244339, 0.06245507672429085, 0.7018625140190125, 0.39027130603790283, -0.5053746700286865, -0.3777651786804199, -0.4611891210079193, 0.38370800018310547, -0.40189120173454285, -0.3172294795513153, 0.664456307888031, -0.42471858859062195, -0.5388104319572449, 0.06526238471269608, 0.37730666995048523, 0.032685767859220505, 0.15590038895606995, 0.05989304929971695, -0.6354034543037415, -0.3274678587913513, 0.8366916179656982, 0.26611530780792236, -0.4764522612094879, -0.39487001299858093, -0.5311076641082764, 0.10813385248184204, 0.2397511601448059, 0.8312423229217529, -0.7152106761932373, 0.4581904411315918, 0.5888440012931824, 0.23247280716896057, 1.0417759418487549, 0.5631518959999084, 0.839166522026062, -0.6207141280174255, 0.030578002333641052, -0.08846220374107361, 0.4703068733215332, 0.1286475509405136, -0.6448633670806885, 1.0891377925872803, 0.42989638447761536, -0.37044334411621094, -0.7302254438400269, 0.4411824941635132, -1.0361106395721436, -0.16298437118530273, 1.2299212217330933, -0.3624034821987152, -0.3370586037635803, -0.28939613699913025, -0.3773117661476135, 0.6367844939231873, -0.16782550513744354, 0.26480650901794434, 0.641633927822113, -0.9936929941177368, -0.3850369453430176, -0.6533969044685364, 0.4750424921512604, -0.30412837862968445, -1.3072739839553833, 0.05259648710489273, 0.4059440493583679, 0.34247562289237976, -0.21552740037441254, 0.7600147724151611, -0.49809175729751587, 0.030127638950943947, -0.07614417374134064, -0.11418136209249496, -0.09242294728755951, -0.28790193796157837, 0.12787331640720367, 0.2794645130634308, 0.07100844383239746, -0.11333254724740982 ]
http://arxiv.org/abs/2405.00208v2
http://arxiv.org/pdf/2405.00208v2
A Primer on the Inner Workings of Transformer-based Language Models
2024-04-30T21:20:17
2024-05-02T01:29:17
Javier Ferrando, Gabriele Sarti, Arianna Bisazza, Marta R. Costa-jussà
cs.CL
cs.CL
The rapid progress of research aimed at interpreting the inner workings of advanced language models has highlighted a need for contextualizing the insights gained from years of work in this area. This primer provides a concise technical introduction to the current techniques used to interpret the inner workings of Transformer-based language models, focusing on the generative decoder-only architecture. We conclude by presenting a comprehensive overview of the known internal mechanisms implemented by these models, uncovering connections across popular approaches and active research directions in this area.
[ -0.07178086787462234, -0.6812685132026672, 0.3796471357345581, -0.08811105042695999, -0.0977298691868782, 0.09940449148416519, -0.050371721386909485, -0.0867023915052414, -0.30319058895111084, 0.9715006947517395, -0.5395499467849731, 0.04369954392313957, -0.4830859899520874, -0.010791298933327198, -0.7756476998329163, 1.042418122291565, 0.07889444380998611, 0.08472852408885956, -0.029356330633163452, 0.3497481346130371, -0.41950032114982605, -0.437467098236084, -0.5051529407501221, -0.5562687516212463, -0.11321951448917389, 0.28693708777427673, 0.8022946119308472, 0.49617159366607666, 0.5119703412055969, 0.271529883146286, -0.3956589698791504, -0.3649531602859497, -0.44821545481681824, 0.2746407389640808, -0.13499291241168976, -0.7974416017532349, -0.15190652012825012, -0.49321019649505615, 0.746213972568512, 0.7106385827064514, 0.009799255058169365, -0.08489853888750076, 0.1653682440519333, 0.3917703330516815, -0.4163590967655182, 0.3707631528377533, -0.49790772795677185, 0.04687170311808586, -0.5868831276893616, -0.33629828691482544, -0.8310878276824951, -0.12273775786161423, -0.003600749420002103, 0.06966421753168106, 0.6177158951759338, -0.3297517001628876, 0.5667302012443542, 0.08710770308971405, -0.5834201574325562, -0.4386969804763794, -1.1447794437408447, 0.6876348257064819, -0.4030667543411255, 0.5844687819480896, 0.13367725908756256, 0.4103313684463501, 0.16263407468795776, -0.8832892775535583, -0.49293389916419983, -0.2813596725463867, -0.48875176906585693, -0.17810803651809692, -0.4243382513523102, 0.3192285895347595, 0.002489404985681176, 1.0216106176376343, -0.3887776732444763, 0.045395493507385254, -0.5555893182754517, 0.18994179368019104, 0.14193125069141388, 0.32253965735435486, 0.5028780102729797, -0.1072167158126831, -0.01792696677148342, -0.15399886667728424, -0.7788571715354919, 0.062054429203271866, 0.24373263120651245, 0.08863560855388641, -0.24255234003067017, 0.6540776491165161, 0.209966242313385, 0.572519838809967, 0.2074991762638092, 0.13424919545650482, -0.1487172394990921, -0.4598679840564728, -0.4316962659358978, -0.2773107886314392, 0.6207386255264282, 0.022691715508699417, 0.21828576922416687, -0.7544788718223572, -0.5079852342605591, 0.2644334137439728, 0.5235162377357483, -0.6125764846801758, -0.4689752459526062, 0.19095362722873688, -0.6117047071456909, -0.4834190607070923, 0.10214424878358841, -0.8327064514160156, -0.19493840634822845, -0.1808421015739441, 0.11888806521892548, -0.36418816447257996, -0.7463277578353882, 0.09352052956819534, -0.11493554711341858, 0.6822004914283752, -0.22363734245300293, -1.038905143737793, 0.6108022332191467, 0.854429304599762, 0.7697449922561646, -0.028248079121112823, -0.11637300997972488, -0.15368279814720154, 0.0726834088563919, -0.22907479107379913, 0.986747682094574, -0.7212086319923401, -0.5471872091293335, 0.19859586656093597, 0.3316582143306732, -0.15321199595928192, -0.5728496313095093, 0.74151211977005, -0.9569607377052307, -0.07448038458824158, 0.01876336708664894, -0.6915416717529297, -0.15709885954856873, -0.1667540967464447, -0.9048478007316589, 0.6050995588302612, 0.20523671805858612, -0.6049221158027649, -0.05015139281749725, -1.125792145729065, -0.3342060446739197, 0.15045389533042908, -0.03789175674319267, 0.000870032119564712, 0.6364555358886719, 0.10454954952001572, 0.05766952037811279, -0.516071081161499, 0.36437729001045227, 0.3282308578491211, -0.25710809230804443, 0.38089263439178467, -0.5973932147026062, 0.9849203824996948, 0.21815253794193268, -0.3307826817035675, 0.47800585627555847, -0.7898786664009094, -0.22841215133666992, 0.29443037509918213, 0.22518637776374817, 0.046691883355379105, 0.044441185891628265, 0.07398200035095215, 0.006879640277475119, -0.024041181430220604, -0.3533128798007965, 0.3437674343585968, -0.4553975462913513, 0.48130542039871216, 0.43677085638046265, -0.15188412368297577, 0.9656709432601929, -0.06308048218488693, 0.8382447957992554, -0.18935570120811462, 0.1915721744298935, -0.9512087106704712, -0.42292559146881104, -1.0134671926498413, 0.05970508232712746, 0.02843143232166767, 0.5589550733566284, -0.42344823479652405, 0.35467734932899475, -0.32257550954818726, -0.385903924703598, -0.704092800617218, -0.16781602799892426, 0.3838086724281311, 0.25565752387046814, 0.1869076043367386, -0.23634213209152222, -0.4327426850795746, -0.8657271265983582, 0.0038158565293997526, 0.08000726252794266, 0.01229449175298214, -0.25161615014076233, 0.46755996346473694, -0.2931007444858551, 1.1037375926971436, -0.38860443234443665, 0.011655931361019611, -0.5282140970230103, 0.18888455629348755, 0.287152498960495, 0.4933229684829712, 0.4496849775314331, -0.9085066914558411, -0.384023517370224, 0.07548360526561737, -0.6970527172088623, -0.1699150651693344, 0.018096668645739555, -0.07222364097833633, -0.3418348729610443, 0.7981474995613098, -0.703183114528656, 0.4154316782951355, 0.5790159702301025, -0.3872362971305847, 0.5923828482627869, 0.07148191332817078, -0.12593385577201843, -0.643736720085144, 0.23176231980323792, -0.15335822105407715, 0.252392053604126, -1.2223082780838013, 0.5636891722679138, 0.26523080468177795, -0.3199954032897949, -0.1105138286948204, 0.5138498544692993, -0.5935961008071899, -0.1513175517320633, -0.6851558685302734, -0.46186187863349915, -0.001033517182804644, 0.030576864257454872, 0.09361645579338074, 0.9905157685279846, 0.745508074760437, -0.38440844416618347, 0.3524695336818695, 0.3617071807384491, -0.42318910360336304, 0.3062637746334076, -0.8434264063835144, 0.2483009696006775, -0.4435358941555023, 0.2684820592403412, -0.8070105910301208, 0.030022284016013145, 0.26414695382118225, -0.1842058002948761, 0.5395867228507996, -0.578342854976654, -0.6687862873077393, -0.3491547405719757, 0.3390395939350128, 0.3710443377494812, 0.5547267198562622, -0.6002687215805054, 0.8523001074790955, 0.29502493143081665, -0.06502217799425125, -0.175912544131279, -0.5936854481697083, 0.3014601469039917, -0.07047685235738754, -0.7613733410835266, 0.548035740852356, -0.005158160347491503, -0.7647364735603333, 0.06792893260717392, 0.11745929718017578, -0.3515479266643524, 0.06727191060781479, 0.1992395520210266, -0.017115769907832146, -0.679093062877655, -0.022495530545711517, -0.1096586361527443, -0.6373166441917419, 0.2742043137550354, -0.2776073217391968, 0.5473595857620239, -0.27963462471961975, -0.29083138704299927, -0.48583194613456726, 0.657855749130249, 0.8706673979759216, -0.5710195302963257, 0.9838159084320068, 0.2157634049654007, -0.00896693766117096, -0.1372240036725998, -0.4129358232021332, -0.4256267547607422, -0.52342289686203, 0.28931525349617004, -0.815359890460968, -0.5208906531333923, 0.6791207790374756, -0.06017712503671646, -0.006105631589889526, 0.49969056248664856, 0.5368450284004211, 0.3389457166194916, 0.8332785964012146, 1.3994797468185425, 0.13854041695594788, 0.5160638093948364, -0.36377188563346863, 0.5600978136062622, -0.7255851030349731, -0.30970391631126404, -0.5039998292922974, 0.39092132449150085, -0.2613355219364166, -0.4090619385242462, 0.2061401754617691, 0.36543041467666626, -0.11567508429288864, 0.36080989241600037, -0.4845041036605835, 0.5884743928909302, 0.37913164496421814, -0.4022427797317505, 0.44553810358047485, -0.2396748661994934, -0.08381526917219162, 0.11665738373994827, -0.7496776580810547, -0.6311565637588501, 0.840837836265564, 0.5801483392715454, 0.889784038066864, 0.030448373407125473, -0.020164690911769867, 0.05466008186340332, 0.5457809567451477, -0.662601888179779, 0.20477145910263062, -0.04239250347018242, -0.6824790239334106, 0.14314910769462585, -0.08145532757043839, -0.7754659056663513, 0.5368903279304504, 0.1450181007385254, -0.42682018876075745, 0.1250842660665512, -0.003371213795617223, 0.006577788852155209, 0.8213427662849426, -0.6785278916358948, 1.1192142963409424, -0.36795347929000854, 0.30518385767936707, -0.060116544365882874, -0.562819242477417, 0.5046364068984985, 0.03470814973115921, 0.36417436599731445, 0.29657596349716187, 0.24187016487121582, 0.07979407161474228, -0.08729881793260574, 0.9239752888679504, 0.004144810605794191, -0.5812609195709229, 0.17585594952106476, 0.24084225296974182, 0.4755859076976776, -0.5326880812644958, -0.044719286262989044, 0.140280082821846, -0.18028990924358368, -0.13850650191307068, -0.6021041870117188, 0.3075817823410034, -0.5476043820381165, -0.37431830167770386, -0.14477641880512238, -0.49636393785476685, 0.025946645066142082, 0.036930255591869354, 0.40631771087646484, 0.6982793211936951, -0.32063987851142883, 0.21814824640750885, 0.6676701307296753, -0.013442832045257092, 0.4478831887245178, 0.5143462419509888, -0.1729745715856552, -0.20187683403491974, 0.43324044346809387, -0.3950612246990204, 0.29808634519577026, 0.9021394848823547, 0.04421931132674217, -0.25725823640823364, -0.6185135245323181, -0.5591614842414856, 0.2000904679298401, -1.0548450946807861, 0.05792633816599846, -0.908054769039154, -0.3277856111526489, -0.3833487927913666, -0.19122955203056335, -0.39729180932044983, 0.019594041630625725, -0.20507065951824188, -0.17511750757694244, 0.09149785339832306, 1.1354033946990967, 0.12771056592464447, 0.8141101002693176, -0.8451765775680542, 0.35435688495635986, 0.31550151109695435, 0.4562033712863922, 0.2780894935131073, -0.4984283745288849, -0.37362557649612427, -0.07741986960172653, -0.29196372628211975, -1.0000275373458862, 0.29071834683418274, 0.09099199622869492, 0.5897310972213745, 0.47512614727020264, -0.1632162630558014, 0.4711402654647827, -0.6998395323753357, 0.7587249875068665, -0.032856836915016174, -1.048989176750183, 0.6018804311752319, -0.17476363480091095, 0.1438685804605484, 0.04775663837790489, 0.08586200326681137, -0.4774826765060425, -0.269436240196228, -0.4135902523994446, -0.714236319065094, 0.6029247045516968, 0.15601389110088348, 0.3611040711402893, 0.009338424541056156, 0.3104608356952667, 0.16753269731998444, 0.010563354007899761, -0.9623086452484131, -0.5221259593963623, -0.27773237228393555, -0.09928344935178757, -0.09839259833097458, -0.4857266843318939, -0.0849851742386818, 0.04294256493449211, 0.3916187584400177, -0.303535133600235, 0.38257014751434326, -0.2573128938674927, -0.5222132205963135, -0.3094616234302521, 0.47622576355934143, 0.3790745735168457, 0.7060665488243103, -0.02453213930130005, 0.05434871464967728, -0.18412655591964722, -0.15706492960453033, 0.07017001509666443, 0.046246834099292755, -0.29582679271698, -0.03471815586090088, 0.35524457693099976, 1.1529752016067505, 0.4858610928058624, -0.5457842946052551, 0.6041955947875977, -0.06877367943525314, 0.3348954916000366, -0.37994182109832764, -0.13018445670604706, -0.256706565618515, 0.46763959527015686, 0.6954364776611328, 0.06713339686393738, 0.06097261235117912, -0.6050717234611511, 0.3994183838367462, 0.37941068410873413, -0.5265260934829712, -0.8320454359054565, 0.6377169489860535, 0.20859362185001373, -0.22249409556388855, 0.6329079270362854, 0.05941534787416458, -0.506472647190094, 0.50133216381073, 0.947139322757721, 1.2805752754211426, -0.3062821924686432, 0.022096358239650726, 0.09898533672094345, 0.49464207887649536, -0.022708304226398468, -0.04499722644686699, -0.1896834671497345, -0.7441709637641907, -0.8620895743370056, -0.6614946126937866, -0.4264661371707916, 0.14174601435661316, -0.8038555979728699, 0.019404690712690353, 0.17289386689662933, 0.1259043961763382, -0.06985089927911758, -0.5103006958961487, -0.4634028971195221, 0.04913483187556267, 0.22838129103183746, 0.9002947211265564, -0.9116307497024536, 0.9987168908119202, 0.6108617186546326, -0.5049579739570618, 0.025684304535388947, 0.3058137595653534, -0.10081075131893158, -0.8079850673675537, 0.8781863451004028, -0.11385833472013474, -0.33113300800323486, 0.07109773904085159, -0.36552077531814575, -0.9444946646690369, 0.5897341966629028, 0.2641788125038147, -0.297200083732605, -0.4169636070728302, 0.03182237967848778, 0.38860854506492615, -0.35585540533065796, 0.4233378767967224, 0.6695016622543335, 0.39978355169296265, -0.24139519035816193, -0.9247807860374451, -0.104060098528862, -0.549462616443634, 0.13221079111099243, 0.39455923438072205, -0.30615493655204773, 0.9476020932197571, -0.11918262392282486, -0.603135883808136, 0.31451669335365295, 0.9364036321640015, -0.35696664452552795, -0.24662820994853973, 0.29247725009918213, 0.33427998423576355, 0.12397680431604385, -0.074053555727005, 1.1865822076797485, -0.8830945491790771, 0.3091243803501129, 0.7743104696273804, 0.09687364101409912, 0.4242880642414093, 0.154804989695549, -0.1808810830116272, 0.6645018458366394, -0.1803969442844391, -0.15883398056030273, 0.6529482007026672, -0.002729639410972595, -0.3569032549858093, 0.014536948874592781, -0.032969821244478226, -0.17334893345832825, 0.4179794192314148, 0.6002491116523743, -0.4089576005935669, -0.42529842257499695, 0.11130394786596298, -0.16097959876060486, -0.13158684968948364, -0.1779385358095169, 0.8255214691162109, 0.11624738574028015, -0.6160042881965637, 0.23055480420589447, 0.20811346173286438, 0.8743249177932739, -0.6712652444839478, -0.00030615527066402137, -0.010659351944923401, 0.23886963725090027, 0.07173458486795425, -0.9965082406997681, 0.744773805141449, 0.19577260315418243, -0.48720160126686096, -0.6110462546348572, 0.7841446399688721, -0.3182791471481323, -0.19523294270038605, 0.32373443245887756, 0.5465465188026428, -0.21091021597385406, -0.2411259114742279, -0.45654842257499695, 0.328836053609848, -0.15868942439556122, 0.15850092470645905, -0.051103249192237854, 0.4937596619129181, 0.255779892206192, 0.5434714555740356, 0.5521372556686401, -0.21035946905612946, 0.16019342839717865, 0.17843984067440033, 0.7194250822067261, -1.0115301609039307, -0.5266334414482117, -0.7331725358963013, 0.7423826456069946, 0.3824845552444458, -0.14407068490982056, 0.6638196110725403, 0.37928274273872375, 0.6512075066566467, -0.11163195222616196, 0.8826964497566223, -0.05706747993826866, 0.15789993107318878, -0.4919866621494293, 0.5914684534072876, -0.11094947159290314, 0.030869919806718826, 0.08572567254304886, -0.6680974364280701, -0.25006943941116333, 0.5786616206169128, -0.06504356116056442, -0.262670636177063, 0.5856510996818542, 0.8218843936920166, -0.3046378493309021, 0.34462970495224, 0.1369318813085556, 0.38252726197242737, 0.43966612219810486, 0.11092599481344223, 1.1140155792236328, -0.48507532477378845, 0.5002037882804871, -0.3900076150894165, -0.22632165253162384, -0.24799005687236786, -0.7156665921211243, -0.7205202579498291, -0.7328079342842102, -0.14791475236415863, -0.15198847651481628, -0.13315194845199585, 0.32823145389556885, 0.7323381900787354, -1.0235739946365356, -0.43810218572616577, -0.5795915126800537, -0.026984281837940216, -0.2528907358646393, -0.3087407052516937, 0.2770847976207733, -0.5556613802909851, -0.5039463639259338, 0.7345150709152222, 0.2038516104221344, 0.027653133496642113, -0.4239279627799988, 0.20090728998184204, 0.5444878339767456, 0.10937842726707458, 0.7043357491493225, 0.2839680016040802, -0.9823573231697083, 0.27524837851524353, 0.18353776633739471, 0.07197416573762894, 0.25695472955703735, 1.5272884368896484, -0.6292642951011658, 0.4577353894710541, 0.5010194778442383, 0.3985309898853302, 0.3877474367618561, -0.4138105809688568, 0.9085819721221924, -0.4317705035209656, -0.10146306455135345, 0.26490476727485657, 0.3972048759460449, 0.48417720198631287, -0.1047697365283966, 0.3127971291542053, 0.09153631329536438, -0.44469067454338074, -0.8729292750358582, 0.4572255313396454, -0.46863096952438354, -0.24442973732948303, 0.9698845148086548, 0.10251407325267792, -0.1722932755947113, -0.28932708501815796, -0.08228140324354172, 0.26116684079170227, 0.08081494271755219, 0.31594231724739075, 0.3947826325893402, 0.0012548149097710848, -0.6993478536605835, -0.5267794132232666, 0.4041185975074768, 0.04142773896455765, -0.610356867313385, 0.3597135543823242, 0.2685311436653137, 0.16728563606739044, 0.18811532855033875, 0.5781143307685852, -0.3223218321800232, -0.0669274851679802, 0.3273869454860687, 0.1182924211025238, 0.19534656405448914, -0.47875431180000305, -0.7264376282691956, 0.38279464840888977, -0.09972348064184189, 0.2768018841743469 ]
http://arxiv.org/abs/2405.00204v1
http://arxiv.org/pdf/2405.00204v1
General Purpose Verification for Chain of Thought Prompting
2024-04-30T21:15:17
2024-04-30T21:15:17
Robert Vacareanu, Anurag Pratik, Evangelia Spiliopoulou, Zheng Qi, Giovanni Paolini, Neha Anna John, Jie Ma, Yassine Benajiba, Miguel Ballesteros
cs.CL
cs.CL, cs.AI
Many of the recent capabilities demonstrated by Large Language Models (LLMs) arise primarily from their ability to exploit contextual information. In this paper, we explore ways to improve reasoning capabilities of LLMs through (1) exploration of different chains of thought and (2) validation of the individual steps of the reasoning process. We propose three general principles that a model should adhere to while reasoning: (i) Relevance, (ii) Mathematical Accuracy, and (iii) Logical Consistency. We apply these constraints to the reasoning steps generated by the LLM to improve the accuracy of the final generation. The constraints are applied in the form of verifiers: the model itself is asked to verify if the generated steps satisfy each constraint. To further steer the generations towards high-quality solutions, we use the perplexity of the reasoning steps as an additional verifier. We evaluate our method on 4 distinct types of reasoning tasks, spanning a total of 9 different datasets. Experiments show that our method is always better than vanilla generation, and, in 6 out of the 9 datasets, it is better than best-of N sampling which samples N reasoning chains and picks the lowest perplexity generation.
[ -0.2892194986343384, -0.8948953747749329, 1.1641864776611328, -0.09313642233610153, -0.12421438097953796, -0.021710310131311417, -0.3498803377151489, -0.22297023236751556, -0.20035269856452942, 0.8230901956558228, -0.6498594880104065, -0.48873820900917053, -0.2983977198600769, 0.2567950189113617, -0.3910658657550812, 0.7888508439064026, -0.42089545726776123, -0.29469001293182373, -0.45218631625175476, 0.13505607843399048, -0.3768966794013977, -0.6339125037193298, -0.41975030303001404, -0.5784255862236023, 0.4495474696159363, 0.3424006402492523, 0.6361312866210938, 0.5927170515060425, 0.3233988881111145, 0.28723645210266113, -0.3050139844417572, 0.8111284971237183, -0.4118413031101227, 0.38004401326179504, -0.6145337224006653, -0.46744391322135925, -0.38682985305786133, -0.3662392497062683, 0.4093817472457886, 0.5401017665863037, -0.1533769816160202, 0.1297304630279541, 0.0005883128615096211, 0.5159183144569397, -0.7372484803199768, -0.25939497351646423, -0.7945595979690552, -0.19729994237422943, -0.014013810083270073, -0.3279497027397156, -0.5478084683418274, -0.5959618091583252, 0.16640380024909973, -0.4704410433769226, 0.09732287377119064, 0.225747749209404, 0.9961224794387817, 0.22764812409877777, -0.6306893229484558, -0.4970778822898865, -0.9637037515640259, 0.6987828612327576, -0.7031707763671875, 0.33566516637802124, 0.38446706533432007, 0.21031107008457184, -0.47865596413612366, -0.7926145792007446, -0.6849295496940613, -0.18078085780143738, 0.07807613164186478, -0.2589256763458252, -0.0630779042840004, 0.13653527200222015, 0.7276576161384583, 0.5456052422523499, -0.2972353398799896, -0.08110176026821136, -0.1587350070476532, -0.28762999176979065, 0.5022963881492615, 0.11764773726463318, 0.2597845494747162, -0.0028052902780473232, -0.2640325129032135, -0.12450966984033585, -1.196570873260498, 0.11325067281723022, 0.4355309009552002, 0.0032289547380059958, 0.30453598499298096, 0.614041268825531, -0.4791364371776581, 0.8171620965003967, 0.09926645457744598, -0.1973167508840561, 0.005675147753208876, -0.5463361740112305, -0.31521841883659363, -0.25065580010414124, 0.4229300618171692, 0.26340988278388977, 0.48159781098365784, 0.04748070240020752, -0.32785341143608093, -0.04980986937880516, 0.44835352897644043, -0.38253816962242126, -0.1262882649898529, 0.35288164019584656, 0.01685500144958496, -0.004594341851770878, -0.15095044672489166, -0.21469250321388245, -0.27532318234443665, -0.555554986000061, 0.31037062406539917, -0.3847861588001251, -0.05680012330412865, 0.3659810721874237, 0.009199771098792553, 0.22066356241703033, 0.623226523399353, -0.8736472725868225, 0.1851460188627243, 0.8935219049453735, 0.4238411486148834, 0.07430251687765121, -0.1962369829416275, -0.46502503752708435, 0.352765828371048, -0.4569739103317261, 0.8440617322921753, -0.4446772634983063, -0.06562937796115875, 0.09389440715312958, -0.13060198724269867, 0.04046054556965828, -0.4968693256378174, 0.7726724743843079, -0.44888442754745483, 0.08335825800895691, -0.7807398438453674, -0.681054413318634, -0.3177715539932251, 0.6686922907829285, -0.34419870376586914, 0.8677027821540833, -0.028078593313694, -0.6946446299552917, 0.4478392004966736, -0.3795548379421234, -0.4459596872329712, -0.016868801787495613, -0.39162278175354004, -0.057255759835243225, 0.3798640966415405, 0.481948584318161, 0.38288620114326477, -0.593926191329956, 0.39713260531425476, -0.2666171193122864, -0.16955168545246124, 0.2760160267353058, -0.25289666652679443, 0.6709819436073303, 0.24617475271224976, -0.26757949590682983, 0.1340862661600113, -0.7958439588546753, 0.4519348740577698, -0.028279440477490425, -0.3897128999233246, -0.3017984926700592, 0.23123271763324738, -0.6464981436729431, 0.18773993849754333, -0.04158258065581322, -0.29417362809181213, 0.4214567542076111, -0.2922714650630951, 0.6454577445983887, 0.762534499168396, 0.3548847734928131, 0.055458348244428635, -0.38035598397254944, 0.4570501446723938, 0.08397772908210754, 0.1801878660917282, -0.24346774816513062, -0.5125413537025452, -1.0085052251815796, 0.0803401842713356, 0.23912301659584045, 0.536283016204834, -0.8921436071395874, 0.6480953097343445, -0.1267353594303131, -0.14985321462154388, -0.1125202402472496, 0.2668535113334656, 0.3502286970615387, 0.5221811532974243, 0.32329997420310974, -0.06909196823835373, -0.6661850810050964, -0.6985113620758057, -0.05149983614683151, -0.43832510709762573, -0.18210487067699432, 0.2532292604446411, 0.6705172061920166, -0.36355480551719666, 0.907930850982666, -0.16821858286857605, 0.62626713514328, -0.23411718010902405, -0.07623908668756485, 0.46321049332618713, 0.4547850787639618, -0.06693053990602493, -0.4779135286808014, 0.05646282061934471, 0.15463410317897797, -0.947102427482605, -0.1560979038476944, -0.2413298785686493, -0.26081740856170654, -0.0000044445355342759285, 0.37818974256515503, -0.46914955973625183, 0.42319682240486145, 0.3565281629562378, -0.15020786225795746, 0.5964184999465942, -0.4109402894973755, 0.18832401931285858, -0.7137685418128967, -0.08308451622724533, -0.0025630458258092403, -0.29369062185287476, -0.73138427734375, 0.30629411339759827, 0.02698274701833725, 0.21859173476696014, -0.1934937685728073, 0.13911287486553192, -0.45470452308654785, 0.2824960947036743, -0.1409093290567398, 0.1942654848098755, 0.2248333841562271, 0.16541647911071777, -0.08749829232692719, 0.5954453945159912, 0.6209099292755127, -1.027490496635437, 0.5667213797569275, -0.0088378069922328, -0.5701398253440857, 0.5631757378578186, -0.8379662036895752, 0.4978768527507782, -0.13715916872024536, 0.41220512986183167, -1.007473111152649, -0.21984992921352386, 0.12270225584506989, 0.01375070121139288, -0.11180039495229721, 0.12393085658550262, -0.7611362934112549, -0.7624152898788452, 0.026632050052285194, 0.26929545402526855, 0.5312473177909851, -0.7992622256278992, 0.7924925088882446, 0.026703692972660065, 0.2946852445602417, -0.6098822355270386, -0.4429450035095215, 0.0543912835419178, -0.226833775639534, -0.9425391554832458, 0.1460016369819641, -0.1181614026427269, -0.44932082295417786, -0.3946646451950073, -0.354768306016922, 0.1971379816532135, 0.11620163917541504, 0.07792561501264572, 0.18457451462745667, -0.11242823302745819, 0.16189774870872498, 0.07526136189699173, 0.01091398298740387, 0.2108609676361084, -0.5648582577705383, 0.43785423040390015, -0.08802389353513718, -0.6428528428077698, -0.15834107995033264, 0.08240733295679092, 0.423235148191452, -0.06334402412176132, 0.18993918597698212, 0.12948423624038696, -0.4032615125179291, -0.5420265793800354, -1.07135808467865, -0.137581467628479, -0.49496990442276, -0.10066352784633636, -0.6702356338500977, -1.0342904329299927, 0.6345972418785095, -0.4130915701389313, -0.035311367362737656, 0.2262449860572815, 0.5157794952392578, 0.09526287764310837, 0.988395094871521, 0.48115476965904236, 0.15731973946094513, -0.2422359585762024, -0.10317524522542953, 0.4254012107849121, -0.9933573007583618, -0.3187636733055115, -0.41282156109809875, -0.09365078061819077, -0.4186471700668335, -0.5604885220527649, 0.30795302987098694, 0.4628480076789856, -0.29388394951820374, 0.2587969899177551, -0.4460933208465576, 0.7671940326690674, 0.4666212797164917, 0.1601153165102005, 0.4277154207229614, 0.10551037639379501, -0.7064248919487, 0.3011709153652191, -0.601748526096344, -0.9480992555618286, 0.8679565787315369, 0.4456019401550293, 0.7740581035614014, 0.06886035948991776, 0.7088214755058289, 0.00935598835349083, 0.03626364842057228, -0.4421466290950775, 0.7850800156593323, 0.15193164348602295, -0.7586572170257568, -0.30956390500068665, -0.4789268374443054, -0.6206130385398865, 0.16048240661621094, -0.015340838581323624, -1.1716233491897583, 0.26787063479423523, 0.43641501665115356, -0.3781653046607971, 0.3668619990348816, -0.3040330410003662, 0.4425916373729706, -0.27760598063468933, -0.5087984800338745, -0.269284725189209, -0.44569769501686096, 0.6462989449501038, 0.11010625958442688, 0.06708499789237976, 0.12087993323802948, 0.18077826499938965, 0.16400781273841858, -0.7979522347450256, 0.7637425661087036, 0.07595672458410263, -0.6451003551483154, 0.6783565878868103, 0.07552214711904526, 0.9539834260940552, -0.08145394921302795, -0.08025846630334854, -0.18195900321006775, -0.26301151514053345, -0.031090281903743744, -0.794817328453064, 0.5597670078277588, -0.3844744861125946, -1.225693941116333, -0.06713546812534332, -0.5156259536743164, -0.37625911831855774, 0.026725176721811295, 0.3157254457473755, 0.3114301860332489, 0.09407174587249756, 0.24839246273040771, 0.9241378903388977, -0.0967753678560257, 0.00882341992110014, 0.04315485432744026, -0.45930254459381104, -0.5136731863021851, 0.5201261639595032, -0.05568781495094299, 0.532154381275177, 0.35407450795173645, 0.3675972819328308, -0.3964167535305023, -0.6773656010627747, -0.4130549132823944, 0.1362387239933014, -1.1836886405944824, -0.009950913488864899, -0.5241889357566833, -0.10088421404361725, -0.33811047673225403, -0.020650014281272888, -0.050502579659223557, -0.3224371671676636, 0.007733575068414211, -0.1710847169160843, 0.25376883149147034, 0.9503985047340393, 0.003163508605211973, 0.019107285887002945, -0.4179810583591461, 0.18706996738910675, 0.6432870626449585, 0.11040536314249039, 0.10776350647211075, -0.5074445605278015, 0.089378222823143, 0.07213227450847626, -0.3545101583003998, -0.6196451783180237, -0.2212475836277008, -0.18140627443790436, 0.769436240196228, 0.5455339550971985, -0.11756544560194016, 0.7792748808860779, -0.48514237999916077, 0.8322583436965942, 0.16128306090831757, -1.300718069076538, 0.9567535519599915, -0.3296230435371399, 0.27890363335609436, 0.4125451147556305, 0.3559759557247162, -0.3336501717567444, -0.49476248025894165, -0.6815507411956787, -0.7269954681396484, 0.11144016683101654, 0.31597769260406494, -0.036087874323129654, -0.06112910807132721, 0.8260201811790466, -0.15156739950180054, 0.07468022406101227, -0.6781375408172607, -0.03764395788311958, -0.05142175778746605, 0.08791740238666534, 0.2332843393087387, -0.38050615787506104, -0.15326881408691406, -0.27635881304740906, 0.6777260899543762, -0.23165887594223022, -0.2981642782688141, 0.37727290391921997, 0.05921531468629837, -0.18372958898544312, 0.4464682340621948, 0.7640933990478516, 1.190909743309021, 0.007275942713022232, 0.4992254078388214, 0.5069722533226013, -0.10743137449026108, 0.5324199795722961, -0.5518770813941956, -0.4218944013118744, -0.12282656133174896, 0.4597051441669464, 0.8137229681015015, -0.03876722231507301, -0.48270469903945923, 0.18812842667102814, 0.10952210426330566, -0.3074241578578949, -0.06864730268716812, 0.5213083028793335, 0.05023068189620972, 0.2933034300804138, 0.16048650443553925, -0.10994164645671844, 0.035844627767801285, -0.5729441046714783, 0.050032805651426315, 0.29960936307907104, 0.08118206262588501, -0.21356165409088135, 0.4346732199192047, -0.02426234632730484, -0.22717028856277466, 0.6944484710693359, -0.25942182540893555, -0.5867569446563721, 0.45014116168022156, 0.6276402473449707, 0.7765101790428162, -0.1598075032234192, 0.10241641849279404, 0.5210373997688293, 0.5202699303627014, -0.5611849427223206, 0.46066391468048096, -0.2280338704586029, -0.9400249123573303, -0.7532248497009277, -0.2867794334888458, -0.7913420796394348, 0.2196165919303894, -0.4573633074760437, 0.2839910686016083, -0.6229009628295898, -0.3725656270980835, -0.23807327449321747, -0.19457997381687164, -0.5561319589614868, 0.31916141510009766, 0.2691093683242798, 0.7913484573364258, -0.7005670666694641, 0.827921450138092, 0.6490294337272644, -0.2513674199581146, -0.9973610639572144, -0.01028516050428152, 0.03211166337132454, -0.751335084438324, 0.8224448561668396, 0.0895017459988594, -0.34740668535232544, -0.2251453846693039, -0.7637525200843811, -0.9166460633277893, 0.9711779356002808, 0.25696054100990295, -0.9544490575790405, -0.05693921446800232, 0.08424808830022812, 0.47572991251945496, -0.507903516292572, 0.17912064492702484, 0.575517475605011, 0.6003469824790955, 0.4565120339393616, -0.7140327095985413, 0.3128929138183594, -0.1223406046628952, 0.30085450410842896, -0.02476680465042591, -0.05913986265659332, 0.8481429219245911, -0.48616576194763184, -0.34656020998954773, 0.058089375495910645, 0.7358826398849487, 0.9213024377822876, 0.12679217755794525, 0.7368369698524475, 0.6209105849266052, 1.323096752166748, -0.2102157026529312, 1.18080472946167, -0.11631100624799728, 0.13493387401103973, 1.1394354104995728, -0.5524528622627258, 0.7041330933570862, 0.5839027762413025, -0.15754497051239014, 0.8645005822181702, 0.3808942139148712, -0.030908916145563126, 0.1718243956565857, 0.8300600051879883, -0.18219000101089478, -0.6108154654502869, -0.1428600251674652, -0.21735768020153046, 0.1504131555557251, 0.4787004590034485, -0.32074788212776184, -0.06574572622776031, -0.1445486694574356, 0.0763503760099411, 0.16251146793365479, -0.32494375109672546, 0.4899744391441345, -0.05935187265276909, -1.1062248945236206, 0.8330507278442383, -0.20329539477825165, 0.34108901023864746, -0.4403519630432129, 0.00200018216855824, 0.02782735601067543, 0.3608590066432953, -0.14108306169509888, -0.7399663925170898, -0.026849621906876564, 0.1000402495265007, -0.18598243594169617, -0.2357705682516098, 0.8730260729789734, -0.1946856826543808, -0.4933362901210785, 0.05360087752342224, 0.5020933151245117, 0.15468904376029968, 0.04041937366127968, -0.37276163697242737, 0.2855870723724365, 0.19572944939136505, -0.2032754272222519, -0.26359114050865173, 0.936007559299469, -0.17529639601707458, 0.8101330995559692, 0.6268925070762634, 0.27536138892173767, -0.10981369018554688, 0.3533647656440735, 0.8856066465377808, -0.6699331402778625, -0.22576335072517395, -1.0769528150558472, 0.5144845247268677, -0.24841780960559845, -0.43876659870147705, 0.9123717546463013, 0.22905509173870087, 0.908191978931427, 0.07315359264612198, 0.7525472640991211, 0.17103849351406097, 0.2388273924589157, -0.8877320885658264, 0.041616328060626984, -0.18396812677383423, 0.572146475315094, -0.18428801000118256, -0.8772373199462891, -0.375913143157959, 0.8396459221839905, -0.5191401243209839, 0.12939909100532532, 1.006752371788025, 0.7037148475646973, 0.04967448115348816, 0.39164474606513977, 0.23751795291900635, 0.09532862156629562, 0.5469724535942078, 0.8184869289398193, 1.4196573495864868, -0.28752538561820984, 0.16182661056518555, -0.1865207701921463, -0.09822287410497665, 0.10854175686836243, -1.2638959884643555, -1.1309529542922974, -0.30582839250564575, -0.547494113445282, -0.5570421814918518, 0.03007352538406849, 0.8670806884765625, 0.6971381306648254, -0.7846809029579163, -0.3182760775089264, -0.4498407244682312, 0.3793277144432068, -0.29139161109924316, -0.10642050206661224, 0.01251980196684599, -0.5751517415046692, -0.33339354395866394, 0.40523403882980347, 0.3888450562953949, -0.04847019538283348, -0.4942973256111145, -0.07389567047357559, -0.2600257992744446, 0.31118273735046387, 0.6148864030838013, 0.1321861743927002, -1.2130308151245117, -0.701574981212616, -0.17155106365680695, 0.09781986474990845, -0.04493575543165207, 1.1736549139022827, -0.6147395372390747, 0.30631500482559204, 0.6941776871681213, 0.5123171806335449, 0.3502678871154785, 0.04026108980178833, 0.706476092338562, -0.5708185434341431, -0.4784995913505554, 0.08220551908016205, 0.6167441010475159, 0.28454849123954773, -0.3904529809951782, 0.6626736521720886, 0.016964903101325035, -0.7137999534606934, -0.8749658465385437, 0.4947676360607147, -0.7345078587532043, -0.11938966065645218, 1.271582007408142, -0.3295940160751343, -0.3331417441368103, -0.15304812788963318, -0.04273079335689545, -0.024272235110402107, -0.006943676620721817, 0.5925057530403137, 1.0040045976638794, -0.15126651525497437, -0.07303725183010101, -0.3299345374107361, 0.2938738167285919, 0.3110654354095459, -0.9541175365447998, 0.33725449442863464, 0.4961620271205902, 0.23242609202861786, 0.46380341053009033, 0.4918387234210968, 0.02586989849805832, 0.10441813617944717, -0.2794037461280823, -0.1727481186389923, 0.08425430208444595, -0.48189231753349304, -0.12488238513469696, 0.2581263482570648, 0.12800286710262299, 0.2733984589576721 ]
http://arxiv.org/abs/2405.00201v1
http://arxiv.org/pdf/2405.00201v1
SPAFIT: Stratified Progressive Adaptation Fine-tuning for Pre-trained Large Language Models
2024-04-30T21:07:32
2024-04-30T21:07:32
Samir Arora, Liangliang Wang
cs.CL
cs.CL, cs.AI
Full fine-tuning is a popular approach to adapt Transformer-based pre-trained large language models to a specific downstream task. However, the substantial requirements for computational power and storage have discouraged its widespread use. Moreover, increasing evidence of catastrophic forgetting and overparameterization in the Transformer architecture has motivated researchers to seek more efficient fine-tuning (PEFT) methods. Commonly known parameter-efficient fine-tuning methods like LoRA and BitFit are typically applied across all layers of the model. We propose a PEFT method, called Stratified Progressive Adaptation Fine-tuning (SPAFIT), based on the localization of different types of linguistic knowledge to specific layers of the model. Our experiments, conducted on nine tasks from the GLUE benchmark, show that our proposed SPAFIT method outperforms other PEFT methods while fine-tuning only a fraction of the parameters adjusted by other methods.
[ -0.5237699151039124, -1.102375864982605, 0.29258137941360474, 0.36930790543556213, -0.15877702832221985, -0.1342420130968094, -0.6290823221206665, -0.13011883199214935, -0.14134344458580017, 0.6343607306480408, -0.6074302196502686, -0.3335149586200714, -0.49147915840148926, -0.0953650251030922, -0.21307061612606049, 1.2330585718154907, -0.1989274024963379, -0.18769705295562744, 0.13119971752166748, -0.013582025654613972, -0.5798618197441101, -0.25739118456840515, -0.9394502639770508, -0.4714590311050415, 0.29593273997306824, 0.4647098183631897, 0.6180287599563599, 0.37098249793052673, 0.44705459475517273, 0.3351510167121887, -0.1836465448141098, 0.2748069167137146, -0.758529543876648, -0.0953316017985344, -0.5175468921661377, -0.3693012595176697, -0.497727632522583, -0.32949450612068176, 0.8366949558258057, 0.8227431178092957, -0.3076464533805847, 0.379009872674942, 0.15326006710529327, 0.9138890504837036, -0.6434398889541626, -0.047333043068647385, -0.7031216025352478, 0.041090045124292374, -0.04103163257241249, -0.20853291451931, -0.45040562748908997, -0.1582820862531662, 0.09659676253795624, -0.6137422919273376, 0.4528980553150177, -0.07393671572208405, 0.7571191191673279, 0.5704346299171448, -0.29084110260009766, 0.14691630005836487, -1.0161957740783691, 0.5977073311805725, -0.6339685916900635, 0.45712336897850037, 0.4065149426460266, 0.25734785199165344, -0.4119611978530884, -0.6283699870109558, -0.3381277918815613, -0.34970003366470337, -0.010001693852245808, 0.050900619477033615, -0.14080071449279785, 0.16276392340660095, 0.25026166439056396, 0.36197206377983093, -0.5544727444648743, 0.15843534469604492, -0.11278031766414642, -0.07902293652296066, 0.34206584095954895, -0.2152630090713501, -0.05858606472611427, 0.4159826338291168, -0.3387332260608673, -0.0061522177420556545, -0.6408341526985168, 0.04544373229146004, 0.0979725643992424, 0.47432443499565125, -0.08373620361089706, 0.32640719413757324, -0.2937810719013214, 0.8569617867469788, 0.6242536306381226, -0.0862143412232399, 0.20265629887580872, -0.22164218127727509, -0.3758556544780731, -0.05299048125743866, 0.42563146352767944, -0.11773795634508133, 0.4237263798713684, -0.2776840031147003, -0.29583004117012024, -0.30861902236938477, 0.37649276852607727, -0.6487164497375488, -0.33930906653404236, -0.1708640456199646, -0.1610250025987625, 0.044008586555719376, -0.19921156764030457, -0.46984803676605225, -0.24244895577430725, -0.4063757359981537, 0.8431159257888794, -0.41948404908180237, -0.33500561118125916, 0.40775418281555176, 0.1242884173989296, 0.25508853793144226, 0.3146879971027374, -0.8312473297119141, 0.43089017271995544, 0.7555360794067383, 0.8046578168869019, -0.17812520265579224, -0.5818720459938049, -0.7939702272415161, 0.06078580766916275, -0.2919972836971283, 1.127126693725586, -0.6523319482803345, -0.04551727697253227, -0.18150977790355682, 0.3578869700431824, -0.4856888949871063, -0.6006259918212891, 0.5457196831703186, -0.3888362646102905, 0.12612959742546082, -0.04702211543917656, -0.34448301792144775, -0.09606850147247314, -0.014031177386641502, -0.4756488502025604, 1.2971209287643433, 0.47628557682037354, -0.49216797947883606, 0.24773526191711426, -0.6420401334762573, -0.733126163482666, -0.14346115291118622, 0.4098582863807678, -0.6798112988471985, 0.4773256182670593, 0.19964170455932617, 0.35606035590171814, -0.15348632633686066, 0.3751448094844818, -0.11967185884714127, -0.6260696053504944, -0.0576121024787426, -0.28011882305145264, 0.3263225853443146, 0.011921516619622707, -0.6306002140045166, 0.2544611394405365, -0.6036456227302551, -0.3548019528388977, -0.04571331664919853, -0.2909700274467468, -0.22661283612251282, -0.1372041553258896, -0.10268133878707886, -0.02008339762687683, 0.176831915974617, -0.29035136103630066, 0.2771454453468323, -0.6668441891670227, 0.4332371652126312, 0.864253580570221, 0.0022850388195365667, 0.7706356644630432, -0.24232691526412964, 0.36097392439842224, 0.030126016587018967, 0.16029120981693268, -0.03411273658275604, -0.15615518391132355, -1.1413321495056152, -0.22471322119235992, 0.5948241353034973, 0.49623438715934753, -0.6946118474006653, 0.5745401382446289, -0.25506463646888733, -0.8120022416114807, -0.3853610157966614, 0.09980148077011108, 0.2898111343383789, 0.5651434659957886, 0.4199627637863159, -0.23093651235103607, -0.119792141020298, -1.0002999305725098, -0.3384990990161896, 0.26166996359825134, -0.21484574675559998, 0.20415465533733368, 0.45799437165260315, -0.13455107808113098, 0.6813763976097107, -0.48326176404953003, -0.4540240466594696, -0.036218125373125076, 0.11077900230884552, 0.44286832213401794, 0.5208320617675781, 0.6500831246376038, -0.7030084729194641, -0.5523972511291504, 0.18126074969768524, 0.05007878690958023, -0.1580664962530136, -0.25566744804382324, -0.30696219205856323, -0.038275282829999924, 0.35778120160102844, -0.5904401540756226, -0.05777156352996826, 0.7123798727989197, -0.5718302130699158, 0.41363245248794556, -0.4838983118534088, 0.23920372128486633, -0.858347475528717, 0.06617199629545212, 0.10806885361671448, -0.38523516058921814, -0.8555840849876404, 0.027190571650862694, 0.1964571177959442, -0.18427042663097382, -0.39913874864578247, 0.3637547791004181, -0.29812783002853394, 0.15037138760089874, -0.22707201540470123, -0.08575865626335144, -0.1104070171713829, 0.6719147562980652, 0.2515742778778076, 0.9335333108901978, 0.5466976165771484, -0.5349191427230835, 0.040809765458106995, -0.03956872224807739, -0.18262749910354614, 0.33103054761886597, -0.6007353067398071, 0.2196323275566101, -0.2481003850698471, 0.27836817502975464, -0.9604212641716003, -0.06653209030628204, 0.07519648224115372, 0.07590482383966446, 0.3527746796607971, -0.28028011322021484, -0.28892743587493896, -0.03479001298546791, -0.2179499864578247, 0.3678315281867981, 0.46847933530807495, -0.40619149804115295, 0.9401049017906189, 0.3837421238422394, -0.29895511269569397, -0.26670411229133606, -0.3213579058647156, -0.2867797613143921, -0.3589758276939392, -0.41478145122528076, 0.41917476058006287, -0.10784503072500229, 0.40481138229370117, -0.3779069185256958, -0.4313156306743622, -0.14256814122200012, 0.28898173570632935, 0.13129770755767822, 0.007322836201637983, -0.489755243062973, 0.032363858073949814, 0.21041220426559448, -0.31175488233566284, -0.5002336502075195, -0.2619546055793762, 0.6983533501625061, -0.2781795859336853, -0.24561789631843567, -0.12422271072864532, 0.24115817248821259, 0.4455135762691498, -0.34185007214546204, 0.8310614228248596, 0.9353979825973511, -0.44316744804382324, -0.49877700209617615, -0.7823733687400818, -0.1100744754076004, -0.5375820398330688, 0.46327221393585205, -0.515705943107605, -1.271194338798523, 0.4583216607570648, -0.6129465103149414, 0.0028932522982358932, 0.47496259212493896, 0.6181586384773254, 0.02621135115623474, 0.7647168636322021, 1.0149973630905151, -0.082642562687397, 0.7902182340621948, 0.00826751533895731, 0.30054232478141785, -0.5228822231292725, 0.14322489500045776, -0.8104366660118103, -0.3774334788322449, -0.4629702866077423, -0.4536353051662445, 0.25245893001556396, 0.40669217705726624, -0.6241177916526794, 0.6845174431800842, -0.6314035058021545, 0.6899041533470154, 0.4022884666919708, 0.17977912724018097, 0.23210936784744263, 0.13134858012199402, 0.392551451921463, 0.14761006832122803, -0.6761954426765442, -0.08043118566274643, 0.5110986828804016, 0.4505198299884796, 0.6404799818992615, -0.08331245929002762, 0.43771547079086304, 0.19024991989135742, 0.31706365942955017, -0.5989159345626831, 0.2944624722003937, -0.6068069934844971, -0.43030253052711487, -0.47577205300331116, -0.4154638946056366, -0.6649431586265564, 0.1022920310497284, -0.21075530350208282, -0.648529052734375, 0.29076650738716125, 0.3354075849056244, -0.4712342619895935, 0.09869083762168884, -0.9347663521766663, 0.9973756074905396, -0.027133122086524963, -0.08909062296152115, -0.263240247964859, -0.3044210970401764, -0.0732119232416153, -0.5496576428413391, 0.2935047447681427, -0.293865442276001, -0.01004660502076149, 0.7566669583320618, 0.0068360138684511185, 0.8695892095565796, -0.4060181677341461, -0.20315979421138763, -0.10259462893009186, 0.16920335590839386, 0.821570098400116, -0.0903473049402237, -0.17386208474636078, 0.3379127085208893, 0.1065250113606453, -0.5144965052604675, -0.4464030861854553, 0.6815207004547119, -0.7365908622741699, -0.5829800963401794, -0.022952988743782043, -0.3343549072742462, -0.49691042304039, 0.38576626777648926, 0.24698661267757416, 0.17700634896755219, -0.11429430544376373, 0.2903587520122528, 0.8197961449623108, -0.19881829619407654, 0.13863436877727509, 0.6466854214668274, 0.2323513627052307, -0.22133080661296844, 0.9723526239395142, 0.17943474650382996, 0.09756577014923096, 0.5296671390533447, 0.246855691075325, -0.010980208404362202, -0.7171227335929871, -0.29582300782203674, 0.36677950620651245, -0.3747752904891968, -0.4076205790042877, -0.27570414543151855, -0.21356283128261566, -0.32642099261283875, -0.44065073132514954, -0.8099660873413086, -0.32165807485580444, -0.1702505648136139, 0.16667218506336212, 0.35526400804519653, 0.4553090035915375, 0.2379767745733261, 0.544842004776001, -0.6204329133033752, 0.5161214470863342, 0.2081427276134491, 0.7316604256629944, -0.3113817274570465, -0.8854629397392273, -0.3819240927696228, -0.007924719713628292, -0.1619735062122345, -0.4182214140892029, 0.07498528063297272, 0.8919619917869568, 0.5306482911109924, 0.04830455034971237, 0.08439341932535172, 1.0435371398925781, -0.7834240198135376, 0.6614771485328674, -0.02277374267578125, -0.9776979684829712, 0.6551370024681091, -0.3280671238899231, 0.42071014642715454, 0.6334720253944397, 0.2562519609928131, -0.2275913506746292, -0.2914905250072479, -0.3555995225906372, -0.8693383932113647, 0.523087203502655, 0.0077586048282682896, 0.36735767126083374, 0.3079966604709625, 0.6163440942764282, 0.47566890716552734, -0.03313293680548668, -0.5367815494537354, -0.0009436190593987703, -0.14876005053520203, -0.15918388962745667, -0.39222338795661926, -0.17767854034900665, -0.05331237614154816, -0.3215857148170471, 0.7037644386291504, -0.35063445568084717, 0.11915718764066696, 0.06263063848018646, -0.35578596591949463, -0.4050571918487549, 0.3416183590888977, 0.553743839263916, 0.6000712513923645, -0.05055250599980354, 0.08876719325780869, 0.7127571702003479, -0.50608229637146, 0.15769174695014954, 0.13349485397338867, -0.15108709037303925, -0.20255370438098907, 0.3675800859928131, 0.9703615307807922, 0.533608615398407, -0.47543615102767944, 0.4395678639411926, -0.02630012296140194, -0.32623904943466187, -0.2556133270263672, 0.43050524592399597, 0.08259421586990356, 0.540000319480896, 0.2602998912334442, 0.2697509229183197, -0.013537045568227768, -0.20854619145393372, 0.26656946539878845, 0.25047239661216736, -0.42833906412124634, -0.3968389332294464, 0.3739810585975647, 0.07032754272222519, -0.4066508412361145, 0.22013536095619202, 0.19656187295913696, -0.1883808821439743, 0.20498794317245483, 0.6826119422912598, 0.8405835628509521, -0.3914353847503662, 0.17723236978054047, 0.21725934743881226, 0.27606648206710815, -0.4516192078590393, -0.15235640108585358, -0.20307807624340057, -0.5938295722007751, -0.8234313726425171, -1.11394202709198, -0.18398277461528778, 0.11567221581935883, -0.45599430799484253, 0.29135048389434814, -0.3828957676887512, -0.32163405418395996, 0.08159095048904419, -0.027721654623746872, -0.7195386290550232, 0.0562286451458931, 0.1380005180835724, 1.3351322412490845, -1.1491144895553589, 0.912585437297821, 0.8460311889648438, 0.08905297517776489, -0.7037330269813538, -0.003092129249125719, -0.5901097655296326, -0.6372271180152893, 0.13462844491004944, -0.18054728209972382, -0.18504369258880615, 0.3389894664287567, -0.2689216732978821, -0.8621051907539368, 0.9017356038093567, 0.8722788095474243, -0.6952995657920837, -0.13313604891300201, 0.05790012702345848, 0.6392802000045776, -0.21554720401763916, -0.00008255344437202439, 0.9733965396881104, 0.5227597951889038, -0.04930475726723671, -1.3822101354599, -0.0021112982649356127, -0.11113564670085907, 0.12745073437690735, 0.37647268176078796, -0.7593293190002441, 0.606819212436676, 0.1882684975862503, -0.015204543247818947, -0.13493035733699799, 0.5417963266372681, -0.029180768877267838, -0.05335168167948723, 0.7695995569229126, 0.4450521767139435, 0.5522375106811523, -0.19057540595531464, 0.5420021414756775, -0.10330658406019211, 0.7029476165771484, 1.0357636213302612, 0.016522496938705444, 0.9118788838386536, 0.3969198167324066, -0.2500517666339874, 0.34787553548812866, 0.6710445284843445, -0.06867161393165588, 0.7155271172523499, -0.016190873458981514, -0.07589276134967804, -0.5852369070053101, 0.08106118440628052, -0.3495417833328247, 0.33843520283699036, 0.28308555483818054, -0.06733960658311844, -0.33813348412513733, 0.2487480640411377, -0.1114998534321785, -0.11173531413078308, -0.4736926555633545, 1.060892105102539, 0.040956806391477585, -0.7869943976402283, 0.9464459419250488, -0.01013542152941227, 0.6446760892868042, -0.6030113101005554, 0.07243139296770096, -0.19511064887046814, 0.4191246032714844, -0.19811423122882843, -0.609981119632721, 0.221570685505867, -0.13658717274665833, -0.0998023971915245, -0.23435577750205994, 0.9606887102127075, -0.4740722179412842, -0.42896702885627747, 0.21307408809661865, 0.26449280977249146, -0.162364661693573, -0.3455590605735779, -0.7112460732460022, -0.010331024415791035, 0.01908533275127411, -0.8074765801429749, 0.5007776021957397, 0.44302159547805786, -0.09006194770336151, 0.5742914080619812, 0.600978672504425, 0.24945200979709625, -0.11218364536762238, 0.1200939267873764, 1.0847513675689697, -0.5478819608688354, -0.4505120515823364, -0.6822214126586914, 0.7124421000480652, 0.21854735910892487, -0.2861923575401306, 0.44988149404525757, 0.29505953192710876, 0.8165396451950073, -0.2866283059120178, 0.4968605041503906, 0.10342583060264587, 0.39931339025497437, -0.5331990718841553, 0.6341168284416199, -0.5163873434066772, 0.02230810932815075, -0.3080415725708008, -1.3199092149734497, -0.43258485198020935, 0.734968900680542, -0.46700334548950195, -0.048623282462358475, 0.49125611782073975, 0.8895911574363708, -0.5254339575767517, 0.000500036112498492, 0.3061232566833496, 0.37194058299064636, 0.11991707980632782, 0.49662166833877563, 0.48159530758857727, -0.38376566767692566, 0.35071223974227905, -0.3349492847919464, -0.5963339805603027, -0.19759562611579895, -0.9509226679801941, -0.9392746686935425, -0.6732511520385742, -0.32052356004714966, -0.0655864030122757, 0.25681251287460327, 0.6938306093215942, 0.8327942490577698, -1.1068439483642578, 0.017385398969054222, 0.005740937776863575, -0.22211235761642456, -0.3809439241886139, -0.14956188201904297, 0.5339571833610535, -0.3500576913356781, -0.48219552636146545, 0.45280033349990845, 0.39197906851768494, -0.24520108103752136, 0.013747192919254303, 0.015294005163013935, 0.0837484672665596, 0.03642317280173302, 0.7235051393508911, 0.13756364583969116, -0.35174471139907837, -0.6899240612983704, -0.03880460560321808, 0.26606035232543945, 0.08314204216003418, 0.9009369611740112, -0.6537221074104309, 0.09249743074178696, 0.49385136365890503, 0.5964220762252808, 0.8185828328132629, 0.12924684584140778, 0.5332250595092773, -0.80316561460495, 0.2594582736492157, 0.11458970606327057, 0.28346046805381775, 0.09531877934932709, -0.25431403517723083, 0.40059682726860046, -0.011358127929270267, -0.7245848774909973, -0.8604776859283447, 0.17298324406147003, -0.9631632566452026, -0.300542950630188, 1.0217735767364502, -0.11627117544412613, -0.314241886138916, -0.17566411197185516, -0.4279807507991791, 0.3122744858264923, -0.2539898455142975, 0.8189780712127686, 0.4348784387111664, -0.11055107414722443, -0.26308879256248474, -0.3861273527145386, 0.5275853872299194, 0.2937030494213104, -0.5178099870681763, 0.36956313252449036, 0.10221830755472183, 0.551382839679718, 0.13811738789081573, 0.6596938967704773, 0.18382194638252258, 0.18089978396892548, -0.18321853876113892, -0.3273904323577881, -0.054500773549079895, -0.4419356882572174, -0.34366336464881897, 0.3487880229949951, 0.2979459762573242, 0.29534754157066345 ]
http://arxiv.org/abs/2405.00200v1
http://arxiv.org/pdf/2405.00200v1
In-Context Learning with Long-Context Models: An In-Depth Exploration
2024-04-30T21:06:52
2024-04-30T21:06:52
Amanda Bertsch, Maor Ivgi, Uri Alon, Jonathan Berant, Matthew R. Gormley, Graham Neubig
cs.CL
cs.CL
As model context lengths continue to increase, the number of demonstrations that can be provided in-context approaches the size of entire training datasets. We study the behavior of in-context learning (ICL) at this extreme scale on multiple datasets and models. We show that, for many datasets with large label spaces, performance continues to increase with hundreds or thousands of demonstrations. We contrast this with example retrieval and finetuning: example retrieval shows excellent performance at low context lengths but has diminished gains with more demonstrations; finetuning is more data hungry than ICL but can sometimes exceed long-context ICL performance with additional data. We use this ICL setting as a testbed to study several properties of both in-context learning and long-context models. We show that long-context ICL is less sensitive to random input shuffling than short-context ICL, that grouping of same-label examples can negatively impact performance, and that the performance boosts we see do not arise from cumulative gain from encoding many examples together. We conclude that although long-context ICL can be surprisingly effective, most of this gain comes from attending back to similar examples rather than task learning.
[ -0.4850805997848511, -0.794592022895813, 0.4678209125995636, 0.17068275809288025, -0.26509687304496765, -0.1856936663389206, -0.3791053295135498, -0.7325074076652527, -0.4298313558101654, 0.21030233800411224, -0.2696617543697357, -0.26437515020370483, -0.42551884055137634, -0.08218170702457428, -0.6137183308601379, 1.1722890138626099, -0.024252306669950485, 0.07231505960226059, -0.705507755279541, -0.4773956537246704, -0.35743024945259094, -0.814828097820282, -0.699556291103363, -0.572732150554657, 0.564952552318573, 0.5986491441726685, 0.2726552486419678, 0.5541334748268127, 0.2191011607646942, 0.11840628832578659, -0.12593939900398254, 0.015377632342278957, -0.8753262162208557, 0.11899349838495255, -0.11489701271057129, -0.14930908381938934, 0.0024768414441496134, -0.008712664246559143, 1.0485143661499023, 0.9054253101348877, 0.18571552634239197, 0.14510376751422882, 0.38850000500679016, 0.627228319644928, -0.5305320620536804, 0.006887624505907297, -0.19227483868598938, 0.06307526677846909, -0.21273548901081085, 0.11779153347015381, -0.5942140221595764, 0.017529554665088654, 0.4844493865966797, -0.4558335840702057, -0.024713678285479546, 0.09931020438671112, 0.3081834018230438, 0.07922568917274475, -0.8196104168891907, -0.4333176910877228, -0.7835850715637207, 0.9088290333747864, -0.5594245195388794, 0.4798890948295593, 0.3355962932109833, 0.38328874111175537, -0.06390290707349777, -0.8566275238990784, -0.27225175499916077, -0.44168925285339355, 0.0010578179499134421, -0.066416896879673, 0.15292638540267944, 0.04330093041062355, 0.7576720118522644, 0.12913638353347778, -0.31242653727531433, 0.4988003373146057, -0.39177677035331726, 0.28546398878097534, 0.5545858144760132, 0.09983417391777039, -0.19011256098747253, 0.3023568093776703, -0.6131871938705444, -0.37584754824638367, -0.9757239818572998, 0.532800018787384, -0.020999418571591377, 0.24966216087341309, -0.08250941336154938, 0.2966397702693939, -0.20073038339614868, 0.8462713360786438, -0.06280172616243362, -0.19090256094932556, 0.10506521165370941, -0.13669036328792572, -0.3267957866191864, 0.09620506316423416, 0.3426799476146698, 0.33823052048683167, -0.1109064593911171, -0.2824489176273346, -0.3531606197357178, -0.3969091773033142, -0.09092027693986893, -1.0772861242294312, 0.02626853995025158, 0.028562253341078758, -0.483385294675827, -0.07957938313484192, 0.06074663996696472, -0.6071767807006836, -0.39381954073905945, -0.6892624497413635, 0.7895716428756714, -0.48521319031715393, 0.13765351474285126, 0.22750689089298248, -0.24426981806755066, 0.3050059676170349, 0.24337807297706604, -0.6523429751396179, 0.6950923800468445, 0.7231460809707642, 0.7600942850112915, -0.4707871079444885, -0.49727168679237366, -0.6991303563117981, 0.10386310517787933, -0.31962674856185913, 0.3968118131160736, -0.6009446978569031, -0.4729819893836975, 0.004456294700503349, -0.09890376031398773, 0.11292679607868195, -0.8349791169166565, 0.09035443514585495, -0.6734204292297363, 0.05267666280269623, -0.35674378275871277, -0.9674660563468933, -0.14029991626739502, 0.21456460654735565, -0.5863745212554932, 1.0692462921142578, 0.08331848680973053, -0.3901076316833496, 0.8955057263374329, -1.0050389766693115, -0.6524226069450378, -0.12466352432966232, -0.23104508221149445, -0.369947612285614, 0.07314282655715942, -0.08243995159864426, 0.8105630278587341, -0.13664907217025757, 0.2681255042552948, -0.5154763460159302, -0.7953643202781677, 0.45508262515068054, -0.4227396547794342, 0.5765926837921143, 0.029846515506505966, -0.4059281349182129, -0.04258999973535538, -0.7051108479499817, -0.1023561954498291, -0.11791864037513733, -0.5125619769096375, -0.5916568636894226, 0.11373651772737503, 0.059217989444732666, 0.38428589701652527, -0.08873149752616882, -0.5473121404647827, 0.3450019061565399, -0.07591621577739716, 0.5082203149795532, 0.5758468508720398, 0.03920413926243782, 0.4897078275680542, -0.2935806214809418, 0.14636021852493286, 0.3384532034397125, 0.14313805103302002, -0.17611587047576904, -0.0009534457931295037, -0.5107927918434143, -0.2113843560218811, 0.3286389410495758, -0.08736306428909302, -0.5804615616798401, 0.027526795864105225, -0.28765806555747986, -0.09491223096847534, 0.0013349102810025215, 0.09458393603563309, 0.44063788652420044, 0.7360849976539612, 0.5802203416824341, -0.27444350719451904, -0.07984472811222076, -0.9609856009483337, -0.1265002191066742, 0.3480873107910156, -0.12464034557342529, 0.6249842643737793, 0.8099719285964966, -0.09831926971673965, 0.9960574507713318, -0.26664817333221436, 0.05078652501106262, -0.11470438539981842, 0.09516928344964981, 0.13562655448913574, 0.5004430413246155, 0.6094489693641663, -0.9118525981903076, -0.5614379048347473, -0.0347253680229187, -0.6318269968032837, 0.40378686785697937, -0.21739695966243744, 0.11340635269880295, 0.0802660807967186, 0.7055186033248901, -0.17858578264713287, 0.4823555648326874, 0.1707478016614914, -0.13585513830184937, 0.37412649393081665, -0.2315933257341385, -0.2413983792066574, -0.8330149054527283, -0.14935055375099182, 0.14210619032382965, -0.2433006316423416, -0.6864469647407532, 0.18652202188968658, 0.40936461091041565, -0.06656941026449203, -0.7010173201560974, 0.6943198442459106, -0.25071752071380615, -0.4159305691719055, -0.17516407370567322, -0.08367748558521271, 0.010885370895266533, 0.5185306668281555, 0.06792675703763962, 0.8556318879127502, 0.7784652709960938, -0.893709659576416, 0.16366331279277802, -0.12051010876893997, -0.8406985998153687, 0.39811262488365173, -0.48357927799224854, 0.14899449050426483, -0.20097309350967407, 0.7617702484130859, -0.8130269646644592, -0.45829689502716064, -0.24583128094673157, 0.19973397254943848, 0.5967839360237122, 0.0028072609566152096, -0.5951289534568787, -0.3548116981983185, -0.23033642768859863, 0.7638096213340759, 0.4245685338973999, -1.174416184425354, 0.050475526601076126, 0.06759122759103775, 0.4271969795227051, -0.5961123108863831, -0.6038005948066711, -0.08899261057376862, -0.7589229941368103, -0.21442583203315735, 0.3561735451221466, -0.2972274124622345, -0.2308826446533203, -0.49566856026649475, -0.0720425695180893, -0.07239095121622086, 0.20258770883083344, 0.25323113799095154, -0.25525668263435364, -0.1898888200521469, 0.63601154088974, -0.004577914718538523, 0.36553722620010376, 0.10983634740114212, -0.4838017523288727, 0.2974400222301483, -0.30095696449279785, -0.31200528144836426, -0.3324373960494995, 0.7154844999313354, 0.5754923224449158, 0.07060016691684723, 0.7314853072166443, 0.27765151858329773, -0.4057365655899048, -0.44563916325569153, -0.2612457871437073, -0.3209313154220581, -0.4248112440109253, 0.5610907673835754, -0.54765784740448, -0.7362442016601562, 0.44709888100624084, -0.2900961637496948, 0.10084843635559082, 0.1293427050113678, 0.18826055526733398, -0.4245976209640503, 1.1376937627792358, 0.7816546559333801, -0.17343679070472717, 0.6793630123138428, -0.6786008477210999, -0.0980716422200203, -0.9719358086585999, -0.21818865835666656, -0.1678844690322876, -0.6880654096603394, -0.2760333716869354, -0.24521812796592712, 0.4953148365020752, 0.14888058602809906, -0.5766000747680664, 0.08329974859952927, -0.15892285108566284, 0.8604986667633057, 0.5655182600021362, 0.5140159130096436, 0.04306824877858162, -0.003110861871391535, 0.07841305434703827, 0.07015497982501984, -0.8972381353378296, -0.10877303779125214, 1.01508629322052, 0.3460361063480377, 0.7921688556671143, 0.047842931002378464, 0.6010284423828125, 0.022836457937955856, 0.3859019875526428, -0.819095253944397, 0.288566917181015, -0.20047305524349213, -0.4973256587982178, -0.5456198453903198, -0.17487144470214844, -0.805274486541748, 0.11421352624893188, 0.054934486746788025, -0.5519461035728455, 0.37666335701942444, 0.16980041563510895, -0.38502463698387146, 0.3725728392601013, -0.5975700616836548, 0.7908998131752014, -0.3873009979724884, -0.6053296327590942, -0.20936325192451477, -0.9186172485351562, 0.20779654383659363, -0.057964690029621124, 0.03984380513429642, 0.3885765075683594, 0.0013385198544710875, 0.7249488234519958, -0.05452914535999298, 0.9600900411605835, -0.14525285363197327, 0.06035469099879265, 0.13920974731445312, -0.08973491936922073, 0.45446649193763733, 0.12441342324018478, -0.05919540673494339, -0.1622299700975418, -0.17093919217586517, -0.5155730843544006, -0.7221028804779053, 0.8145018815994263, -0.7827341556549072, -0.2408021241426468, -0.0844406932592392, -0.5619615316390991, -0.36000296473503113, -0.006915127392858267, 0.45139867067337036, 1.045844316482544, -0.12317078560590744, 0.8981927633285522, 1.0168137550354004, -0.03498042747378349, 0.5901811718940735, 0.12582039833068848, -0.11356263607740402, 0.08496981114149094, 0.8223294019699097, 0.3479697108268738, 0.6003464460372925, 0.5056804418563843, 0.22955666482448578, -0.3789743185043335, -0.44121667742729187, -0.44424426555633545, -0.10051834583282471, -0.9107465744018555, -0.0647122785449028, -0.5263148546218872, -0.03589387610554695, -0.05382878705859184, -0.303085595369339, -0.14643701910972595, -0.32502907514572144, -0.39197617769241333, -0.10833247005939484, 0.12719541788101196, 0.8307962417602539, 0.09345284849405289, 0.3998028337955475, -0.25258970260620117, 0.04956834763288498, 0.6078763008117676, 0.5057459473609924, 0.41021883487701416, -0.5392609238624573, -0.6830021142959595, 0.13195593655109406, -0.4131712317466736, -0.5032060146331787, 0.06630049645900726, 0.4317038655281067, 0.3563767969608307, 0.6375963687896729, -0.06102609634399414, 0.9935380220413208, -0.3800937235355377, 0.7635114192962646, -0.06913971155881882, -0.6836068034172058, 0.08445483446121216, -0.24437925219535828, 0.5331190228462219, 0.5077412724494934, 0.6562374830245972, -0.5178472399711609, -0.03562631085515022, -0.5867193937301636, -0.8036618828773499, 0.7170127630233765, -0.256698340177536, 0.23960189521312714, 0.0911954715847969, 0.5820959210395813, 0.4250190556049347, 0.06364395469427109, -0.7766547203063965, -0.06938541680574417, -0.14943039417266846, 0.1388375610113144, -0.35723069310188293, -0.3109782040119171, -0.3335866332054138, -0.5131326913833618, 0.424720823764801, -0.3273330330848694, 0.175399512052536, 0.08344554901123047, -0.3325575292110443, 0.3215104043483734, 0.13456900417804718, 0.8216684460639954, 0.8118936419487, -0.16477860510349274, 0.11644129455089569, 0.4578686058521271, -0.007700663059949875, -0.024361951276659966, -0.1581329107284546, 0.18410611152648926, -0.4222606420516968, 0.36042115092277527, 1.0268402099609375, 0.6815077066421509, -0.6308715343475342, 0.5786865949630737, 0.026935551315546036, -0.2742471694946289, -0.39210328459739685, -0.0165647491812706, -0.05627252906560898, 0.35341352224349976, 0.4086223542690277, -0.20387278497219086, 0.443337082862854, -0.7780328989028931, 0.25189387798309326, 0.36422106623649597, -0.5618263483047485, -0.09688188880681992, 0.5226737856864929, -0.2227095067501068, -0.12079743295907974, 0.9844950437545776, 0.04941887781023979, -0.2758420705795288, 1.0018426179885864, 0.8779593706130981, 0.5008977651596069, 0.35318228602409363, -0.17492637038230896, 0.18895366787910461, -0.35235801339149475, -0.20754066109657288, -0.22830039262771606, -0.7065356969833374, -0.31252649426460266, -0.37548407912254333, -0.23189829289913177, -0.4409293830394745, 0.3383226990699768, -0.947728157043457, 0.25388193130493164, -0.15379483997821808, 0.060503389686346054, -0.0722149983048439, 0.028392303735017776, -0.7951321005821228, 0.2079203575849533, 0.14526842534542084, 1.027038335800171, -0.7431545853614807, 1.0765845775604248, 0.6114714741706848, 0.022670922800898552, -0.5702471733093262, -0.05162089690566063, -0.2718093693256378, -0.3024112284183502, 0.8879839777946472, 0.5715410709381104, 0.08637499064207077, -0.18183988332748413, -0.9183921217918396, -0.832947850227356, 1.3042404651641846, -0.04349074512720108, -0.4967823922634125, -0.086276113986969, 0.09139908850193024, 0.6372510194778442, -0.6724382042884827, 0.08147582411766052, 0.527725100517273, 0.08282161504030228, -0.03846967592835426, -0.6306265592575073, -0.2516101002693176, 0.23755252361297607, -0.06340949237346649, 0.11398539692163467, -0.8459673523902893, 0.8200505971908569, -0.11140436679124832, 0.0212557390332222, -0.006552156060934067, 0.727813720703125, 0.3102688193321228, 0.6769660711288452, 0.5449022650718689, 0.2708229720592499, 0.5873912572860718, 0.18612822890281677, 1.2595019340515137, -0.006074049510061741, 0.35835230350494385, 1.2960437536239624, -0.320374459028244, 0.740023672580719, 0.5096542239189148, 0.0892619639635086, 0.33526331186294556, 0.8459672331809998, 0.2054579257965088, 0.6691128611564636, 0.21553710103034973, -0.267716646194458, -0.27609288692474365, 0.021723728626966476, -0.3569223880767822, 0.35700786113739014, 0.5920843482017517, -0.37646037340164185, -0.2443586140871048, 0.7711910605430603, -0.28016144037246704, -0.14841638505458832, -0.3497135639190674, 0.6876786351203918, 0.15095755457878113, -0.4917309582233429, 0.502531886100769, -0.3880164623260498, 0.5572571158409119, -0.4098503887653351, -0.16409701108932495, -0.2196614146232605, 0.2056206911802292, 0.1804734319448471, -0.740780234336853, -0.16460534930229187, -0.33396899700164795, -0.4302678108215332, -0.4306047856807709, 0.30121517181396484, -0.47070053219795227, -0.13170696794986725, 0.35994449257850647, 0.11706062406301498, 0.3560498058795929, 0.14801189303398132, -0.366867333650589, -0.24744291603565216, -0.30511391162872314, -0.3932279050350189, 0.9434589743614197, 0.4034767150878906, -0.43058475852012634, 0.7235872149467468, 0.3677031397819519, -0.4287561774253845, 0.1873810589313507, -0.10816138982772827, 1.0011833906173706, -0.5469861030578613, -0.3845599591732025, -0.8337741494178772, 0.2578970193862915, -0.26989778876304626, -0.42990410327911377, 0.569883406162262, 0.839932382106781, 1.323068618774414, -0.08533292263746262, 0.4742734730243683, 0.09716809540987015, 0.2996228039264679, -0.5714122653007507, 0.4496857821941376, -0.7887844443321228, -0.02181422710418701, 0.05299654230475426, -0.707301676273346, -0.29503992199897766, 0.3206061124801636, -0.29135391116142273, 0.009960419498383999, 0.5510900020599365, 0.38310956954956055, -0.47417086362838745, 0.06065194681286812, 0.5567492842674255, 0.1917400360107422, 0.39340338110923767, 0.6820134520530701, 0.9761302471160889, -0.2556556463241577, 0.16528332233428955, -0.5637111663818359, -0.19034484028816223, -0.3328603208065033, -0.8157804608345032, -0.9090510010719299, -0.7812325954437256, -0.0425848513841629, -0.020027602091431618, 0.00963403657078743, 0.9179080724716187, 1.0008221864700317, -0.5126236081123352, -0.5919877886772156, 0.25358402729034424, -0.04502875357866287, -0.4719749987125397, -0.2314031720161438, 0.5019407868385315, -0.22270530462265015, -0.7061351537704468, 0.6576626896858215, -0.011103647761046886, 0.12800638377666473, -0.09292517602443695, 0.02319156378507614, -0.07185985893011093, -0.22802864015102386, 1.0998612642288208, 0.4643932282924652, -0.47416403889656067, -0.38280412554740906, -0.15788684785366058, -0.06547249853610992, 0.12234822660684586, 0.9343294501304626, -1.0193572044372559, 0.47518107295036316, 0.24302949011325836, 0.619559645652771, 0.9382472038269043, 0.03072597086429596, 0.29893505573272705, -0.8837285041809082, 0.1875254511833191, 0.24277417361736298, 0.2674909830093384, 0.04544878005981445, -0.2906041145324707, 0.35919877886772156, -0.29233071208000183, -0.8761893510818481, -1.02335524559021, 0.18276198208332062, -0.7302007675170898, -0.4825878441333771, 1.1205787658691406, -0.011782134883105755, -0.05579167604446411, 0.036196257919073105, -0.021870417520403862, 0.06150228902697563, -0.3328775465488434, 0.7521004676818848, 0.8335471749305725, -0.6235914826393127, 0.28066200017929077, -0.8489699363708496, 0.6084702610969543, 0.3330244719982147, -0.3856540620326996, 0.10777152329683304, 0.5009403824806213, 0.27241867780685425, -0.13496153056621552, 0.2409139722585678, 0.06973302364349365, 0.2857201099395752, -0.35551655292510986, -0.4437299370765686, -0.09413668513298035, -0.8089720010757446, -0.7444390654563904, 0.20889180898666382, -0.029000872746109962, -0.04837771877646446 ]
http://arxiv.org/abs/2405.00175v1
http://arxiv.org/pdf/2405.00175v1
Towards a Search Engine for Machines: Unified Ranking for Multiple Retrieval-Augmented Large Language Models
2024-04-30T19:51:37
2024-04-30T19:51:37
Alireza Salemi, Hamed Zamani
cs.CL
cs.CL, cs.IR
This paper introduces uRAG--a framework with a unified retrieval engine that serves multiple downstream retrieval-augmented generation (RAG) systems. Each RAG system consumes the retrieval results for a unique purpose, such as open-domain question answering, fact verification, entity linking, and relation extraction. We introduce a generic training guideline that standardizes the communication between the search engine and the downstream RAG systems that engage in optimizing the retrieval model. This lays the groundwork for us to build a large-scale experimentation ecosystem consisting of 18 RAG systems that engage in training and 18 unknown RAG systems that use the uRAG as the new users of the search engine. Using this experimentation ecosystem, we answer a number of fundamental research questions that improve our understanding of promises and challenges in developing search engines for machines.
[ -0.6971803307533264, -0.4708792269229889, 0.7257997989654541, 0.01779033988714218, 0.11512330174446106, 0.14604055881500244, -0.06840809434652328, -0.2513553500175476, 0.006925242953002453, 0.6215810179710388, -0.46297746896743774, -0.262260377407074, -0.3431369364261627, 0.10970545560121536, -0.5289024710655212, 1.000592589378357, 0.1495247632265091, -0.031193207949399948, -0.16802529990673065, -0.1968444138765335, -0.39790472388267517, -0.7449646592140198, -0.6181266903877258, -0.28283920884132385, 0.9281841516494751, 0.38468971848487854, 0.6629250645637512, 0.4146976172924042, 0.637891948223114, 0.2673999071121216, 0.02111847884953022, 0.3264385163784027, -0.6602885127067566, 0.6059080958366394, -0.4994235038757324, -0.36604687571525574, -0.14587968587875366, 0.07712527364492416, 0.837821364402771, 0.756472110748291, -0.2011571079492569, 0.4434705078601837, 0.12326963245868683, 0.6206393241882324, -1.0259286165237427, -0.32434019446372986, -0.7965905070304871, -0.27344369888305664, -0.2616521418094635, -0.18053533136844635, -0.7027647495269775, -0.0812741294503212, -0.21101583540439606, -0.6350432634353638, 0.18845827877521515, 0.40758270025253296, 0.8269346356391907, 0.16868288815021515, -0.466579407453537, -0.1636013239622116, -0.7173765301704407, 0.7948856949806213, -0.2944740653038025, 0.5995290279388428, 0.18578515946865082, 0.42596516013145447, -0.48551228642463684, -0.9902387261390686, -0.25424981117248535, 0.06181871518492699, -0.10122984647750854, -0.1837550848722458, 0.05826800316572189, 0.026305342093110085, 0.026556015014648438, 0.1803748905658722, -0.7175481915473938, 0.04532725363969803, -0.22024354338645935, 0.024937158450484276, 0.7470399737358093, 0.08494594693183899, 0.32711541652679443, 0.15907171368598938, -0.2844475507736206, -0.0156337209045887, -0.670037031173706, -0.18767975270748138, 0.3879201114177704, 0.4667925238609314, 0.4889239966869354, 0.6224914789199829, -0.1633787304162979, 0.5890169143676758, -0.19776219129562378, 0.0161748006939888, 0.16618649661540985, -0.0065888166427612305, -0.3617595136165619, -0.09828519821166992, 0.5126673579216003, -0.09067372232675552, 0.00878430437296629, -0.5437972545623779, -0.5401355028152466, -0.11387725174427032, 0.8671998977661133, -0.6770430207252502, 0.10199916362762451, 0.06331659108400345, -0.3907434642314911, -0.41809576749801636, 0.19956713914871216, -0.898152232170105, -0.331840842962265, -0.3293083906173706, 0.7884001731872559, -0.011723221279680729, -0.20887504518032074, -0.01809190958738327, -0.5145244002342224, 0.2595897912979126, 0.15381869673728943, -0.7288147211074829, 0.3639141023159027, 0.7199634909629822, 0.42276984453201294, -0.03103037178516388, -0.5651738047599792, -0.6971760392189026, 0.36173340678215027, -0.38325127959251404, 1.0076359510421753, -0.8395499587059021, -0.6363968253135681, 0.057906102389097214, 0.04388175904750824, -0.18586890399456024, -0.4461032748222351, 0.6924816966056824, -0.9522402286529541, 0.39394381642341614, -0.08419997245073318, -0.5153325796127319, -0.311059832572937, 0.038300417363643646, -0.6066409349441528, 1.0818347930908203, -0.15490415692329407, -0.6683601140975952, 0.08357410132884979, -1.002549409866333, -0.32065436244010925, 0.2031739503145218, -0.11159192025661469, -0.18377253413200378, 0.30139783024787903, 0.1105571761727333, 0.17556074261665344, -0.5805392265319824, 0.29565292596817017, -0.4513574242591858, -0.561474621295929, -0.10144467651844025, -0.2330455332994461, 0.788775622844696, 0.33100423216819763, -0.28990212082862854, 0.036633264273405075, -0.5122120976448059, 0.452269971370697, 0.17521898448467255, -0.6296823620796204, -0.47042396664619446, 0.0018981382017955184, 0.2730487585067749, -0.20241743326187134, 0.5182336568832397, -0.33547744154930115, 0.5844059586524963, 0.05586390942335129, 0.1596054583787918, 0.8417723774909973, -0.13282319903373718, 0.42274805903434753, -0.027913160622119904, 0.4210750162601471, -0.5130771994590759, 0.037875015288591385, -0.33507394790649414, -0.575283408164978, -0.7859707474708557, -0.12579509615898132, 0.7880054116249084, 0.25085291266441345, -0.34513142704963684, 0.28271129727363586, -0.15644480288028717, -0.35391169786453247, -0.8352566957473755, 0.16583794355392456, 0.3886583149433136, 0.18003560602664948, 0.24775759875774384, -0.1314239799976349, -0.8670926690101624, -0.8843058347702026, -0.239234060049057, -0.03855061158537865, -0.3158257007598877, 0.4801807403564453, 0.5627152919769287, -0.7266319394111633, 0.8376414179801941, -0.35772937536239624, -0.17942918837070465, -0.018065432086586952, 0.43514373898506165, -0.014927753247320652, 0.3263233006000519, 0.11670709401369095, -1.287388563156128, -0.26448774337768555, 0.13789013028144836, -1.0161914825439453, 0.04898102954030037, 0.6300689578056335, -0.2671658396720886, 0.4103644788265228, 0.5386225581169128, -0.30994707345962524, 0.3820352256298065, 0.5929486155509949, 0.007472038269042969, 0.5134727358818054, -0.19268226623535156, 0.3278953433036804, -0.8548611998558044, 0.6777454018592834, -0.39791256189346313, -0.14007452130317688, -0.33024314045906067, 0.6762691736221313, -0.13368065655231476, -0.3673150837421417, -0.25172922015190125, 0.8101517558097839, -0.2940085828304291, -0.3722207248210907, -0.37730148434638977, 0.15150044858455658, 0.011003697291016579, 0.3744381070137024, -0.32846763730049133, 1.1867916584014893, 0.40532243251800537, -0.8124455809593201, 0.14361931383609772, 0.026801876723766327, 0.17589497566223145, 0.566103458404541, -0.6553192138671875, 0.4419545531272888, -0.13137051463127136, 0.15699315071105957, -0.9833646416664124, -0.4909098446369171, -0.361358106136322, -0.6886258721351624, 0.17731888592243195, -0.24805505573749542, -0.6572317481040955, -0.5390264987945557, -0.056188736110925674, 0.3187826871871948, 0.5793652534484863, -0.784401535987854, 0.6326721906661987, 0.8402001261711121, 0.1161726862192154, -0.6905233263969421, -0.049865663051605225, 0.10925538092851639, -0.25498101115226746, -0.6496977210044861, 0.25772207975387573, -0.06433450430631638, -0.03118673712015152, 0.2463252991437912, -0.018847040832042694, -0.4927597939968109, 0.36248746514320374, 0.24438482522964478, 0.1480858474969864, -0.20008549094200134, 0.545577347278595, -0.19056154787540436, -0.15147453546524048, -0.1282610148191452, -0.47618916630744934, 0.6429569125175476, -0.22998197376728058, -0.3654605746269226, -0.08279135823249817, 0.5182714462280273, 0.4508713185787201, -0.46357256174087524, 0.4687052369117737, 0.7297759056091309, -0.45283839106559753, 0.009377057664096355, -0.6288540959358215, -0.10916823148727417, -0.4853387475013733, 0.11815008521080017, -0.6322153210639954, -1.144783616065979, 0.3596596121788025, -0.3339524269104004, 0.24369119107723236, 0.7702640295028687, 0.48194584250450134, -0.315388560295105, 1.6812787055969238, 1.0121006965637207, -0.11226122826337814, -0.0799248144030571, -0.10996872931718826, 0.1321610063314438, -1.208774447441101, -0.2797037363052368, -1.1523994207382202, -0.44078171253204346, -0.869844913482666, -0.14999280869960785, 0.42703405022621155, 0.3276160955429077, -0.6411489844322205, 0.28873446583747864, -0.7632540464401245, 0.4557958245277405, 0.8904390335083008, -0.2772829532623291, 0.3465462923049927, 0.08497054129838943, -0.507850706577301, 0.11679636687040329, -0.6284084916114807, -0.56908118724823, 1.214911937713623, -0.07652993500232697, 0.8440181016921997, 0.11305399984121323, 0.8592156171798706, 0.45630136132240295, 0.32923996448516846, -0.44925883412361145, 0.3878673017024994, -0.1394270360469818, -1.3290787935256958, -0.4741598665714264, -0.3329002261161804, -1.4832704067230225, 0.5416585206985474, 0.0429268479347229, -0.8054068088531494, -0.09687953442335129, -0.25262340903282166, 0.13771235942840576, 0.42090535163879395, -0.5160331130027771, 0.7134169936180115, -0.29366520047187805, -0.1516750603914261, -0.36827147006988525, -0.44442957639694214, 0.32222267985343933, 0.029627151787281036, 0.26016369462013245, 0.1771581470966339, -0.11070559918880463, 0.6472436785697937, 0.09155436605215073, 0.40297627449035645, 0.007127000018954277, 0.12544392049312592, 0.2999195456504822, -0.08289306610822678, 0.2244681417942047, 0.06471066176891327, -0.03145113214850426, -0.12192868441343307, -0.2320307046175003, -0.5362001657485962, -0.5446621775627136, 0.824055552482605, -0.7604068517684937, -0.5728004574775696, -0.41679683327674866, -0.3948712646961212, -0.13796889781951904, 0.6323973536491394, 0.025615286082029343, 0.20674847066402435, -0.3875233232975006, 0.44568032026290894, 0.9310563802719116, -0.04619469493627548, 0.2082124948501587, 0.4967222809791565, -0.7076528668403625, -0.25484901666641235, 0.9561550617218018, -0.20627808570861816, -0.2106996476650238, 0.38939595222473145, 0.02926800027489662, -0.3558647632598877, -0.037465259432792664, -0.43293899297714233, 0.15536190569400787, -0.4985584616661072, -0.12240967154502869, -0.6540125012397766, -0.32937610149383545, -0.5106923580169678, -0.09766320139169693, -0.39884495735168457, -0.05662718415260315, -0.0923248678445816, 0.4087657034397125, 0.13497617840766907, 1.1827911138534546, -0.11946932226419449, 0.11006947606801987, -0.7514861822128296, 0.2739429473876953, 0.5831893682479858, 0.5670860409736633, -0.0987357646226883, -0.47292324900627136, -0.32050782442092896, 0.14282988011837006, -0.6280393004417419, -0.5375953912734985, 0.08133813738822937, -0.041642554104328156, 0.9558213949203491, 0.1283966600894928, -0.23244833946228027, 0.6497661471366882, -0.8239996433258057, 0.560084342956543, -0.028671789914369583, -0.6858994960784912, 0.5138958692550659, -0.37159085273742676, 0.022603513672947884, 0.6034778356552124, 0.6907621026039124, -0.6192704439163208, -0.04997244477272034, -0.85149085521698, -0.6902508735656738, 0.4699644446372986, 0.05182713270187378, 0.06773637980222702, 0.36508721113204956, 0.256158709526062, -0.06844822317361832, 0.48926955461502075, -0.2724761366844177, -0.3398783504962921, 0.3063651919364929, 0.157087042927742, -0.008094962686300278, -0.08784861117601395, -0.28898876905441284, -0.07479894161224365, 0.8356351256370544, -0.1097017303109169, 0.40997084975242615, -0.025474876165390015, -0.111400306224823, -0.18342630565166473, 0.3313619792461395, 0.2573947310447693, 0.6099713444709778, -0.29419970512390137, 0.0775226503610611, -0.14944423735141754, -0.22982250154018402, 0.40564414858818054, 0.14389395713806152, -0.16657428443431854, 0.0835593119263649, -0.1043081283569336, 0.521335780620575, 0.3629036247730255, -0.7183933854103088, 0.06779950857162476, -0.1822621077299118, -0.09599842131137848, -0.10731493681669235, 0.14134684205055237, 0.19335155189037323, 0.028837068006396294, 0.6590275168418884, -0.10412558168172836, 0.5399251580238342, -0.5253728032112122, 0.4338143765926361, 0.5604770183563232, -0.4458952248096466, -0.1182192787528038, 0.7213433384895325, 0.3638452887535095, -0.6172471046447754, 0.7358081340789795, -0.35680025815963745, -0.5738852620124817, 0.24926312267780304, 0.3153829276561737, 1.0402592420578003, -0.31590959429740906, 0.17310470342636108, 0.19535230100154877, 0.2824067771434784, -0.1996414214372635, -0.03271806612610817, 0.17580151557922363, -0.35805732011795044, -0.49641627073287964, -0.8036801815032959, -0.5659546256065369, 0.3485652506351471, -0.6339147686958313, 0.300917387008667, -0.07257838547229767, -0.06111077591776848, 0.28073588013648987, 0.05694960430264473, -0.6883071064949036, 0.16592693328857422, 0.09903567284345627, 0.7724471092224121, -0.23841868340969086, 0.700986921787262, 1.1875911951065063, -0.7149298191070557, -0.6246404647827148, -0.16603083908557892, -0.08461758494377136, -0.820225715637207, 0.7250655293464661, 0.25977277755737305, -0.20654360949993134, 0.16720707714557648, -0.81444251537323, -0.9718635678291321, 0.9338349103927612, 0.3186791241168976, -0.20496484637260437, -0.3553592264652252, -0.2877548336982727, 0.3356490731239319, -0.5615087747573853, 0.25451305508613586, 0.28076624870300293, 0.6191676259040833, -0.18265306949615479, -0.9623880982398987, -0.37045297026634216, -0.2988903820514679, 0.1631881445646286, 0.40794163942337036, -0.47413191199302673, 0.7066841125488281, -0.20716789364814758, -0.251547634601593, 0.3429466187953949, 0.3584555387496948, 0.3465396761894226, 0.37862613797187805, 0.42388585209846497, 0.8543693423271179, 0.7378843426704407, 0.06270572543144226, 1.1961580514907837, -0.08553525805473328, 0.6015542149543762, 0.9770258665084839, -0.3910009562969208, 1.0934951305389404, 0.36027389764785767, -0.27624672651290894, 0.5890452265739441, 0.5031319260597229, 0.1810792088508606, 0.24881790578365326, 0.277392715215683, -0.1955663114786148, -0.3693188428878784, -0.32545602321624756, -0.43304774165153503, 0.5005154013633728, 0.11011271923780441, -0.30235961079597473, -0.4778554141521454, -0.04714946076273918, -0.17810137569904327, 0.10558338463306427, -0.23985879123210907, 0.7612568140029907, -0.18296100199222565, -0.6527145504951477, 0.7138494849205017, 0.06538070738315582, 0.5643863677978516, -0.3297663629055023, -0.06275337189435959, -0.08194226771593094, 0.13459309935569763, -0.01602737046778202, -0.584160327911377, -0.06617545336484909, -0.006936284713447094, -0.4492979347705841, 0.0467088557779789, 0.8169766068458557, -0.12942494451999664, -0.5337842106819153, 0.3753854036331177, 0.47869378328323364, 0.37021052837371826, -0.25391843914985657, -0.7841916680335999, 0.2236841470003128, -0.08205235004425049, -0.32131800055503845, 0.7168551683425903, 0.5446543097496033, 0.06754974275827408, 0.6831739544868469, 0.6524048447608948, -0.32244232296943665, 0.09496628493070602, 0.0027055025566369295, 0.8620814085006714, -0.6484964489936829, -0.2222105711698532, -0.3338969647884369, 0.4747868478298187, -0.04290156438946724, -0.08933864533901215, 0.6973504424095154, 0.6370531916618347, 0.9873228073120117, 0.2724358141422272, 1.0131219625473022, -0.20344607532024384, 0.6904756426811218, -0.05110979080200195, 0.7505686283111572, -1.0429141521453857, -0.20172712206840515, 0.09074179083108902, -1.1513205766677856, 0.000026390949642518535, 0.4208422005176544, 0.32132774591445923, 0.2467491775751114, 0.6518048048019409, 0.5955981612205505, -0.1894187480211258, -0.058223675936460495, 0.47124582529067993, -0.11370173841714859, 0.37197446823120117, 0.15903779864311218, 0.5848289728164673, -0.5761259198188782, 0.7501011490821838, 0.050330065190792084, -0.04344535991549492, -0.3871494233608246, -0.508302628993988, -0.5941402912139893, -0.7432383298873901, 0.2650940716266632, -0.2208416610956192, 0.47338739037513733, 0.44155704975128174, 0.6992062926292419, -0.5795959234237671, -0.5573299527168274, 0.001035927445627749, 0.2862318754196167, 0.06947576999664307, -0.2607400417327881, 0.04242192581295967, -1.1208665370941162, -0.8547731041908264, 0.4097164273262024, 0.25280699133872986, -0.39109930396080017, -0.6616283059120178, -0.1762426346540451, -0.7058085799217224, -0.06599996984004974, 0.4645732045173645, 0.4323572814464569, -0.5819708704948425, -0.12920594215393066, 0.14829021692276, -0.21172016859054565, -0.09310662746429443, 0.9994897842407227, -0.9374251365661621, 0.5734924674034119, 0.33241984248161316, 1.0984761714935303, 0.2738572359085083, -0.034790970385074615, 0.5314241647720337, -0.6624296307563782, -0.03550150617957115, 0.06257839500904083, 0.07295281440019608, 0.2577977180480957, -0.14079810678958893, 0.834370493888855, 0.10475332289934158, -1.1238949298858643, -1.0991742610931396, 0.19984868168830872, -0.3854345977306366, -0.3118523359298706, 1.1475939750671387, 0.10085976868867874, -0.20901380479335785, 0.02249077335000038, -0.1174294650554657, 0.11670010536909103, -0.5366494059562683, 0.671305775642395, 0.46201425790786743, 0.08309241384267807, 0.3183731436729431, -0.8729301691055298, 0.30161046981811523, 0.3040372431278229, -0.7407736778259277, -0.11669362336397171, 0.32919690012931824, 0.13488221168518066, 0.5392667055130005, 0.34073230624198914, -0.12644962966442108, 0.3643873929977417, -0.1294713318347931, 0.40277230739593506, 0.3116326928138733, -0.6521742939949036, -0.26410216093063354, 0.2677972912788391, 0.1514354646205902, -0.18988876044750214 ]
http://arxiv.org/abs/2405.00155v1
http://arxiv.org/pdf/2405.00155v1
HistNERo: Historical Named Entity Recognition for the Romanian Language
2024-04-30T19:05:22
2024-04-30T19:05:22
Andrei-Marius Avram, Andreea Iuga, George-Vlad Manolache, Vlad-Cristian Matei, Răzvan-Gabriel Micliuş, Vlad-Andrei Muntean, Manuel-Petru Sorlescu, Dragoş-Andrei Şerban, Adrian-Dinu Urse, Vasile Păiş, Dumitru-Clementin Cercel
cs.CL
cs.CL
This work introduces HistNERo, the first Romanian corpus for Named Entity Recognition (NER) in historical newspapers. The dataset contains 323k tokens of text, covering more than half of the 19th century (i.e., 1817) until the late part of the 20th century (i.e., 1990). Eight native Romanian speakers annotated the dataset with five named entities. The samples belong to one of the following four historical regions of Romania, namely Bessarabia, Moldavia, Transylvania, and Wallachia. We employed this proposed dataset to perform several experiments for NER using Romanian pre-trained language models. Our results show that the best model achieved a strict F1-score of 55.69%. Also, by reducing the discrepancies between regions through a novel domain adaption technique, we improved the performance on this corpus to a strict F1-score of 66.80%, representing an absolute gain of more than 10%.
[ -0.3287923336029053, -0.43647152185440063, 0.46616020798683167, 0.055276911705732346, -0.12804727256298065, -0.08832583576440811, -0.4808043837547302, -0.5263850092887878, 0.6621341705322266, 0.5365777015686035, -0.245062455534935, -0.4209781289100647, -0.7035884857177734, 0.5554906725883484, -0.46344974637031555, 1.0241891145706177, 0.05899164453148842, 0.35326915979385376, 0.36197876930236816, -0.21758858859539032, -0.20265725255012512, -0.7079434990882874, -0.6348826289176941, 0.010796201415359974, 0.4823274314403534, 0.3693352937698364, 0.19076813757419586, 0.6815784573554993, 0.7511970400810242, 0.4552181363105774, -0.3162119388580322, -0.10527308285236359, -0.3935253918170929, 0.017744528129696846, -0.2838708460330963, -0.5352786183357239, -0.2792440354824066, -0.2480861246585846, 1.0218029022216797, 0.25939783453941345, 0.0045744627714157104, 0.06311994045972824, -0.40349048376083374, 0.6862011551856995, -0.4736982583999634, 0.0806601420044899, -0.8927200436592102, -0.03409101068973541, -0.5098153352737427, -0.5680146813392639, -0.620384931564331, -0.18972234427928925, 0.22032147645950317, -0.5118017196655273, 0.22209523618221283, 0.2231459766626358, 1.5286554098129272, 0.1964615434408188, -0.36241257190704346, -0.2769765257835388, -0.8197210431098938, 0.8133543729782104, -0.4047348201274872, 0.5466387271881104, 0.3858555853366852, 0.5505548715591431, -0.610590934753418, -0.6881827712059021, -0.497713178396225, -0.15933582186698914, -0.09888675063848495, 0.03378039970993996, -0.7175902128219604, -0.5410407781600952, 0.14002875983715057, 0.3789529502391815, -0.5543756484985352, 0.2703436613082886, -0.7691393494606018, -0.4317901134490967, 0.27003213763237, 0.04938872531056404, -0.08522934466600418, -0.47002941370010376, -0.6244792938232422, 0.2412363588809967, -0.809275209903717, -0.15762211382389069, 0.6025404930114746, 0.4145734906196594, 0.2407546043395996, 0.5561697483062744, -0.326617032289505, 0.7506617903709412, 0.06335189938545227, -0.3049783408641815, 0.27541056275367737, -0.2509154677391052, -0.2707747519016266, 0.3009997606277466, 0.6542949080467224, -0.16103799641132355, 0.39478006958961487, -0.39973121881484985, -0.04870706796646118, -0.17921783030033112, 0.24053345620632172, -0.7066380977630615, -0.11853897571563721, -0.07706452161073685, -0.28143224120140076, -0.19326725602149963, 0.08999422192573547, -0.733841598033905, 0.07161790877580643, -0.29782211780548096, 0.007375167682766914, -0.6056468486785889, -0.15766765177249908, -0.1630433201789856, -0.11249679327011108, 0.31782108545303345, 0.5225756168365479, -0.697784423828125, 0.36232689023017883, 0.7034679055213928, 0.5638813972473145, -0.08423200249671936, -0.4529462158679962, -0.7278093099594116, 0.07385484129190445, -0.16868935525417328, 1.0813980102539062, -0.682662844657898, -0.11887519061565399, -0.23062893748283386, 0.4589625895023346, 0.19764070212841034, -0.32302409410476685, 0.7098869681358337, -0.8027812242507935, 0.5292132496833801, 0.11242565512657166, -0.8999485969543457, -0.2761020064353943, 0.21940545737743378, -0.8641891479492188, 0.9724881649017334, 0.1314762830734253, -0.9147771596908569, 0.5361357927322388, -0.08765817433595657, -0.2856852114200592, 0.3545626997947693, -0.2344207763671875, -0.2891530990600586, -0.024565238505601883, -0.09277785569429398, 0.4177549183368683, -0.216705322265625, 0.4125112295150757, 0.1993299424648285, 0.1245812475681305, 0.23609371483325958, -0.20030513405799866, 0.8035383224487305, 0.05721137672662735, -0.35781893134117126, -0.013335857540369034, -0.9247581958770752, -0.24842941761016846, -0.17006906867027283, -0.5155448317527771, -0.5767192840576172, -0.23038698732852936, 0.28197458386421204, 0.04987882450222969, 0.1505742073059082, -0.522916853427887, -0.05236545950174332, -0.29696545004844666, 0.3111335039138794, 0.5441691875457764, -0.1862172782421112, 0.535211443901062, -0.12029607594013214, 0.4145733714103699, 0.11365243792533875, -0.36072617769241333, -0.2232586294412613, -0.6196761131286621, -0.8476611971855164, -0.35738837718963623, 1.0391700267791748, 0.6908717751502991, -0.5348996520042419, 0.7444131374359131, -0.5168342590332031, -0.5435785055160522, -0.31085634231567383, -0.15704819560050964, 0.1992592215538025, 0.88326096534729, 0.34895485639572144, -0.2130511850118637, -1.003245234489441, -0.9520079493522644, 0.18670137226581573, -0.2896568179130554, 0.11682386696338654, 0.4499530494213104, 0.9657353758811951, -0.16393589973449707, 0.8503087162971497, -0.334104061126709, -0.7235865592956543, -0.08029283583164215, -0.0480065755546093, 0.13115864992141724, 0.531143069267273, 0.5005179643630981, -0.7585942149162292, -0.07258865982294083, 0.12480205297470093, -0.55268394947052, 0.5134152173995972, 0.10151902586221695, -0.41356155276298523, 0.6729399561882019, 0.4904506504535675, -0.09545726329088211, 0.35645878314971924, 0.687026858329773, -0.41734927892684937, 0.5603752732276917, -0.41015076637268066, 0.27964892983436584, -1.524376392364502, 0.2776685655117035, 0.18995150923728943, -0.5073818564414978, -0.5876733064651489, -0.14757853746414185, 0.046158112585544586, 0.002908966736868024, -0.640330970287323, 0.616427481174469, -0.6412881016731262, 0.1614404171705246, -0.16227616369724274, 0.3587273955345154, -0.3315073549747467, 0.2547449469566345, 0.5425241589546204, 0.4964328706264496, 0.5987767577171326, -0.5625407099723816, 0.28490301966667175, 0.4373641908168793, -0.3890821635723114, 0.8117289543151855, -0.44954535365104675, 0.06223346292972565, -0.3495163023471832, 0.06255505234003067, -0.5361689925193787, -0.15902136266231537, 0.1505400687456131, -0.7399665713310242, 0.3673976957798004, -0.6639785766601562, -0.2199157327413559, -0.005600482691079378, 0.26473885774612427, 0.06672056019306183, 0.10919858515262604, -0.5184209942817688, 0.6554153561592102, 0.6953622102737427, -0.11444024741649628, -0.6337563395500183, -0.6584385633468628, 0.6215203404426575, -0.5615431070327759, -0.6251084804534912, 0.5683518052101135, 0.10337097942829132, -0.0314691886305809, 0.11821665614843369, 0.14285290241241455, -0.7010262608528137, -0.17555606365203857, 0.017217030748724937, 0.42590272426605225, -0.6677253842353821, 0.2797512412071228, -0.3366510570049286, -0.5410138368606567, -0.6162108182907104, -0.1369616538286209, 0.5115986466407776, -0.35683730244636536, 0.5775182843208313, -0.7830832004547119, 0.1342257410287857, 0.0482766218483448, -0.38204342126846313, 0.6488662362098694, 0.33060431480407715, -0.8008372187614441, 0.16221924126148224, -0.6427343487739563, -0.11309947073459625, -0.37530335783958435, 0.06256061792373657, -0.7945382595062256, -0.9489367604255676, 0.3947412967681885, -0.08302398771047592, -0.31512850522994995, 0.5588221549987793, 0.4902152717113495, 0.0875481516122818, 0.07004964351654053, 0.7198430895805359, -0.5193274021148682, 0.6128844022750854, -0.21426238119602203, -0.00803892221301794, -0.7492466568946838, 0.03907613083720207, -1.035448670387268, -0.17289648950099945, -1.099760890007019, -0.2565559446811676, -0.18607032299041748, -0.1815270036458969, 0.2106049805879593, 1.0440127849578857, -0.2376343309879303, 0.34405964612960815, 0.5634065866470337, -0.20729240775108337, 0.5519669651985168, 0.013732414692640305, 0.44403326511383057, -0.4553356468677521, -0.35748183727264404, -1.0074352025985718, 0.7927168607711792, 0.18028265237808228, 0.5950114727020264, 0.3575560450553894, 1.1578171253204346, 0.030881518498063087, 0.1277008354663849, -0.8190075159072876, 0.2865695059299469, -0.30269500613212585, -0.8912599086761475, -0.5258154273033142, -0.5727334022521973, -1.3901171684265137, 0.09093355387449265, -0.3436976671218872, -0.8306962251663208, 0.4340469241142273, 0.05653742700815201, -0.2605002820491791, 0.037310853600502014, -0.31164464354515076, 0.8161531686782837, -0.19144420325756073, -0.05036666989326477, -0.10386975854635239, -0.33824995160102844, 0.08449605107307434, 0.21348632872104645, 0.03716814145445824, -0.18716102838516235, -0.050602756440639496, 0.85540372133255, -0.07877810299396515, 0.32022181153297424, 0.21049748361110687, 0.328091561794281, 0.10141972452402115, 0.14209316670894623, 0.4602479040622711, 0.26819854974746704, -0.28700441122055054, 0.16871990263462067, 0.18805359303951263, -0.3162693977355957, -0.3420008718967438, 0.9227204918861389, -0.37876570224761963, -0.2429790496826172, -0.7369681596755981, -0.055046990513801575, 0.5038823485374451, 0.6635847091674805, 0.3964489996433258, 0.6848435401916504, -0.6707738637924194, 0.32900723814964294, 0.5070151686668396, 0.2056642323732376, 0.4432598352432251, 0.7970978021621704, 0.08225765079259872, -0.42881691455841064, 0.9961543083190918, 0.21842798590660095, -0.48899319767951965, 0.6172618865966797, 0.08799148350954056, 0.019883958622813225, -0.5453211665153503, -0.8561896085739136, 0.2691992521286011, -0.5498889684677124, -0.32328084111213684, -0.6123594045639038, 0.07756357640028, -0.24793292582035065, 0.08309097588062286, -0.47744515538215637, -0.5764387249946594, -0.6929259300231934, -0.07431512326002121, 0.3326382040977478, 0.5694010853767395, 0.3708597421646118, 0.4119848310947418, -0.580764651298523, 0.04040229320526123, -0.26853394508361816, 0.24950487911701202, -0.5221771597862244, -0.615490734577179, 0.04800059273838997, -0.3494313955307007, 0.14535774290561676, -1.1436306238174438, 0.69024258852005, 0.2970309257507324, 0.7516870498657227, 0.4158305823802948, -0.20147804915905, 0.5794568061828613, -0.8358125686645508, 0.23148678243160248, -0.12492232769727707, -0.7508028149604797, 0.6273854374885559, -0.02417311631143093, -0.06990393251180649, 0.803529679775238, 0.8231804966926575, -0.4621906876564026, -0.171514630317688, -0.9259417653083801, -0.7203505039215088, 0.6383176445960999, 0.3331286609172821, 0.012493512593209743, 0.0013960635988041759, 0.3126136064529419, 0.1792084276676178, 0.12397461384534836, -0.7011187672615051, -0.2805480659008026, 0.15682737529277802, -0.10904454439878464, -0.0703640729188919, -0.1112600639462471, 0.01782456785440445, -0.03230620548129082, 0.8522982597351074, -0.04972809553146362, 0.27341198921203613, 0.21009951829910278, -0.7067111730575562, 0.2123602032661438, 0.4658275544643402, 0.7958616614341736, 0.7625571489334106, -0.06592601537704468, 0.24334733188152313, 0.1770462542772293, -0.23487690091133118, -0.0579572431743145, 0.12571865320205688, -0.1698840707540512, 0.5209536552429199, 0.28010061383247375, 1.0317974090576172, 0.35635146498680115, -0.40930742025375366, 0.43151402473449707, -0.3624437749385834, 0.12720264494419098, -1.0801044702529907, -0.13564752042293549, -0.14093883335590363, 0.2041698843240738, 0.44741472601890564, -0.019996605813503265, 0.23699255287647247, -0.523866593837738, 0.4300273060798645, 0.1426299661397934, -0.7445937991142273, -0.38517892360687256, 0.31800734996795654, 0.12437207251787186, -0.6036167144775391, 0.6735312342643738, -0.3717029392719269, -0.54947829246521, 0.6388669610023499, 0.4410116374492645, 0.6422939896583557, -0.33916985988616943, 0.2316415160894394, 0.8568674325942993, 0.391154021024704, -0.026214754208922386, 0.10899122059345245, 0.048476606607437134, -0.8985421061515808, 0.014834584668278694, -0.718985915184021, -0.19184856116771698, -0.004186368081718683, -0.5684350728988647, 0.7805249691009521, -0.317749559879303, -0.42630061507225037, 0.5207306146621704, -0.012591357342898846, -0.7676520943641663, 0.3220365047454834, -0.000345871812896803, 0.9579362869262695, -0.5486747026443481, 0.9748410582542419, 0.6513729691505432, -0.4961909055709839, -0.2719813585281372, -0.2309686839580536, -0.021150080487132072, -0.6236463785171509, 1.0237990617752075, 0.0037379772402346134, -0.0633653849363327, 0.3099329173564911, 0.006148713640868664, -1.2069969177246094, 0.8700281977653503, 0.04179120808839798, -0.7489027380943298, -0.012504702433943748, -0.32812440395355225, 0.7628028392791748, -0.6909484267234802, 0.37899550795555115, 0.6443721055984497, 0.638252854347229, 0.04145996272563934, -0.9141353964805603, -0.12528815865516663, -0.1691654622554779, -0.02173675410449505, 0.4898725152015686, -0.40107250213623047, 0.37481069564819336, -0.27036625146865845, -0.4417526423931122, 0.3723137378692627, 1.0435116291046143, -0.05760836973786354, 0.07621642202138901, 0.3498309254646301, 0.5894697308540344, 1.0495305061340332, -0.5044434666633606, 0.8479382991790771, -0.4379804730415344, 0.13966578245162964, 1.1595737934112549, -0.09625106304883957, 1.1582512855529785, 0.655428946018219, -0.15729330480098724, 0.6386400461196899, 0.586225688457489, -0.23077981173992157, 0.375946968793869, 0.32322168350219727, -0.15355399250984192, 0.09004970639944077, -0.02072085253894329, -0.21990303695201874, 0.9751960039138794, 0.16121801733970642, -0.4440404176712036, -0.13134856522083282, -0.0994763970375061, 0.4062378406524658, -0.032121676951646805, -0.03652861341834068, 0.881144642829895, -0.11928186565637589, -0.5229019522666931, 0.3421829342842102, 0.11583573371171951, 0.747892439365387, -0.507154643535614, 0.12005315721035004, -0.17723068594932556, 0.18882513046264648, -0.19961917400360107, -0.4943784475326538, 0.3566083014011383, 0.04948849976062775, -0.27372294664382935, 0.16898666322231293, 0.35355788469314575, -0.4559749960899353, -0.7644314169883728, 0.32698744535446167, 0.3648824691772461, 0.5659430027008057, 0.17302703857421875, -0.1745867133140564, -0.25600260496139526, -0.17555254697799683, -0.2227039486169815, -0.04530519247055054, 0.4886191189289093, -0.2932194173336029, 0.4017704129219055, 0.4680878818035126, 0.2441532164812088, 0.2596946060657501, -0.043034788221120834, 0.5145307779312134, -1.1127712726593018, -0.5433980822563171, -0.6613997220993042, 0.2649458348751068, -0.10745043307542801, -0.8703019618988037, 0.5866665244102478, 0.8373775482177734, 1.0401391983032227, 0.09121548384428024, 0.5350177884101868, -0.19662778079509735, 0.5141537189483643, -0.40826866030693054, 0.5816338658332825, -0.3970564007759094, -0.3012804687023163, -0.37289562821388245, -0.7556761503219604, -0.3971630930900574, 0.5691921710968018, -0.30940741300582886, -0.31645822525024414, 0.8042933940887451, 0.846843957901001, 0.19250372052192688, 0.0030369313899427652, 0.35142096877098083, 0.11628977209329605, 0.08714061975479126, 0.32032468914985657, 0.7460711002349854, -0.6228365898132324, 0.6821560859680176, -0.40244051814079285, -0.22659194469451904, -0.30112403631210327, -1.0528533458709717, -0.7294047474861145, -0.983758807182312, -0.3228130042552948, -0.3001972734928131, 0.30575132369995117, 0.7859206795692444, 0.6222649812698364, -1.193668246269226, -0.3090311288833618, 0.1481860727071762, 0.052050862461328506, 0.12168166041374207, -0.11081785708665848, 0.3839207887649536, -0.15650449693202972, -1.086363673210144, 0.5890177488327026, 0.17169173061847687, 0.1711386889219284, -0.08428674191236496, -0.18818411231040955, -0.4201122522354126, -0.4372640550136566, 0.4611315131187439, 0.36505138874053955, -0.6179100275039673, -0.29080766439437866, 0.24294166266918182, -0.19940070807933807, 0.5278701782226562, 0.9962128400802612, -0.8495102524757385, 0.3646550476551056, 0.8047922253608704, 0.5032048225402832, 0.7032063007354736, -0.056327980011701584, 0.4241369366645813, -0.40874847769737244, 0.480974942445755, 0.32263511419296265, 0.7973490953445435, 0.5955847501754761, -0.49263420701026917, 0.4821430742740631, 0.22002427279949188, -0.48805123567581177, -0.6333860754966736, -0.04405101388692856, -0.9721224308013916, -0.0420752614736557, 0.8215226531028748, -0.12014009058475494, -0.5690420866012573, -0.22766655683517456, -0.17222653329372406, 0.22702106833457947, -0.7246250510215759, 0.8061562776565552, 0.7293762564659119, -0.06727588176727295, -0.20812425017356873, -0.6598103642463684, 0.39126765727996826, 0.17763954401016235, -0.8483707904815674, -0.5158587098121643, 0.5634300708770752, 0.40527456998825073, 0.36362946033477783, 0.6725310683250427, -0.11714762449264526, 0.2920076549053192, -0.1315792202949524, 0.15829811990261078, 0.2028920203447342, -0.7038108110427856, -0.47564077377319336, -0.03893096745014191, -0.03186303377151489, -0.027378225699067116 ]
http://arxiv.org/abs/2405.00134v1
http://arxiv.org/pdf/2405.00134v1
Transforming Dutch: Debiasing Dutch Coreference Resolution Systems for Non-binary Pronouns
2024-04-30T18:31:19
2024-04-30T18:31:19
Goya van Boven, Yupei Du, Dong Nguyen
cs.CL
cs.CL, cs.AI, I.2.7
Gender-neutral pronouns are increasingly being introduced across Western languages. Recent evaluations have however demonstrated that English NLP systems are unable to correctly process gender-neutral pronouns, with the risk of erasing and misgendering non-binary individuals. This paper examines a Dutch coreference resolution system's performance on gender-neutral pronouns, specifically hen and die. In Dutch, these pronouns were only introduced in 2016, compared to the longstanding existence of singular they in English. We additionally compare two debiasing techniques for coreference resolution systems in non-binary contexts: Counterfactual Data Augmentation (CDA) and delexicalisation. Moreover, because pronoun performance can be hard to interpret from a general evaluation metric like LEA, we introduce an innovative evaluation metric, the pronoun score, which directly represents the portion of correctly processed pronouns. Our results reveal diminished performance on gender-neutral pronouns compared to gendered counterparts. Nevertheless, although delexicalisation fails to yield improvements, CDA substantially reduces the performance gap between gendered and gender-neutral pronouns. We further show that CDA remains effective in low-resource settings, in which a limited set of debiasing documents is used. This efficacy extends to previously unseen neopronouns, which are currently infrequently used but may gain popularity in the future, underscoring the viability of effective debiasing with minimal resources and low computational costs.
[ -0.5154423117637634, -0.6414346098899841, 0.2529090344905853, 0.2343912571668625, -0.3839525580406189, -0.06762683391571045, -0.37957537174224854, -0.8822510838508606, 0.20893296599388123, 0.36471256613731384, -0.24804925918579102, -0.4922851026058197, -0.7928466200828552, 0.5664504170417786, -0.21169130504131317, 0.6778411269187927, 0.2873518764972687, 0.1425175815820694, -0.2914382815361023, -0.19194698333740234, -0.7426971197128296, -0.5152785778045654, -0.05963868275284767, -0.5318658947944641, 0.2709551155567169, 0.7123829126358032, 1.2072259187698364, 0.2980154752731323, 0.6094052791595459, 0.30193784832954407, -0.17500987648963928, 0.2485920786857605, -0.30799365043640137, 0.2660107910633087, -0.34923428297042847, -0.24904274940490723, -0.3364621102809906, 0.273099809885025, 0.2961927354335785, 1.0720704793930054, 0.3339713513851166, 0.11034920066595078, 0.07413972914218903, 0.7736049890518188, -1.028101921081543, 0.0684024915099144, -0.4749757945537567, 0.18771719932556152, 0.10015837848186493, 0.028421593829989433, -0.3610742390155792, -0.45711109042167664, 0.285401850938797, -0.5611997842788696, 0.26380616426467896, -0.15317001938819885, 0.614641547203064, 0.09331119805574417, -0.24350526928901672, -0.2946138381958008, -1.1047980785369873, 1.152591586112976, -0.49725040793418884, 0.18002590537071228, 0.5155095458030701, 0.22364680469036102, -0.07622673362493515, -0.05612445995211601, -0.4234711229801178, -0.2623385488986969, -0.07049740850925446, 0.09742782264947891, -0.6430537104606628, -0.07114612311124802, 0.08138556778430939, 0.22121934592723846, -0.3672885298728943, 0.24135538935661316, -0.2988223731517792, -0.1508946716785431, 0.5743837356567383, -0.2254418283700943, 0.04020421952009201, -0.40164124965667725, -0.12435422837734222, -0.005596005357801914, -0.5045529007911682, -0.18972717225551605, 0.7066342234611511, 0.6995936036109924, 0.19539235532283783, 0.7639632225036621, 0.10916732251644135, 0.35858353972435, 0.5574050545692444, -0.01243114285171032, 0.3946908712387085, -0.1410333514213562, -0.1507374346256256, 0.2809414267539978, 0.5260186195373535, 0.8001943230628967, 0.37773698568344116, -0.2526133358478546, -0.1443510502576828, 0.45404794812202454, 0.17827622592449188, -0.5462638735771179, -0.11123689264059067, 0.1729237139225006, -0.41167929768562317, -0.10062942653894424, 0.03390762209892273, -0.433750718832016, -0.434452623128891, -0.47545573115348816, 0.339851438999176, -0.6476141810417175, -0.4507197141647339, 0.22472518682479858, -0.2557920217514038, 0.11371704190969467, 0.45096254348754883, -0.5847885012626648, 0.12551052868366241, 0.5641950964927673, 0.6321380138397217, -0.053408533334732056, 0.1253991276025772, -0.3625602722167969, -0.18897834420204163, -0.669931948184967, 0.5855766534805298, -0.8192129135131836, -0.7406321167945862, 0.05537038668990135, 0.009225823916494846, 0.2133464217185974, -0.9242164492607117, 0.33667266368865967, -0.2564489245414734, 0.24527636170387268, -0.4966142177581787, -0.2512959837913513, -0.20359806716442108, 0.285163551568985, -0.7219485640525818, 1.044627070426941, -0.0656123086810112, -0.7847885489463806, 0.5767621397972107, -0.3505801558494568, -0.27804961800575256, -0.1540929526090622, 0.07179777324199677, -0.04762081056833267, 0.18131768703460693, 0.19801513850688934, 0.5021013617515564, -0.4388560354709625, 0.23765917122364044, -0.2842459976673126, -0.462896466255188, -0.01105272863060236, -0.22275274991989136, 0.8556069135665894, -0.2628796696662903, -0.2796594798564911, -0.020929459482431412, -0.8795179724693298, -0.1967109739780426, -0.25364065170288086, 0.09319441020488739, -0.8368445634841919, -0.24043749272823334, 0.011936245486140251, 0.30874934792518616, 0.260063111782074, -0.7637829780578613, 0.02223222702741623, -0.5010221004486084, 0.09519806504249573, 0.5383583307266235, -0.25045475363731384, 0.6934081315994263, -0.11541716009378433, 0.4381558299064636, 0.34632501006126404, 0.324535071849823, 0.24910010397434235, -0.46119120717048645, -0.7730076909065247, -0.07858850061893463, 0.5096534490585327, 0.6547629833221436, -0.8331965804100037, 0.8133476972579956, -0.07651817798614502, -0.709760844707489, -0.4266411066055298, 0.03203524276614189, 0.39127305150032043, 0.524090051651001, 0.7364403605461121, -0.30570295453071594, -1.0013972520828247, -1.3842954635620117, -0.20564694702625275, -0.5903385877609253, -0.003959205001592636, 0.03056136704981327, 0.6721487045288086, -0.28929010033607483, 0.9542197585105896, 0.024006061255931854, -0.33193281292915344, -0.13834653794765472, 0.37843289971351624, 0.5242266654968262, 0.6625602841377258, 0.8558940291404724, -0.6610273718833923, -0.242247074842453, -0.19321218132972717, -0.5750464200973511, -0.1804579645395279, -0.03160204738378525, 0.06451904773712158, 0.265732079744339, 0.14369416236877441, -0.23845849931240082, 0.5128499269485474, 0.5066757798194885, -0.5357521772384644, 0.9753596186637878, -0.14692795276641846, 0.0720859169960022, -0.5507206320762634, 0.20199228823184967, -0.06662183254957199, -0.4481886625289917, -0.29190340638160706, -0.3228590190410614, -0.16063781082630157, 0.2699046730995178, -0.5415546894073486, 0.28511330485343933, -0.46839627623558044, -0.13111940026283264, -0.2956255376338959, 0.14240103960037231, 0.033499229699373245, 0.045574966818094254, 0.09842018783092499, 0.6842454671859741, 0.3791962265968323, -0.7901845574378967, 0.26328903436660767, 0.3467705249786377, -0.2904099225997925, 0.9676691889762878, -0.6009348034858704, 0.13740502297878265, -0.330344557762146, -0.07590256631374359, -0.9620707631111145, 0.5169132947921753, 0.1831883192062378, -0.1873926818370819, 0.09260410070419312, -0.03806041553616524, -0.45561546087265015, -0.3383752703666687, -0.44671139121055603, 0.28011611104011536, 0.32297444343566895, -0.3592950105667114, 0.45892420411109924, 0.3221754729747772, 0.12360686808824539, -1.187750220298767, -0.9253931045532227, 0.4723515510559082, 0.13933686912059784, -0.3275536000728607, 0.49254027009010315, 0.0657639279961586, -0.6222423315048218, 0.26552778482437134, -0.20017960667610168, 0.084149569272995, -0.06607786566019058, 0.3469465374946594, 0.09679292887449265, 0.01502406969666481, 0.19608578085899353, 0.13795731961727142, -0.4900691509246826, 0.0341641791164875, -0.12255766987800598, 0.20429953932762146, -0.11698433756828308, -0.12086904793977737, -0.2779785096645355, 0.7122308611869812, 0.37368151545524597, 0.1632390171289444, 0.7044556140899658, 0.43114882707595825, -0.3497627377510071, -0.10588664561510086, -0.7828951478004456, -0.23406921327114105, -0.34771573543548584, 0.06657739728689194, -0.456630140542984, -0.5943533182144165, 0.706160306930542, 0.053384628146886826, 0.2339308112859726, 0.7114230394363403, 0.37959209084510803, -0.2038482427597046, 0.6200840473175049, 0.6789074540138245, 0.44750362634658813, 0.2731977105140686, -0.23568303883075714, 0.1717061847448349, -0.6027848720550537, 0.0003174592857249081, -0.606536865234375, -0.7073867321014404, -0.7748066782951355, -0.5952082276344299, 0.1292969137430191, 0.32197484374046326, -0.114766925573349, 0.6080118417739868, -0.47189417481422424, 0.44052329659461975, 0.6150747537612915, 0.11877040565013885, 0.4810922145843506, -0.4352782666683197, -0.15361171960830688, -0.5617697238922119, -0.4422931671142578, -0.7870573401451111, 0.833344578742981, 0.01801791600883007, 0.44524165987968445, 0.08191243559122086, 0.5311965346336365, 0.7038753628730774, 0.20601220428943634, -0.6334632039070129, 0.6612657308578491, -0.7019665241241455, -0.6158433556556702, -0.16948534548282623, -0.1781921684741974, -0.8220248818397522, 0.2798132300376892, -0.3049299716949463, -0.377275675535202, 1.1070975065231323, -0.046139515936374664, -0.15856900811195374, 0.38858625292778015, -0.4365735650062561, 0.505530059337616, 0.1695595234632492, -0.2990395724773407, -0.2191920131444931, -0.6361876130104065, 0.24433231353759766, -0.005586273968219757, 0.011006264947354794, -0.4665500521659851, -0.1639910340309143, 0.848650336265564, -0.45641788840293884, 1.258198618888855, -0.4513269364833832, -0.3975120186805725, 0.29894885420799255, 0.40066832304000854, 0.2503589391708374, -0.01229348685592413, -0.5055476427078247, 0.6343457698822021, 0.13610556721687317, -0.26145514845848083, -0.5693162679672241, 0.6048949360847473, -0.8173470497131348, -0.5083304047584534, -0.41877058148384094, -0.2674587368965149, -0.22749672830104828, 0.09042862802743912, 0.04592427983880043, -0.026775628328323364, -0.476998507976532, 0.3699045479297638, 0.32320693135261536, -0.34234434366226196, 0.4309539198875427, 0.6555570363998413, -0.048881132155656815, -0.48677775263786316, 0.27117738127708435, 0.5649122595787048, -0.06749965995550156, 0.3199295699596405, 0.270585298538208, -0.4275416135787964, -0.16251623630523682, -0.2021569013595581, 0.06027577444911003, -0.9417533278465271, -0.3973352611064911, -0.6499260067939758, 0.252293199300766, -0.3873025178909302, -0.2376362681388855, -0.7128337621688843, -0.761461079120636, -0.31646883487701416, -0.1863100528717041, 0.1916615217924118, 0.3923245370388031, -0.7480435371398926, 0.024637984111905098, -0.5531482696533203, 0.44975510239601135, 0.380222886800766, 0.018071476370096207, -0.3995380699634552, -0.47196096181869507, -0.007307988125830889, -0.14494791626930237, -0.011976653710007668, -1.0902520418167114, 0.16272498667240143, 0.167744442820549, 0.19758374989032745, 0.324768990278244, 0.5528842806816101, 0.7588186860084534, -0.30000537633895874, 0.805985152721405, 0.29225462675094604, -1.1675212383270264, 0.5041564106941223, -0.11013594269752502, 0.15555614233016968, 0.8190011382102966, 0.265415221452713, -0.6078941822052002, -0.32327353954315186, -0.4925287961959839, -1.0100914239883423, 0.3711155951023102, 0.09467540681362152, 0.2343265861272812, -0.27503299713134766, 0.563101053237915, 0.8448993563652039, 0.24675801396369934, -0.3748931288719177, -0.3990113437175751, -0.15601888298988342, 0.30322232842445374, -0.013677853159606457, -0.6153480410575867, 0.03506099432706833, -0.33254361152648926, 0.8124272227287292, -0.1815277636051178, 0.25565892457962036, 0.34673136472702026, -0.22122587263584137, -0.19951801002025604, 0.4093431830406189, 0.21047651767730713, 0.7550577521324158, -0.27337828278541565, 0.2843973934650421, 0.03410133719444275, -0.3313181400299072, 0.45808693766593933, -0.17643092572689056, -0.4086529314517975, 0.573270320892334, 0.5409526228904724, 0.4630340337753296, 0.4428473114967346, -0.27506279945373535, 0.5376061797142029, 0.09438078850507736, -0.4278506934642792, -0.390449583530426, -0.15079712867736816, -0.30121293663978577, 0.16718609631061554, 0.32334208488464355, 0.2522120773792267, 0.06262853741645813, -0.3903580605983734, 0.061445195227861404, 0.33086875081062317, -0.5218113660812378, -0.4824521541595459, 0.3736118674278259, 0.4115024507045746, 0.048743732273578644, 0.41453850269317627, -0.21239712834358215, -0.22818663716316223, 0.41892728209495544, 0.5430192351341248, 1.1876022815704346, -0.3685961365699768, 0.5534583926200867, 0.5572903752326965, 0.5686509013175964, -0.04332781583070755, 0.6088611483573914, -0.04422444477677345, -1.015712022781372, -0.7759361267089844, -0.3439905345439911, -0.5959416627883911, 0.0020092835184186697, -0.7701501846313477, 0.2272079735994339, -0.3425309658050537, -0.545927107334137, -0.14738240838050842, 0.18117162585258484, -0.9174186587333679, 0.1747238039970398, 0.09791965782642365, 0.7331309914588928, -1.0434523820877075, 0.36816152930259705, 0.8821418881416321, -0.17011593282222748, 0.12007484585046768, -0.4151098430156708, -0.21683679521083832, -0.42374831438064575, 1.0383988618850708, 0.3169976770877838, -0.40120089054107666, -0.44582632184028625, -0.20533645153045654, -0.5387858748435974, 0.5208835005760193, 0.7636190056800842, -0.9103752374649048, -0.013168036006391048, 0.38331055641174316, 0.6641051769256592, -0.13436785340309143, 0.5197546482086182, 0.49995094537734985, 1.0274909734725952, -0.3478449285030365, -1.1846529245376587, 0.023465357720851898, -0.21261170506477356, 0.05384809151291847, -0.15340366959571838, -0.35194581747055054, 0.6691665053367615, -0.12150271236896515, -0.37177181243896484, -0.2047935277223587, 0.7292383909225464, -0.2509084641933441, 0.011249578557908535, 0.8764349222183228, 0.3715554475784302, 0.746873676776886, -0.06870763748884201, 0.6732310056686401, -0.12428661435842514, 0.0429471917450428, 1.0605722665786743, -0.4520213007926941, 0.6415347456932068, 0.7211151719093323, -0.1896904557943344, 0.6258183121681213, 0.3145352303981781, 0.2513057291507721, 0.25078171491622925, 0.11061832308769226, 0.04937095195055008, -0.7111584544181824, -0.40794840455055237, -0.20471704006195068, 0.8230656385421753, 0.30410224199295044, -0.23565398156642914, -0.4200798273086548, 0.39481455087661743, -0.19838838279247284, 0.4400770664215088, -0.11105682700872421, 0.7259758114814758, -0.04035818949341774, -0.30889633297920227, 0.6885991096496582, -0.0008042308036237955, 0.8233085870742798, -0.26001831889152527, -0.12252200394868851, -0.04423586651682854, 0.23785410821437836, -0.19595617055892944, -0.6219176054000854, 0.6894984841346741, -0.012482082471251488, -0.6809720396995544, -0.2958216369152069, 0.6570016145706177, -0.17054805159568787, -0.6059913039207458, 0.7437068819999695, 0.8502456545829773, 0.10613605380058289, -0.2090519666671753, -0.7987316846847534, -0.13629594445228577, -0.2610794007778168, -0.1538008600473404, -0.11110340803861618, 0.46486884355545044, -0.1894490271806717, 0.32745155692100525, 0.4517171382904053, 0.22754155099391937, -0.3408210873603821, 0.12171246111392975, 0.6323474049568176, -0.8495297431945801, -0.38659238815307617, -0.7600944638252258, 0.16117119789123535, 0.05648176744580269, -0.47482728958129883, 0.8027691841125488, 0.4634346663951874, 0.7594276666641235, -0.12693415582180023, 0.5973570346832275, -0.06351012736558914, 0.5960490107536316, -0.050978969782590866, 0.24056902527809143, -0.1982128918170929, 0.17958229780197144, -0.3720577359199524, -1.2378973960876465, -0.7154218554496765, 0.5828454494476318, -0.6310179233551025, -0.057742681354284286, 0.3420467972755432, 0.5121138095855713, 0.1084768995642662, 0.027879470959305763, 0.6264200210571289, 0.22943668067455292, 0.2696789801120758, 0.375119149684906, 0.7859985828399658, -0.614151656627655, 0.3571076989173889, -0.6404516696929932, -0.07460562884807587, -0.37899598479270935, -1.1312553882598877, -0.821792721748352, -0.5052091479301453, -0.65346759557724, -0.27462807297706604, 0.31246820092201233, 1.0110889673233032, 0.6133638024330139, -1.0329833030700684, 0.11663732677698135, 0.17328302562236786, 0.1312951296567917, -0.7058834433555603, -0.21958313882350922, 0.3573484718799591, -0.22480149567127228, -1.0322457551956177, 0.5761111378669739, 0.24198009073734283, -0.2931627929210663, -0.5665791630744934, 0.1473665088415146, -0.22411894798278809, -0.03258455917239189, 0.666211724281311, 0.0961194783449173, -0.6556816101074219, -0.45628389716148376, -0.23630379140377045, 0.05113616958260536, 0.17332765460014343, 0.7854403853416443, -1.0070796012878418, 0.6112509965896606, 0.7441985011100769, 0.3818117380142212, -0.0731612965464592, -0.01736338436603546, 0.6425142884254456, -0.9071254730224609, 0.3217929005622864, 0.5768315196037292, 0.2524116039276123, 0.5332953333854675, -0.355779230594635, 0.4834146201610565, 0.3654485046863556, -0.2073925882577896, -0.7738049030303955, 0.08441972732543945, -0.6522603034973145, -0.40388116240501404, 1.0872329473495483, 0.04101026430726051, -0.22683995962142944, -0.6561305522918701, -0.1451188176870346, 0.15698610246181488, -0.4343181848526001, 0.6877011060714722, 0.593900740146637, -0.027500195428729057, 0.17869234085083008, -0.3407205641269684, 0.21171431243419647, 0.6306765675544739, -0.10783766210079193, 0.2460375726222992, 0.5128767490386963, -0.022783227264881134, 0.6880565285682678, 0.24790462851524353, -0.2443356066942215, 0.36775559186935425, -0.058738432824611664, 0.41619303822517395, -0.23466135561466217, -0.31197431683540344, -0.1306314468383789, 0.2423372119665146, -0.2543375790119171, -0.30829012393951416 ]
http://arxiv.org/abs/2405.00123v1
http://arxiv.org/pdf/2405.00123v1
Graph Neural Network Approach to Semantic Type Detection in Tables
2024-04-30T18:17:44
2024-04-30T18:17:44
Ehsan Hoseinzade, Ke Wang
cs.LG
cs.LG, cs.CL
This study addresses the challenge of detecting semantic column types in relational tables, a key task in many real-world applications. While language models like BERT have improved prediction accuracy, their token input constraints limit the simultaneous processing of intra-table and inter-table information. We propose a novel approach using Graph Neural Networks (GNNs) to model intra-table dependencies, allowing language models to focus on inter-table information. Our proposed method not only outperforms existing state-of-the-art algorithms but also offers novel insights into the utility and functionality of various GNN types for semantic type detection. The code is available at https://github.com/hoseinzadeehsan/GAIT
[ -0.12339393049478531, -0.7168339490890503, 0.599540114402771, -0.11681003868579865, -0.3875212073326111, -0.03532291203737259, 0.29295095801353455, -0.6385107040405273, 0.5101974606513977, 0.4497833251953125, -0.4632531404495239, -0.8003795742988586, -0.7089225053787231, -0.04925331845879555, -0.7372446656227112, 0.7551008462905884, -0.09295899420976639, 0.3032090663909912, -0.6401834487915039, -0.28692078590393066, -0.3339070975780487, -0.4740375876426697, -0.41740575432777405, -0.42837467789649963, 0.6192162036895752, 0.3916553854942322, 0.8241932392120361, 0.5927896499633789, 0.6277724504470825, 0.2997052073478699, -0.0412331186234951, 0.18105857074260712, -0.13108320534229279, 0.032412461936473846, 0.2736063301563263, -0.2672421336174011, -0.2678605020046234, -0.4090172052383423, 0.6946523189544678, 0.591346025466919, 0.17298515141010284, 0.012498700059950352, -0.08640014380216599, 0.5743894577026367, -0.3509303033351898, 0.793792188167572, -0.8537653088569641, 0.4819043278694153, -0.4461601674556732, 0.10903095453977585, -0.5209792256355286, -0.3938602805137634, 0.13893921673297882, -0.37417152523994446, 0.1856604814529419, 0.26844653487205505, 0.9138049483299255, -0.1707024723291397, -0.4811606705188751, -0.28150737285614014, -0.4830840528011322, -0.11239588260650635, -0.8106364011764526, 0.6640092134475708, 0.22827450931072235, 0.09565617889165878, -0.4458891749382019, -1.0624184608459473, -0.8735995292663574, -0.699788510799408, -0.6266226768493652, -0.22234001755714417, -0.07469610869884491, 0.3190523087978363, 0.04719305410981178, 0.12871597707271576, -0.8410729765892029, 0.11486473679542542, -0.02702747844159603, -0.3249336779117584, 0.027486519888043404, 0.21147160232067108, 0.886861264705658, -0.14045758545398712, -0.15816237032413483, 0.29714882373809814, -0.5792735815048218, 0.07042986154556274, 0.317113995552063, 0.6118313074111938, 0.11579969525337219, 0.5260922312736511, -0.37415680289268494, 1.0947872400283813, -0.4395279884338379, 0.25853824615478516, 0.0531761534512043, -0.4003986716270447, -0.01995483972132206, 0.003504656720906496, 0.6886311173439026, 0.06250493228435516, 0.41608262062072754, -0.7749291062355042, 0.06520168483257294, 0.32773351669311523, 0.06566610187292099, -0.5535053014755249, -0.53562992811203, -0.06096399202942848, -0.3300526440143585, -0.4559983015060425, -0.21013806760311127, -0.6731616258621216, -0.5633120536804199, -0.3987523913383484, 0.5854243636131287, -0.5081608891487122, -0.20835763216018677, -0.10703405737876892, -0.1259004920721054, 0.1998509168624878, 0.22789804637432098, -1.1369200944900513, 0.4326743483543396, 0.6601864099502563, 1.1456714868545532, -0.021981991827487946, -0.1546570360660553, -0.7568150758743286, 0.3671906888484955, -0.1897125542163849, 0.8010939359664917, -0.6105283498764038, -0.2505360543727875, 0.15342077612876892, -0.28007158637046814, -0.153305783867836, -0.397474467754364, 0.28428539633750916, -0.6486169695854187, -0.10192620009183884, -0.18935002386569977, -0.636276125907898, -0.28883183002471924, 0.33512336015701294, -0.9563478827476501, 0.9269858598709106, 0.4755304157733917, -1.0293357372283936, 0.7740704417228699, -0.6179391741752625, -0.6019657254219055, 0.2789711058139801, -0.49449533224105835, -0.6900832653045654, 0.037400051951408386, 0.16246332228183746, 0.3309668302536011, -0.008285416290163994, 0.2910762429237366, -0.8123340010643005, -0.3580271005630493, 0.09841185808181763, 0.27168649435043335, 0.5581095218658447, -0.30879542231559753, 0.047296445816755295, 0.631251871585846, -0.9610981345176697, 0.23796561360359192, 0.12123171240091324, -0.22635222971439362, -0.1963934451341629, 0.17116697132587433, -0.19486787915229797, 0.6002777218818665, -0.16433952748775482, -0.6394652128219604, 0.26563915610313416, -0.17923793196678162, 0.7171716094017029, 0.5202909111976624, -0.2594253122806549, 0.23301035165786743, 0.0842038244009018, 0.17299066483974457, 0.22352978587150574, 0.14691688120365143, 0.7230934500694275, -0.6909558773040771, -0.707497775554657, -0.040260717272758484, 0.47990912199020386, 0.6869603991508484, -0.8818233609199524, 0.31734445691108704, -0.34703966975212097, -0.3572246730327606, -0.1245403066277504, -0.05685214325785637, 0.3002829849720001, 1.0699646472930908, 0.5145977735519409, -0.5052061676979065, -0.508247971534729, -0.7584689855575562, -0.41997337341308594, -0.366001695394516, 0.16640570759773254, 0.40412774682044983, 0.6707993745803833, 0.016306135803461075, 1.2813265323638916, -0.10830598324537277, -0.3819344937801361, -0.25568631291389465, 0.10126038640737534, 0.10935240983963013, 0.5817409753799438, 0.6003023386001587, -0.8478962779045105, -0.7199590802192688, 0.14105145633220673, -0.8171141743659973, 0.250699520111084, 0.4467926025390625, -0.006254221778362989, 0.13975436985492706, 0.6726368069648743, -0.697886049747467, 0.7624977231025696, 0.2385396659374237, -0.49036163091659546, 0.48223981261253357, -0.1342250108718872, -0.43014517426490784, -0.5172176957130432, -0.012415173463523388, -0.029369978234171867, -0.2524555027484894, -0.9643083214759827, -0.3212091624736786, 0.14462357759475708, -0.1922149509191513, -0.2783016860485077, 0.31201764941215515, -0.45293283462524414, -0.5788949728012085, 0.3039829134941101, 0.16316190361976624, 0.14484424889087677, 0.5414833426475525, 0.1009482890367508, 0.5438451766967773, 0.3176073133945465, -0.49457573890686035, 0.5111107230186462, 0.5245073437690735, -0.5593820810317993, 0.10309956967830658, -0.5569186210632324, 0.24301661550998688, -0.3194783926010132, 0.41867703199386597, -1.5276974439620972, -0.10795744508504868, 0.7663352489471436, -0.5657907128334045, 0.5932472944259644, -0.5582441091537476, -0.6407296061515808, -0.7134891152381897, 0.13792213797569275, 0.04290622100234032, -0.10288392007350922, -0.497056245803833, 1.0141956806182861, 0.19408062100410461, 0.23165521025657654, -0.6916378140449524, -0.820486307144165, 0.15476007759571075, -0.12241790443658829, -1.0772963762283325, 0.33818289637565613, 0.3598240613937378, -0.02188573218882084, 0.33849242329597473, -0.2860795855522156, -0.26940301060676575, 0.2377811223268509, -0.009596576914191246, 0.4341663420200348, -0.251143217086792, 0.36023616790771484, -0.22517965734004974, -0.13916775584220886, 0.13775485754013062, -0.7879716157913208, 0.8213548064231873, -0.2044810652732849, -0.19752484560012817, -0.6228892207145691, 0.17605501413345337, 0.33960238099098206, -0.32757192850112915, 0.827582597732544, 0.6963558793067932, -0.30243146419525146, 0.028670478612184525, -0.11080183833837509, -0.11294646561145782, -0.4495263397693634, 0.8478585481643677, -0.3670428395271301, -0.7877011299133301, 0.8094857931137085, 0.22484584152698517, -0.5788943767547607, 0.3706189692020416, 0.34092557430267334, 0.07834742218255997, 0.8886668682098389, 0.3609141707420349, -0.33467260003089905, 0.5554459095001221, -0.15891188383102417, 0.4930954575538635, -0.6538447737693787, -0.19477440416812897, -0.7775154113769531, -0.45803457498550415, -0.4566013216972351, -0.08564630895853043, 0.25175997614860535, -0.14636056125164032, -0.31996750831604004, 0.22442619502544403, -0.6663725972175598, 0.3897716701030731, 0.6262436509132385, 0.2845059931278229, 0.29351112246513367, -0.15275555849075317, -0.5143616795539856, 0.36182183027267456, -0.656473696231842, 0.02682671695947647, 0.9646216034889221, 0.15631690621376038, 0.31601282954216003, 0.0027588088996708393, 0.6264393329620361, 0.45739123225212097, 0.38551557064056396, -0.7942911982536316, 0.6926857829093933, -0.4630337655544281, -0.43005314469337463, -0.7120453119277954, -0.508661687374115, -0.5414695739746094, 0.3608234226703644, -0.20285770297050476, -1.1807901859283447, 0.0844697505235672, 0.24143120646476746, -0.08779004216194153, 0.5886427164077759, -0.6645536422729492, 1.2957361936569214, -0.2218068391084671, -0.16444137692451477, 0.2562124729156494, -0.9233711361885071, 0.2557777166366577, 0.45997294783592224, -0.07635553181171417, -0.1700924038887024, 0.28671589493751526, 0.6327450275421143, -0.7211276888847351, 0.6841669082641602, -0.5801647901535034, 0.3041701912879944, 0.37381789088249207, 0.20242847502231598, 0.9657452702522278, 0.08203212171792984, -0.00427563302218914, 0.13599318265914917, -0.2725456953048706, -0.14792396128177643, -0.6181614995002747, 0.3569369912147522, -0.5580450892448425, -0.13959266245365143, -0.2971828579902649, -0.7844679951667786, -0.7059526443481445, 0.2650792896747589, 0.38540446758270264, 0.5997298359870911, 0.08381713181734085, -0.05811915546655655, 0.24292805790901184, 0.2714482545852661, 0.5127015113830566, 0.15502992272377014, -0.3998912274837494, -0.5965050458908081, 0.9350875020027161, 0.5681906342506409, 0.035443827509880066, 0.4707772135734558, 0.28521427512168884, -0.5037477016448975, -1.0755614042282104, -0.7435563802719116, -0.026244763284921646, -0.7838113307952881, -0.11697942763566971, -0.6007424592971802, -0.12553194165229797, -0.4029909670352936, 0.22795037925243378, 0.2818084955215454, -0.5736182332038879, -0.2955760955810547, -0.28782543540000916, 0.6488720774650574, 0.7666462063789368, 0.3180679678916931, 0.4141073226928711, -0.7180888056755066, 0.014652274549007416, 0.5543175339698792, 0.7265906929969788, 0.22338537871837616, -0.2602955102920532, -0.08023224025964737, -0.27365928888320923, 0.2780824303627014, -0.8303044438362122, 0.34693998098373413, 0.25327837467193604, 0.5495444536209106, 0.09570538252592087, -0.2788539230823517, 0.3491101562976837, -0.43290460109710693, 0.4787096679210663, 0.1559886634349823, -0.9541143178939819, 0.12193211913108826, -0.4024706780910492, -0.09225539118051529, 0.6867236495018005, 0.3343697488307953, -0.74772709608078, 0.09471569955348969, -0.24540331959724426, -0.8680526614189148, 0.7699969410896301, -0.027131784707307816, -0.21712146699428558, 0.08880294114351273, 0.42592179775238037, -0.12447641789913177, 0.2491612434387207, -0.9195998311042786, 0.05751728639006615, -0.20298486948013306, -0.2483818680047989, 0.30411389470100403, -0.18557623028755188, 0.11366889625787735, -0.4218898415565491, 0.4769270718097687, -0.40371909737586975, 0.4094898998737335, 0.1201336458325386, -0.3167250454425812, 0.12290836125612259, -0.054460909217596054, 0.7796047329902649, 0.5399055480957031, -0.27879372239112854, -0.10437922179698944, 0.08829197287559509, -0.6597219705581665, -0.11926332116127014, 0.18082840740680695, -0.3962043523788452, 0.27022045850753784, 0.19972831010818481, 0.9875053763389587, -0.022037815302610397, 0.12074645608663559, 0.34230929613113403, -0.18266545236110687, -0.10807623714208603, -0.28523024916648865, -0.1290399432182312, 0.30931147933006287, -0.11564630270004272, -0.2563435435295105, -0.15912804007530212, 0.2846764624118805, -0.3736911416053772, 0.4685074985027313, 0.6402509212493896, -0.9483616948127747, -0.08907704055309296, 0.5461132526397705, -0.052994903177022934, -0.45081377029418945, 1.0042494535446167, -0.19687524437904358, -0.6808353066444397, 0.9370444416999817, 0.6941738724708557, 0.8464927673339844, 0.04869673401117325, 0.2943829298019409, -0.007601267192512751, 0.09295788407325745, 0.3709750771522522, 0.49777278304100037, 0.09597013890743256, -1.0605061054229736, -0.12957920134067535, -0.4291594922542572, -0.5183941721916199, 0.0618264302611351, -0.2553974986076355, 0.2925277352333069, -0.5960930585861206, -0.06561888009309769, 0.2758833169937134, -0.29616817831993103, -0.40928736329078674, 0.08956027776002884, 0.2193899154663086, 0.8362756967544556, -0.661382257938385, 1.1286659240722656, 0.4401908218860626, -0.7600861191749573, -0.868497908115387, -0.3096822202205658, -0.08514240384101868, -0.9993199706077576, 0.8222953677177429, 0.17878153920173645, 0.150699645280838, -0.07524546980857849, -0.3294045925140381, -1.039463758468628, 0.8561544418334961, 0.3246019184589386, -0.20068714022636414, -0.5710573792457581, 0.7411115169525146, 0.4279443025588989, -0.3410865366458893, 0.3806919753551483, 0.6576184630393982, 0.7318419218063354, -0.0704229548573494, -0.6451424956321716, -0.05645212158560753, -0.2076292484998703, 0.2669193148612976, 0.6513361930847168, -0.4945613443851471, 1.1135954856872559, 0.3089427947998047, 0.1816323846578598, -0.0923735499382019, 0.7523263692855835, -0.18868035078048706, 0.24429422616958618, 0.6767182946205139, 0.8027929067611694, 0.7751121520996094, -0.315048485994339, 0.7037733197212219, -0.4072088897228241, 0.3753032088279724, 1.2610336542129517, -0.6132806539535522, 0.44761037826538086, 0.22471170127391815, -0.32072150707244873, 0.8729261755943298, 0.5000055432319641, -0.030854593962430954, 0.3463461399078369, 0.7914634346961975, -0.35296088457107544, -0.06808537989854813, -0.10894173383712769, -0.40942683815956116, 0.6012290120124817, 0.7192593216896057, -0.33860084414482117, -0.48153766989707947, -0.20105834305286407, 0.060608383268117905, -0.20763491094112396, -0.3746725618839264, 0.655569851398468, -0.2417357861995697, -0.21848827600479126, 0.15244388580322266, -0.4078886806964874, 0.15210463106632233, -0.760298490524292, -0.12122531980276108, 0.016284415498375893, 0.040105488151311874, -0.3760927617549896, -0.7509927749633789, 0.25589340925216675, -0.7627812623977661, -0.031632255762815475, 0.32656580209732056, 1.2703057527542114, -0.4258377254009247, -0.26892149448394775, 0.5320086479187012, 0.4003257751464844, -0.34310200810432434, -0.20931868255138397, -0.36484915018081665, -0.245332270860672, -0.44072481989860535, 0.004445182625204325, 0.5621433258056641, 0.6810063123703003, -0.22144931554794312, 0.577256977558136, 0.4967852830886841, -0.26824867725372314, 0.2986679673194885, 0.13971784710884094, 0.9323828220367432, -0.33209723234176636, -0.8164693117141724, -0.8018265962600708, 0.28690096735954285, -0.23701055347919464, -0.30929437279701233, 0.39130914211273193, 0.4576408863067627, 0.6261115670204163, -0.3207693099975586, 0.6216996312141418, -0.06454046815633774, 0.3291019797325134, -0.5842936635017395, 0.9761821031570435, -0.12329757958650589, -0.21964295208454132, -0.4729030430316925, -0.5287607312202454, -0.87875896692276, 0.3819722831249237, -0.42727118730545044, -0.049218833446502686, 0.7133605480194092, 0.6474791765213013, 0.10096041113138199, 0.41543498635292053, 0.07737841457128525, 0.001865969505161047, 0.3823041021823883, 0.4774351418018341, 0.7832381129264832, -0.07128152996301651, 0.7816426753997803, -0.30352649092674255, 0.09870199114084244, -0.3539747893810272, -0.9307965040206909, -0.5843574404716492, -0.5595172643661499, -0.09706505388021469, -0.7691037058830261, 0.11142908036708832, 0.6093789935112, 0.6164756417274475, -1.0367438793182373, -0.10953518003225327, -0.6424432396888733, 0.3309096693992615, -0.09452361613512039, -0.19712549448013306, 0.6660721898078918, -0.48360544443130493, 0.08321154862642288, 0.14315275847911835, 0.35942551493644714, 0.027173947542905807, -0.05812174081802368, 0.22359123826026917, -0.7009932994842529, -0.17319366335868835, 0.5695350766181946, 0.4381798207759857, -0.4981866478919983, -1.05401611328125, -0.15931709110736847, -0.051727667450904846, 0.5312017202377319, 0.8579240441322327, -0.9537067413330078, 0.2955731451511383, 0.8946399688720703, 0.6879974007606506, 0.6078819632530212, -0.29064542055130005, 0.16159437596797943, -0.7028478980064392, 0.19043876230716705, 0.4965623617172241, 0.7797227501869202, 0.08999515324831009, -0.46697622537612915, 0.8621876239776611, 0.6833313703536987, -0.5315580368041992, -0.529686450958252, 0.3903716802597046, -1.0143460035324097, 0.08460599184036255, 0.6746702194213867, -0.08287963271141052, -0.3213704526424408, -0.513985276222229, -0.07562755793333054, 0.315433531999588, -0.3054688572883606, 0.6757501363754272, 0.7285994291305542, -0.5580094456672668, 0.16826243698596954, -0.2519402801990509, 0.5574365854263306, 0.10954326391220093, -0.7344130873680115, -0.11530821025371552, 0.41383764147758484, 0.09637414664030075, 0.2597326636314392, 0.6309326887130737, -0.08823374658823013, 0.24320830404758453, 0.0005350757855921984, 0.05661497637629509, -0.27756425738334656, -0.4220428466796875, -0.031439680606126785, 0.3588693141937256, -0.08471296727657318, -0.32452359795570374 ]
http://arxiv.org/abs/2405.00099v2
http://arxiv.org/pdf/2405.00099v2
Creative Beam Search: LLM-as-a-Judge For Improving Response Generation
2024-04-30T18:00:02
2024-05-09T15:14:19
Giorgio Franceschelli, Mirco Musolesi
cs.AI
cs.AI, cs.CL, cs.HC, cs.LG
Large language models are revolutionizing several areas, including artificial creativity. However, the process of generation in machines profoundly diverges from that observed in humans. In particular, machine generation is characterized by a lack of intentionality and an underlying creative process. We propose a method called Creative Beam Search that uses Diverse Beam Search and LLM-as-a-Judge to perform response generation and response validation. The results of a qualitative experiment show how our approach can provide better output than standard sampling techniques. We also show that the response validation step is a necessary complement to the response generation step.
[ -0.567112922668457, -0.7940932512283325, 0.8534259796142578, 0.2931630611419678, -0.20566101372241974, 0.45316359400749207, 0.04386589303612709, -0.3917073905467987, 0.2131711095571518, 0.4188675582408905, -0.8480756282806396, -0.13806957006454468, -0.5144473910331726, 0.31000328063964844, -0.4529145061969757, 0.5237982273101807, -0.1182982325553894, 0.318895161151886, -0.16693471372127533, 0.09083719551563263, -0.7548043727874756, -0.10132590681314468, -0.6999508142471313, -0.6155690550804138, 0.5908766984939575, 0.3895682692527771, 0.4950970709323883, 0.33105987310409546, 0.7183605432510376, 0.4003849923610687, -0.1972488909959793, 0.5507115125656128, -0.4062032699584961, 0.4284139573574066, -0.5226012468338013, -0.6199260354042053, -0.14160816371440887, 0.05183616280555725, 0.42574459314346313, 0.48122650384902954, -0.08462875336408615, 0.1042255312204361, -0.26974642276763916, 0.8491023182868958, -0.5573537945747375, -0.0784483253955841, -0.7466899752616882, 0.49282318353652954, -0.12651777267456055, -0.520297110080719, -0.5783526301383972, -0.7700702548027039, -0.18766725063323975, -0.4621015191078186, 0.5120256543159485, 0.3745458126068115, 0.511245846748352, 0.3493621051311493, -0.5416982173919678, -0.5514083504676819, -1.0637041330337524, 0.6725781559944153, -0.7953943610191345, 0.27985042333602905, 0.1318971961736679, 0.5360155701637268, -0.5289936661720276, -0.8384528756141663, -0.7460017800331116, -0.43719160556793213, 0.1102655902504921, 0.3700799345970154, 0.008850833401083946, 0.14409181475639343, 0.579831063747406, 0.41918662190437317, -0.7543531060218811, 0.0713033378124237, -0.04782354459166527, -0.036560118198394775, 0.8728036284446716, 0.4333999752998352, 0.17977440357208252, -0.1981932669878006, -0.16880397498607635, -0.19879670441150665, -0.6122521162033081, 0.2754834294319153, 0.5318352580070496, 0.0752670094370842, 0.40919896960258484, 0.8732426166534424, -0.6845237612724304, 0.6520451307296753, 0.2426450401544571, -0.04533018171787262, 0.14149470627307892, -0.3580932319164276, -0.056319709867239, -0.0395900160074234, 0.6028756499290466, 0.37046805024147034, -0.040783267468214035, -0.08097825944423676, -0.6201825141906738, 0.21692438423633575, 0.49270033836364746, -0.8718960285186768, 0.10478463023900986, 0.18712006509304047, -0.5675114393234253, -0.33351367712020874, 0.17870384454727173, -0.53959721326828, -0.6165242195129395, -0.3397153913974762, 0.3277566134929657, -0.1466394066810608, -0.006370977032929659, 0.267088919878006, -0.49419447779655457, 0.07050720602273941, 0.34676969051361084, -0.7002949118614197, 0.07384057343006134, 0.38835981488227844, 0.4956246316432953, 0.06412100791931152, -0.0198302511125803, -1.036948800086975, -0.2522428333759308, -0.5885153412818909, 1.098867654800415, -0.3942127227783203, -0.5385861992835999, -0.12081098556518555, -0.4428926110267639, 0.1041790321469307, -0.8793990612030029, 0.3826926052570343, -0.9420691728591919, 0.4251733422279358, -0.17390653491020203, -0.5777302980422974, -0.1414795070886612, 0.1953435242176056, -0.5148513913154602, 0.8586452603340149, 0.2086460292339325, -0.6888720393180847, 0.6359713077545166, -0.7199161648750305, -0.4802427589893341, 0.3693096339702606, -0.45648443698883057, -0.5158472061157227, 0.7094457149505615, 0.2651021182537079, 0.18258103728294373, -0.40215003490448, 0.3915911614894867, -0.6274741291999817, -0.5177456736564636, 0.6616554260253906, -0.14430901408195496, 0.495665043592453, 0.6325224041938782, -0.44194290041923523, 0.25885117053985596, -1.0854909420013428, 0.2840191423892975, 0.4331801235675812, -0.8766732215881348, 0.24986238777637482, 0.36955368518829346, 0.10615167021751404, 0.3026770353317261, 0.14553415775299072, -0.8063881397247314, 0.025364775210618973, -0.8996087312698364, 0.30278193950653076, 0.7427720427513123, 0.09715152531862259, 0.2222047746181488, -0.5341724753379822, 0.7021802067756653, -0.17173698544502258, -0.19571039080619812, -0.14224527776241302, -0.49911025166511536, -0.5791885852813721, 0.0936942920088768, -0.004321998916566372, 0.4115965962409973, -1.129143476486206, 0.43220359086990356, 0.21522840857505798, -0.44755300879478455, -0.8640589714050293, 0.28391343355178833, 0.1927150934934616, 0.4641667306423187, 0.09272229671478271, -0.520463764667511, -1.004905104637146, -0.8204668164253235, -0.3917204737663269, -0.14901669323444366, -0.39919188618659973, 0.44514089822769165, 0.17277435958385468, -0.28657281398773193, 1.2295490503311157, -0.35336628556251526, 0.14646227657794952, -0.4248383045196533, 0.30007144808769226, 0.47991520166397095, 0.12284177541732788, 0.49028611183166504, -0.9451778531074524, -0.3100990355014801, -0.03198078274726868, -0.8618696331977844, -0.5015275478363037, -0.14608721435070038, 0.1569443792104721, 0.0193766001611948, 0.3295323848724365, -0.6452750563621521, 0.4774334728717804, 0.3695579767227173, -0.3107249438762665, 0.46221309900283813, 0.02203402854502201, 0.1357123702764511, -1.0226733684539795, 0.172959104180336, -0.4451809823513031, -0.24590922892093658, -0.5673561692237854, 0.4639369547367096, -0.004354117903858423, -0.03093099221587181, -0.595259964466095, 0.5273420214653015, -0.27147963643074036, -0.10573293268680573, -0.9876081943511963, 0.39738625288009644, 0.06299461424350739, 0.10795819014310837, -0.16917477548122406, 0.500881016254425, 0.25998538732528687, -0.5763542652130127, 0.9620057344436646, 0.2514979839324951, -0.5144229531288147, 0.4507703185081482, -0.7273126244544983, 0.5213146805763245, -0.5805079936981201, 0.3087531328201294, -1.276789665222168, -0.4345972537994385, -0.11437518149614334, -0.4610726237297058, 0.20786821842193604, 0.38315707445144653, -0.6722160577774048, -1.0645474195480347, -0.49143674969673157, 0.28883323073387146, 0.345552533864975, -0.5847045183181763, 0.657110333442688, -0.03872877359390259, -0.13154977560043335, -0.22617647051811218, -0.578916609287262, 0.055250439792871475, -0.2576919198036194, -0.7858072519302368, 0.32593175768852234, -0.6953911185264587, -0.34077855944633484, -0.3894729018211365, -0.005780111066997051, 0.5166002511978149, 0.4372199475765228, 0.10427279025316238, 0.06434546411037445, -0.2903885841369629, 0.02389875054359436, -0.23270167410373688, 0.010789277963340282, 0.1396353542804718, 0.08331838995218277, 0.9008767604827881, 0.14209969341754913, -0.6960784196853638, -0.32853999733924866, 0.4498772621154785, 0.30985957384109497, -0.3146263062953949, 0.1754266321659088, 0.518173098564148, -0.21617265045642853, -0.3193701207637787, -0.6917736530303955, -0.43023258447647095, -0.6335775256156921, 0.3613857626914978, -0.295068621635437, -0.9238541722297668, 0.3427255153656006, 0.054697975516319275, 0.04047715291380882, 0.2528965175151825, 1.0845154523849487, -0.29699042439460754, 1.49656081199646, 0.46607673168182373, 0.3999415934085846, 0.6111570000648499, 0.1824420988559723, 0.5031511783599854, -0.7855939865112305, -0.2016456425189972, -0.6740734577178955, -0.6381528377532959, -0.7005578875541687, 0.04852646589279175, 0.2478952407836914, -0.06051900237798691, -0.1936623752117157, 0.06569232046604156, -0.490230917930603, 0.303864985704422, 0.8660548329353333, 0.135662242770195, 0.2368212789297104, -0.25857269763946533, -0.4196572005748749, -0.08767502754926682, -0.6075157523155212, -0.4756090044975281, 0.8899627327919006, 0.25969648361206055, 0.8479495644569397, 0.06775932013988495, 1.0186290740966797, -0.06687135994434357, 0.49850285053253174, -1.0315420627593994, 0.7031354904174805, 0.19084270298480988, -0.6481339931488037, -0.13563993573188782, -0.6124091148376465, -0.9230783581733704, 0.17586877942085266, -0.18303771317005157, -0.5260754823684692, -0.17191962897777557, 0.02833063155412674, -0.526897132396698, 0.11274958401918411, -0.5564592480659485, 0.2917833626270294, -0.44231224060058594, -0.1356026828289032, -0.17238816618919373, -0.47035151720046997, 0.26084205508232117, -0.3705594837665558, 0.23015770316123962, -0.21926510334014893, 0.4272077679634094, 0.5187200903892517, -0.18840472400188446, 0.6036955118179321, -0.28427186608314514, 0.08009606599807739, 0.43840089440345764, 0.40821853280067444, 0.6867644786834717, 0.05312466621398926, -0.06600015610456467, -0.8178675174713135, -0.728449285030365, -0.14231692254543304, -0.6719095706939697, 0.5090703964233398, -0.5427134037017822, -1.0393650531768799, 0.11288484185934067, -0.8050365447998047, -0.373484343290329, 0.33238354325294495, 0.3923173248767853, -0.1524362415075302, -0.05357403680682182, 0.43677324056625366, 0.40023258328437805, -0.2991885542869568, 0.6157877445220947, 0.6018613576889038, -0.453407347202301, -0.3972325623035431, 0.5285487174987793, -0.107886403799057, -0.013102676719427109, 0.38497766852378845, 0.4106397032737732, -0.38155597448349, -0.8128385543823242, -0.3216364085674286, 0.01302111055701971, -0.46574848890304565, -0.3290945589542389, -0.3839470446109772, -0.18723703920841217, -0.5469995737075806, -0.14166249334812164, -0.25912046432495117, -0.4975309669971466, -0.21563993394374847, -0.3249936103820801, -0.06233513355255127, 0.9768571853637695, 0.11637841165065765, 0.20220807194709778, -0.6879591941833496, 0.4133054316043854, 0.5941916108131409, 0.24712474644184113, -0.026731381192803383, -0.6127708554267883, -0.07839877158403397, 0.06206027418375015, -1.0452122688293457, -0.7986739277839661, 0.4883657991886139, 0.08510076254606247, 0.8479787111282349, 0.3243965208530426, 0.0025379012804478407, 0.46891117095947266, -0.54241943359375, 0.8215299844741821, 0.3025091886520386, -0.6907325983047485, 1.1417436599731445, -0.183693528175354, 0.47921523451805115, 0.07280780375003815, 0.05771743506193161, -0.4333643615245819, -0.6914456486701965, -0.5660865902900696, -0.9222680330276489, 0.6256895661354065, 0.2527904212474823, 0.20674188435077667, -0.023439859971404076, 0.1812078058719635, -0.11792806535959244, 0.48360681533813477, -0.6956382393836975, 0.22176215052604675, -0.15804913640022278, -0.05864671617746353, 0.04058331996202469, 0.050544314086437225, -0.2713843584060669, 0.2818191349506378, 0.5440815687179565, -0.3924315869808197, 0.17761853337287903, 0.210676372051239, 0.22436924278736115, -0.6280471682548523, 0.15330062806606293, 0.5032732486724854, 0.37696608901023865, 0.016062362119555473, 0.27320757508277893, 0.22730159759521484, 0.054428618401288986, 0.2771719694137573, 0.0635707899928093, -0.24208639562129974, -0.1866724044084549, 0.39467132091522217, 0.631901204586029, -0.04569527134299278, -1.031661033630371, 0.29377901554107666, -0.13259904086589813, -0.3150727152824402, -0.023725422099232674, 0.5200074315071106, 0.19600701332092285, 0.6883668899536133, 0.44587135314941406, 0.1350139081478119, 0.4154723286628723, -0.49997827410697937, 0.31763821840286255, 0.5731614828109741, 0.06780068576335907, -0.13095854222774506, 0.9803719520568848, -0.1966884434223175, -0.8474223017692566, 0.5984025597572327, -0.3745652437210083, -0.2654678523540497, 0.6811615824699402, 0.7312390208244324, 1.115556001663208, -0.22437134385108948, 0.16461017727851868, 0.17113536596298218, -0.026902824640274048, -0.08964536339044571, 0.536887526512146, -0.013712632469832897, -0.8831628561019897, -0.35247230529785156, -0.7467983365058899, -0.48473992943763733, 0.0599798709154129, -0.5556303262710571, 0.2165757566690445, -0.6007508039474487, -0.5204007029533386, -0.023269889876246452, 0.07435867190361023, -0.8666915893554688, 0.33515018224716187, 0.38569706678390503, 0.7351641654968262, -0.4019756317138672, 0.48965582251548767, 0.9330753684043884, -0.25908640027046204, -0.7038105130195618, -0.25268715620040894, 0.0921371802687645, -1.0154579877853394, 0.8322729468345642, 0.3047240972518921, -0.21246805787086487, -0.2887035310268402, -0.6969244480133057, -0.7916767001152039, 1.1372939348220825, 0.3764859437942505, -0.4774785339832306, -0.15422531962394714, 0.21131135523319244, 0.787479043006897, -0.47902873158454895, 0.2337236851453781, 0.39291927218437195, 0.41266196966171265, 0.5000811815261841, -0.888670027256012, -0.11404327303171158, -0.41653409600257874, 0.6436865329742432, -0.14404168725013733, -0.6242199540138245, 0.70234215259552, -0.24157701432704926, -0.2656420171260834, 0.24453918635845184, 0.6618865728378296, 0.8732010126113892, 0.7714999318122864, 0.22656144201755524, 0.4630930721759796, 0.7074734568595886, -0.02908007800579071, 0.9277535080909729, -0.0782560408115387, 0.3649754524230957, 0.8561773896217346, -0.5631582736968994, 0.7909431457519531, 0.6549205780029297, -0.039855435490608215, 0.23915426433086395, 0.7292662858963013, -0.09128879755735397, 0.568775475025177, 0.5435681343078613, -0.18564336001873016, -0.2400600165128708, -0.1546199470758438, 0.062119219452142715, 0.42299795150756836, 0.14136597514152527, -0.4371546804904938, -0.24067677557468414, 0.1017560139298439, -0.3547820448875427, 0.5178115367889404, -0.1802714467048645, 0.6578584909439087, 0.15226489305496216, -0.8008407950401306, 0.42656370997428894, 0.2681984305381775, 0.5771495699882507, -0.27097827196121216, 0.15662945806980133, -0.4554775357246399, 0.28848809003829956, -0.3043227791786194, -0.7617435455322266, 0.3159683048725128, -0.05921844020485878, -0.17906564474105835, -0.34861481189727783, 0.6863240599632263, -0.022063640877604485, -0.40457701683044434, 0.38457226753234863, 0.6373320817947388, -0.2744253873825073, 0.0028468440286815166, -0.49027732014656067, 0.004693533759564161, 0.10498468577861786, -0.7818799018859863, 0.08839723467826843, 0.48067840933799744, 0.13375547528266907, 0.7947672009468079, 0.6578810811042786, 0.12717470526695251, 0.15162105858325958, 0.15250587463378906, 0.9584978818893433, -0.7596865892410278, -0.4006972312927246, -0.6450366973876953, 0.40920865535736084, -0.01946212165057659, -0.12701481580734253, 0.5910313725471497, 0.5901925563812256, 0.9647217988967896, -0.25820669531822205, 0.7950729727745056, 0.033869583159685135, 0.7426446676254272, -0.7031107544898987, 0.3168027698993683, -0.6114236116409302, 0.3179827928543091, -0.12605346739292145, -1.0582385063171387, -0.4377520978450775, 0.7332421541213989, -0.23426222801208496, 0.30653268098831177, 0.5096954703330994, 1.0270750522613525, 0.05797142535448074, 0.15198670327663422, 0.49519816040992737, 0.31639209389686584, 0.8909215331077576, 0.707231879234314, 1.3039671182632446, -0.21291029453277588, 0.37260550260543823, 0.11961089074611664, -0.25364285707473755, -0.33224135637283325, -0.708812415599823, -0.9074453115463257, -0.18442751467227936, 0.003581396769732237, -0.28918805718421936, -0.347063273191452, 1.1415059566497803, 0.532921552658081, -0.7331674098968506, -0.29709702730178833, -0.211221382021904, -0.14333829283714294, -0.09445103257894516, -0.2521194815635681, -0.24018341302871704, -0.6738432049751282, -0.766723096370697, 0.8851432800292969, 0.26490432024002075, 0.1754995882511139, -0.3474787771701813, -0.05642363801598549, 0.22035345435142517, 0.3287995755672455, 0.6818233132362366, -0.06810393929481506, -0.5946376919746399, -0.21318648755550385, 0.23433226346969604, -0.16648143529891968, 0.1120135709643364, 0.9232822060585022, -0.9250103831291199, 0.6809279918670654, 0.6292769312858582, 0.6724313497543335, 0.6009934544563293, -0.17117805778980255, 0.5521873831748962, -0.701118528842926, -0.043045368045568466, 0.6212847232818604, 0.4114910364151001, 0.3516933023929596, -0.33668607473373413, 0.42547839879989624, 0.47131744027137756, -0.5835859179496765, -0.6338257789611816, 0.6877750754356384, -0.8454399108886719, -0.17936892807483673, 0.92454993724823, 0.09812350571155548, -0.0845021978020668, 0.17525874078273773, -0.6255103945732117, 0.05681005120277405, -0.26612588763237, 1.2638829946517944, 0.7862595319747925, -0.48487669229507446, 0.0029199079144746065, -0.4159741997718811, 0.18361817300319672, 0.4958273768424988, -0.6602922677993774, -0.20000699162483215, 0.43286749720573425, 0.0718669518828392, 0.36896654963493347, 0.6419443488121033, 0.016892075538635254, 0.5281978249549866, -0.07315193861722946, -0.0642874613404274, 0.13162921369075775, -0.24258030951023102, -0.14142492413520813, 0.4679875671863556, 0.5426564812660217, 0.011858946643769741 ]
http://arxiv.org/abs/2404.19753v1
http://arxiv.org/pdf/2404.19753v1
DOCCI: Descriptions of Connected and Contrasting Images
2024-04-30T17:56:24
2024-04-30T17:56:24
Yasumasa Onoe, Sunayana Rane, Zachary Berger, Yonatan Bitton, Jaemin Cho, Roopal Garg, Alexander Ku, Zarana Parekh, Jordi Pont-Tuset, Garrett Tanzer, Su Wang, Jason Baldridge
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
Vision-language datasets are vital for both text-to-image (T2I) and image-to-text (I2T) research. However, current datasets lack descriptions with fine-grained detail that would allow for richer associations to be learned by models. To fill the gap, we introduce Descriptions of Connected and Contrasting Images (DOCCI), a dataset with long, human-annotated English descriptions for 15k images that were taken, curated and donated by a single researcher intent on capturing key challenges such as spatial relations, counting, text rendering, world knowledge, and more. We instruct human annotators to create comprehensive descriptions for each image; these average 136 words in length and are crafted to clearly distinguish each image from those that are related or similar. Each description is highly compositional and typically encompasses multiple challenges. Through both quantitative and qualitative analyses, we demonstrate that DOCCI serves as an effective training resource for image-to-text generation -- a PaLI 5B model finetuned on DOCCI shows equal or superior results compared to highly-performant larger models like LLaVA-1.5 7B and InstructBLIP 7B. Furthermore, we show that DOCCI is a useful testbed for text-to-image generation, highlighting the limitations of current text-to-image models in capturing long descriptions and fine details.
[ -0.5725314617156982, -0.28735655546188354, 0.6383813619613647, -0.02580088935792446, -0.6157530546188354, -0.0746709555387497, -0.1558230221271515, -0.9226155877113342, -0.06424698978662491, 0.35789886116981506, -0.43971994519233704, -0.3759554624557495, -0.5432639122009277, 0.3516619801521301, -0.4816579520702362, 1.0244979858398438, -0.35693496465682983, 0.04391232132911682, -0.5522165894508362, -0.048893433064222336, -0.6428254842758179, 0.1192985251545906, -0.8495876789093018, -0.17353861033916473, 0.7297341823577881, 0.35209357738494873, 0.5352277755737305, 0.7103479504585266, 0.897970974445343, 0.20021407306194305, -0.009638655930757523, 0.3403927683830261, -0.5395179986953735, 0.0893702358007431, -0.2718619108200073, -0.4097626805305481, -0.015661507844924927, 0.2175716906785965, 0.6668688058853149, 0.7907475233078003, 0.3618760108947754, -0.08707515895366669, -0.13246941566467285, 0.6725994944572449, -0.43279772996902466, 0.31310561299324036, -0.5355443954467773, 0.14713357388973236, -0.3093428313732147, -0.08966433256864548, -0.248556450009346, -0.029897743836045265, 0.2728511095046997, -0.9080255031585693, 0.5292932987213135, 0.0943494588136673, 1.2281737327575684, 0.2543202340602875, -0.5033941268920898, -0.41736868023872375, -0.6507928967475891, 0.4188595712184906, -0.30164068937301636, -0.0797261968255043, 0.45031461119651794, 0.4808233678340912, 0.20933732390403748, -0.9134531617164612, -0.8542112112045288, 0.016458123922348022, -0.3347226679325104, 0.47183331847190857, 0.18686909973621368, -0.2570629119873047, 0.09728135168552399, 0.42898187041282654, -0.2746041417121887, 0.3715054392814636, -0.8493398427963257, -0.017764046788215637, 0.7388212084770203, 0.4871196746826172, 0.17821601033210754, -0.07733097672462463, -0.5067976117134094, -0.22293977439403534, -0.9297037124633789, -0.10344912856817245, 0.4083110988140106, -0.13876134157180786, -0.5382320880889893, 0.5687753558158875, -0.0290389321744442, 0.6424551606178284, -0.05700009688735008, -0.05518815293908119, 0.05748740956187248, -0.4241374731063843, 0.27892112731933594, -0.154625803232193, 0.9107027053833008, 0.8984052538871765, 0.24028904736042023, -0.333709180355072, -0.2808842360973358, 0.22785109281539917, 0.10710739344358444, -0.9646399021148682, -0.14992694556713104, -0.16771391034126282, -0.6089510321617126, -0.31069591641426086, 0.11369185894727707, -0.812650740146637, -0.48242032527923584, -0.32148581743240356, 0.018795989453792572, -0.32706403732299805, -0.1291816234588623, -0.26701369881629944, -0.35285043716430664, 0.42621946334838867, 0.3217357099056244, -0.7737494707107544, 0.44982272386550903, 0.6537340879440308, 0.8283761739730835, -0.23790861666202545, -0.5043123960494995, -0.1930597722530365, 0.28772902488708496, -0.6529885530471802, 1.0329004526138306, -0.6377854347229004, -0.7519903779029846, 0.0887225866317749, 0.05856785923242569, 0.2881357669830322, -0.3580263555049896, 0.33351027965545654, -0.11401908099651337, 0.47829189896583557, -0.22549833357334137, -0.51848965883255, 0.07158936560153961, 0.24624082446098328, -0.7791823148727417, 0.7016248106956482, 0.07528729736804962, -1.2462531328201294, 0.3397388756275177, -0.6069891452789307, -0.5280548334121704, 0.10307905822992325, -0.8141807317733765, -0.36127543449401855, 0.22908687591552734, -0.062431689351797104, 0.5331201553344727, -0.668595552444458, 0.06268426775932312, -0.2014203667640686, -0.4930494725704193, 0.4406730532646179, -0.13654641807079315, 0.3419974148273468, 0.3276445269584656, -0.20808763802051544, -0.1404910534620285, -0.8315337300300598, -0.44640570878982544, 0.5514191389083862, 0.01938685216009617, -0.387284517288208, 0.05073883756995201, 0.3178604543209076, -0.012414678931236267, 0.2710431218147278, -0.613075852394104, -0.019775602966547012, -0.17047147452831268, 0.6285353899002075, 0.6406524181365967, -0.08959491550922394, 0.14914898574352264, -0.2547181248664856, 0.21722868084907532, 0.36847928166389465, 0.14569178223609924, -0.5250515937805176, -0.4912889897823334, -0.5828781127929688, -0.16997605562210083, 0.1827751249074936, 0.362178236246109, -0.916118323802948, -0.07806258648633957, -0.6177080869674683, -0.46299028396606445, -0.5710033178329468, -0.14830107986927032, 0.6119971871376038, 1.0406092405319214, 0.2115352898836136, -0.807231605052948, -0.07503484934568405, -1.3094151020050049, 0.4538925290107727, -0.17853966355323792, -0.17722144722938538, 0.6872382164001465, 0.5082012414932251, -0.10167321562767029, 0.6522346138954163, -0.57142174243927, -0.4145745038986206, 0.46793922781944275, 0.2027694284915924, -0.12330576032400131, 0.12162420153617859, 0.548086404800415, -1.0721843242645264, -0.6500338315963745, 0.13700373470783234, -0.7548921704292297, 0.23309385776519775, -0.28631359338760376, 0.1544792354106903, -0.06914112716913223, 0.583457350730896, -0.5583295226097107, 0.3959061801433563, 0.25080880522727966, -0.404281884431839, 0.5904371738433838, -0.42148447036743164, 0.29926514625549316, -1.517853856086731, 0.29016223549842834, 0.1346706748008728, 0.0010266851168125868, -0.22872455418109894, 0.27815014123916626, -0.09205560386180878, -0.21035519242286682, -0.5088465809822083, 0.5639573335647583, -0.6836255788803101, -0.1913883090019226, -0.21055638790130615, 0.2740631103515625, 0.1341228038072586, 0.1145700216293335, 0.4569533169269562, 1.1068898439407349, 0.956732451915741, -0.21154969930648804, 0.5619600415229797, 0.6843640804290771, -0.31583186984062195, 0.9294320940971375, -0.76692134141922, 0.3754604458808899, -0.02509511075913906, 0.35088807344436646, -0.9437258839607239, -0.3882788121700287, 0.02408887818455696, -0.2282266616821289, 0.5416256785392761, 0.11588670313358307, -0.47411423921585083, -0.27111098170280457, -0.3267277777194977, 0.7070571780204773, 0.4544767439365387, -0.6623995304107666, 0.3841990530490875, 0.149351105093956, -0.2244947850704193, -0.35900816321372986, -0.8032890558242798, 0.638259768486023, -0.31524065136909485, -0.5079213976860046, 0.5270584225654602, 0.13662782311439514, -0.10903278738260269, 0.1219199150800705, 0.37156063318252563, -0.1366311013698578, -0.10329604148864746, 0.6103934049606323, 0.5268003344535828, -0.02986370585858822, 0.2268335223197937, -0.1854773610830307, -0.1436927169561386, 0.059099312871694565, -0.012448065914213657, 0.04385824501514435, -0.023873699828982353, -0.019997015595436096, -0.31092509627342224, 0.8064107894897461, 0.16992822289466858, -0.26520535349845886, 0.43223437666893005, 0.7687409520149231, -0.19284069538116455, 0.3457474410533905, -0.350859671831131, 0.027428749948740005, -0.37975171208381653, 0.32498687505722046, -0.7776437997817993, -0.5442612767219543, 0.4558624029159546, -0.15767604112625122, 0.02007238008081913, 0.492239773273468, 0.21708092093467712, -0.5692473649978638, 0.563535213470459, 0.5850731730461121, 0.13732576370239258, 0.2861378788948059, -0.25136420130729675, 0.03638650104403496, -0.9027284979820251, -0.4699953496456146, -0.4706304371356964, -0.24291430413722992, -0.6145833134651184, -0.3929513692855835, 0.1997094601392746, -0.33008599281311035, 0.0008797347545623779, 0.054615940898656845, -0.6269603967666626, 0.5909551382064819, 0.5717470049858093, 0.19924955070018768, -0.029161470010876656, 0.2769981026649475, 0.06796162575483322, -0.10524400323629379, -0.2470678836107254, -0.5286766886711121, 1.2541946172714233, 0.14064431190490723, 0.8144632577896118, -0.21569423377513885, 0.7045848369598389, 0.20523874461650848, 0.02505018189549446, -0.5225003361701965, 0.6149642467498779, -0.7104366421699524, -0.18842633068561554, 0.18895071744918823, -0.2295597940683365, -0.9130898714065552, -0.5089967846870422, -0.40549495816230774, -0.33245590329170227, 0.2957967221736908, -0.0014523533172905445, -0.11009442806243896, 0.19855985045433044, -0.7922319173812866, 0.5128298997879028, -0.1997103989124298, -0.5283822417259216, -0.33950263261795044, -1.1662923097610474, 0.09589032083749771, 0.012700957246124744, -0.06755926460027695, 0.2112433910369873, -0.17097985744476318, 0.5239977836608887, -0.17815883457660675, 0.9517009854316711, 0.2409195452928543, -0.0646132156252861, 0.24607153236865997, -0.13712820410728455, 0.22121383249759674, -0.17139586806297302, 0.30497655272483826, 0.3142637312412262, 0.08294733613729477, -0.5078080296516418, -0.23559358716011047, 0.7450466752052307, -0.7894002795219421, -0.45506203174591064, 0.013937542214989662, -0.5885570645332336, -0.09392201155424118, 0.02740178257226944, 0.5572532415390015, 0.685945451259613, -0.3216642439365387, 0.012720336206257343, 0.5980405211448669, -0.2613743841648102, 0.3511439263820648, -0.11646606028079987, 0.06041917949914932, -0.48084497451782227, 0.877417802810669, -0.24742533266544342, 0.11177939176559448, 0.5056958198547363, -0.0688362866640091, -0.23689772188663483, -0.6157339811325073, -0.36201968789100647, 0.3177241384983063, -0.7638821005821228, -0.11779189854860306, -0.1891801506280899, -0.12512774765491486, -0.2688290476799011, -0.26809990406036377, -0.14674116671085358, -0.3699108958244324, -0.46403977274894714, -0.0707402303814888, 0.23006820678710938, 0.8727880716323853, 0.13925747573375702, 0.24551434814929962, -0.4016777575016022, 0.47891172766685486, 0.4919973313808441, 0.4577466547489166, -0.34234610199928284, -0.10896280407905579, -0.29583996534347534, -0.10711240768432617, -0.32102692127227783, -0.7311990857124329, -0.05781220272183418, 0.5128541588783264, 0.03598665073513985, 0.6968262195587158, -0.04671304300427437, 0.7271550893783569, -0.5942476391792297, 0.929865837097168, 0.7491215467453003, -0.4469197392463684, 0.5549441576004028, -0.2802278697490692, -0.016207320615649223, 0.363558292388916, 0.22519898414611816, -0.333425372838974, -0.3723662793636322, -0.5112738609313965, -0.7970166206359863, 0.3412303030490875, 0.14957213401794434, 0.333011656999588, -0.05914996191859245, 0.5471013188362122, 0.46857917308807373, 0.08797990530729294, -0.5698240399360657, -0.015164907090365887, -0.4356463551521301, -0.5743948221206665, -0.2582249045372009, -0.36527907848358154, -0.6276531219482422, 0.24895451962947845, 0.34806370735168457, -0.26660141348838806, 0.294163316488266, 0.4662317931652069, 0.07539251446723938, 0.04904685914516449, 0.08815843611955643, 0.4189184010028839, 0.5015050768852234, 0.030795764178037643, 0.4049193263053894, -0.2153463214635849, -0.5249661803245544, -0.23038464784622192, 0.4321764409542084, -0.2942313551902771, -0.0713483914732933, 0.7799046635627747, 1.148366928100586, -0.32971659302711487, -0.6728332042694092, 0.5086411237716675, -0.28214484453201294, -0.3909966051578522, -0.19589576125144958, -0.08419445902109146, 0.18624469637870789, 0.25347086787223816, 0.09967825561761856, -0.15750232338905334, 0.306418240070343, -0.5443896055221558, -0.1058015301823616, 0.29429537057876587, -0.6320352554321289, -0.3772910535335541, 0.6451810002326965, 0.4489460587501526, -0.05119352042675018, 0.7702262997627258, -0.034844402223825455, -0.09199216216802597, 0.8772917985916138, 0.42028874158859253, 0.7040351033210754, 0.45101824402809143, 0.2024509608745575, 0.18078599870204926, 0.11962664127349854, 0.22924253344535828, -0.06149858236312866, -0.23449960350990295, -0.45462968945503235, 0.050456684082746506, -0.17630448937416077, -0.2992592751979828, -0.05982901528477669, -0.6235454678535461, 0.19098201394081116, -0.32577481865882874, -0.1365620344877243, 0.28243690729141235, 0.15544205904006958, -0.9345464110374451, 0.4587511718273163, 0.5103315711021423, 0.8675546646118164, -1.0445796251296997, 0.715861439704895, 0.9783223867416382, -0.7536110877990723, -0.9067355990409851, -0.1153869479894638, -0.3857067823410034, -0.566421627998352, 0.6944058537483215, 0.39345043897628784, 0.165479838848114, -0.2510558068752289, -0.7914745211601257, 0.0846097469329834, 1.3428949117660522, 0.2670431137084961, -0.650751531124115, -0.14453479647636414, 0.32030820846557617, 0.7494860887527466, -0.8115693926811218, 0.3026912212371826, 0.17935214936733246, 0.2700299322605133, 0.20915603637695312, -0.6674776673316956, 0.0616784542798996, -0.35559406876564026, 0.22177442908287048, -0.12183067202568054, -0.7711949348449707, 0.728408694267273, -0.5171961188316345, -0.32503142952919006, 0.4328671097755432, 0.4183639585971832, -0.09438633918762207, 0.5930183529853821, 0.5142533183097839, 0.5869057178497314, 0.2803116738796234, -0.16229411959648132, 1.0850428342819214, -0.09828122705221176, 0.07571649551391602, 1.3574490547180176, -0.27462300658226013, 0.7390905022621155, 0.8601663112640381, -0.076966792345047, 0.41133761405944824, 1.0848801136016846, -0.4338080883026123, 0.7196028232574463, -0.1340923011302948, -0.28242769837379456, -0.16700252890586853, -0.47480764985084534, -0.4870794117450714, 0.17390988767147064, 0.19930556416511536, -0.5160173177719116, -0.2078578770160675, -0.01598672941327095, -0.45717811584472656, 0.40317070484161377, -0.13417309522628784, 1.0633697509765625, 0.18164336681365967, -0.599481463432312, 0.2657637596130371, -0.394324392080307, 0.31363824009895325, -0.34853681921958923, -0.27367696166038513, -0.4659835696220398, -0.09481222182512283, -0.09038465470075607, -1.1995631456375122, 0.17287206649780273, 0.019215673208236694, -0.22327369451522827, -0.01988130249083042, 0.7138497829437256, -0.5693989396095276, -0.42701730132102966, 0.21441172063350677, -0.0019290064228698611, 0.3706776797771454, 0.38740605115890503, -0.5954286456108093, -0.3118800222873688, -0.13250218331813812, 0.1863050013780594, 0.024815155193209648, 0.4974183142185211, -0.14658179879188538, 0.5312438607215881, 0.2596971094608307, 0.28972646594047546, -0.11952970176935196, 0.005124449729919434, 0.876798152923584, -0.4444587230682373, -0.4946215748786926, -0.4173285663127899, 0.32103750109672546, -0.2943897843360901, -0.34081363677978516, 0.08810196071863174, 0.6322927474975586, 0.8716018199920654, -0.3500700294971466, 0.7582303285598755, -0.18946203589439392, 0.21420398354530334, -0.537137508392334, 0.5204839706420898, -0.7138217091560364, 0.03576583415269852, 0.13539162278175354, -0.8593617081642151, 0.05240707844495773, 0.25027430057525635, -0.04351409524679184, -0.36388659477233887, 0.8425086736679077, 0.6504941582679749, -0.2972569763660431, -0.31804153323173523, 0.1303573101758957, 0.23629280924797058, 0.25728902220726013, 0.6981581449508667, 0.8907697796821594, -0.4493444859981537, 0.6816247701644897, -0.33304890990257263, -0.007485504262149334, 0.2331327497959137, -0.8656420111656189, -0.9283040761947632, -1.0051196813583374, -0.5395092368125916, -0.25503164529800415, 0.06882236152887344, 0.2756138741970062, 0.6649640798568726, -0.4845186769962311, -0.14834895730018616, -0.03376869112253189, -0.27423638105392456, 0.022749168798327446, -0.08698305487632751, 0.5551837086677551, -0.203298419713974, -0.7572402954101562, -0.2297394722700119, 0.3347640037536621, 0.2674880027770996, -0.3023328483104706, -0.22761432826519012, 0.10062186419963837, 0.005647681653499603, 0.23024888336658478, 0.1243572011590004, -0.579833984375, -0.15749388933181763, -0.4744025468826294, -0.2953425347805023, 0.19793963432312012, 0.7833799123764038, -0.5271567106246948, 0.6729034781455994, 0.16187319159507751, 0.561090350151062, 0.64236980676651, -0.1948723942041397, 0.3753730058670044, -0.7150551080703735, 0.4413054585456848, -0.08825159817934036, 0.4770868718624115, 0.8450647592544556, -0.26586657762527466, 0.8252353072166443, 0.2646915018558502, -0.1960594207048416, -0.5593708753585815, 0.4645204246044159, -1.3133889436721802, -0.2694087326526642, 1.047402262687683, -0.5563890337944031, -0.23674359917640686, 0.3287164866924286, -0.390753835439682, 0.3753056228160858, 0.023379867896437645, 1.0161161422729492, 0.7238171100616455, 0.47474536299705505, -0.14057837426662445, -0.22034648060798645, 0.26273083686828613, 0.09558325260877609, -0.997682511806488, -0.1812526136636734, 0.7998312711715698, 0.3384550213813782, 0.27147477865219116, 0.41816896200180054, -0.21892699599266052, 0.19744963943958282, 0.27454349398612976, 0.1335786134004593, -0.27435457706451416, -0.21013617515563965, 0.06330487132072449, -0.05704076215624809, 0.10954900830984116, -0.4758862555027008 ]
http://arxiv.org/abs/2404.19737v1
http://arxiv.org/pdf/2404.19737v1
Better & Faster Large Language Models via Multi-token Prediction
2024-04-30T17:33:57
2024-04-30T17:33:57
Fabian Gloeckle, Badr Youbi Idrissi, Baptiste Rozière, David Lopez-Paz, Gabriel Synnaeve
cs.CL
cs.CL
Large language models such as GPT and Llama are trained with a next-token prediction loss. In this work, we suggest that training language models to predict multiple future tokens at once results in higher sample efficiency. More specifically, at each position in the training corpus, we ask the model to predict the following n tokens using n independent output heads, operating on top of a shared model trunk. Considering multi-token prediction as an auxiliary training task, we measure improved downstream capabilities with no overhead in training time for both code and natural language models. The method is increasingly useful for larger model sizes, and keeps its appeal when training for multiple epochs. Gains are especially pronounced on generative benchmarks like coding, where our models consistently outperform strong baselines by several percentage points. Our 13B parameter models solves 12 % more problems on HumanEval and 17 % more on MBPP than comparable next-token models. Experiments on small algorithmic tasks demonstrate that multi-token prediction is favorable for the development of induction heads and algorithmic reasoning capabilities. As an additional benefit, models trained with 4-token prediction are up to 3 times faster at inference, even with large batch sizes.
[ -0.47341352701187134, -0.37009456753730774, 0.5429786443710327, 0.23688319325447083, -0.3636194169521332, 0.2695508897304535, -0.47893160581588745, -0.6841012239456177, 0.05726499482989311, 0.3784639835357666, -0.28507399559020996, -0.24490943551063538, -0.9077372550964355, 0.1916385143995285, -0.2727653682231903, 0.821069061756134, 0.2874380648136139, 0.4267173111438751, 0.03398839384317398, -0.06790709495544434, -0.7431320548057556, -0.9550008773803711, -1.0638726949691772, -0.2884567081928253, 0.7491397857666016, 0.26531657576560974, 0.5313339233398438, 0.7402908802032471, 0.5658340454101562, 0.296565979719162, -0.13504070043563843, 0.03925274685025215, -0.18225477635860443, 0.021922998130321503, 0.2519639730453491, -0.5036314725875854, -0.3290090262889862, -0.1883051097393036, 0.6350236535072327, 0.667980432510376, -0.03514667972922325, 0.12111548334360123, -0.11826231330633163, 0.4317079484462738, -0.34822431206703186, 0.3458120822906494, -1.0129878520965576, -0.03599082678556442, -0.30133357644081116, -0.13364087045192719, -0.5796902775764465, -0.06507031619548798, -0.07429727166891098, -0.42159050703048706, 0.13101264834403992, 0.2751263678073883, 0.4505082070827484, 0.036543022841215134, -0.4422997236251831, 0.10278858244419098, -0.35947564244270325, 0.8293249011039734, -0.8771315217018127, 0.6660773754119873, 0.39841341972351074, 0.4528640806674957, -0.13068075478076935, -0.8989914655685425, -0.7034264206886292, -0.4127565026283264, 0.08408655226230621, -0.2137862890958786, 0.11123760044574738, 0.16941122710704803, 0.2757902145385742, 0.18726807832717896, -0.3019470274448395, 0.42994946241378784, -0.362688809633255, -0.5476848483085632, 0.44144126772880554, 0.09057363122701645, 0.01684527099132538, 0.005903236102312803, -0.1932472437620163, -0.08275003731250763, -0.8109560012817383, -0.20581239461898804, 0.45829159021377563, 0.5939481258392334, 0.045121654868125916, 0.5429131388664246, -0.14618173241615295, 0.637395441532135, -0.08718801289796829, -0.34477663040161133, 0.3369281589984894, -0.5623643398284912, 0.053000591695308685, -0.055317655205726624, 0.49921295046806335, 0.23690906167030334, 0.2607881724834442, -0.22551408410072327, -0.20951487123966217, 0.02664417028427124, 0.005970897153019905, -1.059651494026184, -0.14923594892024994, 0.1314340978860855, -0.5921880006790161, -0.06572682410478592, -0.22794213891029358, -0.5051622986793518, -0.41420823335647583, -0.6625086665153503, 0.10014615207910538, -0.5050649642944336, -0.3144417107105255, 0.10948128998279572, -0.3460265100002289, 0.12391883134841919, 0.3639525771141052, -1.0295326709747314, 0.09885306656360626, 0.9248656034469604, 1.055062174797058, -0.1918177306652069, -0.5294499397277832, -1.0927577018737793, -0.018318455666303635, -0.46536147594451904, 0.9791299700737, -0.7327542304992676, -0.14174075424671173, -0.059306979179382324, -0.17246410250663757, -0.06410792469978333, -0.34118831157684326, 0.45818865299224854, -0.5395470261573792, -0.09829641878604889, -0.3941521644592285, -0.4549003541469574, -0.14098210632801056, 0.1610783487558365, -0.8433435559272766, 0.9537031054496765, -0.0941988155245781, -0.7630556225776672, 0.6749721169471741, -0.7069545984268188, -0.46630215644836426, -0.022901473566889763, 0.0081217922270298, -0.2669241428375244, 0.250440388917923, 0.45018473267555237, 0.8894363045692444, -0.2218637615442276, 0.3560895621776581, -0.5898171663284302, -0.3533073365688324, 0.02441534958779812, -0.4994395077228546, 0.5156936645507812, 0.12728607654571533, -0.24583972990512848, 0.37542805075645447, -0.6521269083023071, 0.010837736539542675, -0.060175154358148575, -0.6462183594703674, -0.1759699136018753, -0.20011283457279205, 0.17430073022842407, 0.3019362688064575, -0.04527418687939644, -0.4558267295360565, 0.26733270287513733, -0.30741986632347107, 0.5866134762763977, 1.1116191148757935, -0.279903382062912, 0.34560921788215637, -0.10800253599882126, 0.5310906171798706, -0.09006723761558533, 0.05160865932703018, -0.31054583191871643, -0.8568047285079956, -0.5937180519104004, -0.4544563293457031, 0.5017375349998474, 0.09515430778265, -0.6225410103797913, 0.2097676396369934, -0.3644103407859802, -0.49602222442626953, -0.3034151792526245, 0.12226055562496185, 0.42131978273391724, 0.21305808424949646, 0.23510943353176117, -0.5074212551116943, -0.8503392934799194, -0.6053942441940308, -0.2086056023836136, -0.30790767073631287, 0.14417417347431183, 0.03153989464044571, 0.5962314009666443, -0.1877412497997284, 0.5819036960601807, -0.2566528022289276, -0.053413309156894684, -0.5662155747413635, 0.21882440149784088, 0.2327011376619339, 0.41429880261421204, 0.4833325445652008, -0.7282990217208862, -0.5045483708381653, 0.06623905897140503, -0.29180431365966797, 0.29563307762145996, 0.021840501576662064, -0.23976148664951324, 0.33294451236724854, 0.5497807860374451, -0.6403253078460693, 0.04811440780758858, 0.7067329287528992, -0.2998957335948944, 0.7477651834487915, -0.14039428532123566, -0.10939615219831467, -1.1902439594268799, 0.02048555575311184, -0.22882205247879028, -0.16296878457069397, -0.6541665196418762, -0.04474003240466118, 0.08878215402364731, -0.07778938114643097, -0.45421332120895386, 0.6956821084022522, -0.5272054672241211, -0.37460869550704956, -0.19338661432266235, -0.30712878704071045, -0.12861044704914093, 0.602552056312561, 0.13299158215522766, 1.2008116245269775, 0.6662148237228394, -0.6355924606323242, 0.17770443856716156, 0.15382973849773407, -0.48305544257164, 0.05533165857195854, -0.5779900550842285, 0.41587716341018677, -0.15061260759830475, 0.47410738468170166, -0.9847211837768555, -0.19976550340652466, -0.29120486974716187, -0.5326229929924011, 0.3548034131526947, 0.010012057609856129, -0.7122830748558044, -0.5437929630279541, -0.35403314232826233, 0.39387252926826477, 0.24168924987316132, -0.7768986821174622, 0.6229013204574585, 0.3361101448535919, -0.21187160909175873, -0.9684113264083862, -0.8201873302459717, 0.20894472301006317, -0.3358241319656372, -0.2981945276260376, 0.3459523022174835, -0.048196155577898026, 0.11872569471597672, -0.16266866028308868, 0.07152130454778671, -0.10707006603479385, 0.12472860515117645, 0.09864293783903122, 0.17435584962368011, -0.19489508867263794, 0.47327473759651184, -0.1266465187072754, -0.2848305404186249, -0.2132653146982193, -0.6638203859329224, 1.061277985572815, -0.19482354819774628, -0.36971282958984375, -0.3520418405532837, 0.31266820430755615, 0.5849080085754395, -0.5986779928207397, 1.0516009330749512, 0.8623170852661133, -0.38197118043899536, 0.28273865580558777, -0.7760310769081116, -0.19456470012664795, -0.4058966636657715, 0.654150128364563, -0.5241526961326599, -0.8910137414932251, 0.6760765910148621, 0.2068355679512024, 0.15116353332996368, 0.5064036250114441, 0.7971246838569641, 0.5260588526725769, 1.2631869316101074, 0.9089259505271912, -0.476647287607193, 0.6850281953811646, -0.3544703423976898, 0.2973821461200714, -0.7877748012542725, -0.31421247124671936, -0.6393157839775085, 0.022019607946276665, -0.4425382614135742, -0.6749832630157471, 0.14595387876033783, 0.08679317682981491, -0.3496670722961426, 0.42891332507133484, -0.2802045941352844, 0.47386011481285095, 0.8380767107009888, -0.20491322875022888, 0.373410165309906, 0.045443445444107056, -0.34476155042648315, 0.2641598582267761, -0.7258599400520325, -0.3225025236606598, 1.6670562028884888, 0.37953275442123413, 0.3971938490867615, -0.0574527233839035, 0.6785218119621277, 0.019861282780766487, 0.6706202030181885, -0.7589183449745178, 0.32943323254585266, -0.10713711380958557, -0.7775983214378357, -0.2754093110561371, -0.3786236047744751, -0.7800469994544983, 0.3788132667541504, -0.1972491592168808, -0.6507472395896912, -0.10528941452503204, 0.20425568521022797, -0.4510355591773987, 0.5343995094299316, -0.8438270092010498, 0.7407553195953369, -0.18707393109798431, -0.0664215236902237, -0.40557417273521423, -0.6296745538711548, 0.352498322725296, -0.3076808750629425, 0.12487141042947769, -0.3514114320278168, -0.10804331302642822, 0.7372869253158569, -0.28423309326171875, 0.7282763123512268, -0.2467646598815918, 0.09582436829805374, 0.2655002772808075, -0.35350537300109863, 0.5194174647331238, -0.06174435093998909, -0.4346606731414795, 0.43400973081588745, -0.20839861035346985, -0.36636751890182495, -0.28586944937705994, 0.49295127391815186, -0.620988130569458, -0.3528483808040619, -0.09582459926605225, -0.44396811723709106, -0.25065383315086365, 0.2669876217842102, 0.22109301388263702, 0.6656473278999329, 0.2430744469165802, 0.30594027042388916, 0.09164723008871078, -0.18344812095165253, 0.7058711051940918, 0.06847523152828217, -0.07744276523590088, -0.47828251123428345, 0.6473273634910583, 0.03972148895263672, 0.3566264510154724, 0.4397779405117035, 0.34058088064193726, -0.7733517289161682, -0.8361856341362, -0.5609784126281738, 0.16988436877727509, -0.8476725816726685, -0.5748718976974487, -0.864810585975647, 0.09105886518955231, -0.6573457717895508, 0.17747804522514343, -0.35325777530670166, -0.5432481169700623, 0.10932224988937378, -0.30504465103149414, 0.4563371241092682, 0.5316122174263, -0.08539757132530212, 0.5776873826980591, -0.8173746466636658, 0.17478196322917938, 0.21608342230319977, 0.5545596480369568, 0.31719622015953064, -0.5367370247840881, -0.34627407789230347, -0.23519954085350037, -0.1998484581708908, -0.6614794731140137, 0.3807116150856018, 0.37051698565483093, 0.6104196906089783, 0.37449049949645996, -0.36456188559532166, 0.9463495016098022, -0.7729724645614624, 0.6988567113876343, 0.5343182682991028, -0.9367163181304932, 0.03994440659880638, -0.19398175179958344, 0.1212155669927597, 0.4203353226184845, 0.19702959060668945, -0.6847249269485474, -0.3459652364253998, -0.40477123856544495, -0.7266817092895508, 0.5487406849861145, -0.15048186480998993, 0.3057922124862671, -0.205648273229599, 0.21416395902633667, 0.5310533046722412, 0.4150243401527405, -0.7255416512489319, -0.016965409740805626, -0.05048836022615433, -0.07314064353704453, -0.37290024757385254, -0.27061736583709717, 0.38623329997062683, -0.39591124653816223, 0.6277410984039307, -0.4973633885383606, 0.679095447063446, -0.26727572083473206, 0.17814959585666656, 0.016904687508940697, 0.06461473554372787, 0.4456091821193695, 0.7599486708641052, 0.1171002984046936, 0.11943943053483963, 0.4557133615016937, -0.31762903928756714, 0.04101508483290672, 0.12341149896383286, 0.47672781348228455, -0.007153226528316736, 0.5823952555656433, 0.9708216190338135, -0.010630670003592968, -0.7263526320457458, 0.45082250237464905, -0.1438894122838974, -0.02923799492418766, -0.4104304313659668, -0.2890651524066925, 0.21569937467575073, 0.27936339378356934, 0.37192296981811523, 0.22108261287212372, 0.1528649628162384, -0.6506099700927734, 0.2428288459777832, 0.5394402146339417, 0.07136012613773346, -0.20263278484344482, 0.8087601661682129, 0.029383666813373566, -0.10111823678016663, 0.569646954536438, -0.23039157688617706, -0.7247450947761536, 0.7369329333305359, 0.6521320939064026, 0.7375932931900024, -0.20181050896644592, -0.009136390872299671, 0.42122888565063477, 0.016239965334534645, -0.4198633134365082, 0.0037448471412062645, 0.04185604304075241, -0.7492928504943848, -1.1569817066192627, -0.8018143773078918, -0.38921934366226196, 0.2438182830810547, -0.2695118486881256, 0.3148662745952606, -0.40946295857429504, -0.32606643438339233, 0.11243896931409836, 0.1210750862956047, -0.8856667280197144, -0.021981131285429, 0.259122371673584, 0.965766966342926, -0.6995234489440918, 1.0643728971481323, 0.5176065564155579, -0.31075721979141235, -1.1208747625350952, -0.15838588774204254, -0.26607638597488403, -1.0023571252822876, 0.8343357443809509, 0.8363810777664185, 0.05392467975616455, -0.12034190446138382, -0.3328877389431, -1.1946582794189453, 0.9009097218513489, 0.6034129858016968, -0.5691676139831543, -0.10649629682302475, -0.10980082303285599, 0.36369243264198303, -0.4532569944858551, 0.35169506072998047, 0.6216315627098083, 0.46772176027297974, 0.032393112778663635, -1.056644320487976, -0.07056793570518494, -0.0812094584107399, 0.20995819568634033, 0.3451312482357025, -0.4310240149497986, 1.0827031135559082, -0.4902040660381317, -0.006000516004860401, 0.2445055991411209, 0.8544132113456726, 0.24271400272846222, 0.1826142966747284, 0.6129388213157654, 0.3623195290565491, 0.9382992386817932, -0.03864576295018196, 1.3558049201965332, -0.39608368277549744, 0.09331359714269638, 0.8585723638534546, -0.035799965262413025, 1.0665853023529053, 0.46841099858283997, -0.1185687780380249, 0.4209883213043213, 0.7377297878265381, 0.20657287538051605, 0.5126895904541016, 0.27291053533554077, -0.17220060527324677, -0.33466795086860657, -0.10396397858858109, -0.4735538065433502, 0.5651617646217346, 0.06380214542150497, -0.13686418533325195, 0.1320730745792389, 0.22562824189662933, 0.030322281643748283, -0.2279433012008667, -0.399745911359787, 0.5522637963294983, -0.08342214673757553, -0.8373279571533203, 0.5417085289955139, 0.2902699112892151, 0.943788468837738, -0.4302581250667572, 0.01847226172685623, -0.22309786081314087, 0.3353479206562042, 0.06655305624008179, -0.3398294150829315, 0.2361876368522644, -0.00033931140205822885, 0.10832608491182327, -0.16445426642894745, 0.6988610625267029, -0.3102625012397766, -0.6196925640106201, 0.30496034026145935, 0.47952476143836975, 0.18727737665176392, -0.3953638970851898, -0.5677308440208435, -0.0200693067163229, -0.20588171482086182, -0.20687367022037506, 0.32056599855422974, 0.2954988479614258, -0.19240789115428925, 0.8449434638023376, 1.0156655311584473, 0.2630625367164612, 0.5062795877456665, 0.29175227880477905, 0.9215264916419983, -0.578676164150238, -0.5396947264671326, -0.9320416450500488, 0.27651792764663696, -0.13142740726470947, -0.3344353139400482, 0.4116167426109314, 0.6107723712921143, 0.9295607209205627, -0.09767724573612213, 0.750307023525238, 0.08679899573326111, 0.5143766403198242, -0.641964852809906, 0.324843168258667, -0.4525955617427826, 0.024021293967962265, -0.06491713225841522, -0.9619963765144348, -0.43483394384384155, 0.48272237181663513, -0.19809353351593018, 0.18504062294960022, 0.8081510066986084, 0.5838855504989624, 0.06643509864807129, -0.10315407067537308, 0.23654811084270477, -0.19014394283294678, 0.5497173070907593, 0.5728212594985962, 0.800563395023346, -0.18786948919296265, 0.6553959250450134, -0.3000677525997162, 0.10744071751832962, -0.24448423087596893, -0.9433906674385071, -1.0582109689712524, -0.5269527435302734, 0.06171274930238724, -0.02800251729786396, 0.015234814025461674, 1.0205079317092896, 1.0642811059951782, -0.7953733205795288, -0.045513685792684555, -0.2850453853607178, -0.05009680613875389, -0.41943928599357605, -0.12599211931228638, 0.3893669545650482, -0.6795479655265808, -0.8702423572540283, 0.2539617419242859, 0.10836257040500641, -0.04808497801423073, -0.18866528570652008, -0.19880981743335724, 0.018424946814775467, -0.08368504792451859, 0.78817218542099, -0.11411386728286743, -0.7147532105445862, -0.40813109278678894, -0.03369038179516792, 0.10392516851425171, 0.033672694116830826, 1.0141299962997437, -0.7538050413131714, 0.1807062327861786, 0.35403355956077576, 1.0117230415344238, 0.5542188286781311, -0.12655752897262573, 0.7404316663742065, -0.748709499835968, 0.43764206767082214, 0.15419870615005493, 0.5847939848899841, 0.5231195092201233, -0.27620789408683777, 0.5017511248588562, 0.0951819121837616, -0.3324214220046997, -0.8293464183807373, 0.11949455738067627, -0.6486395597457886, -0.11040325462818146, 1.2279105186462402, -0.14308872818946838, 0.0332384929060936, -0.03244848549365997, -0.27037858963012695, 0.4310515820980072, -0.5500571727752686, 0.5595223903656006, 0.715894877910614, -0.08200382441282272, -0.06039374694228172, -0.80955570936203, 0.40297648310661316, 0.5974562168121338, -0.8280215263366699, 0.20825357735157013, 0.4014463424682617, 0.0750560611486435, 0.11031006276607513, 0.8525537848472595, -0.09933806955814362, 0.1377808153629303, 0.1268397718667984, 0.03996063023805618, -0.32591181993484497, -0.6754546761512756, -0.24788719415664673, 0.15467846393585205, 0.47375884652137756, -0.23554769158363342 ]
http://arxiv.org/abs/2404.19733v3
http://arxiv.org/pdf/2404.19733v3
Iterative Reasoning Preference Optimization
2024-04-30T17:28:05
2024-06-26T01:28:35
Richard Yuanzhe Pang, Weizhe Yuan, Kyunghyun Cho, He He, Sainbayar Sukhbaatar, Jason Weston
cs.CL
cs.CL, cs.AI
Iterative preference optimization methods have recently been shown to perform well for general instruction tuning tasks, but typically make little improvement on reasoning tasks (Yuan et al., 2024, Chen et al., 2024). In this work we develop an iterative approach that optimizes the preference between competing generated Chain-of-Thought (CoT) candidates by optimizing for winning vs. losing reasoning steps that lead to the correct answer. We train using a modified DPO loss (Rafailov et al., 2023) with an additional negative log-likelihood term, which we find to be crucial. We show reasoning improves across repeated iterations of this scheme. While only relying on examples in the training set, our approach results in increasing accuracy on GSM8K, MATH, and ARC-Challenge for Llama-2-70B-Chat, outperforming other Llama-2-based models not relying on additionally sourced datasets. For example, we see a large improvement from 55.6% to 81.6% on GSM8K and an accuracy of 88.7% with majority voting out of 32 samples.
[ -0.43377652764320374, -0.5418186187744141, 0.8600982427597046, 0.120213083922863, -0.573789656162262, 0.2876023054122925, -0.4312235713005066, -0.07128443568944931, -0.0004690154455602169, 0.39386722445487976, -0.6480262875556946, -0.5508554577827454, -0.8582364916801453, 0.013323083519935608, -0.036934543401002884, 0.8021799325942993, -0.36910954117774963, 0.007929296232759953, -0.17777089774608612, 0.028418099507689476, -0.6450544595718384, -0.5787405967712402, -0.7216663956642151, -0.5879039764404297, 0.4165056049823761, 0.8069639205932617, 0.45443034172058105, 0.5368992686271667, 0.19763734936714172, 0.2621282935142517, -0.2715156376361847, 0.6069356203079224, -0.7881830930709839, 0.053725071251392365, -0.4362317621707916, -0.6563593149185181, -0.2056499570608139, 0.11515262722969055, 0.1415547877550125, 0.3464750349521637, -0.4487053453922272, 0.2807358503341675, -0.2870069146156311, 1.1160354614257812, -0.7785054445266724, -0.17565518617630005, -1.1657524108886719, 0.04096302390098572, -0.18426761031150818, -0.8029590845108032, -0.784855306148529, -0.5533985495567322, 0.08659565448760986, -0.6212846040725708, 0.12285345047712326, 0.36390599608421326, 0.6958822011947632, 0.46153950691223145, -0.3763717710971832, -0.5106146335601807, -0.5546403527259827, 1.040475845336914, -0.49178141355514526, 0.19971951842308044, 0.4909740388393402, 0.12330804020166397, -0.3488086760044098, -0.2270309180021286, -0.5019893050193787, -0.2987918555736542, 0.35259321331977844, 0.2692054510116577, 0.02603667415678501, 0.26050764322280884, 0.09380973130464554, 0.4370151162147522, -0.23969286680221558, 0.10531729459762573, -0.38343873620033264, -0.034090809524059296, 0.7819398641586304, 0.11917291581630707, -0.21890226006507874, 0.23889784514904022, -0.3224743604660034, -0.2505766749382019, -0.7148734927177429, 0.2039937973022461, 0.5745523571968079, 0.0182050634175539, 0.3244425356388092, 0.6648598909378052, -0.26412996649742126, 0.9608573913574219, 0.5477836728096008, -0.32667121291160583, 0.13104841113090515, -0.04338609799742699, -0.05848756805062294, 0.29500988125801086, 0.3711094558238983, 0.5571356415748596, 0.32326996326446533, -0.01081613078713417, 0.10369745641946793, 0.22976964712142944, 0.3388010561466217, -0.40854766964912415, -0.2375359684228897, 0.329000860452652, -0.3132742643356323, -0.3637026250362396, -0.24916909635066986, -0.31248950958251953, -0.22204488515853882, -0.5832127332687378, 0.32680216431617737, -0.2873382270336151, -0.1818917989730835, 0.5181946754455566, -0.22086934745311737, 0.2929764986038208, 0.5299265384674072, -0.9842633605003357, 0.13240846991539001, 0.6382022500038147, 0.6112635731697083, -0.3982102572917938, -0.0023011493030935526, -0.6423199772834778, -0.00831932295113802, -0.749116063117981, 0.9479477405548096, -0.6518124341964722, -0.5353567004203796, -0.4558491110801697, -0.48012879490852356, -0.4923003911972046, -0.6322399973869324, 0.6191524863243103, -0.6214314699172974, 0.1234203651547432, -0.5363786816596985, -0.760117769241333, -0.04144074767827988, 0.5397547483444214, -0.44989013671875, 1.035412311553955, -0.1766156703233719, -0.6006876826286316, 0.43633562326431274, -0.44147711992263794, -0.150855153799057, -0.5048715472221375, -0.18718953430652618, -0.43276822566986084, 0.2098827213048935, 0.29813823103904724, 0.05063706636428833, -0.44808945059776306, 0.08489379286766052, -0.29385191202163696, -0.7286026477813721, 0.02389402687549591, -0.056134723126888275, 0.7088647484779358, 0.04125859588384628, -0.7186968326568604, 0.105997733771801, -0.5260471105575562, 0.4744229316711426, 0.21701791882514954, -0.351546972990036, -0.1878848671913147, 0.21608082950115204, -0.8733190894126892, 0.09156059473752975, -0.0610618069767952, -0.5855004191398621, 0.5094562768936157, -0.2641146183013916, 0.15740150213241577, 1.2718578577041626, -0.03316209465265274, 0.4049037992954254, -0.274300754070282, 0.35240694880485535, 0.16599631309509277, 0.33107858896255493, 0.5027331709861755, -0.6836696863174438, -1.0059324502944946, 0.025085149332880974, 0.16946952044963837, 0.4488411545753479, -0.8767291307449341, 0.31905093789100647, 0.13966281712055206, -0.3735523223876953, -0.5718353986740112, 0.14420001208782196, 0.28299885988235474, 0.5866344571113586, 0.3545466363430023, -0.08743640035390854, -0.47341403365135193, -0.6118414402008057, -0.07283425331115723, -0.3394045829772949, 0.34667035937309265, 0.5130178332328796, 0.15213525295257568, -0.13879884779453278, 0.5148046612739563, -0.5739530920982361, -0.020211447030305862, -0.23214617371559143, -0.11908689141273499, 0.2790912687778473, 0.17227905988693237, 0.4520491659641266, -0.6114581823348999, -0.43073657155036926, 0.15033206343650818, -0.44985151290893555, 0.09389329701662064, -0.056359872221946716, -0.5095119476318359, 0.30807533860206604, -0.08510228246450424, -0.2078772783279419, 0.5794953107833862, 0.4715818762779236, -0.17549335956573486, 0.4224267601966858, -0.08343241363763809, 0.3720431327819824, -0.6792128086090088, -0.21339614689350128, -0.24740202724933624, 0.025756187736988068, -0.21516822278499603, -0.2462569624185562, -0.18673525750637054, 0.20196248590946198, -0.0673573687672615, 0.3494519591331482, -0.22612032294273376, -0.14129385352134705, -0.30876055359840393, 0.37342125177383423, 0.046117618680000305, 0.6511802673339844, 0.3092714846134186, 0.9827762246131897, 0.4531632959842682, -0.7468637228012085, 0.29553401470184326, 0.38639649748802185, -0.29215115308761597, 0.28822922706604004, -0.5443995594978333, 0.8075195550918579, -0.07685548812150955, 0.23203149437904358, -0.8605596423149109, 0.2646067440509796, 0.2901715636253357, -0.41403084993362427, -0.011588061228394508, 0.11773687601089478, -0.111618272960186, -0.5503869652748108, -0.4956701099872589, 0.31137439608573914, 0.3280302882194519, -1.029105305671692, 0.31420382857322693, 0.05132313445210457, 0.27841266989707947, -0.9774773120880127, -0.07279834896326065, -0.06827888637781143, -0.10687636584043503, -0.42381852865219116, 0.4381422698497772, -0.20509713888168335, -0.24978290498256683, -0.2420036792755127, -0.5109646320343018, 0.19517529010772705, -0.050366245210170746, -0.11955070495605469, 0.2943350672721863, 0.009934880770742893, 0.2761586606502533, 0.26131588220596313, -0.4748390316963196, -0.22776108980178833, -0.4039885997772217, 0.630366325378418, -0.3031870126724243, -0.3617372512817383, -0.32529139518737793, 0.49831563234329224, 0.1300039291381836, -0.11892437934875488, 0.5493950843811035, 0.2021787017583847, 0.18743814527988434, -0.41450709104537964, -0.6855350732803345, -0.06846236437559128, -0.4936697483062744, -0.04492025077342987, -0.6578181385993958, -0.7948511242866516, 0.2467288225889206, -0.2141786366701126, 0.06880801916122437, 0.29597240686416626, 0.6324213743209839, -0.11561264097690582, 1.2050590515136719, 0.5812305212020874, -0.0837387815117836, 0.3665722608566284, -0.42359599471092224, 0.4037002921104431, -0.8487178683280945, -0.2697388827800751, -0.3420712649822235, -0.2102774679660797, -0.6129739880561829, -0.42800644040107727, 0.35627326369285583, 0.07124852389097214, -0.4451192319393158, 0.2532201409339905, -0.9522794485092163, 0.6778671741485596, 0.9121581315994263, 0.5900059342384338, 0.42226317524909973, 0.02801489643752575, -0.21662969887256622, 0.17602139711380005, -0.7948052287101746, -0.575221061706543, 1.2455660104751587, -0.03333888575434685, 0.8447217345237732, -0.013495315797626972, 1.0814714431762695, 0.27944427728652954, 0.14020290970802307, -0.8420174717903137, 0.467338502407074, -0.15132813155651093, -0.3562523126602173, -0.03790641948580742, -0.37363505363464355, -0.640545129776001, -0.0473361499607563, 0.10057558119297028, -0.9136175513267517, 0.22591370344161987, 0.5244918465614319, -0.17117559909820557, 0.4706058204174042, -0.5463630557060242, 0.36051279306411743, -0.42704692482948303, -0.4097540080547333, -0.5780972242355347, -0.6144939661026001, 0.25856947898864746, 0.2642621099948883, -0.49760136008262634, -0.20796923339366913, 0.01205354928970337, 0.6210300922393799, -0.4265371263027191, 0.3391103148460388, -0.0294047798961401, -0.16264677047729492, 0.6623155474662781, -0.13049809634685516, 0.5818210244178772, 0.0568205900490284, -0.5719103217124939, 0.16934765875339508, -0.18238836526870728, -0.5040985941886902, -0.628422200679779, 0.6108906865119934, -0.9515385031700134, -1.0775257349014282, -0.42826715111732483, -0.238342747092247, -0.3144034445285797, -0.23341988027095795, 0.5416291356086731, 0.34418728947639465, 0.2665635645389557, 0.0797356441617012, 0.8385883569717407, -0.013758735731244087, 0.20837737619876862, -0.017963841557502747, 0.18485639989376068, -0.5529847145080566, 0.7133695483207703, -0.20071713626384735, 0.618340253829956, 0.38091936707496643, 0.40327417850494385, -0.41441792249679565, -0.5424384474754333, -0.8599289655685425, 0.08883848041296005, -0.9564656019210815, -0.25577718019485474, -0.3356163203716278, -0.002190053230151534, 0.22453750669956207, -0.39389845728874207, -0.5378608703613281, -0.4937986135482788, -0.21087537705898285, -0.20293453335762024, 0.31348931789398193, 0.48374882340431213, 0.13835714757442474, 0.21152953803539276, -0.11287272721529007, 0.24908801913261414, 0.4560433328151703, 0.4171423017978668, 0.03366311639547348, -0.42558375000953674, 0.06780596077442169, 0.08537231385707855, -0.5889744758605957, -0.7895377278327942, -0.08759459853172302, 0.07233088463544846, 0.717795193195343, 0.29820558428764343, 0.18729163706302643, 0.9828260540962219, -0.11867071688175201, 0.6906844973564148, 0.1553405225276947, -0.9832064509391785, 0.8563604354858398, -0.011519473046064377, 0.056151945143938065, 0.8471930623054504, 0.27559536695480347, -0.003106997348368168, -0.04700486361980438, -0.6842989921569824, -0.5793520212173462, 0.6165900230407715, 0.30841290950775146, -0.13330410420894623, -0.20987625420093536, 0.5276331901550293, 0.13257966935634613, 0.36258429288864136, -0.36981359124183655, -0.34873709082603455, -0.22689741849899292, 0.0029053427278995514, 0.27727943658828735, -0.23187436163425446, -0.262871116399765, -0.4355259835720062, 1.0030514001846313, -0.40043798089027405, 0.47980788350105286, 0.2620994746685028, 0.15087255835533142, -0.18421119451522827, 0.13728462159633636, 0.6623090505599976, 0.6943044066429138, -0.2564985752105713, 0.07208952307701111, 0.2682032585144043, -0.25270751118659973, 0.4429207742214203, -0.39334529638290405, -0.017250075936317444, -0.07293573021888733, 0.012306136079132557, 1.0617141723632812, -0.08109607547521591, -0.5492634773254395, 0.3383959233760834, -0.16825178265571594, -0.3368932008743286, -0.037677913904190063, 0.3380480408668518, -0.06913495063781738, 0.1883440613746643, 0.25712448358535767, 0.3004312515258789, 0.21433374285697937, -0.447280615568161, -0.05544249713420868, 0.29476580023765564, -0.06348121911287308, 0.08603938668966293, 0.38006463646888733, 0.30200931429862976, -0.25757792592048645, 0.5272802114486694, -0.2346573919057846, -0.7186018228530884, 0.7574946284294128, 0.697513222694397, 0.8703126907348633, -0.024734321981668472, 0.3692174255847931, 0.6793031692504883, 0.13239464163780212, -0.3337991237640381, 0.32805001735687256, -0.5589333772659302, -0.9180724620819092, -0.3511233329772949, -0.20975852012634277, -0.9018259644508362, -0.2044246941804886, -0.7044028639793396, 0.32658350467681885, -0.6104650497436523, -0.2433418333530426, -0.24881325662136078, 0.2575397491455078, -0.6148271560668945, 0.2878018319606781, 0.05853687599301338, 0.7220991253852844, -0.3293852210044861, 0.7361083626747131, 0.4914366900920868, 0.06225581094622612, -0.9456285238265991, 0.002782996278256178, -0.0685170441865921, -1.0699098110198975, 0.4646865129470825, 0.21234141290187836, -0.6094930171966553, 0.0029344584327191114, -0.4646424651145935, -0.9781519770622253, 1.1087018251419067, 0.4196400046348572, -0.8964548707008362, 0.14155009388923645, -0.07876621931791306, 0.2222583144903183, -0.5222756266593933, 0.3668307363986969, 0.8190470933914185, 0.20962414145469666, 0.5641559958457947, -0.9140483736991882, -0.26089707016944885, -0.2649646997451782, 0.05535042658448219, 0.20455381274223328, -0.939021110534668, 0.6417126655578613, -0.7067186832427979, 0.07068983465433121, -0.04644177109003067, 0.27459466457366943, 0.7893653512001038, 0.565565288066864, 0.6642448902130127, 0.5192312598228455, 1.0154368877410889, -0.15309083461761475, 0.9178637862205505, -0.11491667479276657, 0.34556856751441956, 1.2256089448928833, -0.3331684470176697, 0.6464183926582336, 0.584938108921051, -0.19597359001636505, 0.8032236099243164, 1.0189090967178345, 0.4091126620769501, 0.6689492464065552, 0.33803585171699524, -0.33778810501098633, -0.6255045533180237, 0.08164991438388824, -0.27781203389167786, 0.6114072203636169, 0.19619214534759521, -0.24196772277355194, 0.011692401021718979, -0.19385898113250732, -0.038259584456682205, 0.2444860339164734, -0.36862245202064514, 0.9042375683784485, -0.029077624902129173, -0.9447081089019775, 1.0025266408920288, -0.2246202826499939, 0.4237724840641022, -0.38678663969039917, -0.021576782688498497, -0.24500271677970886, 0.3877670466899872, -0.03500271961092949, -0.6108940839767456, 0.09977163374423981, -0.012363345362246037, -0.1657480150461197, -0.008055519312620163, 0.6557309627532959, -0.22818391025066376, -0.31762534379959106, 0.3153848350048065, 0.2357630729675293, -0.17749153077602386, 0.14433106780052185, -0.7390993237495422, 0.333244264125824, 0.3307516872882843, -0.3844408392906189, 0.041546449065208435, 0.09474016726016998, -0.2112591564655304, 0.8489853739738464, 0.43554940819740295, -0.06117798015475273, -0.0779920369386673, 0.09183548390865326, 1.1798053979873657, -0.6760551929473877, -0.41304725408554077, -0.8555709719657898, 0.3462139666080475, -0.5677602291107178, -0.6362718343734741, 0.4584744870662689, 0.47530150413513184, 0.8970577120780945, 0.024814030155539513, 0.6977052688598633, 0.06213963031768799, 0.20028477907180786, -0.6190188527107239, -0.1336074024438858, -0.3499418795108795, 0.4271133840084076, -0.22341322898864746, -0.8520259261131287, 0.12100609391927719, 0.8197489380836487, -0.6206756830215454, -0.09076542407274246, 0.7488206028938293, 0.5862334370613098, 0.283759206533432, 0.2638631761074066, 0.15214170515537262, -0.4057351052761078, 0.3083191514015198, 1.0120105743408203, 0.7828269004821777, -0.5250582695007324, 0.3785640001296997, -0.4787186086177826, -0.3967756927013397, -0.1982698291540146, -0.913554310798645, -1.0664372444152832, -0.38001102209091187, -0.33687517046928406, -0.21593736112117767, 0.33391302824020386, 1.1125801801681519, 0.6377674341201782, -0.6844656467437744, -0.22670575976371765, -0.23995478451251984, 0.43322405219078064, -0.4115232527256012, -0.1040913462638855, 0.28622889518737793, -0.47398802638053894, -0.5427526235580444, 0.2627894878387451, 0.33674919605255127, -0.2128562182188034, 0.14995914697647095, -0.2164696305990219, -0.22497926652431488, 0.3314071297645569, 0.7132049202919006, 0.10810694843530655, -0.8955821394920349, -0.6034196019172668, 0.3840771019458771, 0.2391117960214615, 0.19445239007472992, 0.8055564165115356, -0.7534658312797546, 0.7586116194725037, 0.3148115873336792, 0.5771206021308899, 0.9353168606758118, 0.26458048820495605, 0.66576087474823, -0.4787152409553528, 0.1415436863899231, 0.2819371521472931, 0.10966680198907852, 0.2907278835773468, -0.4957899749279022, 0.8456587791442871, 0.186067596077919, -0.7309484481811523, -0.6439546942710876, 0.1466423124074936, -1.1844288110733032, -0.08504883199930191, 1.1711052656173706, 0.07708306610584259, -0.12001077085733414, 0.13714756071567535, -0.7196135520935059, 0.08314929902553558, -0.5254508852958679, 1.2715494632720947, 0.5521740317344666, -0.5672734975814819, -0.21266154944896698, -0.031861044466495514, 0.5839524269104004, 0.602581262588501, -0.8009368181228638, -0.12582586705684662, 0.1110311970114708, 0.13134539127349854, -0.004174902569502592, 0.9395486116409302, 0.11184011399745941, 0.49325308203697205, -0.012811320833861828, -0.2494688779115677, 0.025110632181167603, -0.40396741032600403, 0.2123485952615738, -0.13607659935951233, 0.3029531240463257, -0.4717394709587097 ]
http://arxiv.org/abs/2404.19721v2
http://arxiv.org/pdf/2404.19721v2
PANGeA: Procedural Artificial Narrative using Generative AI for Turn-Based Video Games
2024-04-30T17:11:54
2024-06-30T20:54:57
Steph Buongiorno, Lawrence Jake Klinkert, Tanishq Chawla, Zixin Zhuang, Corey Clark
cs.AI
cs.AI, cs.CL
This research introduces Procedural Artificial Narrative using Generative AI (PANGeA), a structured approach for leveraging large language models (LLMs), guided by a game designer's high-level criteria, to generate narrative content for turn-based role-playing video games (RPGs). Distinct from prior applications of LLMs used for video game design, PANGeA innovates by not only generating game level data (which includes, but is not limited to, setting, key items, and non-playable characters (NPCs)), but by also fostering dynamic, free-form interactions between the player and the environment that align with the procedural game narrative. The NPCs generated by PANGeA are personality-biased and express traits from the Big 5 Personality Model in their generated responses. PANGeA addresses challenges behind ingesting free-form text input, which can prompt LLM responses beyond the scope of the game narrative. A novel validation system that uses the LLM's intelligence evaluates text input and aligns generated responses with the unfolding narrative. Making these interactions possible, PANGeA is supported by a server that hosts a custom memory system that supplies context for augmenting generated responses thus aligning them with the procedural narrative. For its broad application, the server has a REST interface enabling any game engine to integrate directly with PANGeA, as well as an LLM interface adaptable with local or private LLMs. PANGeA's ability to foster dynamic narrative generation by aligning responses with the procedural narrative is demonstrated through an empirical study and ablation test of two versions of a demo game. These are, a custom, browser-based GPT and a Unity demo. As the results show, PANGeA holds potential to assist game designers in using LLMs to generate narrative-consistent content even when provided varied and unpredictable, free-form text input.
[ -0.42876148223876953, -0.8868707418441772, 0.8815032243728638, 0.4595990777015686, -0.4914633333683014, 0.374447762966156, -0.1849316656589508, -0.5312322974205017, 0.4811827540397644, 0.6863237023353577, -0.8288272023200989, -0.7800363898277283, -0.2858045995235443, 0.3583013415336609, -0.40022018551826477, 0.7388259172439575, -0.07616637647151947, -0.2679738998413086, -0.19964295625686646, -0.008348414674401283, -0.3976733684539795, -0.39623889327049255, -0.6903671026229858, -0.30724793672561646, 0.28046202659606934, 0.041956931352615356, 0.5901488661766052, 1.0526167154312134, 0.4305761456489563, 0.42211440205574036, 0.1133442372083664, 0.4643174409866333, -0.6487016677856445, 0.24773424863815308, -0.07973159104585648, -0.6060522198677063, -0.2071782648563385, -0.14481115341186523, 0.20139016211032867, 0.011941428296267986, -0.09118712693452835, 0.26042670011520386, -0.26029065251350403, 0.25968706607818604, -0.21453240513801575, 0.23408927023410797, -0.3739332854747772, 0.2686058580875397, -0.1408454030752182, -0.29435884952545166, -0.36410799622535706, -0.6200293898582458, 0.2317306101322174, -1.1125537157058716, 0.28912103176116943, -0.013554589822888374, 0.5668613910675049, 0.5115680694580078, -0.08511308580636978, -0.8276166915893555, -0.9899073839187622, 0.4304403066635132, -1.0211725234985352, -0.14373734593391418, 0.04439200833439827, 0.1596994549036026, -0.2132180780172348, -0.5480719208717346, -0.7295358180999756, -0.4343177080154419, 0.357022225856781, 0.40558508038520813, 0.12523232400417328, 0.2637869417667389, 0.0416635163128376, 0.4810463488101959, -0.5879082083702087, 0.5155524015426636, -0.21104253828525543, -0.08280155062675476, 0.8943561315536499, 0.5226978063583374, 0.5973575711250305, -0.2118123322725296, -0.4004021883010864, -0.10829330235719681, -0.9181095957756042, 0.23842500150203705, 0.6380776166915894, 0.2832706868648529, -0.24868059158325195, 0.6927939653396606, 0.17309723794460297, 0.468791127204895, 0.18826864659786224, -0.3223799169063568, -0.15781421959400177, -0.24762457609176636, -0.032137252390384674, 0.36206817626953125, 0.9286088943481445, 0.6297175884246826, 0.03389771282672882, -0.2274424433708191, -0.07046864181756973, 0.60189288854599, 0.47678929567337036, -0.8387695550918579, -0.12201039493083954, 0.4337010979652405, -0.5207288861274719, -0.5682193636894226, 0.06687941402196884, -1.2380903959274292, -0.9575092792510986, -0.08838574588298798, -0.2860221564769745, -0.4516843259334564, -0.14371246099472046, -0.29397302865982056, -0.2512608468532562, 0.22501912713050842, 0.17933975160121918, -1.0381799936294556, 0.1699358969926834, 0.7557061910629272, 0.9889650940895081, -0.5426766276359558, -0.2332639992237091, -0.33575981855392456, 0.38664376735687256, -0.4745107591152191, 0.8700916767120361, -0.5864740610122681, -0.8677235841751099, 0.3086349070072174, -0.18361817300319672, 0.436554491519928, -0.7675428986549377, 0.201017364859581, -0.2320612370967865, -0.06369681656360626, -0.10354213416576385, -0.4332328140735626, -0.14082646369934082, 0.36945608258247375, -0.6656888127326965, 0.6722785830497742, -0.023364899680018425, -0.0377456359565258, 0.5290282368659973, -0.6514106392860413, -0.40079042315483093, 0.4181234836578369, -0.27411478757858276, -0.10693702101707458, 0.3726893961429596, 0.1300932914018631, -0.22152025997638702, -0.4712725877761841, 0.2475983202457428, -0.17720282077789307, -0.4067552387714386, 0.21386370062828064, -0.2682918310165405, 0.29598140716552734, -0.0598662905395031, -0.47105538845062256, 0.45442670583724976, -0.7595969438552856, -0.06667974591255188, 0.18466930091381073, -0.3729855716228485, -0.01210431382060051, 0.43928998708724976, -0.37374669313430786, 0.24440965056419373, 0.2243403047323227, -0.5233407616615295, 0.520946204662323, -0.4658719599246979, 0.5256713032722473, 0.7828524112701416, 0.19148248434066772, 0.3431829512119293, -0.28345781564712524, 0.653263509273529, -0.1702113300561905, 0.07228156924247742, -0.310995489358902, -0.4582303762435913, -0.6061878204345703, -0.2096792608499527, -0.009373938664793968, 0.8175806999206543, -1.0797255039215088, 0.21477289497852325, 0.046987127512693405, -0.5562309622764587, -0.6207954287528992, 0.15470901131629944, 0.2349606156349182, 0.4104756712913513, 0.23375199735164642, -0.320705771446228, -0.7858301997184753, -0.4740428626537323, 0.22225520014762878, -0.49021780490875244, -0.1944999098777771, 0.5393268465995789, 0.14956460893154144, -0.15887124836444855, 0.8053573966026306, -0.46283406019210815, -0.29296261072158813, -0.3880312442779541, 0.4601436257362366, 0.0034371144138276577, 0.1687036007642746, 0.5239250659942627, -0.4775068163871765, -0.2048492580652237, -0.03896539285778999, -0.9646238684654236, -0.299121230840683, -0.3843819499015808, 0.17022092640399933, 0.24124448001384735, 0.20116865634918213, -0.8006688356399536, 0.5144518613815308, 0.6202523112297058, -0.26115062832832336, 0.8034718632698059, -0.34358707070350647, 0.22516801953315735, -0.9862632155418396, -0.05770706385374069, -0.10119092464447021, 0.142782524228096, -0.3961595892906189, 0.2830835282802582, -0.6179433465003967, -0.22738128900527954, -0.3702546954154968, 0.5375128984451294, -0.23455330729484558, -0.10938245803117752, -0.3753666877746582, 0.5629968643188477, -0.16781793534755707, 0.5140912532806396, 0.26022231578826904, 0.9145361185073853, 0.22009193897247314, -0.5681011080741882, 0.8273183107376099, 0.3468809723854065, -0.20854845643043518, 0.6196814775466919, -0.7404661774635315, 0.28269699215888977, 0.04755758121609688, 0.21330727636814117, -0.8008033037185669, -0.06276257336139679, 0.08538468927145004, -0.30458223819732666, -0.4065011441707611, -0.08653620630502701, -0.5281100869178772, -0.5795271396636963, -0.2408725470304489, 0.18054679036140442, 0.609040379524231, -0.4139252007007599, 0.8254891037940979, 0.30071982741355896, -0.31515172123908997, -0.052174538373947144, -0.7231652140617371, 0.27125775814056396, -0.4457114338874817, -0.45390936732292175, 0.4045547842979431, -0.2126876711845398, -0.24531520903110504, -0.017522575333714485, 0.18645025789737701, 0.02607671171426773, -0.17261840403079987, 0.4709489941596985, 0.38974234461784363, -0.4556749165058136, -0.2355901151895523, 0.03377685323357582, -0.0647478774189949, 0.21825437247753143, -0.30806657671928406, 0.9392817616462708, 0.03297022730112076, -0.2271323949098587, -0.4540152847766876, 0.4107106626033783, 0.5950179100036621, -0.2041628062725067, 0.3715862035751343, 0.2716258764266968, -0.012519034557044506, -0.17712928354740143, -0.2808733880519867, -0.012948578223586082, -0.5043125748634338, 0.21579231321811676, -0.2063525766134262, -0.6688703894615173, 1.053946614265442, -0.2948641777038574, 0.13372813165187836, 0.3240469992160797, 0.6740897297859192, 0.08624398708343506, 1.280055046081543, 0.6463836431503296, -0.021274466067552567, 0.21222008764743805, -0.22824464738368988, 0.09101534634828568, -0.7369697690010071, -0.32063600420951843, -0.22253087162971497, -0.49125856161117554, -0.6608884930610657, -0.2511556148529053, 0.1296657919883728, -0.24083727598190308, -0.26254597306251526, 0.07506909966468811, -0.6762061715126038, 0.5056278109550476, 0.554510772228241, -0.00568748265504837, 0.4129146337509155, -0.40508130192756653, -0.061291467398405075, -0.027523700147867203, -0.44782280921936035, -0.6503546833992004, 0.7516314387321472, 0.03954464942216873, 0.5475116968154907, 0.21013760566711426, 0.774479866027832, 0.486614853143692, 0.3596588373184204, -0.6647611856460571, 0.7774693369865417, -0.24137182533740997, -0.23975636065006256, -0.36298668384552, -0.2841190993785858, -0.8826879858970642, -0.08331137895584106, -0.24795471131801605, -0.7806114554405212, -0.15322646498680115, 0.04814295470714569, -0.7699924111366272, 0.3554896414279938, -0.4713480770587921, 0.5176905393600464, -0.4442143738269806, -0.19210414588451385, -0.14443659782409668, -0.4280111789703369, 0.31674012541770935, 0.21601907908916473, -0.22517545521259308, 0.055584732443094254, -0.09714234620332718, 0.3732409179210663, -0.4707483649253845, 1.0579429864883423, -0.21561995148658752, -0.18619167804718018, 0.642597496509552, 0.6790158152580261, 0.3897866904735565, 0.3009873926639557, 0.17774945497512817, 0.008898344822227955, -0.10339323431253433, -0.045292142778635025, -0.6992077827453613, 0.7950432300567627, -0.9606403112411499, -0.6726515293121338, -0.49683496356010437, -0.7688674330711365, -0.12302948534488678, 0.42716217041015625, 0.16420067846775055, 0.32594263553619385, -0.5704442262649536, -0.1130676344037056, 0.5760172009468079, -0.41833165287971497, 0.4515378475189209, 0.29849937558174133, -0.3437277376651764, -0.5859530568122864, 1.0644968748092651, -0.16862033307552338, 0.10848189145326614, 0.006918436381965876, 0.054807037115097046, -0.2868404686450958, -0.8422955870628357, -0.8459365367889404, 0.09243757277727127, -0.21998107433319092, -0.10250628739595413, -0.0307321734726429, -0.15858741104602814, -0.1739591509103775, -0.4939277470111847, -0.1605314314365387, 0.03692099079489708, -0.4269757568836212, -0.40097475051879883, 0.24807870388031006, 1.0372371673583984, 0.20627576112747192, 0.5580409169197083, -0.6159065961837769, 0.39590176939964294, -0.057308852672576904, 0.3156474232673645, -0.05152120441198349, 0.00881512276828289, 0.43094363808631897, 0.1644679754972458, -0.24589544534683228, -0.9107038974761963, 0.5788227915763855, -0.08219265192747116, 0.33324116468429565, 0.5721896886825562, -0.325409859418869, 0.8175688982009888, -0.6240412592887878, 1.2421197891235352, 0.10952025651931763, -0.7264806628227234, 0.49240028858184814, -0.47173765301704407, 0.46184563636779785, 0.5586797595024109, 0.04155435413122177, -0.7171751856803894, -0.5098829865455627, -0.5358723998069763, -0.754598081111908, 0.6085031628608704, -0.0313195139169693, 0.10541242361068726, -0.23475342988967896, 0.45825204253196716, 0.3312048017978668, 0.45553815364837646, -0.3370719254016876, 0.060266755521297455, -0.35154446959495544, -0.4967755377292633, -0.014686106704175472, -0.14837750792503357, -0.14245077967643738, 0.29817599058151245, 0.42071864008903503, -0.2248854637145996, 0.15052169561386108, 0.166533961892128, -0.03272336721420288, -0.029074786230921745, -0.3511491119861603, 0.8577094674110413, 0.5957862138748169, 0.14027687907218933, -0.055684614926576614, 0.04111158847808838, -0.5664593577384949, 0.02822311967611313, -0.02313736267387867, -0.618360161781311, -0.22935763001441956, 0.2933277189731598, 0.8771249651908875, -0.07434969395399094, -0.9242605566978455, -0.004755087662488222, 0.0042801168747246265, -0.23487187922000885, -0.3999534249305725, 0.014543959870934486, -0.07197599112987518, 0.29571497440338135, 0.26800036430358887, -0.19830791652202606, -0.07441506534814835, -0.7375146150588989, 0.0856463685631752, 0.17301508784294128, -0.33951133489608765, -0.4473913311958313, 0.7113803029060364, 0.49715790152549744, -0.6346297264099121, 0.9671549201011658, -0.22235921025276184, -0.24867671728134155, 0.7865748405456543, 0.9641386270523071, 0.8283304572105408, -0.24641667306423187, 0.7519629001617432, 0.1412205696105957, 0.31322479248046875, 0.31143027544021606, 0.2729266881942749, 0.24896696209907532, -0.5141623020172119, -0.5117399096488953, -0.4732080399990082, -0.43253612518310547, 0.20231424272060394, -0.14860409498214722, -0.04183504730463028, -0.8877150416374207, -0.07148081064224243, -0.49309155344963074, -0.010093459859490395, -0.267287015914917, -0.07157234847545624, 0.4512653052806854, 0.8764030337333679, -0.6702622771263123, 0.05463863164186478, 0.4138280749320984, -0.8683337569236755, -0.6190704703330994, -0.15199929475784302, 0.29662320017814636, -0.833471417427063, 0.17136316001415253, -0.019217202439904213, -0.03788459673523903, -0.054211266338825226, -0.47342127561569214, -0.5566427111625671, 1.14640212059021, 0.17232590913772583, -0.17168286442756653, -0.40598705410957336, 0.7125633955001831, 0.8762190937995911, -0.6528482437133789, 0.048341572284698486, 0.5823405981063843, 0.45462483167648315, 0.3141539990901947, -0.4913707971572876, 0.05272075906395912, -0.1629374772310257, 0.19901691377162933, 0.18164469301700592, -0.8354907035827637, 0.4041922986507416, -0.10130608826875687, -0.1386702060699463, 0.5798310041427612, 0.9053109884262085, 0.6662135124206543, 0.31661030650138855, 0.22954636812210083, 0.6644895076751709, 0.8359405994415283, -0.4577310383319855, 1.07182776927948, -0.3637712597846985, -0.2291359007358551, 0.8084433078765869, -0.542902946472168, 0.45239341259002686, 0.3510003387928009, 0.1155792698264122, 0.9804114103317261, 0.6532821655273438, -0.2578894793987274, 0.4732897877693176, 0.3837936520576477, -0.3056800663471222, 0.171343132853508, -0.30519238114356995, 0.058245908468961716, 0.5005453824996948, 0.35060155391693115, -0.08897147327661514, -0.21395137906074524, 0.0819714218378067, -0.039234016090631485, 0.2033231258392334, -0.48442524671554565, 1.0029585361480713, -0.1464719921350479, -0.8957914710044861, -0.12250582128763199, -0.1500828117132187, 0.5191129446029663, -0.8391091823577881, -0.26322367787361145, -0.41755491495132446, 0.1679660528898239, -0.01726832240819931, -0.6093602776527405, 0.07645834982395172, 0.1443917453289032, -0.11060256510972977, 0.06311814486980438, 0.4507090151309967, -0.39746177196502686, -0.4974406063556671, -0.17575177550315857, 0.3967060148715973, 0.07533536106348038, 0.060261014848947525, -0.5605807304382324, 0.4622693955898285, -0.15421749651432037, 0.13104578852653503, 0.13729900121688843, 0.5881302356719971, -0.27316996455192566, 0.648704469203949, 0.7511823177337646, 0.34150564670562744, 0.12550058960914612, 0.15647245943546295, 0.6131264567375183, -0.5961917042732239, -0.7951192855834961, -0.8950108885765076, 0.3069693148136139, -0.2638400197029114, -0.5401116609573364, 0.6088778376579285, 0.6815570592880249, 0.4076839089393616, -0.09322043508291245, 0.9430797696113586, -0.18137575685977936, -0.03269625082612038, -0.5523888468742371, 0.39412859082221985, 0.1254711002111435, -0.13199253380298615, 0.020567918196320534, -0.9829546809196472, -0.19134779274463654, 0.2566927671432495, -0.22490854561328888, -0.07076223194599152, 0.6070798635482788, 0.4644612669944763, 0.24829082190990448, 0.04700073227286339, 0.02732081525027752, 0.2317422777414322, 0.7859063744544983, 0.6810862421989441, 0.8427616953849792, 0.14085479080677032, 0.43932995200157166, -0.032475292682647705, -0.3713099956512451, -0.024042582139372826, -0.8554032444953918, -0.9079335331916809, -0.46361202001571655, -0.01083905529230833, -0.280551552772522, 0.10502167046070099, 0.71979820728302, 0.3255692720413208, -0.7083935737609863, -0.38693082332611084, -0.3122256100177765, -0.1863003522157669, -0.3493900001049042, -0.2988445460796356, 0.19617165625095367, -0.05689799040555954, -0.795141875743866, 0.6096203923225403, 0.5100638270378113, 0.06819242238998413, -0.8338855504989624, -0.012539954856038094, 0.0331343337893486, 0.3702964782714844, 0.6332607865333557, 0.6974911093711853, -0.8600934743881226, -0.3649415969848633, 0.23159566521644592, 0.2110583335161209, 0.12700504064559937, 1.206043004989624, -0.8679486513137817, 0.3943287134170532, 0.377370148897171, 0.7761857509613037, 0.5095922350883484, 0.3997441232204437, 0.9884040951728821, -0.5150710344314575, 0.3203063905239105, 0.44494369626045227, 0.08179440349340439, 0.2644195258617401, -0.5047162771224976, 0.3712398111820221, 0.11517921835184097, -0.448552668094635, -0.6191723942756653, 0.3862958550453186, -0.9138442277908325, 0.022921932861208916, 1.095226526260376, 0.0408635288476944, -0.45167621970176697, 0.11042845249176025, -0.5662855505943298, 0.15385004878044128, -0.42325451970100403, 1.2168446779251099, 0.9932940006256104, -0.2797797620296478, -0.1035468578338623, -0.3369227647781372, 0.6685494184494019, -0.007653022184967995, -0.9877689480781555, 0.06338595598936081, 0.8335762619972229, -0.26265227794647217, 0.4937496781349182, 0.3338203430175781, -0.2006533145904541, 0.3214283883571625, 0.05814940482378006, 0.11716379970312119, -0.4185086786746979, -0.26816514134407043, 0.08404228836297989, 0.2297741323709488, -0.23268535733222961, 0.09659227728843689 ]
http://arxiv.org/abs/2404.19714v1
http://arxiv.org/pdf/2404.19714v1
ThangDLU at #SMM4H 2024: Encoder-decoder models for classifying text data on social disorders in children and adolescents
2024-04-30T17:06:20
2024-04-30T17:06:20
Hoang-Thang Ta, Abu Bakar Siddiqur Rahman, Lotfollah Najjar, Alexander Gelbukh
cs.CL
cs.CL
This paper describes our participation in Task 3 and Task 5 of the #SMM4H (Social Media Mining for Health) 2024 Workshop, explicitly targeting the classification challenges within tweet data. Task 3 is a multi-class classification task centered on tweets discussing the impact of outdoor environments on symptoms of social anxiety. Task 5 involves a binary classification task focusing on tweets reporting medical disorders in children. We applied transfer learning from pre-trained encoder-decoder models such as BART-base and T5-small to identify the labels of a set of given tweets. We also presented some data augmentation methods to see their impact on the model performance. Finally, the systems obtained the best F1 score of 0.627 in Task 3 and the best F1 score of 0.841 in Task 5.
[ 0.025163326412439346, -0.36143118143081665, 0.5832447409629822, 0.07022867351770401, -0.056959107518196106, 0.20448659360408783, 0.1651652753353119, -0.795699417591095, 0.12741594016551971, 0.2501715123653412, -0.5410831570625305, -0.699174165725708, -0.9825515151023865, 0.1475449502468109, -0.5367684364318848, 0.8324106335639954, -0.22281791269779205, 0.03103215992450714, -0.14359286427497864, 0.21939727663993835, -0.09713836759328842, -0.7341921925544739, -0.6970537304878235, -0.125713050365448, 0.39564165472984314, 0.5383166074752808, 0.09430774301290512, 0.2854152023792267, 0.7367826104164124, 0.2056157886981964, 0.02667980082333088, 0.11717768758535385, -0.6274832487106323, -0.0023592524230480194, -0.27324923872947693, -0.2494962215423584, -0.5168514251708984, 0.0315985232591629, 0.3445154130458832, 0.5323085784912109, -0.034135621041059494, 0.28592225909233093, 0.27550777792930603, 0.25788378715515137, -0.2580088973045349, 0.2984963059425354, -0.33281877636909485, 0.06965017318725586, -0.24942833185195923, -0.4038427770137787, -0.20075653493404388, -0.21193894743919373, -0.13745057582855225, -0.23727048933506012, 0.35633864998817444, 0.02861570380628109, 0.7235776782035828, 0.28644272685050964, -0.7412664294242859, -0.25642552971839905, -0.4847226142883301, 0.572859525680542, -0.5433635711669922, 0.3235606849193573, 0.6816257238388062, 0.0899093896150589, -0.005675025749951601, -0.7688382863998413, -0.33346056938171387, 0.48121917247772217, 0.029666954651474953, -0.1272357702255249, -0.19877415895462036, 0.11502112448215485, 0.17255020141601562, -0.01261688582599163, -0.48652663826942444, -0.054991114884614944, -0.9192123413085938, -0.1044493094086647, 0.7338501811027527, 0.3256712257862091, 0.2730221152305603, -0.23792684078216553, 0.11540000885725021, 0.31097346544265747, -0.211100235581398, 0.044219717383384705, -0.13826338946819305, 0.20314280688762665, -0.2501658797264099, 0.3579251170158386, 0.04301344230771065, 0.3663979768753052, 0.25860098004341125, -0.19096486270427704, 0.6215227246284485, -0.3716810643672943, -0.0076183718629181385, -0.05390063673257828, 0.7020488381385803, 0.7241040468215942, -0.09455110132694244, -0.10884445160627365, -0.3172683119773865, 0.20149731636047363, 0.4613092541694641, -0.9580614566802979, -0.28654900193214417, 0.019547726958990097, -0.8336768746376038, -0.5736842751502991, -0.015633735805749893, -0.8547078371047974, -0.43777742981910706, -0.18389427661895752, 0.48561593890190125, -0.5106810927391052, -0.23117367923259735, 0.036304183304309845, -0.05300556495785713, -0.09169720858335495, 0.2690032422542572, -0.9436975121498108, 0.7038513422012329, 0.46394088864326477, 0.7485892176628113, -0.3117372393608093, -0.02575177513062954, -0.10104778409004211, 0.2448311150074005, -0.22461622953414917, 0.6029961705207825, -0.7248474359512329, -0.3448241949081421, -0.12152086943387985, 0.507781445980072, -0.48451122641563416, -0.34217023849487305, 0.7072141170501709, -0.25320565700531006, 0.02771245874464512, -0.3970598876476288, -0.47511643171310425, -0.2634231746196747, 0.32927459478378296, -0.5232875943183899, 0.9376432299613953, 0.4659424424171448, -0.9464696645736694, 0.22483761608600616, -0.811669111251831, -0.5204715728759766, 0.14257177710533142, 0.10928348451852798, -0.23499922454357147, -0.044850971549749374, 0.2912234961986542, 0.825753390789032, -0.07571083307266235, 0.1595604568719864, -0.4893786907196045, -0.5313965678215027, 0.11472998559474945, -0.06484474986791611, 0.577712893486023, 0.09227395057678223, -0.23900511860847473, 0.06559907644987106, -0.6114755868911743, -0.08277710527181625, 0.07433736324310303, -0.20480108261108398, -0.046688277274370193, -0.06072376295924187, 0.26805832982063293, 0.23866121470928192, 0.26368871331214905, -0.653705358505249, -0.05968189239501953, 0.017626699060201645, 0.5818599462509155, 0.6836159229278564, 0.4026338756084442, 0.35027456283569336, -0.585433304309845, 0.5888200998306274, 0.18545912206172943, 0.4104689955711365, 0.10545729845762253, -0.6877351999282837, -0.3061409294605255, 0.01566285453736782, 0.16546866297721863, 0.3339976370334625, -1.086774230003357, 0.2985522150993347, -0.3698808252811432, -0.5165933966636658, -0.5190465450286865, -0.21170897781848907, -0.007739688735455275, 0.13354989886283875, 0.4885439872741699, 0.05103323236107826, -0.7982655763626099, -0.4103657901287079, -0.053688131272792816, 0.06437186896800995, 0.24219751358032227, 0.1525941640138626, 0.7600254416465759, -0.8916455507278442, 0.38398054242134094, -0.20129257440567017, -0.33229467272758484, -0.3117959201335907, 0.06282311677932739, -0.186534121632576, 0.6079922318458557, 0.6559984683990479, -0.7757995128631592, -0.602905809879303, 0.04919017478823662, -0.7355875372886658, -0.21121636033058167, 0.5403371453285217, 0.11065071076154709, 0.16744817793369293, 0.5411118268966675, -0.4648517370223999, 0.4854874908924103, 0.6618978977203369, -0.3173494338989258, 0.18468131124973297, 0.201586052775383, 0.4731811285018921, -1.142249584197998, -0.12172798812389374, 0.09909617155790329, -0.4428158700466156, -0.8784758448600769, -0.13071131706237793, 0.06896572560071945, -0.09295260906219482, -0.18090324103832245, 0.12147334218025208, -0.2553972601890564, 0.18943312764167786, -0.24264585971832275, -0.43150922656059265, -0.15911735594272614, 0.1510983258485794, -0.33839961886405945, 0.09435328841209412, 0.7690373659133911, -0.5392696261405945, 0.30562084913253784, -0.23349089920520782, -0.006138063035905361, 0.24415099620819092, -0.32675740122795105, 0.2761428654193878, -0.31174421310424805, 0.25510814785957336, -0.8017632961273193, -0.5098433494567871, 0.5593597888946533, -0.8158794641494751, 0.38565126061439514, 0.08356393128633499, -0.6117221713066101, -0.7157046794891357, -0.4127644896507263, 0.4987870752811432, 0.38993921875953674, -0.42006734013557434, 0.5347607135772705, 0.7818140387535095, 0.15768320858478546, -0.13281875848770142, -0.6651111245155334, -0.24038274586200714, -0.43803271651268005, -0.430033415555954, 0.8005046844482422, 0.0289311520755291, 0.1379752904176712, 0.463905394077301, -0.10329408198595047, -0.1778402030467987, -0.027711965143680573, 0.44347715377807617, -0.03737685829401016, 0.06618821620941162, 0.008820333518087864, 0.05628049746155739, 0.02724727988243103, 0.19165901839733124, 0.10578353703022003, 0.47452306747436523, 0.020794697105884552, -0.07818596810102463, -0.3400445878505707, 0.35139158368110657, 0.2816565930843353, 0.10784946382045746, 0.6975910067558289, 0.7631677985191345, -0.995867908000946, -0.14913499355316162, -0.16234345734119415, -0.2352212369441986, -0.49905216693878174, 0.17603226006031036, -0.3480507433414459, -1.089004635810852, 0.3573884069919586, 0.017076905816793442, -0.13103801012039185, 0.31725263595581055, 0.24370500445365906, -0.29154443740844727, 1.2041343450546265, 0.7295726537704468, -0.08849570155143738, 0.30799195170402527, -0.3529583513736725, 0.28810226917266846, -0.5028495788574219, -0.4266243577003479, -0.45488402247428894, -0.33448776602745056, -0.6481930017471313, -0.5438610911369324, 0.18265822529792786, -0.480161190032959, -0.15748083591461182, 0.15976175665855408, -0.5684595704078674, 0.1940157413482666, 0.13779769837856293, 0.4628194272518158, -0.23716513812541962, -0.19545623660087585, 0.3926902711391449, -0.3583560287952423, -0.7088592052459717, -0.4091240167617798, 1.184859037399292, 0.5507377982139587, 0.5911568403244019, 0.06730552017688751, 0.9986035823822021, 0.3662199378013611, 0.7116159796714783, -0.593190610408783, 0.5419114828109741, -0.3497847020626068, -0.6297041773796082, -0.022527867928147316, -0.5028796195983887, -1.0634442567825317, -0.010379782877862453, -0.22535644471645355, -0.9127163290977478, 0.28227829933166504, -0.1992063820362091, -0.29128599166870117, 0.24239793419837952, -0.5448572635650635, 0.8925365805625916, -0.1247931569814682, 0.0006410728092305362, -0.11832553893327713, -0.6846566796302795, 0.421305388212204, -0.3326928913593292, 0.6850749850273132, -0.19773994386196136, -0.05286184698343277, 1.1150448322296143, -0.05913841724395752, 0.8497424721717834, -0.3625899851322174, 0.39229345321655273, 0.09727252274751663, -0.34392282366752625, 0.05438098683953285, -0.35306793451309204, -0.006703929975628853, -0.008989467285573483, 0.4074118137359619, -0.34566348791122437, -0.4405571222305298, 0.7433636784553528, -0.913843035697937, -0.16168823838233948, -0.677726686000824, -0.11097699403762817, -0.16913481056690216, 0.19892549514770508, 0.35459333658218384, 0.336897075176239, -0.03976638987660408, 0.34613192081451416, 0.440067857503891, 0.07825759798288345, 0.3266651928424835, 0.34345364570617676, -0.22581957280635834, -0.2569257915019989, 0.9797503352165222, 0.39997485280036926, -0.11771345883607864, 0.1891435980796814, -0.01890467293560505, -0.04823114350438118, -0.6996023654937744, 0.18219168484210968, 0.18337246775627136, -0.8073711395263672, -0.38143855333328247, -0.742716908454895, -0.5327283143997192, -0.7792736291885376, -0.05390410125255585, -0.12340110540390015, -0.13136856257915497, -0.7911035418510437, -0.5128241777420044, 0.11443539708852768, 1.1160550117492676, -0.22548265755176544, 0.4922860264778137, -0.946368396282196, 0.4478439688682556, -0.1271531730890274, 0.33993566036224365, 0.02335263229906559, -0.46604740619659424, -0.486324280500412, -0.06811749190092087, -0.5971879959106445, -1.0949574708938599, 0.6210139393806458, 0.1316414624452591, 0.5764042735099792, 0.5382497310638428, 0.21201109886169434, 0.695949137210846, -0.268440842628479, 0.7421384453773499, 0.0670066550374031, -0.7462313771247864, 0.4455375373363495, -0.29854151606559753, -0.10057128965854645, 0.5647546648979187, 0.8938949108123779, -0.3546513020992279, -0.11159384250640869, -0.8857383131980896, -0.6566811203956604, 0.9827855229377747, 0.2801092565059662, -0.037820201367139816, -0.05272235348820686, 0.4317362606525421, -0.016712184995412827, -0.08859420567750931, -0.7561483383178711, -0.07814639061689377, -0.23642684519290924, -0.6417648792266846, -0.05906223878264427, -0.5492918491363525, 0.22932638227939606, -0.5944690704345703, 0.5195876359939575, 0.14465054869651794, 0.38297542929649353, 0.02991650439798832, -0.042415812611579895, -0.4113203287124634, -0.11949184536933899, 0.13172221183776855, 0.4996865391731262, -0.4885892868041992, 0.4279204308986664, 0.17891016602516174, -0.46120068430900574, 0.15873925387859344, 0.2761959731578827, 0.08633144944906235, 0.0846802145242691, 0.4920409023761749, 0.7075161337852478, 0.42601075768470764, -0.2086935192346573, 0.5414373874664307, -0.29084789752960205, -0.5579821467399597, -0.25984758138656616, 0.09995586425065994, 0.08997570723295212, 0.06479261815547943, 0.4435597360134125, 0.08803100138902664, 0.6504269242286682, -0.699610710144043, 0.28466710448265076, -0.08812844008207321, -0.48831707239151, -0.7486386895179749, 0.5717281103134155, 0.19084037840366364, -0.21322758495807648, 0.208823561668396, -0.3326443135738373, -0.8114420771598816, 0.5141228437423706, 0.5382857322692871, 0.6053351163864136, -0.6406833529472351, 0.05808534100651741, 0.480750173330307, 0.5016934275627136, -0.23979529738426208, 0.7036498785018921, 0.2780066430568695, -0.8916265368461609, -0.16348814964294434, -0.42296674847602844, -0.10234416276216507, 0.15646664798259735, -0.6921877861022949, 0.3112999498844147, -0.20531855523586273, -0.5956633687019348, 0.13406816124916077, -0.027473734691739082, -0.639018177986145, 0.4808637499809265, 0.1707928627729416, 0.4465126395225525, -0.9633864760398865, 0.8795758485794067, 0.8154063820838928, 0.05760890617966652, -0.6829515695571899, 0.25897181034088135, 0.06163524091243744, -0.27037513256073, 0.33188724517822266, 0.6013978719711304, -0.001245024730451405, 0.11444828659296036, -0.9016168117523193, -0.9788718819618225, 0.9240694642066956, -0.04930979385972023, -0.25116562843322754, -0.15150676667690277, 0.11670304834842682, 0.5301072001457214, -0.5156136751174927, -0.01460451539605856, 0.7549023628234863, 0.39686527848243713, 0.20786315202713013, -0.8873280882835388, 0.18205146491527557, -0.6384354829788208, -0.02843587100505829, -0.03314285725355148, -0.24496722221374512, 0.6449169516563416, -0.19597844779491425, -0.40643733739852905, -0.2080894559621811, 0.3872855007648468, 0.15177422761917114, 0.7365368604660034, 0.29529818892478943, 0.4137873947620392, 0.7025695443153381, -0.15900848805904388, 0.992728054523468, -0.3149658143520355, 0.3123099207878113, 0.6457720398902893, -0.01903442107141018, 0.6803200840950012, 0.11747733503580093, -0.264654278755188, 0.11927138268947601, 1.0589717626571655, 0.33732593059539795, 0.7209454774856567, -0.08220887184143066, -0.14580418169498444, 0.06427261978387833, -0.09059840440750122, -0.3387017846107483, 0.1004350334405899, 0.9478784203529358, -0.2933305501937866, 0.11735592782497406, 0.3141399025917053, -0.09370724111795425, -0.25356319546699524, -0.41720759868621826, 0.7312408685684204, 0.3982604742050171, -0.1706516295671463, 0.47409361600875854, 0.36737117171287537, 0.8201141953468323, -0.19852666556835175, 0.0016419464955106378, 0.16226686537265778, 0.2961714565753937, -0.5406631827354431, -0.8044138550758362, 0.7456079125404358, -0.1787310242652893, -0.08199947327375412, -0.2716369926929474, 1.1139376163482666, -0.5027129054069519, -0.6764608025550842, 0.566372275352478, 0.054869282990694046, 0.3851170241832733, -0.1364813894033432, -0.6462960839271545, 0.233236625790596, 0.02750486135482788, -0.03237595036625862, 0.17871537804603577, 0.7991712093353271, -0.22061310708522797, 0.5903041362762451, 0.5073629021644592, -0.09512697905302048, 0.14667923748493195, 0.1895027905702591, 0.8718075156211853, -0.7976875901222229, -0.3284730911254883, -0.8080984950065613, 0.3197222650051117, -0.004033506847918034, 0.16827616095542908, 0.701999306678772, 0.45744583010673523, 0.5476155877113342, -0.008472433313727379, 0.8838493824005127, -0.17773346602916718, 0.9104684591293335, -0.005936183035373688, 0.6258271336555481, -0.5445437431335449, 0.001282583107240498, -0.24753768742084503, -0.49920058250427246, -0.3615083396434784, 0.5687301158905029, -0.4001031517982483, 0.11191846430301666, 0.898685872554779, 0.5786364078521729, 0.0009442828013561666, 0.24057899415493011, 0.10074230283498764, 0.04620272293686867, 0.3691340982913971, 0.7349209785461426, 0.7458142042160034, -0.545928955078125, 0.24523703753948212, -0.43729686737060547, -0.2517678439617157, -0.32917749881744385, -0.313294380903244, -0.9674551486968994, -0.6797847747802734, -0.24285604059696198, -0.44463440775871277, 0.3641495704650879, 0.9327465891838074, 0.6738330125808716, -0.8048967719078064, -0.05002693086862564, 0.14563441276550293, 0.03310271352529526, -0.01329108327627182, -0.25437021255493164, 0.2397780865430832, -0.07723842561244965, -0.43107497692108154, 0.094761922955513, -0.05558329075574875, 0.25725001096725464, 0.2824387550354004, -0.08059748262166977, -0.12262760102748871, -0.1797361671924591, 0.6382512450218201, -0.2859767973423004, -0.21209852397441864, -0.20724627375602722, -0.050671838223934174, -0.15404297411441803, 0.014214430935680866, 0.41149815917015076, -0.37041234970092773, 0.09901466965675354, 0.4305250644683838, 0.5077778100967407, 0.7382991909980774, 0.22080098092556, 0.36313596367836, -0.5127477645874023, -0.24790163338184357, 0.40373215079307556, 0.2140893042087555, 0.6572656035423279, -0.44375598430633545, 0.6479573845863342, 0.3640469014644623, -0.5560933351516724, -0.9364016652107239, -0.41765591502189636, -1.0050021409988403, -0.2504890561103821, 1.1772292852401733, 0.026545237749814987, -0.4634455442428589, -0.4948979318141937, -0.18258072435855865, 0.3410591185092926, -0.4058074653148651, 0.6638864874839783, 0.5830007195472717, -0.12019772082567215, -0.6575795412063599, -0.6072266101837158, 0.7448843717575073, -0.4076234698295593, -0.9212533831596375, -0.497036874294281, 0.15042860805988312, 0.41026338934898376, -0.18582099676132202, 1.0459946393966675, -0.15903080999851227, 0.2509465515613556, -0.03789374977350235, 0.0705680325627327, 0.1454460471868515, -0.23617036640644073, -0.1586291790008545, 0.18165455758571625, -0.15733182430267334, -0.3173494338989258 ]
http://arxiv.org/abs/2404.19713v2
http://arxiv.org/pdf/2404.19713v2
Automated Generation of High-Quality Medical Simulation Scenarios Through Integration of Semi-Structured Data and Large Language Models
2024-04-30T17:06:11
2024-05-06T17:58:48
Scott Sumpter
cs.CL
cs.CL
This study introduces a transformative framework for medical education by integrating semi-structured data with Large Language Models (LLMs), primarily OpenAIs ChatGPT3.5, to automate the creation of medical simulation scenarios. Traditionally, developing these scenarios was a time-intensive process with limited flexibility to meet diverse educational needs. The proposed approach utilizes AI to efficiently generate detailed, clinically relevant scenarios that are tailored to specific educational objectives. This innovation has significantly reduced the time and resources required for scenario development, allowing for a broader variety of simulations. Preliminary feedback from educators and learners has shown enhanced engagement and improved knowledge acquisition, confirming the effectiveness of this AI-enhanced methodology in simulation-based learning. The integration of structured data with LLMs not only streamlines the creation process but also offers a scalable, dynamic solution that could revolutionize medical training, highlighting the critical role of AI in advancing educational outcomes and patient care standards.
[ -0.08980275690555573, -1.0691465139389038, 0.8200522065162659, -0.004063485190272331, -0.10373345017433167, 0.2791964113712311, -0.14816392958164215, -0.24831622838974, 0.10523870587348938, 0.3111562728881836, -0.42559829354286194, -0.628384530544281, -0.3053164482116699, -0.0814262256026268, -0.3010701537132263, 0.7021199464797974, -0.37940555810928345, 0.37167179584503174, -0.28924745321273804, 0.28718331456184387, -0.2606520354747772, -0.7722962498664856, -0.7108469009399414, -0.32712408900260925, 0.15504945814609528, 0.34207189083099365, 0.7055796384811401, 0.7859299778938293, 0.47559183835983276, 0.25703221559524536, 0.26912763714790344, 0.26175326108932495, -0.38210123777389526, 0.03540029376745224, -0.07123535871505737, -0.08985293656587601, -0.5759343504905701, 0.03531039133667946, 0.904827356338501, 1.006280541419983, -0.6301372051239014, 0.055857911705970764, -0.011637791059911251, 0.22078409790992737, -0.22042754292488098, 0.37023067474365234, -0.12614044547080994, 0.5010852813720703, 0.11469096690416336, -0.4497348368167877, -0.2297583520412445, -0.289347767829895, 0.17125041782855988, -0.6129056215286255, 0.03841617330908775, -0.037893615663051605, 0.603844165802002, 0.1884225457906723, -0.33379513025283813, -0.20309659838676453, -0.9326810240745544, 0.5371536612510681, -0.6934356093406677, 0.2557728588581085, -0.09764929115772247, 0.6794335246086121, -0.478741317987442, -1.0128992795944214, -0.5789256691932678, 0.04449253901839256, 0.12467248737812042, 0.4946077764034271, 0.2286369949579239, 0.4202709496021271, 0.19446182250976562, 0.2961901128292084, -0.5078538656234741, 0.3897348940372467, -0.6733008623123169, -0.0077193803153932095, 0.6682615280151367, 0.7797037363052368, 0.5198771357536316, 0.07970491051673889, -0.3327633738517761, 0.020581403747200966, -0.7134883403778076, -0.036512333899736404, 0.051800891757011414, 0.3590468764305115, -0.3648903965950012, 0.8182130455970764, -0.042787786573171616, 0.5307916402816772, -0.4820762872695923, -0.4794331192970276, 0.25888118147850037, -0.24254201352596283, -0.5337554812431335, 0.2258061319589615, 0.8740562796592712, 0.4386296570301056, 0.16631892323493958, 0.07468535751104355, -0.11075054109096527, 0.16624777019023895, 0.3423673212528229, -0.8954079151153564, -0.09179241955280304, 0.5128178000450134, -0.5399981737136841, -0.5426881909370422, -0.13600799441337585, -0.8769863843917847, -0.16408148407936096, -0.5539183020591736, 0.2533894181251526, -0.4371045231819153, 0.03018289804458618, 0.44705677032470703, 0.18750342726707458, 0.06408251076936722, 0.5276389122009277, -0.5127619504928589, 0.26842132210731506, 0.2949175536632538, 0.6938285827636719, -0.3360047936439514, -0.1440381407737732, -0.2412801831960678, 0.5192941427230835, -0.389832079410553, 0.4974972605705261, -0.7014814615249634, -0.8219677805900574, 0.31090787053108215, -0.10687203705310822, -0.05167054384946823, -0.6820992827415466, 0.26748090982437134, -0.12424823641777039, 0.36881664395332336, 0.6502172946929932, -0.7697334289550781, 0.05061757192015648, 0.33674731850624084, -0.40687498450279236, 0.8867920637130737, 0.2758471369743347, -0.22804465889930725, 0.18721932172775269, -0.8866554498672485, -0.5931365489959717, 0.3850933313369751, -0.7269350290298462, -0.5471617579460144, -0.15624107420444489, 0.18280228972434998, 0.607815146446228, -0.5107600092887878, 0.7998071908950806, -0.11262941360473633, -0.3261510729789734, 0.14347955584526062, -0.2237752377986908, 0.46847158670425415, 0.05146725848317146, -0.13158608973026276, 0.0339239165186882, -0.6763098835945129, 0.05777023732662201, 0.3599604070186615, -0.5562524795532227, 0.01650945656001568, 0.10961233824491501, 0.09992276132106781, 0.4804341197013855, -0.07817762345075607, -0.46993616223335266, 0.41990697383880615, -0.5284484624862671, 0.3141542077064514, 0.33811700344085693, 0.46484559774398804, 0.34689250588417053, -0.48544952273368835, 0.7795196175575256, 0.3855646550655365, 0.43533289432525635, -0.2524564564228058, -0.4266202747821808, -0.35579463839530945, -0.2787034809589386, 0.22537554800510406, 0.6374785304069519, -0.8016669750213623, 0.09749681502580643, -0.21198034286499023, -0.4336995780467987, -0.6501436233520508, -0.14739274978637695, 0.19562551379203796, 0.7983744740486145, 0.4582063853740692, -0.18969106674194336, -0.7304108738899231, -0.7355140447616577, 0.24939163029193878, -0.11418624967336655, -0.04592537134885788, 0.39550039172172546, 0.6569703817367554, -0.39512139558792114, 0.6423031091690063, -0.41348281502723694, -0.35881534218788147, -0.36204713582992554, -0.06215331330895424, -0.005960794631391764, 0.7292088270187378, 0.5857295393943787, -0.6347976922988892, -0.27266907691955566, -0.013797508552670479, -1.0643534660339355, 0.2923383414745331, -0.3388531506061554, -0.08868035674095154, -0.019946273416280746, 0.4750515818595886, -0.20215854048728943, 0.6855741739273071, 0.4571816027164459, -0.1021505743265152, 0.5015469193458557, -0.5051305890083313, 0.4103161096572876, -1.4402788877487183, 0.009522130712866783, -0.15200354158878326, 0.037926848977804184, -0.633737325668335, -0.18615677952766418, -0.029576679691672325, -0.5075689554214478, -0.5929136872291565, 0.7830728888511658, -0.2555560767650604, 0.09696142375469208, 0.04486878588795662, 0.10263372957706451, -0.18028369545936584, 0.2382645606994629, 0.27328556776046753, 0.8112581968307495, 0.7636871337890625, -0.5184673070907593, 0.23110844194889069, 0.41774290800094604, -0.33794599771499634, 0.4204729199409485, -0.7706960439682007, -0.4003290832042694, 0.09415299445390701, 0.4453050494194031, -0.34318411350250244, -0.7394351959228516, 0.1478452980518341, -0.29483091831207275, 0.21692800521850586, -0.2315245419740677, -0.7596110105514526, -0.32135942578315735, -0.000943140359595418, 0.43534284830093384, 0.8919461369514465, -0.33488351106643677, 0.6409283876419067, 0.6053127646446228, -0.2636726498603821, -0.2146952748298645, -0.4765928089618683, 0.15373948216438293, -0.04873279482126236, -0.34754499793052673, 0.3408433198928833, -0.09285993874073029, -0.18031428754329681, -0.1716790795326233, 0.17176611721515656, -0.01745021343231201, 0.09762648493051529, 0.4455428719520569, 0.8251172304153442, -0.1922958791255951, 0.03129759803414345, 0.6574115753173828, 0.15278083086013794, 0.1961212307214737, -0.5492469072341919, 0.4202125370502472, 0.3924679458141327, -0.6498647332191467, -0.6575511693954468, 0.6112588047981262, 0.7159653902053833, -0.1360270380973816, 0.9210970997810364, 0.07570216059684753, -0.6725883483886719, -0.2884468138217926, -0.23225751519203186, -0.22055350244045258, -0.4157389998435974, 0.4164055585861206, 0.12122499197721481, -0.8322397470474243, 0.3924666941165924, -0.44171884655952454, 0.34328493475914, 0.15444216132164001, 0.9729500412940979, -0.5150598883628845, 1.2739657163619995, 0.34717175364494324, 0.413752019405365, 0.14867980778217316, -0.18916180729866028, 0.15606799721717834, -0.6820985078811646, -0.7376576066017151, -0.22506414353847504, -0.25413620471954346, -0.33604878187179565, -0.8684091567993164, 0.9067535400390625, -0.35935017466545105, -0.3523457646369934, -0.5678895115852356, -0.37526410818099976, 0.29966360330581665, 0.28062811493873596, 0.19845658540725708, 0.11617373675107956, 0.06573057919740677, -0.29507508873939514, 0.1356690526008606, -0.8904921412467957, -0.6185781955718994, 1.2733708620071411, 0.3113865554332733, 0.7725483775138855, -0.158600315451622, 0.7864201664924622, 0.22944408655166626, 0.38493648171424866, -0.6209418773651123, 0.5443369746208191, 0.053598467260599136, -0.5376641750335693, -0.0731956958770752, -0.32307833433151245, -0.8996813893318176, -0.2752545177936554, -0.5024513602256775, -0.4028540849685669, -0.23669053614139557, 0.10790754109621048, -0.5515153408050537, 0.43183091282844543, -0.4739042818546295, 0.687364935874939, -0.06811045855283737, -0.3314220607280731, -0.009386580437421799, -0.8702792525291443, 0.1555899977684021, -0.3536715507507324, 0.3267863988876343, 0.012957234866917133, -0.17632338404655457, 0.7044093012809753, -0.4307257831096649, 0.9975825548171997, -0.1623915135860443, -0.008972225710749626, 0.320573627948761, 0.05602685362100601, 0.1577356457710266, 0.32894259691238403, 0.02620951272547245, 0.13868418335914612, -0.09353356808423996, -0.45796674489974976, -0.5385407209396362, 0.48355311155319214, -0.7622600197792053, -0.17212915420532227, -0.2865503430366516, -0.8638900518417358, -0.47103098034858704, 0.05908019840717316, -0.021720867604017258, 0.5831952095031738, -0.389316201210022, -0.18559692800045013, 0.7284152507781982, -0.6109021902084351, 0.05940258502960205, 0.5221052765846252, -0.2591783404350281, -0.33074939250946045, 0.7514630556106567, 0.0680355355143547, 0.26819542050361633, 0.0772247314453125, 0.09449108690023422, -0.09191163629293442, -0.7423317432403564, -0.753167450428009, 0.19756852090358734, -0.5171836018562317, -0.17902350425720215, -0.5545943975448608, -0.7196718454360962, -0.3794371783733368, -0.48465871810913086, -0.23484039306640625, -0.12311900407075882, -0.18042193353176117, -0.016832558438181877, -0.0162564255297184, 0.8137577772140503, 0.29085251688957214, 0.3441893756389618, -1.0515292882919312, 0.1759498119354248, -0.11914417147636414, 0.29539725184440613, -0.37427398562431335, -0.5191148519515991, -0.2542066276073456, -0.054699741303920746, -0.05295586958527565, -0.7307755947113037, 0.2887974977493286, 0.10889828950166702, 0.5810730457305908, 0.2881036400794983, -0.1337154358625412, 0.6075993776321411, -0.7827134728431702, 0.8367381691932678, 0.2976560592651367, -0.4125027358531952, 0.8722705245018005, -0.36148494482040405, 0.0780583992600441, 0.3555806577205658, 0.4231877326965332, -0.18832939863204956, -0.515404462814331, -0.7202575206756592, -0.85036700963974, 0.6061139702796936, 0.12162400037050247, 0.13979771733283997, -0.11095725744962692, 0.45974141359329224, 0.26172181963920593, 0.13692063093185425, -0.1512938141822815, -0.2383365035057068, 0.25501203536987305, -0.7086916565895081, -0.08419648557901382, -0.09091483801603317, -0.4348033666610718, -0.3695465624332428, 0.7752377986907959, -0.08484923839569092, 0.23889891803264618, 0.01975242979824543, 0.1718354970216751, -0.0010137187782675028, 0.15948963165283203, 0.5201473832130432, 0.3216039538383484, 0.10020734369754791, -0.29525166749954224, 0.1917819082736969, -0.8447220325469971, 0.19788247346878052, 0.21907788515090942, 0.035123150795698166, -0.09468258917331696, 0.2750318944454193, 0.6717532277107239, 0.20561514794826508, -1.212246298789978, 0.40807661414146423, -0.1669953465461731, -0.40717971324920654, -0.4485035240650177, 0.2586727440357208, -0.0064743803814053535, 0.39267095923423767, 0.02173972874879837, -0.16640400886535645, 0.16115985810756683, -0.4113733172416687, 0.25529611110687256, 0.09112758934497833, 0.00696176290512085, -0.1297786980867386, 0.7632693648338318, 0.14182163774967194, -0.10790105164051056, 0.6959812641143799, 0.2540481686592102, -0.06911519169807434, 0.7433866262435913, 0.7839791774749756, 0.2094264030456543, -0.3982604146003723, 0.15122435986995697, 0.6290995478630066, -0.016719145700335503, -0.24980251491069794, 0.5996279716491699, 0.24186094105243683, -0.35651448369026184, -0.40079158544540405, -0.8135712146759033, -0.6490792632102966, -0.005285695195198059, -0.5854575634002686, 0.5770595073699951, -0.534600555896759, 0.024462342262268066, -0.0901608020067215, -0.366749107837677, -0.5753312110900879, 0.5682498216629028, 0.24363216757774353, 1.035406231880188, -0.9077196717262268, 0.9453544020652771, 1.1287171840667725, -0.4209340214729309, -1.1662284135818481, -0.08702801167964935, 0.008521538227796555, -0.8894369602203369, 0.25046104192733765, -0.15317140519618988, 0.13134139776229858, 0.05757436901330948, -0.38828808069229126, -0.2632791996002197, 1.1163649559020996, 0.2511799931526184, -0.5691394805908203, -0.5201433897018433, 0.42562973499298096, 0.664483368396759, -0.5436313152313232, 0.18485011160373688, 0.5662025213241577, 0.1020856648683548, 0.25565141439437866, -0.8113428354263306, -0.24556639790534973, -0.29968100786209106, -0.13636313378810883, 0.2931339144706726, -0.12515629827976227, 0.5040926933288574, -0.44830629229545593, -0.11781655251979828, -0.13547764718532562, 0.5058764219284058, 0.29436203837394714, 0.43937811255455017, 0.06341409683227539, 0.49028968811035156, 0.6077132821083069, -0.17922353744506836, 1.008020281791687, -0.4690798223018646, 0.30242493748664856, 0.9756859540939331, -0.3832533657550812, 0.5066871047019958, 0.5198484659194946, -0.14834357798099518, 0.35612577199935913, 0.6691364049911499, -0.033190712332725525, 0.08913261443376541, 0.1103254184126854, -0.48609673976898193, -0.303773432970047, -0.10587386786937714, -0.5170912146568298, 0.4722711741924286, 0.668982744216919, -0.5413753986358643, -0.21756233274936676, 0.4091290831565857, 0.025744644924998283, 0.12944786250591278, -0.2698908746242523, 0.7978535890579224, -0.03346684202551842, -0.5838924050331116, 0.19203904271125793, -0.11177629977464676, 0.016626227647066116, -0.6465287804603577, -0.3084411025047302, -0.18241658806800842, 0.010257239453494549, -0.21784353256225586, -1.0190571546554565, 0.1684567779302597, 0.1074562519788742, 0.14430686831474304, -0.1621442586183548, 0.31226637959480286, -0.6042730808258057, -0.6343531012535095, -0.04420233517885208, 0.780493438243866, 0.2986566722393036, 0.599697470664978, -0.5808227062225342, 0.11911632120609283, -0.20668986439704895, -0.08672212809324265, 0.5192397832870483, 0.4787575304508209, -0.1595854014158249, 0.5489792227745056, 0.6416822075843811, 0.3143934905529022, -0.16467715799808502, 0.14783476293087006, 0.9703325033187866, -0.2651890218257904, -0.5259066224098206, -0.6932048201560974, 0.6033121347427368, -0.07217628508806229, -0.09423097968101501, 0.19254709780216217, 0.9066533446311951, 0.6435441970825195, -0.0545753613114357, 0.9846405386924744, -0.042362671345472336, 0.384540855884552, -0.5514392256736755, 0.8482899069786072, -0.6826680898666382, 0.2782963216304779, -0.06806545704603195, -0.3999808728694916, -0.5224753618240356, 0.2732251286506653, -0.11264855414628983, 0.10812567174434662, 0.579574704170227, 0.42398232221603394, -0.2522364854812622, -0.07247967272996902, 0.4422202706336975, 0.005919354502111673, 0.4809192419052124, 0.6221546530723572, 0.732254683971405, -0.18802247941493988, 0.13440576195716858, -0.16626717150211334, -0.43805962800979614, -0.14802667498588562, -0.49417364597320557, -1.119766354560852, -0.5789263844490051, -0.3504874110221863, -0.27374014258384705, 0.18078970909118652, 1.2424311637878418, 0.5725312232971191, -0.6082969903945923, -0.14987210929393768, 0.2077132612466812, -0.5135249495506287, 0.10183481127023697, -0.1865437775850296, 0.41509002447128296, -0.2330240160226822, -0.9136970043182373, 0.5375920534133911, 0.5874693989753723, 0.4995170831680298, -0.22127264738082886, -0.1623319685459137, 0.05506165698170662, 0.33718058466911316, 0.5236364603042603, 0.1855296492576599, -0.33314278721809387, -0.1112862080335617, -0.06316269189119339, -0.3688238263130188, 0.11456426233053207, 0.8361228108406067, -0.990984320640564, 0.5282205939292908, -0.05973971635103226, 0.8255563974380493, 0.14036652445793152, -0.01628991588950157, 0.6688164472579956, -0.4174318313598633, 0.14599333703517914, 0.5204293131828308, 0.3238487243652344, -0.06700132042169571, -0.3548033833503723, 0.456817626953125, 0.2024834156036377, -0.38145729899406433, -1.0670149326324463, 0.07059267163276672, -0.9581218361854553, -0.14361418783664703, 0.9604157209396362, -0.10077475011348724, 0.004149120766669512, -0.11396600306034088, -0.2818027138710022, 0.5250637531280518, -0.00601909589022398, 0.9020696878433228, 0.31278371810913086, -0.4644939601421356, 0.33038586378097534, -1.1241832971572876, 0.38167059421539307, 0.15401175618171692, -1.4722788333892822, -0.36684945225715637, 0.6275825500488281, 0.2971751391887665, -0.4026895761489868, 0.45551788806915283, -0.5200185179710388, 0.41529494524002075, -0.13661116361618042, 0.1670883744955063, -0.232477605342865, -0.5773623585700989, -0.09041258692741394, 0.27278807759284973, -0.2772388160228729, -0.032262738794088364 ]
http://arxiv.org/abs/2404.19708v1
http://arxiv.org/pdf/2404.19708v1
Harmonic LLMs are Trustworthy
2024-04-30T17:00:32
2024-04-30T17:00:32
Nicholas S. Kersting, Mohammad Rahman, Suchismitha Vedala, Yang Wang
cs.LG
cs.LG, cs.AI, cs.CL, cs.HC
We introduce an intuitive method to test the robustness (stability and explainability) of any black-box LLM in real-time, based upon the local deviation from harmoniticity, denoted as $\gamma$. To the best of our knowledge this is the first completely model-agnostic and unsupervised method of measuring the robustness of any given response from an LLM, based upon the model itself conforming to a purely mathematical standard. We conduct human annotation experiments to show the positive correlation of $\gamma$ with false or misleading answers, and demonstrate that following the gradient of $\gamma$ in stochastic gradient ascent efficiently exposes adversarial prompts. Measuring $\gamma$ across thousands of queries in popular LLMs (GPT-4, ChatGPT, Claude-2.1, Mixtral-8x7B, Smaug-72B, Llama2-7B, and MPT-7B) allows us to estimate the liklihood of wrong or hallucinatory answers automatically and quantitatively rank the reliability of these models in various objective domains (Web QA, TruthfulQA, and Programming QA). Across all models and domains tested, human ratings confirm that $\gamma \to 0$ indicates trustworthiness, and the low-$\gamma$ leaders among these models are GPT-4, ChatGPT, and Smaug-72B.
[ -0.6996312141418457, -1.1598106622695923, 0.4150005280971527, 0.029260389506816864, -0.27352792024612427, 0.13092750310897827, -0.06797704100608826, -0.6127189993858337, -0.02083403430879116, 0.007204023655503988, -0.6539687514305115, -0.3924793303012848, -0.44179075956344604, 0.11257126182317734, -0.36405718326568604, 1.0098953247070312, 0.2432800829410553, 0.421609491109848, -0.1820114254951477, -0.28096169233322144, -0.3081238567829132, -0.5193727612495422, -0.6682150363922119, -0.4938660264015198, 0.36478233337402344, -0.1943334937095642, 1.1675735712051392, 0.44416144490242004, 0.6786987781524658, 0.148996502161026, -0.12327772378921509, 0.08142660558223724, -0.544054388999939, 0.22494235634803772, -0.16128063201904297, -0.8970525860786438, -0.7963506579399109, 0.3035423457622528, 0.13369810581207275, 0.398155152797699, -0.4415386915206909, 0.5322210788726807, 0.30254361033439636, 0.36589622497558594, -0.29739245772361755, 0.06593459844589233, -0.7639039158821106, 0.15459544956684113, -0.36327582597732544, -0.35181713104248047, -0.3473535478115082, -0.5763629078865051, 0.022035052999854088, -0.7057422995567322, 0.0005669497768394649, 0.29241040349006653, 0.9842919111251831, 0.5010271668434143, -0.38839662075042725, -0.17416532337665558, -0.8779719471931458, 0.9668961763381958, -0.7377930879592896, 0.37226444482803345, 0.6922665238380432, 0.7398123145103455, -0.2396063506603241, -0.7327457666397095, -0.5065779685974121, -0.5054730176925659, 0.25027579069137573, 0.4356660544872284, -0.12964823842048645, 0.06217722222208977, 0.30790209770202637, 0.6058498620986938, -0.3749820590019226, 0.01370012853294611, -0.028026845306158066, -0.4880291819572449, 0.5519086122512817, 0.3387610614299774, 0.35449156165122986, -0.16568613052368164, -0.49067923426628113, 0.13813146948814392, -0.6455018520355225, 0.22815410792827606, 0.3580286204814911, -0.07086826115846634, -0.09362922608852386, 0.6055177450180054, 0.44602611660957336, 0.434691458940506, 0.40913501381874084, -0.2364616096019745, -0.36543986201286316, -0.6849454641342163, -0.35663866996765137, -0.41131702065467834, 0.6851282715797424, 0.2693668603897095, 0.4322705566883087, -0.24828621745109558, -0.26263228058815, 0.36119142174720764, 0.5187350511550903, -0.6194648742675781, -0.17115159332752228, 0.18493327498435974, -0.516768217086792, -0.710602879524231, 0.08292990922927856, -0.6008635759353638, -0.3852873146533966, -0.16934026777744293, 0.490134060382843, -0.5288386344909668, -0.02874661795794964, -0.10810735076665878, 0.29910004138946533, 0.5862191319465637, 0.4415317177772522, -0.7867250442504883, 0.42922359704971313, 0.9583494067192078, 0.5980914831161499, -0.15078020095825195, -0.11900448054075241, -0.415304958820343, -0.3876943290233612, -0.5511709451675415, 0.5336195230484009, -0.07097115367650986, -0.3944091796875, -0.18959173560142517, -0.05558637157082558, 0.29991212487220764, -0.40500345826148987, 0.8303853869438171, -0.7809664607048035, 0.34597229957580566, -0.219155952334404, -0.6541422605514526, -0.3628367781639099, 0.5015966892242432, -0.33588865399360657, 1.154543399810791, 0.09906477481126785, -0.8714612126350403, 0.31233951449394226, -0.21189570426940918, 0.10930123925209045, -0.12035565823316574, -0.06952524185180664, -0.4538663923740387, 0.09016643464565277, 0.1069684773683548, 0.19667162001132965, -0.5355297923088074, 0.2690490782260895, -0.8212367296218872, -0.47388163208961487, 0.672691822052002, -0.982378363609314, 1.2110339403152466, 0.18559087812900543, -0.41522276401519775, 0.025719651952385902, -0.6270342469215393, 0.13553065061569214, 0.035327713936567307, -0.2044621706008911, -0.11051888018846512, -0.19536957144737244, -0.24947042763233185, 0.10982607305049896, 0.2497696429491043, -0.3556758165359497, -0.15848255157470703, -0.28902721405029297, 0.12536443769931793, 1.110665202140808, 0.15279315412044525, 0.13997280597686768, -0.8775216341018677, 0.8678506016731262, -0.051616545766592026, 0.3894610106945038, 0.11135731637477875, -0.7170411944389343, -0.500184178352356, -0.31117865443229675, 0.3269588053226471, 0.6710652709007263, -0.3942568004131317, 0.6958107352256775, -0.16724365949630737, -0.6286490559577942, -0.5342525243759155, 0.17175433039665222, 0.28963273763656616, 0.7904308438301086, 0.17875853180885315, -0.49959346652030945, -0.028015458956360817, -0.8242697715759277, -0.2827013432979584, -0.16079306602478027, -0.2704671323299408, 0.5251054167747498, 0.29699504375457764, -0.3902474045753479, 0.6638796925544739, -0.20970898866653442, -0.01499535795301199, 0.28842830657958984, 0.07833301275968552, 0.23308438062667847, 0.03145495429635048, 0.6243578791618347, -0.41447222232818604, -0.41157767176628113, -0.18670225143432617, -1.1506409645080566, -0.044534411281347275, 0.13684411346912384, -0.20169565081596375, 0.10655881464481354, 0.01264477800577879, -0.6090684533119202, 0.3875666558742523, 0.5012863874435425, -0.2785317301750183, 0.6629673838615417, -0.16812439262866974, 0.29328352212905884, -1.1378369331359863, 0.0041944473050534725, 0.18544700741767883, -0.6137741804122925, -0.3814248740673065, 0.23371754586696625, 0.04099976643919945, 0.14566291868686676, -0.36990243196487427, 0.4656297266483307, -0.20839646458625793, -0.2806541621685028, 0.004504714626818895, 0.27455005049705505, -0.2638006806373596, 0.43892383575439453, -0.8508992791175842, 0.9071540832519531, 0.7684084177017212, -0.6088359355926514, 0.8185014724731445, 0.23251527547836304, -0.12920379638671875, 1.0634050369262695, -0.7695946097373962, 0.1782592087984085, 0.0040507386438548565, 0.12496993690729141, -1.1023433208465576, -0.1700282096862793, 0.225261390209198, -0.7671827673912048, 0.1631290316581726, 0.002353495918214321, -0.41145265102386475, -0.2897602617740631, -0.6615137457847595, 0.42859187722206116, 0.8520376682281494, -0.5618674159049988, 0.6328139901161194, 0.36805152893066406, 0.10780204087495804, -0.6495465636253357, -0.6450066566467285, -0.06924959272146225, -0.2971687912940979, -0.9183972477912903, -0.22437240183353424, -0.3297862708568573, -0.7001452445983887, -0.20785431563854218, -0.45494478940963745, -0.2981061339378357, 0.6536794304847717, 0.4358197748661041, 0.6789911389350891, -0.2740195691585541, -0.32960712909698486, -0.40785104036331177, -0.26459360122680664, 0.3670542538166046, -0.20937275886535645, 0.2182157188653946, -0.4071381986141205, -0.6576460599899292, -0.7332673072814941, -0.3591994047164917, 0.7574283480644226, -0.0377381406724453, 0.29491186141967773, 0.6560677886009216, -0.5794750452041626, -0.3062196671962738, -0.2889307141304016, -0.4590895175933838, -0.5142560005187988, -0.02518349699676037, -0.17102624475955963, -0.6082937121391296, 0.9609099626541138, 0.20826490223407745, 0.1173720434308052, 0.21735194325447083, 0.6577781438827515, -0.15264490246772766, 0.95943683385849, 0.24582351744174957, -0.05652470886707306, 0.1476835161447525, 0.09818781912326813, 0.24548763036727905, -0.6604733467102051, -0.04677969589829445, -0.4736779034137726, -0.17239534854888916, -0.7349495887756348, -0.38570231199264526, 0.5056138038635254, 0.1259295493364334, -0.16697660088539124, 0.02797296643257141, -0.381947785615921, 0.18260858952999115, 0.5305681824684143, 0.23901645839214325, 0.38345852494239807, -0.15601083636283875, -0.0858670175075531, -0.334221750497818, -0.25415101647377014, -0.6322217583656311, 1.3883949518203735, 0.5953653454780579, 1.1447073221206665, 0.2167312055826187, 0.3600892722606659, 0.37164705991744995, 0.5903039574623108, -0.855253279209137, 0.5790437459945679, 0.37271562218666077, -0.746470034122467, -0.4581688642501831, -0.3723796010017395, -0.8289995789527893, 0.18825817108154297, -0.2673167884349823, -0.48306500911712646, -0.2794041633605957, 0.11662934720516205, -0.5105388164520264, 0.25396624207496643, 0.054776523262262344, 0.3441172242164612, -0.44499093294143677, -0.4423708915710449, -0.15118606388568878, -0.6769552826881409, 0.659787654876709, -0.4088015854358673, 0.28667938709259033, -0.1846107542514801, 0.0319095179438591, 0.49892657995224, -0.36093559861183167, 0.6864643096923828, 0.049806445837020874, -0.4554029405117035, 0.27153077721595764, 0.631935179233551, 0.5929340720176697, 0.34539249539375305, -0.0886990949511528, 0.42405346035957336, -0.07164496183395386, -0.35220399498939514, -0.8212106823921204, 0.6071768403053284, -0.7930462956428528, -0.6481660008430481, -0.5422896146774292, -0.37170228362083435, -0.3812401592731476, 0.37396588921546936, 0.2819049656391144, 0.46485015749931335, -0.2489912509918213, 0.28068807721138, 0.8762680292129517, 0.08642818033695221, 0.11923451721668243, 0.341329425573349, -0.3366287350654602, -0.5740628838539124, 0.4988122880458832, -0.011374111287295818, 0.3636952042579651, 0.09476067870855331, 0.18655653297901154, -0.30075016617774963, -0.6263906359672546, -0.2553163468837738, 0.11801964789628983, -0.6448472738265991, -0.1152704656124115, -0.034470073878765106, -0.29489749670028687, 0.08645380288362503, -0.1946345716714859, -0.38822880387306213, -0.4679640233516693, -0.25571516156196594, -0.41270047426223755, 0.06478485465049744, 0.7793871760368347, 0.0500679649412632, -0.24898310005664825, -0.6432202458381653, 0.5033639073371887, 0.6122344136238098, 0.25870442390441895, -0.10754675418138504, -0.8485144972801208, 0.017082257196307182, 0.3916938900947571, -0.4823931157588959, -0.8452727198600769, 0.14009025692939758, -0.02072668820619583, 0.7522974014282227, 0.5829432606697083, 0.12047117948532104, 0.5578122735023499, -0.1668042242527008, 1.0795904397964478, -0.04389578104019165, -1.0083810091018677, 0.27165332436561584, -0.712875247001648, -0.3950860798358917, 0.43064624071121216, 0.2694269120693207, -0.1390560269355774, -0.7458896040916443, -0.6940938830375671, -0.46431997418403625, 0.376443475484848, 0.2481667548418045, 0.038886841386556625, 0.20432531833648682, 0.7082805633544922, 0.10590106248855591, 0.1739785522222519, -0.8858253955841064, -0.6631399989128113, -0.3456431031227112, -0.19912758469581604, 0.07534576207399368, -0.3097604215145111, -0.5979509353637695, 0.015540950931608677, 0.5208348035812378, -0.2024109810590744, 0.15949563682079315, 0.02970755472779274, 0.07697436958551407, -0.5010852217674255, 0.11498026549816132, 0.6229910850524902, 0.8743210434913635, -0.45590952038764954, 0.4317842423915863, 0.4380475580692291, -0.40242472290992737, 0.3891617953777313, -0.17602834105491638, -0.2606273293495178, -0.24002981185913086, 0.429129421710968, 0.2700246274471283, 0.3301244080066681, -0.22085076570510864, 0.717896044254303, -0.3775100111961365, -0.16333884000778198, -0.4051409363746643, 0.13278844952583313, -0.02662069909274578, 0.07156176120042801, 0.2620854675769806, 0.2934189438819885, -0.0814317837357521, -0.5531018376350403, 0.46838974952697754, 0.9565032124519348, -0.5265148282051086, -0.6835373640060425, 1.2643259763717651, 0.007449645549058914, -0.4001160264015198, 0.3553977310657501, -0.06397806853055954, -0.3089587688446045, 0.4235092103481293, 0.39017635583877563, 0.9060842990875244, -0.17913919687271118, 0.16988791525363922, 0.17684854567050934, 0.3867114782333374, -0.16665604710578918, 0.21139578521251678, 0.06379938870668411, -0.6435908079147339, 0.17018085718154907, -0.4914396107196808, -0.6936641335487366, -0.23733709752559662, -1.152353048324585, 0.06805552542209625, -0.748245120048523, -0.6108973622322083, -0.15696564316749573, 0.1965952217578888, -0.41182973980903625, 0.08568178117275238, -0.058379314839839935, 0.9576530456542969, -0.49239620566368103, 0.6450467705726624, 0.4816921651363373, -0.22414253652095795, -0.7637708187103271, 0.2497263252735138, 0.32364773750305176, -1.2899644374847412, 0.375853955745697, -0.2931646406650543, -0.33972516655921936, -0.13614003360271454, -0.6965333223342896, -0.705679178237915, 1.595611810684204, 0.5603443384170532, -0.25697410106658936, 0.16619206964969635, -0.2230219691991806, 0.7573304176330566, 0.196053609251976, 0.2793789207935333, 0.24783959984779358, 0.5165177583694458, 0.03430629521608353, -1.1562507152557373, 0.20270182192325592, 0.08087389916181564, 0.07792439311742783, -0.1272132694721222, -0.7711569666862488, 0.8015227317810059, -0.1910092830657959, -0.46945786476135254, 0.2730507254600525, 0.5075094699859619, 0.5096985101699829, 0.26695314049720764, 0.293027400970459, 0.5550541281700134, 1.2955125570297241, -0.15810942649841309, 1.236685037612915, -0.8878752589225769, 0.6433226466178894, 0.7210606336593628, -0.1712283492088318, 0.5141423344612122, 0.2463105022907257, -0.35927024483680725, 0.08630342781543732, 0.8038173317909241, -0.1326388418674469, 0.4045042097568512, 0.22098295390605927, -0.16759279370307922, -0.45499950647354126, 0.1451328843832016, -0.2883673906326294, 0.10595111548900604, 0.06700251251459122, 0.011368868872523308, -0.20015603303909302, -0.40045222640037537, 0.3596893846988678, -0.05282212421298027, -0.207790344953537, 0.4745296239852905, 0.5569981932640076, -0.6006814241409302, 0.8003425002098083, -0.027627723291516304, 0.7631014585494995, -0.6311452388763428, 0.3294250965118408, -0.45250317454338074, 0.27366575598716736, -0.24831774830818176, -0.6831708550453186, 0.08475803583860397, -0.1957954466342926, 0.18373854458332062, 0.050688307732343674, 0.6739389300346375, -0.02674081176519394, -0.3344574570655823, 0.38346388936042786, 0.6280277967453003, -0.15416212379932404, 0.4278295338153839, -0.6967152953147888, -0.31183940172195435, -0.0771624743938446, -0.34904953837394714, 0.29273855686187744, 0.43362805247306824, 0.12936808168888092, 1.2559150457382202, 0.7930578589439392, 0.2615242004394531, 0.23284156620502472, -0.37866878509521484, 0.4919557571411133, -0.5721176862716675, -0.3823971748352051, -0.9772192239761353, 0.21057195961475372, 0.2932364046573639, -0.14615724980831146, 1.4507999420166016, 0.2363530993461609, 0.47017374634742737, 0.24117746949195862, 0.7520545125007629, 0.6939567923545837, 0.20912355184555054, -0.47126707434654236, 0.7173041105270386, -0.3846825063228607, 0.5301650166511536, -0.033536478877067566, -0.9704760313034058, -0.4601846933364868, 0.6711311340332031, 0.13425213098526, 0.1161150261759758, 0.6251647472381592, 0.8185915350914001, -0.12889336049556732, 0.10544002801179886, 0.47463491559028625, 0.41269636154174805, 0.5755720734596252, 0.322024941444397, 0.9600123167037964, -0.3119167387485504, 0.41332659125328064, -0.07425638288259506, -0.37822362780570984, -0.18115320801734924, -0.7222779393196106, -0.9926438927650452, 0.03222738206386566, -0.2415940761566162, -0.8890208601951599, -0.14373984932899475, 0.7260384559631348, 0.6868631839752197, -0.76284259557724, -0.02159801684319973, -0.09511590003967285, 0.27400222420692444, -0.29732832312583923, -0.2279806286096573, 0.07523680478334427, -0.18414951860904694, -0.40470439195632935, 0.19323799014091492, 0.32461047172546387, 0.4223305583000183, -0.6404716372489929, -0.14127449691295624, 0.5276623964309692, 0.6611933708190918, 0.15850752592086792, 0.13357941806316376, -0.8644912242889404, -0.5553634166717529, 0.2519158124923706, -0.4311964809894562, 0.10782389342784882, 0.45904698967933655, -0.26615187525749207, 0.292255699634552, 0.3865954875946045, 0.5551264882087708, 0.1023450419306755, 0.4216260313987732, 0.6638010144233704, -0.3355502784252167, -0.08705537766218185, 0.35163962841033936, 0.4717654883861542, 0.19748882949352264, -0.31375864148139954, 0.5030664205551147, 0.3397497236728668, -0.9958354234695435, -0.9584540724754333, 0.3103792667388916, -1.098290205001831, 0.2279830425977707, 1.0253716707229614, -0.31750157475471497, -0.2417534440755844, -0.2064160704612732, -0.041706424206495285, -0.1164635717868805, -0.16100537776947021, 1.2160197496414185, 0.8445091843605042, -0.2895071506500244, 0.1367608904838562, -0.6414525508880615, 0.7248773574829102, 0.34501272439956665, -0.7437043190002441, 0.03382473066449165, 0.46415847539901733, 0.5387520790100098, 0.306938499212265, 0.7054961919784546, -0.37529808282852173, 0.43883568048477173, 0.06675363332033157, -0.4495413601398468, -0.28164735436439514, -0.040143392980098724, -0.5556707382202148, 0.2666320502758026, 0.44627442955970764, -0.19755224883556366 ]
http://arxiv.org/abs/2404.19705v2
http://arxiv.org/pdf/2404.19705v2
When to Retrieve: Teaching LLMs to Utilize Information Retrieval Effectively
2024-04-30T16:52:55
2024-05-06T19:08:10
Tiziano Labruna, Jon Ander Campos, Gorka Azkune
cs.CL
cs.CL, cs.IR
In this paper, we demonstrate how Large Language Models (LLMs) can effectively learn to use an off-the-shelf information retrieval (IR) system specifically when additional context is required to answer a given question. Given the performance of IR systems, the optimal strategy for question answering does not always entail external information retrieval; rather, it often involves leveraging the parametric memory of the LLM itself. Prior research has identified this phenomenon in the PopQA dataset, wherein the most popular questions are effectively addressed using the LLM's parametric memory, while less popular ones require IR system usage. Following this, we propose a tailored training approach for LLMs, leveraging existing open-domain question answering datasets. Here, LLMs are trained to generate a special token, <RET>, when they do not know the answer to a question. Our evaluation of the Adaptive Retrieval LLM (Adapt-LLM) on the PopQA dataset showcases improvements over the same LLM under three configurations: (i) retrieving information for all the questions, (ii) using always the parametric memory of the LLM, and (iii) using a popularity threshold to decide when to use a retriever. Through our analysis, we demonstrate that Adapt-LLM is able to generate the <RET> token when it determines that it does not know how to answer a question, indicating the need for IR, while it achieves notably high accuracy levels when it chooses to rely only on its parametric memory.
[ -0.476979523897171, -0.5235417485237122, 0.5377283692359924, -0.09165734797716141, -0.17448437213897705, -0.014681953005492687, -0.2551708221435547, -0.12008699029684067, -0.014506865292787552, 0.4846027195453644, -0.30592915415763855, -0.2500661611557007, -0.3986964821815491, 0.03688463568687439, -0.30147093534469604, 0.7942650318145752, 0.008528143167495728, 0.13942980766296387, -0.2290128469467163, -0.27110549807548523, -0.6415959000587463, -0.6347423195838928, -0.7195228338241577, -0.09722799807786942, 0.5546483397483826, 0.7039881944656372, 0.43454569578170776, 0.626246452331543, 0.4001348316669464, 0.18783403933048248, 0.009905112907290459, 0.22512798011302948, -0.8154112100601196, 0.0944862812757492, -0.26522397994995117, -0.7656177878379822, 0.028287434950470924, -0.32809486985206604, 0.5986024737358093, 0.6187745332717896, -0.3989923596382141, 0.3189907968044281, -0.035787053406238556, 0.591903567314148, -0.8630093336105347, -0.07539089769124985, -1.1705600023269653, -0.06842110306024551, -0.06369512528181076, -0.6426885724067688, -0.5956565737724304, -0.33902502059936523, 0.3498461842536926, -0.6212131977081299, -0.004684966057538986, 0.2649649679660797, 0.6049577593803406, 0.1362701952457428, -0.6147003769874573, -0.48765847086906433, -0.6365828514099121, 0.7953535318374634, -0.3911844491958618, 0.461163192987442, 0.5385255813598633, 0.47784367203712463, -0.22813749313354492, -0.6563847064971924, -0.20566119253635406, -0.11436630040407181, 0.14178051054477692, 0.04219209402799606, -0.05625945329666138, -0.21833136677742004, 0.21717026829719543, 0.15439878404140472, -0.4500112533569336, -0.13006727397441864, -0.43126869201660156, -0.00561487628147006, 0.11738688498735428, 0.1821327805519104, 0.1282745748758316, -0.023439321666955948, -0.6167906522750854, 0.16831155121326447, -0.9211450219154358, 0.002977658761665225, 0.03178882598876953, 0.3814532458782196, 0.4406370520591736, 0.6328560709953308, 0.131541907787323, 0.7905591726303101, 0.14203855395317078, -0.0017416381742805243, 0.024428632110357285, -0.12213430553674698, 0.0937202200293541, -0.03137021139264107, 0.303074449300766, 0.14152057468891144, 0.4466313421726227, -0.23169617354869843, -0.5164496302604675, -0.7497103810310364, 0.4377096891403198, -0.760209321975708, -0.042189452797174454, -0.009021773934364319, -0.49804770946502686, 0.18219104409217834, -0.005094077438116074, -0.6063193082809448, -0.2133599817752838, -0.273821085691452, 0.9086933135986328, -0.4965543746948242, -0.13259054720401764, 0.26857396960258484, -0.18048928678035736, 0.4024057686328888, 0.24744562804698944, -0.9447740912437439, 0.3644465506076813, 0.3139711916446686, 0.6472969055175781, -0.3512409031391144, -0.11970836669206619, -1.0059924125671387, 0.3434922695159912, -0.3256048262119293, 0.8710808157920837, -0.4799843728542328, -0.2955913245677948, 0.08845590800046921, 0.07443854957818985, -0.25295722484588623, -0.8881911039352417, 0.28846126794815063, -0.9606148600578308, 0.17473062872886658, -0.41954147815704346, -0.6365388631820679, -0.017238901928067207, 0.3478087782859802, -0.6173929572105408, 0.9242991209030151, 0.11517709493637085, -0.758635938167572, 0.15856815874576569, -0.5918830037117004, -0.17919838428497314, -0.1067916601896286, 0.029550446197390556, -0.052170608192682266, 0.19464118778705597, 0.2996617257595062, 0.27080366015434265, -0.21910792589187622, 0.10540636628866196, -0.1000499576330185, -0.4925616383552551, 0.318499892950058, -0.17242582142353058, 0.4574001729488373, 0.3109204173088074, 0.15128794312477112, -0.15273863077163696, -0.7049362063407898, 0.07679757475852966, 0.22926701605319977, -0.9299332499504089, -0.437965452671051, 0.18575522303581238, -0.29149094223976135, -0.06669401377439499, 0.4052915573120117, -0.5652429461479187, -0.01824089325964451, -0.3095548152923584, 0.3274555504322052, 0.6695852279663086, 0.07860737293958664, 0.47619304060935974, -0.5677652955055237, 0.514392077922821, -0.10232017189264297, -0.09788735955953598, -0.25189733505249023, -0.09699448198080063, -0.8201463222503662, -0.011641659773886204, 0.09219839423894882, 0.5446452498435974, -1.040683627128601, 0.015430347993969917, -0.11524226516485214, -0.22096562385559082, -0.3542681038379669, 0.3573974072933197, 0.15279987454414368, 0.6747320294380188, 0.4900028705596924, -0.08127827942371368, -0.6914681196212769, -0.5701621770858765, -0.4277779459953308, -0.311996728181839, -0.05583372712135315, 0.7046027779579163, 0.2752794325351715, 0.22824852168560028, 1.0185054540634155, -0.576661229133606, -0.00728366244584322, -0.4093044698238373, -0.06957242637872696, 0.11039826273918152, 0.06250140815973282, 0.3696839213371277, -0.8870205283164978, -0.2641759216785431, -0.2774096131324768, -0.6719014644622803, -0.05344800651073456, -0.06187252327799797, -0.20094242691993713, 0.07511211186647415, 0.5522947311401367, -0.477030485868454, 0.24666818976402283, 0.08846709132194519, -0.16748569905757904, 0.27321186661720276, -0.3647279739379883, 0.05467362701892853, -1.0847939252853394, 0.1941412389278412, -0.144118994474411, -0.2542564570903778, -0.4381265640258789, 0.02288040705025196, 0.23739774525165558, -0.1371280550956726, -0.6283475160598755, 0.8118775486946106, -0.7202538251876831, -0.2649514973163605, -0.5210981369018555, 0.20898959040641785, 0.04000816494226456, 0.29110467433929443, 0.15777164697647095, 1.1682475805282593, 0.1990271508693695, -0.9169734716415405, 0.18216481804847717, 0.34285667538642883, -0.4441428780555725, 0.4930463135242462, -0.37223801016807556, 0.3433586359024048, -0.4616527259349823, 0.10016614198684692, -1.0006331205368042, -0.06076924130320549, -0.0626947283744812, -0.48544150590896606, 0.3304835855960846, -0.13996398448944092, -0.3804647922515869, -0.3539663851261139, -0.1818639487028122, 0.32726404070854187, 0.5086187124252319, -0.994674801826477, 0.6986227631568909, 0.38035425543785095, -0.0986543595790863, -0.7776857018470764, -0.4617490768432617, -0.04208328202366829, -0.4966592788696289, -0.34003421664237976, 0.15854011476039886, -0.3157646656036377, 0.00020971977210137993, -0.09513930231332779, -0.17640310525894165, -0.26726654171943665, 0.32677730917930603, -0.22977334260940552, 0.1036904901266098, -0.5230025053024292, 0.5186771750450134, -0.21594280004501343, 0.008726298809051514, 0.02310936525464058, -0.26076754927635193, 0.6012837290763855, -0.032476142048835754, -0.3401399552822113, 0.04824857786297798, 0.2612576484680176, 0.324655145406723, -0.15488703548908234, 0.9499620795249939, 0.24772892892360687, -0.30401602387428284, -0.12263055890798569, -0.7081964015960693, -0.40364477038383484, -0.4559406042098999, 0.5050952434539795, -0.4048057794570923, -0.7519790530204773, 0.49263614416122437, -0.10968610644340515, 0.10658099502325058, 0.07942283153533936, 0.5252436995506287, -0.17451833188533783, 0.783674955368042, 0.4567635953426361, -0.07892394065856934, 0.705069363117218, 0.032638367265462875, -0.02342108264565468, -1.0379469394683838, -0.40714502334594727, -0.5610750913619995, -0.22100131213665009, -0.08367876708507538, -0.3759273886680603, 0.2178625762462616, 0.24756745994091034, -0.4758521318435669, 0.23891285061836243, -0.19945411384105682, 0.4919939637184143, 0.5872572660446167, 0.2663920819759369, 0.2620483934879303, 0.19348809123039246, -0.12714721262454987, 0.06927128881216049, -0.8139599561691284, -0.37164589762687683, 1.5013105869293213, 0.20015332102775574, 1.0666229724884033, 0.13113467395305634, 0.6264419555664062, -0.0017253945115953684, 0.36758217215538025, -0.8104757070541382, 0.5641148090362549, -0.004559861961752176, -0.6663572192192078, -0.1144881397485733, -0.5182751417160034, -1.1859123706817627, 0.23975200951099396, 0.03717494383454323, -0.4889259338378906, 0.09952300786972046, 0.08401443064212799, -0.300753116607666, 0.35157227516174316, -0.7174230813980103, 0.3946111500263214, -0.4590872526168823, -0.18658430874347687, -0.04015732556581497, -0.4921542704105377, -0.10681714862585068, -0.21819265186786652, -0.0004327289934735745, 0.08572866767644882, -0.45925575494766235, 0.7470685243606567, -0.030344055965542793, 0.5679792165756226, -0.3979460299015045, 0.1493620127439499, 0.5065059065818787, 0.03222665190696716, 0.36634698510169983, -0.13792794942855835, -0.5034361481666565, -0.4716564416885376, 0.1170230358839035, -0.45840978622436523, -0.7497804760932922, 0.5996560454368591, -0.6710615158081055, -0.9754443168640137, -0.2131175994873047, -0.6297287940979004, -0.3776260018348694, 0.10018449276685715, 0.09281309694051743, 0.3285973072052002, -0.2184045910835266, 0.5275260210037231, 0.9932420253753662, -0.3793998956680298, 0.30600669980049133, 0.9487056136131287, -0.25036486983299255, -0.428724080324173, 0.8863725662231445, 0.22988104820251465, 0.41237562894821167, 0.6020967960357666, 0.3615489900112152, -0.3819563686847687, -0.553593099117279, -0.43360453844070435, 0.19896461069583893, -0.9597457051277161, -0.36993685364723206, -0.5691651105880737, -0.3147398829460144, -0.15956029295921326, 0.22072148323059082, -0.04822017252445221, -0.24458646774291992, -0.587357759475708, -0.001056768000125885, 0.5648983120918274, 0.3547426462173462, 0.022848837077617645, 0.3312072455883026, -0.8437871932983398, 0.22969430685043335, 0.2692996561527252, 0.16977818310260773, 0.03128581866621971, -0.9998714327812195, -0.14795880019664764, -0.05081169307231903, -0.36126822233200073, -0.6392473578453064, 0.28231513500213623, 0.4933221936225891, 0.8835047483444214, 0.1419365555047989, 0.17164961993694305, 0.5463448166847229, -0.46671202778816223, 0.45177724957466125, -0.22728806734085083, -0.49158596992492676, 0.7027909755706787, -0.3232177495956421, 0.4132459759712219, 0.6340150833129883, 0.7305761575698853, -0.37569376826286316, -0.035990871489048004, -0.27802708745002747, -0.8336995840072632, 0.7387683987617493, -0.2621712386608124, 0.48494482040405273, -0.4313710331916809, 0.8127638697624207, 0.26586252450942993, 0.3665946424007416, -0.6957029700279236, -0.12786947190761566, 0.04025886580348015, -0.4236815869808197, 0.17126305401325226, -0.47791123390197754, 0.017217114567756653, -0.01643231511116028, 0.5622583627700806, -0.30331677198410034, 0.486785888671875, -0.004551060032099485, -0.24752821028232574, -0.09915724396705627, 0.2108674943447113, 0.17143991589546204, 0.9039881229400635, -0.4103911817073822, 0.19780921936035156, 0.2793516516685486, -0.32713091373443604, 0.11870164424180984, -0.12523706257343292, 0.015944207087159157, -0.23917552828788757, 0.018393559381365776, 0.6568902134895325, 0.2823469042778015, -1.0218397378921509, 0.43982699513435364, -0.16681696474552155, -0.05330885574221611, -0.26981034874916077, 0.22811461985111237, 0.34693196415901184, 0.24291649460792542, 0.6279521584510803, -0.30823788046836853, 0.014579963870346546, -0.6464758515357971, 0.3325071632862091, 0.5903738141059875, -0.21850287914276123, -0.043980613350868225, 0.4198533892631531, -0.08721756935119629, -0.5504360198974609, 0.6813121438026428, 0.29757407307624817, -0.28607791662216187, 0.4768916666507721, 0.9854028224945068, 0.4759772717952728, -0.4497120976448059, 0.04250381514430046, 0.22192570567131042, 0.048721861094236374, -0.2217622548341751, 0.5153290033340454, -0.053153958171606064, -0.6972528696060181, -0.11010372638702393, -0.4739348888397217, -0.33950257301330566, 0.27845725417137146, -0.8408133387565613, 0.21742281317710876, -0.5584630370140076, -0.005290050525218248, -0.4870093762874603, -0.19428741931915283, -0.5576155781745911, 0.19516955316066742, -0.2096155285835266, 1.1484824419021606, -0.4928103983402252, 0.7101688981056213, 0.7251225113868713, -0.306716650724411, -0.7180440425872803, 0.19465629756450653, -0.2573927044868469, -1.2419153451919556, 0.7054507732391357, 0.03983238339424133, -0.017047639936208725, 0.14379481971263885, -0.5078232884407043, -1.2148786783218384, 1.1424846649169922, 0.5610520839691162, -0.3380054533481598, -0.04174620658159256, -0.0653296634554863, 0.40352895855903625, -0.4839891493320465, 0.2600436508655548, 0.46124276518821716, 0.0948929637670517, 0.5600529313087463, -0.6137346625328064, -0.08726505935192108, 0.011979899369180202, -0.06072100251913071, 0.20599539577960968, -0.6115530133247375, 0.731680691242218, -0.2953304946422577, -0.12425152212381363, 0.3364759385585785, 0.610451340675354, 0.3923839330673218, 0.3093838393688202, 0.46768057346343994, 0.261004775762558, 0.8280781507492065, 0.17923517525196075, 0.8684512376785278, -0.17269378900527954, 0.105188749730587, 1.193917155265808, -0.20493772625923157, 1.287986159324646, 0.6405699849128723, 0.11885091662406921, 0.2105541080236435, 0.7292428612709045, 0.24563995003700256, 0.7643887996673584, 0.36703360080718994, -0.2933059632778168, -0.3089422583580017, -0.06616510450839996, -0.20663008093833923, 0.31132379174232483, 0.5175250172615051, -0.4723189175128937, -0.43758630752563477, 0.40125802159309387, -0.2069339156150818, 0.12016331404447556, -0.37360644340515137, 0.952971875667572, 0.22191660106182098, -0.7763736844062805, 0.7460440993309021, -0.1497325301170349, 0.31516486406326294, -0.5619475245475769, 0.2103787064552307, -0.5086416602134705, 0.27515047788619995, -0.01960751786828041, -0.7573719620704651, 0.13220712542533875, -0.008881540969014168, -0.2857724726200104, -0.04090951010584831, 0.642571210861206, -0.46033743023872375, -0.3355496823787689, 0.4131101667881012, 0.555822491645813, 0.26741769909858704, 0.13462838530540466, -0.6284483075141907, -0.12148703634738922, -0.000020355812011985108, -0.44643455743789673, 0.6169469356536865, 0.6224566698074341, 0.05083128809928894, 1.064192533493042, 0.36135536432266235, 0.1387767493724823, 0.20272238552570343, 0.010339255444705486, 1.0381923913955688, -0.5833917856216431, -0.19139455258846283, -0.6223979592323303, 0.15707410871982574, 0.2497178316116333, -0.06755076348781586, 0.6639140248298645, 0.651162326335907, 0.6843623518943787, 0.05254785344004631, 0.6861935257911682, 0.2591519057750702, 0.8482651114463806, -0.7670629620552063, 0.34034690260887146, -0.7881598472595215, 0.5887062549591064, 0.20266033709049225, -1.016406774520874, -0.039950888603925705, 0.6062754392623901, -0.586243212223053, 0.19037987291812897, 0.6310511231422424, 0.7460593581199646, -0.08539403975009918, 0.05638303980231285, 0.2624889314174652, -0.05669303238391876, 0.31822359561920166, 0.8017959594726562, 1.1035373210906982, -0.23546482622623444, 0.9453774094581604, 0.3314606547355652, -0.04663267731666565, -0.2555609345436096, -0.6650311350822449, -0.8569270372390747, -0.39961645007133484, 0.03142028674483299, -0.439953088760376, 0.2810707092285156, 0.8631842732429504, 0.4156804084777832, -0.5847536325454712, -0.39258214831352234, 0.14238318800926208, 0.07353589683771133, 0.31003525853157043, -0.1656283289194107, 0.2948611378669739, -0.5886502265930176, -0.46402913331985474, 0.41065162420272827, 0.1424233317375183, -0.04250836744904518, 0.01882348209619522, 0.012167626991868019, -0.4317414164543152, 0.22560589015483856, 0.3099691867828369, 0.46466538310050964, -0.460995614528656, -0.3830680549144745, 0.4276871979236603, -0.04970008134841919, 0.492794007062912, 0.8994073867797852, -0.8286388516426086, 0.524902880191803, 0.3912721574306488, 1.1349583864212036, 0.4811357259750366, 0.18770016729831696, 0.6621547937393188, -0.5639097094535828, -0.09717824310064316, 0.2865615487098694, 0.220527783036232, 0.4021340608596802, -0.431396484375, 0.19993090629577637, -0.11035686731338501, -0.6387060284614563, -0.7274140119552612, 0.06043851003050804, -0.48217928409576416, -0.4086974561214447, 1.2919334173202515, -0.24466510117053986, -0.1802080124616623, -0.3776625394821167, -0.32374444603919983, -0.07641268521547318, -0.2934994399547577, 0.7481964230537415, 0.6902201771736145, -0.07250051200389862, -0.34421810507774353, -0.585864245891571, 0.2895854711532593, 0.5108489990234375, -0.613359272480011, -0.00020998147374484688, 0.19841410219669342, 0.7804028391838074, -0.18637721240520477, 0.7651118636131287, -0.059579186141490936, 0.21184812486171722, -0.40600088238716125, -0.36423420906066895, 0.018982907757163048, -0.34674933552742004, -0.19403980672359467, 0.24268470704555511, 0.4969629943370819, -0.3549601435661316 ]
http://arxiv.org/abs/2404.19696v1
http://arxiv.org/pdf/2404.19696v1
Naturally Supervised 3D Visual Grounding with Language-Regularized Concept Learners
2024-04-30T16:44:18
2024-04-30T16:44:18
Chun Feng, Joy Hsu, Weiyu Liu, Jiajun Wu
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
3D visual grounding is a challenging task that often requires direct and dense supervision, notably the semantic label for each object in the scene. In this paper, we instead study the naturally supervised setting that learns from only 3D scene and QA pairs, where prior works underperform. We propose the Language-Regularized Concept Learner (LARC), which uses constraints from language as regularization to significantly improve the accuracy of neuro-symbolic concept learners in the naturally supervised setting. Our approach is based on two core insights: the first is that language constraints (e.g., a word's relation to another) can serve as effective regularization for structured representations in neuro-symbolic models; the second is that we can query large language models to distill such constraints from language properties. We show that LARC improves performance of prior works in naturally supervised 3D visual grounding, and demonstrates a wide range of 3D visual reasoning capabilities-from zero-shot composition, to data efficiency and transferability. Our method represents a promising step towards regularizing structured visual reasoning frameworks with language-based priors, for learning in settings without dense supervision.
[ -0.31763243675231934, -0.8705660700798035, 0.5298422574996948, 0.03330623358488083, -0.3687047064304352, -0.07132712751626968, -0.15700261294841766, -0.3317900598049164, 0.041956037282943726, 0.5187668204307556, -0.18569786846637726, -0.7213650345802307, -0.29752492904663086, 0.1881892830133438, 0.1328984647989273, 0.7054449319839478, -0.24676665663719177, 0.012227172963321209, -0.3556152880191803, -0.08752801269292831, -0.5820680260658264, -0.5458023548126221, -0.5796306133270264, -0.09667035937309265, 0.551748514175415, 0.3393900692462921, 0.7598274350166321, 0.7970137596130371, 0.6373664140701294, 0.27060121297836304, -0.12690557539463043, 0.30167844891548157, -0.6265301704406738, -0.14036987721920013, -0.06165172532200813, -0.5827032327651978, -0.11236216127872467, 0.013909748755395412, 0.6732917428016663, 1.0334466695785522, 0.015465485863387585, -0.3892567455768585, -0.06794305145740509, 0.8681212067604065, -0.7192032337188721, 0.391170471906662, -0.4003016948699951, 0.2778030037879944, 0.22343868017196655, -0.06644384562969208, -0.08352085947990417, -0.3663533926010132, 0.022753765806555748, -0.952854335308075, 0.6056283116340637, 0.03207189962267876, 1.0951318740844727, 0.7881210446357727, -0.2702464163303375, 0.2556631565093994, -0.5872564315795898, 0.5263685584068298, -0.303392231464386, 0.676558792591095, 0.612467348575592, 0.4732568562030792, -0.07566218823194504, -0.5426395535469055, -0.5059911012649536, -0.4470195174217224, -0.1953621208667755, 0.20064598321914673, 0.30289480090141296, 0.32235321402549744, 0.6584054231643677, 0.5383466482162476, -0.4428142011165619, -0.05426734685897827, -0.585207462310791, -0.13645786046981812, 0.47255071997642517, -0.22847440838813782, 0.36295652389526367, -0.12256201356649399, -0.2114701122045517, -0.468253493309021, -0.7379468083381653, 0.11594162881374359, -0.06476316601037979, 0.45070451498031616, -0.3523572087287903, 0.6537439823150635, -0.39069658517837524, 1.0318259000778198, -0.10973820090293884, -0.029641281813383102, 0.12065324932336807, -0.13728009164333344, -0.2829841375350952, 0.06705983728170395, 0.4368569254875183, 0.441400408744812, 0.4757586419582367, -0.2769319713115692, -0.11931714415550232, 0.4020921587944031, 0.2471158802509308, -0.666523277759552, -0.47775813937187195, -0.14524869620800018, 0.057351987808942795, 0.10062653571367264, 0.40058043599128723, -0.35289159417152405, -0.5215273499488831, -0.6115191578865051, 0.11073176562786102, -0.35256120562553406, -0.17133896052837372, 0.4532310366630554, -0.15623241662979126, 0.30725881457328796, 0.4659889340400696, -0.5367516279220581, 0.3310312032699585, 0.4517039656639099, 0.8897765874862671, -0.0803297758102417, -0.0885259360074997, -0.7656888365745544, 0.4146232008934021, -0.6384604573249817, 0.623849630355835, -0.3239986300468445, -0.34116920828819275, -0.14643801748752594, 0.0037928675301373005, 0.05491981282830238, -0.4798036217689514, 0.34965774416923523, -0.46633654832839966, 0.17957504093647003, -0.24350370466709137, -0.28646019101142883, -0.23047088086605072, 0.4024200439453125, -0.7373291254043579, 0.808210551738739, 0.1731397956609726, -0.7780483961105347, 0.4145760238170624, -0.21203339099884033, -0.4740723669528961, 0.12791545689105988, -0.5896949172019958, 0.007763597648590803, 0.1946275681257248, 0.4397551119327545, 0.48152029514312744, 0.00700001884251833, 0.3697594702243805, -0.21734675765037537, -0.49973931908607483, -0.4109460413455963, 0.09016851335763931, 0.40325433015823364, -0.06634894013404846, -0.13213545083999634, 0.08307605236768723, -0.8835258483886719, -0.11643063277006149, 0.14488251507282257, -0.021870143711566925, -0.48910096287727356, -0.08461137861013412, -0.18476396799087524, 0.3415106236934662, -0.04583381116390228, -0.3331403136253357, -0.0136029701679945, -0.7179722189903259, 0.08758231997489929, 0.3232452869415283, 0.01340307667851448, 0.7405953407287598, -0.026432093232870102, 0.33940625190734863, -0.05348363518714905, -0.23167197406291962, -0.0003036801645066589, -0.2720601558685303, -0.815684974193573, -0.503052294254303, 0.12738226354122162, 0.5684443712234497, -0.9349536299705505, 0.5742697715759277, -0.2956100106239319, -0.08898323774337769, -0.21629451215267181, 0.2952573001384735, 0.39850446581840515, 0.7905516028404236, 0.5909793972969055, -0.08265584707260132, -0.43772631883621216, -1.1102606058120728, 0.21351933479309082, -0.02484886161983013, -0.3683519661426544, 0.10434063524007797, 0.3670630156993866, -0.1248999685049057, 1.0702424049377441, -0.6364061832427979, -0.7351176738739014, -0.16102178394794464, -0.027746936306357384, 0.23499302566051483, 0.6994126439094543, 0.42187413573265076, -1.0309940576553345, -0.44004327058792114, 0.19425836205482483, -0.9789956212043762, 0.016321007162332535, -0.13239780068397522, -0.16572843492031097, 0.0767531618475914, 0.8905434608459473, -0.381285160779953, 0.5521652698516846, 0.2084828019142151, -0.21073462069034576, -0.09998644888401031, -0.3197025656700134, -0.18739034235477448, -0.6312287449836731, -0.05996355414390564, 0.26965466141700745, -0.18258394300937653, -0.5307105779647827, 0.21765971183776855, -0.02930804342031479, -0.08418101817369461, -0.5110979676246643, 0.5805680751800537, -0.43344154953956604, 0.12329162657260895, -0.19667936861515045, 0.25597068667411804, 0.199778214097023, 0.7589733004570007, 0.9568368196487427, 0.34835851192474365, 0.7981323599815369, -0.7258588075637817, 0.06905540078878403, 0.344705730676651, -0.30372029542922974, 0.6482804417610168, -0.9388859272003174, 0.20284834504127502, -0.2888348698616028, 0.3349219858646393, -0.6287379860877991, -0.20806320011615753, 0.21967610716819763, -0.13871818780899048, 0.1134757325053215, -0.257967472076416, -0.6301302909851074, -0.15190862119197845, -0.07479394227266312, 0.24182532727718353, 0.3585880994796753, -0.5739718079566956, 0.5043419003486633, 0.1736110895872116, 0.36983686685562134, -0.2734346091747284, -0.6373152732849121, 0.058774758130311966, -0.06257682293653488, -0.6039449572563171, 0.4035155177116394, 0.1093938872218132, -0.36813226342201233, 0.033664654940366745, -0.6585221886634827, -0.2333446592092514, 0.001855842536315322, 0.375385046005249, 0.17242848873138428, -0.22086268663406372, -0.17135870456695557, -0.1547417938709259, -0.19211317598819733, 0.027758261188864708, 0.019084975123405457, 0.12301609665155411, -0.39235368371009827, -0.2572786211967468, -0.6176276206970215, 0.22030331194400787, 0.1791214793920517, -0.17915816605091095, 0.6708488464355469, 0.5421118140220642, -0.7029261589050293, -0.08219701051712036, -0.5469775795936584, -0.29420390725135803, -0.45986148715019226, 0.34511876106262207, -0.6409343481063843, -1.0665453672409058, 0.22687482833862305, 0.17673276364803314, -0.1896975189447403, 0.151496022939682, 0.07679308205842972, -0.22184744477272034, 1.1991429328918457, 0.9501489400863647, 0.19279514253139496, 0.3255595564842224, -0.5980779528617859, 0.12809032201766968, -0.786675751209259, -0.3593021631240845, -0.18904833495616913, -0.13840332627296448, -0.2169632464647293, -0.7475687861442566, 0.258861243724823, 0.70570307970047, -0.32101544737815857, 0.046763088554143906, -0.40773558616638184, 0.6888786554336548, 0.4923185408115387, 0.2805216908454895, 0.1044437512755394, 0.09636003524065018, -0.20904836058616638, -0.06597983092069626, -0.6885963678359985, -0.42669036984443665, 0.47461944818496704, 0.20569375157356262, 0.49017536640167236, -0.1364344358444214, 0.5138999223709106, -0.2407771497964859, 0.20071372389793396, -0.695035457611084, 0.3586159348487854, -0.017341552302241325, -0.23625323176383972, -0.25264912843704224, -0.5432416796684265, -0.6689965724945068, 0.5916469693183899, -0.3204648494720459, -0.6260954737663269, 0.33324670791625977, 0.1876525729894638, -0.47798940539360046, 0.2606877088546753, -0.6117792129516602, 0.9787774682044983, -0.2125726193189621, -0.6499400734901428, -0.0226979348808527, -0.8563796281814575, 0.3805899918079376, 0.043938424438238144, 0.2873186767101288, -0.018488677218556404, 0.09833994507789612, 0.4011758863925934, -0.36224931478500366, 0.9941118955612183, -0.33415254950523376, -0.29178330302238464, 0.21646784245967865, 0.16364625096321106, 0.4141139090061188, 0.5890820622444153, 0.32051220536231995, 0.06998061388731003, -0.09687153995037079, -0.45454126596450806, -0.9065564274787903, 0.5403552651405334, -0.7315208911895752, -0.8301267027854919, -0.4352336525917053, -0.5808438062667847, -0.552946150302887, 0.3519548773765564, 0.06504327803850174, 0.13406972587108612, -0.19286668300628662, 0.4180792570114136, 0.8272119164466858, -0.17355653643608093, -0.031253039836883545, 0.28102508187294006, -0.21494080126285553, -0.2927258014678955, 0.8883156776428223, -0.27876439690589905, 0.1084364652633667, 0.6625432968139648, 0.20229457318782806, -0.26968321204185486, -0.5443105697631836, -0.10942813009023666, 0.24258235096931458, -0.7376530170440674, -0.0960116907954216, -0.5747323632240295, -0.21600836515426636, -0.1521846354007721, -0.716636598110199, -0.37049081921577454, -0.3300738036632538, -0.2943432927131653, -0.311240017414093, 0.0792892724275589, 0.3665688633918762, -0.1507866382598877, 0.3808654546737671, -0.6135942339897156, 1.0965750217437744, 0.5237156748771667, 0.5188603401184082, -0.5540212392807007, -0.3534204661846161, -0.10200099647045135, 0.360209196805954, 0.33010074496269226, -0.36563172936439514, 0.2346290498971939, 0.20695656538009644, 0.6077321767807007, 0.48973020911216736, -0.011694450862705708, 0.8761484622955322, -0.361167311668396, 0.491019606590271, 0.2625708281993866, -0.6409692764282227, 0.7518516182899475, -0.3217232823371887, 0.4517557919025421, 0.7354000210762024, 0.22161157429218292, -0.3768942356109619, -0.4321262538433075, -0.436987966299057, -0.6975376009941101, 0.6498908996582031, 0.2736673355102539, 0.07365347445011139, -0.15531732141971588, 0.47115951776504517, -0.2856290936470032, -0.06292743235826492, -0.7782966494560242, 0.012479626573622227, -0.588077962398529, 0.11069201678037643, -0.3617049753665924, 0.02910030260682106, -0.2970024645328522, -0.6211491227149963, 0.20002080500125885, -0.3338891863822937, -0.2563249170780182, 0.3362252116203308, -0.4647856056690216, 0.019308656454086304, -0.3475589454174042, 0.4884415566921234, 0.5025911927223206, -0.5090875625610352, 0.3927749991416931, 0.12838473916053772, -0.2647104561328888, -0.12723912298679352, -0.08693830668926239, -0.23507003486156464, -0.06756577640771866, 0.4519856870174408, 0.915124237537384, 0.22618237137794495, -0.6483942270278931, 0.4165559411048889, -0.09324020892381668, -0.4227314591407776, -0.03351317346096039, 0.13109132647514343, -0.1769648939371109, -0.025114385411143303, 0.0768112987279892, 0.07423833757638931, -0.14260950684547424, -0.07112226635217667, 0.21624520421028137, 0.31301915645599365, -0.5878344178199768, -0.32006391882896423, 0.7754225134849548, 0.1035335585474968, 0.18466950953006744, 0.7125169038772583, -0.10988078266382217, -0.3180638551712036, 0.7986199855804443, 0.5589297413825989, 0.6237663626670837, 0.09069771319627762, 0.23169976472854614, 0.6510154008865356, 0.4383493959903717, -0.5083611607551575, 0.17830324172973633, -0.22667254507541656, -1.058607578277588, -0.5552983283996582, -0.4015877842903137, -0.2483075112104416, 0.022834954783320427, -0.6755165457725525, 0.43250975012779236, -0.7319338321685791, 0.22735081613063812, -0.37076205015182495, -0.19915145635604858, -0.7664533257484436, 0.409595251083374, 0.5783120393753052, 0.674216628074646, -0.8149360418319702, 0.8914156556129456, 0.9966093301773071, -0.5110248923301697, -0.5618096590042114, -0.2997756600379944, -0.16976182162761688, -0.4600030183792114, 0.9074028134346008, 0.4618910551071167, -0.5459415912628174, 0.10888270288705826, -0.5016806125640869, -0.9136068820953369, 0.6522121429443359, 0.5054284334182739, -0.3666287958621979, 0.03950769454240799, 0.14714844524860382, 0.7598199248313904, -0.16190099716186523, -0.27525201439857483, 0.389730304479599, 0.46732211112976074, 0.45436039566993713, -0.46796083450317383, -0.05112165957689285, -0.4063977599143982, 0.14628566801548004, 0.014770511537790298, -0.28007814288139343, 0.28941890597343445, -0.2692003548145294, -0.5578807592391968, -0.3535082936286926, 1.0190984010696411, 0.4580354392528534, 0.06898487359285355, 0.6879745125770569, 0.7900885343551636, 0.557368278503418, -0.012633813545107841, 0.9537841081619263, -0.15404048562049866, -0.05465361103415489, 1.250008463859558, -0.3980635702610016, 0.5790103673934937, 0.6835476160049438, 0.0968037098646164, 0.36609622836112976, 0.5575151443481445, 0.06894022971391678, 0.6896938681602478, 0.4298768937587738, 0.2503541111946106, -0.5768853425979614, -0.23823243379592896, -0.39439964294433594, 0.3629698157310486, 0.5046003460884094, 0.2955830991268158, -0.28829288482666016, -0.031475793570280075, -0.31573572754859924, 0.511682391166687, -0.37945690751075745, 0.6155878305435181, 0.28217267990112305, -0.37192028760910034, 0.9365373253822327, -0.16808731853961945, 0.5608922839164734, -0.40044406056404114, -0.3200805187225342, -0.3463101387023926, -0.12208282947540283, -0.2887704074382782, -0.32986631989479065, 0.44826337695121765, -0.22820977866649628, 0.038955219089984894, -0.4388696551322937, 0.3533296287059784, -0.43863388895988464, -0.6221520900726318, 0.029658295214176178, 0.5250704884529114, -0.05437862128019333, -0.26228830218315125, -0.37437334656715393, -0.17787480354309082, -0.3125397264957428, -0.10438428074121475, 0.1588933914899826, 0.46675121784210205, -0.4122450351715088, 0.624809205532074, 0.6031460165977478, 0.06601529568433762, -0.0810711607336998, 0.259014368057251, 0.8860824108123779, -0.5730764865875244, -0.5766729712486267, -0.5728941559791565, 0.33962440490722656, -0.08355867862701416, -0.11934074014425278, 0.6411758661270142, 0.7522444725036621, 1.0473946332931519, -0.07966798543930054, 0.4241926074028015, 0.030656246468424797, 0.09306783974170685, -0.8061328530311584, 0.35015103220939636, -0.5400764346122742, 0.24753284454345703, -0.13880646228790283, -1.1353206634521484, -1.1509991884231567, 1.193323016166687, -0.2588556110858917, -0.19928428530693054, 0.9697548747062683, 0.7555323243141174, -0.14076192677021027, -0.27537330985069275, 0.4584736227989197, -0.11323723196983337, 0.13087612390518188, 0.5599089860916138, 0.9984484910964966, 0.015630003064870834, 0.1361723244190216, -0.8495582342147827, -0.07824228703975677, 0.2510022521018982, -0.8627392053604126, -1.368172526359558, -0.4544197916984558, -0.6996281743049622, -0.05039678141474724, 0.022158941254019737, 0.7742874622344971, 0.6602478623390198, -0.8442349433898926, -0.07731017470359802, -0.5207641124725342, 0.27560800313949585, -0.3481224775314331, -0.19629396498203278, 0.7039573192596436, -0.3039292097091675, -0.7522525191307068, 0.6753535866737366, 0.20189134776592255, 0.19337110221385956, -0.0026666242629289627, -0.07279496639966965, -0.10755322128534317, -0.41462042927742004, 0.5226992964744568, 0.4407742917537689, -0.7230959534645081, -0.4254250228404999, -0.016484495252370834, -0.2146863490343094, 0.2024632692337036, 0.8551139235496521, -1.0954021215438843, 0.4114253520965576, 0.4390363395214081, 0.5153977870941162, 0.4510399401187897, 0.09691457450389862, 0.7694413065910339, -0.9806955456733704, 0.684956967830658, 0.3225010335445404, 0.3990921974182129, 0.431816428899765, -0.30259963870048523, 0.8150826096534729, 0.2776579260826111, 0.1479346752166748, -0.9117209911346436, 0.14807219803333282, -0.9712023735046387, -0.20499780774116516, 1.2322332859039307, 0.03465113788843155, -0.13309720158576965, -0.13554033637046814, -0.3357480764389038, 0.2663806676864624, 0.013953147456049919, 0.7075080275535583, 0.2181733101606369, 0.12197622656822205, -0.44411036372184753, -0.6932533979415894, 0.708541214466095, 0.2585614323616028, -0.6806017756462097, -0.22782878577709198, 0.8184850215911865, -0.12826907634735107, 0.14196835458278656, 0.32677653431892395, 0.10311823338270187, 0.23796895146369934, -0.2907645106315613, 0.2745496332645416, -0.3304220139980316, -0.5863407254219055, -0.3336661458015442, 0.21146993339061737, -0.1951092630624771, -0.07228492945432663 ]
http://arxiv.org/abs/2405.01597v1
http://arxiv.org/pdf/2405.01597v1
Improving Disease Detection from Social Media Text via Self-Augmentation and Contrastive Learning
2024-04-30T15:24:54
2024-04-30T15:24:54
Pervaiz Iqbal Khan, Andreas Dengel, Sheraz Ahmed
cs.CL
cs.CL
Detecting diseases from social media has diverse applications, such as public health monitoring and disease spread detection. While language models (LMs) have shown promising performance in this domain, there remains ongoing research aimed at refining their discriminating representations. In this paper, we propose a novel method that integrates Contrastive Learning (CL) with language modeling to address this challenge. Our approach introduces a self-augmentation method, wherein hidden representations of the model are augmented with their own representations. This method comprises two branches: the first branch, a traditional LM, learns features specific to the given data, while the second branch incorporates augmented representations from the first branch to encourage generalization. CL further refines these representations by pulling pairs of original and augmented versions closer while pushing other samples away. We evaluate our method on three NLP datasets encompassing binary, multi-label, and multi-class classification tasks involving social media posts related to various diseases. Our approach demonstrates notable improvements over traditional fine-tuning methods, achieving up to a 2.48% increase in F1-score compared to baseline approaches and a 2.1% enhancement over state-of-the-art methods.
[ -0.008993178606033325, -0.601015567779541, 0.36580801010131836, 0.07522762566804886, -0.49891918897628784, 0.22396519780158997, -0.053310804069042206, -0.8164523839950562, 0.7787079811096191, 0.4359746277332306, -0.32648196816444397, -0.7203364372253418, -0.7143298387527466, 0.1806311011314392, -0.23482142388820648, 1.027913212776184, 0.2696499526500702, 0.07184542715549469, -0.040438540279865265, -0.29122763872146606, -0.0677143931388855, -0.2941944897174835, -0.7772766947746277, -0.36714938282966614, 0.5972902774810791, 0.41553670167922974, 0.4832197427749634, 0.7577736377716064, 0.5979393124580383, 0.29475411772727966, -0.03031279519200325, 0.5243844985961914, -0.45320141315460205, 0.16322074830532074, -0.4536839723587036, -0.17375588417053223, -0.08001809567213058, -0.12379859387874603, 0.30561986565589905, 0.6736682057380676, 0.22164611518383026, -0.01952410489320755, 0.44420021772384644, 0.8158972263336182, -0.5031987428665161, 0.09626460820436478, -0.4248582720756531, -0.06404152512550354, 0.03986331820487976, -0.43827009201049805, -0.07873586565256119, -0.08776772022247314, 0.08120550960302353, -0.4589025378227234, 0.3193124532699585, -0.38824862241744995, 0.6806247234344482, 0.3246750235557556, -0.5614157915115356, -0.41802772879600525, -0.45692768692970276, 0.6046144366264343, -0.6550434827804565, 0.2834210991859436, 0.5091559290885925, 0.2824658751487732, 0.18107576668262482, -0.752353310585022, -0.2225707620382309, -0.08785597234964371, -0.3327798843383789, 0.20291723310947418, -0.3586789071559906, -0.04513850063085556, -0.1079624816775322, 0.4747648537158966, -0.5433555841445923, 0.1393340677022934, -0.4986979365348816, -0.26228493452072144, 0.7281524538993835, -0.23189933598041534, 0.5397135615348816, -0.34310784935951233, -0.19512318074703217, -0.026300549507141113, -0.3692058324813843, -0.3244207501411438, -0.00953085906803608, 0.5212812423706055, -0.5577492117881775, 0.15734770894050598, -0.2622792720794678, 0.38297683000564575, 0.21445031464099884, -0.015223607420921326, 0.734809160232544, -0.359225332736969, -0.11422823369503021, -0.16857336461544037, 0.7389287352561951, 0.5563540458679199, -0.10730381309986115, 0.12053822726011276, -0.09537975490093231, 0.0513150617480278, 0.06470626592636108, -0.9397283792495728, -0.898064136505127, 0.14866819977760315, -0.7814751267433167, -0.4610375761985779, -0.3503969609737396, -0.8128784894943237, -0.7070489525794983, -0.1907951682806015, 0.40264394879341125, -0.7012431025505066, -0.44306570291519165, 0.09807384759187698, 0.010491265915334225, -0.2995481491088867, 0.37378549575805664, -0.9929520487785339, 0.09658155590295792, 0.3572719991207123, 0.8656761050224304, -0.33110183477401733, 0.23559124767780304, -0.604399561882019, 0.12540027499198914, -0.3151620030403137, 1.0102009773254395, -0.5980711579322815, -0.33733806014060974, 0.1528741866350174, -0.05783332511782646, 0.15005533397197723, -0.7046036124229431, 0.44410473108291626, -0.28144535422325134, 0.05727330222725868, -0.222686767578125, -0.4633692502975464, 0.020139463245868683, 0.16550567746162415, -0.761271595954895, 0.9509164690971375, 0.12543243169784546, -0.9964865446090698, 0.135965034365654, -0.4319225251674652, -0.5799816846847534, 0.26132044196128845, -0.40609458088874817, -0.6863951683044434, 0.037277884781360626, 0.6844087839126587, 0.693408191204071, 0.2821652293205261, -0.03466702252626419, -0.5713483691215515, -0.2861410081386566, -0.07386273145675659, -0.19749344885349274, 0.5800642371177673, 0.30022871494293213, -0.18617811799049377, 0.23849914968013763, -0.611676037311554, -0.23805704712867737, 0.2188958376646042, -0.15797145664691925, -0.710264265537262, 0.08469076454639435, -0.12304133176803589, 0.08073172718286514, 0.19930461049079895, -0.4449000358581543, 0.02433537133038044, -0.7559851408004761, 0.15610285103321075, 0.6068800687789917, 0.2144135981798172, 0.3280169665813446, -0.5102639198303223, 0.25931516289711, 0.2946942150592804, 0.012427901849150658, -0.46995142102241516, -0.39867761731147766, -0.5270090103149414, -0.3684340715408325, 0.2852756381034851, 0.2870418429374695, -1.2334797382354736, 0.5139094591140747, -0.09318184107542038, -0.3365524113178253, -0.9474438428878784, 0.3854009509086609, 0.3256707489490509, 0.3844605088233948, 0.8531036376953125, 0.022737419232726097, -0.4666430354118347, -0.6605703830718994, -0.36788374185562134, 0.026628321036696434, -0.1138116717338562, 0.2783864438533783, 0.3021288812160492, -0.6170512437820435, 0.28412675857543945, -0.5527236461639404, -0.456980437040329, -0.3338010013103485, 0.260628879070282, -0.027260322123765945, 0.7509223818778992, 0.6227144002914429, -0.8945876955986023, -0.7400140166282654, 0.31252193450927734, -0.7347773909568787, -0.28319084644317627, 0.03713781014084816, 0.34110745787620544, -0.09834302216768265, 0.6573911905288696, 0.21539907157421112, 0.4549316167831421, 0.840884804725647, -0.23724351823329926, 0.26464080810546875, -0.3399195969104767, 0.25846925377845764, -1.1688437461853027, -0.2195664495229721, 0.5582242608070374, -0.5859577059745789, -0.6952623724937439, 0.08413898199796677, 0.21258822083473206, -0.10681794583797455, -0.2052190601825714, 0.6642194986343384, -0.39862436056137085, 0.405880868434906, -0.5462415218353271, 0.0394228994846344, 0.004439547657966614, 0.0026526451110839844, -0.1554001122713089, 0.5626064538955688, 0.6199655532836914, -0.532630443572998, 0.08244118094444275, -0.26262903213500977, -0.11479856818914413, 0.293407678604126, -0.5574418306350708, -0.05053544044494629, -0.45759013295173645, 0.08030382543802261, -1.1846686601638794, -0.19261416792869568, 0.4985239505767822, -0.6595814824104309, 0.2635675370693207, 0.2003161907196045, -0.39296969771385193, -0.3633143901824951, -0.5151722431182861, 0.3982390761375427, 0.3031611144542694, -0.9462624192237854, 0.675923764705658, 0.4955228567123413, -0.013158832676708698, -0.36623355746269226, -0.8468872904777527, -0.19703562557697296, -0.14027824997901917, -0.43177226185798645, 0.6840397715568542, -0.0802595317363739, -0.023351583629846573, 0.18165230751037598, -0.3225693106651306, -0.09291777014732361, 0.026999033987522125, 0.0077135805040597916, -0.07463886588811874, -0.009271752089262009, 0.6604695916175842, 0.2905157804489136, 0.07576051354408264, -0.24211667478084564, 0.18355600535869598, 0.5150420069694519, 0.07245171070098877, -0.33989959955215454, -0.584075927734375, 0.4512043595314026, 0.033092863857746124, -0.3257735073566437, 0.4547567665576935, 0.7593144178390503, -0.582542359828949, -0.3579038679599762, -0.5622883439064026, -0.4518112242221832, -0.564699113368988, 0.2544853985309601, -0.2903822958469391, -1.0283156633377075, 0.39398881793022156, -0.2561502456665039, -0.2936047911643982, 0.49011772871017456, 0.21897125244140625, -0.32210832834243774, 1.0594875812530518, 0.8221769332885742, -0.27805790305137634, 0.6424107551574707, -0.16199460625648499, -0.0005012983456254005, -0.6911860108375549, -0.02740621380507946, -0.35162100195884705, -0.016586244106292725, -0.8520481586456299, -0.6888241171836853, 0.40400585532188416, 0.05424267053604126, 0.24830828607082367, 0.013871054165065289, -0.7989822030067444, 0.49752077460289, 0.3176944851875305, 0.9561806917190552, 0.2539353370666504, 0.11344079673290253, -0.21812626719474792, -0.24840161204338074, -0.633492648601532, -0.16338536143302917, 1.1725361347198486, 0.4136362075805664, 0.6429319977760315, 0.022216802462935448, 1.1796393394470215, 0.6751160025596619, 0.6791394948959351, -0.3277270495891571, 0.167220801115036, -0.7527192234992981, -0.3268141746520996, -0.13556425273418427, -0.5713218450546265, -1.0852855443954468, 0.3682204484939575, -0.4830203056335449, -0.6036551594734192, 0.25147855281829834, 0.4532681703567505, -0.43036407232284546, 0.12753133475780487, -0.7056905627250671, 0.7627362012863159, -0.2974371612071991, -0.35121050477027893, -0.34447139501571655, -0.6435641646385193, 0.2890857756137848, 0.06273642927408218, 0.34966734051704407, -0.1940375566482544, 0.0668821707367897, 0.5573209524154663, -0.09947289526462555, 1.1604557037353516, 0.13413158059120178, -0.03216179832816124, -0.09688282012939453, -0.20833338797092438, 0.2510625422000885, 0.037383098155260086, -0.23927795886993408, -0.015529834665358067, -0.12331081926822662, -0.6077675819396973, -0.530353844165802, 0.9621800780296326, -0.6361051797866821, -0.5456521511077881, -0.47525742650032043, -0.2465406209230423, -0.02024327777326107, 0.2587929964065552, -0.07842154800891876, 0.21794968843460083, -0.18811152875423431, 0.10235194861888885, 0.6703236103057861, -0.39341628551483154, 0.2774980962276459, 0.5330451130867004, -0.3848412036895752, -0.513001024723053, 1.1938809156417847, -0.07815270870923996, 0.248921200633049, 0.3485487997531891, 0.6069797277450562, -0.33346694707870483, -0.5447348952293396, 0.07744237035512924, 0.556133508682251, -0.9783201217651367, -0.23584313690662384, -0.7476586699485779, -0.20604875683784485, -0.8458511233329773, 0.0038274740800261497, -0.05474080517888069, 0.06394089758396149, -0.7942138314247131, -0.09607011824846268, 0.2998826205730438, 0.7398597002029419, -0.5770745873451233, 0.3618125915527344, -0.6982280015945435, 0.7815154790878296, 0.38396650552749634, 0.28556254506111145, -0.0677298903465271, -0.4679572284221649, -0.14083154499530792, 0.13288231194019318, -0.34403935074806213, -1.225530743598938, 0.5326975584030151, 0.2320016473531723, 0.5992294549942017, 0.6608730554580688, 0.22599893808364868, 0.5756624937057495, -0.06715521216392517, 0.35865119099617004, 0.34290841221809387, -0.7019976377487183, 0.7575106024742126, -0.27934256196022034, 0.37388595938682556, 0.7087369561195374, 0.7930628061294556, -0.450061172246933, -0.3383014500141144, -0.4847722053527832, -0.5239367485046387, 0.19600586593151093, 0.05443456768989563, 0.2809051275253296, -0.3247390389442444, 0.2574745714664459, -0.12324538826942444, -0.2037002146244049, -0.9817363023757935, -0.47027164697647095, -0.29258838295936584, -0.43452808260917664, -0.15452350676059723, -0.3183135986328125, 0.10072236508131027, -0.4975820481777191, 0.5879243612289429, -0.30031806230545044, -0.12886273860931396, 0.5292326211929321, -0.008987821638584137, -0.05601087212562561, 0.01040899008512497, 0.1775594800710678, 0.4387430250644684, -0.11968102306127548, 0.46377986669540405, 0.08837538957595825, -0.14602455496788025, -0.28995463252067566, 0.5394447445869446, -0.027204878628253937, 0.2777354121208191, 0.3928871154785156, 0.38673320412635803, 0.2216082513332367, -0.48778605461120605, 0.6819770932197571, 0.21575796604156494, 0.1072315201163292, 0.19416075944900513, 0.001513927010819316, 0.2791779041290283, 0.30084550380706787, 0.37620946764945984, -0.1046425923705101, 0.5825509428977966, -0.5762268304824829, 0.5105780363082886, 0.4079190790653229, -0.6982974410057068, -0.19689609110355377, 0.4489322602748871, 0.5154787302017212, -0.17546303570270538, 0.035427674651145935, -0.30194804072380066, -0.4480544626712799, 0.4899902641773224, 0.7058345675468445, 0.4310503304004669, -0.8941568732261658, 0.4639753997325897, 0.4483490288257599, 0.3225831985473633, 0.13007128238677979, 0.2895735800266266, -0.020690836012363434, -0.8252878785133362, -0.42292138934135437, -0.4941323399543762, -0.08366560935974121, 0.4725593626499176, -0.4071422219276428, 0.33489349484443665, -0.14385508000850677, -0.03325901925563812, 0.5892519354820251, 0.04278581216931343, -0.40101027488708496, 0.5546873807907104, 0.2421032041311264, 0.6420773863792419, -1.155226707458496, 0.8899526596069336, 0.5536296963691711, -0.46375519037246704, -0.4550583064556122, 0.414813369512558, -0.08610732108354568, -0.7674946188926697, 0.49632707238197327, 0.684372067451477, -0.16793964803218842, -0.10451528429985046, -0.42383548617362976, -0.7163525223731995, 0.6357687711715698, 0.24163484573364258, -0.6581467390060425, 0.01394206378608942, 0.0034274887293577194, 0.723767101764679, -0.45504558086395264, 0.13273972272872925, 0.2990928590297699, 0.08496581017971039, 0.01808839850127697, -0.6451802849769592, 0.07586702704429626, -0.28008896112442017, -0.03133509308099747, 0.010427703149616718, -0.37839579582214355, 0.5224034190177917, -0.31774070858955383, -0.5588880181312561, -0.19270236790180206, 0.8458700180053711, 0.21979767084121704, 0.4273025691509247, 0.3892003893852234, 0.4268944263458252, 0.8109074234962463, 0.25988176465034485, 0.8642045855522156, -0.4017963707447052, 0.36757954955101013, 1.2014901638031006, -0.013497890904545784, 0.7074829339981079, 0.15940232574939728, 0.06723223626613617, 0.6318793296813965, 0.6987483501434326, 0.03189321234822273, 0.6198399662971497, 0.24520553648471832, -0.4441151022911072, -0.4043929874897003, -0.25509896874427795, -0.4848599433898926, 0.20936167240142822, 0.6739429235458374, -0.8919275999069214, -0.5188217163085938, 0.22583533823490143, -0.023750053718686104, 0.6736183762550354, -0.44104060530662537, 0.8282569050788879, 0.09797444939613342, -0.1689043790102005, 0.6057806611061096, -0.10045714676380157, 0.9111695289611816, -0.28265827894210815, -0.4069903790950775, -0.12593427300453186, 0.17561037838459015, -0.2837927043437958, -0.6387655138969421, 0.49177977442741394, -0.43108153343200684, -0.0010930467396974564, 0.07192628085613251, 1.1921461820602417, -0.780173122882843, -0.7518348693847656, 0.7316311001777649, 0.5085905194282532, 0.08206447958946228, -0.1789512038230896, -0.9457982182502747, 0.12615133821964264, 0.09494639188051224, 0.29710057377815247, 0.16046242415905, 0.3260762393474579, 0.12522585690021515, 0.7349247336387634, 0.6182248592376709, 0.20068947970867157, -0.38584402203559875, 0.17423051595687866, 1.1387908458709717, -0.41934865713119507, -0.49148836731910706, -0.9550195336341858, 0.1656169891357422, -0.4921824634075165, -0.03818688541650772, 0.7027530670166016, 0.578170895576477, 0.7485222220420837, 0.07920060306787491, 0.8695222735404968, 0.4162539839744568, 0.987515389919281, -0.35533955693244934, 0.8037309646606445, -0.8405594229698181, 0.17718720436096191, -0.23335358500480652, -0.011779900640249252, -0.6283217072486877, 0.5774747133255005, -0.3366032540798187, -0.030308207497000694, 0.7325541377067566, 0.7284020781517029, -0.06221093237400055, -0.2650848627090454, 0.41954901814460754, 0.13434520363807678, 0.16621845960617065, 0.24217748641967773, 0.44542497396469116, -0.30437925457954407, 0.3533521890640259, -0.5819720029830933, -0.40667128562927246, -0.42455238103866577, -0.6304842233657837, -1.2579693794250488, -0.4975196123123169, -0.5530221462249756, -0.4909805655479431, 0.524893045425415, 0.9584691524505615, 0.7768290638923645, -0.8660508990287781, 0.18703453242778778, 0.17279300093650818, 0.17017781734466553, -0.28558164834976196, -0.17894726991653442, 0.6859134435653687, -0.4464702308177948, -0.5335081815719604, 0.45365819334983826, 0.1996646374464035, 0.1566721498966217, -0.1412881314754486, 0.1670682728290558, -0.39303866028785706, -0.05141233280301094, 0.6542285680770874, 0.301484614610672, -0.5591954588890076, -0.14232364296913147, -0.26318931579589844, -0.266150563955307, 0.35397765040397644, 0.43625742197036743, -0.8135178685188293, 0.7219128608703613, 0.3915737569332123, 0.7001562714576721, 0.5322999954223633, 0.40019258856773376, 0.20815880596637726, -0.7826547622680664, -0.13838067650794983, 0.38354647159576416, 0.23742221295833588, 0.7799274325370789, -0.5229544043540955, 0.2861112952232361, 0.2749946415424347, -0.277305006980896, -0.5440565347671509, 0.23311369121074677, -0.8739355802536011, -0.7074523568153381, 1.1673738956451416, -0.03255666792392731, -0.17689159512519836, -0.3571394681930542, -0.14376623928546906, 0.4221576750278473, -0.4983951151371002, 1.1596490144729614, 0.04345712810754776, -0.21883024275302887, -0.34625059366226196, -0.12354342639446259, 0.6600989699363708, 0.32132723927497864, -1.0108225345611572, -0.1318507045507431, 0.243297278881073, 0.4307178556919098, 0.19862239062786102, 0.9102343320846558, -0.013951950706541538, 0.31769078969955444, -0.3786708414554596, 0.10416898131370544, 0.20778010785579681, -0.14573217928409576, -0.5277913808822632, -0.027373380959033966, -0.3579935133457184, -0.3110879957675934 ]
http://arxiv.org/abs/2404.19597v1
http://arxiv.org/pdf/2404.19597v1
Transferring Troubles: Cross-Lingual Transferability of Backdoor Attacks in LLMs with Instruction Tuning
2024-04-30T14:43:57
2024-04-30T14:43:57
Xuanli He, Jun Wang, Qiongkai Xu, Pasquale Minervini, Pontus Stenetorp, Benjamin I. P. Rubinstein, Trevor Cohn
cs.CL
cs.CL, cs.CR
The implications of backdoor attacks on English-centric large language models (LLMs) have been widely examined - such attacks can be achieved by embedding malicious behaviors during training and activated under specific conditions that trigger malicious outputs. However, the impact of backdoor attacks on multilingual models remains under-explored. Our research focuses on cross-lingual backdoor attacks against multilingual LLMs, particularly investigating how poisoning the instruction-tuning data in one or two languages can affect the outputs in languages whose instruction-tuning data was not poisoned. Despite its simplicity, our empirical analysis reveals that our method exhibits remarkable efficacy in models like mT5, BLOOM, and GPT-3.5-turbo, with high attack success rates, surpassing 95% in several languages across various scenarios. Alarmingly, our findings also indicate that larger models show increased susceptibility to transferable cross-lingual backdoor attacks, which also applies to LLMs predominantly pre-trained on English data, such as Llama2, Llama3, and Gemma. Moreover, our experiments show that triggers can still work even after paraphrasing, and the backdoor mechanism proves highly effective in cross-lingual response settings across 25 languages, achieving an average attack success rate of 50%. Our study aims to highlight the vulnerabilities and significant security risks present in current multilingual LLMs, underscoring the emergent need for targeted security measures.
[ -0.053303152322769165, -0.6914516091346741, 0.29346758127212524, 0.31790080666542053, 0.11915786564350128, 0.17293991148471832, -0.22991421818733215, -0.6630761623382568, -0.09881503880023956, 0.5770989060401917, -0.608380138874054, -0.6492461562156677, -0.759147584438324, 0.05771913379430771, -0.463056743144989, 1.046006679534912, -0.001936099142767489, 0.19828259944915771, 0.12739545106887817, 0.08139370381832123, -0.6545739769935608, -0.8276158571243286, -0.6134788990020752, -0.13467881083488464, 0.6714505553245544, 0.38191190361976624, 0.6613531708717346, 0.15314660966396332, 0.5206893682479858, 0.25722232460975647, 0.23316948115825653, -0.3737914562225342, -0.7353746294975281, 0.14520969986915588, -0.3927878141403198, -0.7577434182167053, -0.32858970761299133, -0.11596103012561798, 0.4704371690750122, 0.33384251594543457, -0.1201326847076416, 0.037842072546482086, 0.023336486890912056, 0.48979997634887695, -0.6041250824928284, -0.1439131647348404, -1.0512199401855469, 0.26084405183792114, -0.3775870203971863, -0.37255749106407166, -0.7090614438056946, -0.1400151401758194, -0.2606421113014221, -0.37712767720222473, 0.01534876599907875, 0.12945301830768585, 0.6333404779434204, -0.008795657195150852, -0.29237663745880127, -0.4235093891620636, -0.34209808707237244, 0.7529296875, -0.633823812007904, 0.6685304045677185, 0.3279206156730652, 0.171688511967659, -0.14100037515163422, -0.5349283218383789, -0.17650505900382996, -0.2706066966056824, -0.16968658566474915, -0.005693653132766485, -0.5038946866989136, -0.2601107358932495, 0.252061128616333, 0.2133045494556427, -0.7573265433311462, 0.49665147066116333, -0.49853765964508057, -0.5142168998718262, 0.5409110188484192, 0.26449859142303467, 0.7031784653663635, 0.14412017166614532, -0.3713855445384979, -0.1392933577299118, -1.2930208444595337, 0.010209844447672367, 0.7236605882644653, 0.3811141848564148, -0.28577920794487, 0.3175337314605713, 0.30220910906791687, 0.4409368634223938, -0.03234325349330902, -0.16996929049491882, -0.03421875089406967, -0.48704060912132263, 0.09496216475963593, 0.16779178380966187, 0.661479115486145, 0.3519834280014038, 0.31698769330978394, -0.5568268895149231, -0.24233342707157135, -0.240679532289505, 0.2908001244068146, -0.8505734801292419, -0.14677566289901733, 0.15926595032215118, -0.18802224099636078, -0.30780550837516785, 0.017702696844935417, -0.9885202050209045, -0.20836924016475677, 0.3827175796031952, 0.5035334825515747, -0.5262368321418762, -0.20208050310611725, 0.04981091991066933, 0.046227890998125076, 0.5362676978111267, 0.05611995980143547, -0.9699631929397583, 0.11623047292232513, 0.8717367649078369, 0.7899361252784729, -0.43506139516830444, -0.7874962687492371, -0.6530044674873352, 0.43168431520462036, -0.49857649207115173, 0.38507574796676636, -0.6461976766586304, -0.6123781800270081, 0.222852423787117, 0.4163016676902771, -0.3869616389274597, -0.37099236249923706, 0.047912128269672394, -0.7964648008346558, 0.2727527320384979, -0.23747149109840393, -0.16918917000293732, -0.06795467436313629, 0.4019542634487152, -0.5700742602348328, 0.6339468955993652, -0.37995675206184387, -0.7622336745262146, -0.11685814708471298, -0.18952451646327972, -0.9114320874214172, -0.2766246199607849, 0.04976338893175125, -0.2505670487880707, 0.07748148590326309, 0.08849909901618958, 0.44111812114715576, -0.15653836727142334, -0.21156403422355652, -0.23549267649650574, -0.319055438041687, 0.36863675713539124, -0.6592616438865662, 0.9831348061561584, 0.023856621235609055, -0.3837907314300537, -0.1519996076822281, -0.5993692278862, -0.13817007839679718, 0.17726723849773407, -0.1942979246377945, -0.49873197078704834, -0.39925825595855713, -0.28061071038246155, 0.32537975907325745, 0.34460219740867615, -0.5595162510871887, 0.15035699307918549, -0.4024909436702728, 0.20813919603824615, 0.7034265398979187, 0.09364885836839676, 0.19354870915412903, -0.23766957223415375, 0.9525465965270996, 0.08415859937667847, 0.190819650888443, -0.40477216243743896, -0.6082744598388672, -0.27474695444107056, -0.04920176416635513, 0.20094124972820282, 1.0180633068084717, -0.833895742893219, -0.13672876358032227, -0.18347059190273285, -0.520205557346344, -0.42477136850357056, 0.14387807250022888, 0.8180063962936401, 0.27302902936935425, 0.14991718530654907, -0.10274612903594971, -0.11783631145954132, -0.725555956363678, -0.6382986307144165, -0.05225474759936333, 0.24543632566928864, 0.2124684751033783, 0.5996286869049072, -0.2506787180900574, 0.17286880314350128, -0.38128945231437683, -0.16778405010700226, -0.08781366050243378, 0.04235593229532242, 0.012054909020662308, 0.5143316388130188, 0.7362241148948669, -0.5133268237113953, -0.7230835556983948, 0.30463317036628723, -0.567184329032898, -0.18381884694099426, -0.16257670521736145, -0.1963101476430893, 0.34304702281951904, 0.6683900952339172, -0.5014117360115051, 0.3884703814983368, 0.9294365048408508, -0.22365254163742065, 0.6867673993110657, -0.0094748605042696, 0.2698584794998169, -1.2887358665466309, -0.14653342962265015, -0.25692465901374817, 0.04624151811003685, -0.7448400855064392, 0.41907548904418945, 0.32798823714256287, -0.28878942131996155, -0.7896878123283386, 0.5764726996421814, -0.5621052384376526, -0.18534567952156067, 0.11911492049694061, -0.09316063672304153, 0.006847566459327936, 0.5999400019645691, -0.25939664244651794, 1.054367184638977, 0.7479808330535889, -0.36443763971328735, 0.5465282201766968, -0.041038308292627335, -0.08540208637714386, 0.6596683263778687, -0.5315607786178589, 0.3034365773200989, 0.37407100200653076, -0.013678550720214844, -1.0769282579421997, -0.06879136711359024, 0.5380735993385315, -0.5763424038887024, 0.9173822402954102, -0.3938952386379242, -0.32371145486831665, 0.07952100783586502, -0.4903714656829834, 0.32905641198158264, 0.2475285530090332, -0.6341915130615234, 0.5763164758682251, 0.07088728249073029, -0.40420836210250854, -0.8023829460144043, -0.9804815649986267, 0.4238923490047455, -0.3872990310192108, -0.766700267791748, 0.30395928025245667, 0.05214855447411537, -0.14888566732406616, -0.14537255465984344, 0.032322000712156296, 0.026513120159506798, 0.18977759778499603, 0.11875082552433014, 0.13873867690563202, -0.2597789168357849, -0.17122545838356018, 0.1425613909959793, -0.007327538449317217, 0.40235164761543274, -0.15856924653053284, 0.41955557465553284, 0.01603385992348194, -0.7101012468338013, -0.26074665784835815, 0.7035083770751953, 0.7774474620819092, -0.29416725039482117, 0.8991891145706177, 0.5357683897018433, -0.16611348092556, -0.14440491795539856, -0.3165273070335388, -0.29708436131477356, -0.4770875871181488, 0.6196867227554321, -0.7165785431861877, -0.6115207076072693, 0.7965462803840637, 0.2445099800825119, 0.29753780364990234, 0.0803690105676651, 0.6175927519798279, 0.21948674321174622, 1.0508285760879517, 0.7218040823936462, -0.2103763222694397, 0.3294731378555298, 0.10187956690788269, 0.18448090553283691, -0.6488434076309204, -0.21188440918922424, -0.5828210115432739, -0.10653506964445114, -0.843734622001648, -0.04055846482515335, 0.1912004053592682, -0.2867915630340576, 0.023800350725650787, 0.24071896076202393, 0.03886331617832184, 0.46546226739883423, 0.29241445660591125, -0.13705937564373016, 0.39153507351875305, 0.11668805032968521, -0.23469527065753937, -0.14998134970664978, -0.7386411428451538, -0.0946483165025711, 1.182555913925171, 0.4853064715862274, 1.2400041818618774, 0.49727359414100647, 0.6778419613838196, -0.032771166414022446, 0.2617839276790619, -0.572579026222229, 0.4232938289642334, -0.23528453707695007, -0.7236314415931702, -0.05878085270524025, -0.4489181637763977, -1.2416608333587646, 0.23424914479255676, 0.18393217027187347, -0.9030093550682068, 0.07230813056230545, 0.016197582706809044, -0.20386362075805664, 0.6001473665237427, -0.7815134525299072, 0.9203629493713379, -0.5674186944961548, -0.5158990025520325, -0.24289925396442413, -0.6975699067115784, 0.6694309115409851, -0.5326620936393738, 0.38204652070999146, 0.17693570256233215, -0.01675689034163952, 0.7311657071113586, -0.10317366570234299, 1.1089773178100586, 0.04422128200531006, -0.8279040455818176, -0.4798949956893921, 0.39895516633987427, 0.6986357569694519, 0.05558660253882408, 0.2034018337726593, 0.7214496731758118, 0.21643108129501343, -0.39099952578544617, -0.652611255645752, 0.9306673407554626, -0.664989709854126, -1.201856255531311, -0.433430939912796, -0.5535334944725037, -0.33195972442626953, 0.07140704989433289, 0.5526926517486572, 0.29181498289108276, 0.17162761092185974, 0.12518459558486938, 0.7610777020454407, -0.5809792876243591, 0.42155176401138306, 0.8538053631782532, -0.37030932307243347, -0.27775999903678894, 1.1406079530715942, 0.1648036539554596, 0.6072722673416138, 0.39447906613349915, 0.09570832550525665, 0.04254484176635742, -0.5013749599456787, -0.614741861820221, 0.3647608458995819, -0.6581562757492065, -0.23036715388298035, -0.37224870920181274, -0.3384820818901062, -0.5473666191101074, -0.07259412109851837, -0.5291937589645386, -0.19862563908100128, -0.15085382759571075, 0.03199681267142296, 0.4131675362586975, 0.5924758315086365, -0.11364144831895828, 0.2932908236980438, -1.1432186365127563, 0.08882473409175873, 0.32125696539878845, 0.22474569082260132, 0.022158166393637657, -0.825042724609375, -0.524124026298523, -0.03034382499754429, -0.21443305909633636, -1.3940380811691284, 0.39570188522338867, 0.09769926965236664, 0.5447129607200623, 0.19335037469863892, -0.08460378646850586, 0.4833272099494934, -0.5930582284927368, 0.7882781624794006, 0.07216154038906097, -0.7390048503875732, 0.31249675154685974, -0.19855019450187683, 0.03658764436841011, 0.2343786656856537, 0.6167850494384766, -0.7097377777099609, -0.5621927976608276, -0.32153648138046265, -0.7706846594810486, 0.7901991605758667, -0.06050296500325203, 0.37222135066986084, 0.346821665763855, 0.11327166855335236, 0.3324052691459656, 0.07902377098798752, -0.7335770130157471, -0.3116951882839203, -0.10446900874376297, 0.050705377012491226, -0.01577857695519924, -0.2055884748697281, -0.17911332845687866, 0.052883170545101166, 0.7123004794120789, 0.133761465549469, -0.032425373792648315, -0.19390591979026794, -0.38361847400665283, -0.0787300169467926, 0.38796183466911316, 0.6671236753463745, 0.44643113017082214, 0.2184845209121704, 0.1384705901145935, 0.3954969048500061, -0.834036111831665, 0.28399425745010376, 0.10586252063512802, -0.07180511206388474, -0.16210044920444489, 0.6274064183235168, 0.5895090699195862, 0.5368742346763611, -0.4020789861679077, 0.432313472032547, -0.22661073505878448, 0.11486553400754929, -0.06221074238419533, -0.00965837575495243, -0.023187754675745964, 0.2694825232028961, 0.2443324774503708, -0.27720940113067627, -0.16591978073120117, -0.7940755486488342, 0.10775911062955856, 0.5998151302337646, -0.2082146555185318, -0.6523681282997131, 0.2507529556751251, 0.11870833486318588, -0.44471248984336853, 0.47175878286361694, 0.18391858041286469, -0.9119832515716553, 0.4489053189754486, 0.942251980304718, 0.9196635484695435, -0.6877615451812744, -0.26152709126472473, -0.108952596783638, 0.7557552456855774, 0.28078681230545044, 0.012796658091247082, 0.09065566211938858, -0.7230185270309448, -0.29664719104766846, -0.30472150444984436, -0.5143522620201111, 0.12362345308065414, -0.7259342074394226, 0.010484685190021992, -0.23114901781082153, 0.10830869525671005, -0.42903774976730347, -0.1250641644001007, -0.33106735348701477, -0.1646900475025177, 0.29578277468681335, 0.8176435828208923, -1.0244359970092773, 0.9494040608406067, 0.599790632724762, -0.09614967554807663, -0.7333008646965027, 0.3080640733242035, -0.0339188277721405, -1.1339060068130493, 0.7127452492713928, 0.06468328833580017, -0.3791552782058716, 0.03038177825510502, -0.3245680034160614, -0.8943424224853516, 0.7742988467216492, 0.5013557076454163, -0.722197413444519, -0.11424193531274796, 0.2647048234939575, 0.23577825725078583, -0.028167393058538437, -0.27102482318878174, 0.7422122359275818, 0.5465668439865112, 0.015488991513848305, -0.9095376133918762, 0.1112435981631279, -0.22043095529079437, -0.2548559308052063, 0.2364834100008011, -0.6863175630569458, 0.9423856139183044, -0.13117727637290955, -0.26861703395843506, -0.18387746810913086, 0.3708406388759613, 0.24980618059635162, 0.3617455065250397, 0.1408257633447647, 0.6460135579109192, 0.491007536649704, 0.03908354789018631, 1.039035677909851, -0.7175297141075134, -0.15588660538196564, 0.9981762766838074, -0.49212217330932617, 0.8036637306213379, 0.5648270845413208, -0.0778089389204979, 0.41943982243537903, 0.4828260540962219, -0.01072563137859106, 0.5717604160308838, -0.034387603402137756, 0.07796470820903778, 0.2024756371974945, 0.22255469858646393, -0.7386590242385864, 0.37819740176200867, 0.5207604169845581, -0.13936586678028107, -0.18733246624469757, 0.32048454880714417, 0.4870641231536865, -0.22707250714302063, -0.3514082133769989, 0.6451952457427979, 0.21709312498569489, -0.696946918964386, 0.6139591336250305, 0.15375560522079468, 0.8010400533676147, -0.7666444182395935, 0.13609378039836884, -0.5337790250778198, 0.04415320232510567, -0.32638993859291077, -0.775272011756897, 0.3549423813819885, 0.13154855370521545, 0.09985609352588654, -0.17756667733192444, 0.5971871018409729, -0.5457728505134583, -0.32775869965553284, 0.6003972291946411, 0.3967339098453522, 0.24910970032215118, 0.04986507445573807, -0.6558475494384766, 0.2445565015077591, 0.1125536784529686, -0.43175187706947327, 0.7153553366661072, 0.5982323884963989, -0.11428806185722351, 0.6166993379592896, 0.7133668065071106, 0.4406591057777405, 0.4567195475101471, -0.03550288453698158, 0.7304162979125977, -0.7095040082931519, -0.5069617629051208, -1.1374849081039429, 0.17910797894001007, 0.25159990787506104, -0.06239621341228485, 1.343970775604248, 0.43609803915023804, 1.0359641313552856, 0.05217697098851204, 0.6722710728645325, 0.4454963207244873, 0.13191105425357819, -0.8745688796043396, 0.8766040205955505, -0.6038002967834473, 0.6158616542816162, -0.23529571294784546, -0.6102688312530518, -0.10392150282859802, 0.09222094714641571, -0.48975035548210144, 0.0935695469379425, 0.7753861546516418, 1.1029906272888184, -0.04316993057727814, -0.11971677839756012, 0.5876353979110718, 0.4297732710838318, 0.34485533833503723, 0.8413304090499878, 0.9901756644248962, -0.3137606978416443, 0.8482487201690674, -0.22678616642951965, -0.014887426048517227, -0.21016837656497955, -0.7268653512001038, -0.99775230884552, -0.1902196854352951, -0.20448076725006104, -0.42899978160858154, 0.46807947754859924, 0.33102598786354065, 0.4337732791900635, -0.8341993689537048, -0.3261409103870392, 0.3910042643547058, 0.39500176906585693, -0.04724172502756119, -0.19251857697963715, 0.2418583780527115, -0.34898078441619873, -0.5398504137992859, 0.4846383035182953, 0.2686058580875397, 0.06286276131868362, -0.5970009565353394, -0.0588945671916008, -0.02987968549132347, 0.0772726833820343, 0.37913814187049866, 0.3994697034358978, -0.6264471411705017, -0.23017245531082153, 0.06712676584720612, -0.3753964900970459, -0.060762543231248856, 0.7155554890632629, -0.2784155309200287, 0.1061820387840271, 0.32157981395721436, 0.8528205752372742, 0.190029576420784, -0.37716832756996155, 0.784188985824585, -1.0147738456726074, 0.32624131441116333, 0.008850221522152424, 0.3516542315483093, 0.37706658244132996, -0.5953108668327332, 0.1618441641330719, 0.2832799255847931, -0.3012497127056122, -1.0269700288772583, 0.39557594060897827, -0.34450578689575195, -0.5438979268074036, 1.2975807189941406, -0.48422279953956604, -0.4563080966472626, -0.08055926859378815, -0.034060653299093246, 0.006342187523841858, -0.15733496844768524, 0.7288661003112793, 0.8848467469215393, 0.3284291625022888, -0.12454868108034134, -0.5951092839241028, 0.3856423497200012, 0.5151022672653198, -0.7520476579666138, 0.22332966327667236, 0.1983402967453003, 0.39075639843940735, 0.1481168419122696, -0.096647709608078, -0.2898033857345581, 0.43554913997650146, 0.03949031978845596, -0.20503643155097961, -0.10693027079105377, -0.5788612961769104, -0.6514133214950562, 0.2785544693470001, -0.055026888847351074, -0.15201742947101593 ]
http://arxiv.org/abs/2404.19563v1
http://arxiv.org/pdf/2404.19563v1
RepEval: Effective Text Evaluation with LLM Representation
2024-04-30T13:50:55
2024-04-30T13:50:55
Shuqian Sheng, Yi Xu, Tianhang Zhang, Zanwei Shen, Luoyi Fu, Jiaxin Ding, Lei Zhou, Xinbing Wang, Chenghu Zhou
cs.CL
cs.CL
Automatic evaluation metrics for generated texts play an important role in the NLG field, especially with the rapid growth of LLMs. However, existing metrics are often limited to specific scenarios, making it challenging to meet the evaluation requirements of expanding LLM applications. Therefore, there is a demand for new, flexible, and effective metrics. In this study, we introduce RepEval, the first metric leveraging the projection of LLM representations for evaluation. RepEval requires minimal sample pairs for training, and through simple prompt modifications, it can easily transition to various tasks. Results on ten datasets from three tasks demonstrate the high effectiveness of our method, which exhibits stronger correlations with human judgments compared to previous metrics, even outperforming GPT-4. Our work underscores the richness of information regarding text quality embedded within LLM representations, offering insights for the development of new metrics.
[ -0.135240837931633, -0.24108180403709412, 0.4563981592655182, 0.34918293356895447, -0.47423455119132996, 0.31346651911735535, -0.3278093636035919, -0.28432878851890564, 0.25751906633377075, 0.16106535494327545, -0.28916919231414795, -1.0653825998306274, -0.739136278629303, 0.2969376742839813, -0.538998544216156, 0.9443193674087524, -0.2169908732175827, 0.00018562465265858918, -0.36016881465911865, -0.35074901580810547, -0.429561585187912, -0.5695226788520813, -0.34317776560783386, -0.44455087184906006, 0.597954273223877, 0.16191834211349487, 0.5073535442352295, 0.5801455974578857, 0.8151635527610779, 0.22219489514827728, 0.24776799976825714, 0.37645915150642395, -0.6166415214538574, 0.27141711115837097, -0.09073271602392197, -0.3275061547756195, -0.26392266154289246, 0.42518728971481323, 0.9715821743011475, 0.45433104038238525, -0.3034866750240326, 0.3797524571418762, 0.4618735611438751, 0.876100480556488, -0.5072252750396729, -0.057885125279426575, -0.511837363243103, 0.22279119491577148, -0.13288383185863495, -0.485984206199646, -0.5630968809127808, -0.5904850959777832, 0.18503479659557343, -0.705797553062439, 0.12405470013618469, 0.2415788620710373, 0.8469560146331787, 0.28383588790893555, -0.24110670387744904, -0.28369247913360596, -0.32452717423439026, 1.0002830028533936, -0.594891369342804, 0.6756824254989624, 0.18706762790679932, 0.347547709941864, -0.03765374794602394, -1.1317400932312012, -0.21580173075199127, -0.46376216411590576, -0.15103699266910553, 0.4317140579223633, -0.1783246248960495, -0.13197354972362518, -0.11228745430707932, 0.4010661840438843, -0.3181631565093994, 0.03633488714694977, 0.13034720718860626, -0.33626893162727356, 0.5603474974632263, 0.22294414043426514, 0.1412552297115326, -0.3420636057853699, -0.6261017322540283, -0.18296025693416595, -0.8595635294914246, -0.40922287106513977, 0.13703954219818115, 0.10396099090576172, 0.1269533932209015, 0.6339457631111145, 0.19724634289741516, 0.5346996784210205, -0.09278150647878647, -0.019642608240246773, 0.30599480867385864, -0.5678662061691284, -0.33822426199913025, -0.16828668117523193, 0.9392264485359192, 0.5368030071258545, -0.18886396288871765, -0.1320149302482605, -0.3519480526447296, -0.1441216915845871, 0.6129804253578186, -0.7011353373527527, -0.07341268658638, -0.31812214851379395, -0.7603781223297119, -0.363363653421402, 0.19752658903598785, -0.8110610842704773, -0.7930319309234619, -0.16415861248970032, 0.27872076630592346, -0.44503071904182434, -0.05361287668347359, -0.16994933784008026, 0.06086909770965576, 0.2390371561050415, 0.4573288857936859, -0.6902797818183899, 0.2169138789176941, 0.7159278988838196, 0.9347471594810486, -0.5470901727676392, -0.20560146868228912, -0.6523796916007996, -0.23844869434833527, -0.5702876448631287, 0.8097168207168579, -0.38226303458213806, -0.47778305411338806, 0.28024813532829285, -0.20069573819637299, 0.08940199762582779, -0.4943184554576874, 0.9920967817306519, -0.496639609336853, 0.28336066007614136, -0.011811614036560059, -0.7765376567840576, -0.06129055842757225, 0.5206151604652405, -0.6785538196563721, 1.2706856727600098, 0.43451830744743347, -0.7154635787010193, 0.676685631275177, -0.4158838391304016, -0.18594147264957428, 0.18575841188430786, -0.30004629492759705, -0.4946126639842987, 0.2940986752510071, 0.33810222148895264, 0.384395033121109, -0.42276012897491455, -0.1758991777896881, 0.15663795173168182, -0.3613540232181549, 0.09768478572368622, -0.6529728770256042, 0.16790705919265747, -0.04639798775315285, -0.019794747233390808, 0.17795297503471375, -0.5410180687904358, 0.21652111411094666, -0.15548528730869293, -0.6404574513435364, -0.4227883219718933, -0.05610926076769829, 0.030837399885058403, -0.32939624786376953, 0.4395366609096527, -0.4393547475337982, 0.19768846035003662, -0.604282021522522, 0.0040644495747983456, 0.5067068338394165, 0.023950353264808655, 0.5537263751029968, -0.22771236300468445, 0.650234580039978, -0.6262953281402588, -0.14785367250442505, -0.20430082082748413, -0.4015108048915863, -0.5504243969917297, -0.07673373818397522, 0.5926700830459595, 0.4020508825778961, -0.6776993274688721, 0.3886769413948059, -0.3112559914588928, -0.7392137050628662, -0.8431897163391113, 0.246629536151886, 0.5208185315132141, 0.4276468753814697, 0.3730238676071167, -0.15563014149665833, -0.5721423029899597, -0.868439793586731, -0.648537278175354, -0.3554808795452118, -0.27502310276031494, 0.21191813051700592, 0.2570035755634308, -0.11009498685598373, 0.790924072265625, -0.31813564896583557, -0.5360420346260071, -0.34632572531700134, 0.5334877371788025, 0.27327167987823486, 0.2122436761856079, 0.5288904309272766, -0.5739424228668213, -0.5211620926856995, -0.0539739690721035, -0.7482519745826721, -0.3245159089565277, -0.3528478145599365, -0.18696489930152893, 0.17018945515155792, 0.350119948387146, -0.056768838316202164, 0.42337632179260254, 0.76405930519104, -0.3782941401004791, 0.8307037353515625, -0.3622798025608063, 0.5037959814071655, -0.8065477013587952, -0.17574478685855865, 0.1912207007408142, -0.451762855052948, -0.3572236895561218, -0.0020409924909472466, 0.25615400075912476, 0.2823129892349243, -0.2832182049751282, 0.5262559652328491, -0.5383936166763306, -0.1854851394891739, -0.10855173319578171, 0.6927428245544434, 0.3130890130996704, 0.03261425346136093, -0.07946617156267166, 0.9957144856452942, -0.05936717987060547, -0.20388329029083252, 0.33734771609306335, 0.2568272650241852, -0.7671124339103699, 0.7453468441963196, -0.6373477578163147, 0.22694449126720428, 0.14324600994586945, 0.14355987310409546, -1.0559709072113037, 0.018744517117738724, 0.13865798711776733, -0.659401535987854, 0.28574338555336, 0.026380345225334167, -0.5728172659873962, -0.20637553930282593, -0.2860027253627777, 0.2978895902633667, 0.5771873593330383, -0.8814694285392761, 0.3921116888523102, 0.3783723711967468, 0.18066242337226868, -0.5780297517776489, -0.828214704990387, 0.32867005467414856, -0.23291301727294922, -0.3988265097141266, 0.7509661912918091, 0.27248209714889526, -0.09902328252792358, -0.09914513677358627, -0.24349044263362885, 0.13693903386592865, -0.19154492020606995, 0.05723537877202034, 0.2827844023704529, -0.18746431171894073, 0.28759658336639404, -0.01189056783914566, -0.3312157094478607, 0.01375818345695734, -0.22484725713729858, 0.2581430673599243, -0.302749365568161, -0.4893503487110138, -0.47466766834259033, 0.031091803684830666, 0.16859783232212067, -0.08109740912914276, 0.5475122332572937, 0.5726144313812256, -0.2987537682056427, -0.1194431409239769, -0.5175365209579468, 0.13015305995941162, -0.443481981754303, 0.5283564925193787, -0.020179875195026398, -0.8082209229469299, 0.14122049510478973, -0.23989582061767578, 0.20815622806549072, 0.5019142031669617, 0.42209407687187195, -0.22831237316131592, 0.8732239007949829, 0.5898431539535522, 0.13932693004608154, 0.5299884676933289, -0.18469709157943726, -0.16875286400318146, -1.1543550491333008, -0.37186509370803833, -0.2712692320346832, -0.42244526743888855, -0.4870891869068146, -0.7574173808097839, 0.22120952606201172, 0.31690630316734314, -0.06084992736577988, 0.4426730275154114, -0.8424773216247559, 0.4993164539337158, 0.2333097904920578, 0.02619161643087864, 0.5263830423355103, 0.09531184285879135, -0.11348796635866165, -0.5764603018760681, -0.533616840839386, -0.9532216787338257, 1.0289278030395508, 0.5525802373886108, 0.6207395195960999, -0.154630646109581, 1.1483969688415527, 0.6105987429618835, 1.1428608894348145, -0.8420188426971436, 0.501430869102478, -0.34993621706962585, -0.09996810555458069, -0.300622820854187, -0.5471697449684143, -0.9324179887771606, 0.4434599280357361, -0.3945015072822571, -0.4822874367237091, 0.012672211974859238, 0.02601701207458973, -0.267106831073761, 0.17940568923950195, -0.5887588262557983, 0.6880216002464294, -0.3200315833091736, -0.24459929764270782, -0.2548470199108124, -0.17520277202129364, 0.007337998133152723, 0.028732893988490105, 0.06143340468406677, -0.1815216839313507, -0.5842112898826599, 1.0949527025222778, -0.20280727744102478, 0.48810893297195435, -0.25921404361724854, -0.1279604583978653, 0.4020797312259674, 0.1729346066713333, 0.50490403175354, 0.2083621770143509, -0.4289202094078064, 0.25274595618247986, -0.07179837673902512, -0.04438056796789169, -0.9350125193595886, 0.7520186901092529, -0.567808985710144, -0.4254695475101471, -0.4737612009048462, -0.2682744264602661, -0.25954362750053406, 0.19648608565330505, 0.2386559247970581, 0.27324628829956055, -0.5834972858428955, 0.3599971532821655, 0.16382651031017303, -0.5439176559448242, 0.185045525431633, 0.3442463278770447, -0.48936927318573, -0.8825747966766357, 0.8053240180015564, -0.11720269173383713, 0.10919532179832458, 0.36513951420783997, 0.2653813362121582, -0.7180236577987671, -0.744513750076294, -0.28610527515411377, 0.050766121596097946, -0.6789271831512451, -0.6221269369125366, -0.21633899211883545, -0.2791213095188141, 0.07400396466255188, -0.1520502269268036, -0.46556591987609863, -0.41636985540390015, -0.3434159457683563, -0.35842448472976685, 0.1944313496351242, 0.7791489958763123, -0.07360795885324478, 0.33578500151634216, -0.8300896286964417, 0.25043028593063354, 0.040490929037332535, 0.5572996735572815, -0.18526960909366608, -0.6565421223640442, -0.3471548855304718, -0.1388615369796753, -0.18051563203334808, -0.7909704446792603, 0.6806769371032715, 0.34467998147010803, 0.6405715346336365, 0.19928784668445587, 0.034088749438524246, 0.47773265838623047, -0.5392282605171204, 0.8627436757087708, 0.4763230085372925, -0.7818511128425598, 0.4453883767127991, -0.13974547386169434, 0.06559184938669205, 0.8723536133766174, 0.15824337303638458, -0.631565272808075, -0.35154423117637634, -0.396067351102829, -0.8249446749687195, 0.22286958992481232, 0.4155257046222687, 0.24835149943828583, -0.19006319344043732, 0.4606201946735382, 0.36382243037223816, 0.13445468246936798, -0.5845648050308228, -0.16545383632183075, -0.3179987370967865, -0.33438652753829956, 0.0921136662364006, -0.350923627614975, -0.016688600182533264, -0.26763713359832764, 0.2551729679107666, 0.10620389878749847, 0.3018873333930969, 0.41880762577056885, -0.22744013369083405, 0.35035839676856995, 0.13223126530647278, 0.33018311858177185, 0.5354136228561401, -0.14191904664039612, 0.14891317486763, 0.4058314859867096, -0.5645954012870789, 0.17705979943275452, -0.11798682063817978, 0.09980406612157822, 0.14969615638256073, 0.6920760869979858, 0.5499787330627441, 0.4235388934612274, -0.365703821182251, 0.5017691254615784, -0.15188132226467133, -0.1561070680618286, -0.2829113304615021, -0.1516866236925125, -0.22243726253509521, 0.15405641496181488, 0.5667803883552551, -0.14018914103507996, -0.005960905458778143, -0.11955723166465759, 0.5652368664741516, 0.21585191786289215, -0.7550657391548157, 0.04356888681650162, 0.5304266810417175, 0.44978779554367065, -0.5806612968444824, 0.6201909780502319, -0.34538885951042175, -0.3956716060638428, 0.4259661138057709, 0.5784255266189575, 0.9923074841499329, -0.007447564043104649, 0.4243817925453186, 0.6034238338470459, 0.4509934186935425, -0.0026490753516554832, -0.06364721059799194, 0.18626002967357635, -0.7317079901695251, -0.5153425335884094, -0.799019455909729, -0.5073636770248413, -0.18885743618011475, -0.5673170685768127, 0.09769758582115173, -0.4327716827392578, -0.3670857548713684, -0.47895509004592896, 0.18520976603031158, -0.6925709247589111, 0.11187001317739487, 0.03211602196097374, 1.1494450569152832, -0.37222808599472046, 0.60158371925354, 0.5578076243400574, -0.3170218765735626, -0.45796284079551697, 0.032942019402980804, -0.04753241688013077, -0.9375856518745422, 0.7108722925186157, 0.32078278064727783, -0.25068554282188416, 0.11395011842250824, -0.2487868368625641, -0.5530595183372498, 1.2858390808105469, 0.3959392309188843, -0.6452562808990479, 0.21328674256801605, 0.1349160373210907, 0.8171588182449341, -0.6882904767990112, 0.26050838828086853, 0.7331449389457703, 0.5805489420890808, -0.15826110541820526, -0.5205972790718079, 0.04006894677877426, -0.13587303459644318, 0.08019232749938965, 0.1592647135257721, -0.3104729652404785, 0.12517257034778595, -0.1733570694923401, -0.6516616344451904, 0.31295546889305115, 0.9981266856193542, 0.469231516122818, 0.30306220054626465, 0.4860091507434845, 0.4115835428237915, 1.045209288597107, -0.39243239164352417, 1.2259231805801392, -0.307903528213501, 0.47747424244880676, 1.150810718536377, -0.015766384080052376, 1.0219895839691162, 0.34765470027923584, -0.3498532772064209, 0.6359823346138, 0.5935248136520386, -0.21692979335784912, 0.4723021388053894, 0.3531544506549835, -0.29492729902267456, -0.22014227509498596, -0.14860907196998596, -0.3047848045825958, 0.2602119743824005, 0.41783607006073, -0.5252106189727783, -0.28679129481315613, -0.12138214707374573, -0.2688889801502228, 0.6189455986022949, -0.10763029754161835, 0.6638650298118591, 0.24449272453784943, -0.46141570806503296, 0.556170642375946, -0.016593823209404945, 0.806834876537323, -0.4676205515861511, -0.31976568698883057, -0.3006318211555481, -0.05466488376259804, -0.32149630784988403, -1.1333976984024048, 0.4969204068183899, 0.11785849928855896, 0.07475055754184723, -0.569311261177063, 0.8405173420906067, -0.3798975646495819, -0.5162153840065002, 0.4221917986869812, 0.3959481120109558, 0.2097121775150299, -0.07043326646089554, -0.6019323468208313, -0.016517823562026024, -0.12631765007972717, -0.31237462162971497, 0.1414923518896103, 0.49535098671913147, 0.2417432963848114, 0.5435688495635986, 0.4948759078979492, 0.23777705430984497, -0.13119260966777802, 0.30850884318351746, 0.5752180814743042, -0.7927303314208984, 0.003985418006777763, -0.9448487162590027, 0.4542064964771271, -0.3511554002761841, -0.3456153869628906, 0.9420181512832642, 0.6041989326477051, 0.33845841884613037, 0.23568138480186462, 0.8260841369628906, 0.18761201202869415, 0.4956660568714142, -0.3997417390346527, 1.063011884689331, -0.4796370565891266, 0.4543898403644562, -0.2972604036331177, -1.1296162605285645, -0.564802885055542, 0.8427214026451111, -0.3116532862186432, -0.18848679959774017, 0.7762346863746643, 0.45775309205055237, 0.27501341700553894, -0.18042534589767456, 0.334090918302536, -0.10132918506860733, 0.4079684317111969, 0.4658604562282562, 1.0055248737335205, -0.5248926281929016, 0.8103030920028687, 0.06717098504304886, -0.4154883921146393, -0.05977557599544525, -1.1763615608215332, -0.7218914031982422, -0.41024306416511536, -0.29999208450317383, -0.4182586371898651, -0.01081102155148983, 0.8111470937728882, 0.4815637469291687, -0.5891482830047607, -0.04066178947687149, -0.0420222282409668, 0.30181607604026794, -0.22225262224674225, -0.18637502193450928, 0.6541407704353333, -0.411056786775589, -0.5088233947753906, 0.5348882079124451, 0.4193466901779175, -0.21850599348545074, -0.41609352827072144, -0.30551230907440186, 0.1459478735923767, -0.0072653829120099545, 0.7771434783935547, 0.03812741860747337, -0.5401229858398438, -0.5042795538902283, -0.06534872204065323, -0.2809761166572571, 0.30928337574005127, 0.7067031860351562, -0.9563024044036865, 0.4993360936641693, 0.5518662929534912, 0.8561885952949524, 0.37782707810401917, 0.25597459077835083, 0.7592381238937378, -0.9744631052017212, -0.27465754747390747, 0.4002875089645386, 0.2464694380760193, 0.6053285598754883, -0.11374180763959885, 0.8219267129898071, 0.04035749286413193, -0.6390599608421326, -0.8396467566490173, 0.11830251663923264, -0.689353346824646, 0.28135162591934204, 1.1837430000305176, -0.28475403785705566, 0.052979689091444016, 0.11987734586000443, -0.43267878890037537, 0.25186875462532043, -0.403900682926178, 0.9229049682617188, 0.8168067336082458, -0.2962337136268616, -0.28039440512657166, -0.407512903213501, 0.4708753824234009, 0.28896230459213257, -0.9848878383636475, 0.14128680527210236, 0.3473021388053894, -0.052364930510520935, 0.17364707589149475, 0.5989950299263, -0.386968195438385, -0.047295138239860535, 0.016591422259807587, -0.07009036839008331, -0.03543516620993614, -0.10000292956829071, -0.16038867831230164, 0.1539035141468048, 0.09629582613706589, -0.17252500355243683 ]
http://arxiv.org/abs/2404.19553v1
http://arxiv.org/pdf/2404.19553v1
Extending Llama-3's Context Ten-Fold Overnight
2024-04-30T13:25:20
2024-04-30T13:25:20
Peitian Zhang, Ninglu Shao, Zheng Liu, Shitao Xiao, Hongjin Qian, Qiwei Ye, Zhicheng Dou
cs.CL
cs.CL
We extend the context length of Llama-3-8B-Instruct from 8K to 80K via QLoRA fine-tuning. The entire training cycle is super efficient, which takes 8 hours on one 8xA800 (80G) GPU machine. The resulted model exhibits superior performances across a broad range of evaluation tasks, such as NIHS, topic retrieval, and long-context language understanding; meanwhile, it also well preserves the original capability over short contexts. The dramatic context extension is mainly attributed to merely 3.5K synthetic training samples generated by GPT-4 , which indicates the LLMs' inherent (yet largely underestimated) potential to extend its original context length. In fact, the context length could be extended far beyond 80K with more computation resources. Therefore, the team will publicly release the entire resources (including data, model, data generation pipeline, training code) so as to facilitate the future research from the community: \url{https://github.com/FlagOpen/FlagEmbedding}.
[ -0.544154167175293, -0.5967713594436646, 0.786760151386261, 0.3448166847229004, -0.6465454697608948, 0.15836209058761597, -0.3184506595134735, -0.8980140089988708, -0.12310762703418732, 0.46127134561538696, -0.5083867907524109, -0.3228453993797302, -0.4605027735233307, 0.13702665269374847, -0.2786392867565155, 1.1805436611175537, -0.18648579716682434, -0.33574673533439636, 0.22038140892982483, -0.31674253940582275, -0.4263457953929901, -0.32725515961647034, -0.7138931155204773, -0.18723560869693756, 0.4958275854587555, 0.5394076108932495, 0.38188135623931885, 0.7819827198982239, 0.2818244695663452, 0.2311173528432846, -0.13942767679691315, 0.13283878564834595, -0.7793579697608948, -0.07010994106531143, 0.23547998070716858, -0.5940982103347778, -0.7761440873146057, 0.10144984722137451, 0.7649892568588257, 0.4710288643836975, -0.10851745307445526, 0.4879850149154663, 0.23407624661922455, 0.8195073008537292, -0.6536680459976196, 0.4103163182735443, -0.5157098174095154, -0.07945053279399872, -0.290546178817749, -0.03650200366973877, -0.21444480121135712, -0.12147040665149689, 0.01712050475180149, -0.7093492150306702, -0.08766162395477295, 0.06425131112337112, 0.7011530995368958, 0.24124528467655182, -0.5167223811149597, 0.10445692390203476, -0.5535320043563843, 0.6405738592147827, -0.5772932767868042, 0.11276403069496155, 0.315240740776062, 0.5521091818809509, -0.1606154888868332, -0.6744316220283508, -0.7239173650741577, -0.13540904223918915, 0.25721463561058044, -0.07247833907604218, -0.0075575439259409904, 0.19625920057296753, 0.46368715167045593, 0.511435866355896, -0.21454879641532898, 0.09110186994075775, -0.5192357301712036, 0.1265081763267517, 0.5541554093360901, 0.1802840232849121, 0.11304500699043274, 0.09705176949501038, -0.4753570854663849, -0.053774990141391754, -1.0609242916107178, 0.012887801975011826, 0.3926662802696228, -0.08238343894481659, -0.4160009026527405, 0.3600303530693054, -0.5151876211166382, 0.5448104739189148, -0.02761627919971943, -0.026636753231287003, 0.3583028018474579, -0.35539814829826355, -0.3016815185546875, -0.030195441097021103, 0.3550901412963867, 0.5671678185462952, -0.37897729873657227, -0.0579175241291523, -0.28443482518196106, 0.1591091901063919, 0.16050948202610016, -0.9735967516899109, -0.013939404860138893, 0.15413826704025269, -0.25511229038238525, -0.1539503037929535, -0.18195638060569763, -0.3670790195465088, -0.11804874241352081, -0.39018845558166504, 0.44843369722366333, -0.42068150639533997, -0.14792434871196747, 0.28758811950683594, 0.07183610647916794, 0.5525596737861633, 0.5074784159660339, -0.6740012168884277, 0.26032888889312744, 0.830449640750885, 0.8332429528236389, -0.3705759346485138, -0.264191210269928, -0.49251875281333923, 0.26497453451156616, -0.43119585514068604, 0.6735826730728149, -0.36653614044189453, -0.19398599863052368, -0.21625308692455292, 0.23281621932983398, 0.18101102113723755, -0.3275325894355774, 0.4901651442050934, -0.8045463562011719, 0.18237505853176117, -0.39349791407585144, -0.3818919360637665, -0.5254388451576233, 0.1773163080215454, -0.7165606021881104, 1.0681771039962769, 0.38872671127319336, -0.19942140579223633, 0.3612205684185028, -0.9862881898880005, -0.18365232646465302, 0.36988556385040283, 0.028186682611703873, -0.4239616096019745, 0.1575092077255249, 0.3912469148635864, 0.4882263243198395, -0.31927233934402466, 0.23142072558403015, -0.13178381323814392, -0.7305223345756531, -0.017590079456567764, -0.18315602838993073, 0.7107992172241211, 0.20000672340393066, -0.7509045004844666, 0.1376791000366211, -0.7502622008323669, -0.06170797720551491, -0.08387885987758636, -0.5183712244033813, -0.026308909058570862, -0.3898470103740692, -0.01713448204100132, 0.10339847207069397, 0.3153130114078522, -0.6151101589202881, 0.2822510004043579, -0.25155043601989746, 0.5583654046058655, 0.8493426442146301, -0.01239548809826374, 0.4597318470478058, -0.26337122917175293, 0.696040689945221, -0.3222499191761017, 0.45538198947906494, -0.1586100161075592, -0.5204852223396301, -0.9314115643501282, -0.36060062050819397, -0.054367054253816605, 0.08426013588905334, -0.7018199563026428, 0.27343639731407166, -0.43687963485717773, -0.4125991761684418, -0.3661358952522278, 0.23473021388053894, 0.46918535232543945, 0.3381955921649933, 0.5638923048973083, -0.23927509784698486, -0.6773148775100708, -0.8971315026283264, 0.09737280756235123, -0.04246111214160919, -0.22980885207653046, 0.13698895275592804, 0.7091643810272217, -0.48287007212638855, 0.7211911678314209, -0.44246727228164673, -0.19516593217849731, -0.31038612127304077, -0.39065423607826233, 0.48954901099205017, 0.45004981756210327, 0.572496771812439, -0.49298572540283203, -0.39083537459373474, -0.019221993163228035, -0.6913413405418396, -0.0035931819584220648, 0.013443605042994022, -0.411808043718338, 0.15025392174720764, 0.42492273449897766, -0.5099341869354248, 0.24289366602897644, 0.7373661994934082, -0.2801419794559479, 0.6992338299751282, 0.037500202655792236, 0.053519949316978455, -1.0116143226623535, -0.20717741549015045, -0.5285924673080444, -0.23934246599674225, -0.5135042071342468, 0.40820974111557007, 0.16407740116119385, -0.057294730097055435, -0.4905102252960205, 0.6002609133720398, -0.7062631845474243, -0.2303391993045807, -0.5114535689353943, 0.14362701773643494, -0.005865003447979689, 0.5762475728988647, -0.30588003993034363, 1.0665748119354248, 0.4834539294242859, -0.6569972634315491, 0.02953731268644333, 0.049108270555734634, -0.5099398493766785, 0.328087717294693, -0.6246181130409241, 0.27912837266921997, 0.17042692005634308, 0.667930006980896, -0.6641404032707214, -0.2816479802131653, 0.17197954654693604, -0.130912646651268, 0.014993146061897278, -0.022144977003335953, -0.2784174382686615, -0.1875368058681488, -0.6838486790657043, 0.7435293793678284, 0.5761694312095642, -0.9349891543388367, 0.5359788537025452, 0.452583372592926, 0.13423237204551697, -0.39390692114830017, -0.3699946403503418, 0.46321457624435425, -0.5194550156593323, -0.22049583494663239, 0.5555905699729919, -0.08923482149839401, -0.09425794333219528, -0.1447487622499466, -0.17859496176242828, 0.3632463812828064, 0.13155020773410797, 0.42076486349105835, 0.26288387179374695, -0.29517582058906555, 0.0008822725503705442, 0.1431933492422104, 0.02312294766306877, 0.0448356531560421, -0.24479956924915314, 0.5588904619216919, -0.674210250377655, -0.10361342877149582, -0.4897756576538086, 0.11366866528987885, 0.22143340110778809, 0.07997381687164307, 0.7998948097229004, 0.6234099864959717, -0.3562617599964142, -0.07676535844802856, -0.6857776045799255, -0.16251954436302185, -0.5456510186195374, 0.3439057171344757, -0.43744009733200073, -1.2778843641281128, 0.45753905177116394, 0.07529237121343613, 0.029652493074536324, 0.5499060750007629, 0.4252103269100189, 0.0060089523904025555, 0.7136342525482178, 0.9369327425956726, -0.15175208449363708, 0.6315013766288757, -0.5944046974182129, 0.00893531646579504, -1.557607889175415, -0.22782233357429504, -0.02374357171356678, -0.3260727524757385, -0.6454519033432007, -0.8476900458335876, 0.4363260567188263, 0.33574652671813965, -0.4333386719226837, 0.4913921356201172, -0.39578425884246826, 0.5959902405738831, 0.19082772731781006, 0.449560284614563, 0.12821605801582336, -0.052389297634363174, 0.27482733130455017, 0.3443987965583801, -0.6163309812545776, -0.5831910967826843, 1.3012701272964478, 0.4444076716899872, 0.16479875147342682, 0.15930406749248505, 0.6451062560081482, 0.10065355151891708, 0.716119110584259, -0.48312827944755554, 0.7088404297828674, 0.3051814138889313, -0.33199191093444824, -0.26525065302848816, -0.04773196205496788, -0.794175386428833, 0.21599151194095612, 0.12194398045539856, -0.702727198600769, 0.09420718252658844, 0.0041576046496629715, -0.39467790722846985, 0.20637214183807373, -0.5276515483856201, 0.45329219102859497, -0.12813825905323029, -0.45581871271133423, -0.44787418842315674, -0.5202322006225586, 0.5812497138977051, -0.1597530096769333, 0.09550939500331879, -0.5561031699180603, -0.467171847820282, 1.0824426412582397, -0.45045608282089233, 0.8969393968582153, -0.1328723430633545, -0.27646297216415405, 0.35842087864875793, -0.2657119035720825, 0.33384445309638977, 0.3217836618423462, 0.002991161774843931, 0.515557050704956, -0.37050363421440125, -0.6249411702156067, -0.5066198706626892, 0.6950439214706421, -0.7431361675262451, -0.790063738822937, -0.2840111553668976, -0.4995492696762085, -0.3243296146392822, 0.036084163933992386, -0.11962119489908218, 0.21763749420642853, 0.06586059927940369, 0.44900989532470703, 0.3145674765110016, -0.015459105372428894, 0.6398327350616455, 0.5143123269081116, -0.14464619755744934, -0.4719772934913635, 0.5967591404914856, -0.30149582028388977, 0.1318914294242859, 0.2045014649629593, 0.2260097712278366, -0.2644631564617157, -0.6733261346817017, -0.45161041617393494, 0.241679847240448, -0.7112683057785034, -0.2824183702468872, -0.528530478477478, -0.05307093635201454, -0.091620072722435, -0.2560146749019623, -0.31479379534721375, -0.655439555644989, -0.2026761919260025, -0.3958820700645447, 0.5459100008010864, 0.775507926940918, 0.01388879306614399, 0.8630012273788452, -0.5701977014541626, 0.1569800078868866, 0.2997114658355713, 0.28868868947029114, 0.05041387677192688, -0.7485417723655701, -0.4693385064601898, -0.04995453730225563, -0.2819735109806061, -0.5940625667572021, 0.22622206807136536, 0.2892140746116638, 0.4812900722026825, 0.5655795335769653, -0.2077527791261673, 1.0318254232406616, -0.5862966179847717, 0.9687147736549377, 0.10971331596374512, -0.8679462671279907, 0.4391469955444336, -0.4193921983242035, 0.44956544041633606, 0.3382265269756317, 0.25008267164230347, -0.06203293055295944, -0.3000759482383728, -0.4951269030570984, -0.9466875791549683, 0.438037633895874, 0.411559134721756, 0.20714108645915985, 0.04886427894234657, 0.7918843030929565, 0.3266753554344177, 0.1046973392367363, -0.5902298092842102, -0.09837079048156738, -0.18923628330230713, 0.23672597110271454, -0.41664746403694153, -0.4397357404232025, -0.38209861516952515, -0.5091813206672668, 0.6515788435935974, -0.516579806804657, 0.40069717168807983, -0.059827931225299835, -0.26768848299980164, 0.23280039429664612, 0.16639630496501923, 0.8425896763801575, 0.8767539262771606, -0.12984442710876465, 0.16143658757209778, 0.6054189205169678, -0.6537409424781799, 0.20400916039943695, 0.05041336640715599, 0.13609835505485535, -0.5134073495864868, 0.5584477782249451, 1.0640062093734741, 0.3998138904571533, -0.541510283946991, 0.12417715787887573, 0.016714608296751976, 0.031167397275567055, -0.2141389697790146, 0.3080698251724243, 0.11641205102205276, 0.49066051840782166, 0.7129199504852295, -0.26217931509017944, 0.21233732998371124, -0.505001425743103, 0.18601471185684204, 0.15234282612800598, -0.10163068771362305, -0.5628800988197327, 0.7629552483558655, 0.23215383291244507, 0.11135166138410568, 0.35675573348999023, -0.18354570865631104, -0.7278696894645691, 0.644413948059082, 0.6324650049209595, 0.8648591041564941, -0.05487526208162308, 0.0028095694724470377, 0.4271138310432434, 0.17289835214614868, -0.1473405510187149, 0.33747512102127075, -0.4938507378101349, -0.5720641016960144, -0.503904402256012, -0.8263236880302429, -0.3795132040977478, 0.1652163565158844, -0.6625708341598511, 0.044371332973241806, -0.35229194164276123, -0.059740908443927765, -0.5973418951034546, 0.34671416878700256, -0.7118675708770752, 0.21761737763881683, 0.02836560644209385, 0.8972932696342468, -0.49963346123695374, 0.9571690559387207, 0.46601587533950806, -0.0651136264204979, -0.7087898850440979, -0.05822935700416565, -0.2092500925064087, -1.1302272081375122, 0.6461705565452576, 0.6613625884056091, -0.312165766954422, -0.05562026426196098, -0.6531434059143066, -0.8244516253471375, 1.60232412815094, 0.34170788526535034, -0.820205569267273, 0.12817636132240295, -0.011480920948088169, 0.6061645746231079, -0.7022401690483093, 0.09575637429952621, 0.8084371089935303, 0.18332161009311676, -0.29230889678001404, -0.733263373374939, 0.45019444823265076, -0.16441227495670319, 0.29622384905815125, -0.21012303233146667, -0.75764000415802, 0.5957967042922974, -0.43326646089553833, -0.16757486760616302, -0.049810461699962616, 0.9031558632850647, 0.3958520293235779, -0.014940373599529266, 0.660685658454895, 0.5182921886444092, 0.6668557524681091, 0.06330578029155731, 1.1905871629714966, -0.6491580605506897, 0.2536182701587677, 1.0259897708892822, -0.13006919622421265, 1.039726972579956, 0.5317187905311584, -0.2453291416168213, 0.6306788325309753, 0.8469437956809998, 0.2388950139284134, 0.5157491564750671, -0.0035946411080658436, -0.6156407594680786, -0.12235824018716812, -0.1322443187236786, -0.5598136782646179, 0.37318331003189087, 0.5100106000900269, 0.03417816013097763, -0.02856690064072609, 0.0657612606883049, 0.06592487543821335, -0.4083482325077057, -0.40755197405815125, 0.49741265177726746, 0.23522749543190002, -0.6007830500602722, 0.8020011782646179, -0.15195316076278687, 0.6161502003669739, -0.30724841356277466, -0.0606706365942955, -0.38368716835975647, 0.10275424271821976, -0.046375397592782974, -0.7190126180648804, 0.017755422741174698, -0.18532566726207733, 0.15948383510112762, -0.185178741812706, 0.446320503950119, -0.2256888747215271, -0.16869132220745087, 0.23192407190799713, 0.26117995381355286, 0.08073192834854126, -0.20432829856872559, -0.4169587790966034, 0.45135873556137085, -0.04353800415992737, -0.4953926205635071, 0.44625410437583923, 0.07445261627435684, -0.2982823848724365, 0.7813615798950195, 0.7856447696685791, -0.05746087059378624, 0.1219903752207756, 0.02250974252820015, 1.3163435459136963, -0.5739196538925171, -0.4491763412952423, -0.8413910269737244, 0.16114123165607452, -0.09020859748125076, -0.32647931575775146, 0.7720986604690552, 0.7541090250015259, 0.940523087978363, -0.047700755298137665, 0.5293042659759521, 0.11123275011777878, -0.09364867210388184, -0.6780679821968079, 0.5317268967628479, -0.48121407628059387, 0.41151076555252075, -0.030051877722144127, -1.0202131271362305, -0.026368889957666397, 0.44723477959632874, -0.25497356057167053, -0.12980639934539795, 0.8272312879562378, 0.5211870670318604, 0.09353327751159668, 0.031830884516239166, 0.2234622985124588, 0.14955681562423706, 0.5483170747756958, 0.8062244057655334, 0.8029592633247375, -0.5745559334754944, 0.4681251645088196, -0.42432159185409546, -0.48804208636283875, -0.34184059500694275, -1.071607232093811, -0.8704142570495605, -0.4999673664569855, -0.1725761890411377, 0.02158334106206894, 0.2277701199054718, 0.5957894325256348, 0.6873236894607544, -0.6052602529525757, -0.30225035548210144, 0.005275909788906574, -0.04802820086479187, -0.28045397996902466, -0.2143113762140274, 0.5101595520973206, -0.2616991698741913, -0.6829366683959961, 0.6950145363807678, 0.5225769877433777, -0.15597620606422424, -0.306565523147583, -0.20058093965053558, -0.04153446853160858, -0.23249518871307373, 0.9877089262008667, 0.14756247401237488, -0.6451622247695923, -0.4806313216686249, -0.14085698127746582, 0.09225138276815414, 0.10688763111829758, 0.5584818124771118, -0.8230994343757629, 0.12734611332416534, 0.14973397552967072, 0.6464883089065552, 0.6994630098342896, 0.03858061879873276, 0.727888822555542, -0.49764585494995117, 0.22373981773853302, 0.0012829130282625556, 0.39137887954711914, 0.25548383593559265, -0.35940879583358765, 0.75197833776474, 0.04389011859893799, -0.5769214630126953, -0.9144335985183716, 0.09678035229444504, -0.9937586188316345, -0.005906073376536369, 1.1703344583511353, -0.14275798201560974, -0.42135944962501526, 0.14917588233947754, -0.2120928168296814, 0.27269217371940613, -0.3588436245918274, 0.9603686928749084, 0.42565831542015076, -0.434068500995636, -0.2254650890827179, -0.9872187376022339, 0.7639955878257751, 0.18143194913864136, -0.9303675889968872, -0.24316151440143585, 0.31930384039878845, 0.48753881454467773, -0.09949100017547607, 0.7880017161369324, -0.02682582475244999, 0.5333825945854187, -0.1634516716003418, -0.055837199091911316, -0.16191844642162323, -0.32361260056495667, -0.2933156192302704, 0.1244136393070221, -0.055200397968292236, -0.39878323674201965 ]
http://arxiv.org/abs/2404.19543v1
http://arxiv.org/pdf/2404.19543v1
RAG and RAU: A Survey on Retrieval-Augmented Language Model in Natural Language Processing
2024-04-30T13:14:51
2024-04-30T13:14:51
Yucheng Hu, Yuxing Lu
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have catalyzed significant advancements in Natural Language Processing (NLP), yet they encounter challenges such as hallucination and the need for domain-specific knowledge. To mitigate these, recent methodologies have integrated information retrieved from external resources with LLMs, substantially enhancing their performance across NLP tasks. This survey paper addresses the absence of a comprehensive overview on Retrieval-Augmented Language Models (RALMs), both Retrieval-Augmented Generation (RAG) and Retrieval-Augmented Understanding (RAU), providing an in-depth examination of their paradigm, evolution, taxonomy, and applications. The paper discusses the essential components of RALMs, including Retrievers, Language Models, and Augmentations, and how their interactions lead to diverse model structures and applications. RALMs demonstrate utility in a spectrum of tasks, from translation and dialogue systems to knowledge-intensive applications. The survey includes several evaluation methods of RALMs, emphasizing the importance of robustness, accuracy, and relevance in their assessment. It also acknowledges the limitations of RALMs, particularly in retrieval quality and computational efficiency, offering directions for future research. In conclusion, this survey aims to offer a structured insight into RALMs, their potential, and the avenues for their future development in NLP. The paper is supplemented with a Github Repository containing the surveyed works and resources for further study: https://github.com/2471023025/RALM_Survey.
[ -0.4586470425128937, -0.9711887836456299, 0.39318978786468506, -0.05240741744637489, 0.05095377564430237, 0.40340903401374817, -0.3232637643814087, -0.7934510707855225, 0.3024027347564697, 0.7865813374519348, -0.2668207883834839, -0.17052268981933594, -0.631302535533905, 0.2772751748561859, -0.42698922753334045, 0.8303990960121155, 0.1746976226568222, -0.1401880830526352, -0.33726876974105835, -0.36774638295173645, -0.5655636191368103, -0.5975542664527893, -0.38092371821403503, -0.5581228733062744, 0.5041839480400085, 0.017423177137970924, 0.5841749906539917, 0.250448614358902, 0.5728052258491516, 0.21948936581611633, -0.3603830337524414, 0.44292864203453064, -0.3302989900112152, 0.7250383496284485, -0.20105114579200745, -0.26779013872146606, -0.4086606502532959, 0.009565041400492191, 0.8100261688232422, 0.796764612197876, -0.22993643581867218, 0.2428264319896698, 0.1812414526939392, 0.8628495931625366, -0.9125663042068481, -0.07424881309270859, -0.627833366394043, -0.12609371542930603, -0.28035080432891846, -0.2111542820930481, -0.6704596281051636, -0.33943596482276917, 0.03024442121386528, -0.282156378030777, 0.15840908885002136, 0.3011018633842468, 0.6442204713821411, 0.1514407992362976, -0.3482348918914795, -0.48324063420295715, -0.8884738087654114, 1.0499742031097412, -0.6804326772689819, 0.6344237327575684, 0.6201115250587463, 0.22811532020568848, -0.3633754551410675, -0.6905908584594727, -0.22887302935123444, -0.428244411945343, -0.2922465205192566, -0.0016111326403915882, -0.2491375207901001, -0.002847862895578146, 0.07863537967205048, 0.6401033401489258, -0.6080692410469055, 0.08166036009788513, -0.07980100065469742, 0.05846766382455826, 0.5753535628318787, 0.254204124212265, 0.31635186076164246, -0.422882080078125, -0.3372493088245392, 0.15975938737392426, -0.5175018906593323, -0.1956736445426941, 0.07971084117889404, 0.27714186906814575, 0.0795959085226059, 0.7703776955604553, -0.09839138388633728, 1.0718594789505005, -0.40490129590034485, -0.15757682919502258, 0.11203742027282715, -0.45803597569465637, -0.1915069818496704, -0.4123275578022003, 0.7228803634643555, -0.13167047500610352, -0.12001419067382812, -0.3511461913585663, -0.5271169543266296, -0.17918702960014343, 0.3411228656768799, -0.39049839973449707, 0.0793147012591362, 0.05133397504687309, -0.3849361538887024, -0.1754382699728012, -0.09867717325687408, -0.7798407673835754, -0.4563332200050354, -0.5140987634658813, 0.20289522409439087, -0.3125898241996765, -0.4616818428039551, 0.03369450196623802, 0.09939291328191757, 0.28522273898124695, 0.24577227234840393, -0.5964029431343079, 0.5031505823135376, 0.8987608551979065, 0.6425140500068665, -0.3714865446090698, 0.08942698687314987, -0.6485288143157959, -0.048022445291280746, -0.16932468116283417, 0.9169694185256958, -0.8283858895301819, -0.4063914716243744, 0.1545981615781784, -0.3329385817050934, -0.13868767023086548, -0.7192973494529724, 0.8549918532371521, -0.9959673285484314, 0.17621904611587524, -0.12411755323410034, -0.4671487808227539, -0.4064168930053711, 0.4614269733428955, -0.7443884015083313, 1.364288330078125, -0.10662338882684708, -0.9448363780975342, -0.08917181938886642, -0.5341907739639282, -0.39191195368766785, 0.2467891126871109, -0.054350145161151886, -0.166357159614563, 0.3556152284145355, 0.12258429825305939, 0.3675718307495117, -0.7009142637252808, 0.3641904294490814, -0.09251217544078827, -0.23523850739002228, 0.3698188364505768, -0.4027900695800781, 0.6797645688056946, 0.3941773772239685, 0.22317010164260864, 0.13882926106452942, -0.754996120929718, -0.013560657389461994, 0.11872736364603043, -0.3299477696418762, -0.7046377658843994, -0.028796125203371048, 0.19005925953388214, -0.0298073198646307, 0.3349877893924713, -0.337935209274292, 0.251835435628891, -0.4102470576763153, 0.07542537152767181, 0.4240049123764038, -0.017108162865042686, 0.6135312914848328, -0.2305099368095398, 0.7609230279922485, -0.4637748897075653, 0.04872941970825195, -0.0981941670179367, -0.44169625639915466, -0.6786831617355347, -0.23194646835327148, 0.2686951458454132, 0.4240439236164093, -0.7372007966041565, 0.20949938893318176, -0.16857588291168213, -0.39626824855804443, -0.6649328470230103, 0.17027725279331207, 0.4072079658508301, 0.4514133930206299, 0.36531874537467957, -0.010370681062340736, -0.7402690649032593, -0.7289425134658813, -0.46451640129089355, 0.029915276914834976, 0.1985517144203186, 0.47886034846305847, 0.3702875077724457, -0.4019770324230194, 1.0815939903259277, -0.3628159165382385, -0.2475772202014923, -0.5468431115150452, 0.24438154697418213, 0.26263588666915894, 0.10922478884458542, 0.2714022994041443, -0.8968443870544434, -0.3244660794734955, -0.028030455112457275, -0.6895294189453125, -0.1554698497056961, 0.36397334933280945, 0.10041510313749313, 0.3670068383216858, 0.186367005109787, -0.6723910570144653, 0.4405154883861542, 0.6257994174957275, -0.032680053263902664, 0.6388795375823975, -0.28454726934432983, 0.06823796778917313, -0.8558334708213806, 0.39677000045776367, -0.14805464446544647, -0.3209773600101471, -0.8156764507293701, 0.52159184217453, -0.0681479275226593, 0.1322936713695526, -0.06913743913173676, 0.8910298943519592, -0.7454057931900024, -0.43051445484161377, -0.5312058329582214, 0.4653351902961731, 0.13274769484996796, 0.007667813915759325, 0.035557374358177185, 0.7824766635894775, 0.1288692057132721, -0.6269311904907227, 0.2168634682893753, 0.2259691059589386, -0.38116416335105896, 0.20926253497600555, -0.40792593359947205, 0.39747247099876404, -0.17630545794963837, 0.1550905406475067, -0.670574963092804, -0.10880062729120255, 0.27277645468711853, -0.5562652945518494, 0.41847196221351624, -0.2564639449119568, -0.6559748649597168, -0.13564175367355347, -0.19332186877727509, 0.48456355929374695, 0.5335607528686523, -0.3074418008327484, 0.8360369801521301, 0.5979605317115784, -0.15605886280536652, -0.9381874799728394, -0.528960645198822, 0.19835427403450012, -0.049959760159254074, -0.39420977234840393, 0.18022164702415466, 0.09822144359350204, -0.6232138872146606, 0.12796661257743835, 0.07612919807434082, -0.019418280571699142, 0.038783811032772064, 0.06790490448474884, 0.45686861872673035, -0.13198834657669067, 0.17834408581256866, -0.3758443593978882, -0.0411965511739254, -0.05475585162639618, 0.18336734175682068, 0.6332595944404602, -0.09148649871349335, -0.32445892691612244, -0.016573317348957062, 0.28186237812042236, 0.1656292974948883, -0.6615117192268372, 0.7577818632125854, 0.6272931098937988, -0.4010150134563446, -0.04436684399843216, -0.9074100255966187, -0.09794072061777115, -0.35219523310661316, 0.17727243900299072, -0.17444270849227905, -0.9582670331001282, 0.5521215200424194, 0.094972163438797, 0.16182072460651398, 0.4401223361492157, 0.4727144241333008, 0.03147558495402336, 0.7210227251052856, 0.6414511203765869, -0.09771879017353058, 0.40133967995643616, -0.2570205628871918, 0.24188557267189026, -1.2804464101791382, -0.23926638066768646, -0.820702075958252, -0.015174909494817257, -0.36205601692199707, -0.5749419927597046, 0.16958825290203094, 0.23406937718391418, 0.12252511829137802, 0.06466098129749298, -0.4226798415184021, 0.17235933244228363, 0.31994691491127014, -0.3586580753326416, 0.7185730934143066, -0.004351536277681589, -0.00626937672495842, -0.19863474369049072, -0.6117070317268372, -0.5908282995223999, 0.8140577077865601, 0.25422319769859314, 0.8332935571670532, 0.0643962025642395, 0.5921714901924133, 0.3641974925994873, 0.41091009974479675, -0.8308382630348206, 0.5122079253196716, -0.015080698765814304, -0.6895458102226257, -0.053782496601343155, -0.46973004937171936, -1.2266454696655273, 0.447176992893219, -0.3253973126411438, -0.5629982948303223, -0.003125129034742713, -0.07309651374816895, -0.09695496410131454, 0.37012094259262085, -0.31311100721359253, 0.36938169598579407, -0.13380807638168335, -0.26835739612579346, -0.42235255241394043, -0.5489724278450012, 0.6660143136978149, -0.018972670659422874, 0.5758093595504761, -0.1294562667608261, -0.09212730824947357, 0.6374223232269287, -0.07188517600297928, 0.3765523135662079, -0.0002944219158962369, -0.14125347137451172, 0.4453318119049072, 0.18857330083847046, 0.5366473197937012, -0.05800158903002739, -0.22735972702503204, -0.04230760782957077, -0.10884709656238556, -0.021424295380711555, -0.6502642035484314, 0.7422847747802734, -0.35868364572525024, -0.47410836815834045, -0.6926893591880798, -0.7296103239059448, -0.170143261551857, 0.15181395411491394, -0.10488604009151459, 0.5432317852973938, -0.01611100696027279, 0.2364235371351242, 0.7336061000823975, -0.36286044120788574, 0.2829316258430481, 0.5667803883552551, -0.8118671178817749, -0.3923858106136322, 0.7319589257240295, 0.06304498761892319, 0.25335317850112915, 0.5087417960166931, 0.016510482877492905, -0.35406363010406494, -0.6583400964736938, -0.09382837265729904, 0.45561161637306213, -0.5779236555099487, -0.48541948199272156, -0.7468574047088623, -0.34794628620147705, -0.40644845366477966, 0.18054448068141937, -0.3541364371776581, -0.27973294258117676, -0.40539029240608215, 0.12437134981155396, 0.5761479139328003, 1.0957303047180176, 0.05501248687505722, -0.15096226334571838, -0.892367422580719, 0.6212338805198669, -0.03819163888692856, 0.3783867359161377, 0.23343922197818756, -0.6588129997253418, -0.23329438269138336, 0.021177144721150398, 0.03801712766289711, -0.692595362663269, 0.615739643573761, -0.019724318757653236, 0.5882571935653687, -0.04376581683754921, 0.2615598440170288, 0.5094389915466309, -0.41984403133392334, 0.6078041195869446, -0.20134450495243073, -0.4455919563770294, 0.4134603440761566, -0.17046061158180237, 0.04583711549639702, 0.44838324189186096, 0.22170966863632202, -0.6049952507019043, -0.26982784271240234, -0.4617713987827301, -0.8985029458999634, 0.6414395570755005, 0.132514089345932, 0.07887465506792068, -0.07566500455141068, 0.38082796335220337, 0.03880427032709122, 0.023745698854327202, -0.531433641910553, -0.4641237258911133, 0.4788367748260498, 0.011904407292604446, 0.10052455961704254, -0.5505654215812683, 0.11827921122312546, 0.019315119832754135, 0.7307702302932739, 0.2803284525871277, 0.13534590601921082, 0.10363408178091049, -0.447068989276886, 0.014735348522663116, 0.5442423224449158, 0.41864579916000366, 0.6152002215385437, -0.4005545675754547, 0.04918009787797928, 0.06463708728551865, -0.6186254024505615, -0.02838379703462124, 0.08114670217037201, -0.2402147650718689, 0.15541835129261017, 0.31911271810531616, 0.5763925909996033, 0.293348491191864, -0.7396448850631714, 0.22092042863368988, -0.10412830859422684, 0.21769700944423676, -0.40754690766334534, -0.1632147580385208, -0.025030430406332016, 0.14780989289283752, 0.6162466406822205, 0.08359517902135849, 0.3306503891944885, -0.4311744272708893, -0.03008502721786499, 0.7520394325256348, -0.2305561751127243, -0.2640288770198822, 0.4706951081752777, -0.09210613369941711, -0.5817388892173767, 0.620413064956665, -0.2648768126964569, -0.3239227831363678, 0.0011041488032788038, 0.549979567527771, 0.9459763765335083, -0.11157628148794174, -0.06689096242189407, 0.25399377942085266, 0.2635546624660492, -0.04829556867480278, 0.10627983510494232, -0.0647747665643692, -0.6796372532844543, -0.8187574148178101, -0.8909133076667786, -0.4297868609428406, 0.19107824563980103, -0.9576367735862732, 0.12591905891895294, -0.12322710454463959, -0.2882382571697235, -0.37839725613594055, 0.13159440457820892, -0.47505250573158264, -0.10302887111902237, -0.0326908603310585, 0.8968340754508972, -0.4575795829296112, 0.8221427202224731, 0.8287582397460938, -0.4509783089160919, -0.31260576844215393, -0.269288033246994, -0.3236091136932373, -0.5534418821334839, 0.7668002843856812, -0.16409476101398468, -0.34040096402168274, -0.07112884521484375, -0.2189093679189682, -0.8334542512893677, 0.7951652407646179, 0.1835445761680603, -0.24809858202934265, -0.19044551253318787, 0.06573747843503952, 0.5809266567230225, -0.08606007695198059, 0.2720016539096832, 0.6216026544570923, 0.42475426197052, 0.04715815186500549, -0.7980003952980042, -0.2248261570930481, -0.1793338805437088, 0.20799604058265686, 0.2828417718410492, -0.20129799842834473, 0.4756651520729065, -0.08687153458595276, -0.2938862442970276, 0.29594579339027405, 0.7508212924003601, 0.49338749051094055, 0.1907038390636444, 0.22506307065486908, 0.6997323632240295, 0.5038925409317017, -0.037156153470277786, 1.281539797782898, -0.1199478954076767, 0.3502550423145294, 1.2323808670043945, -0.25433215498924255, 1.2058916091918945, 0.43775349855422974, -0.3781227171421051, 0.33414599299430847, 0.12536358833312988, 0.41462981700897217, 0.1315293163061142, -0.07077045738697052, -0.38475239276885986, -0.17389127612113953, -0.3281693458557129, -0.40315431356430054, 0.2917254567146301, 0.5548344254493713, -0.2352953553199768, -0.24838148057460785, 0.18919312953948975, -0.21788981556892395, 0.32340526580810547, -0.19979305565357208, 0.8984673619270325, 0.24403081834316254, -0.5514141321182251, 0.5669123530387878, 0.14632610976696014, 0.8118498921394348, -0.5625939965248108, -0.19727583229541779, -0.3407757580280304, -0.005084214266389608, -0.15679922699928284, -0.8209339380264282, 0.5024662613868713, 0.2673848867416382, -0.24151583015918732, -0.32354819774627686, 1.0237101316452026, -0.20782802999019623, -0.3833886981010437, 0.435674786567688, 0.5580514073371887, 0.11134444177150726, 0.06001842021942139, -0.6355531215667725, 0.34621307253837585, -0.19290320575237274, -0.43867167830467224, 0.4381091296672821, 0.19165761768817902, 0.07153567671775818, 0.9001339673995972, 0.5204941034317017, 0.1847154051065445, 0.2534101903438568, 0.21837347745895386, 0.6277446150779724, -0.6860864162445068, 0.15684449672698975, -0.6872884035110474, 0.3885595202445984, 0.17045815289020538, 0.09317708015441895, 0.9490806460380554, 0.7127256989479065, 0.5280978679656982, 0.09326551109552383, 0.587710440158844, -0.041559893637895584, 1.1395227909088135, -0.4826008975505829, 0.6625643372535706, -0.5050739049911499, 0.37370026111602783, -0.2645491063594818, -1.0898946523666382, -0.4665526747703552, 0.5321098566055298, -0.3440649211406708, 0.056788038462400436, 0.36973315477371216, 0.5993978977203369, -0.015900742262601852, -0.009587785229086876, 0.2432204633951187, 0.15008383989334106, 0.2792748212814331, -0.05712296813726425, 1.0635018348693848, -0.5076175332069397, 0.3610324561595917, -0.1206221729516983, 0.127736434340477, -0.3725232183933258, -0.7979636192321777, -0.47576045989990234, -0.6221992373466492, -0.12235862016677856, -0.2420906275510788, 0.021724751219153404, 0.8353297114372253, 0.1299300491809845, -0.5717630982398987, -0.34933650493621826, 0.12718655169010162, 0.30240121483802795, 0.11994637548923492, -0.24450793862342834, 0.3477815091609955, -0.6697999238967896, -0.6988511681556702, 0.5354339480400085, 0.30174773931503296, -0.22856581211090088, -0.3700490891933441, -0.12567488849163055, -0.6528732180595398, -0.1308647245168686, 0.8632712364196777, 0.47698351740837097, -1.052574872970581, 0.10160721838474274, 0.21477903425693512, -0.12470472604036331, 0.06348269432783127, 0.6646299362182617, -1.015483021736145, 0.5389671325683594, 0.6516770720481873, 0.9110699892044067, 0.38939738273620605, 0.03065035305917263, 0.3738277852535248, -0.621944785118103, 0.00817097071558237, 0.5196283459663391, 0.3977135121822357, 0.540753960609436, 0.013755256310105324, 0.5850746035575867, -0.018886379897594452, -0.7406439185142517, -1.1581147909164429, 0.1592743992805481, -0.858486533164978, -0.07854597270488739, 1.2407541275024414, 0.07998832315206528, 0.06140768527984619, -0.2326112985610962, -0.23380689322948456, 0.18062418699264526, -0.03245626017451286, 0.2946545481681824, 0.5648447871208191, -0.10152875632047653, -0.25963273644447327, -0.9280010461807251, 0.3682929575443268, 0.311611145734787, -0.6917935609817505, 0.3024338185787201, 0.6385905742645264, 0.05610759183764458, 0.1565694957971573, 0.5008288025856018, -0.282101571559906, -0.1048019677400589, -0.5172147154808044, 0.1905890256166458, 0.06704537570476532, -0.15746377408504486, -0.5871388912200928, 0.07911571115255356, 0.4776292145252228, 0.24247883260250092 ]
http://arxiv.org/abs/2404.19509v1
http://arxiv.org/pdf/2404.19509v1
Do Large Language Models Understand Conversational Implicature -- A case study with a chinese sitcom
2024-04-30T12:43:53
2024-04-30T12:43:53
Shisen Yue, Siyuan Song, Xinyuan Cheng, Hai Hu
cs.CL
cs.CL, J.5
Understanding the non-literal meaning of an utterance is critical for large language models (LLMs) to become human-like social communicators. In this work, we introduce SwordsmanImp, the first Chinese multi-turn-dialogue-based dataset aimed at conversational implicature, sourced from dialogues in the Chinese sitcom $\textit{My Own Swordsman}$. It includes 200 carefully handcrafted questions, all annotated on which Gricean maxims have been violated. We test eight close-source and open-source LLMs under two tasks: a multiple-choice question task and an implicature explanation task. Our results show that GPT-4 attains human-level accuracy (94%) on multiple-choice questions. CausalLM demonstrates a 78.5% accuracy following GPT-4. Other models, including GPT-3.5 and several open-source models, demonstrate a lower accuracy ranging from 20% to 60% on multiple-choice questions. Human raters were asked to rate the explanation of the implicatures generated by LLMs on their reasonability, logic and fluency. While all models generate largely fluent and self-consistent text, their explanations score low on reasonability except for GPT-4, suggesting that most LLMs cannot produce satisfactory explanations of the implicatures in the conversation. Moreover, we find LLMs' performance does not vary significantly by Gricean maxims, suggesting that LLMs do not seem to process implicatures derived from different maxims differently. Our data and code are available at https://github.com/sjtu-compling/llm-pragmatics.
[ -0.13205298781394958, -0.8033648133277893, 0.6543356776237488, 0.11114480346441269, -0.21972709894180298, -0.0816039964556694, -0.1967642605304718, -0.09437385946512222, 0.07261378318071365, 0.6956103444099426, -0.45990756154060364, -0.27448686957359314, -0.4675246477127075, -0.05380833148956299, -0.2652069330215454, 0.9327091574668884, -0.07412470132112503, 0.20343908667564392, 0.0030363344121724367, -0.13344068825244904, -0.30750954151153564, -0.5973621606826782, -0.5241779685020447, -0.5309631824493408, 0.5862582921981812, 0.5480940341949463, 0.9741128087043762, 0.6836456656455994, 0.6289902925491333, 0.29601407051086426, -0.002008188748732209, 0.37755972146987915, -0.6832212209701538, 0.152399942278862, -0.369568407535553, -0.5403554439544678, -0.12169690430164337, 0.20466023683547974, 0.6738691926002502, 0.6820040345191956, -0.17345131933689117, 0.10519292950630188, 0.27562418580055237, 0.37082263827323914, -0.1309373825788498, 0.17640578746795654, -0.82187819480896, 0.04767927527427673, -0.2999950647354126, -0.4504093527793884, -0.6126505136489868, -0.3763439953327179, 0.15098045766353607, -0.6038613319396973, 0.27692458033561707, 0.10336688160896301, 1.0633277893066406, -0.04972933605313301, -0.4030255079269409, -0.44555556774139404, -0.5833553671836853, 0.579190731048584, -1.052947998046875, -0.02877473644912243, 0.2775231897830963, 0.33178025484085083, -0.6170014142990112, -0.7095128893852234, -0.7988722324371338, -0.5096800923347473, -0.21792688965797424, 0.04239189624786377, 0.04655066505074501, 0.3401852548122406, 0.4745127260684967, 0.4359779953956604, -0.8551669716835022, -0.050138067454099655, -0.15990333259105682, 0.012102990411221981, 0.7554557919502258, 0.4033043682575226, 0.3812634348869324, -0.24486884474754333, -0.43797314167022705, -0.09578430652618408, -0.7365054488182068, 0.09475745260715485, 0.45077720284461975, 0.24182909727096558, -0.2729845345020294, 0.48101601004600525, 0.28714799880981445, 0.49386832118034363, 0.21558889746665955, -0.2852124571800232, 0.02172028459608555, -0.35043615102767944, -0.35717830061912537, -0.09355664998292923, 0.9608864784240723, 0.3616012632846832, 0.5111358761787415, -0.00834951363503933, 0.14072173833847046, -0.24288858473300934, 0.15089547634124756, -0.7895269393920898, -0.37176403403282166, 0.23144905269145966, -0.36497950553894043, -0.11358483880758286, -0.08251361548900604, -0.33449384570121765, -0.7276607751846313, -0.37699005007743835, 0.3862880766391754, -0.5525831580162048, -0.28941088914871216, 0.10513776540756226, -0.23120199143886566, 0.39507269859313965, 0.38623499870300293, -0.7687271237373352, 0.05906272679567337, 0.7260995507240295, 1.1068994998931885, 0.03465927764773369, -0.5181090831756592, -0.35374170541763306, 0.21318842470645905, -0.5764224529266357, 0.621983528137207, -0.5422922968864441, -0.18140237033367157, -0.1444227397441864, 0.19350945949554443, -0.47673535346984863, -0.5374970436096191, 0.6353126168251038, -0.06397342681884766, 0.0888940617442131, -0.24270504713058472, -0.5617378950119019, -0.5058024525642395, 0.27861830592155457, -0.37424084544181824, 0.44196468591690063, -0.09182408452033997, -0.7056955695152283, 0.020875217393040657, -0.618598997592926, -0.36289966106414795, 0.22668690979480743, -0.2644270956516266, -0.22877100110054016, 0.015113932080566883, -0.09521513432264328, 0.6441136002540588, -0.556217610836029, 0.9364137053489685, -0.5302690863609314, -0.51556795835495, 0.5870074033737183, -0.927655816078186, 0.8560462594032288, 0.12602849304676056, -0.19277538359165192, 0.0494980663061142, -0.17824701964855194, -0.1412361115217209, 0.43182992935180664, 0.2765558362007141, -0.18617995083332062, 0.05873296037316322, -0.4531475007534027, 0.40333327651023865, 0.14498008787631989, -0.5102632641792297, 0.021419303491711617, -0.5521223545074463, 0.4356153905391693, 0.7870491743087769, 0.07318295538425446, -0.01958923600614071, -0.7610445618629456, 0.5648387670516968, 0.15130269527435303, 0.029634665697813034, -0.5330579876899719, -0.46617603302001953, -0.7560840845108032, -0.16662336885929108, -0.2746050953865051, 0.5165351629257202, -0.8953353762626648, -0.05670325458049774, -0.35392093658447266, -0.7864802479743958, -0.2207372635602951, -0.024875877425074577, 0.506493330001831, 0.5106126070022583, 0.026578065007925034, -0.014582007192075253, -0.18818345665931702, -1.1213732957839966, -0.6263911128044128, -0.4215834438800812, 0.03918367996811867, 0.4687727391719818, 0.46622610092163086, 0.26130977272987366, 0.8170741200447083, -0.39536798000335693, -0.05493578314781189, -0.43967515230178833, 0.269735187292099, 0.5619848370552063, 0.2092178463935852, 0.3837240934371948, -0.8192196488380432, -0.6278184056282043, 0.0621192567050457, -0.8773660659790039, -0.06210704520344734, -0.28611403703689575, -0.005130480974912643, -0.3657742440700531, 0.19167284667491913, -0.5411900281906128, 0.14369697868824005, 0.509192943572998, -0.14633236825466156, 0.7604374885559082, -0.2508285939693451, 0.21958018839359283, -1.2247809171676636, -0.004232964478433132, 0.33932116627693176, -0.08079471439123154, -0.9455732703208923, 0.26850223541259766, -0.07587914168834686, -0.19745440781116486, -0.47580820322036743, 0.5239745378494263, -0.14341865479946136, 0.22386060655117035, -0.1390966773033142, 0.36811232566833496, 0.08140645176172256, 0.7653684616088867, -0.11663606762886047, 0.8258697390556335, 0.232232928276062, -0.5537111759185791, 0.6393281817436218, 0.16684302687644958, -0.05325436219573021, 0.677996814250946, -0.7510105967521667, 0.20427730679512024, -0.2384539544582367, 0.2836402952671051, -1.312728762626648, -0.6710782051086426, 0.540867805480957, -0.4214555323123932, 0.10026709735393524, -0.4308447539806366, -0.6029388904571533, -0.21116149425506592, -0.3547966182231903, 0.12422564625740051, 0.0006903574103489518, -0.5934362411499023, 0.3969404101371765, 0.5554347038269043, -0.3744058907032013, -0.3340540826320648, -0.5747602581977844, 0.2840369641780853, -0.5082280039787292, -0.8786179423332214, 0.0499100498855114, -0.28233063220977783, -0.3838169574737549, -0.5587033629417419, 0.30736544728279114, -0.13376033306121826, 0.08626174926757812, 0.3906841576099396, 0.22368480265140533, -0.25899118185043335, 0.11967211216688156, 0.05891541391611099, 0.19419819116592407, 0.056192461401224136, 0.08250529319047928, 0.6098531484603882, -0.06179330497980118, -0.5678316950798035, -0.4308944642543793, 0.19447579979896545, 0.6219452023506165, 0.02931816503405571, 0.6219362616539001, 0.10949688404798508, -0.1698150634765625, -0.07835172116756439, -0.4164707660675049, -0.0930333286523819, -0.4731590449810028, 0.315477579832077, -0.5301988124847412, -0.7190040349960327, 0.5920582413673401, 0.046530406922101974, 0.33106106519699097, 0.14009135961532593, 0.6078594326972961, 0.15972428023815155, 1.2430593967437744, 0.01304948516190052, -0.021299347281455994, 0.3398851752281189, 0.012039173394441605, 0.4392193555831909, -0.7101567387580872, 0.08136216551065445, -0.2711280286312103, -0.20913203060626984, -0.6896416544914246, -0.3527113199234009, 0.5534289479255676, -0.33434829115867615, -0.3114161193370819, 0.43052348494529724, -0.2628314197063446, 0.39229336380958557, 0.2912706136703491, -0.049647651612758636, 0.34130218625068665, -0.11220818758010864, 0.09379648417234421, -0.21990616619586945, -0.6808594465255737, -0.589775562286377, 0.8294132351875305, 0.6605761051177979, 0.7565723657608032, 0.19597117602825165, 0.3061518371105194, 0.1424088329076767, 0.2032509297132492, -0.6807221174240112, 0.6228303909301758, -0.2959649860858917, -0.5937769412994385, -0.23028169572353363, -0.47319915890693665, -0.8885736465454102, 0.7302474975585938, 0.3472476899623871, -0.7100567817687988, 0.11700986325740814, 0.1505470871925354, -0.2340119630098343, 0.2540784478187561, -0.8408075571060181, 0.8660337328910828, -0.23333793878555298, -0.40483492612838745, -0.06605212390422821, -0.6015243530273438, 0.7849007844924927, -0.02973460964858532, 0.25226348638534546, -0.3947400748729706, 0.46394670009613037, 0.5558810830116272, -0.36876174807548523, 0.8518309593200684, -0.19480718672275543, -0.33030667901039124, 0.1599258929491043, 0.26434773206710815, 0.7101148962974548, 0.005710481200367212, -0.1925809532403946, 0.2492351084947586, 0.18840569257736206, -0.09822999686002731, -0.7624564170837402, 0.6302981376647949, -0.4439081847667694, -0.8164991140365601, -0.5532906651496887, -0.8295712471008301, -0.14441755414009094, -0.10138711333274841, 0.17010323703289032, 0.6889901161193848, 0.028620461001992226, 0.2335796058177948, 0.6316174864768982, -0.23238924145698547, 0.18601730465888977, 0.7709367871284485, -0.22947750985622406, -0.13645100593566895, 1.0870349407196045, 0.3933520019054413, 0.5371618866920471, 0.05706864222884178, 0.37606602907180786, -0.04369909316301346, -0.43639013171195984, -0.723318338394165, 0.4645536243915558, -0.6201646327972412, 0.03644638881087303, -0.5005114078521729, -0.4763760268688202, -0.24011391401290894, 0.007574484217911959, -0.1264984905719757, -0.04521233215928078, -0.030666140839457512, 0.05146031081676483, 0.11503547430038452, 0.5498878359794617, 0.13580051064491272, 0.43491867184638977, -0.6102256178855896, 0.4192619323730469, -0.02777337096631527, 0.05778972804546356, 0.004315229598432779, -1.092750072479248, -0.24958375096321106, 0.5647866129875183, -0.3021050691604614, -0.8954822421073914, 0.5289127826690674, 0.19607391953468323, 0.46197575330734253, 0.606895387172699, 0.1626027524471283, 0.9443109035491943, -0.4372861981391907, 0.8619773983955383, -0.0987020954489708, -0.7195445895195007, 0.2420334666967392, -0.5893755555152893, 0.23924760520458221, 0.2925988435745239, 0.2998422384262085, -0.9791080355644226, -0.8509346842765808, -0.5898676514625549, -0.5758275389671326, 0.9438096284866333, 0.014038890600204468, 0.44229811429977417, -0.08418133854866028, 0.2271602600812912, 0.1753252148628235, 0.10140688717365265, -0.7320092916488647, -0.2598988115787506, 0.08831405639648438, -0.2328503131866455, -0.042340438812971115, -0.3077255189418793, -0.22436560690402985, -0.013376343064010143, 0.702606201171875, -0.32224351167678833, 0.1250002533197403, 0.06698265671730042, -0.13298256695270538, -0.13471774756908417, 0.1255398839712143, 0.76246178150177, 0.8728114366531372, 0.038353849202394485, 0.12377205491065979, 0.042771827429533005, -0.4765092730522156, 0.13550953567028046, 0.17141835391521454, 0.048972055315971375, 0.16894303262233734, 0.4585714340209961, 0.8736668229103088, 0.1589132398366928, -0.7317493557929993, 0.8100941181182861, -0.06603401154279709, -0.09057677537202835, -0.583816647529602, 0.029190294444561005, -0.0982375368475914, 0.3066540062427521, 0.31355777382850647, -0.4195540249347687, 0.19690893590450287, -0.5657569766044617, 0.04769338294863701, 0.6293317079544067, -0.1760704070329666, -0.3143962621688843, 0.4615298807621002, -0.09434186667203903, -0.15299443900585175, 0.22493602335453033, -0.296764075756073, -0.5476982593536377, 0.4973670244216919, 0.5768948197364807, 0.7523697018623352, -0.28795284032821655, 0.5729519724845886, 0.22806181013584137, 0.21605916321277618, -0.07393921911716461, 0.00701977638527751, 0.11474233120679855, -0.8968520760536194, -0.4824111759662628, -0.28805816173553467, -0.7154667973518372, 0.3220793306827545, -0.3579970896244049, 0.3377271294593811, -0.4971790909767151, 0.17915309965610504, 0.05495138093829155, -0.1770869642496109, -0.17785659432411194, -0.05081221088767052, 0.037683337926864624, 0.5724495649337769, -0.7801868915557861, 0.6838493943214417, 0.2975613474845886, -0.4151281416416168, -1.1041269302368164, 0.24490292370319366, 0.10863087326288223, -0.9076788425445557, 0.4557203948497772, 0.1488848626613617, -0.20717254281044006, -0.09242962300777435, -0.8003577589988708, -0.6737435460090637, 0.8417380452156067, 0.8246274590492249, -0.5226364135742188, -0.1903504729270935, 0.3846474587917328, 0.4257000684738159, -0.13462316989898682, 0.5690286159515381, 0.5767585635185242, 0.4010375738143921, 0.23633915185928345, -1.2047513723373413, -0.02803031913936138, -0.23457694053649902, -0.1254863440990448, 0.21316826343536377, -0.7730503678321838, 0.9774674773216248, -0.000023823864466976374, -0.2952728569507599, 0.09286085516214371, 0.32338008284568787, 0.3707349896430969, 0.35913440585136414, 0.11610445380210876, 0.18247666954994202, 0.7414590120315552, 0.0484088696539402, 1.1262238025665283, -0.4306659400463104, 0.1869417428970337, 1.1050773859024048, -0.4723494350910187, 0.4216119050979614, 0.2951582372188568, -0.17237979173660278, 0.41164541244506836, 0.47928065061569214, 0.21316878497600555, 0.04972188547253609, 0.2445610612630844, -0.24193720519542694, -0.16500462591648102, -0.4020952582359314, -0.1402159482240677, 0.4805960953235626, 0.5135157704353333, -0.5371650457382202, -0.22094044089317322, 0.1339855045080185, 0.5983150005340576, -0.04495973885059357, -0.17472738027572632, 0.8278994560241699, 0.2970322072505951, -0.7411987781524658, 0.6880900263786316, 0.07829904556274414, 0.38359105587005615, -0.7755746245384216, -0.2234690934419632, -0.2509876787662506, 0.23351836204528809, -0.09096764773130417, -0.9795951843261719, 0.04922099784016609, -0.11196864396333694, 0.12606988847255707, -0.07558035850524902, 0.6293619275093079, -0.7340357899665833, -0.3075557351112366, 0.0022157863713800907, 0.2422732561826706, 0.5224147439002991, -0.14565737545490265, -0.6355279684066772, -0.20304718613624573, 0.05794360488653183, -0.0740588828921318, 0.30917322635650635, 0.6419264078140259, -0.16140982508659363, 0.8275110125541687, 0.6281225681304932, 0.15826784074306488, -0.10841889679431915, -0.05222281813621521, 0.7107539772987366, -0.463079571723938, -0.33383551239967346, -1.1665031909942627, 0.28574103116989136, -0.19554327428340912, -0.2724608778953552, 1.0045467615127563, 0.5063573122024536, 0.5757620930671692, 0.08159847557544708, 0.816929817199707, 0.2567893862724304, 0.750045657157898, -0.5079298615455627, 0.5790664553642273, -0.3846365511417389, 0.1700940877199173, -0.2970513701438904, -0.514758825302124, -0.051716458052396774, 0.5220233798027039, -0.6155734658241272, -0.21753418445587158, 0.4727509617805481, 0.9474477171897888, -0.021342379972338676, 0.28925687074661255, 0.5238360166549683, 0.2632000744342804, 0.5508704781532288, 0.6934345364570618, 0.9586375951766968, -0.11182451993227005, 0.3717367649078369, -0.15106095373630524, -0.026516828685998917, -0.27207842469215393, -0.5521402955055237, -0.8984563946723938, -0.6388133764266968, 0.016529275104403496, -0.1948319971561432, 0.12243086844682693, 1.17405366897583, 0.37541210651397705, -0.615101158618927, -0.5714734196662903, 0.02806445024907589, 0.17074410617351532, -0.027293406426906586, -0.27810898423194885, 0.1190493106842041, -0.30040332674980164, -0.7747148871421814, 0.46272313594818115, 0.3662504553794861, -0.23826181888580322, -0.3847411572933197, -0.05440215766429901, -0.19021621346473694, 0.3311291038990021, 0.5163437128067017, 0.1221972331404686, -0.7676709294319153, -0.5259743928909302, -0.15840615332126617, -0.014584682881832123, 0.18609052896499634, 0.9655495285987854, -0.32490214705467224, 0.5916496515274048, 0.4271809160709381, 0.4104318618774414, 0.15277314186096191, 0.12173096090555191, 0.7626513838768005, -0.5610005259513855, 0.06839283555746078, 0.21552856266498566, 0.3780948221683502, 0.4364771246910095, -0.34789490699768066, 0.30932244658470154, 0.3266145586967468, -0.6168040037155151, -0.9081448912620544, 0.4056188464164734, -0.48969364166259766, -0.10014528036117554, 1.1837228536605835, -0.42783230543136597, -0.012363768182694912, -0.34468579292297363, -0.5522915124893188, 0.1870252639055252, -0.2753429710865021, 0.42255836725234985, 0.9916635155677795, -0.19567395746707916, -0.2956234812736511, -0.7738214731216431, 0.3077428638935089, 0.3066265881061554, -0.5611764192581177, 0.5172151923179626, 0.33837103843688965, 0.06539932638406754, 0.08600829541683197, 0.43060302734375, 0.08608080446720123, 0.2254021316766739, -0.14692042768001556, -0.35329389572143555, -0.05362195521593094, -0.11928338557481766, -0.25635063648223877, 0.11699037253856659, 0.20339089632034302, -0.07652179151773453 ]
http://arxiv.org/abs/2404.19505v1
http://arxiv.org/pdf/2404.19505v1
Context-Aware Machine Translation with Source Coreference Explanation
2024-04-30T12:41:00
2024-04-30T12:41:00
Huy Hien Vu, Hidetaka Kamigaito, Taro Watanabe
cs.CL
cs.CL
Despite significant improvements in enhancing the quality of translation, context-aware machine translation (MT) models underperform in many cases. One of the main reasons is that they fail to utilize the correct features from context when the context is too long or their models are overly complex. This can lead to the explain-away effect, wherein the models only consider features easier to explain predictions, resulting in inaccurate translations. To address this issue, we propose a model that explains the decisions made for translation by predicting coreference features in the input. We construct a model for input coreference by exploiting contextual features from both the input and translation output representations on top of an existing MT model. We evaluate and analyze our method in the WMT document-level translation task of English-German dataset, the English-Russian dataset, and the multilingual TED talk dataset, demonstrating an improvement of over 1.0 BLEU score when compared with other context-aware models.
[ -0.49418431520462036, -0.7343699336051941, 0.774566650390625, -0.07482032477855682, -0.6624540686607361, -0.2954832911491394, -0.5227841138839722, -0.6324660778045654, -0.16308976709842682, 0.5083727836608887, -0.4908024072647095, -0.43481191992759705, -0.9549421668052673, 0.1928783804178238, -0.2900841236114502, 1.0420838594436646, -0.1987389326095581, 0.09040971100330353, -0.38660523295402527, -0.3159325122833252, -1.009458065032959, -0.5693292021751404, -0.1859448403120041, -0.703305721282959, 0.30855751037597656, 0.6375308036804199, 0.8417354226112366, 0.6689403653144836, 0.5050299763679504, 0.1921396255493164, -0.1989201456308365, 0.17517489194869995, 0.00758409546688199, 0.02481909841299057, -0.5032164454460144, -0.3176195025444031, -0.41597798466682434, 0.02218596450984478, 0.45310765504837036, 0.8429937958717346, 0.2618231475353241, 0.1653539538383484, 0.1376231461763382, 0.3209044635295868, -0.33159229159355164, 0.14477944374084473, -0.6217873096466064, -0.17102305591106415, -0.05403923988342285, -0.36112165451049805, -0.5515692830085754, 0.013575066812336445, 0.23899444937705994, -0.3523131012916565, 0.311130553483963, 0.10887012630701065, 0.6010180115699768, 0.33839255571365356, -0.6765134334564209, -0.4502204656600952, -0.7457181215286255, 0.8327766060829163, -0.6037423610687256, 0.32429930567741394, 0.5198047757148743, 0.25876694917678833, 0.05469715967774391, -0.46371540427207947, -0.6745690107345581, -0.05811884254217148, -0.42372748255729675, 0.14901253581047058, -0.24569174647331238, -0.23589833080768585, 0.16548435389995575, 0.19917428493499756, -0.5298938751220703, 0.006066922564059496, -0.21160171926021576, -0.04004758223891258, 0.1642611175775528, -0.08252136409282684, 0.05043137073516846, -0.4820973873138428, -0.3406990170478821, 0.14500842988491058, -0.5788630247116089, 0.0990222916007042, -0.4459806978702545, 0.4624144732952118, 0.054075032472610474, 0.5779202580451965, -0.04838564619421959, 0.7978373169898987, 0.3226154148578644, -0.17778567969799042, 0.2419435977935791, -0.42343997955322266, -0.2772996425628662, 0.3200569450855255, 0.40023475885391235, 0.4880477786064148, -0.09272929280996323, -0.27341923117637634, -0.02690272033214569, -0.24881340563297272, 0.036221232265233994, -0.8258790373802185, 0.3367723524570465, 0.4391896426677704, -0.43754398822784424, -0.07277795672416687, -0.08025765419006348, -0.1669127345085144, -0.1464904099702835, -0.5258461236953735, 0.1976194977760315, -0.5921667218208313, -0.09078505635261536, -0.16027116775512695, -0.10385077446699142, -0.08436012268066406, 0.41663891077041626, -0.4583640992641449, -0.14982356131076813, 0.4950876832008362, 0.9060883522033691, -0.37580111622810364, -0.34630411863327026, -0.5383675694465637, 0.4206724464893341, -0.20215070247650146, 0.7372742295265198, -0.5370152592658997, -0.7166842818260193, -0.2362070381641388, 0.21786829829216003, -0.1353149563074112, -0.5887157917022705, 0.8853298425674438, -0.21368499100208282, 0.48432669043540955, -0.3955816924571991, -0.573216438293457, -0.48599275946617126, 0.2353111207485199, -0.3415951430797577, 0.877687931060791, 0.11937830597162247, -0.7238516211509705, 0.29327014088630676, -0.8855612874031067, -0.7084430456161499, 0.09665172547101974, 0.3172600567340851, -0.1869814395904541, 0.38982436060905457, 0.4497073292732239, 0.6850948333740234, -0.4089783728122711, 0.7207631468772888, -0.13452841341495514, -0.19440409541130066, 0.46960023045539856, -0.1156952902674675, 0.663404643535614, 0.3105393052101135, -0.3013085424900055, 0.4367538094520569, -0.45300859212875366, -0.20414520800113678, 0.022012729197740555, -0.04815319553017616, -0.5967196822166443, -0.01779934950172901, -0.0005026980070397258, 0.5919148325920105, 0.26165086030960083, -0.46362385153770447, 0.05806741863489151, -0.054427068680524826, 0.6892522573471069, 0.42833995819091797, -0.045558854937553406, 0.8227235078811646, -0.14603815972805023, 0.36258581280708313, 0.31541258096694946, 0.05431312695145607, -0.3419997990131378, -0.39161887764930725, -0.4193938374519348, -0.10468363761901855, 0.33131447434425354, 0.6041007041931152, -0.8317304253578186, 0.5612503290176392, -0.4902452826499939, -0.3658386766910553, -0.35950782895088196, 0.10846203565597534, 0.4303411543369293, 1.0153981447219849, 0.6175113916397095, -0.12193011492490768, -0.4043283760547638, -1.0640764236450195, -0.21348458528518677, 0.02937280759215355, -0.09080992639064789, 0.23698344826698303, 0.733322024345398, -0.40992411971092224, 0.9931031465530396, -0.31221577525138855, -0.2676435112953186, -0.47168439626693726, 0.10138003528118134, 0.19401931762695312, 0.7879090309143066, 0.41609805822372437, -0.8393186926841736, -0.2349347323179245, 0.23613660037517548, -0.6290535926818848, -0.15094143152236938, -0.09304267168045044, -0.24019138514995575, 0.0066842748783528805, 0.2644285261631012, -0.7683385014533997, 0.1838207095861435, 0.6682342886924744, -0.29090484976768494, 0.4894058406352997, -0.07068366557359695, 0.1537667214870453, -1.5419752597808838, 0.4273965656757355, -0.20342496037483215, -0.5536361336708069, -0.5194363594055176, -0.0019008509116247296, 0.30521464347839355, -0.3411039113998413, -0.4824046790599823, 0.5970011949539185, -0.23333342373371124, 0.05253613740205765, -0.43905767798423767, 0.39705440402030945, 0.33398357033729553, 0.29606547951698303, 0.1568138748407364, 0.8621741533279419, 0.21668240427970886, -0.6287307143211365, -0.007129684090614319, 0.4873621463775635, -0.1228880062699318, 0.9316807985305786, -0.6048632264137268, 0.04238472878932953, -0.01444834191352129, 0.4560166001319885, -0.795602023601532, -0.1696351170539856, 0.10743936151266098, -0.7242894768714905, 0.4277254641056061, -0.1944550722837448, -0.44265216588974, -0.14034228026866913, 0.29510191082954407, 0.21734803915023804, 0.28510433435440063, -0.5246142148971558, 0.6130238771438599, 0.23288995027542114, -0.07062391191720963, -0.554496169090271, -0.7168750166893005, 0.18734653294086456, -0.34839949011802673, -0.6129858493804932, 0.680585503578186, -0.1446400284767151, -0.031345345079898834, 0.14300552010536194, -0.12899498641490936, -0.22301717102527618, 0.22282907366752625, 0.4757351279258728, 0.07475028187036514, -0.04135502874851227, 0.24729397892951965, 0.3600178062915802, -0.2617185711860657, 0.03719837963581085, -0.4927694797515869, 0.32548388838768005, -0.20127622783184052, -0.05993255227804184, -0.307789146900177, 0.6741605401039124, 0.759462833404541, -0.35447877645492554, 0.7322881817817688, 0.8198296427726746, -0.3873664438724518, 0.01996944658458233, -0.26495087146759033, -0.2695806920528412, -0.3514915406703949, 0.4179227948188782, -0.6833489537239075, -0.8844523429870605, 0.6089702248573303, -0.2753375172615051, -0.04412749037146568, 0.646531879901886, 0.556567370891571, -0.2927435636520386, 0.987440288066864, 0.5500839352607727, 0.3052368760108948, 0.46770212054252625, -0.015501495450735092, 0.18328501284122467, -1.096744418144226, -0.1138252392411232, -0.5409491062164307, -0.26101556420326233, -0.30683398246765137, -0.40707120299339294, 0.18684151768684387, 0.43786558508872986, 0.19888192415237427, 0.7705555558204651, -0.4258422255516052, 0.2801615297794342, 0.67643141746521, -0.000413157424191013, 0.3612789511680603, -0.19432345032691956, -0.26355496048927307, -0.12449723482131958, -0.7724329233169556, -0.5700002312660217, 0.6435439586639404, 0.13089489936828613, 0.09509585052728653, 0.047475654631853104, 0.30173206329345703, 0.2982880771160126, 0.48227301239967346, -0.7310293912887573, 0.34344494342803955, -0.05607893317937851, -0.84531569480896, -0.045343831181526184, -0.5234641432762146, -0.810548722743988, 0.29742056131362915, -0.21532602608203888, -0.410854309797287, 0.10711789131164551, 0.26044535636901855, -0.02246512658894062, -0.03317077085375786, -0.6848840117454529, 1.1609176397323608, -0.2662918269634247, -0.17014898359775543, -0.26654350757598877, -0.6525507569313049, 0.315032035112381, -0.09548185765743256, 0.4259909987449646, -0.20556803047657013, 0.24400372803211212, 0.5995476245880127, -0.14922495186328888, 0.7228500843048096, -0.06646999716758728, 0.1722778081893921, 0.2495972067117691, 0.39575663208961487, 0.35263770818710327, 0.010023795999586582, -0.16035374999046326, 0.4651292562484741, -0.03140179440379143, -0.38861697912216187, -0.6025368571281433, 0.6507385969161987, -0.5847160220146179, -0.535478413105011, -0.07834568619728088, -0.7218924164772034, -0.15666711330413818, 0.3718085289001465, 0.619775652885437, 0.39630740880966187, -0.18848079442977905, 0.34890487790107727, 0.3670569658279419, -0.05857919901609421, 0.5638158917427063, 0.5029696226119995, -0.07478874921798706, -0.4175502061843872, 0.6108694672584534, 0.21276547014713287, 0.18339017033576965, 0.40710774064064026, 0.41547390818595886, -0.34679532051086426, -0.4463253915309906, -0.8464828729629517, 0.09331399202346802, -1.0276247262954712, -0.17269667983055115, -0.5806326270103455, 0.2453077733516693, -0.44835707545280457, -0.35498368740081787, -0.28814050555229187, -0.6077884435653687, -0.2023610919713974, -0.17099377512931824, -0.05605665221810341, 0.43288329243659973, 0.24657867848873138, 0.6697049140930176, -0.9513572454452515, -0.10781002789735794, 0.038739364594221115, 0.0862816795706749, -0.1792481541633606, -0.9549424052238464, -0.5786699652671814, -0.057135723531246185, -0.45542067289352417, -1.000135898590088, 0.3963698148727417, 0.1058284118771553, 0.5775371193885803, 0.35315367579460144, 0.08015839010477066, 0.6714977622032166, -0.581458568572998, 0.8306164741516113, 0.16435301303863525, -1.400744915008545, 0.7647128105163574, -0.15156777203083038, 0.7518245577812195, 0.42332541942596436, 0.29859599471092224, -0.6995643973350525, -0.23734305799007416, -0.6492828130722046, -0.568192720413208, 0.5260116457939148, 0.373687207698822, -0.042063578963279724, 0.06434883177280426, 0.32842200994491577, 0.399709552526474, 0.2916490435600281, -0.622467041015625, -0.07492785155773163, -0.2969508767127991, -0.11911416798830032, -0.3021104633808136, -0.294503390789032, -0.15614153444766998, -0.17649628221988678, 0.6680346727371216, -0.18599598109722137, 0.20043756067752838, 0.3568718731403351, -0.5837442278862, -0.16336636245250702, 0.5289507508277893, 1.0923266410827637, 0.9900866746902466, -0.2663075923919678, 0.4550993740558624, 0.266886830329895, -0.12605130672454834, -0.2609706223011017, 0.07586008310317993, -0.33588719367980957, 0.4892677068710327, 0.5073306560516357, 0.7745934724807739, 0.08358265459537506, -0.48249536752700806, 0.3849838376045227, 0.10641206800937653, 0.09174270927906036, -0.1871393322944641, -0.26654526591300964, 0.14493529498577118, 0.01690198853611946, 0.4582172632217407, 0.4802590012550354, 0.19363664090633392, -0.40953049063682556, 0.18555206060409546, 0.24567101895809174, -0.6933165788650513, -0.5409894585609436, 0.538789689540863, 0.4397560656070709, -0.2687985897064209, 0.22178922593593597, 0.005402905400842428, -0.7870798707008362, 0.3268395662307739, 0.6831367015838623, 0.8378093838691711, -0.20738649368286133, -0.10215183347463608, 0.5513115525245667, 0.38982313871383667, 0.09722721576690674, -0.14616632461547852, -0.21166974306106567, -0.7049297094345093, -0.6786949038505554, -0.3413272500038147, -0.5632224678993225, -0.08440866321325302, -0.8345947861671448, 0.10871163755655289, 0.03670001029968262, -0.41683101654052734, -0.1494448035955429, -0.279630184173584, -0.7421108484268188, 0.2665119767189026, 0.026036711409687996, 0.6346138119697571, -0.8403891921043396, 1.0248794555664062, 0.8021618127822876, -0.2830294370651245, -0.29164859652519226, -0.166768416762352, -0.24235419929027557, -0.552182137966156, 0.6063586473464966, 0.4190203547477722, -0.10581488162279129, -0.043555907905101776, -0.4383352994918823, -0.8186619877815247, 0.9195511937141418, 0.46220603585243225, -0.31614598631858826, 0.15757408738136292, -0.00281597045250237, 0.23185700178146362, -0.6708735227584839, 0.02058153785765171, 0.4140714704990387, 0.5583833456039429, -0.08095287531614304, -1.1415215730667114, 0.27767419815063477, -0.09234128892421722, 0.03710184246301651, 0.015539891086518764, -0.09017890691757202, 0.5897846817970276, -0.12561459839344025, -0.1951359510421753, -0.4069922864437103, 0.5642542243003845, -0.0919812023639679, 0.4672430753707886, 0.39500701427459717, 0.3624264895915985, 0.5472131371498108, -0.1323590874671936, 1.188711166381836, -0.5865729451179504, 0.35658854246139526, 1.5159748792648315, 0.03754723072052002, 0.90718674659729, 0.611583411693573, 0.3643063008785248, 0.3614582121372223, 0.752327561378479, 0.38211485743522644, 0.3615472912788391, -0.5025379061698914, 0.07996019721031189, -0.41290968656539917, -0.40066397190093994, -0.3452286124229431, 0.48547568917274475, 0.5051497220993042, -0.7580738067626953, -0.2265477031469345, 0.3906930387020111, 0.17452791333198547, 0.06989910453557968, -0.1880827397108078, 0.6721882224082947, 0.16248172521591187, -0.9256626963615417, 0.6785303354263306, 0.32249000668525696, 0.3524775803089142, -0.3260705769062042, 0.06348986178636551, -0.19060538709163666, 0.12762397527694702, -0.09925651550292969, -0.8041234612464905, 0.6582384705543518, -0.10771597176790237, -0.6383344531059265, -0.4870700240135193, 0.4914288818836212, -0.4787368178367615, -0.34181126952171326, 0.25091487169265747, 0.6777194142341614, 0.16178233921527863, -0.412384033203125, -0.775564432144165, -0.016308827325701714, -0.1888042688369751, 0.0359320193529129, 0.0653889924287796, 0.5817636251449585, -0.21446357667446136, 0.4862355589866638, 0.7030573487281799, -0.267206609249115, -0.18904860317707062, -0.28982067108154297, 0.5250840187072754, -0.6955439448356628, -0.5014976859092712, -0.9452060461044312, 0.5310952067375183, -0.135698139667511, -0.5962028503417969, 0.7269179821014404, 0.39546915888786316, 0.7544748187065125, -0.14501507580280304, 0.7446961402893066, -0.1331721991300583, 0.4561011493206024, -0.2682707905769348, 0.4452388286590576, -0.38220763206481934, 0.056593939661979675, -0.12251824140548706, -1.041890025138855, -0.28568196296691895, 0.3739798963069916, -0.4140842854976654, -0.3500894010066986, 0.9946778416633606, 0.28280243277549744, -0.15637902915477753, -0.16598422825336456, 0.5272626280784607, 0.19504953920841217, 0.2952275574207306, 0.41055405139923096, 0.44063395261764526, -0.32422009110450745, 0.5750389695167542, -0.43152403831481934, -0.10903467237949371, -0.4738915264606476, -1.096533179283142, -0.8860471248626709, -0.7522194385528564, -0.32657763361930847, -0.49671146273612976, -0.32341310381889343, 0.8895196318626404, 1.014577031135559, -0.9155387878417969, -0.023441195487976074, 0.19331346452236176, 0.38243424892425537, -0.6103247404098511, -0.1542632132768631, 0.35833740234375, -0.21373651921749115, -0.7580509185791016, 0.4504563808441162, 0.20412380993366241, -0.025184379890561104, 0.052184686064720154, -0.04376841336488724, 0.06824794411659241, -0.014008942991495132, 0.882737398147583, -0.17026565968990326, -1.0185785293579102, -0.44325023889541626, 0.10381454974412918, -0.2902541756629944, 0.2417486310005188, 0.9882433414459229, -0.47584155201911926, 0.6045857071876526, 0.3395560085773468, 0.5710131525993347, 0.3778701424598694, 0.25297170877456665, 0.7063025236129761, -0.7313957214355469, 0.19957739114761353, 0.07712072134017944, 0.49983805418014526, 0.6071981191635132, -0.4892214238643646, 0.41858044266700745, 0.3630560040473938, -0.34849071502685547, -0.5882575511932373, 0.42126578092575073, -1.301344633102417, -0.6235085129737854, 0.9624714851379395, -0.28521254658699036, -0.30423876643180847, -0.18886293470859528, -0.30547189712524414, 0.387336790561676, -0.3683396577835083, 0.6062699556350708, 0.7856408357620239, -0.03473182022571564, -0.312447726726532, -0.5807629227638245, 0.19759182631969452, 0.48490723967552185, -0.42122793197631836, 0.20511983335018158, 0.46212953329086304, 0.30857357382774353, 0.4187008738517761, 0.10217013955116272, -0.04247729107737541, 0.29353880882263184, -0.2748645842075348, 0.33472511172294617, -0.40428781509399414, -0.11279062181711197, -0.2893389165401459, 0.2012215405702591, 0.05436944589018822, -0.1939719170331955 ]
http://arxiv.org/abs/2404.19486v1
http://arxiv.org/pdf/2404.19486v1
Safe Training with Sensitive In-domain Data: Leveraging Data Fragmentation To Mitigate Linkage Attacks
2024-04-30T12:09:55
2024-04-30T12:09:55
Mariia Ignashina, Julia Ive
cs.CL
cs.CL, cs.LG
Current text generation models are trained using real data which can potentially contain sensitive information, such as confidential patient information and the like. Under certain conditions output of the training data which they have memorised can be triggered, exposing sensitive data. To mitigate against this risk we propose a safer alternative which sees fragmented data in the form of domain-specific short phrases randomly grouped together shared instead of full texts. Thus, text fragments that could re-identify an individual cannot be reproduced by the model in one sequence, giving significant protection against linkage attacks. We fine-tune several state-of-the-art LLMs using meaningful syntactic chunks to explore their utility. In particular, we fine-tune BERT-based models to predict two cardiovascular diagnoses. Our results demonstrate the capacity of LLMs to benefit from the pre-trained knowledge and deliver classification results when fine-tuned with fragmented data comparable to fine-tuning with full training data.
[ -0.2968525290489197, -0.9091134071350098, 0.3210434913635254, -0.26811984181404114, -0.60886150598526, 0.08361872285604477, -0.04605960473418236, -0.8669768571853638, -0.010454257018864155, 0.6466590166091919, -0.6794745326042175, -0.4693230092525482, -0.6574309468269348, 0.03502795472741127, -0.587780237197876, 1.1618770360946655, 0.08381107449531555, 0.47679901123046875, -0.44832509756088257, -0.13784478604793549, -0.25566184520721436, -0.8894437551498413, -0.5895248055458069, -0.3215045630931854, 0.6066510081291199, 0.2468445748090744, 0.45825305581092834, 0.6680912375450134, 0.8992018699645996, 0.16584472358226776, -0.06554346531629562, 0.16662266850471497, -0.6427927613258362, 0.38008829951286316, -0.01865318976342678, -0.4479851722717285, -0.5406526923179626, -0.28689292073249817, 0.42566582560539246, 0.8432841300964355, -0.002580666681751609, -0.027410192415118217, 0.1271360218524933, 0.7207165956497192, -0.40354156494140625, -0.19618235528469086, -0.794723629951477, 0.14055395126342773, -0.34755271673202515, -0.3614717125892639, -0.39243677258491516, -0.44087907671928406, 0.3724927008152008, -0.2959892451763153, 0.484083354473114, 0.2751355469226837, 0.8355210423469543, 0.40450233221054077, -0.35865283012390137, -0.15713706612586975, -0.44823458790779114, 0.6499438285827637, -0.3840608298778534, 0.480932354927063, 0.5226010084152222, 0.11633966863155365, -0.284590482711792, -0.6659926176071167, -0.20135827362537384, 0.2724986970424652, 0.12840722501277924, -0.06287790089845657, -0.1229318380355835, 0.3303850591182709, 0.08324051648378372, 0.3357633948326111, -0.6907697916030884, 0.29834645986557007, -0.34725695848464966, -0.40131130814552307, 0.6484163403511047, 0.23879936337471008, 0.49173039197921753, 0.004817374516278505, -0.7864403128623962, 0.03771313279867172, -1.080894947052002, -0.35792699456214905, 0.29270610213279724, 0.480908066034317, -0.1725054532289505, 0.3990502953529358, 0.15472811460494995, 0.588936448097229, 0.049877166748046875, -0.2824096977710724, 0.17367006838321686, -0.20438964664936066, -0.35920250415802, 0.27840131521224976, 0.7253607511520386, 0.2827158272266388, 0.3888058066368103, -0.43090713024139404, -0.03831440582871437, 0.03630809858441353, 0.464425653219223, -0.9508607387542725, -0.40638071298599243, 0.42679858207702637, -0.5065114498138428, -0.5256973505020142, -0.1705990582704544, -0.5164491534233093, -0.15329916775226593, -0.07681382447481155, 0.2088233232498169, -0.7769397497177124, 0.1362549066543579, 0.1931934952735901, -0.03219132125377655, -0.25345665216445923, 0.2958700656890869, -0.8442853689193726, 0.24616433680057526, 0.7704566121101379, 0.5618990659713745, -0.44050613045692444, -0.13242731988430023, -0.312260240316391, 0.35788655281066895, -0.08104762434959412, 0.8716278076171875, -0.06594302505254745, -0.6541598439216614, 0.22656770050525665, -0.09659991413354874, -0.07738032191991806, -0.6788365840911865, 0.4887964725494385, -0.5842545628547668, 0.041384827345609665, -0.06686744093894958, -0.9801303148269653, 0.08745955675840378, 0.28209108114242554, -0.8281680345535278, 0.8421470522880554, 0.06065032631158829, -1.0887444019317627, 0.6896791458129883, -0.11105967313051224, -0.6207227110862732, 0.09888138622045517, -0.18106400966644287, -0.9283401966094971, 0.01426730863749981, 0.21765361726284027, 0.5606840252876282, -0.08766062557697296, 0.21514049172401428, -0.5405744314193726, 0.006732060108333826, 0.4963389039039612, -0.40906673669815063, 0.33278653025627136, 0.13970045745372772, 0.19590091705322266, 0.050473734736442566, -0.7618116140365601, 0.217937633395195, -0.14071586728096008, -0.4143560230731964, -0.4541761875152588, 0.10061516612768173, 0.07121695578098297, -0.030155358836054802, 0.1965671181678772, -0.5867031216621399, 0.051370780915021896, -0.3393329679965973, 0.24517162144184113, 0.6920355558395386, 0.5804567337036133, 0.28474727272987366, -0.8291736245155334, 0.3719380497932434, 0.3438698649406433, 0.56695556640625, 0.0935080349445343, -0.5082049369812012, -0.4176196753978729, -0.4729291498661041, 0.2649706304073334, 0.3071083426475525, -0.6896399855613708, 0.5660114884376526, -0.3891627788543701, -0.3079676628112793, -0.44746243953704834, 0.16812096536159515, 0.31376805901527405, 0.7411909103393555, 0.5338571071624756, -0.4352075159549713, -0.36970508098602295, -0.718338668346405, -0.20856352150440216, -0.12504011392593384, -0.08767201006412506, 0.3317966163158417, 0.3154703676700592, -0.3992023169994354, 0.6407669186592102, -0.5602706670761108, -0.20997299253940582, -0.3273161053657532, -0.04778751730918884, -0.31465792655944824, 0.739205539226532, 0.29980966448783875, -0.7795944213867188, -0.39992383122444153, -0.304364413022995, -0.6147387623786926, 0.28398916125297546, -0.1918332278728485, -0.3369094431400299, -0.3430713415145874, 0.49848589301109314, -0.316910982131958, 0.4108006954193115, 0.3374810814857483, -0.17725501954555511, 0.13640987873077393, -0.3075329661369324, -0.25936055183410645, -1.1558630466461182, -0.13167783617973328, -0.17632466554641724, -0.4282459318637848, -0.8919519186019897, 0.00988522544503212, 0.07726795971393585, -0.002893902827054262, -0.4183696210384369, 0.3090756833553314, -0.20742937922477722, 0.358828604221344, -0.18122068047523499, -0.2410893738269806, -0.1325216293334961, 0.10114068537950516, 0.06572794914245605, 0.451106458902359, 0.5358856320381165, -0.5012655258178711, -0.22320835292339325, 0.5786667466163635, -0.49396225810050964, 0.4724985659122467, -0.6332876086235046, 0.27934685349464417, -0.1583293229341507, 0.08396963775157928, -0.6088095903396606, -0.47857844829559326, 0.0055104391649365425, -0.32641053199768066, 0.6534302234649658, -0.06731484085321426, -0.564423680305481, -0.11688166111707687, -0.40334534645080566, 0.6776348352432251, 0.45610395073890686, -0.6653636693954468, 0.09094845503568649, 0.6382483243942261, -0.09239648282527924, -0.4460771679878235, -0.7778305411338806, -0.29772675037384033, -0.48461535573005676, -0.7559012174606323, 0.27462098002433777, -0.2948603928089142, 0.24538879096508026, -0.14982274174690247, -0.24193038046360016, -0.54270339012146, 0.4485263228416443, 0.5839858651161194, 0.48563799262046814, 0.1845203936100006, 0.24783921241760254, 0.25035396218299866, 0.1496056318283081, 0.10655750334262848, -0.15564265847206116, 0.4231669306755066, 0.3080742359161377, -0.41616666316986084, -0.405988484621048, 0.5705862641334534, 0.329558789730072, 0.0006400838610716164, 0.6994277834892273, 0.6073623299598694, -0.5228052735328674, -0.5569691061973572, -0.2314823567867279, -0.42270785570144653, -0.4871656596660614, 0.22173741459846497, 0.031508829444646835, -1.188704013824463, 0.27477917075157166, -0.3418383002281189, -0.14333809912204742, 0.17878524959087372, 0.40761664509773254, -0.5525428056716919, 0.6314414143562317, 0.9164126515388489, -0.13816477358341217, 0.4989752471446991, -0.07626616954803467, 0.16499528288841248, -0.7097137570381165, -0.5160425901412964, -0.40322345495224, -0.3723362982273102, -0.5034801959991455, -0.4932217597961426, 0.6151339411735535, 0.18672606348991394, -0.10036221891641617, -0.11461861431598663, -0.5646559000015259, 0.5439218282699585, 0.30995073914527893, 0.6499487161636353, -0.0004828467790503055, 0.2576090395450592, -0.14303340017795563, 0.0036575172562152147, -0.822393536567688, -0.3054935038089752, 1.5207853317260742, 0.34344547986984253, 1.155393123626709, -0.16456158459186554, 1.1258697509765625, 0.36393263936042786, 0.287558376789093, -0.6260249018669128, 0.3538881838321686, -0.2010558843612671, -0.7698324918746948, -0.10972459614276886, -0.4794906675815582, -1.2146414518356323, -0.20782212913036346, -0.41649916768074036, -0.7150049805641174, 0.13540126383304596, 0.056306663900613785, -0.44067642092704773, 0.4746105372905731, -0.4222410023212433, 0.5818924903869629, -0.28758758306503296, -0.1680685430765152, -0.009085660800337791, -0.9499859809875488, 0.30353808403015137, -0.6002607345581055, 0.1011640727519989, -0.3043975532054901, -0.06590262055397034, 0.7543788552284241, -0.75059974193573, 1.0725667476654053, 0.264358252286911, 0.039226286113262177, 0.2280660718679428, -0.07891901582479477, 0.26599517464637756, -0.06709356606006622, 0.24672074615955353, 0.356740802526474, -0.13721969723701477, -0.5262778401374817, -0.35687729716300964, 0.678486168384552, -0.9424710273742676, -0.17070284485816956, -0.3388504385948181, -0.5396573543548584, -0.479694128036499, 0.052612584084272385, 0.5801006555557251, 0.4898754060268402, -0.1792880892753601, 0.07418163120746613, 0.9815990328788757, 0.11285565793514252, 0.34124132990837097, 0.35296040773391724, 0.5042374730110168, -0.6101993322372437, 0.8892943263053894, -0.19331204891204834, 0.40549126267433167, 0.4826223850250244, 0.05270548537373543, -0.2916416525840759, -0.9462611079216003, -0.23710310459136963, 0.18465667963027954, -0.7569022178649902, -0.5167827010154724, -0.3864053189754486, -0.26167914271354675, -0.07622198760509491, -0.32283711433410645, -0.13978609442710876, -0.3634154796600342, -0.4766908586025238, -0.3459595739841461, 0.357911080121994, 0.7235217094421387, 0.0766347125172615, 0.4643687903881073, -1.2913610935211182, 0.07993625104427338, -0.013394800946116447, 0.2321351319551468, -0.33162954449653625, -0.17424750328063965, -0.5910882949829102, -0.29571282863616943, -0.10520362108945847, -0.7825195789337158, 0.413397878408432, 0.33502840995788574, 0.4775618016719818, 0.3475911021232605, 0.1824597716331482, 0.5416345596313477, -0.5933349132537842, 0.8102740049362183, 0.3994481861591339, -0.6642573475837708, 0.6513103246688843, -0.17954732477664948, -0.025732073932886124, 0.9159070253372192, 0.6159135103225708, -0.09851069003343582, -0.4441060423851013, -0.8128691911697388, -0.9749671220779419, 0.3278850018978119, -0.007333197630941868, -0.14152716100215912, -0.228455051779747, 0.5626569986343384, 0.3216756284236908, 0.24149519205093384, -0.5013327598571777, -0.2876306176185608, 0.2358490228652954, -0.5926716327667236, 0.12036892026662827, -0.40565723180770874, -0.5438270568847656, -0.0803140252828598, 0.42092204093933105, -0.10781897604465485, 0.2501908838748932, 0.3824256658554077, -0.22089940309524536, -0.31296229362487793, 0.10262090712785721, 0.19762848317623138, 0.32911044359207153, -0.2006080001592636, 0.17676790058612823, 0.10691150277853012, -0.9032206535339355, 0.25824257731437683, -0.008751299232244492, -0.21957187354564667, 0.12535594403743744, 0.6247851252555847, 0.4720919728279114, 0.4643053412437439, -0.7285259366035461, 0.5858058929443359, -0.1735934168100357, -0.2562813460826874, -0.060510069131851196, 0.27632269263267517, -0.171793594956398, 0.10691414773464203, -0.10811136662960052, 0.34365832805633545, -0.1106196790933609, -0.21025656163692474, 0.6389733552932739, 0.30866605043411255, -0.44654256105422974, -0.3390752673149109, 0.7795517444610596, 0.2728983759880066, 0.037671007215976715, 0.46744489669799805, 0.27745071053504944, -0.41427528858184814, 0.3942563533782959, 0.4714703857898712, 0.8793439865112305, -0.3044676184654236, -0.020074136555194855, 0.1298818439245224, 0.23105983436107635, -0.03588845208287239, 0.548666775226593, -0.018774356693029404, -0.7402517795562744, -0.1275092214345932, -0.6043819785118103, -0.4356658458709717, -0.060517266392707825, -1.0352959632873535, 0.015937766060233116, -0.682152509689331, -0.3471996486186981, -0.11276987195014954, -0.08112500607967377, -0.6455516219139099, 0.529644250869751, 0.31274837255477905, 0.9661268591880798, -0.7787126302719116, 1.3917640447616577, 0.5938227772712708, -0.30394887924194336, -0.8089598417282104, 0.14634239673614502, -0.05646388605237007, -0.7915295362472534, 0.565397322177887, -0.019296789541840553, 0.3344986140727997, -0.5581868290901184, -0.423372745513916, -0.7525933980941772, 0.9670718312263489, 0.2293807566165924, -0.6135837435722351, -0.18032985925674438, 0.559381902217865, 0.4782721698284149, -0.1807684302330017, -0.19793345034122467, 0.49325689673423767, -0.00516133476048708, -0.08306927978992462, -0.783621072769165, 0.17070196568965912, 0.1119585782289505, -0.3081244230270386, 0.4113093614578247, -0.569237232208252, 0.8884947299957275, -0.1805081069469452, -0.10318863391876221, 0.051526691764593124, 0.41079455614089966, 0.04993510618805885, 0.3171827495098114, 0.4135395288467407, 0.7663892507553101, 1.2672951221466064, -0.20188841223716736, 1.1344115734100342, -0.572890043258667, 0.16410022974014282, 1.173147439956665, -0.1063094437122345, 1.0259251594543457, 0.29733091592788696, -0.10021893680095673, 0.303804874420166, 0.7637539505958557, 0.11793926358222961, 0.7705731391906738, 0.20714125037193298, -0.7338194847106934, -0.3407299220561981, -0.02029172144830227, -0.42942720651626587, 0.2271806299686432, 0.4512487053871155, -0.3775589168071747, -0.1800628900527954, 0.0011060027172788978, 0.0829218178987503, -0.19337503612041473, -0.27172407507896423, 0.9416181445121765, 0.2334228903055191, -0.1320214718580246, 0.54061359167099, -0.3210587799549103, 0.566112756729126, -0.8139411807060242, 0.35140976309776306, -0.20245668292045593, 0.1680627167224884, -0.43240463733673096, -0.4866269528865814, 0.24216806888580322, 0.059376221150159836, -0.2502346336841583, -0.1842944175004959, 0.9249812364578247, -0.6540335416793823, -0.260110080242157, 0.08382415026426315, 0.542214572429657, 0.1926351636648178, 0.04814371466636658, -0.7217214107513428, 0.14657104015350342, 0.20014993846416473, 0.09074392914772034, 0.7334999442100525, 0.5144065022468567, 0.10954531282186508, 0.694642961025238, 0.6728309988975525, 0.37856829166412354, -0.005861516110599041, 0.11480241268873215, 1.1019600629806519, -0.6468710899353027, -0.404050350189209, -0.7218757271766663, 0.35061097145080566, -0.09797194600105286, -0.2310635894536972, 0.6092720031738281, 0.6870459914207458, 0.82218337059021, 0.2243453711271286, 0.9031375646591187, 0.6874869465827942, 0.6009384989738464, -0.520952582359314, 0.9178057909011841, -0.5006657838821411, 0.37532737851142883, -0.014865010045468807, -0.34894269704818726, -0.4764229655265808, 0.17801226675510406, -0.054884426295757294, -0.31344205141067505, 0.7591956257820129, 0.47999995946884155, 0.09186657518148422, 0.20047502219676971, 0.32306963205337524, -0.0373012013733387, 0.5812980532646179, 0.5817342400550842, 0.6853925585746765, -0.3204555809497833, 0.45399174094200134, -0.3948361873626709, 0.008449659682810307, -0.24509063363075256, -0.7262927293777466, -1.2164008617401123, -0.2068065106868744, -0.43987080454826355, -0.28862178325653076, 0.12688474357128143, 0.7814728617668152, 0.9832020401954651, -0.6057511568069458, 0.10081077367067337, -0.026410069316625595, 0.08336302638053894, 0.1287240982055664, -0.06618158519268036, 0.5645241737365723, -0.43366390466690063, -0.3968704044818878, 0.596534252166748, 0.31680968403816223, 0.6354897022247314, 0.014812521636486053, 0.12140248715877533, 0.28441929817199707, 0.12045833468437195, 0.3401540219783783, 0.07832818478345871, -0.34163740277290344, -0.316826194524765, -0.322013795375824, -0.22179098427295685, 0.08427217602729797, 0.9076003432273865, -0.6945043802261353, 0.44865942001342773, 0.22882282733917236, 0.8396809697151184, 0.2611178457736969, 0.22527974843978882, 0.5232594609260559, -0.9602290987968445, 0.1968836486339569, 0.5954306125640869, 0.4579871594905853, 0.37869614362716675, -0.7072724103927612, 0.4273901581764221, 0.2342642992734909, -0.6858218908309937, -0.8838006258010864, 0.034943562000989914, -1.204252004623413, -0.39577189087867737, 0.9011332392692566, -0.33602431416511536, -0.4030153453350067, -0.226309671998024, 0.16852357983589172, 0.07963892072439194, -0.23143403232097626, 0.7463652491569519, 0.28494465351104736, -0.29601484537124634, 0.47664034366607666, -0.31518012285232544, 0.9382244348526001, 0.5111390352249146, -1.0410406589508057, -0.13719895482063293, 0.32846733927726746, 0.5174691081047058, -0.327075332403183, 0.49669352173805237, -0.15628069639205933, 0.10425405949354172, -0.048151880502700806, -0.2050665020942688, 0.1048346757888794, -0.4103330671787262, -0.27631062269210815, 0.4101799726486206, 0.05670447647571564, -0.4092790484428406 ]
http://arxiv.org/abs/2404.19484v2
http://arxiv.org/pdf/2404.19484v2
More Compute Is What You Need
2024-04-30T12:05:48
2024-05-02T01:58:15
Zhen Guo
cs.LG
cs.LG, cs.AI, cs.CL
Large language model pre-training has become increasingly expensive, with most practitioners relying on scaling laws to allocate compute budgets for model size and training tokens, commonly referred to as Compute-Optimal or Chinchilla Optimal. In this paper, we hypothesize a new scaling law that suggests model performance depends mostly on the amount of compute spent for transformer-based models, independent of the specific allocation to model size and dataset size. Using this unified scaling law, we predict that (a) for inference efficiency, training should prioritize smaller model sizes and larger training datasets, and (b) assuming the exhaustion of available web datasets, scaling the model size might be the only way to further improve model performance.
[ -0.33415719866752625, -0.34205499291419983, 0.528761625289917, 0.31869837641716003, -0.009448355063796043, -0.3215968608856201, -0.45119771361351013, -0.35942989587783813, 0.11549314111471176, 0.6578424572944641, -0.36952126026153564, 0.4670885503292084, -0.6444417238235474, -0.19525215029716492, -0.4859079420566559, 0.729021430015564, 0.46659332513809204, 0.2043134868144989, -0.4120216369628906, 0.17966040968894958, -0.21141068637371063, -0.47474780678749084, -0.5708214044570923, -0.6461002826690674, 0.3195574879646301, 0.3136309087276459, 1.0633866786956787, 1.017545223236084, 0.690561056137085, 0.35196587443351746, 0.01910337246954441, -0.3840104043483734, -0.5058621168136597, -0.2033938616514206, -0.0437065027654171, -0.9444600939750671, -0.40714845061302185, -0.002304020104929805, 0.5395871996879578, 0.7571532726287842, -0.44050103425979614, 0.2575695812702179, -0.34593096375465393, 0.5530200004577637, -0.8903533816337585, 0.12423865497112274, -0.5424948930740356, -0.2234971821308136, -0.2709324061870575, 0.09497995674610138, -0.5987693667411804, -0.21449320018291473, 0.04074437916278839, -0.8067928552627563, 0.25449785590171814, 0.005449105054140091, 0.9497559666633606, 0.5072080492973328, -0.3564195930957794, -0.10247405618429184, -0.6224976181983948, 0.8912159204483032, -0.7981988787651062, 0.5726673007011414, 0.36471468210220337, 0.2987291216850281, 0.2641814649105072, -1.1485940217971802, -0.5566115975379944, -0.3492864966392517, -0.21170970797538757, -0.0499190092086792, -0.4509909749031067, 0.12770976126194, 0.5876120328903198, 0.3315402865409851, -0.2542141079902649, 0.5261234045028687, -0.3599030375480652, -0.11036024242639542, 0.5646128058433533, 0.18749822676181793, 0.4632198214530945, 0.009948140010237694, 0.16347455978393555, -0.30748122930526733, -0.6056681871414185, -0.03029065765440464, 0.30424636602401733, 0.5494152307510376, -0.15770253539085388, 0.3691847026348114, -0.01577233150601387, 0.7410297989845276, 0.17626234889030457, -0.19181685149669647, 0.14511093497276306, -0.1694701611995697, -0.3028934597969055, 0.00009525418136036023, 0.6989582180976868, 0.18480727076530457, 0.5709022283554077, -0.10822157561779022, -0.016826894134283066, -0.08796761184930801, 0.7544521689414978, -1.1987512111663818, -0.35771727561950684, -0.012382032349705696, -0.3611051142215729, -0.09584565460681915, -0.2213832437992096, -0.6681290864944458, -0.4559210240840912, -0.5838450193405151, 0.40842747688293457, 0.02003638632595539, -0.5010775923728943, 0.01956254616379738, -0.18992897868156433, 0.09910813719034195, 0.24966558814048767, -1.2370774745941162, 0.3805669844150543, 0.6360043287277222, 0.8326064944267273, 0.2855469584465027, -0.3040511906147003, -0.29006072878837585, -0.2745359241962433, -0.6153862476348877, 0.5242686867713928, -0.5049065351486206, -0.1528366059064865, -0.027184631675481796, 0.07052378356456757, -0.3010806143283844, -0.4809020459651947, 0.5398585200309753, -0.5630227327346802, -0.1525861769914627, -0.36143559217453003, -0.5783649682998657, 0.07987766712903976, -0.38560789823532104, -1.0698575973510742, 0.7460887432098389, 0.400491863489151, -0.7194799780845642, 0.423431932926178, -0.7340250015258789, -0.8584117889404297, 0.13879087567329407, 0.0977700799703598, -0.4424918591976166, 0.39652249217033386, 0.07576341927051544, 0.5488041639328003, -0.9741614460945129, 0.4419039785861969, -0.17273616790771484, -0.3276323676109314, -0.07275284081697464, -0.14131346344947815, 1.0451840162277222, 0.4354483187198639, -0.6020856499671936, 0.028420180082321167, -0.6749991178512573, 0.12388088554143906, 0.2197832316160202, -0.2839002013206482, -0.16945545375347137, 0.21932177245616913, 0.014369988813996315, -0.21213901042938232, 0.18327316641807556, -0.4786660671234131, 0.02486199513077736, -0.29201874136924744, 0.7017493844032288, 0.6401851773262024, -0.533028244972229, 0.9232384562492371, -0.06900306791067123, 0.6881855130195618, -0.336260586977005, 0.2038259506225586, -0.13170836865901947, -0.16233372688293457, -0.8423731923103333, -0.3833974301815033, 0.2781146466732025, 0.23443813621997833, -0.19635216891765594, 0.12344931066036224, -0.4224003851413727, -0.5849897265434265, -0.5012187957763672, -0.18337556719779968, 0.26891380548477173, 0.34975534677505493, 0.3409196734428406, -0.04726048931479454, -0.7497449517250061, -1.0226470232009888, -0.14082062244415283, 0.16076768934726715, -0.0031923099886626005, 0.3234196901321411, 0.4508073925971985, -0.07850923389196396, 0.9814287424087524, -0.5700989365577698, -0.018701504915952682, -0.49525126814842224, -0.1286563128232956, 0.37507960200309753, 0.4501515030860901, 0.7234821319580078, -0.9540644884109497, -0.6252560615539551, 0.11625071614980698, -0.42353326082229614, -0.07493312656879425, -0.18347665667533875, 0.0666816234588623, -0.13143673539161682, 0.7400835156440735, -0.6045118570327759, 0.045194465667009354, 0.5734637379646301, 0.22219455242156982, 0.5293574333190918, -0.3585675358772278, -0.18378932774066925, -0.743995726108551, 0.01975584402680397, -0.04288850724697113, -0.1695142388343811, -0.699765145778656, 0.4312310814857483, 0.41625136137008667, -0.075912244617939, -0.17452025413513184, 0.44031041860580444, -0.5272125005722046, 0.044526420533657074, -0.3074161112308502, -0.13073378801345825, -0.148193821310997, 0.40536341071128845, 0.11081507056951523, 1.0918090343475342, 0.6525717377662659, -0.6139523983001709, 0.23231390118598938, -0.18055462837219238, -0.47070199251174927, 0.4487886428833008, -0.8893066644668579, -0.16902698576450348, 0.05733122304081917, 0.20600919425487518, -0.5806535482406616, -0.4890952706336975, -0.6887998580932617, -0.2995036542415619, 0.4730168282985687, -0.07112519443035126, -0.2721331715583801, -0.6503607034683228, -0.14948342740535736, 0.1907619833946228, 0.712675929069519, -0.814727783203125, 0.9306156039237976, 0.7595804929733276, 0.3027213513851166, -0.6768255829811096, -0.816733717918396, -0.20521597564220428, -0.09862402826547623, -0.5024964809417725, 0.22067709267139435, 0.07715752720832825, -0.18285691738128662, -0.10063904523849487, 0.2762938141822815, -0.4054211974143982, 0.18135075271129608, 0.3080257773399353, -0.03291398659348488, -0.6296700239181519, 0.07960335910320282, -0.20733174681663513, 0.09261446446180344, 0.3101506531238556, -0.3549686670303345, 0.8536038398742676, -0.21821613609790802, -0.17182984948158264, -0.38744860887527466, 0.0016454763244837523, 0.7908725738525391, -0.2765350043773651, 0.8471707105636597, 0.3787616491317749, -0.27049940824508667, -0.01417197473347187, -0.6452553272247314, -0.005834674928337336, -0.5183660387992859, 0.7573937773704529, -0.4561502933502197, -0.5696943998336792, 0.4838084578514099, -0.12972107529640198, 0.08048082143068314, 0.8169458508491516, 0.7692850828170776, 0.1571107804775238, 0.9948376417160034, 0.855267345905304, -0.49541568756103516, 0.620380699634552, -0.2837081849575043, 0.26214927434921265, -0.7593597173690796, 0.03522666543722153, -0.8544427156448364, -0.02429245598614216, -0.8040376901626587, -0.4289121627807617, -0.04602416604757309, -0.20658648014068604, -0.7270174622535706, 0.646378755569458, -0.5178185701370239, 0.7832337617874146, 0.8053733110427856, 0.07383417338132858, 0.024014001712203026, -0.12613001465797424, 0.05692845582962036, -0.001071239821612835, -0.9077080488204956, 0.015303948894143105, 1.243609070777893, 0.07090696692466736, 0.8417622447013855, -0.03355485200881958, 0.39035066962242126, -0.07676072418689728, 0.35829633474349976, -0.8767974972724915, 0.2811315655708313, -0.2165069580078125, -0.9158668518066406, -0.5578553676605225, -0.7172456383705139, -1.256057620048523, 0.28164902329444885, 0.019244816154241562, -0.5957871675491333, 0.041466109454631805, 0.17969229817390442, -0.2930589020252228, 0.4887351989746094, -0.8022869229316711, 0.8371187448501587, -0.14247310161590576, -0.1834220439195633, -0.5126565098762512, -0.5779902338981628, 0.21847769618034363, -0.21828687191009521, 0.43400320410728455, 0.18021109700202942, 0.10811197757720947, 0.8474739193916321, -0.6707904934883118, 0.731700599193573, -0.2243361473083496, 0.18467509746551514, 0.4484938085079193, -0.2095988541841507, 0.4537985920906067, -0.44753819704055786, -0.04093272611498833, 0.014671063050627708, -0.09148913621902466, -0.5573939085006714, -0.39086422324180603, 0.3791886568069458, -1.0559651851654053, -0.46440666913986206, -0.14954699575901031, -0.4317997992038727, -0.13106414675712585, 0.32976096868515015, 0.7795370817184448, 0.46065622568130493, -0.09992889314889908, 0.5558162331581116, 0.6276656985282898, -0.006209576036781073, 0.48965463042259216, 0.3734946548938751, -0.05262842774391174, -0.1096678227186203, 0.8440922498703003, 0.37735602259635925, 0.3826187252998352, 0.4650995135307312, 0.5242651700973511, -0.22054652869701385, -0.4270680546760559, -0.25063076615333557, 0.27074047923088074, -0.5747023820877075, -0.23708084225654602, -0.7282785177230835, -0.35556474328041077, -0.5225873589515686, -0.4855100214481354, -0.9526616334915161, -0.39643242955207825, -0.24182172119617462, 0.05047537758946419, 0.31167492270469666, 0.525688648223877, -0.22910280525684357, 0.8675374984741211, -0.21673241257667542, 0.20847053825855255, 0.2687285840511322, 0.391165167093277, 0.39214593172073364, -0.9131719470024109, -0.5070525407791138, 0.02173556573688984, -0.13659034669399261, -0.28871846199035645, 0.23718181252479553, 0.2636680603027344, 0.7147663235664368, 0.4183804392814636, -0.13770432770252228, 0.744184136390686, -0.7752322554588318, 0.4688892960548401, 0.6122332811355591, -0.9799930453300476, 0.2009279727935791, -0.183627188205719, 0.38785287737846375, 0.38550350069999695, 0.44433480501174927, -0.36448580026626587, -0.23860737681388855, -0.8481267690658569, -0.79679936170578, 0.7813645601272583, -0.18255557119846344, 0.8385592699050903, 0.20270207524299622, 0.4190976023674011, -0.2728983163833618, 0.15275266766548157, -0.7696207761764526, -0.13278117775917053, -0.161533385515213, -0.05619623139500618, -0.11812444031238556, -0.13582880795001984, 0.16299837827682495, -0.454899400472641, 0.5908320546150208, -0.23712830245494843, 0.27355480194091797, -0.36292606592178345, -0.23015239834785461, -0.07578976452350616, -0.0025643110275268555, 0.3606732189655304, 0.8591662645339966, 0.1647256314754486, -0.07826214283704758, 0.12069859355688095, -0.7919436693191528, 0.15903587639331818, -0.17721378803253174, -0.1978781372308731, -0.33151060342788696, 0.504173755645752, 1.0151327848434448, 0.2798643112182617, -0.6905781030654907, 0.6843305826187134, 0.049593593925237656, -0.3204769492149353, -0.2061256468296051, 0.3819423317909241, 0.4350680410861969, 0.18765565752983093, 0.2324725091457367, 0.05428825691342354, -0.05933128669857979, -0.3844301402568817, 0.20344313979148865, 0.31314077973365784, -0.12156011909246445, -0.1663638949394226, 0.7670131921768188, 0.012729408219456673, -0.3548928201198578, 0.8344422578811646, 0.1326269805431366, -0.5897508859634399, 0.8316400647163391, 0.6465243697166443, 0.5280379056930542, -0.5355993509292603, 0.13223180174827576, 0.7120509147644043, 0.5008664727210999, -0.6134341955184937, -0.17928120493888855, -0.02020004391670227, -0.6623045206069946, -0.6049450039863586, -0.6455670595169067, -0.43763822317123413, 0.024780776351690292, -0.8211263418197632, 0.2695591151714325, -0.5489881038665771, -0.3352399468421936, 0.29413488507270813, -0.03957265242934227, -0.7445341944694519, 0.5353831052780151, -0.08654409646987915, 0.5947996377944946, -0.5828941464424133, 0.73933345079422, 0.22905579209327698, -0.35639283061027527, -1.041135311126709, -0.4550305902957916, -0.08458922058343887, -1.0189199447631836, 0.5657767653465271, 0.02295517735183239, -0.17971768975257874, -0.05843621492385864, -0.43467968702316284, -1.2021329402923584, 0.8420903086662292, 0.9037887454032898, -0.7954826354980469, -0.18752972781658173, -0.0635322704911232, 0.6273441910743713, -0.33327049016952515, 0.5679842233657837, 0.6894529461860657, 0.23459038138389587, 0.13275587558746338, -1.0350353717803955, -0.06540483236312866, -0.07665833830833435, -0.01233462430536747, 0.5590010285377502, -0.7739123106002808, 1.22837495803833, -0.5090314745903015, -0.09845883399248123, -0.24110940098762512, 0.572992742061615, -0.4546588063240051, -0.1504966914653778, 0.5328313112258911, 0.5928016304969788, 1.0910810232162476, 0.08878420293331146, 1.472954511642456, -0.259504109621048, 0.5275965929031372, 1.3859022855758667, -0.13667061924934387, 0.834075927734375, 0.06100301072001457, -0.7068172693252563, 0.4417218267917633, 0.6326422095298767, -0.24869295954704285, 0.2425532341003418, 0.39018338918685913, 0.2567858397960663, -0.25645309686660767, -0.09571658074855804, -0.308855801820755, 0.5248934626579285, -0.05191004276275635, -0.37801745533943176, 0.00672247726470232, -0.07842889428138733, 0.4154226779937744, -0.09139177948236465, -0.3084559142589569, 0.5457469820976257, -0.19305893778800964, -0.7272050976753235, 0.66375732421875, -0.12621575593948364, 0.5179811120033264, -0.6693578958511353, 0.6384989023208618, -0.12082584947347641, 0.31445226073265076, -0.12010934203863144, -0.26283708214759827, 0.07875096797943115, -0.004153863526880741, -0.2685728967189789, -0.019266214221715927, 0.3869629502296448, 0.026115944609045982, -0.7167953252792358, 0.4031244218349457, 0.2426161766052246, 0.12933453917503357, -0.30084744095802307, -0.39974603056907654, -0.26307442784309387, -0.03121446631848812, -0.5789312124252319, 0.582828164100647, 0.1328303962945938, -0.046830810606479645, 0.7220948338508606, 0.701644241809845, 0.32647445797920227, 0.28367704153060913, 0.3762226998806, 0.8418258428573608, -0.3530566394329071, -0.6905663013458252, -0.9111752510070801, 0.32062792778015137, -0.3414546251296997, -0.18272528052330017, 0.538366973400116, 0.5820972919464111, 0.6277962327003479, 0.23309442400932312, 0.7224317789077759, -0.1847318708896637, 0.28307145833969116, -0.25893712043762207, 0.6634628176689148, -0.8799424171447754, -0.16614797711372375, -0.13558758795261383, -0.75151526927948, -0.08664900064468384, 0.7774728536605835, -0.21776649355888367, 0.09204721450805664, 0.6585027575492859, 0.6588062644004822, -0.2337365448474884, 0.33590996265411377, 0.3412497043609619, 0.1283072680234909, 0.2227766066789627, 0.35591861605644226, 0.3071165680885315, -0.19741220772266388, 0.30399876832962036, -0.3487449884414673, -0.41384807229042053, -0.15003803372383118, -0.7450356483459473, -0.7390981912612915, -0.6354874968528748, -0.2175455540418625, -0.15034732222557068, -0.42114371061325073, 0.5986584424972534, 1.1226589679718018, -0.6707185506820679, -0.5955894589424133, -0.2556133270263672, -0.13962684571743011, -0.24494138360023499, -0.15647903084754944, 0.3410324156284332, -0.7587835192680359, -0.7499141693115234, -0.04474462941288948, -0.017673231661319733, -0.21220381557941437, -0.07291550934314728, 0.06772962957620621, -0.10984748601913452, 0.4207794666290283, 0.6122114658355713, 0.23396971821784973, -0.44475990533828735, 0.10751529783010483, 0.10509272664785385, -0.27817243337631226, 0.2789272964000702, 1.3412436246871948, -0.3731100261211395, 0.5412980318069458, 0.2149907648563385, 0.9742170572280884, 0.9885293841362, -0.41401052474975586, 0.6552882790565491, -0.29549479484558105, 0.2957349717617035, 0.08546364307403564, 0.4123684763908386, 0.16632768511772156, -0.492335706949234, 0.64426189661026, -0.0976349264383316, -0.6602103114128113, -0.8381338119506836, 0.06198496371507645, -0.491769403219223, -0.4326384663581848, 0.8346511125564575, -0.20465703308582306, -0.34203189611434937, 0.3082377314567566, 0.0843011736869812, 0.19329296052455902, -0.14413896203041077, 0.35054105520248413, 0.7184364199638367, -0.19167253375053406, -0.18221630156040192, -0.7833856344223022, 0.44356590509414673, 0.5578783750534058, -0.8318376541137695, 0.35538896918296814, 0.32822883129119873, 0.15252116322517395, 0.33996695280075073, 0.6956847906112671, 0.16376373171806335, 0.14212360978126526, 0.4624110162258148, -0.05169963836669922, 0.19483903050422668, -0.2526322305202484, -0.07918296754360199, 0.3010847568511963, 0.01716631092131138, 0.3000602722167969 ]
http://arxiv.org/abs/2404.19482v1
http://arxiv.org/pdf/2404.19482v1
FactCheck Editor: Multilingual Text Editor with End-to-End fact-checking
2024-04-30T11:55:20
2024-04-30T11:55:20
Vinay Setty
cs.CL
cs.CL
We introduce 'FactCheck Editor', an advanced text editor designed to automate fact-checking and correct factual inaccuracies. Given the widespread issue of misinformation, often a result of unintentional mistakes by content creators, our tool aims to address this challenge. It supports over 90 languages and utilizes transformer models to assist humans in the labor-intensive process of fact verification. This demonstration showcases a complete workflow that detects text claims in need of verification, generates relevant search engine queries, and retrieves appropriate documents from the web. It employs Natural Language Inference (NLI) to predict the veracity of claims and uses LLMs to summarize the evidence and suggest textual revisions to correct any errors in the text. Additionally, the effectiveness of models used in claim detection and veracity assessment is evaluated across multiple languages.
[ -0.11356507986783981, -0.8332228660583496, 0.7184116244316101, 0.13576631247997284, -0.04161052778363228, 0.33158403635025024, 0.007467030081897974, -0.5522257089614868, 0.21342605352401733, 0.6246257424354553, -0.5239224433898926, -0.5549312233924866, -0.6152077913284302, 0.530001699924469, -0.5154410600662231, 1.1600836515426636, -0.35108813643455505, -0.1753840446472168, -0.43717971444129944, -0.05550597235560417, -0.20119033753871918, -0.2645602524280548, -0.5816152691841125, -0.32716381549835205, 0.432186484336853, 0.6105790138244629, 0.7315762042999268, 0.320529967546463, 0.28282320499420166, 0.41526898741722107, 0.022832902148365974, 0.5069248676300049, -0.20519636571407318, -0.08014457672834396, -0.3329300582408905, -0.7994057536125183, -0.47079193592071533, 0.06515020877122879, 0.16779983043670654, 0.09477096796035767, -0.07543281465768814, 0.23242220282554626, -0.39588403701782227, 0.43246427178382874, -0.7722905278205872, 0.09608716517686844, -0.45214417576789856, 0.00046460810699500144, 0.05331261828541756, -0.024086086079478264, -0.5459598302841187, -0.9024266004562378, -0.07079880684614182, -0.46415895223617554, 0.4583923816680908, 0.08493863791227341, 1.0034561157226562, 0.4254469573497772, -0.8837980628013611, -0.39332839846611023, -0.514419674873352, 0.4589397609233856, -0.6760894656181335, 0.5933995246887207, 0.4015963077545166, 0.2467900812625885, 0.07703382521867752, -0.661480188369751, -0.9158774614334106, -0.05455892160534859, -0.4606194496154785, 0.3167475163936615, -0.23457878828048706, 0.03265886753797531, 0.39298948645591736, 0.22705113887786865, -0.6185182332992554, -0.031607773154973984, -0.32423636317253113, -0.7396612763404846, 0.795782208442688, -0.10327110439538956, 0.5254322290420532, -0.23389264941215515, -0.1198246031999588, 0.03024694323539734, -0.6931332349777222, -0.0349467433989048, 0.48557227849960327, -0.21589921414852142, -0.2524643838405609, 0.7266868948936462, -0.4493691921234131, 0.612463116645813, -0.12061146646738052, -0.4634810984134674, 0.17385169863700867, -0.6233852505683899, -0.37503600120544434, 0.4396221935749054, 0.7745696306228638, 0.45876801013946533, -0.29881712794303894, -0.2420860230922699, -0.16593678295612335, 0.13673333823680878, 0.10321067273616791, -0.6063268184661865, -0.09910301864147186, 0.4470522105693817, -0.14015080034732819, -0.4753625988960266, 0.15505997836589813, -0.7583319544792175, -0.5654727816581726, -0.21069243550300598, 0.44785818457603455, -0.1342361867427826, -0.06759578734636307, 0.3236459195613861, -0.3344952166080475, -0.15816165506839752, 0.6206743121147156, -0.3667760193347931, -0.0971626564860344, 0.31667402386665344, 0.7253602147102356, 0.013910122215747833, -0.29631662368774414, -0.4627583920955658, -0.028456661850214005, -0.46878892183303833, 1.0891283750534058, -0.22761011123657227, -0.11314120143651962, 0.15674908459186554, 0.24774019420146942, 0.15138037502765656, -0.19801858067512512, 1.2613836526870728, -0.7058749198913574, 0.4510001540184021, -0.2539650797843933, -0.4997846186161041, -0.535423994064331, 0.5584650039672852, -1.102920651435852, 1.1125682592391968, -0.08995106816291809, -0.8756643533706665, 0.3023093640804291, -0.7710563540458679, -0.3253001570701599, -0.03458784148097038, 0.09612265974283218, -0.6573664546012878, -0.024663493037223816, 0.2525308132171631, 0.2324838638305664, -0.273907870054245, 0.595862090587616, 0.04847671836614609, 0.1633482724428177, 0.408875972032547, -0.5039924383163452, 0.9526655673980713, 0.0586688369512558, -0.3106391429901123, 0.2668311595916748, -0.9996232390403748, -0.29347220063209534, 0.037868682295084, -0.6169934272766113, -0.10595152527093887, 0.1171962320804596, 0.07588472962379456, 0.23967468738555908, 0.3658514618873596, -1.0454484224319458, 0.11983808130025864, -0.15618661046028137, 0.12293548882007599, 0.2888030707836151, 0.21152521669864655, -0.14883849024772644, -0.33683061599731445, 0.33041343092918396, 0.04826897755265236, 0.19110603630542755, -0.263530433177948, -0.3527718186378479, -1.0615711212158203, -0.17548218369483948, 0.5526111721992493, 0.9957708716392517, -0.8922992944717407, 0.6024207472801208, -0.287793904542923, -0.5359660983085632, -0.46993985772132874, 0.15905724465847015, 0.15253987908363342, 0.6308621764183044, 0.24188190698623657, 0.20844890177249908, -0.7584489583969116, -0.9785193800926208, -0.5957282781600952, -0.12272707372903824, 0.09312129020690918, -0.34655359387397766, 0.8494541049003601, -0.5548031330108643, 1.225013256072998, -0.5950424075126648, -0.00680597685277462, -0.2332538366317749, 0.3624604344367981, 0.1619872897863388, -0.034011874347925186, 0.418474406003952, -0.8609938621520996, -0.4962416887283325, 0.1517120599746704, -0.7853473424911499, -0.3055734634399414, -0.45205575227737427, 0.008911915123462677, 0.47494685649871826, 0.3520340323448181, -0.7732632160186768, 0.4769057333469391, 0.6729233264923096, -0.5185757875442505, 0.7138695120811462, -0.18201540410518646, 0.43187662959098816, -0.8828096985816956, 0.11026664823293686, 0.0783739984035492, -0.6326287388801575, -0.4975612163543701, 0.03938600420951843, 0.5074527263641357, 0.10360199213027954, -0.4506964683532715, 0.27552530169487, -0.33699148893356323, 0.2941978871822357, -0.22476010024547577, -0.0038551795296370983, 0.3913228213787079, 0.31407874822616577, -0.051089148968458176, 0.9739887714385986, 0.31514906883239746, -0.5749372243881226, 0.6722907423973083, 0.31463822722435, -0.4074001908302307, 0.49744030833244324, -0.5884124636650085, -0.14663313329219818, -0.10400103777647018, 0.32190394401550293, -0.9594682455062866, -0.4132794439792633, -0.0910656675696373, -0.34659624099731445, 0.04636041820049286, 0.04029974713921547, -0.8417317867279053, -0.30587801337242126, -0.39332225918769836, -0.2838403880596161, -0.09468815475702286, -0.7256446480751038, 0.8209620714187622, 0.41415882110595703, -0.10275723040103912, -0.6397201418876648, -0.6545516848564148, 0.4513975977897644, 0.2579634487628937, -0.5648971796035767, 0.12116122990846634, -0.13084867596626282, -0.3970755934715271, 0.053204454481601715, -0.18433986604213715, -0.3666296899318695, 0.10248134285211563, -0.05551951006054878, 0.4650440812110901, 0.0036265847738832235, 0.0995175689458847, 0.29918134212493896, -0.12940195202827454, 0.25082576274871826, 0.08559220284223557, -0.13003632426261902, -0.008256405591964722, -0.6047245264053345, -0.34983697533607483, 0.37061768770217896, 0.7848466634750366, -0.4003159701824188, 0.58154296875, 0.4699496626853943, -0.470615416765213, 0.12935195863246918, -1.004822850227356, 0.15266092121601105, -0.4054047465324402, 0.42305678129196167, -0.1711510270833969, -0.880666971206665, 0.453227698802948, -0.2056587189435959, 0.45476019382476807, 0.8972473740577698, 0.47936153411865234, 0.1619458943605423, 0.7421810030937195, 0.6911004185676575, 0.12217707186937332, -0.13963817059993744, -0.05520953983068466, 0.43666785955429077, -0.2828090488910675, -0.30136966705322266, -0.6029146909713745, 0.14181040227413177, -0.5366286635398865, -0.3631105422973633, 0.6133734583854675, -0.3216609060764313, 0.1029081866145134, 0.24446210265159607, -0.21744532883167267, 0.859849214553833, 0.34050923585891724, 0.0803530365228653, 0.7024345993995667, -0.25566089153289795, 0.10606463253498077, -0.011002589948475361, -0.4879162609577179, -0.5520322322845459, 0.8531134128570557, 0.26919078826904297, 0.6786461472511292, 0.5085576176643372, 0.41736868023872375, 0.530687153339386, 0.47813063859939575, -0.641120195388794, 0.18948645889759064, 0.13788554072380066, -0.8084771037101746, -0.18995971977710724, -0.04901827871799469, -0.38844534754753113, 0.16642528772354126, -0.49563363194465637, -0.2992883622646332, 0.22687162458896637, 0.2623133659362793, -0.39385825395584106, 0.5600119829177856, -0.8319171071052551, 0.7801176905632019, -0.38509610295295715, -0.3841732442378998, -0.34543901681900024, -0.5036062002182007, 0.5975717306137085, -0.2751149833202362, 0.4646398425102234, 0.1692333072423935, 0.01780438795685768, 0.3857943117618561, -0.30672669410705566, 1.0267695188522339, 0.17126265168190002, -0.34572529792785645, 0.33539602160453796, 0.26842546463012695, 0.7468466758728027, 0.3504333794116974, 0.013155746273696423, 0.23211292922496796, -0.1182180643081665, -0.023474151268601418, -0.5249953269958496, 0.39334356784820557, -0.710430383682251, -0.436005175113678, -0.632253885269165, -0.2609387934207916, -0.06974168121814728, 0.39403200149536133, 0.24604161083698273, 0.4005506932735443, -0.5617133975028992, -0.026591753587126732, 0.9533781409263611, -0.3159104287624359, 0.42799264192581177, 0.9640129804611206, -0.2566719055175781, -0.29241788387298584, 0.7171981930732727, -0.004822211340069771, -0.04352602735161781, 0.7709413766860962, 0.20391087234020233, -0.47536128759384155, -0.26048094034194946, -0.7096152901649475, 0.19955262541770935, -0.8660215139389038, -0.445423424243927, -0.9469627141952515, -0.19330647587776184, -0.2156502902507782, -0.09155489504337311, -0.43098148703575134, -0.5666419267654419, 0.11014926433563232, -0.4132213592529297, 0.4785408675670624, 0.9756730794906616, -0.11537332087755203, 0.28888723254203796, -0.7988248467445374, 0.6831963658332825, 0.5848724842071533, 0.49729135632514954, -0.7329451441764832, -0.31080448627471924, -0.5194268226623535, -0.05941441282629967, -0.48342227935791016, -1.2783621549606323, 0.08664251118898392, 0.16590729355812073, 0.44506388902664185, 0.21986046433448792, -0.10588101297616959, 0.18029282987117767, -0.5661302804946899, 0.9328427314758301, 0.1186298057436943, -1.0656137466430664, 0.5602432489395142, 0.09361962229013443, 0.17987798154354095, 0.4781917333602905, 0.5122146010398865, -0.6936612725257874, -0.4718177914619446, -0.6069309115409851, -0.35837334394454956, 0.6126055121421814, 0.020828528329730034, -0.3248681128025055, 0.11097482591867447, 0.1278487890958786, 0.2700473964214325, 0.12947909533977509, -0.6889792680740356, -0.36256736516952515, -0.48301956057548523, -0.23619061708450317, 0.12110000848770142, -0.7186778783798218, -0.5189149379730225, -0.0845838338136673, 1.106723427772522, -0.40232670307159424, 0.04516972228884697, 0.5528112053871155, -0.4942381978034973, -0.1645248830318451, 0.8066800832748413, 0.8378763794898987, 0.9313693046569824, -0.16738730669021606, 0.389757364988327, 0.5049287676811218, -0.4728381931781769, 0.19187137484550476, 0.07450373470783234, -0.3802673816680908, 0.47527799010276794, 0.38300639390945435, 0.7419951558113098, 0.21547487378120422, -0.6483076810836792, 0.5803583264350891, -0.31109699606895447, -0.25951793789863586, -0.24136845767498016, -0.07055526971817017, 0.1932707130908966, -0.02512597292661667, 0.21122239530086517, 0.3309073746204376, 0.3859703540802002, -0.30367985367774963, 0.21037141978740692, 0.11162375658750534, 0.03268963098526001, -0.31689348816871643, 0.6593191027641296, 0.36286672949790955, -0.19963215291500092, 0.23188479244709015, -0.31499579548835754, -0.8728109002113342, 0.5288504362106323, 0.39708060026168823, 1.0073552131652832, -0.16469237208366394, 0.40269866585731506, 0.49285662174224854, 0.7899512648582458, -0.0930381566286087, 0.13317367434501648, 0.32139474153518677, -0.7902796864509583, -0.9398618340492249, -0.32396936416625977, -0.6319071054458618, 0.16506274044513702, -0.24018655717372894, 0.35832831263542175, -0.08587027341127396, -0.02731984667479992, 0.2785082757472992, -0.06703953444957733, -0.653288722038269, 0.34108707308769226, -0.08777432888746262, 1.0741612911224365, -1.0804405212402344, 0.6181537508964539, 0.6853898167610168, -0.35709407925605774, -0.47855740785598755, -0.1799074411392212, 0.48452675342559814, -0.5407724976539612, 0.5320161581039429, -0.05348086729645729, -0.450639545917511, -0.30647900700569153, -0.8814772367477417, -0.7900970578193665, 0.8489665389060974, 0.6027922034263611, -0.5903469324111938, 0.29944881796836853, 0.11981695890426636, 0.35323256254196167, 0.05761462822556496, 0.5384964942932129, 0.6970227956771851, 0.6415358781814575, -0.22241482138633728, -0.9474415183067322, -0.027849536389112473, -0.10410910099744797, -0.46287670731544495, 0.06931573897600174, -0.548470139503479, 0.6608652472496033, -0.22841876745224, -0.22078937292099, -0.5250006914138794, 0.6500017642974854, -0.1734710931777954, 0.1450919657945633, 0.6459457278251648, 0.6557936668395996, 0.8608378171920776, 0.01076971460133791, 0.9699047207832336, -0.5065139532089233, 0.502995491027832, 1.0758556127548218, -0.18410331010818481, 0.3253070116043091, 0.19773466885089874, -0.18651582300662994, 0.7603688836097717, 0.43795129656791687, 0.022399572655558586, -0.05398108810186386, -0.5738732218742371, -0.29759231209754944, -0.28888359665870667, -0.23838667571544647, 0.06519371271133423, 0.5061125159263611, 0.2920776605606079, 0.10214570164680481, -0.395484060049057, -0.32332226634025574, 0.29713794589042664, 0.13886886835098267, 0.019649585708975792, 0.7488698363304138, -0.5182300209999084, -0.7497037649154663, 0.176964670419693, 0.3126785457134247, 0.6080302596092224, -0.7243233919143677, -0.23030783236026764, -0.10794505476951599, -0.1543453335762024, -0.5195052027702332, -1.031818151473999, 0.46857327222824097, 0.32084354758262634, -0.48642078042030334, -0.04418865218758583, 0.8444338440895081, -0.671316921710968, -0.5819470882415771, -0.08384090662002563, 0.5016245245933533, -0.1916542500257492, -0.13174833357334137, -0.7028327584266663, 0.13041289150714874, 0.1910247951745987, -0.04804550111293793, -0.22284917533397675, 0.5170170664787292, -0.05579030513763428, 0.6349419355392456, 0.6887654662132263, 0.07363338768482208, -0.11363426595926285, 0.06971266865730286, 0.5093390345573425, -0.39258646965026855, -0.6540216207504272, -0.9127573370933533, 0.6835372447967529, -0.39479944109916687, -0.15559610724449158, 0.8177492022514343, 1.006925106048584, 0.7246743440628052, -0.22355538606643677, 1.156114101409912, -0.12817125022411346, 0.6573857069015503, -0.5208097100257874, 0.7765220999717712, -0.4094706177711487, -0.21546965837478638, 0.11017633229494095, -0.41280192136764526, -0.36123207211494446, 0.2837270498275757, 0.09461358189582825, -0.512467622756958, 0.981318473815918, 0.8136398792266846, -0.10547773540019989, 0.2521810233592987, 0.2679092288017273, 0.37800344824790955, 0.36229902505874634, 0.1037028580904007, 0.5445997714996338, -0.601531445980072, 0.39833545684814453, -0.22830317914485931, -0.18425627052783966, -0.173225536942482, -1.0818452835083008, -0.8222184181213379, -0.3548506200313568, -0.6582844853401184, -0.31334513425827026, -0.2923963963985443, 0.9666455984115601, 0.37200069427490234, -1.053877830505371, 0.005642683710902929, 0.17765913903713226, 0.6573755741119385, -0.028811290860176086, -0.1993044763803482, 0.4179546535015106, -0.2076038271188736, -0.5945935249328613, 0.2885875105857849, 0.34174874424934387, -0.07733301818370819, -0.3104628324508667, 0.13904038071632385, -0.46803221106529236, 0.2699028551578522, 0.6937408447265625, 0.2322889268398285, -0.711181104183197, -0.29639932513237, -0.20332318544387817, -0.1493472456932068, 0.0897088497877121, 0.972904622554779, -0.45295876264572144, 0.7941915392875671, 0.5114632844924927, 0.8117861747741699, 0.20729553699493408, -0.24406825006008148, 0.31288594007492065, -0.7954413294792175, 0.0975734144449234, -0.2730075418949127, 0.5405495166778564, 0.5757890343666077, -0.7366036176681519, 0.5057053565979004, 0.3517194986343384, -0.5350661277770996, -0.6871271133422852, 0.2070218026638031, -0.7710803151130676, -0.13444902002811432, 0.7538282871246338, 0.0362827405333519, -0.36500975489616394, -0.4182950556278229, -0.3863612115383148, 0.4517628848552704, -0.22706599533557892, 0.8846060037612915, 1.002506136894226, 0.05137886479496956, -0.10911785811185837, -0.8366402387619019, 0.6742585301399231, 0.09120261669158936, -1.1779694557189941, 0.1310262531042099, 0.5573540925979614, 0.3915403187274933, 0.38678619265556335, 0.3965744376182556, 0.090561643242836, 0.4802219569683075, -0.12128158658742905, 0.5977523326873779, 0.013651669025421143, -0.2174215018749237, -0.20339591801166534, -0.12305609881877899, -0.15179553627967834, 0.04444717988371849 ]
http://arxiv.org/abs/2404.19442v1
http://arxiv.org/pdf/2404.19442v1
Which Nigerian-Pidgin does Generative AI speak?: Issues about Representativeness and Bias for Multilingual and Low Resource Languages
2024-04-30T10:45:40
2024-04-30T10:45:40
David Ifeoluwa Adelani, A. Seza Doğruöz, Iyanuoluwa Shode, Anuoluwapo Aremu
cs.CL
cs.CL
Naija is the Nigerian-Pidgin spoken by approx. 120M speakers in Nigeria and it is a mixed language (e.g., English, Portuguese and Indigenous languages). Although it has mainly been a spoken language until recently, there are currently two written genres (BBC and Wikipedia) in Naija. Through statistical analyses and Machine Translation experiments, we prove that these two genres do not represent each other (i.e., there are linguistic differences in word order and vocabulary) and Generative AI operates only based on Naija written in the BBC genre. In other words, Naija written in Wikipedia genre is not represented in Generative AI.
[ -0.8324674963951111, -0.7917696833610535, 0.14361274242401123, 0.67515629529953, -0.07192221283912659, 0.2770508825778961, -0.527155876159668, -0.6134210228919983, 0.7885842323303223, 0.5772028565406799, -0.7553895115852356, -0.32111677527427673, -0.6190873384475708, 0.6814306378364563, -0.29996663331985474, 1.010993480682373, 0.18003547191619873, 0.20056648552417755, -0.13558676838874817, -0.3294031023979187, -0.34542959928512573, -0.46492642164230347, -0.5457558631896973, -0.14846818149089813, 0.18186624348163605, 0.333911657333374, 0.953022301197052, 0.1900400072336197, 0.3152889609336853, 0.36269935965538025, -0.1669779121875763, 0.0630788579583168, -0.385601669549942, 0.30660003423690796, -0.16354016959667206, -0.571557343006134, -0.210798978805542, -0.04674583300948143, 0.45068418979644775, 0.7063431739807129, -0.23074443638324738, -0.07423888891935349, -0.10905249416828156, 0.46772345900535583, -0.5433030724525452, 0.1055319607257843, -0.5808127522468567, 0.07430136203765869, -0.4508539140224457, 0.162697434425354, -0.13829652965068817, -0.10756968706846237, -0.09034809470176697, -0.8079390525817871, 0.43594253063201904, -0.2533116936683655, 0.6673879027366638, 0.4822354316711426, -0.39326557517051697, -0.8286582827568054, -0.45212432742118835, 0.764415979385376, -0.38223889470100403, 0.07981165498495102, 0.6358994245529175, 0.2856294810771942, -0.3604498505592346, -0.3823385536670685, -0.7964221835136414, -0.3050113916397095, -0.058617133647203445, 0.1634473204612732, -0.09163277596235275, -0.12039117515087128, 0.22628182172775269, 0.6100508570671082, -0.42195409536361694, 0.20736277103424072, -0.5882023572921753, -0.38318559527397156, 0.8839380741119385, -0.16159512102603912, 0.3325660228729248, -0.4001214802265167, -0.2131706178188324, 0.15828584134578705, -0.6261063814163208, -0.25093594193458557, 0.897903323173523, 0.29432806372642517, -0.26620206236839294, 0.4775613844394684, -0.21098347008228302, 0.9674158096313477, 0.17226435244083405, -0.5533636212348938, 0.45290860533714294, -0.0952545627951622, 0.16008463501930237, 0.36556607484817505, 1.3361244201660156, 0.19749996066093445, 0.15039445459842682, -0.19316492974758148, -0.17377732694149017, 0.23333995044231415, 0.26411280035972595, -0.4924144148826599, -0.1853215992450714, 0.1150764748454094, -0.3317674398422241, -0.008246640674769878, -0.18483982980251312, -0.7344411015510559, -0.47899043560028076, 0.20365919172763824, 0.13429181277751923, -0.21387511491775513, -0.4746297001838684, -0.33638033270835876, 0.07414741069078445, 0.03462117165327072, 0.13101767003536224, -1.1153438091278076, -0.04341365769505501, 0.41455620527267456, 0.790317952632904, -0.19589312374591827, -0.07769091427326202, -0.012915244325995445, -0.24290861189365387, -0.3649672567844391, 0.7768494486808777, -0.4294237494468689, -0.577833890914917, -0.09022823721170425, -0.01573176495730877, -0.0034895155113190413, -0.6433581709861755, 0.5719841718673706, -0.3705928921699524, 0.4197823107242584, -0.027323691174387932, 0.06146927550435066, -0.2052934765815735, -0.14784114062786102, -0.8505592346191406, 0.899383544921875, 0.35989493131637573, -0.6168379783630371, 0.4919400215148926, -0.6058905720710754, -0.4431765377521515, 0.13382840156555176, -0.5192290544509888, -0.22994506359100342, -0.023628810420632362, 0.1913624256849289, 0.29410168528556824, -0.06498579680919647, 0.46639284491539, -0.1994539201259613, -0.2923276126384735, 0.3057708144187927, -0.6053365468978882, 1.0526067018508911, 0.3477107882499695, -0.33691874146461487, -0.04272930324077606, -0.8540358543395996, -0.20812685787677765, -0.13433119654655457, -0.48096245527267456, -0.1713462471961975, -0.13323819637298584, 0.31158652901649475, 0.40710172057151794, 0.2208985835313797, -0.925361692905426, 0.43231630325317383, -0.5317988395690918, 0.65872722864151, 0.3477468192577362, -0.07856860011816025, 0.5711575746536255, -0.3064996004104614, 0.937416672706604, 0.07480274140834808, -0.28956159949302673, 0.06370678544044495, -1.0057971477508545, -0.4926486015319824, -0.3599744439125061, 0.651427149772644, 0.5364194512367249, -1.297581434249878, -0.010730408132076263, 0.0033922113943845034, -0.20395712554454803, -1.0146074295043945, 0.19560636579990387, 0.21660035848617554, 0.24784858524799347, 0.23346787691116333, -0.15794363617897034, -0.47074154019355774, -1.2581948041915894, -0.06425511091947556, -0.17595629394054413, 0.03758303076028824, 0.011269780807197094, 0.4188624620437622, -0.2692396640777588, 0.5696724057197571, 0.2010878175497055, -0.44276732206344604, -0.35364407300949097, 0.2219201773405075, 0.5298563241958618, 0.16654814779758453, 1.0575066804885864, -0.9886343479156494, -0.8384106159210205, 0.025515049695968628, -0.7136111855506897, -0.22053396701812744, -0.24586400389671326, 0.05932685732841492, 0.3815130889415741, 0.35342711210250854, -0.21511779725551605, 0.47653114795684814, 1.129668116569519, -0.15077584981918335, 0.18361197412014008, 0.036639560014009476, -0.013051220215857029, -1.097603678703308, -0.3579976260662079, -0.10176500678062439, -0.09557992219924927, -0.4927939772605896, -0.05495355650782585, -0.23487170040607452, -0.07731262594461441, -0.2789928913116455, 0.664612352848053, -0.6691610217094421, -0.0952407717704773, -0.3650229573249817, 0.23465290665626526, -0.43192964792251587, 0.37233272194862366, 0.4706401824951172, 1.3859344720840454, 0.7146572470664978, -0.6295022964477539, 0.44844114780426025, 0.4474870562553406, -0.6194285750389099, 0.7951599359512329, -0.5266203880310059, -0.1107041984796524, -0.151271790266037, 0.11578719317913055, -0.7246528267860413, -0.45414772629737854, 0.7699024081230164, -0.43212732672691345, 0.48635247349739075, -0.20721274614334106, -0.22521160542964935, -0.20358431339263916, 0.3525191843509674, 0.37078890204429626, -0.02547767572104931, -0.25112879276275635, 0.45712774991989136, 0.7805019617080688, -0.5572701096534729, -1.0488252639770508, -0.8965960741043091, 0.25607675313949585, -0.08501669764518738, -0.5708541870117188, 0.37405481934547424, 0.16517123579978943, -0.3927997648715973, 0.10140188783407211, 0.18124623596668243, -0.2901184558868408, 0.17253005504608154, 0.6192694902420044, -0.1488388031721115, -0.44663533568382263, 0.046719763427972794, 0.3290267586708069, 0.06836842000484467, -0.03808213397860527, 0.11515389382839203, 0.6317355632781982, -0.1467723548412323, -0.1137859970331192, -0.2774868905544281, 0.6397411227226257, 0.4111112952232361, -0.11065618693828583, 1.098140835762024, 0.6144965887069702, -0.03503068536520004, -0.15062786638736725, -0.1537645310163498, 0.013720009475946426, -0.355646014213562, 0.32661759853363037, -0.6597307920455933, -0.6740487813949585, 0.5943487882614136, 0.23969486355781555, -0.053708210587501526, 0.8489448428153992, 0.8359675407409668, -0.23671476542949677, 0.5213109850883484, 0.3781667649745941, -0.03556537628173828, 0.3350202739238739, -0.45656904578208923, -0.007920114323496819, -0.9613744020462036, -0.24004672467708588, -0.6745101809501648, -0.5425009727478027, -1.3758450746536255, 0.03308487683534622, 0.5416513681411743, 0.07609191536903381, -0.0030022310093045235, 0.37991973757743835, -0.35683345794677734, 0.26278460025787354, 0.7239671349525452, 0.05154040455818176, 0.24392859637737274, 0.3720400035381317, -0.03709544986486435, -0.07386749237775803, -1.1476564407348633, -0.5608240365982056, 1.3461816310882568, -0.0015563409542664886, 0.5381120443344116, 0.3720603287220001, 0.7640492916107178, 0.39307716488838196, 0.6386640667915344, -0.8116831183433533, 0.002455847803503275, -0.03712039068341255, -1.13052237033844, -0.4163726568222046, -0.4630838930606842, -1.009758710861206, 0.4645216166973114, -0.4909307658672333, -0.5149393081665039, 0.7799760699272156, -0.08722926676273346, -0.0868411511182785, 0.35138630867004395, -0.3082702159881592, 0.7130147218704224, -0.10933101177215576, -0.15323211252689362, 0.10611017048358917, -0.530269205570221, 0.5660827159881592, -0.016114555299282074, 0.4849463105201721, 0.04410003125667572, 0.23095911741256714, 0.8236292600631714, -0.3138715326786041, 0.5263912677764893, 0.05855879932641983, -0.30867478251457214, 0.5350300669670105, -0.03491229563951492, -0.16246141493320465, 0.2615279257297516, -0.42035427689552307, 0.6674461364746094, 0.06350933015346527, -0.7215090990066528, -0.1057300791144371, 0.6755982041358948, -1.0435199737548828, -0.514098048210144, -0.8446539044380188, -0.4555897116661072, -0.2433609962463379, 0.11884251981973648, 0.7754434943199158, 0.25451308488845825, -0.4225256145000458, 0.4719971716403961, 0.44930151104927063, -0.43316370248794556, 0.45491620898246765, 0.0720406025648117, -0.14204737544059753, -0.5368087291717529, 0.8392651081085205, 0.10721499472856522, 0.17429490387439728, 0.25323915481567383, -0.2701699733734131, -0.4404461979866028, -0.26415860652923584, -1.0309834480285645, 0.38126346468925476, -0.4707314074039459, 0.019263537600636482, -0.6257876753807068, -0.1261860877275467, -0.19001702964305878, 0.019755210727453232, -0.2604464292526245, -0.6651902794837952, -0.20249390602111816, 0.16971904039382935, 0.08542321622371674, 0.9383106827735901, -0.2341926246881485, 0.7726699709892273, -0.2027548849582672, 0.6719810962677002, 0.015073916874825954, 0.10153282433748245, -0.40058815479278564, -0.5836897492408752, -0.07243560254573822, 0.5087602734565735, -0.30982157588005066, -1.1994839906692505, 0.3897187411785126, 0.44631966948509216, 0.7142977714538574, 0.5344632267951965, 0.019753865897655487, 0.11281152814626694, -0.05867818370461464, 0.6384034752845764, 0.19561277329921722, -0.5607658624649048, 0.21531885862350464, -0.22203417122364044, 0.11822036653757095, 0.47419843077659607, 0.6676981449127197, -0.6280047297477722, -0.5570660829544067, -0.4560616612434387, -0.4769552946090698, 0.806647539138794, 0.21939967572689056, 0.3028568625450134, -0.2793061137199402, -0.010908844880759716, 0.4824576675891876, 0.6143582463264465, -0.7717946171760559, -0.6191080808639526, -0.6570291519165039, 0.010670346207916737, -0.18799299001693726, -0.33066967129707336, -0.07813742011785507, 0.015126907266676426, 0.645358145236969, -0.13110998272895813, 0.39378300309181213, -0.02247271127998829, -0.1247510239481926, 0.0019295545062050223, 0.35060349106788635, 0.6124585866928101, 0.8525617122650146, -0.00515031348913908, -0.36276406049728394, -0.4592093229293823, -0.8686354160308838, 0.2953926622867584, -0.03278736025094986, -0.7673997282981873, 0.5418550372123718, 0.3844570219516754, 0.9512035846710205, -0.060613829642534256, -0.3347676694393158, 0.36925840377807617, -0.08323463797569275, -0.3508344888687134, -0.5004273056983948, 0.07741165161132812, 0.06189331039786339, -0.1541622430086136, 0.36086758971214294, 0.0709853321313858, 0.03424694389104843, -0.863743245601654, -0.28326085209846497, 0.3906826972961426, -0.15706516802310944, 0.03187181055545807, 0.7188901901245117, 0.5553844571113586, -0.08259467035531998, 0.9621965885162354, -0.42716825008392334, -0.4710973799228668, 0.7799313068389893, 0.4591303765773773, 0.471770316362381, -0.14468863606452942, 0.7444915175437927, 0.26538383960723877, 0.4208395183086395, 0.31089523434638977, 0.5709831118583679, -0.2105819433927536, -0.9706766605377197, -0.29702702164649963, -0.8321430087089539, -0.3074476420879364, 0.08054335415363312, -0.9628335237503052, -0.17292289435863495, -0.2797960042953491, -0.6383268237113953, 0.35796627402305603, -0.050507716834545135, -0.7172681093215942, 0.15402647852897644, -0.11455580592155457, 0.4806245267391205, -0.8302392959594727, 0.6260554790496826, 1.0554174184799194, -0.37405532598495483, -0.24616026878356934, -0.11124932765960693, -0.26509854197502136, -0.5591645240783691, 0.8622644543647766, -0.17210187017917633, 0.15987686812877655, -0.12787407636642456, -0.41407251358032227, -0.7950671315193176, 0.6319588422775269, 0.21750743687152863, -0.5384908318519592, 0.30630773305892944, 0.09721232950687408, 0.5479075908660889, -0.3959757387638092, 0.33745065331459045, 0.08881346881389618, 0.5368208289146423, -0.18534965813159943, -1.331919550895691, -0.7525367736816406, -0.2760584354400635, 0.05782395228743553, 0.2000211924314499, -0.7634670734405518, 1.0943090915679932, -0.052399974316358566, -0.356329083442688, 0.10968321561813354, 0.864773690700531, -0.03816751763224602, 0.3782746195793152, 0.06474395096302032, 0.3415589928627014, 0.7633780241012573, -0.5113808512687683, 1.1362860202789307, -0.44005027413368225, 0.05101177096366882, 1.1596336364746094, -0.07051405310630798, 0.42863819003105164, 0.4462280869483948, -0.44178298115730286, 0.7652194499969482, 0.7042137384414673, 0.09875022619962692, 0.5396915674209595, 0.00818394310772419, -0.43581610918045044, -0.044802114367485046, -0.14453288912773132, -0.4984239339828491, 0.945377767086029, 0.6163021922111511, -0.46655601263046265, -0.01651916280388832, 0.24067233502864838, -0.09242656081914902, 0.4025261402130127, -0.46848517656326294, 0.8570886850357056, 0.04921102151274681, -0.5153319239616394, 0.768172562122345, 0.31467264890670776, 0.7478609681129456, -0.2897683084011078, -0.05936827510595322, -0.36760270595550537, -0.26575300097465515, -0.19359885156154633, -0.9018411636352539, 0.5144559741020203, -0.05320526286959648, -0.5029703974723816, 0.03803014010190964, 0.17084825038909912, -0.6063993573188782, -0.5208892226219177, -0.0869794562458992, 0.4719671607017517, 0.42522233724594116, -0.2150837481021881, -0.5717865824699402, 0.01842181384563446, -0.12383528798818588, 0.11680781841278076, 0.22479215264320374, 0.454163521528244, -0.41064149141311646, 0.7971309423446655, 0.37062811851501465, 0.485645592212677, 0.34199365973472595, -0.27906879782676697, 0.4335387647151947, -0.178633913397789, -0.6577160358428955, -0.23607294261455536, 0.05471796542406082, 0.06118268892168999, -0.7018961310386658, 0.6736491322517395, 0.41135185956954956, 1.143123745918274, -0.44502493739128113, 0.9762393236160278, -0.4133020043373108, 0.29433274269104004, -0.5694149732589722, 0.7657057642936707, -0.15938113629817963, -0.21755008399486542, -0.09098054468631744, -1.2132049798965454, 0.23952257633209229, 1.0148745775222778, -0.33728501200675964, 0.022095268592238426, 0.3321486711502075, 0.6833791732788086, -0.028551466763019562, -0.07759705930948257, 0.35670584440231323, 0.46115490794181824, -0.2714197337627411, 0.31000155210494995, 0.8045732975006104, -0.528342604637146, 0.2133278101682663, -0.4488956034183502, -0.10027866810560226, -0.039838675409555435, -0.6174032092094421, -0.7682515382766724, -0.6097956299781799, -0.2658065855503082, -0.39822471141815186, -0.0018408948089927435, 0.6374558210372925, 0.45107629895210266, -1.260770320892334, -0.2546626329421997, 0.2770077884197235, 0.35390955209732056, -0.046160269528627396, -0.25037914514541626, 0.09978952258825302, 0.29416191577911377, -1.0112860202789307, 0.4026157855987549, 0.19460391998291016, -0.19738434255123138, -0.7343111634254456, -0.1400783210992813, -0.18184113502502441, -0.37585538625717163, 0.33390137553215027, 0.6376069188117981, -0.9707008600234985, 0.31432902812957764, -0.22634588181972504, -0.2091972678899765, 0.08057411015033722, 0.3657306134700775, -0.7756146788597107, 0.7432445883750916, 0.3487544059753418, 0.3136758804321289, 0.2961370646953583, 0.19799256324768066, 0.4978448152542114, -0.44538846611976624, 0.708441436290741, 0.22556546330451965, 0.2511143982410431, 0.48252034187316895, -0.37971845269203186, 0.37318840622901917, 0.41663655638694763, -0.40931010246276855, -0.4951891303062439, 0.3710183799266815, -0.7813733816146851, -0.11458831280469894, 1.0079121589660645, -0.02159608155488968, -0.17887748777866364, -0.3164476454257965, -0.2771706283092499, -0.06258396059274673, -0.5474051833152771, 0.7357941269874573, 0.8916535377502441, -0.019071562215685844, -0.11817329376935959, -0.7851901650428772, 0.5422207117080688, -0.11811865866184235, -0.23655670881271362, -0.8185982704162598, 0.5510442852973938, 0.25734442472457886, 0.44867444038391113, 0.5998947620391846, 0.12227798253297806, 0.365994393825531, 0.2425818145275116, 0.08977293968200684, 0.03389584273099899, -0.5177068710327148, -0.1526191681623459, 0.04444386065006256, -0.33426380157470703, -0.10670875012874603 ]
http://arxiv.org/abs/2404.19432v1
http://arxiv.org/pdf/2404.19432v1
Can Large Language Models put 2 and 2 together? Probing for Entailed Arithmetical Relationships
2024-04-30T10:28:04
2024-04-30T10:28:04
D. Panas, S. Seth, V. Belle
cs.CL
cs.CL, cs.AI
Two major areas of interest in the era of Large Language Models regard questions of what do LLMs know, and if and how they may be able to reason (or rather, approximately reason). Since to date these lines of work progressed largely in parallel (with notable exceptions), we are interested in investigating the intersection: probing for reasoning about the implicitly-held knowledge. Suspecting the performance to be lacking in this area, we use a very simple set-up of comparisons between cardinalities associated with elements of various subjects (e.g. the number of legs a bird has versus the number of wheels on a tricycle). We empirically demonstrate that although LLMs make steady progress in knowledge acquisition and (pseudo)reasoning with each new GPT release, their capabilities are limited to statistical inference only. It is difficult to argue that pure statistical learning can cope with the combinatorial explosion inherent in many commonsense reasoning tasks, especially once arithmetical notions are involved. Further, we argue that bigger is not always better and chasing purely statistical improvements is flawed at the core, since it only exacerbates the dangerous conflation of the production of correct answers with genuine reasoning ability.
[ -0.42108726501464844, -0.9855958223342896, 1.0869189500808716, 0.16708698868751526, -0.09571585804224014, -0.25327858328819275, -0.2519936263561249, -0.6733435392379761, -0.10296286642551422, 0.4619367718696594, -0.33326610922813416, 0.08672282099723816, -0.7939170598983765, 0.12020806223154068, -0.33526134490966797, 0.7199203372001648, 0.24318334460258484, 0.21156805753707886, -0.5014619827270508, -0.1443123072385788, -0.23040716350078583, -0.594845175743103, -0.8323295712471008, -0.36029931902885437, 0.586792528629303, 0.17791149020195007, 0.7842077612876892, 0.6184519529342651, 0.7073945999145508, 0.32077479362487793, -0.130852609872818, 0.38215354084968567, -0.5695253610610962, 0.13535098731517792, -0.20591163635253906, -0.6542066931724548, -0.3947207033634186, 0.0332791842520237, 0.6998473405838013, 1.1377263069152832, 0.13461856544017792, -0.02549111098051071, -0.0009606734965927899, 0.9268400073051453, -0.44472455978393555, 0.1642596572637558, -0.6921237111091614, -0.3530622124671936, -0.19311007857322693, -0.1275012195110321, -0.3782843351364136, -0.4583459794521332, 0.08898194879293442, -0.5107473134994507, 0.026255475357174873, 0.1606760174036026, 0.46218904852867126, 0.32306328415870667, -0.8337541222572327, -0.5320188999176025, -0.6161453127861023, 0.7623531222343445, -0.5862120985984802, 0.33123141527175903, 0.5981778502464294, 0.2374780774116516, -0.25191396474838257, -0.58955317735672, -0.6107699871063232, -0.3417438268661499, -0.15576915442943573, -0.04467230290174484, -0.1416797637939453, 0.0251487847417593, 0.5809455513954163, 0.37905120849609375, -0.7454410791397095, -0.008039974607527256, -0.6107114553451538, 0.07189168781042099, 0.7562173008918762, 0.12923479080200195, 0.3071821331977844, 0.21033886075019836, -0.23563316464424133, -0.014815764501690865, -1.2181384563446045, -0.07731612771749496, 0.4892719089984894, -0.017657315358519554, -0.05206786468625069, 0.8624189496040344, -0.02157466486096382, 0.6369935274124146, -0.10831280052661896, 0.14398634433746338, -0.1610662192106247, -0.25245949625968933, -0.09173084795475006, -0.010199913755059242, 0.694638729095459, 0.06776110827922821, 0.8350152969360352, -0.14188581705093384, -0.14179165661334991, 0.17098765075206757, -0.05977005511522293, -0.7349918484687805, -0.38080263137817383, 0.27750274538993835, -0.03231511265039444, -0.028489062562584877, 0.11709973216056824, -0.48862817883491516, -0.19750112295150757, -0.743755578994751, 0.4782847464084625, -0.3237541913986206, -0.42630478739738464, 0.2168332040309906, -0.09241953492164612, 0.24967704713344574, 0.32840201258659363, -1.0510450601577759, 0.3893062174320221, 1.346474051475525, 0.7026526927947998, 0.047133225947618484, -0.3673252463340759, -0.36915168166160583, 0.1147112026810646, -0.8032130002975464, 0.8603920936584473, -0.6386213898658752, -0.31454578042030334, -0.01218499056994915, -0.1706218272447586, -0.11859960108995438, -0.5596316456794739, 0.13245750963687897, -0.6126499176025391, 0.16311950981616974, -0.7385323643684387, -0.7068869471549988, -0.2191029191017151, 0.27845829725265503, -0.5554506182670593, 0.9448508024215698, -0.10791795700788498, -0.6488061547279358, 0.2974129915237427, -0.32189327478408813, -0.5013145208358765, -0.1115482747554779, -0.5299644470214844, -0.09950855374336243, 0.2536679804325104, -0.034734249114990234, 0.2769908607006073, -0.6375723481178284, 0.23556362092494965, -0.7246828675270081, -0.4404382109642029, 0.5034803748130798, -0.5077037215232849, 0.895134687423706, 0.1510809361934662, -0.12411320954561234, -0.2114264965057373, -0.6080918908119202, -0.019396211951971054, 0.12781187891960144, -0.1201392263174057, -0.3957239091396332, 0.19252841174602509, -0.6862503886222839, -0.012034273706376553, 0.30890828371047974, -0.2570364475250244, 0.20277148485183716, -0.3574729859828949, 0.3982641100883484, 0.6914040446281433, -0.07365220785140991, 0.5224719047546387, -0.4565460979938507, 0.18338368833065033, -0.16229435801506042, -0.128357395529747, 0.04559580981731415, -0.5531365871429443, -1.0015389919281006, -0.022488908842206, 0.17805977165699005, 0.5354323387145996, -0.6051002740859985, 0.19643381237983704, -0.26379895210266113, -0.3389440178871155, -0.07694137841463089, 0.07465114444494247, 0.42136916518211365, 0.21078072488307953, 0.1528170108795166, -0.0905071273446083, -0.2919362783432007, -0.7088161706924438, -0.3731045722961426, -0.4440980553627014, -0.06390917301177979, 0.3807862102985382, 0.5258688926696777, 0.19648629426956177, 0.6922752261161804, -0.42235440015792847, 0.1727253645658493, -0.23141609132289886, 0.09799925237894058, 0.235833078622818, 0.2862838804721832, 0.49377939105033875, -0.6990213990211487, -0.3007373511791229, 0.002074830001220107, -0.9589396119117737, -0.12159598618745804, 0.31876665353775024, -0.1318216770887375, 0.06072181463241577, 0.37579554319381714, -0.9215133190155029, 0.1306716501712799, 0.3709830343723297, -0.33664387464523315, 0.5637435913085938, -0.376029908657074, -0.00003947882942156866, -0.5659877061843872, -0.33448535203933716, 0.08449311554431915, 0.06734171509742737, -0.7294763326644897, -0.04494142532348633, 0.03626015782356262, 0.09929662197828293, -0.11665482074022293, 0.47869738936424255, -0.5549507737159729, -0.4357726275920868, -0.3047157824039459, 0.11961358785629272, -0.13009953498840332, 0.305097371339798, -0.06587114930152893, 0.8499884605407715, 0.7097768783569336, -0.7157094478607178, 0.2828789949417114, -0.08863844722509384, -0.30885908007621765, 0.48364952206611633, -0.7549635171890259, 0.1444227248430252, -0.1699151247739792, 0.3337920904159546, -1.1168067455291748, -0.43057578802108765, 0.05220659449696541, -0.6978351473808289, 0.23469899594783783, -0.21047049760818481, -0.6295018196105957, -0.06649122387170792, -0.01842799410223961, 0.6346762776374817, 0.7564053535461426, -0.48902714252471924, 0.34312790632247925, 0.35739606618881226, -0.421894907951355, -0.30482983589172363, -0.5912322998046875, -0.13011698424816132, -0.3752462565898895, -0.9379704594612122, -0.44821467995643616, 0.15965591371059418, -1.022435188293457, -0.05888121947646141, -0.13915687799453735, -0.12200817465782166, -0.10469434410333633, -0.12686394155025482, 0.4028675854206085, -0.5183242559432983, 0.48589450120925903, -0.1888846904039383, -0.2971635162830353, 0.45002710819244385, -0.28764182329177856, 0.37453436851501465, -0.09727955609560013, -0.5983668565750122, 0.13381721079349518, 0.2520134150981903, 0.5845127701759338, -0.32585278153419495, 0.6319817900657654, 0.2307090312242508, -0.3585079312324524, -0.1007487028837204, -0.777219831943512, -0.3931754529476166, -0.4613145589828491, 0.2869044840335846, -0.6088898777961731, -1.105833888053894, 0.3154013752937317, 0.02300737239420414, -0.06547585129737854, 0.573445200920105, 0.5442502498626709, -0.06583210080862045, 1.1586699485778809, 0.22512619197368622, 0.21599215269088745, -0.10375730693340302, -0.19323024153709412, 0.39183667302131653, -0.7123727798461914, -0.10872238874435425, -0.5289075374603271, -0.03723207116127014, -0.758594274520874, -0.49857327342033386, 0.5207109451293945, 0.19066430628299713, -0.5622100830078125, 0.010301267728209496, -0.1571093201637268, 0.6694527268409729, 0.4428859055042267, 0.08705577999353409, 0.4375941753387451, -0.18604019284248352, 0.32854679226875305, 0.026692157611250877, -0.6035058498382568, -0.3707450330257416, 1.2180944681167603, 0.2965957522392273, 0.4986625015735626, 0.5766831636428833, 0.3351376950740814, -0.11383546143770218, 0.26678168773651123, -0.7449944019317627, 0.6599223613739014, -0.290985107421875, -0.6210290789604187, -0.5301885008811951, -0.833434522151947, -0.8344045877456665, 0.6791874170303345, 0.011094593442976475, -0.6918321847915649, 0.1344267725944519, 0.17309099435806274, 0.03629056736826897, 0.34749603271484375, -0.6289472579956055, 0.6384584903717041, -0.5713837742805481, -0.576252818107605, -0.4271206855773926, -0.4907332956790924, 0.8044869303703308, -0.0924060195684433, 0.4147675633430481, -0.3214535117149353, -0.04406590014696121, 0.6142528057098389, -0.449017196893692, 0.6835526823997498, 0.08002826571464539, -0.1554083377122879, 0.36536142230033875, 0.33879250288009644, 0.6905113458633423, 0.024073146283626556, 0.1647280603647232, 0.03581199049949646, 0.19972215592861176, -0.5661728382110596, -0.7647882699966431, 0.6320247650146484, -0.5736075639724731, -0.731038510799408, -0.5566755533218384, -0.6076754331588745, -0.4532620906829834, -0.06453002989292145, 0.030306605622172356, 0.6955119967460632, 0.12669381499290466, 0.1877455711364746, 0.9939129948616028, 0.1128099262714386, 0.15994147956371307, 0.5654776692390442, -0.24030305445194244, -0.2287372201681137, 0.9312509298324585, 0.22733020782470703, 0.5580095648765564, 0.4020080864429474, 0.36745402216911316, -0.641340970993042, -0.4970890283584595, -0.39663004875183105, 0.6382434964179993, -0.5644897222518921, 0.22821536660194397, -0.5763338804244995, 0.02650977112352848, -0.4235959053039551, 0.07663029432296753, -0.13171729445457458, -0.4970981478691101, 0.02391773834824562, -0.11852579563856125, 0.46657270193099976, 1.0297303199768066, -0.31114763021469116, -0.06340543925762177, -0.4387214183807373, 0.12378286570310593, 0.6793451905250549, -0.035288967192173004, 0.2651352882385254, -0.5398885607719421, 0.07218065857887268, 0.12741737067699432, -0.0737847164273262, -0.8949024081230164, 0.05439659580588341, 0.022183071821928024, 0.31858915090560913, 0.5069738030433655, -0.09562578052282333, 0.7191011309623718, -0.4666953384876251, 0.5319602489471436, 0.2191920429468155, -0.5124870538711548, 0.13456836342811584, -0.6418277621269226, -0.08735320717096329, 0.17048557102680206, 0.5801045894622803, -0.3010480999946594, -0.3348225951194763, -0.6499226093292236, -0.5584326386451721, 0.4272913932800293, 0.1368802785873413, 0.06095580384135246, -0.1845172941684723, 0.11591590195894241, -0.07760734111070633, 0.03933056816458702, -0.5258499383926392, -0.045590028166770935, 0.38253238797187805, -0.15398164093494415, -0.17230726778507233, -0.49822917580604553, -0.2506997287273407, -0.3313722610473633, 0.557901918888092, -0.06521741300821304, 0.1617143750190735, -0.03500787541270256, -0.009106243029236794, -0.06187476962804794, 0.2303129881620407, 0.49791035056114197, 1.2359051704406738, -0.1226750984787941, 0.487261563539505, 0.16997626423835754, -0.29874566197395325, 0.07090657949447632, 0.09542785584926605, 0.16221337020397186, -0.40829455852508545, 0.5922539830207825, 0.6269009709358215, 0.3888740539550781, -0.6511162519454956, 0.5029951333999634, 0.3374256491661072, -0.4707924723625183, -0.5132781863212585, 0.0869109258055687, 0.21065206825733185, 0.3184793293476105, 0.3687281906604767, -0.3046484589576721, 0.08489512652158737, -1.0079923868179321, 0.20137162506580353, 0.554258406162262, -0.20294269919395447, -0.2746162414550781, 0.5014181733131409, 0.06464935094118118, -0.2285754531621933, 0.6114681959152222, -0.28822728991508484, -0.770462155342102, 0.8976913690567017, 0.4791170060634613, 0.5131914615631104, 0.030887633562088013, -0.06794510781764984, 0.39373713731765747, 0.49207139015197754, -0.4198896288871765, 0.1553826481103897, -0.1147635206580162, -0.8437394499778748, -0.7418038249015808, -0.3695339560508728, -0.47723349928855896, 0.07334169745445251, -0.497090607881546, -0.048277322202920914, -0.1560637354850769, 0.20870375633239746, -0.035077352076768875, 0.058642707765102386, -0.4618454873561859, 0.2022939771413803, -0.07771528512239456, 0.6763405799865723, -0.8827776908874512, 0.5778743624687195, 0.5382524728775024, -0.548613965511322, -0.8534430861473083, 0.0016494345618411899, 0.049968186765909195, -1.0379058122634888, 0.6168779730796814, 0.1766994446516037, 0.09876982122659683, -0.013822652399539948, -0.4564268887042999, -0.9327372908592224, 0.7789539098739624, 0.1765058934688568, -0.6283366084098816, 0.15746206045150757, 0.4400191307067871, 0.5604345202445984, -0.14737790822982788, 0.4874798059463501, 0.7608913779258728, 0.5972467064857483, 0.417207807302475, -0.9341680407524109, 0.008390297181904316, -0.0027903711888939142, -0.4052387773990631, 0.6674076914787292, -0.7071737051010132, 1.0907469987869263, -0.38234809041023254, -0.16341789066791534, 0.059246741235256195, 0.561526894569397, 0.4236183166503906, 0.6502222418785095, 0.4078439474105835, 0.9300174117088318, 0.6861258745193481, -0.36675766110420227, 1.1875650882720947, -0.12902508676052094, 0.2825484871864319, 0.923132598400116, -0.24027785658836365, 0.731153666973114, 0.3637804388999939, -0.8355314135551453, -0.1055629551410675, 0.7579126954078674, 0.25866004824638367, 0.22360636293888092, 0.25284838676452637, -0.41132214665412903, -0.6141523718833923, 0.3410353660583496, -0.4532064199447632, 0.13665421307086945, 0.5831562876701355, -0.1122521236538887, -0.16082391142845154, -0.6201545000076294, 0.16722090542316437, -0.06385301053524017, -0.2684786021709442, 0.8800076246261597, 0.4782206118106842, -0.889719545841217, 0.32882580161094666, -0.30032041668891907, 0.26324519515037537, -0.6318654417991638, -0.10417842119932175, -0.304121732711792, 0.10808134078979492, -0.08253248780965805, -1.0093051195144653, 0.33246535062789917, -0.03166065365076065, -0.01355221401900053, 0.2520557641983032, 0.7036330103874207, -0.5554580688476562, -0.6572386622428894, 0.17450366914272308, 0.7792502045631409, 0.5990098714828491, -0.09756040573120117, -0.28344017267227173, -0.04549568146467209, -0.04953015223145485, -0.08418235927820206, 0.5067451000213623, 0.9106446504592896, -0.06555291265249252, 0.6906446218490601, 0.8679742217063904, 0.3174251616001129, 0.2696758508682251, 0.032773714512586594, 0.6029983758926392, -0.48742029070854187, -0.20768296718597412, -1.0356793403625488, 0.2958711087703705, -0.023634374141693115, -0.2487572878599167, 0.6928755640983582, 0.6201995611190796, 0.730523407459259, 0.30844104290008545, 0.8224473595619202, 0.035826049745082855, 0.46692442893981934, -0.7820598483085632, 0.2610514163970947, -0.587049663066864, 0.3474125266075134, 0.18267865478992462, -1.0382962226867676, -0.06808637082576752, 0.6608276963233948, -0.6936661005020142, 0.17259691655635834, 0.9038039445877075, 0.8212745785713196, -0.21571366488933563, 0.27928540110588074, 0.4708918631076813, 0.33848315477371216, 0.2521859109401703, 0.7755725383758545, 1.0113931894302368, -0.13901670277118683, 0.4353032112121582, 0.0014824534300714731, -0.3994346559047699, -0.033337268978357315, -0.5221132040023804, -0.9356812834739685, -0.4468480348587036, 0.04009474813938141, -0.16811583936214447, 0.22756773233413696, 0.5500820279121399, 0.2929616868495941, -0.5038859248161316, -0.3402923345565796, -0.31952589750289917, 0.14856953918933868, 0.10241161286830902, -0.19250957667827606, 0.3711860179901123, -0.3866252899169922, -0.6800833344459534, 0.23522956669330597, 0.27598461508750916, -0.0012247657869011164, -0.4115239381790161, -0.17198532819747925, 0.15541760623455048, 0.31350424885749817, 0.6618801951408386, 0.3077895939350128, -0.6894620060920715, -0.2651539742946625, -0.08617843687534332, 0.10094527900218964, -0.2399853616952896, 0.9792475700378418, -0.29341354966163635, 0.20128507912158966, 0.6578889489173889, 0.6496875286102295, 0.5138214826583862, 0.05449135601520538, 0.5084737539291382, -0.19386149942874908, 0.1150359958410263, 0.036951880902051926, 0.4748426675796509, 0.24558115005493164, -0.057519517838954926, 0.8130569458007812, 0.34586524963378906, -0.8830875158309937, -0.8326385617256165, 0.4769437909126282, -0.8319836258888245, -0.27308711409568787, 1.408739447593689, 0.07787073403596878, -0.010397654958069324, -0.11093959212303162, 0.10340995341539383, -0.053459301590919495, -0.12270472198724747, 0.6427755951881409, 0.7862371802330017, -0.3632911741733551, -0.09065096825361252, -0.8870550394058228, 0.2705279588699341, 0.4746825098991394, -0.6701632738113403, -0.048363231122493744, 0.6922138333320618, 0.23937515914440155, -0.0017276584403589368, 0.7036591172218323, -0.1351022571325302, 0.37782108783721924, 0.20434041321277618, -0.6392155289649963, 0.1250213235616684, -0.4208272099494934, 0.023832127451896667, -0.013861635699868202, 0.21976253390312195, 0.05871785804629326 ]
http://arxiv.org/abs/2404.19430v1
http://arxiv.org/pdf/2404.19430v1
Sõnajaht: Definition Embeddings and Semantic Search for Reverse Dictionary Creation
2024-04-30T10:21:14
2024-04-30T10:21:14
Aleksei Dorkin, Kairit Sirts
cs.CL
cs.CL
We present an information retrieval based reverse dictionary system using modern pre-trained language models and approximate nearest neighbors search algorithms. The proposed approach is applied to an existing Estonian language lexicon resource, S\~onaveeb (word web), with the purpose of enhancing and enriching it by introducing cross-lingual reverse dictionary functionality powered by semantic search. The performance of the system is evaluated using both an existing labeled English dataset of words and definitions that is extended to contain also Estonian and Russian translations, and a novel unlabeled evaluation approach that extracts the evaluation data from the lexicon resource itself using synonymy relations. Evaluation results indicate that the information retrieval based semantic search approach without any model training is feasible, producing median rank of 1 in the monolingual setting and median rank of 2 in the cross-lingual setting using the unlabeled evaluation approach, with models trained for cross-lingual retrieval and including Estonian in their training data showing superior performance in our particular task.
[ -0.6337941288948059, -0.7586343884468079, 0.27559441328048706, 0.04445610195398331, -0.5462749004364014, -0.20138685405254364, -0.13566191494464874, -0.49381211400032043, 0.8365707993507385, 0.5709039568901062, -0.34866654872894287, -0.6461328268051147, -0.7307043075561523, 0.32408711314201355, -0.6956842541694641, 0.5963940620422363, -0.11908774822950363, 0.34197765588760376, -0.15582765638828278, -0.1786203682422638, -0.4300421178340912, -0.28176936507225037, -0.08942624926567078, -0.1664266288280487, 0.19738909602165222, 0.7482736110687256, 0.8547934889793396, 0.54388827085495, 0.46822860836982727, 0.2910931706428528, 0.05512033775448799, -0.20803803205490112, -0.5340489745140076, 0.3968680202960968, -0.6662127375602722, -0.3969368636608124, -0.022060977295041084, -0.18509739637374878, 0.6490910649299622, 0.4027121067047119, -0.22294928133487701, 0.3294830620288849, -0.22990038990974426, 0.3769865334033966, -0.8011806011199951, -0.19328846037387848, -0.7595615983009338, 0.019474001601338387, -0.312715083360672, -0.2916307747364044, 0.03542941436171532, -0.48250100016593933, 0.2306870073080063, -0.4775596261024475, 0.23483958840370178, 0.19471235573291779, 0.9201852083206177, -0.22043408453464508, -0.25884589552879333, -0.3633059859275818, -0.21480906009674072, 0.8878870010375977, -0.44608181715011597, 1.067352533340454, 0.43157777190208435, 0.46990466117858887, -0.1335531622171402, -0.5499724745750427, -0.9007130861282349, -0.08092732727527618, 0.014890143647789955, 0.05757822468876839, -0.005215323995798826, -0.14667478203773499, -0.3661953806877136, 0.3806847035884857, -0.5931361317634583, -0.13716545701026917, -0.31108301877975464, 0.0047030970454216, 0.44971874356269836, 0.24455539882183075, 0.3854913115501404, -0.597002387046814, -0.5093831419944763, -0.17431315779685974, -0.764445424079895, -0.6942689418792725, 0.4734380841255188, 0.6016604900360107, 0.1118810772895813, 1.0100458860397339, -0.2931137979030609, 0.42554572224617004, -0.1074914038181305, -0.2314615249633789, 0.27993205189704895, -0.3076070547103882, -0.12711110711097717, 0.1837533563375473, 0.25264477729797363, 0.21322116255760193, 0.05676555261015892, -0.37320196628570557, -0.5357002019882202, -0.0007419900503009558, 0.3850786089897156, -0.6126781702041626, 0.17020298540592194, -0.06901954114437103, -0.8121774792671204, -0.5196231603622437, 0.20364710688591003, -0.5928027033805847, -0.16683699190616608, -0.3112669289112091, 1.0039676427841187, -0.5338512659072876, -0.5349838733673096, -0.037054721266031265, -0.4111754298210144, 0.5051631331443787, 0.02013777196407318, -0.5691922903060913, 0.5749176144599915, 0.650571882724762, 0.6443978548049927, -0.2467922568321228, -0.3945607542991638, 0.05677318572998047, 0.16133752465248108, -0.4608215093612671, 0.7437384128570557, -0.7398577332496643, -0.6914012432098389, -0.011058725416660309, 0.16759338974952698, 0.3136226534843445, -0.6646600961685181, 0.309469610452652, -0.8854992985725403, 0.2635042667388916, 0.07764937728643417, -0.6442217230796814, -0.36957401037216187, 0.34656795859336853, -0.5491001605987549, 1.1545536518096924, 0.06909461319446564, -0.9833799004554749, 0.3016986846923828, -0.516954779624939, -0.5475631952285767, 0.1489700824022293, -0.02407252974808216, 0.03111124224960804, 0.17528750002384186, 0.12950477004051208, 0.5638647079467773, -0.8496126532554626, 0.1639162003993988, 0.040397290140390396, -0.4426731765270233, -0.47307610511779785, -0.013302857987582684, 0.6477433443069458, 0.23760835826396942, -0.25867190957069397, -0.20178766548633575, -0.7976765632629395, 0.10294286906719208, 0.3474558889865875, -0.34675830602645874, -0.8899399638175964, -0.33427995443344116, 0.3735103905200958, -0.08017751574516296, 0.3970085382461548, -0.9572888612747192, -0.023831278085708618, -0.6939388513565063, -0.2982464134693146, 0.6375038623809814, 0.03737916052341461, 0.019200049340724945, -0.06071699783205986, 0.6649519205093384, 0.0007328114588744938, 0.12066969275474548, 0.34201619029045105, -0.4130233824253082, -0.6477848291397095, 0.05054684728384018, 0.5925400257110596, 0.7843294739723206, -0.9770549535751343, 0.49852830171585083, -0.6196089386940002, -0.798577070236206, -0.698442280292511, 0.11165344715118408, 0.6020283699035645, 0.5101906061172485, 0.6274164319038391, -0.35481730103492737, -0.7179063558578491, -1.2186965942382812, -0.21344895660877228, -0.06547976285219193, 0.05949133634567261, 0.2340906262397766, 0.6179980039596558, -0.5042832493782043, 0.6731637716293335, -0.3240075409412384, -0.4078606069087982, -0.34672778844833374, 0.02688523568212986, 0.26180514693260193, 0.4482886493206024, 0.19643400609493256, -1.0752092599868774, -0.2829844653606415, -0.0797671526670456, -0.5039403438568115, -0.1263849139213562, 0.6519343256950378, -0.20887531340122223, 0.27800217270851135, 0.36598122119903564, -0.13679583370685577, 0.6389444470405579, 0.540542721748352, -0.27701544761657715, 0.3913058638572693, -0.02410615049302578, 0.32116150856018066, -1.501550555229187, 0.2640235424041748, -0.4854004383087158, -0.2737143635749817, -0.1779497116804123, 0.46940386295318604, -0.08731509745121002, -0.04160994291305542, -0.5047914385795593, 0.655811607837677, -0.3486345708370209, -0.20155951380729675, -0.14592717587947845, 0.5065245032310486, -0.30336955189704895, 0.04898018762469292, 0.18009650707244873, 0.8240295648574829, 0.41180530190467834, -0.7112923264503479, 0.8239983916282654, 0.49922600388526917, -0.34877458214759827, 0.8554345369338989, -0.5159927010536194, -0.05621851608157158, -0.2685766816139221, -0.11893065273761749, -0.8630248308181763, 0.10861869156360626, -0.10280431061983109, -0.5212401747703552, 0.3032764196395874, -0.15424472093582153, -0.5942178964614868, -0.1342284083366394, -0.3396296203136444, 0.5033035278320312, 0.36348918080329895, -0.7550070881843567, 0.7164949774742126, 0.8270396590232849, -0.1321527361869812, -0.698710560798645, -0.8935648798942566, 0.24717281758785248, -0.13940030336380005, -0.6925929188728333, 0.38570624589920044, 0.6440463066101074, -0.15522710978984833, 0.24349400401115417, 0.07775172591209412, -0.08401688933372498, -0.16579796373844147, 0.07142193615436554, 0.12725333869457245, -0.2199048548936844, 0.6324631571769714, 0.00512980530038476, -0.14047107100486755, -0.35079941153526306, -0.4322701394557953, 0.6255910992622375, -0.20853988826274872, -0.21651433408260345, -0.08771111071109772, 0.5112999081611633, -0.10597822070121765, -0.0400567501783371, 0.8147329092025757, 0.4082874655723572, -0.40003228187561035, -0.00014128847396932542, -0.8514938354492188, -0.23866671323776245, -0.38117456436157227, 0.2210865020751953, -0.8914069533348083, -0.5132768750190735, 0.555239737033844, -0.1360471397638321, -0.3482898473739624, 0.639778733253479, 0.4539448618888855, 0.10402629524469376, 0.6042627692222595, 0.7226940989494324, 0.28506144881248474, 0.25833913683891296, -0.26435956358909607, -0.0024982707109302282, -0.7664132714271545, -0.33019953966140747, -0.5875321626663208, -0.3233407735824585, -0.9591756463050842, -0.2982495427131653, 0.3703139126300812, -0.20648865401744843, 0.022224681451916695, 0.801115095615387, -0.2593919634819031, 0.32599949836730957, 0.6723136305809021, 0.14662523567676544, 0.35667404532432556, -0.08523968607187271, -0.6021831035614014, -0.15983617305755615, -0.6903648972511292, -0.25960874557495117, 1.1769253015518188, 0.007215847261250019, 1.1101415157318115, 0.3928779363632202, 1.0796374082565308, 0.29022058844566345, 0.005800407379865646, -0.7000905871391296, 0.5977871417999268, -0.10145621746778488, -0.6895921230316162, -0.5447795391082764, -0.3021537661552429, -1.149551510810852, 0.18651287257671356, -0.3571731448173523, -0.40743714570999146, 0.11247041076421738, -0.269736111164093, 0.3533713221549988, 0.2421785295009613, -0.5033891201019287, 0.646155595779419, 0.009652224369347095, -0.26256415247917175, -0.7833473682403564, -0.7676594257354736, 0.05916592851281166, -0.011421513743698597, 0.08254577219486237, 0.23014016449451447, -0.2841767370700836, 1.1348814964294434, -0.5814360976219177, 0.31888702511787415, -0.20492345094680786, -0.1680084466934204, 0.15856307744979858, 0.5129846334457397, 0.3433775007724762, -0.029026132076978683, 0.008656447753310204, 0.10634312033653259, 0.5067909955978394, -0.5310474038124084, -0.653320848941803, 0.9303127527236938, -0.5156386494636536, -0.6441697478294373, -0.2358746975660324, 0.052920252084732056, -0.28151360154151917, 0.5587714314460754, 0.1938094198703766, 0.46329909563064575, -0.29673680663108826, 0.2358763962984085, 0.5362431406974792, -0.301150381565094, -0.1921197474002838, 0.45900869369506836, -0.6368858814239502, -0.4231983423233032, 0.9277331233024597, 0.20810602605342865, -0.08633802086114883, 0.7068785429000854, 0.40303513407707214, -0.5746449828147888, -0.19053885340690613, -0.2812671363353729, 0.2621934711933136, -0.8974650502204895, -0.3677501380443573, -0.42787712812423706, 0.11625540256500244, -0.7085278034210205, 0.04240544140338898, -0.62575364112854, -0.7763810157775879, 0.20586208999156952, -0.007966123521327972, 0.40409359335899353, 0.962284505367279, -0.17411264777183533, -0.023794002830982208, -0.765620768070221, 0.6858855485916138, 0.2035977989435196, 0.7903057932853699, 0.03987281396985054, -0.548378050327301, -0.25398683547973633, -0.15165714919567108, 0.10046122223138809, -0.9022576212882996, 0.13916882872581482, 0.0795096755027771, 0.4729425609111786, -0.04094002768397331, 0.0001010531050269492, 0.7431918978691101, -0.3411608040332794, 0.6047458052635193, -0.15941697359085083, -0.9637451171875, 0.6329401731491089, 0.003806615946814418, 0.1884554922580719, 0.669734001159668, 0.5317898392677307, -0.6496243476867676, -0.16270305216312408, -0.7601779699325562, -0.8041669130325317, 0.42040205001831055, -0.04475872218608856, 0.2689899206161499, -0.15555992722511292, 0.06673745065927505, 0.4743664562702179, 0.15322279930114746, -0.011840980499982834, -0.0211724191904068, -0.2469293177127838, -0.21311907470226288, 0.23599377274513245, -0.36215266585350037, 0.135078564286232, -0.2920958995819092, 1.159767508506775, 0.12705561518669128, 0.2827117443084717, 0.37892693281173706, -0.3083095848560333, -0.027829870581626892, 0.17655663192272186, 0.15322957932949066, 0.48811981081962585, -0.1832878440618515, 0.25040802359580994, 0.4517081081867218, -0.6548714637756348, 0.07915231585502625, -0.0550069622695446, -0.02097911201417446, 0.2368258386850357, 0.2567827105522156, 0.37452271580696106, 0.3958800435066223, -0.789259135723114, 0.8030261397361755, -0.08483218401670456, 0.087864451110363, -0.5548762083053589, -0.40490180253982544, -0.06285853683948517, 0.11887471377849579, 0.29807084798812866, -0.47740834951400757, 0.3883490562438965, -0.5035387873649597, 0.4251359701156616, 0.5636402368545532, -0.11892237514257431, -0.042066920548677444, 0.2587921917438507, 0.061862390488386154, -0.06022845208644867, 0.5033321976661682, 0.18724603950977325, -0.594079852104187, 0.08022195845842361, 0.5993768572807312, 0.7911587357521057, -0.3356848657131195, 0.01768328994512558, 0.22403603792190552, 0.1969311237335205, 0.12666137516498566, 0.8130555152893066, -0.1946096569299698, -0.7533970475196838, 0.07156739383935928, -0.8236218690872192, -0.18617628514766693, -0.20987026393413544, -0.5225778818130493, 0.8797665238380432, -0.28312981128692627, -0.032108038663864136, -0.4316522479057312, -0.09541656821966171, -0.8150620460510254, 0.4554596543312073, -0.2443823367357254, 1.291184902191162, -0.48906099796295166, 0.6254335641860962, 0.8228715658187866, -0.4622057378292084, -0.6305772662162781, -0.07009616494178772, -0.33480170369148254, -1.046628475189209, 1.0066306591033936, -0.21561981737613678, -0.6569877862930298, 0.2018985003232956, -0.32197338342666626, -1.120489239692688, 0.8709572553634644, 0.13281726837158203, 0.004330420400947332, -0.07392456382513046, -0.09176676720380783, 0.6765424013137817, -0.16162395477294922, 0.38704702258110046, 0.326437383890152, 0.48511990904808044, 0.03151042386889458, -1.1151429414749146, 0.11333149671554565, -0.25789546966552734, 0.4665285646915436, 0.28275245428085327, -0.2507892847061157, 0.3886660039424896, 0.12824666500091553, -0.5748113989830017, 0.2178083062171936, 0.6013315916061401, -0.2259281724691391, -0.2219327986240387, 0.3426399528980255, 0.9057567119598389, 0.04447483271360397, 0.2828659415245056, 1.0456221103668213, -0.3124629259109497, 0.3315838575363159, 0.8749662637710571, 0.09149138629436493, 1.1227604150772095, 0.8458433747291565, -0.10980044305324554, 0.3931405544281006, 0.18840689957141876, 0.2658412754535675, 0.6478165984153748, 0.20373833179473877, 0.16392655670642853, -0.1803036779165268, -0.3728642165660858, -0.494657427072525, 0.8723103404045105, 0.2193632274866104, -0.49394407868385315, -0.5639060139656067, 0.18361830711364746, -0.21727043390274048, 0.32684072852134705, -0.07807055115699768, 0.9710790514945984, -0.1962965875864029, -0.3321439325809479, 0.971694827079773, 0.3263993561267853, 0.8163244724273682, -0.39081981778144836, -0.22370977699756622, -0.08847808837890625, -0.11838014423847198, -0.15474708378314972, -0.831658124923706, 0.45891764760017395, -0.24713602662086487, 0.3803088665008545, 0.14817145466804504, 0.7429468035697937, -0.40678781270980835, -0.41273534297943115, 0.5377891063690186, 0.6082399487495422, 0.3654674291610718, 0.3039199113845825, -0.28325220942497253, -0.07063795626163483, -0.46090614795684814, -0.3529135286808014, -0.027035072445869446, 0.354363352060318, -0.1393912434577942, 0.5341517925262451, 0.30485278367996216, 0.3848001956939697, 0.11546246707439423, -0.09558340162038803, 0.7195769548416138, -0.857574462890625, -0.6725314855575562, -0.40234559774398804, -0.18448695540428162, 0.3006135821342468, -0.3540351986885071, 0.5508596301078796, 0.6754499673843384, 1.1927826404571533, -0.220272034406662, 0.8364660143852234, -0.3139473795890808, 0.9915162324905396, -0.608795166015625, 0.5890111327171326, -0.850982129573822, -0.021019499748945236, -0.36228737235069275, -1.2194033861160278, -0.2465590238571167, 0.5384922623634338, -0.20785245299339294, -0.08564674854278564, 0.42221492528915405, 1.0164484977722168, -0.3785642385482788, 0.18563242256641388, 0.47461485862731934, 0.151341050863266, -0.12378057837486267, 0.19019797444343567, 0.659324049949646, -0.7722594738006592, 0.35754162073135376, -0.31252750754356384, -0.05579335615038872, -0.3713052570819855, -0.5846192240715027, -0.5248355269432068, -1.030318260192871, 0.3917727768421173, -0.2954784035682678, 0.3158990442752838, 1.1487343311309814, 0.35444337129592896, -0.8891546726226807, -0.20603220164775848, -0.05959263816475868, 0.13628502190113068, 0.10668809711933136, -0.2613179385662079, 0.31728655099868774, -0.04540527984499931, -0.6514583826065063, 0.2416350394487381, 0.015303975902497768, 0.05991746112704277, -0.4801885485649109, 0.018185973167419434, -0.6381803750991821, 0.0977335199713707, 0.33969956636428833, -0.025123756378889084, -0.7429848313331604, -0.3855081796646118, -0.24490369856357574, -0.15026268362998962, -0.1390380710363388, 0.5961296558380127, -1.0598260164260864, 0.6725865602493286, 0.9893859028816223, 0.86329185962677, 0.39988937973976135, 0.16885824501514435, 0.5583701133728027, -0.624890148639679, 0.36953333020210266, 0.30308619141578674, 0.04573037475347519, 0.5170461535453796, -0.2362712025642395, 0.4749164879322052, 0.28828364610671997, 0.015448101796209812, -0.5432917475700378, 0.22707873582839966, -0.24074852466583252, -0.2688543498516083, 0.9438763856887817, 0.23184387385845184, -0.4182342290878296, -0.17158707976341248, -0.1375415027141571, 0.405551940202713, -0.16107779741287231, 0.8838733434677124, 0.6243070960044861, 0.0413285456597805, 0.1302608996629715, -0.17563307285308838, 0.29266396164894104, 0.4729290008544922, -0.2099362462759018, -0.31244367361068726, 0.09481833875179291, 0.30648279190063477, 0.38507530093193054, 0.15149474143981934, -0.5423693060874939, 0.2817334234714508, 0.09086812287569046, 0.19864201545715332, -0.009573706425726414, -0.3423665761947632, -0.14056754112243652, 0.008980696089565754, -0.05812631919980049, -0.16911034286022186 ]
http://arxiv.org/abs/2404.19409v1
http://arxiv.org/pdf/2404.19409v1
Countering Reward Over-optimization in LLM with Demonstration-Guided Reinforcement Learning
2024-04-30T09:57:21
2024-04-30T09:57:21
Mathieu Rita, Florian Strub, Rahma Chaabouni, Paul Michel, Emmanuel Dupoux, Olivier Pietquin
cs.CL
cs.CL
While Reinforcement Learning (RL) has been proven essential for tuning large language models (LLMs), it can lead to reward over-optimization (ROO). Existing approaches address ROO by adding KL regularization, requiring computationally expensive hyperparameter tuning. Additionally, KL regularization focuses solely on regularizing the language policy, neglecting a potential source of regularization: the reward function itself. Inspired by demonstration-guided RL, we here introduce the Reward Calibration from Demonstration (RCfD), which leverages human demonstrations and a reward model to recalibrate the reward objective. Formally, given a prompt, the RCfD objective minimizes the distance between the demonstrations' and LLM's rewards rather than directly maximizing the reward function. This objective shift avoids incentivizing the LLM to exploit the reward model and promotes more natural and diverse language generation. We show the effectiveness of RCfD on three language tasks, which achieves comparable performance to carefully tuned baselines while mitigating ROO.
[ -0.3005373179912567, -0.5858185887336731, 0.3794999420642853, 0.2603573799133301, -0.3467833697795868, 0.1118544414639473, -0.5827287435531616, 0.06487448513507843, -0.1209503635764122, 0.619195282459259, -0.8134065270423889, -0.3244543671607971, -0.4898732900619507, -0.07480329275131226, 0.2812432646751404, 1.3755278587341309, -0.10087073594331741, -0.1791759729385376, -0.4099957346916199, -0.04391232877969742, -0.3987252712249756, -0.3842402696609497, -0.8345668911933899, -0.7410275936126709, 0.6917462944984436, 0.5938623547554016, 0.4315055310726166, 0.7631503939628601, -0.10266315191984177, 0.20931033790111542, 0.19509422779083252, 0.36178460717201233, -0.912341833114624, 0.0891493707895279, -0.19774438440799713, -0.5758907198905945, 0.29273390769958496, 0.094285748898983, 0.6638590097427368, 0.4050409197807312, -0.2962189018726349, -0.1550404131412506, -0.0663163810968399, 0.9044328331947327, -1.1313151121139526, 0.19658125936985016, -0.36327874660491943, 0.10205573588609695, 0.1855921447277069, -0.46002042293548584, -0.5953415036201477, -0.6667189598083496, -0.09571336954832077, -0.6279510855674744, -0.04577910527586937, 0.06122229993343353, 0.8223156929016113, 0.6522209644317627, -0.2696368098258972, -0.16728833317756653, -0.8917970061302185, 1.1933619976043701, -0.5082663297653198, 0.44665879011154175, 0.4169524610042572, 0.39460813999176025, -0.2914150059223175, -0.32323795557022095, -0.41380980610847473, -0.6000753045082092, 0.013217499479651451, 0.2557571530342102, -0.1728733330965042, 0.09647971391677856, 0.44372108578681946, 0.17324864864349365, -0.5585918426513672, 0.26639336347579956, -0.2260570377111435, -0.1828845739364624, 0.5991958379745483, 0.020116843283176422, -0.012481538578867912, 0.06363281607627869, -0.5112677216529846, -0.7989927530288696, -0.9341518878936768, 0.489059180021286, 0.5576430559158325, 0.23548780381679535, 0.07975472509860992, 0.40092456340789795, -0.33856844902038574, 0.5394865870475769, 0.06927599012851715, -0.17245016992092133, 0.03945042937994003, -0.17031583189964294, -0.20172351598739624, 0.14853891730308533, 0.6908626556396484, 0.34476956725120544, 0.518406093120575, -0.126217320561409, -0.5066728591918945, 0.24233277142047882, 0.32547006011009216, -0.9057186245918274, -0.12618182599544525, -0.043389998376369476, -0.16024604439735413, -0.5453732013702393, -0.1605958342552185, -0.5501103401184082, -0.23911239206790924, -0.23957809805870056, 0.4960002899169922, -0.1760973334312439, -0.15019649267196655, 0.299873024225235, -0.22346659004688263, 0.08088873326778412, -0.039489295333623886, -1.136757731437683, 0.45287737250328064, 0.7266476154327393, 0.4670659899711609, -0.22269490361213684, -0.3516002595424652, -1.1276110410690308, 0.2081369012594223, -0.5695198178291321, 0.5932611227035522, -0.37625131011009216, -0.49827805161476135, 0.026232944801449776, -0.1568010002374649, -0.10077482461929321, -0.7492519617080688, 0.6214935183525085, -0.5251508951187134, 0.2865796685218811, -0.2697164714336395, -0.46937456727027893, -0.045793842524290085, 0.41468819975852966, -0.45362699031829834, 0.8604543805122375, 0.18697930872440338, -0.29097121953964233, 0.7111399173736572, -0.624243974685669, -0.6265013217926025, -0.10272710770368576, -0.39637458324432373, -0.5293340682983398, 0.0037836492992937565, 0.3038727343082428, 0.2095772922039032, -0.19920703768730164, 0.34012287855148315, 0.1235160082578659, -0.4973137080669403, 0.1333569437265396, -0.34792837500572205, 0.21625612676143646, 0.2536858916282654, -0.4462086260318756, 0.46239224076271057, -0.5819373726844788, 0.12088359892368317, 0.0725829154253006, -0.5892820954322815, -0.30433088541030884, 0.16169928014278412, -0.11035905033349991, 0.21745774149894714, 0.02854836732149124, -0.602276623249054, 0.1467936486005783, -0.9096781015396118, 0.30399489402770996, 0.8587119579315186, 0.11668315529823303, 0.2954903841018677, -0.6027680039405823, 0.942966103553772, -0.31598585844039917, 0.14630630612373352, -0.0011451398022472858, -0.08593342453241348, -0.5632069706916809, -0.3730109632015228, 0.2958296835422516, 0.37695521116256714, -0.712683916091919, 0.3290405571460724, -0.18492773175239563, -0.34635278582572937, -0.47002512216567993, 0.16039709746837616, 0.7230568528175354, 0.3939787447452545, 0.39009103178977966, -0.18962107598781586, -0.28997543454170227, -0.913824200630188, -0.20635443925857544, -0.06655142456293106, -0.07419859617948532, 0.3807896673679352, 0.28510934114456177, 0.10503708571195602, 0.8333777189254761, -0.5410727262496948, -0.3502599895000458, -0.43240049481391907, 0.37994977831840515, 0.14118462800979614, 0.6047248244285583, 0.40618062019348145, -0.7795458436012268, -0.5542911887168884, 0.10430285334587097, -0.039302315562963486, -0.16043324768543243, -0.4454772472381592, 0.0772838369011879, 0.39673301577568054, 0.5143449902534485, -0.28261798620224, 0.30962109565734863, 0.37332960963249207, 0.04287514090538025, 0.5858305096626282, -0.5427955985069275, 0.17131610214710236, -0.5844605565071106, -0.07747570425271988, -0.12851454317569733, -0.4039528965950012, -0.23382438719272614, 0.1450662612915039, 0.08872929215431213, -0.02055526152253151, -0.24361446499824524, 0.5482068657875061, -0.058676719665527344, -0.01754610985517502, -0.6538332104682922, 0.12331714481115341, -0.005279342643916607, 0.8024172782897949, 0.39600327610969543, 0.7767574191093445, 0.3201940059661865, -0.6543684601783752, 0.3930070996284485, -0.09132415801286697, -0.25480180978775024, 0.3762487471103668, -0.8471089005470276, -0.18551982939243317, -0.08170394599437714, 0.3126629590988159, -0.8667021989822388, -0.08357558399438858, 0.16891950368881226, -0.43495306372642517, 0.2464962899684906, -0.03789552301168442, -0.28623253107070923, -0.08013029396533966, -0.6688957214355469, 0.46945732831954956, 0.8707537055015564, -0.751160204410553, 0.23389051854610443, -0.20149464905261993, 0.1164017841219902, -0.6289030313491821, -0.422926664352417, -0.31997445225715637, -0.27383068203926086, -0.28138184547424316, 0.5364708304405212, -0.055144116282463074, 0.0913766473531723, -0.28362372517585754, -0.15511687099933624, 0.493842214345932, 0.1873890459537506, 0.2556646466255188, -0.06844066828489304, -0.1211477592587471, 0.14796103537082672, 0.13079003989696503, -0.2173098474740982, 0.14645697176456451, -0.11844715476036072, 0.7584802508354187, 0.2430415153503418, -0.4122288227081299, -0.43152081966400146, 0.15819664299488068, 0.2686302959918976, -0.18072694540023804, 0.6133221387863159, 0.5012936592102051, -0.19795939326286316, -0.43132269382476807, -0.3552275598049164, -0.42597484588623047, -0.4869493544101715, 0.4896908104419708, -0.2845500707626343, -0.7378821969032288, -0.013491345569491386, -0.3422936201095581, 0.06292089819908142, 0.03733852505683899, 0.5244830250740051, 0.2462739646434784, 1.3511455059051514, 0.644950807094574, -0.1773594170808792, 0.6792007088661194, -0.17051829397678375, -0.03480897098779678, -0.6711959838867188, -0.15256759524345398, -0.5105835199356079, -0.26367518305778503, -0.5587437152862549, -0.15923559665679932, 0.2248089462518692, 0.27331265807151794, -0.39979228377342224, 0.15480467677116394, -0.30749207735061646, 0.6803264021873474, 0.8813850283622742, 0.11791342496871948, 0.1837569922208786, -0.07922579348087311, -0.1995304971933365, -0.3057253658771515, -0.7291146516799927, -0.38121673464775085, 1.0560120344161987, 0.18178510665893555, 0.9032156467437744, -0.03638095036149025, 0.9548447728157043, 0.2951522767543793, 0.3261878490447998, -0.7122498750686646, 0.3104029595851898, -0.04649181663990021, 0.040021393448114395, -0.45050400495529175, -0.6288578510284424, -1.0208661556243896, 0.09566567838191986, -0.15081584453582764, -0.5962399244308472, 0.1073393002152443, 0.4334748089313507, -0.35841816663742065, -0.15120702981948853, -0.649379551410675, 1.0683013200759888, -0.27549582719802856, -0.3791607618331909, -0.6598576307296753, -0.4821418523788452, 0.300066202878952, 0.18442896008491516, 0.18841105699539185, 0.23407024145126343, 0.06366611272096634, 0.620978832244873, -0.32541972398757935, 0.658916711807251, -0.2862858474254608, -0.11125575751066208, -0.2725488841533661, 0.08720089495182037, 0.9356070160865784, 0.024429935961961746, 0.24340806901454926, -0.9449229836463928, -0.22325991094112396, -0.47971272468566895, -0.9963606595993042, 0.9340835809707642, -0.7704887390136719, -0.46506181359291077, -0.24576881527900696, -0.5517191886901855, -0.35282251238822937, -0.09724484384059906, 0.03111879527568817, 0.33487120270729065, -0.16612470149993896, 0.1377287060022354, 0.7421104311943054, -0.43995678424835205, 0.1877557635307312, 0.38046780228614807, -0.1165505200624466, -0.5067322850227356, 1.374089241027832, -0.4145311117172241, 0.8497309684753418, 0.5782119631767273, 0.5411844253540039, -0.6084035634994507, -0.35842087864875793, -0.49213096499443054, 0.187015101313591, -0.59000164270401, 0.030111657455563545, -0.3138662576675415, 0.0856415405869484, -0.3568646311759949, -0.40342769026756287, -0.42551419138908386, -0.28694865107536316, -0.15840855240821838, -0.04650398716330528, 0.19859832525253296, 0.5045179128646851, -0.22148500382900238, 0.35993483662605286, -0.3310031294822693, 0.28275996446609497, 0.48201075196266174, 0.12751315534114838, -0.09674493968486786, -0.4629133939743042, -0.09311528503894806, 0.22341197729110718, -0.4531983435153961, -0.34559953212738037, 0.3926565945148468, 0.14704284071922302, 0.6925525665283203, 0.5685035586357117, 0.4060664474964142, 0.585014820098877, -0.32193419337272644, 0.6244635581970215, 0.32189854979515076, -0.6516988277435303, 0.6089933514595032, 0.036455072462558746, 0.24285078048706055, 0.3502039313316345, 0.4686967730522156, -0.6749799251556396, -0.4493664801120758, -0.5301567316055298, -0.8493465781211853, 0.7941203713417053, -0.11345815658569336, 0.189028799533844, -0.07149860262870789, 0.13532094657421112, -0.024667702615261078, 0.22776485979557037, -0.9482753276824951, -0.11238294094800949, -0.3521575629711151, -0.15852034091949463, -0.2988308072090149, -0.09861317276954651, -0.3814065158367157, -0.008702828548848629, 1.0002126693725586, -0.32581785321235657, -0.16784316301345825, 0.09397021681070328, -0.19592256844043732, -0.41307902336120605, 0.3490848243236542, 1.1728960275650024, 0.39111974835395813, -0.2889220118522644, -0.05038825795054436, -0.10397360473871231, -0.015095044858753681, 0.0685352012515068, 0.004314815159887075, -0.21276840567588806, -0.40526697039604187, 0.15186382830142975, 1.130471110343933, 0.2904828190803528, -1.0740485191345215, 0.6109479069709778, 0.14894592761993408, -0.364399254322052, -0.011405606754124165, 0.47266995906829834, -0.02549881301820278, 0.41076895594596863, 0.2879865765571594, -0.23449541628360748, -0.13969726860523224, -0.42121031880378723, 0.20698849856853485, 0.5861566066741943, -0.4257521331310272, 0.13595817983150482, 0.6890780329704285, -0.15718573331832886, -0.49310365319252014, 0.38827526569366455, -0.23305699229240417, -0.6886100769042969, 0.6403993368148804, 0.7892050743103027, 0.6559861898422241, 0.12715603411197662, 0.39470332860946655, 0.37374454736709595, 0.2620617747306824, -0.21963724493980408, 0.11547435820102692, -0.42703408002853394, -0.7239366769790649, -0.8252663612365723, -0.3770240843296051, -0.5548765063285828, 0.2359773963689804, -0.8099817633628845, 0.24335719645023346, -0.5555644035339355, 0.2672121822834015, -0.13070683181285858, 0.11403799057006836, -0.15128932893276215, 0.2516711354255676, -0.05416008457541466, 0.590105414390564, -0.9737861156463623, 0.760292112827301, 0.5023268461227417, -0.44153010845184326, -0.6369026899337769, -0.09287214279174805, -0.516514241695404, -0.8508104681968689, 1.0067999362945557, -0.05940524861216545, -0.310383141040802, 0.20517393946647644, -0.6019706130027771, -0.29323163628578186, 0.9136812686920166, 0.33847424387931824, -0.42961275577545166, 0.3346208333969116, 0.10867629945278168, 0.5485619306564331, -0.390670508146286, 0.16189561784267426, 0.3956280052661896, 0.5378450751304626, 0.22739297151565552, -0.6905391216278076, 0.09019909799098969, 0.20500299334526062, 0.04469415172934532, 0.37928885221481323, -0.4876993000507355, 0.5417691469192505, -0.31017568707466125, -0.18912610411643982, 0.06603004783391953, 0.508193850517273, 0.808494508266449, 0.02237480692565441, 0.73989337682724, 0.4600921869277954, 0.3454333245754242, 0.024727286770939827, 1.1349796056747437, 0.022181954234838486, 0.3122556209564209, 0.9726186990737915, -0.28423210978507996, 0.7155093550682068, 0.7709932923316956, -0.1635562628507614, 0.39918339252471924, 0.5104333162307739, 0.08425337076187134, 0.920042872428894, 0.7362588047981262, -0.25287315249443054, -0.6125305891036987, -0.2896897494792938, -0.1634896695613861, 0.007637494709342718, 0.1971084475517273, -0.16948202252388, -0.4320557415485382, 0.17363235354423523, -0.32132911682128906, 0.7841135859489441, -0.18737059831619263, 0.7032211422920227, -0.2910584509372711, -0.8584494590759277, 0.9735539555549622, 0.135785311460495, 0.8171361088752747, -0.735325038433075, -0.2893889844417572, -0.2619098722934723, 0.23694346845149994, 0.12201619893312454, -0.30819863080978394, -0.008852020837366581, -0.2632189691066742, -0.18252097070217133, -0.6097431778907776, 0.4064851403236389, -0.7010297179222107, -0.10212254524230957, 0.11107024550437927, 0.1219605803489685, 0.1381777822971344, -0.041385501623153687, -0.4905658960342407, -0.13979819416999817, 0.16285403072834015, -0.3174349367618561, 0.6296072602272034, 0.2310740351676941, -0.2529807388782501, 0.9577669501304626, 0.7529082894325256, 0.2381884604692459, -0.15746554732322693, 0.2426036298274994, 0.866837739944458, -0.6190537214279175, -0.6948320865631104, -0.8376582860946655, 0.15113498270511627, -0.03337755799293518, -0.32531410455703735, 0.28334400057792664, 0.6492930054664612, 1.2006733417510986, -0.2360113263130188, 0.5502604842185974, 0.22400997579097748, 0.4788455665111542, -0.7481278777122498, 0.45442894101142883, -0.8223458528518677, 0.06877592951059341, -0.09462489932775497, -0.5538668036460876, -0.17366263270378113, 0.7736439108848572, -0.2524343430995941, -0.03652585670351982, 0.5077450275421143, 1.0389440059661865, 0.018407728523015976, -0.14879243075847626, 0.5773202776908875, -0.27264073491096497, 0.3350830376148224, 0.7598105669021606, 1.0357598066329956, -0.0551719143986702, 0.725044310092926, -0.40873125195503235, -0.19746094942092896, -0.19140850007534027, -1.0515748262405396, -0.7794658541679382, -0.20755352079868317, -0.4075039029121399, -0.06745178252458572, 0.26652419567108154, 1.2063850164413452, 0.6224039793014526, -0.8594168424606323, -0.3509540557861328, -0.3292512595653534, 0.35851988196372986, -0.5783663392066956, -0.30039793252944946, 0.24110157787799835, -0.600111722946167, -0.8321294188499451, 0.5994373559951782, 0.15930481255054474, -0.006026634946465492, -0.3902369737625122, -0.5730527639389038, -0.18439780175685883, -0.0915311649441719, 0.3414037525653839, 0.6832510232925415, -0.6812694072723389, -0.4017484784126282, -0.14007049798965454, -0.18683500587940216, 0.015925265848636627, 0.9691449999809265, -1.082002878189087, 0.22094103693962097, 0.3478800654411316, 0.9689667820930481, 0.7197234034538269, 0.1599590927362442, 0.8781917095184326, -1.1425881385803223, 0.060697633773088455, 0.24367354810237885, -0.036499474197626114, 0.12742237746715546, -0.19377918541431427, 0.25984400510787964, 0.18939651548862457, -0.6513028740882874, -1.0655587911605835, 0.46902912855148315, -0.7078980803489685, -0.2578343152999878, 1.1535035371780396, -0.14224615693092346, -0.11547575891017914, 0.09606775641441345, -0.37649884819984436, 0.17276981472969055, -0.5581056475639343, 0.7959041595458984, 0.5800754427909851, -0.0716179758310318, -0.29335078597068787, -0.49407151341438293, 0.8940329551696777, 0.8559538722038269, -0.67888343334198, 0.21584102511405945, 0.4868376553058624, 0.21891197562217712, -0.055428992956876755, 0.5158828496932983, 0.20585277676582336, 0.6111389398574829, -0.39050641655921936, 0.306832879781723, -0.29660287499427795, -0.3160485029220581, -0.4005337357521057, -0.0940457135438919, 0.4782309830188751, -0.4276154041290283 ]
http://arxiv.org/abs/2404.19369v1
http://arxiv.org/pdf/2404.19369v1
Evaluating Telugu Proficiency in Large Language Models_ A Comparative Analysis of ChatGPT and Gemini
2024-04-30T08:55:01
2024-04-30T08:55:01
Katikela Sreeharsha Kishore, Rahimanuddin Shaik
cs.CL
cs.CL, cs.HC
The growing prominence of large language models (LLMs) necessitates the exploration of their capabilities beyond English. This research investigates the Telugu language proficiency of ChatGPT and Gemini, two leading LLMs. Through a designed set of 20 questions encompassing greetings, grammar, vocabulary, common phrases, task completion, and situational reasoning, the study delves into their strengths and weaknesses in handling Telugu. The analysis aims to identify the LLM that demonstrates a deeper understanding of Telugu grammatical structures, possesses a broader vocabulary, and exhibits superior performance in tasks like writing and reasoning. By comparing their ability to comprehend and use everyday Telugu expressions, the research sheds light on their suitability for real-world language interaction. Furthermore, the evaluation of adaptability and reasoning capabilities provides insights into how each LLM leverages Telugu to respond to dynamic situations. This comparative analysis contributes to the ongoing discussion on multilingual capabilities in AI and paves the way for future research in developing LLMs that can seamlessly integrate with Telugu-speaking communities.
[ -0.2594374716281891, -0.8456851840019226, 0.44282880425453186, 0.4069441258907318, -0.16935022175312042, 0.46161672472953796, -0.3646567463874817, -0.5954766869544983, 0.20070600509643555, 0.15930938720703125, -0.30188998579978943, -0.2060203105211258, -0.7457672953605652, 0.09929359704256058, -0.48678386211395264, 0.724790096282959, 0.036117564886808395, 0.18220944702625275, -0.1960974782705307, 0.0359492227435112, -0.5850186347961426, -0.41637346148490906, -1.0831294059753418, -0.32485273480415344, 0.36511385440826416, 0.23196274042129517, 0.8466467261314392, 0.17702683806419373, 0.587481677532196, 0.47077494859695435, -0.2517413794994354, -0.006748398765921593, -0.5237380266189575, 0.2956800162792206, -0.09121668338775635, -0.3864959180355072, -0.4097138047218323, -0.2186213731765747, 1.1349220275878906, 0.5052697658538818, 0.009384388104081154, 0.058965202420949936, 0.11276793479919434, 0.26376399397850037, -0.22029249370098114, 0.5846794843673706, -0.6417121291160583, 0.010400311090052128, -0.20474804937839508, 0.1761460155248642, -0.2842567563056946, -0.4754489064216614, 0.026249365881085396, -0.30148595571517944, -0.349468469619751, -0.11847482621669769, 0.8357145190238953, 0.1640685498714447, -0.39548978209495544, -0.15409371256828308, -0.70998215675354, 0.6955730319023132, -0.5832224488258362, 0.37265774607658386, 0.04267206788063049, 0.3708224594593048, -0.020347457379102707, -0.6047478914260864, -0.5294584035873413, -0.6870824098587036, -0.01525830291211605, 0.3320921063423157, -0.1929195374250412, -0.09239710867404938, 0.12605570256710052, 0.47318771481513977, -0.6813417077064514, 0.42980608344078064, -0.41653284430503845, -0.31159737706184387, 0.5794203877449036, 0.23864907026290894, 0.41591742634773254, -0.22851456701755524, -0.03659388795495033, -0.026131663471460342, -0.6955443024635315, -0.003871957305818796, 0.22905704379081726, 0.16555297374725342, -0.2927214503288269, 0.8822800517082214, 0.18814879655838013, 0.6428093314170837, -0.3068855404853821, -0.3414580821990967, -0.04499378427863121, -0.23684103786945343, -0.11795256286859512, -0.17528074979782104, 0.7230494618415833, 0.12861713767051697, 0.4750463664531708, -0.1046605333685875, -0.19143477082252502, -0.019525500014424324, 0.14556746184825897, -0.6309065222740173, 0.34424668550491333, 0.20217205584049225, -0.3201616704463959, 0.1374220848083496, -0.07266555726528168, -0.4730178415775299, -0.5123157501220703, -0.23388519883155823, 0.4497396945953369, -0.6312061548233032, -0.5621283054351807, -0.3008384704589844, -0.12093954533338547, 0.7084783315658569, 0.23248358070850372, -0.8382235765457153, 0.32513561844825745, 1.3456541299819946, 0.9144819974899292, -0.5796836018562317, -0.7236155271530151, -0.3128504753112793, -0.1945626586675644, -0.3164292275905609, 0.8240452408790588, -0.5402149558067322, -0.48213115334510803, 0.0013257658574730158, -0.390340119600296, -0.38649848103523254, -0.6831284165382385, 0.5064266920089722, -0.6040759086608887, -0.12288285791873932, -0.026448680087924004, -0.5115199089050293, 0.08693106472492218, 0.5057834982872009, -0.44628527760505676, 0.8873141407966614, 0.39496099948883057, -0.7130393385887146, 0.1837463676929474, -0.4964480698108673, -0.47587850689888, 0.340373158454895, -0.22348366677761078, -0.13340361416339874, -0.003787992289289832, -0.15271137654781342, 0.5294627547264099, -0.22737956047058105, 0.27354326844215393, -0.11203087121248245, -0.48077821731567383, 0.6031387448310852, -0.37620317935943604, 0.4572007954120636, 0.3014282286167145, 0.06594002991914749, 0.37772512435913086, -0.5748928785324097, 0.14927364885807037, 0.025681093335151672, -0.49120938777923584, -0.030065538361668587, -0.18131953477859497, 0.06462568044662476, 0.1470092236995697, 0.3890901505947113, -0.3181445300579071, 0.043325275182724, -0.5891768336296082, 0.5265046954154968, 0.6473094820976257, -0.2578102946281433, 0.38033950328826904, -0.30786025524139404, 0.7629873752593994, -0.08444485068321228, 0.1353694349527359, -0.11335378885269165, -0.8133463263511658, -0.8251926898956299, -0.2250719517469406, 0.40262898802757263, 0.6651037931442261, -0.6791531443595886, 0.09266937524080276, -0.42391687631607056, -0.6803800463676453, -0.5113118886947632, 0.10212769359350204, 0.5601862668991089, 0.32041293382644653, 0.12428030371665955, -0.44615763425827026, -0.47654810547828674, -0.9164271950721741, -0.2963027358055115, -0.283551961183548, 0.19168734550476074, 0.2722373306751251, 0.5732898712158203, -0.06941653788089752, 0.6510543823242188, -0.344366192817688, 0.09592239558696747, -0.8372222185134888, -0.22577841579914093, 0.2555786669254303, 0.17629610002040863, 0.372917503118515, -0.9493062496185303, -0.760140597820282, 0.11472335457801819, -0.6349658966064453, 0.07476071268320084, 0.18643924593925476, 0.10112730413675308, 0.386199027299881, 0.5007779002189636, -0.8180111050605774, 0.25860893726348877, 0.6648852825164795, -0.45709842443466187, 0.8016742467880249, -0.31290385127067566, 0.08167819678783417, -1.0848690271377563, 0.015893548727035522, -0.010439639911055565, -0.0006665062392130494, -0.8130158185958862, 0.2910904884338379, -0.04736700654029846, -0.1729007363319397, -0.4385068416595459, 0.7957044839859009, -0.420545369386673, -0.5417603850364685, -0.19368764758110046, 0.31372329592704773, -0.4831475019454956, -0.003757941536605358, 0.27651363611221313, 0.8538981676101685, 0.7674912810325623, -0.4303474426269531, 0.5134941935539246, 0.09025460481643677, -0.41241368651390076, 0.7673346996307373, -0.786296010017395, -0.08337754011154175, -0.10321260243654251, -0.05829579755663872, -1.1980314254760742, -0.3201635777950287, 0.04994881525635719, -0.7769834995269775, 0.305658221244812, -0.2867286801338196, -0.38520681858062744, -0.2229475975036621, -0.0761384591460228, -0.012317621149122715, 0.5669655203819275, -0.004031370859593153, 0.7285968065261841, 0.412125825881958, -0.5084943771362305, -0.542182981967926, -0.5948516130447388, 0.3133832514286041, -0.3943040370941162, -0.723060667514801, 0.2462611049413681, -0.05594651401042938, -0.8305962681770325, -0.35117483139038086, 0.14291726052761078, -0.1868131309747696, 0.08824189007282257, 0.3518203794956207, 0.42760583758354187, -0.5305750966072083, 0.09771314263343811, -0.04214826598763466, -0.2984548509120941, 0.014798169024288654, 0.002173942979425192, 0.9138839840888977, -0.5126713514328003, -0.33853334188461304, -0.1415126770734787, 0.15947020053863525, 0.5502998232841492, -0.3711479604244232, 1.0241293907165527, 0.6425666213035583, -0.22808681428432465, 0.2528941035270691, -0.5746247172355652, 0.11505839973688126, -0.44003579020500183, 0.5225316882133484, -0.47322455048561096, -0.8523111343383789, 0.6908303499221802, 0.3021940290927887, 0.0984625443816185, 0.47617828845977783, 0.8180149793624878, 0.14361988008022308, 0.4816194772720337, 0.4734942317008972, -0.2300151288509369, 0.35724684596061707, -0.20162010192871094, 0.06726507842540741, -0.7857041954994202, -0.37071195244789124, -0.5809169411659241, -0.13138388097286224, -0.6998380422592163, -0.48353320360183716, 0.32799115777015686, -0.45143255591392517, -0.36642295122146606, 0.3137615919113159, -0.11573328822851181, 0.41800615191459656, 0.4162157475948334, -0.30481117963790894, 0.4661295413970947, -0.2089112401008606, -0.16119384765625, -0.06524312496185303, -0.4811614453792572, -0.48708680272102356, 0.8899992108345032, 0.31219378113746643, 0.5858203768730164, 0.42152369022369385, 0.43222030997276306, 0.007139459252357483, 0.3346204459667206, -0.9658591151237488, 0.7540932297706604, -0.08962253481149673, -0.5218867659568787, -0.33945390582084656, -0.44448962807655334, -1.0813801288604736, 0.5051075220108032, -0.2827058434486389, -0.7509114146232605, -0.47676002979278564, -0.25045156478881836, -0.11533521860837936, 0.03495514765381813, -0.97345370054245, 0.7570867538452148, -0.26310744881629944, -0.1994364857673645, -0.4057106077671051, -0.4985854923725128, 0.2411891222000122, -0.07076338678598404, 0.20046217739582062, -0.08712087571620941, -0.350774884223938, 0.45378580689430237, -0.006894527468830347, 0.7084092497825623, 0.16940940916538239, -0.10011334717273712, 0.2678111791610718, 0.0532950833439827, -0.06596601754426956, 0.1730060875415802, -0.32422560453414917, 0.03311249986290932, -0.025732265785336494, -0.26546111702919006, -0.27523860335350037, 1.0349725484848022, -0.9845992922782898, -0.500586211681366, -0.6239742040634155, -0.6178756952285767, -0.4360288083553314, 0.22847482562065125, 0.004420577548444271, 0.16626159846782684, -0.4638864994049072, -0.02641315758228302, 0.48501724004745483, -0.25015637278556824, 0.6327111124992371, 0.7120779156684875, -0.47126874327659607, -0.22759082913398743, 0.7737536430358887, 0.1946176141500473, 0.4267880618572235, 0.5566808581352234, 0.2185605764389038, -0.4988955557346344, -0.7053094506263733, -0.43966391682624817, 0.40891942381858826, -0.7106102705001831, 0.20939312875270844, -0.40342339873313904, -0.5418106913566589, -0.5263317227363586, 0.19071748852729797, -0.39417797327041626, -0.4237894117832184, 0.03170807659626007, 0.19680140912532806, 0.17710815370082855, 0.8679121136665344, 0.26658526062965393, 0.3479279577732086, -0.7498993873596191, 0.24465623497962952, 0.3000499904155731, 0.3668094873428345, 0.029726577922701836, -0.8151652216911316, -0.009245633147656918, -0.14051173627376556, -0.4277343153953552, -0.8557826280593872, 0.3224483132362366, 0.20139934122562408, 0.767073929309845, 0.27968263626098633, -0.5055928230285645, 0.6801065802574158, -0.18491938710212708, 0.7092157006263733, -0.10221747308969498, -1.007252812385559, 0.4080258011817932, -0.37226003408432007, 0.39056238532066345, 0.16498011350631714, 0.6256454586982727, -0.7718521356582642, -0.3262600302696228, -0.649791419506073, -0.5874980688095093, 0.43840232491493225, 0.43266549706459045, 0.218588724732399, 0.20345386862754822, 0.5877653956413269, -0.08239059895277023, 0.05295930802822113, -0.7555487155914307, -0.21306957304477692, 0.10221926867961884, -0.02002248540520668, -0.3414132595062256, -0.10663863271474838, 0.3345503807067871, -0.4079023003578186, 0.5164168477058411, -0.11243078857660294, 0.159551203250885, -0.26129409670829773, -0.1253100484609604, 0.33532100915908813, 0.4288010001182556, 0.4728655219078064, 0.8550767302513123, 0.2905794382095337, 0.04761940613389015, 0.5961777567863464, -0.7468769550323486, -0.044352564960718155, 0.15526291728019714, -0.0572078600525856, -0.22307497262954712, 0.5836823582649231, 0.4855087697505951, 0.15866991877555847, -0.9161407351493835, 0.2297734022140503, -0.23341119289398193, 0.3995749354362488, -0.5730547904968262, 0.3098823130130768, 0.5389696359634399, 0.31058192253112793, 0.16690663993358612, -0.19351576268672943, -0.14789526164531708, -0.8859962821006775, -0.22492654621601105, 0.6216179728507996, -0.25569719076156616, -0.2506411075592041, 0.13798454403877258, 0.019686806946992874, -0.542461097240448, 0.8834980726242065, -0.05227076634764671, -0.47086435556411743, 0.8532668948173523, 0.6930994987487793, 0.4868958294391632, -0.5419103503227234, 0.10282988101243973, 0.33043140172958374, 0.32036787271499634, 0.01730741374194622, 0.38159313797950745, 0.2761279046535492, -0.8882461786270142, -0.6545315384864807, -0.6747010350227356, -0.7643294930458069, 0.15250058472156525, -0.3622673749923706, 0.3937905430793762, -0.3447287976741791, -0.2247636616230011, 0.1811036765575409, 0.14037124812602997, -0.19361676275730133, 0.17330382764339447, 0.24832352995872498, 0.8181924223899841, -0.5316991806030273, 0.8848134875297546, 0.8448179364204407, -0.31943953037261963, -0.7599349617958069, -0.13341587781906128, -0.07517427951097488, -1.0818372964859009, 0.5352892875671387, 0.1657785326242447, 0.01438995823264122, -0.12842202186584473, -0.07071266323328018, -0.6639202833175659, 0.8988963961601257, 0.5065169930458069, -0.29275861382484436, 0.06530392169952393, 0.5921372771263123, 0.9852566719055176, -0.30448052287101746, 0.7086289525032043, 0.8671319484710693, 0.581447958946228, 0.292544960975647, -1.3953328132629395, -0.3462604284286499, -0.3025825321674347, 0.0008616360137239099, 0.180266335606575, -0.9130117297172546, 0.8013451099395752, -0.2944478392601013, 0.03544536232948303, 0.2752932906150818, 0.7107790112495422, 0.3204040229320526, 0.1807970255613327, 0.21974171698093414, 0.299886554479599, 0.5345583558082581, -0.4238307774066925, 0.9772359132766724, -0.251985639333725, 0.016185907647013664, 0.95604407787323, -0.253953218460083, 1.1845601797103882, 0.37149712443351746, -0.38994377851486206, 0.2640899419784546, 0.4343963861465454, -0.02246096357703209, -0.11354653537273407, 0.3625503480434418, -0.21874681115150452, -0.1917893886566162, 0.015145832672715187, -0.2915326654911041, 0.9449527263641357, 0.5291574597358704, -0.1319827139377594, -0.1265418827533722, -0.07381041347980499, 0.271444171667099, 0.056929994374513626, -0.46431493759155273, 0.7605043649673462, 0.31066668033599854, -1.3054369688034058, 0.4303644895553589, 0.23835861682891846, 0.6481879353523254, -0.784612238407135, 0.10778315365314484, -0.38056716322898865, 0.4470173418521881, -0.15358354151248932, -1.31597900390625, 0.7394486665725708, 0.1675460934638977, 0.3962220251560211, -0.12986239790916443, 0.8911919593811035, -0.1446717530488968, -0.3827641010284424, 0.13711346685886383, 0.7038164138793945, 0.3896951377391815, -0.14142312109470367, -0.697413444519043, 0.29045823216438293, -0.21965692937374115, 0.08310546725988388, 0.554166316986084, 0.15632280707359314, -0.060553405433893204, 1.1127550601959229, 0.28510648012161255, 0.20877063274383545, 0.06657052785158157, 0.1074618548154831, 0.7271732091903687, -0.6661623120307922, -0.301326185464859, -1.0192005634307861, 0.20874431729316711, -0.07357633113861084, -0.5078364014625549, 1.0236233472824097, 0.8389731049537659, 0.5043770670890808, -0.10771292448043823, 0.643035352230072, -0.1855965107679367, 0.38253408670425415, -0.38515034317970276, 0.8033903241157532, -0.19940835237503052, 0.3432579040527344, -0.13591255247592926, -0.943107008934021, -0.14993049204349518, 0.6288757920265198, -0.38149064779281616, 0.313300758600235, 0.5218440890312195, 0.7026364207267761, 0.10229059308767319, 0.03987544775009155, 0.41980692744255066, 0.4808676242828369, 0.2779333293437958, 0.7080344557762146, 1.3705919981002808, -0.11773911118507385, 0.6439855098724365, -0.014465147629380226, -0.20913663506507874, 0.05664040893316269, -0.8930146098136902, -1.0951412916183472, -0.6597170829772949, -0.12808547914028168, -0.3440747857093811, -0.012185564264655113, 0.6586539149284363, 0.37413379549980164, -0.6115463972091675, -0.5109730362892151, 0.3154895305633545, 0.3389483690261841, -0.068668894469738, -0.16992603242397308, 0.2899799048900604, -0.08218269795179367, -0.8807522058486938, 0.232089564204216, 0.31935998797416687, 0.12319298088550568, -0.6340406537055969, -0.1890755593776703, 0.10511169582605362, 0.2240065187215805, 0.7727806568145752, 0.18715812265872955, -0.5755483508110046, 0.020179666578769684, 0.09704011678695679, -0.05558376386761665, 0.12556421756744385, 0.557611882686615, -0.6463612914085388, -0.06714130192995071, 0.5997435450553894, 0.19819670915603638, 0.4600090980529785, -0.2452467679977417, 0.19775564968585968, -0.35471341013908386, 0.14401964843273163, 0.26714450120925903, 0.4482410252094269, 0.49007800221443176, -0.08355484902858734, 0.3231733441352844, -0.015584677457809448, -0.5456713438034058, -0.4730725586414337, 0.17957854270935059, -1.068153977394104, -0.050817303359508514, 1.3793118000030518, -0.3092152178287506, 0.03731561079621315, -0.3289811909198761, -0.4355839490890503, 0.034833457320928574, -0.25543278455734253, 0.7905495762825012, 0.8788675665855408, -0.22179871797561646, -0.22465503215789795, -0.5030452609062195, 0.24019864201545715, 0.22171831130981445, -1.1051244735717773, -0.20819345116615295, 0.23224833607673645, 0.37970834970474243, 0.13939259946346283, 0.6301960349082947, -0.22484293580055237, 0.3066159188747406, -0.04983964189887047, -0.5003825426101685, 0.11005298793315887, -0.16427332162857056, -0.3008803427219391, 0.15059685707092285, 0.5785766243934631, 0.46593332290649414 ]
http://arxiv.org/abs/2404.19364v1
http://arxiv.org/pdf/2404.19364v1
Navigating Brain Language Representations: A Comparative Analysis of Neural Language Models and Psychologically Plausible Models
2024-04-30T08:48:07
2024-04-30T08:48:07
Yunhao Zhang, Shaonan Wang, Xinyi Dong, Jiajun Yu, Chengqing Zong
cs.CL
cs.CL
Neural language models, particularly large-scale ones, have been consistently proven to be most effective in predicting brain neural activity across a range of studies. However, previous research overlooked the comparison of these models with psychologically plausible ones. Moreover, evaluations were reliant on limited, single-modality, and English cognitive datasets. To address these questions, we conducted an analysis comparing encoding performance of various neural language models and psychologically plausible models. Our study utilized extensive multi-modal cognitive datasets, examining bilingual word and discourse levels. Surprisingly, our findings revealed that psychologically plausible models outperformed neural language models across diverse contexts, encompassing different modalities such as fMRI and eye-tracking, and spanning languages from English to Chinese. Among psychologically plausible models, the one incorporating embodied information emerged as particularly exceptional. This model demonstrated superior performance at both word and discourse levels, exhibiting robust prediction of brain activation across numerous regions in both English and Chinese.
[ -0.1914556622505188, -0.6998743414878845, 0.6952685713768005, 0.6530755162239075, 0.10446654260158539, -0.0887286439538002, -0.7384642362594604, -0.44746753573417664, 0.044567208737134933, 0.0121831763535738, -0.3242291808128357, -0.21598482131958008, -0.6840481758117676, 0.01698978804051876, -0.3260554373264313, 0.4280630052089691, 0.2737354338169098, 0.5039163827896118, -0.3806312680244446, -0.07980605959892273, -0.6989060640335083, -0.8238825798034668, -0.8269765973091125, -0.8280304670333862, 0.633629560470581, -0.6249752640724182, 0.8360137343406677, 0.4099051058292389, 0.1758446842432022, 0.32171666622161865, -0.11556090414524078, 0.015487574972212315, -0.17402192950248718, -0.09180387109518051, -0.10286542773246765, -0.6452397108078003, -0.3790890872478485, -0.0701637864112854, 0.5446937084197998, 0.9788544178009033, -0.32652929425239563, -0.2651832699775696, 0.22744794189929962, 0.30462372303009033, -0.5523115992546082, 0.3355032801628113, -0.6291421055793762, 0.10481587052345276, 0.0408475436270237, -0.038575250655412674, -0.8968077898025513, -0.0018938463181257248, 0.3318961560726166, -0.4939838647842407, -0.21896737813949585, -0.25288572907447815, 0.7338603734970093, -0.16378812491893768, -0.7460355162620544, -0.25882893800735474, -0.7675548791885376, 0.7269131541252136, -0.7581227421760559, 0.7853534817695618, 0.6907357573509216, 0.10500384867191315, -0.004143129102885723, -0.6221112012863159, -0.5453696846961975, -0.5057659149169922, -0.25149300694465637, 0.08892151713371277, -0.33051738142967224, 0.24235643446445465, 0.3101322054862976, 0.015341346152126789, -0.677419126033783, 0.23721006512641907, -0.008256617933511734, -0.3849017918109894, 0.4430738389492035, 0.21987520158290863, 0.5034792423248291, -0.27970221638679504, -0.09921494126319885, -0.26777470111846924, -0.5429831743240356, 0.04978705942630768, 0.08902852982282639, 0.47230789065361023, -0.2583029866218567, 0.5433279871940613, 0.194473534822464, 0.6164216995239258, 0.026341421529650688, -0.13541565835475922, 0.06785212457180023, -0.22513246536254883, -0.16649644076824188, -0.049555521458387375, 0.80682373046875, 0.3835529088973999, 0.28598254919052124, -0.5623826384544373, -0.32621046900749207, 0.2887312173843384, 0.3543321490287781, -0.5228589773178101, -0.19011946022510529, 0.14350943267345428, -0.7572419047355652, 0.2771483361721039, 0.01779290661215782, -0.42746803164482117, -0.5213587284088135, -0.25985950231552124, 0.25251612067222595, -0.8298308253288269, -0.6253318190574646, 0.22925344109535217, 0.005608722567558289, 0.2425757199525833, 0.17628587782382965, -1.0875201225280762, 0.1858798712491989, 0.8000299334526062, 0.8916142582893372, -0.1578628122806549, -0.41671717166900635, 0.19452954828739166, 0.009889360517263412, -0.5062195062637329, 0.6126830577850342, -0.6031413674354553, -0.1670645922422409, 0.26008400321006775, -0.20782427489757538, -0.3133067488670349, -0.31706884503364563, 0.24044910073280334, -0.7730985879898071, 0.26108741760253906, -0.6458338499069214, -0.4447668492794037, -0.3680973947048187, 0.22492840886116028, -0.86496502161026, 0.7189568877220154, -0.06896621733903885, -0.6760605573654175, 0.39415937662124634, -0.3374141752719879, -0.49592849612236023, -0.24845165014266968, -0.34055671095848083, 0.231125146150589, 0.3992695212364197, 0.05113639682531357, 0.6222310662269592, -0.3904738426208496, 0.4076709449291229, -0.15553322434425354, -0.331211656332016, 0.665874719619751, -0.7148594260215759, 0.9846059083938599, 0.025043342262506485, -0.21881769597530365, -0.21087640523910522, -0.46756482124328613, -0.02185528166592121, 0.11596067249774933, -0.3713001608848572, -0.4822809100151062, 0.20535090565681458, 0.13799329102039337, 0.269698828458786, 0.27973151206970215, -0.5714704394340515, -0.07231129705905914, -0.3710974454879761, 0.43284907937049866, 0.5323187112808228, -0.40533682703971863, 0.7333790063858032, -0.028470804914832115, 0.48527273535728455, 0.09064901620149612, -0.3038046360015869, -0.35930949449539185, -0.5728842616081238, -0.4708200991153717, -0.1266336590051651, 0.4869367480278015, 0.44381216168403625, -0.6719766855239868, 0.14161984622478485, -0.45002463459968567, -0.35239294171333313, -0.4602638781070709, -0.3995274603366852, 0.3908671736717224, 0.26364436745643616, 0.292195588350296, -0.06831701099872589, -0.49608197808265686, -0.9868253469467163, -0.3757264316082001, -0.48311707377433777, -0.1553771048784256, 0.15027880668640137, 0.2616182267665863, -0.21042531728744507, 0.5138213634490967, -0.20635321736335754, 0.07801435887813568, -0.21562664210796356, 0.42435386776924133, 0.19954811036586761, 0.3805896043777466, 0.7426080703735352, -0.5069875121116638, -0.30477356910705566, 0.36099034547805786, -0.9307422041893005, 0.2392323762178421, -0.47489407658576965, 0.0970047190785408, 0.2752901613712311, 0.3788383901119232, -0.6583536863327026, 0.46957480907440186, 0.6083933711051941, -0.3213884234428406, 0.42885464429855347, -0.4325876235961914, 0.2827489376068115, -0.7357746958732605, 0.12059906125068665, 0.007865717634558678, 0.017103103920817375, -0.7984079718589783, -0.13525131344795227, 0.447936475276947, 0.1460484117269516, 0.057879526168107986, 0.39817360043525696, -0.6898622512817383, 0.09564373642206192, -0.3808511197566986, -0.07947205752134323, -0.36085328459739685, 0.703727662563324, 0.26717525720596313, 0.6806626915931702, 0.9097619652748108, -0.4581346809864044, 0.06094624102115631, -0.09000378102064133, -0.3687760531902313, 0.16722068190574646, -0.6085039973258972, 0.09917272627353668, -0.41088560223579407, 0.20851247012615204, -1.156357765197754, -0.20969434082508087, -0.19477562606334686, -0.4827950894832611, 0.4272556006908417, 0.19908668100833893, -0.5926989912986755, -0.06858598440885544, 0.042591553181409836, 0.6046985387802124, 0.5087042450904846, -0.25081178545951843, 0.8015961050987244, 0.409507155418396, 0.08881057053804398, -0.43801236152648926, -1.2133643627166748, 0.3119252026081085, -0.06396602839231491, -0.4984288811683655, 0.6379712224006653, 0.09317473322153091, -0.0826854407787323, -0.22388538718223572, 0.02059333212673664, -0.17375515401363373, -0.09109687060117722, 0.22054170072078705, 0.15536528825759888, -0.5049071907997131, 0.0008971587521955371, -0.08425973355770111, -0.018403101712465286, 0.5913475155830383, -0.09234284609556198, 0.6034123301506042, -0.12322185188531876, -0.40682950615882874, -0.25031739473342896, 0.4799676239490509, 0.6504551768302917, -0.1781654953956604, 0.9641778469085693, 0.44220173358917236, -0.8515172600746155, -0.05229784548282623, -0.46333688497543335, -0.3405402898788452, -0.42463183403015137, 0.510657548904419, -0.5269445776939392, -0.5686565637588501, 0.77218097448349, 0.11140618473291397, -0.15729689598083496, 0.029899759218096733, 0.38608476519584656, -0.02303238958120346, 1.5825304985046387, 0.6973340511322021, 0.07878731191158295, 0.5637317895889282, -0.17367671430110931, 0.30993202328681946, -0.7747109532356262, -0.39279094338417053, -0.2711847722530365, -0.19623926281929016, -0.6916386485099792, -0.4677092730998993, 0.2539692223072052, -0.26504549384117126, -0.09366226941347122, 0.4303281605243683, -0.21342891454696655, 0.3541329503059387, 0.276481032371521, 0.052102066576480865, -0.006607867777347565, 0.22172094881534576, -0.5425414443016052, -0.43107929825782776, -1.0254191160202026, -0.48607534170150757, 1.0786354541778564, 0.36976301670074463, 0.513827919960022, 0.006059390492737293, 0.12437234818935394, -0.09905198961496353, 0.2811906933784485, -0.6319258809089661, 0.6657200455665588, -0.17745853960514069, -0.6874761581420898, 0.07601980865001678, -0.17643322050571442, -1.0314301252365112, 0.4422825574874878, -0.3680722415447235, -0.9528380036354065, 0.24515503644943237, -0.20014525949954987, -0.3724158704280853, 0.30472707748413086, -0.666728138923645, 0.7092052102088928, -0.3758402168750763, -0.2642715871334076, -0.5023607611656189, -0.42461031675338745, 0.32507967948913574, -0.05802641436457634, 0.1786847710609436, 0.33457422256469727, -0.2912469804286957, 0.5964841246604919, 0.10510610789060593, 0.7900716662406921, -0.11297478526830673, -0.27163609862327576, -0.0775633156299591, 0.21514493227005005, -0.12066424638032913, -0.11007887125015259, -0.4246426522731781, 0.46016213297843933, 0.054121293127536774, -0.33155930042266846, -0.8572601675987244, 0.7404932975769043, -0.7424118518829346, -0.3947364389896393, -0.44759824872016907, -0.4760531783103943, -0.3008452355861664, 0.20091605186462402, 0.3440714180469513, 0.4994368255138397, -0.33573687076568604, 0.1462467759847641, 0.5859150886535645, -0.3215550482273102, 0.640743613243103, 0.14588946104049683, -0.2691561281681061, -0.46012917160987854, 0.750265896320343, 0.31321582198143005, -0.00130726327188313, 0.6095660328865051, -0.0897151455283165, -0.42251646518707275, -0.5915567278862, -0.20982351899147034, 0.39681369066238403, -0.6106319427490234, 0.08063280582427979, -0.5168681740760803, -0.09142372757196426, -0.3133717477321625, 0.014589516445994377, -0.44489365816116333, -0.1627742499113083, 0.05346332862973213, -0.10676147043704987, -0.07478878647089005, 0.7042854428291321, -0.1826983392238617, 0.2976170778274536, -0.37274467945098877, 0.11394430696964264, 0.10732081532478333, 0.4395310580730438, 0.5991660952568054, -0.2549777030944824, -0.6150147914886475, 0.4457607567310333, -0.05524195730686188, -1.3584071397781372, 0.2543624937534332, 0.019485466182231903, 0.8036036491394043, 0.5271291732788086, -0.4030294716358185, 0.8334373235702515, -0.6129675507545471, 1.0018645524978638, 0.37249213457107544, -0.7774578928947449, 0.23212841153144836, -0.38472896814346313, 0.47948476672172546, 0.31010371446609497, 0.6134122014045715, -0.5209016799926758, -0.2564467489719391, -0.44340017437934875, -0.7583326697349548, 0.594956636428833, 0.13949717581272125, 0.24760979413986206, -0.25748410820961, 0.29449763894081116, 0.1457158923149109, 0.05827388912439346, -0.9750905632972717, -0.3485525846481323, -0.1403641700744629, 0.013599316589534283, -0.06373937427997589, 0.0023199429269880056, 0.1867905706167221, -0.36462798714637756, 0.18431901931762695, -0.0913853570818901, 0.8662024140357971, 0.10045188665390015, -0.09829173237085342, 0.2748027443885803, -0.11504016816616058, 0.45354965329170227, 0.6323182582855225, 0.011319020763039589, 0.3113402724266052, 0.23900969326496124, -0.4132007360458374, -0.05710405483841896, -0.20003199577331543, -0.010676783509552479, 0.1680547595024109, 0.660206139087677, 0.8872091770172119, 0.33029288053512573, -0.6557096242904663, 0.3207554817199707, -0.2423686385154724, 0.09730595350265503, -0.32679426670074463, -0.222230926156044, 0.5037668347358704, 0.2356945425271988, 0.22000309824943542, 0.16106577217578888, 0.07083169370889664, -0.6688815355300903, -0.11172091960906982, 0.6035683751106262, -0.22821582853794098, -0.6700277328491211, 0.6840298771858215, -0.11836213618516922, -0.34147679805755615, 0.7632282376289368, -0.021634727716445923, -0.5376686453819275, 0.5139536261558533, 0.7576510310173035, 0.9569845795631409, -0.1762397438287735, 0.015490381978452206, 0.7118080258369446, 0.44314995408058167, -0.19431816041469574, 0.26766350865364075, -0.14022096991539001, -0.9415826797485352, -0.539222240447998, -0.20355446636676788, 0.08057466894388199, 0.2748008072376251, -0.7232971787452698, -0.10176599770784378, -0.3375415503978729, -0.6675865054130554, -0.016705961897969246, -0.3286314308643341, -0.8017934560775757, 0.22291594743728638, 0.6496759653091431, 1.0382965803146362, -0.9442476034164429, 1.0086523294448853, 1.064757227897644, -0.365776389837265, -0.8573428392410278, 0.10565498471260071, -0.2707391381263733, -0.5730758905410767, 0.4506450593471527, 0.16548800468444824, -0.2126655876636505, -0.3052673935890198, -0.2046082764863968, -0.7884568572044373, 1.0123306512832642, 0.7049784064292908, -0.07467573136091232, -0.35081228613853455, 0.351082444190979, 0.8593336343765259, -0.48862090706825256, 0.6453053951263428, 0.4541352391242981, 0.5405222177505493, -0.3425177335739136, -0.8683001399040222, 0.21682225167751312, -0.42358916997909546, 0.30339476466178894, -0.21357867121696472, -0.3972240686416626, 0.8099787831306458, -0.0023165694437921047, -0.4246944487094879, 0.10131149739027023, 1.0981876850128174, 0.23857393860816956, 0.2159692496061325, 0.39816349744796753, 0.11418677866458893, 0.8353940844535828, -0.08615996688604355, 1.0779496431350708, -0.5316929221153259, -0.03843208774924278, 0.7179251909255981, -0.08629581332206726, 0.9586414098739624, 0.6084626913070679, -0.12090633809566498, 0.6976682543754578, 0.5684447884559631, 0.3492502272129059, 0.6185362935066223, -0.004326052498072386, -0.07592978328466415, -0.3821883201599121, 0.015296821482479572, -0.273029625415802, 0.5750784277915955, 0.48618581891059875, -0.30599334836006165, -0.1092567890882492, 0.1322999745607376, -0.006632945965975523, 0.23980674147605896, -0.07603372633457184, 0.5613217949867249, 0.16754932701587677, -1.0906312465667725, 0.8092643022537231, 0.2622101306915283, 0.9168129563331604, -0.7851603031158447, 0.07223403453826904, -0.34580084681510925, -0.10434176027774811, 0.02851158380508423, -0.6948375701904297, 0.24435414373874664, 0.006092607509344816, -0.16075603663921356, -0.6775935888290405, 0.7790992856025696, -0.49277210235595703, -0.1444198340177536, 0.6937706470489502, 0.5792546272277832, -0.028564412146806717, -0.1325310319662094, -0.6322813034057617, 0.13995449244976044, -0.039075817912817, -0.2900392711162567, 0.40189921855926514, 0.5245016813278198, -0.07664921134710312, 0.6869943737983704, 0.38185885548591614, 0.32185062766075134, 0.31997305154800415, -0.09486495703458786, 0.49165767431259155, -0.9045085310935974, -0.5341812372207642, -0.880342423915863, 0.619998037815094, -0.030432626605033875, -0.30118221044540405, 0.779306948184967, 0.45150455832481384, 0.7448291182518005, -0.22438330948352814, 0.598646342754364, -0.07203446328639984, -0.16877630352973938, -0.44886940717697144, 0.834821343421936, -0.49524345993995667, 0.12847581505775452, -0.2720237076282501, -0.7493425011634827, -0.1632668673992157, 0.9495901465415955, -0.2260759323835373, 0.25863346457481384, 0.9433443546295166, 0.9185798168182373, -0.2783210873603821, 0.30531811714172363, 0.3949239253997803, 0.39201819896698, 0.03156059607863426, 0.7973477840423584, 1.0428203344345093, -0.4341699182987213, 0.07555003464221954, -0.2390061616897583, -0.28331658244132996, 0.18725937604904175, -1.0337955951690674, -0.8046512603759766, -0.9411730170249939, -0.26414474844932556, -0.25571775436401367, -0.25804880261421204, 0.8450019955635071, 0.9490456581115723, -0.6242892146110535, -0.6197633743286133, 0.04433564096689224, -0.1268647462129593, -0.46075406670570374, -0.16819435358047485, 0.1889898031949997, -0.03967985138297081, -0.7454491257667542, 0.653400719165802, 0.11879204958677292, -0.10939526557922363, -0.5471885204315186, -0.10973798483610153, -0.19563601911067963, 0.28744930028915405, 0.7989450693130493, 0.08504555374383926, -0.8532875776290894, -0.13123807311058044, 0.39070746302604675, -0.47796329855918884, -0.12497273087501526, 0.8690152168273926, -0.9429031610488892, 0.24085965752601624, 0.6793385744094849, 0.6920313835144043, 0.3469892740249634, -0.5886867642402649, 0.9638102054595947, -0.39196839928627014, 0.11896537989377975, 0.11958158761262894, 0.5512712597846985, 0.36760348081588745, -0.2595592141151428, 0.2755863070487976, -0.13809484243392944, -0.2314496487379074, -0.875883162021637, 0.13495858013629913, -1.1870719194412231, -0.4129277765750885, 1.1938551664352417, -0.143545463681221, -0.38842055201530457, 0.16877491772174835, -0.16267193853855133, 0.279995858669281, -0.10699029266834259, 0.8401644825935364, 1.070913553237915, -0.2066735476255417, 0.11120842397212982, -0.622433602809906, 0.21473202109336853, 0.7731267809867859, -0.22032830119132996, 0.14864347875118256, 0.4526563286781311, -0.029278365895152092, 0.3344874382019043, 0.5320789813995361, -0.089415542781353, 0.31313610076904297, 0.19449403882026672, -0.20796003937721252, 0.2292061597108841, -0.31544291973114014, -0.5026625394821167, 0.29498711228370667, -0.02748008258640766, 0.05531921610236168 ]
http://arxiv.org/abs/2404.19363v1
http://arxiv.org/pdf/2404.19363v1
Expressivity and Speech Synthesis
2024-04-30T08:47:24
2024-04-30T08:47:24
Andreas Triantafyllopoulos, Björn W. Schuller
cs.CL
cs.CL
Imbuing machines with the ability to talk has been a longtime pursuit of artificial intelligence (AI) research. From the very beginning, the community has not only aimed to synthesise high-fidelity speech that accurately conveys the semantic meaning of an utterance, but also to colour it with inflections that cover the same range of affective expressions that humans are capable of. After many years of research, it appears that we are on the cusp of achieving this when it comes to single, isolated utterances. This unveils an abundance of potential avenues to explore when it comes to combining these single utterances with the aim of synthesising more complex, longer-term behaviours. In the present chapter, we outline the methodological advances that brought us so far and sketch out the ongoing efforts to reach that coveted next level of artificial expressivity. We also discuss the societal implications coupled with rapidly advancing expressive speech synthesis (ESS) technology and highlight ways to mitigate those risks and ensure the alignment of ESS capabilities with ethical norms.
[ -0.4074650704860687, -0.7137479186058044, 0.33984121680259705, 0.28090953826904297, 0.33528581261634827, 0.5990087985992432, -0.3601298928260803, -0.761034369468689, 0.5267188549041748, 0.500765860080719, -0.4852633774280548, -0.05583716183900833, -0.5112267732620239, 0.1454661786556244, -0.6045334935188293, 0.5967315435409546, 0.2439749836921692, -0.20709900557994843, -0.2561233341693878, -0.4522852897644043, -0.03710482642054558, -0.9624722599983215, -0.6144726276397705, -0.06916878372430801, 0.3542436957359314, 0.41926127672195435, 0.7524278163909912, 0.4228341579437256, 0.22920940816402435, 0.3988358676433563, -0.19478121399879456, 0.21781302988529205, -0.18168479204177856, 0.5840975642204285, -0.08076443523168564, -0.4153163433074951, -0.2953471541404724, 0.09488381445407867, 0.6069794297218323, 0.7552696466445923, 0.1647300124168396, 0.1336609274148941, 0.009906117804348469, 0.6768378615379333, -0.2795150876045227, 0.01809675805270672, -0.5230590105056763, 0.08659296482801437, -0.060021743178367615, 0.040660008788108826, -0.3531193435192108, -0.17457562685012817, 0.0269888024777174, -0.44788211584091187, -0.11668488383293152, -0.025374818593263626, 0.35861825942993164, 0.3245689570903778, -0.18861420452594757, -0.5543891191482544, -0.9056853652000427, 0.8200014233589172, -0.7476966977119446, 0.3102303147315979, 0.18811239302158356, 0.21477186679840088, -0.08157971501350403, -1.1835144758224487, -0.7080376148223877, -0.4455179274082184, -0.017160890623927116, -0.0021702630911022425, -0.5243594646453857, 0.21993617713451385, 0.3476220965385437, 0.08546210080385208, -0.0399857722222805, 0.08315672725439072, -0.7776933908462524, -0.22753511369228363, 0.8211325407028198, 0.08380251377820969, 0.6675435900688171, 0.08887680619955063, 0.010412430390715599, 0.060200512409210205, -0.8541774749755859, 0.11140556633472443, 0.6553585529327393, 0.5339534878730774, 0.16658014059066772, 0.5878488421440125, -0.29956182837486267, 0.4421151578426361, -0.15230722725391388, 0.333234965801239, 0.20275945961475372, -0.35765761137008667, 0.05065640062093735, 0.18800795078277588, 0.6017917394638062, 0.08049240708351135, -0.036861248314380646, -0.12090789526700974, -0.15080684423446655, 0.3896827697753906, 0.3800436854362488, -0.6922649145126343, 0.22631244361400604, 0.477455198764801, -0.35910844802856445, -0.2899518609046936, -0.12379637360572815, -0.7534653544425964, -0.36168527603149414, -0.80485600233078, 0.433649480342865, -0.19710075855255127, -0.4713907837867737, -0.003944695927202702, -0.35635697841644287, 0.1708293855190277, 0.0818658247590065, -1.0586827993392944, 0.7201719880104065, 0.7948543429374695, 0.5631540417671204, -0.16323140263557434, -0.26250410079956055, -0.5130820870399475, 0.2719714641571045, -0.36187148094177246, 0.48136261105537415, -0.7707303166389465, -0.4814554750919342, -0.019387483596801758, -0.14473989605903625, 0.25268661975860596, -0.7363442182540894, 0.6970868706703186, 0.09803088009357452, 0.3029542565345764, -0.2554263770580292, -0.40155890583992004, -0.10560532659292221, -0.23113654553890228, -0.4375782608985901, 0.7947158217430115, -0.024839693680405617, -0.15195441246032715, -0.22635413706302643, -1.1597027778625488, -0.8087338805198669, -0.05751936510205269, -0.2881959080696106, -0.11711250245571136, 0.5167333483695984, -0.056512340903282166, 0.17998386919498444, 0.01800370216369629, -0.08748988062143326, 0.019094880670309067, -0.1809311956167221, 0.4976537227630615, -0.2801298201084137, 0.5320032835006714, 0.2926377058029175, -0.4602721631526947, 0.40942904353141785, -0.5654710531234741, 0.1219584122300148, -0.3671448826789856, 0.21163277328014374, -0.05603105574846268, 0.36446264386177063, 0.11862768232822418, 0.29826194047927856, 0.23375637829303741, -0.5483411550521851, -0.34330546855926514, -0.7896808385848999, 1.3899811506271362, 0.7310155034065247, -0.15311448276042938, 0.5271479487419128, -0.4670861065387726, 0.6006855368614197, -0.21841731667518616, 0.3134983777999878, -0.33589473366737366, -0.4667156934738159, -0.6476543545722961, -0.22106841206550598, -0.17857567965984344, 0.4512646198272705, -0.13632439076900482, 0.28055447340011597, 0.0739126205444336, -0.5553759932518005, -0.9592335820198059, -0.34975406527519226, 0.1514226645231247, 0.3512818515300751, 0.1863694041967392, -0.18683205544948578, -0.616901159286499, -1.1979097127914429, -0.44004586338996887, -0.27444031834602356, 0.05196196585893631, 0.21540121734142303, 0.17568057775497437, 0.05527028068900108, 0.7489529252052307, -0.14294394850730896, -0.09553917497396469, -0.081193707883358, 0.1337483823299408, 0.1567048281431198, 0.7804151773452759, 0.27042442560195923, -1.0714483261108398, -0.22666537761688232, 0.1306241750717163, -0.7214150428771973, 0.13755285739898682, -0.13220161199569702, 0.003330943873152137, 0.04714466258883476, 0.8393604159355164, -0.7385322451591492, 0.35140904784202576, 0.28900349140167236, 0.01901612989604473, 0.23015271127223969, -0.04107726365327835, 0.4609804153442383, -0.6983486413955688, -0.032055456191301346, -0.42060044407844543, -0.10517402738332748, -0.9119776487350464, 0.004033826757222414, -0.4802907109260559, -0.4972817897796631, -0.753809928894043, 0.5691251754760742, -0.5358591079711914, -0.14279785752296448, -0.2758403420448303, 0.3217863440513611, -0.16673628985881805, 0.3356727957725525, -0.3090035319328308, 0.7744712233543396, 0.7137791514396667, -0.5683318376541138, 0.48324087262153625, 0.3336721658706665, -0.02689920738339424, 0.6788719892501831, -0.8589922189712524, 0.39745578169822693, -0.19271954894065857, -0.18808907270431519, -0.8774558901786804, -0.37492311000823975, 0.0340004563331604, -0.8566731214523315, 0.09590950608253479, 0.2522655725479126, -0.105430006980896, -0.2698124349117279, -0.11072806268930435, 0.2773630917072296, 0.8075518012046814, -0.12465985119342804, 0.9434512257575989, 0.9071505069732666, -0.7943295240402222, -0.21901923418045044, -0.9955539703369141, 0.5269042253494263, -0.4883503317832947, -0.6903635263442993, 0.2850608825683594, -0.14783138036727905, -0.5714187622070312, -0.16635626554489136, 0.01969669945538044, 0.09483680129051208, 0.20131509006023407, 0.4755423665046692, -0.28562822937965393, 0.16250286996364594, 0.0669066309928894, 0.46845361590385437, -0.14922143518924713, 0.2471442073583603, 0.010994535870850086, 0.2501572370529175, -0.25359463691711426, -0.45918700098991394, -0.7001793384552002, 1.1468162536621094, 0.8817790746688843, -0.24374690651893616, 0.30378976464271545, 0.19190064072608948, -0.5316142439842224, -0.1549924612045288, -0.12417136877775192, -0.40635037422180176, -0.5012272000312805, 0.4468689262866974, -0.34032079577445984, -0.8185674548149109, 0.49979355931282043, -0.3807893693447113, 0.03873749449849129, 0.09787729382514954, 0.4661361575126648, -0.12859870493412018, 1.3335942029953003, 0.43890559673309326, 0.30012351274490356, 0.6849592924118042, 0.11447758972644806, 0.4442022442817688, -0.9061444997787476, -0.1258012056350708, -0.7128836512565613, -0.39155057072639465, -0.9564458131790161, -0.06270689517259598, 0.5850718021392822, -0.287341833114624, -0.35387560725212097, 0.044614892452955246, -0.8604686856269836, 0.3136031925678253, 0.7637946605682373, 0.12424056977033615, -0.029157966375350952, -0.08943253010511398, 0.5060877799987793, -0.10629795491695404, -0.3550567030906677, -0.7442154288291931, 0.8530459403991699, 0.1549631804227829, 0.3316602110862732, 0.255720853805542, 0.7211781144142151, 0.4770837128162384, 0.3641081154346466, -0.673568606376648, 0.6930155158042908, -0.17739237844944, -0.553610622882843, -0.26529374718666077, 0.15221989154815674, -0.9272441864013672, 0.17936226725578308, -0.2038578987121582, -0.6465421915054321, -0.07056191563606262, 0.2536703944206238, 0.04882321134209633, -0.03900892660021782, -0.7430950403213501, 0.6079104542732239, -0.22240068018436432, -0.5009958744049072, -0.3836725354194641, -1.054054856300354, -0.022329041734337807, 0.43002963066101074, 0.2888626754283905, -0.13479986786842346, -0.21537669003009796, 0.582243800163269, 0.030397864058613777, 0.8488417267799377, -0.03550038859248161, 0.09821833670139313, 0.3171333968639374, -0.19025713205337524, 0.318284273147583, -0.5127297043800354, -0.3141949474811554, -0.058466050773859024, -0.00245982245542109, -0.29124709963798523, -0.4802480638027191, 0.5293079614639282, -0.6138084530830383, -0.8721736073493958, -0.07832200080156326, -0.26340803503990173, -0.32116755843162537, 0.18737830221652985, 0.07552071660757065, 0.5478879809379578, -0.6672161221504211, -0.05524899810552597, 0.6610926389694214, -0.12467837333679199, 0.39470216631889343, -0.0340871587395668, -0.21386675536632538, -0.6027473211288452, 0.9320248365402222, -0.00967915914952755, 0.515458881855011, 0.20555147528648376, 0.23677973449230194, -0.3348199725151062, -0.37293392419815063, -0.39178478717803955, 0.17286130785942078, -0.8049263954162598, 0.11448340117931366, -0.5690440535545349, -0.0565071627497673, -0.6985921859741211, -0.3575294613838196, -0.33813291788101196, -0.8974459767341614, -0.40015557408332825, -0.37332025170326233, 0.1872551143169403, 1.0349491834640503, -0.3254985511302948, -0.029640385881066322, -0.5298008918762207, 0.3252049386501312, 0.33624646067619324, -0.26003697514533997, -0.167412668466568, -0.18585897982120514, 0.14896434545516968, 0.303478479385376, -0.28561556339263916, -0.9783216118812561, 0.4407770037651062, 0.3408759534358978, 0.7487471103668213, 0.002286014147102833, 0.026502633467316628, 0.3868950605392456, -0.5204527378082275, 1.1763150691986084, 0.17608128488063812, -1.3604803085327148, 0.8062511682510376, -0.25044405460357666, -0.045643046498298645, 0.3915686011314392, 0.16203425824642181, -0.7780338525772095, -0.7745240926742554, -0.842210590839386, -1.1470756530761719, 0.3087383210659027, 0.30216410756111145, 0.586456835269928, -0.010978290811181068, 0.02268778160214424, 0.23500721156597137, 0.49233466386795044, -0.3340893089771271, -0.23745357990264893, -0.14658914506435394, -0.40663355588912964, 0.14068566262722015, 0.16431398689746857, -0.6352309584617615, -0.2138952761888504, 0.5694524049758911, -0.142771914601326, 0.4906666874885559, 0.2052442729473114, 0.16445572674274445, 0.12133988738059998, 0.4307651221752167, 0.7182299494743347, 0.7262367010116577, 0.363996684551239, 0.14882610738277435, -0.2570222318172455, -0.008633716031908989, 0.2386517971754074, 0.0957978293299675, -0.15391281247138977, -0.029321517795324326, -0.01889333315193653, 0.8341019749641418, -0.31883737444877625, -0.8409105539321899, 0.33975833654403687, 0.20305147767066956, 0.07685461640357971, -0.5151570439338684, 0.10913977771997452, 0.17825689911842346, 0.24911248683929443, 0.1901879906654358, 0.3470098078250885, 0.3080548346042633, -0.9132421612739563, 0.1429993063211441, 0.5214962363243103, -0.4056813716888428, -0.4188748598098755, 0.8747226595878601, 0.5045339465141296, -0.7491062879562378, 0.4791114032268524, 0.07766135782003403, -0.4637250006198883, 0.678266704082489, 0.3496463894844055, 1.1449906826019287, -0.259007066488266, -0.026533253490924835, 0.10730410367250443, 0.33536481857299805, 0.16340579092502594, 0.47079911828041077, -0.3825054466724396, -0.4876580834388733, -0.23311573266983032, -0.30391326546669006, -0.7226542830467224, -0.4480455815792084, -0.7007060050964355, 0.033961277455091476, -0.2750261723995209, -0.16021235287189484, 0.20574958622455597, -0.5080465078353882, -0.36704152822494507, -0.004118054639548063, 0.3009438216686249, 0.5112733244895935, -0.8676491379737854, 0.26367828249931335, 0.7244716286659241, -0.36312034726142883, -0.527086079120636, -0.36791911721229553, -0.06489936262369156, -0.5696767568588257, 0.5813961625099182, 0.30451077222824097, -0.5124292373657227, 0.16371576488018036, -0.8531247973442078, -0.7263525724411011, 0.6226929426193237, 0.4201802909374237, -0.13864441215991974, 0.29680395126342773, 0.24448828399181366, 0.6196657419204712, -0.39983081817626953, 0.10246904194355011, 0.6307347416877747, 0.5836180448532104, -0.10002227872610092, -0.8455850481987, 0.03973166272044182, -0.39439189434051514, -0.06940530985593796, 0.18001416325569153, -0.7255591154098511, 0.6314595937728882, -0.2999832332134247, -0.46723809838294983, 0.35942748188972473, 1.0572147369384766, -0.17042477428913116, 0.41851484775543213, 0.1418893039226532, 0.20663593709468842, 0.7919549345970154, -0.19138607382774353, 0.7045939564704895, -0.13043706119060516, -0.27807822823524475, 0.7365053296089172, -0.43345415592193604, 0.7302741408348083, 0.6090019941329956, -0.22374337911605835, 0.20564015209674835, 0.22486957907676697, 0.572879433631897, 0.3262626528739929, 0.5600060224533081, -0.8030893802642822, -0.05219221115112305, -0.4557908773422241, -0.18643678724765778, 0.6216997504234314, 0.7806084752082825, -0.31159430742263794, 0.48010241985321045, 0.42087438702583313, -0.05714383348822594, 0.4459128975868225, -0.20524396002292633, 0.9396610856056213, -0.02554638497531414, -0.8947155475616455, 0.13097158074378967, -0.45353204011917114, 0.5543248653411865, -0.611518383026123, -0.31587767601013184, 0.04680037871003151, -0.20833829045295715, -0.1849922388792038, -0.7508217096328735, 0.5855579376220703, -0.3240981698036194, -0.026080327108502388, -0.7334004044532776, 0.6411269903182983, -0.44688087701797485, -0.13367325067520142, 0.0718349814414978, 0.5688507556915283, 0.29539546370506287, 0.10047291219234467, -0.5049338936805725, 0.36586204171180725, 0.06893536448478699, -0.09171481430530548, 0.044923875480890274, 0.33704283833503723, 0.12211743742227554, 0.7656735777854919, 0.5997300744056702, 0.4335537552833557, 0.13685911893844604, -0.15379895269870758, 0.9028225541114807, -0.8365452885627747, -0.5474211573600769, -0.5448786020278931, 0.6253829598426819, -0.211283341050148, -0.40388691425323486, 0.36774158477783203, 0.3665933609008789, 0.6204230785369873, 0.1406053602695465, 1.3071329593658447, -0.44388213753700256, 0.47176393866539, -0.4037008285522461, 0.467764675617218, -0.34006255865097046, -0.11386122554540634, -0.09536442905664444, -0.33826327323913574, -0.027540093287825584, 0.6024416089057922, 0.19976724684238434, -0.14540840685367584, 0.39800116419792175, 0.8983111381530762, 0.38597360253334045, 0.47518667578697205, 0.5329193472862244, 0.2957446575164795, 0.44218531250953674, 0.29638025164604187, 1.2035363912582397, -0.2554253041744232, 0.07503267377614975, -0.10358098894357681, -0.3561430871486664, 0.2659773826599121, -0.7587476968765259, -0.1771857887506485, -0.8278217315673828, -0.32982897758483887, -0.264737993478775, 0.14466749131679535, 0.9420996904373169, 0.8272134065628052, -0.5153723359107971, -0.42461779713630676, -0.1297774612903595, 0.16994155943393707, -0.5953956246376038, -0.19953297078609467, 0.09701447933912277, -0.3711259961128235, -1.312690258026123, 0.7047043442726135, 0.5852996110916138, 0.07755153626203537, -0.30398693680763245, 0.20362628996372223, 0.14842651784420013, 0.2974231541156769, 0.6940485835075378, 0.7672749161720276, -0.7490149736404419, -0.40616220235824585, -0.04915204644203186, 0.19940723478794098, 0.11477451026439667, 0.8958042860031128, -0.7591817378997803, 0.5343257784843445, 0.4008433520793915, 0.7596079707145691, 0.23396317660808563, -0.14933975040912628, 0.7621368765830994, -0.44100478291511536, 0.2931731045246124, 0.8425588607788086, 0.1753777712583542, 0.5006045699119568, -0.1899879276752472, 0.37287700176239014, -0.045303598046302795, -0.7198078036308289, -0.9178423285484314, 0.8195883631706238, -0.966315507888794, -0.21257494390010834, 0.8588683009147644, 0.2183002084493637, -0.24986979365348816, 0.1086985245347023, -0.447025865316391, 0.3052197992801666, -0.36312076449394226, 0.5461861491203308, 0.5561093688011169, -0.9718949198722839, 0.12511657178401947, -0.41617345809936523, 0.6645267605781555, 0.578279435634613, -1.231399416923523, 0.2614614963531494, 0.6094550490379333, -0.15321318805217743, 0.3601488471031189, 0.633508026599884, -0.31097355484962463, -0.005577157251536846, 0.15752221643924713, -0.11934501677751541, 0.13095492124557495, -0.20232915878295898, -0.21483056247234344, 0.20749591290950775, 0.043358154594898224, -0.26224398612976074 ]
http://arxiv.org/abs/2404.19360v1
http://arxiv.org/pdf/2404.19360v1
Large Language Model Informed Patent Image Retrieval
2024-04-30T08:45:16
2024-04-30T08:45:16
Hao-Cheng Lo, Jung-Mei Chu, Jieh Hsiang, Chun-Chieh Cho
cs.CV
cs.CV, cs.CL, cs.IR
In patent prosecution, image-based retrieval systems for identifying similarities between current patent images and prior art are pivotal to ensure the novelty and non-obviousness of patent applications. Despite their growing popularity in recent years, existing attempts, while effective at recognizing images within the same patent, fail to deliver practical value due to their limited generalizability in retrieving relevant prior art. Moreover, this task inherently involves the challenges posed by the abstract visual features of patent images, the skewed distribution of image classifications, and the semantic information of image descriptions. Therefore, we propose a language-informed, distribution-aware multimodal approach to patent image feature learning, which enriches the semantic understanding of patent image by integrating Large Language Models and improves the performance of underrepresented classes with our proposed distribution-aware contrastive losses. Extensive experiments on DeepPatent2 dataset show that our proposed method achieves state-of-the-art or comparable performance in image-based patent retrieval with mAP +53.3%, Recall@10 +41.8%, and MRR@10 +51.9%. Furthermore, through an in-depth user analysis, we explore our model in aiding patent professionals in their image retrieval efforts, highlighting the model's real-world applicability and effectiveness.
[ -0.04785293713212013, -0.354481041431427, 0.5976688861846924, 0.2216532826423645, -0.4894527494907379, -0.07376956939697266, -0.15595224499702454, -0.7647560238838196, 0.20682187378406525, 0.7232441902160645, 0.031226174905896187, -0.597581684589386, -0.8510447144508362, -0.41848114132881165, -0.20850224792957306, 0.37155860662460327, 0.19582194089889526, 0.0987180694937706, 0.007596761453896761, -0.26293423771858215, -0.45279186964035034, -0.39346885681152344, -0.21816810965538025, -0.38765186071395874, 0.5439730286598206, 0.2123202234506607, 0.5956717729568481, 0.4127555787563324, 0.6965644955635071, 0.34149491786956787, -0.36937132477760315, -0.12487780302762985, -0.17902664840221405, 0.026808353140950203, -0.325178861618042, -0.6091368198394775, -0.0949525237083435, -0.05276858061552048, 0.33156323432922363, 0.5062748193740845, -0.09394966810941696, -0.06821731477975845, -0.18178588151931763, 0.34892332553863525, -0.8037664294242859, 0.3859921097755432, -0.9483862519264221, 0.23219509422779083, -0.14761090278625488, -0.22782212495803833, -0.6963935494422913, 0.1813630610704422, 0.36722517013549805, -0.7391803860664368, 0.5137618780136108, 0.18641653656959534, 0.7815884947776794, -0.0931144505739212, -0.5264233350753784, -0.303768515586853, -0.3658933937549591, 0.736266016960144, -0.4612361788749695, 0.38547641038894653, 0.1670108288526535, 0.37696462869644165, -0.15343214571475983, -1.0775374174118042, -0.8065128326416016, -0.28170591592788696, -0.058919068425893784, -0.05344870314002037, -0.15122917294502258, 0.025159234181046486, 0.2432740032672882, 0.23757663369178772, -0.6171218156814575, 0.2534542977809906, -0.41373568773269653, -0.3300454020500183, 0.3003164529800415, -0.34454432129859924, 0.3128921091556549, -0.24595694243907928, -0.5680944323539734, -0.4363941252231598, -0.8950702548027039, -0.13507463037967682, 0.1517592966556549, 0.2465977668762207, 0.12985679507255554, 0.6042826771736145, -0.12301243096590042, 0.31165581941604614, -0.21193364262580872, -0.03284493833780289, 0.47878533601760864, -0.08843446522951126, -0.10142602771520615, -0.004965116269886494, 0.7230903506278992, 0.2566940486431122, -0.009378715418279171, 0.07695462554693222, -0.47553449869155884, -0.20849838852882385, -0.21490028500556946, -1.1113550662994385, -0.415492445230484, -0.027645302936434746, -0.8127266764640808, 0.11812072992324829, 0.27227848768234253, -0.7991445660591125, -1.0510233640670776, -0.12723848223686218, 0.7152963280677795, -0.45093175768852234, -0.4502143859863281, 0.25612831115722656, -0.5333734154701233, 0.1545896977186203, 0.31545138359069824, -0.8429027199745178, -0.27381667494773865, 0.8839606046676636, 0.7449022531509399, 0.47198396921157837, -0.13176797330379486, -0.5119640827178955, 0.2134707272052765, -0.31356650590896606, 0.9192739725112915, -0.6784469485282898, -0.48890987038612366, -0.11930525302886963, 0.12955544888973236, -0.08091872185468674, -0.8891313076019287, 0.3446102738380432, -0.9002280235290527, -0.012258384376764297, -0.14631283283233643, -0.3122059106826782, -0.20236283540725708, 0.0527629517018795, -0.7955400347709656, 0.2896837294101715, -0.45539283752441406, -0.786496102809906, 0.85724937915802, -0.6276841759681702, -0.5688502192497253, 0.21944668889045715, -0.3762839436531067, -0.49888432025909424, 0.28600233793258667, 0.3733893036842346, 0.5409283638000488, -0.1738341748714447, 0.3340620994567871, -0.6213688254356384, -0.10886985063552856, 0.0830274373292923, -0.2010975331068039, 0.6536564230918884, 0.38569703698158264, -0.21107743680477142, 0.07583323866128922, -0.6436358690261841, -0.20690950751304626, 0.3032635748386383, 0.006304593291133642, -0.686130940914154, -0.04249788448214531, -0.04269072040915489, 0.3764672875404358, 0.401446133852005, -0.8452574014663696, 0.036908503621816635, -0.36525383591651917, 0.4251849353313446, 0.6756459474563599, 0.0027703610248863697, 0.4245430827140808, 0.17449137568473816, 0.36730054020881653, 0.21547949314117432, 0.36035481095314026, -0.5170581340789795, -0.692897379398346, -0.4599228501319885, -0.7297941446304321, 0.4393584132194519, 0.4221959114074707, -0.7976563572883606, 0.29865404963493347, -0.45074063539505005, -0.3317507803440094, -0.6900863647460938, 0.25786519050598145, 0.42498040199279785, 0.533159077167511, 0.2132008969783783, -0.6192265748977661, -0.203008234500885, -1.1718679666519165, 0.03533055633306503, -0.032117486000061035, -0.08855345100164413, 0.7197517156600952, 0.6964018940925598, -0.2630195617675781, 0.7276545763015747, -0.7719255089759827, -0.45991259813308716, -0.21047762036323547, 0.5878097414970398, 0.5105957388877869, 0.38012146949768066, 0.4570463001728058, -1.1996549367904663, -0.44924765825271606, 0.4656202793121338, -0.4935760498046875, 0.11691517382860184, 0.14800170063972473, 0.04553225636482239, -0.03265708312392235, 0.37385445833206177, -0.9197508096694946, 0.5144510865211487, 0.13527211546897888, -0.22946946322917938, 0.24019290506839752, -0.5956538915634155, 0.2870814800262451, -1.1511859893798828, 0.3970589339733124, 0.24479785561561584, 0.09759664535522461, -0.14120222628116608, 0.10835911333560944, 0.6107800602912903, -0.48569485545158386, -0.5327539443969727, 0.7515584230422974, -0.5608211159706116, -0.14020897448062897, -0.1957981139421463, -0.07736589759588242, 0.41690829396247864, -0.014124440029263496, 0.1500502973794937, 0.8625102043151855, 0.7236497402191162, -0.24758972227573395, 0.30184265971183777, 0.10688824206590652, -0.7172060608863831, 0.6485196948051453, -0.7327736616134644, 0.021361714228987694, -0.4057236909866333, 0.2171579897403717, -0.88407301902771, -0.1912873089313507, -0.057302940636873245, -0.11182374507188797, 0.692118763923645, -0.4086998999118805, -0.8907265663146973, -0.4032481610774994, -0.2124052494764328, 0.12543107569217682, 0.35045337677001953, -0.9246833920478821, 0.6638877987861633, 0.4333895742893219, -0.42889323830604553, -0.9097545146942139, -0.594315767288208, 0.2589817941188812, -0.18305766582489014, -0.768003523349762, 0.5398764610290527, 0.17431439459323883, -0.021694757044315338, 0.12184470146894455, 0.2430737018585205, -0.4054485261440277, -0.10180391371250153, 0.22053562104701996, 0.2151191085577011, -0.1890251785516739, 0.4744061827659607, -0.09966393560171127, -0.0810973197221756, -0.25313225388526917, -0.19696249067783356, 0.33145615458488464, 0.34326133131980896, -0.505304753780365, -0.40433865785598755, 0.42586466670036316, 0.5923510193824768, -0.44101712107658386, 0.4983106553554535, 0.5233216285705566, -0.15895229578018188, -0.35894501209259033, -0.5659347176551819, -0.08757620304822922, -0.5434245467185974, 0.585761308670044, -0.5682168006896973, -0.7203003764152527, 0.6025215983390808, -0.23574382066726685, -0.374412477016449, 0.4486856460571289, 0.279177188873291, 0.02655620314180851, 0.9312160611152649, 0.9499930143356323, -0.05176423862576485, 0.6019688844680786, -0.45514246821403503, 0.6880912184715271, -0.6483874917030334, -0.570470929145813, -0.46180835366249084, -0.27518323063850403, -0.1711094230413437, -0.4483586549758911, 0.17137333750724792, 0.02086973935365677, 0.02881115861237049, 0.3368481695652008, -0.553753137588501, 0.640855610370636, 0.8397036194801331, 0.3070095479488373, 0.19392766058444977, 0.20935040712356567, -0.43485525250434875, -0.03620145469903946, -0.3610462248325348, -0.19166819751262665, 1.0957378149032593, 0.42098432779312134, 1.105110764503479, 0.03703435882925987, 0.5250841975212097, 0.14602835476398468, 0.19705753028392792, -0.7655805349349976, 0.5079472064971924, -0.4793547987937927, -0.635055661201477, 0.09856536239385605, -0.23990978300571442, -1.0071927309036255, 0.3218437731266022, -0.17385055124759674, -0.5850675702095032, 0.7715467214584351, 0.21933574974536896, -0.21048492193222046, 0.03747069463133812, -1.1761709451675415, 0.8685957193374634, -0.4249362647533417, -0.25623828172683716, -0.681459367275238, -0.6630499958992004, 0.25655415654182434, -0.26101452112197876, 0.047268837690353394, -0.010973935015499592, 0.14315766096115112, 0.39269810914993286, -0.2665160596370697, 0.9096629619598389, -0.40826067328453064, 0.04169159382581711, -0.027361717075109482, -0.138042613863945, 0.27124160528182983, -0.23448477685451508, -0.175169438123703, -0.10040536522865295, -0.17752623558044434, -0.16157059371471405, -0.7786809802055359, 0.801386833190918, -0.3337615430355072, -0.6148772239685059, -0.11203580349683762, -0.44179385900497437, 0.1741449236869812, 0.3582612872123718, 0.1938973218202591, 0.3261358141899109, 0.13361844420433044, 0.47753816843032837, 0.6975051164627075, -0.6374971866607666, 0.2279490828514099, 0.5318431854248047, 0.015014320611953735, -0.5104775428771973, 1.0053677558898926, 0.20085595548152924, -0.1471072882413864, 0.5932812690734863, 0.22372618317604065, -0.8498626947402954, -0.6634103059768677, -0.2080826461315155, 0.3763774335384369, -1.2511411905288696, -0.19111545383930206, -0.6335392594337463, 0.08644179254770279, -0.5911623239517212, 0.13591793179512024, -0.21163281798362732, -0.3630583584308624, -0.29154476523399353, 0.1075243204832077, 0.30964142084121704, 0.6696409583091736, 0.20895572006702423, 0.1665201187133789, -0.47303637862205505, 0.22669562697410583, 0.5261693000793457, 0.736047625541687, 0.005892719607800245, -0.5071035027503967, -0.02008673921227455, -0.17918996512889862, -0.39395660161972046, -0.4339718520641327, 0.3451787233352661, 0.43998658657073975, 0.8210482597351074, 0.5933993458747864, -0.06634248793125153, 0.5928981304168701, -0.5963676571846008, 0.6377229690551758, 0.40406128764152527, -0.6579669713973999, 0.7341999411582947, 0.1341407299041748, -0.05563492700457573, 0.10296716541051865, 0.23842859268188477, -0.10729093104600906, 0.028509212657809258, -0.47112026810646057, -1.1236425638198853, 0.2786572277545929, -0.30966636538505554, 0.5359051823616028, 0.032126471400260925, 0.025916455313563347, 0.07535755634307861, 0.16974684596061707, -0.769578218460083, 0.3792872130870819, -0.22911633551120758, -0.2839404046535492, 0.1340683251619339, -0.3193419575691223, -0.22230860590934753, -0.14641767740249634, 0.4920055568218231, -0.0861235111951828, 0.1622001975774765, 0.19151683151721954, -0.37248921394348145, 0.3241516649723053, 0.4227884113788605, 0.6235653162002563, 0.5825454592704773, -0.2304929494857788, 0.35489773750305176, -0.46033844351768494, -0.44581159949302673, -0.09742226451635361, 0.5111790895462036, 0.20834322273731232, 0.02636309340596199, 0.24801374971866608, 0.8290080428123474, -0.09396044909954071, -0.8564345240592957, 0.9301448464393616, 0.04357867315411568, -0.29725146293640137, 0.089044488966465, -0.14083027839660645, -0.05519050359725952, 0.6529314517974854, 0.690129816532135, -0.03766413778066635, 0.4981946349143982, -0.29620587825775146, 0.45477598905563354, 0.8030992150306702, -0.18681590259075165, -0.2153729498386383, 0.5106166005134583, 0.11217314004898071, 0.06872275471687317, 0.31823301315307617, -0.08560235798358917, -0.3868779242038727, 0.7894774079322815, 0.627067506313324, 0.812171220779419, 0.06979070603847504, 0.2226078361272812, 0.0006597934989258647, 0.3155383765697479, -0.31892576813697815, 0.10061496496200562, -0.027898501604795456, -0.5987722873687744, -0.30146950483322144, -0.2722700536251068, -0.2667958736419678, 0.08302441984415054, 0.07081519067287445, 0.36535051465034485, -0.5151694416999817, -0.39583179354667664, 0.298918217420578, -0.3677769899368286, -0.6361160278320312, 0.032888296991586685, 0.1538383811712265, 0.8520153164863586, -0.8103132843971252, 0.8062402606010437, 0.5868536829948425, -0.5602191090583801, -0.6266432404518127, -0.19042624533176422, -0.28510984778404236, -0.8008154034614563, 1.329496145248413, 0.3313711881637573, -0.0623907595872879, -0.24115286767482758, -0.5691888928413391, -0.6475709676742554, 1.2512356042861938, 0.48856866359710693, -0.3969916105270386, 0.5043635964393616, -0.057309675961732864, 0.5591890215873718, -0.4506368637084961, 0.20864088833332062, -0.1797405630350113, 0.11482544243335724, 0.6537142395973206, -0.961171567440033, -0.017101453617215157, -0.4827202260494232, 0.35472503304481506, 0.08169388025999069, -0.1856391280889511, 0.7884273529052734, -0.4548053443431854, -0.29676908254623413, 0.07820753753185272, 0.3151084780693054, 0.18197044730186462, 0.5207912921905518, 0.40408840775489807, 0.7326045632362366, 0.6064714193344116, 0.17670050263404846, 1.0812487602233887, -0.29558631777763367, 0.3723006248474121, 0.9408147931098938, -0.6187642216682434, 1.1439324617385864, 0.5108293890953064, 0.22740325331687927, 0.21380256116390228, 0.2991154193878174, -0.3082515001296997, 0.8819511532783508, 0.04621965438127518, -0.4462326467037201, -0.1063101515173912, -0.49780285358428955, -0.3698692321777344, 0.16192157566547394, 0.3556355834007263, -0.9872568845748901, -0.1907154619693756, 0.17262676358222961, -0.35576173663139343, -0.07326250523328781, 0.03630053251981735, 0.6233709454536438, 0.1154308170080185, -0.13573600351810455, 0.4617809057235718, -0.16668877005577087, 0.7868282198905945, -0.34870684146881104, -0.17266537249088287, -0.01748344860970974, 0.42303818464279175, 0.007354299537837505, -1.036145567893982, -0.14414827525615692, -0.24601995944976807, -0.21685579419136047, -0.020531048998236656, 0.806896448135376, -0.42409977316856384, -0.3651103675365448, 0.45491087436676025, 0.07170294225215912, -0.08536653965711594, -0.1054229736328125, -0.7347914576530457, -0.11506596207618713, -0.27696409821510315, -0.13542817533016205, 0.2030671387910843, 0.6394265294075012, -0.16494964063167572, 0.9365763664245605, 0.6187761425971985, 0.15256907045841217, 0.07464440912008286, 0.2926274836063385, 0.9253758788108826, -0.23182696104049683, -0.45409637689590454, -0.4340561628341675, 0.577628493309021, -0.5069642663002014, -0.03045564889907837, 0.14247223734855652, 0.5320038199424744, 0.5786004662513733, -0.45046940445899963, 0.6836751699447632, 0.08226896822452545, 0.31921568512916565, -0.4667344093322754, 0.8776489496231079, -0.5656952857971191, 0.35217729210853577, -0.33803266286849976, -0.6347724795341492, -0.7833982706069946, 0.5893931984901428, -0.4652276039123535, -0.17297004163265228, 0.40344613790512085, 1.3609766960144043, -0.5651516914367676, -0.42727911472320557, 0.379661500453949, 0.05786177143454552, 0.6002054810523987, 0.13092473149299622, 0.682601809501648, -0.3331565856933594, 0.5576750040054321, -0.2952878773212433, -0.22449974715709686, -0.18156935274600983, -0.9073846936225891, -0.5997080206871033, -0.5653823018074036, -0.2428574413061142, -0.009615805000066757, -0.05496736243367195, 0.8214466571807861, 0.9897753000259399, -0.7222119569778442, 0.14390212297439575, 0.17747780680656433, -0.006356200203299522, 0.35853347182273865, -0.20116165280342102, 0.4534080922603607, -0.20756976306438446, -0.4060179889202118, 0.11965779960155487, 0.5746942162513733, 0.1433538794517517, 0.04857708141207695, 0.05091262236237526, -0.07764754444360733, -0.24561689794063568, 0.849723219871521, 0.2756444811820984, -0.8375148773193359, -0.1528553068637848, 0.05545475333929062, -0.20928166806697845, 0.08659779280424118, 0.8504313230514526, -0.45638707280158997, 0.8837116956710815, 0.7233288288116455, 0.747918963432312, 0.34080058336257935, -0.21452175080776215, 0.35433506965637207, -0.7924770712852478, 0.7989516854286194, 0.2655841112136841, 0.7672309279441833, 0.41969117522239685, -0.3755100667476654, 0.0535176545381546, 0.47051525115966797, -0.3786398470401764, -0.43704938888549805, 0.22654597461223602, -0.9246806502342224, -0.5876897573471069, 0.8096194863319397, -0.3479600250720978, -0.17087295651435852, -0.04082050547003746, -0.3491894006729126, -0.20208410918712616, -0.5609070062637329, 0.8961555361747742, 0.45838016271591187, 0.3084343373775482, -0.6919988989830017, -0.40888354182243347, 0.0036740312352776527, 0.23590277135372162, -0.39424389600753784, -0.048060014843940735, 0.6331579089164734, 0.2698451280593872, 0.4085681140422821, 0.5290375351905823, -0.4509689211845398, 0.09455500543117523, -0.14230598509311676, 0.5238038301467896, 0.1752183735370636, -0.37106725573539734, -0.24681557714939117, 0.3532074987888336, 0.5227439999580383, -0.34206336736679077 ]
http://arxiv.org/abs/2404.19359v1
http://arxiv.org/pdf/2404.19359v1
Evaluating Lexicon Incorporation for Depression Symptom Estimation
2024-04-30T08:41:06
2024-04-30T08:41:06
Kirill Milintsevich, Gaël Dias, Kairit Sirts
cs.CL
cs.CL, cs.AI
This paper explores the impact of incorporating sentiment, emotion, and domain-specific lexicons into a transformer-based model for depression symptom estimation. Lexicon information is added by marking the words in the input transcripts of patient-therapist conversations as well as in social media posts. Overall results show that the introduction of external knowledge within pre-trained language models can be beneficial for prediction performance, while different lexicons show distinct behaviours depending on the targeted task. Additionally, new state-of-the-art results are obtained for the estimation of depression level over patient-therapist interviews.
[ -0.49773064255714417, -0.4176463186740875, 0.8633925318717957, 0.2833012640476227, -0.19208712875843048, -0.289078027009964, -0.25048643350601196, -0.5022801160812378, 0.6309669613838196, 0.09503208100795746, -0.4328160583972931, -0.5526454448699951, -1.1090373992919922, 0.4033966064453125, -0.3336814045906067, 0.9715200662612915, 0.04118695110082626, 0.35596564412117004, -0.37024420499801636, 0.3945143222808838, -0.5969146490097046, -0.7191699743270874, -0.56675785779953, -0.125934436917305, 0.3280799984931946, 0.08216504752635956, 0.9037076234817505, -0.2492072582244873, 0.5145894289016724, 0.3336697518825531, -0.568466067314148, -0.1433395892381668, -0.26301202178001404, -0.05719193443655968, -0.3996225595474243, -0.6906029582023621, -0.44570329785346985, 0.08470294624567032, 0.23611950874328613, 0.7278558015823364, -0.0939682200551033, -0.11340125650167465, 0.36902618408203125, 0.10848449915647507, -0.8757550716400146, 0.1308666616678238, -0.14271214604377747, 0.29316210746765137, 0.296489417552948, 0.14230011403560638, -0.09637901186943054, -0.39524751901626587, 0.36504697799682617, -0.1054416298866272, 0.17940901219844818, -0.7008190751075745, 0.8103286027908325, 0.3166366219520569, -0.32828283309936523, -0.7238690853118896, -0.7521657347679138, 0.6041086316108704, -0.772523045539856, 0.3655027747154236, 0.4645741581916809, 0.14426930248737335, 0.1293608546257019, -0.812587559223175, -0.3039337694644928, -0.032715555280447006, -0.5907147526741028, 0.44171392917633057, -0.36228784918785095, 0.1334848254919052, 0.11439953744411469, 0.6729412078857422, -0.04723040387034416, -0.20052175223827362, -0.2219184935092926, 0.012626753188669682, 0.45286476612091064, 0.2580209970474243, 0.5010517835617065, -0.7389895915985107, 0.04866659268736839, 0.2503988444805145, 0.05529732629656792, 0.05446534976363182, -0.03522857651114464, 0.24847306311130524, -0.29597464203834534, 0.623831033706665, 0.07347972691059113, 0.37354883551597595, 0.0800950676202774, -0.21511892974376678, 0.13171498477458954, -0.3215360641479492, -0.1286374181509018, 0.030952097848057747, 0.7605152130126953, 0.4742906391620636, 0.016533315181732178, -0.15136325359344482, -0.22489431500434875, 0.5390122532844543, 0.6428700089454651, -0.6695367693901062, -0.603232204914093, 0.27268126606941223, -0.3686574101448059, -0.1540454477071762, 0.007549647241830826, -1.3162784576416016, -0.8242231011390686, -0.3035549819469452, 0.38818126916885376, -0.47896483540534973, -0.5586180090904236, 0.022982681170105934, -0.4743562936782837, -0.16267473995685577, 0.22906096279621124, -0.515510618686676, 0.41759610176086426, 0.7369205355644226, 0.9967233538627625, -0.005780922714620829, 0.22590403258800507, -0.3127765357494354, -0.2389950305223465, -0.2868095636367798, 1.0006704330444336, -0.4759998023509979, -0.7803656458854675, 0.3278913199901581, 0.2155972123146057, -0.21901986002922058, -0.4305554926395416, 0.6277333498001099, 0.059202734380960464, 0.4704294204711914, 0.039784397929906845, -0.8344882130622864, 0.13081826269626617, 0.04171158745884895, -0.7437661290168762, 0.8892769813537598, 0.6204703450202942, -1.0622142553329468, 0.05168921500444412, -0.4386642575263977, -0.37126535177230835, 0.043983444571495056, 0.0881095752120018, -0.040722981095314026, 0.7019676566123962, 0.15629124641418457, 0.5973055362701416, -0.17511671781539917, 0.056743886321783066, -0.10897218436002731, -0.017512980848550797, 0.6107511520385742, 0.17413346469402313, 0.4663216173648834, 0.12168829888105392, 0.006004034541547298, -0.24789291620254517, -0.47458505630493164, -0.3959498107433319, -0.15283143520355225, -0.056883804500103, -0.760390043258667, 0.07695192098617554, -0.13773655891418457, 0.23027600347995758, 0.26055967807769775, -0.4464600384235382, -0.22688116133213043, -0.6631901860237122, 0.10600113123655319, 0.40833333134651184, 0.34019437432289124, 0.2891850173473358, 0.09034940600395203, 0.9267882108688354, 0.22846946120262146, 0.3978636562824249, 0.1118372306227684, -0.6135006546974182, -0.42289188504219055, -0.3872973322868347, 0.2617446780204773, 0.3767361640930176, -0.40360376238822937, 0.5292510986328125, -0.18086616694927216, -0.6922123432159424, -0.42626717686653137, -0.020841654390096664, 0.17250476777553558, 0.22439391911029816, 0.4055768847465515, -0.36794573068618774, -0.6074517369270325, -0.43716806173324585, -0.3674696385860443, 0.02998645231127739, -0.05613630264997482, 0.24239787459373474, 0.26099902391433716, -0.5334508419036865, 0.7584180235862732, -0.9306633472442627, -0.19309045374393463, -0.6468894481658936, 0.09803751111030579, 0.34683650732040405, 0.17413051426410675, 0.4688754975795746, -0.36277738213539124, -0.535783588886261, -0.16101080179214478, -0.42776328325271606, -0.03155951574444771, 0.027187999337911606, -0.2285638451576233, -0.020933015272021294, 0.23768141865730286, -0.7023346424102783, 0.7587331533432007, 0.8163004517555237, -0.6848966479301453, 0.5687834024429321, 0.04313237965106964, 0.06422185152769089, -1.4832686185836792, -0.3355824053287506, 0.46577882766723633, -0.10088618099689484, -0.622096836566925, -0.45309197902679443, 0.020219802856445312, -0.18558019399642944, -0.3313608765602112, 0.2988647222518921, -0.1887209266424179, 0.13715171813964844, -0.3156341314315796, 0.3445568382740021, 0.13864335417747498, 0.008015953935682774, 0.0656379982829094, 0.4408488869667053, 0.7977177500724792, -0.5790123343467712, 0.32209616899490356, 0.4133502244949341, -0.5400025248527527, 0.6011422276496887, -0.3672734200954437, -0.2428397834300995, -0.3201158046722412, -0.007383025251328945, -0.9843720197677612, -0.12910129129886627, 0.2453993260860443, -0.42023372650146484, 0.19272546470165253, 0.06847573071718216, -0.1091359555721283, -0.4419270157814026, 0.024788664653897285, 0.1936543732881546, 0.4863641560077667, -0.19123780727386475, 0.6398473381996155, 0.4160463511943817, -0.2154189944267273, -0.02959221415221691, -0.689956784248352, 0.217610165476799, -0.4536678194999695, -0.14094802737236023, 0.5856462121009827, 0.10506660491228104, -0.39676716923713684, 0.11182399839162827, -0.023961206898093224, -0.15762172639369965, -0.026213234290480614, 0.4000849425792694, 0.13017314672470093, 0.043196652084589005, 0.44485563039779663, 0.06990710645914078, -0.07528193295001984, 0.44112923741340637, 0.4160764813423157, 0.643120288848877, 0.09859330952167511, 0.11596671491861343, -0.7337347269058228, 0.43074291944503784, 0.3384430706501007, 0.1663365513086319, 0.9945039749145508, 0.28444528579711914, -0.45454418659210205, -0.20267613232135773, -0.3068118095397949, -0.31370729207992554, -0.3754611909389496, 0.18519748747348785, -0.3679031431674957, -0.43812528252601624, 0.3684413433074951, -0.5192334055900574, -0.6451662182807922, 0.36456233263015747, 0.3514738082885742, -0.0180608369410038, 1.281150221824646, 0.709193229675293, 0.08089148998260498, 0.7003777623176575, -0.3032741844654083, 0.5152391791343689, -0.7913265228271484, 0.05247800052165985, -0.5255486965179443, -0.20113687217235565, -0.6236022710800171, -0.3163731098175049, 0.28779253363609314, 0.28965213894844055, 0.15970556437969208, 0.5665332078933716, -0.44272276759147644, -0.22951528429985046, 0.09370994567871094, 0.44609227776527405, 0.12182915955781937, -0.4305134117603302, -0.010515928268432617, -0.3556801378726959, -0.5918421745300293, -0.18984928727149963, 0.898348331451416, 0.48145943880081177, 0.6781688332557678, 0.05609211325645447, 0.7475062012672424, 0.2667953372001648, 0.6213241219520569, -1.2239315509796143, 0.320536345243454, -0.22757460176944733, -0.14375963807106018, 0.05184430629014969, -0.25041553378105164, -0.747391939163208, -0.10348744690418243, -0.10902004688978195, -0.7910191416740417, 0.4760323464870453, -0.20667366683483124, -0.5676249265670776, -0.1473148614168167, -0.8189144134521484, 0.9474368095397949, -0.1466190069913864, 0.5318986177444458, -0.4994082748889923, -0.21997302770614624, 0.2730100750923157, -0.1506538987159729, 0.44451257586479187, -0.19584760069847107, -0.04303254932165146, 0.7455069422721863, -0.653914213180542, 0.8728609681129456, -0.17525342106819153, -0.35153499245643616, 0.2312769889831543, 0.04679363593459129, 0.3015969395637512, 0.19311600923538208, -0.07398423552513123, 0.22203029692173004, 0.48149779438972473, 0.008625270798802376, -0.9299699068069458, 0.4922384023666382, -0.8878504037857056, -0.6737598776817322, -0.3150672912597656, -0.3512006998062134, -0.5523582100868225, -0.26448237895965576, 0.16924887895584106, 0.44137927889823914, -0.3527901768684387, -0.12627722322940826, 0.19873444736003876, -0.522191047668457, 0.13180014491081238, 0.2942253351211548, -0.2720746397972107, -0.7761382460594177, 0.46593087911605835, 0.068839892745018, 0.2682676315307617, 0.1425722986459732, 0.6294664740562439, 0.009272348135709763, 0.13748277723789215, 0.31507906317710876, 0.5888928771018982, -0.9149677753448486, -0.3131881356239319, -0.6823286414146423, -0.2713918685913086, -0.6971650719642639, -0.06753972917795181, -0.46447357535362244, -0.36732953786849976, -0.5638984441757202, -0.32377442717552185, 0.49727654457092285, 0.754071056842804, -0.24833635985851288, 0.5758159756660461, -0.970282256603241, 0.23852278292179108, 0.03854188695549965, 0.4762513041496277, -0.0999041497707367, -0.6442388892173767, -0.5791372656822205, 0.037502508610486984, -0.16285842657089233, -1.3223263025283813, 0.7403991222381592, 0.14925377070903778, 0.36313939094543457, 0.5642223358154297, 0.1010897234082222, 0.6673539280891418, -0.24046891927719116, 0.994866669178009, 0.6246250867843628, -1.3080592155456543, 0.9414785504341125, 0.3082296848297119, 0.2768559157848358, 0.34729886054992676, 0.9666008949279785, -0.9060984253883362, -0.5466285347938538, -0.6994745135307312, -0.5067458748817444, 0.6278006434440613, -0.12820696830749512, 0.3889862895011902, -0.47888657450675964, 0.40557581186294556, 0.009908086620271206, -0.2487305849790573, -0.43620219826698303, -0.18945232033729553, -0.4096624553203583, -0.4250068664550781, -0.3155837059020996, -0.6451238393783569, -0.11595549434423447, -0.5353149175643921, 0.47264742851257324, 0.1467723697423935, 0.6842072606086731, 0.3437172472476959, -0.11824192106723785, -0.00405914569273591, 0.050246722996234894, 0.10077071189880371, 0.5750781297683716, -0.10446462035179138, 0.2975183129310608, 0.228276789188385, -0.3445720076560974, -0.2842507064342499, 0.053691159933805466, 0.28819888830184937, 0.7116020917892456, 0.20754684507846832, 0.7885175943374634, 0.40574267506599426, -0.595285952091217, 0.7211388945579529, -0.1386738419532776, -0.13773249089717865, -0.47247427701950073, -0.015655560418963432, 0.17447422444820404, 0.3893827497959137, -0.17536261677742004, -0.14329198002815247, 0.30010101199150085, -0.530447781085968, 0.017275596037507057, 0.35129156708717346, -0.9223155975341797, -0.6897507905960083, 0.22253917157649994, 0.05172916501760483, -0.3860674798488617, 0.33135104179382324, 0.26515910029411316, -0.6297257542610168, 0.3602817952632904, 0.49356749653816223, 0.9395118355751038, -0.6881877779960632, 0.4436982572078705, 0.5371652245521545, -0.13202577829360962, -0.2253352254629135, 0.4195452928543091, 0.1217992976307869, -0.9308304190635681, -0.26005819439888, -0.7849730253219604, -0.2184847593307495, -0.12506046891212463, -0.7512679696083069, 0.5737136006355286, -0.2010391503572464, -0.7946637868881226, -0.034794580191373825, -0.29151931405067444, -0.8406020402908325, 0.4535617530345917, 0.5179677605628967, 0.8708168864250183, -0.9032096266746521, 0.49788495898246765, 0.9250553250312805, -0.592693567276001, -0.6880373358726501, 0.1792236715555191, -0.1214047446846962, -0.43915674090385437, 0.4863855838775635, 0.319728285074234, 0.25719818472862244, -0.08138119429349899, -0.07791805267333984, -1.2850104570388794, 0.8664966225624084, 0.1733860820531845, 0.004995947238057852, -0.1797855943441391, 0.41813933849334717, 0.7625830173492432, -0.23974788188934326, 0.47943341732025146, 0.5746627449989319, 0.29102063179016113, -0.18516406416893005, -0.9184814095497131, 0.07892241328954697, -0.2645457983016968, 0.3104792535305023, 0.22006645798683167, -0.09021929651498795, 0.6729971170425415, 0.27886539697647095, -0.7271683216094971, -0.18272919952869415, 0.5269568562507629, -0.49265700578689575, -0.270205020904541, 0.6713051199913025, 0.6576681733131409, 0.6249899864196777, 0.13503433763980865, 1.3338959217071533, -0.8975613117218018, 0.45511019229888916, 0.7905268669128418, 0.1144871637225151, 0.6506684422492981, 0.4010912775993347, -0.373407781124115, 1.025307536125183, 0.49184828996658325, 0.18893080949783325, 0.6469150185585022, 0.050276998430490494, -0.5829834342002869, -0.08224734663963318, -0.515299379825592, -0.2375747412443161, 0.3354465067386627, 0.8374694585800171, -0.8219329714775085, -0.2414073646068573, 0.2280280739068985, 0.11320746690034866, -0.09429359436035156, -0.40054938197135925, 1.105567216873169, 0.5343924760818481, -0.6429821848869324, 0.49941104650497437, -0.05701470002532005, 0.5079762935638428, -0.2216564565896988, 0.27185970544815063, -0.29570379853248596, 0.3171243965625763, -0.36942774057388306, -0.7205250263214111, 0.8084576725959778, 0.17084893584251404, 0.0008808614802546799, -0.0027300564106553793, 0.6797821521759033, -0.2509322166442871, -0.6757397055625916, 0.5913986563682556, 0.786483108997345, 0.2507341206073761, -0.3926355540752411, -0.35436543822288513, -0.2598915100097656, -0.35293886065483093, -0.3319653868675232, 0.4012329578399658, 0.7573791146278381, 0.339814156293869, 0.2752819061279297, 0.035041362047195435, 0.27698108553886414, -0.26268908381462097, 0.34708622097969055, 0.8797881603240967, -0.7366671562194824, -0.47847241163253784, -0.7529109716415405, 0.6759732365608215, -0.07748062908649445, -0.407087504863739, 0.704280436038971, 0.04250099137425423, 0.47700485587120056, -0.21758529543876648, 0.8588589429855347, -0.2037142515182495, 0.5958525538444519, 0.001728799077682197, 0.34155380725860596, -0.5252002477645874, -0.23378020524978638, -0.5923841595649719, -0.6743585467338562, -0.1873490959405899, 0.48861467838287354, -0.6482569575309753, -0.3223498463630676, 0.9590225219726562, 0.6100893020629883, 0.19252905249595642, 0.24749918282032013, 0.2591438889503479, 0.10037875175476074, 0.12285804748535156, 0.37197059392929077, 0.9658083319664001, -0.36240309476852417, 0.304054856300354, -0.8122999668121338, -0.2801254093647003, -0.035357143729925156, -0.5904052257537842, -0.7231602668762207, -0.4670458734035492, -0.5583798885345459, -0.5394733548164368, -0.24285487830638885, 0.8453196287155151, 0.06329438835382462, -0.9318539500236511, -0.3032401502132416, -0.03557460755109787, 0.13801828026771545, -0.42080554366111755, -0.323439359664917, 0.24952860176563263, -0.642098605632782, -0.7889050245285034, 0.005822258535772562, -0.13999690115451813, -0.09026871621608734, -0.16441461443901062, 0.21037404239177704, -0.098872110247612, 0.13701093196868896, 0.764178454875946, -0.4298868179321289, -0.4942227900028229, -0.2014908343553543, -0.29595500230789185, -0.13835342228412628, 0.129615917801857, 0.7920888662338257, -0.8052712082862854, 0.348958820104599, 0.4290926456451416, 0.4326687455177307, 0.13011150062084198, 0.26064005494117737, 0.8609947562217712, -0.4038659334182739, -0.10634342581033707, 0.2060575634241104, 0.6102067828178406, 0.398675799369812, -0.661219596862793, 0.4192948341369629, 0.35605812072753906, -0.18932095170021057, -0.6025270819664001, 0.08335351943969727, -0.5020047426223755, -0.67530757188797, 1.184441089630127, -0.23143213987350464, -0.13264380395412445, -0.008723330684006214, -0.12431154400110245, 0.5288650989532471, -0.24318204820156097, 1.029361605644226, 0.6685055494308472, -0.46552979946136475, -0.3228629529476166, -0.34108129143714905, 0.8002195358276367, 0.24176406860351562, -0.6687333583831787, -0.11483383923768997, 0.48227348923683167, 0.05202483758330345, 0.3415314257144928, 0.18952172994613647, -0.10370977967977524, -0.0691320076584816, 0.032819122076034546, 0.4441849887371063, 0.6799562573432922, 0.15082088112831116, -0.43344852328300476, 0.20587405562400818, -0.19126814603805542, 0.18596415221691132 ]
http://arxiv.org/abs/2404.19335v1
http://arxiv.org/pdf/2404.19335v1
StablePT: Towards Stable Prompting for Few-shot Learning via Input Separation
2024-04-30T08:01:49
2024-04-30T08:01:49
Xiaoming Liu, Chen Liu, Zhaohan Zhang, Chengzhengxu Li, Longtian Wang, Yu Lan, Chao Shen
cs.CL
cs.CL
Large language models have shown their ability to become effective few-shot learners with prompting, revoluting the paradigm of learning with data scarcity. However, this approach largely depends on the quality of prompt initialization, and always exhibits large variability among different runs. Such property makes prompt tuning highly unreliable and vulnerable to poorly constructed prompts, which limits its extension to more real-world applications. To tackle this issue, we propose to treat the hard prompt and soft prompt as separate inputs to mitigate noise brought by the prompt initialization. Furthermore, we optimize soft prompts with contrastive learning for utilizing class-aware information in the training process to maintain model performance. Experimental results demonstrate that \sysname outperforms state-of-the-art methods by 7.20% in accuracy and reduces the standard deviation by 2.02 on average. Furthermore, extensive experiments underscore its robustness and stability across 7 datasets covering various tasks.
[ -0.2534152865409851, -0.9743126034736633, 0.35911867022514343, -0.14873014390468597, -0.3668193817138672, -0.14069458842277527, -0.5637576580047607, -0.06525221467018127, -0.5136235356330872, -0.13918259739875793, -0.6775081157684326, -0.22830109298229218, -0.5171263813972473, 0.26797592639923096, 0.11809620261192322, 1.008788824081421, 0.21829505264759064, 0.30238473415374756, 0.05783858522772789, -0.16988880932331085, -0.6565450429916382, -0.05000244453549385, -1.0401161909103394, -0.1802835464477539, 0.8262179493904114, 0.6732863783836365, 0.6460191607475281, 0.6390291452407837, 0.22618798911571503, 0.3247763216495514, -0.23597919940948486, 0.1312817633152008, -0.5815590023994446, 0.9244038462638855, -0.1356864869594574, -0.4025161564350128, 0.04918709024786949, -0.02307100221514702, 0.9398946166038513, 0.8131139874458313, -0.031927019357681274, -0.12143970280885696, 0.5911135673522949, 0.38270804286003113, -0.9542450308799744, 0.1955602765083313, -0.574792742729187, -0.07306578755378723, -0.26400700211524963, 0.36071011424064636, -0.6634253263473511, -0.2975415289402008, 0.11538252234458923, -0.559847891330719, 0.14629408717155457, -0.43518805503845215, 0.8821456432342529, 0.22948311269283295, -0.028832774609327316, 0.21046653389930725, -0.6194794178009033, 0.9033199548721313, -0.43293043971061707, 0.44405195116996765, 0.47828438878059387, 0.38012373447418213, -0.33841004967689514, -0.4919581413269043, -0.30316126346588135, -0.10671388357877731, 0.18621037900447845, 0.0559869259595871, -0.08265070617198944, 0.24398541450500488, 0.3106045424938202, -0.147988960146904, -0.37310075759887695, 0.47142118215560913, -0.4007473587989807, -0.3606477975845337, 0.11441163718700409, 0.22219529747962952, 0.12648969888687134, 0.01506992056965828, -0.28093987703323364, -0.09699869155883789, -0.7368698716163635, 0.4163006842136383, 0.3772256076335907, 1.1256957054138184, -0.3216647803783417, 0.3383823037147522, -0.16883018612861633, 0.9439335465431213, 0.37136176228523254, -0.47890013456344604, 0.11865725368261337, -0.1316932737827301, -0.05356379598379135, -0.10224275290966034, 0.7486801743507385, 0.06893718987703323, 0.12094131857156754, 0.037196673452854156, -0.2716522812843323, 0.2873240113258362, -0.08308134227991104, -0.9331350922584534, -0.23019231855869293, 0.3736126720905304, -0.29532894492149353, -0.32743364572525024, -0.11182698607444763, -0.9542896151542664, -0.5315173268318176, -0.22226691246032715, 0.4502793848514557, -0.5687645077705383, -0.20845311880111694, -0.27137812972068787, -0.017993256449699402, 0.1057695597410202, 0.5734723210334778, -1.136929988861084, 0.3154028654098511, 0.5690000057220459, 0.859695315361023, -0.4083915948867798, -0.328605979681015, -1.1515203714370728, -0.2949310541152954, -0.2925580143928528, 0.7876511216163635, -0.6433081030845642, -0.3092953562736511, 0.0645880252122879, -0.07016207277774811, -0.05991652235388756, -0.4245758652687073, 0.2891490161418915, -0.21648728847503662, 0.4805871248245239, -0.27754485607147217, -0.40704599022865295, 0.28909099102020264, 0.3064000606536865, -0.5988759994506836, 0.862267792224884, 0.21753330528736115, -0.6416633129119873, 0.6127198338508606, -0.24097636342048645, -0.44053134322166443, 0.2666398584842682, -0.3454720377922058, -0.6031729578971863, 0.04032839462161064, 0.17886506021022797, 0.33966517448425293, 0.18950238823890686, 0.16116991639137268, -0.5596989989280701, -0.41565659642219543, 0.07405044138431549, -0.5158732533454895, 0.7195550799369812, 0.2588595747947693, -0.2797017991542816, 0.1935679167509079, -0.7852861881256104, -0.08611050248146057, 0.01958821713924408, -0.35110849142074585, -0.19195368885993958, -0.11507666110992432, -0.15514221787452698, 0.2153165340423584, -0.05871010571718216, -0.42057088017463684, 0.4470227062702179, -0.5512046813964844, 0.2773216664791107, 0.9681514501571655, -0.0962667241692543, 0.6666443943977356, -0.37602499127388, 0.8000248670578003, 0.31724804639816284, 0.1429024338722229, -0.6067200303077698, -0.388756662607193, -0.5747074484825134, -0.5041636228561401, 0.5411129593849182, 0.5676167011260986, -0.8644199371337891, 0.1716860979795456, 0.22122736275196075, -0.311344712972641, -0.3827941417694092, 0.34999316930770874, 0.32912677526474, 0.946672260761261, 0.2811931371688843, -0.048498112708330154, -0.48799246549606323, -0.5112508535385132, -0.09270384907722473, -0.26507923007011414, -0.051665451377630234, 0.032255906611680984, 0.0215184073895216, 0.08757780492305756, 0.8513872027397156, -0.16818922758102417, -0.09223027527332306, -0.7145876288414001, 0.017154214903712273, 0.40520134568214417, 0.7357794642448425, 0.3095064163208008, -0.3350914418697357, -0.3973484933376312, -0.5308074355125427, -0.44162052869796753, -0.18109941482543945, -0.17452390491962433, -0.08658786118030548, 0.1709994524717331, 0.28670114278793335, -0.8154921531677246, 0.16869954764842987, 0.24471960961818695, -0.21750912070274353, 0.4987138509750366, 0.2361169010400772, -0.15959970653057098, -1.0933250188827515, -0.08943116664886475, 0.14935749769210815, -0.26098281145095825, -0.4676169157028198, -0.1012706384062767, -0.07502119988203049, -0.25089287757873535, -0.9137635231018066, 0.699060320854187, -0.4179849922657013, 0.37645789980888367, -0.22511954605579376, 0.2581983804702759, 0.029442129656672478, 0.2528819441795349, 0.12929388880729675, 0.6945138573646545, 0.9381195306777954, -0.6843703389167786, 0.03271617740392685, 0.2204386442899704, -0.019995735958218575, 0.6300361156463623, -0.7874262928962708, 0.05835247412323952, -0.19021111726760864, 0.2557184398174286, -1.1928530931472778, -0.2982098460197449, 0.49229323863983154, -0.3618868887424469, 0.6197128891944885, -0.5385250449180603, -0.3402516543865204, 0.09400667250156403, -0.3404722809791565, 0.4593375623226166, 0.6235290765762329, -0.5188033580780029, 0.194425567984581, 0.18384791910648346, -0.4536122977733612, -0.640374481678009, -0.4338751435279846, -0.3768196403980255, -0.18865379691123962, -0.35473936796188354, -0.13080744445323944, -0.0503731369972229, -0.28126293420791626, -0.3091385066509247, -0.20915479958057404, -0.2419544756412506, 0.17557302117347717, 0.38462382555007935, 0.5074920058250427, -0.4609415829181671, 0.40523022413253784, 0.31092432141304016, -0.3638307452201843, -0.34554511308670044, -0.2696148455142975, 0.4754386246204376, -0.12081950157880783, 0.02174023725092411, -0.738915205001831, 0.2167680412530899, 0.4632822871208191, 0.17756353318691254, 0.8023338913917542, 0.4647276699542999, -0.43480128049850464, -0.3404426872730255, -0.15999935567378998, -0.6408312320709229, -0.5442478656768799, 0.03913673385977745, -0.4689633846282959, -0.9175811409950256, 0.49029335379600525, -0.11592302471399307, 0.27007198333740234, 0.2824912667274475, 0.4569564461708069, -0.28466030955314636, 1.0567706823349, 0.5069916248321533, 0.06270549446344376, 0.7608054876327515, 0.16372992098331451, -0.20846334099769592, -0.2569178640842438, -0.07101134210824966, -0.6567457318305969, -0.4793098270893097, -0.41206833720207214, 0.16094473004341125, 0.18489539623260498, 0.19976237416267395, -0.34069129824638367, 0.054119836539030075, -0.5098931193351746, 0.7552774548530579, 0.540466845035553, 0.30153384804725647, 0.006898509804159403, -0.011295651085674763, -0.3107978403568268, -0.33471864461898804, -0.9244374632835388, -0.33579105138778687, 0.7060180306434631, 0.30261918902397156, 1.010022759437561, -0.08741544932126999, 0.7942947745323181, -0.010607435368001461, -0.19848285615444183, -0.9142690300941467, 0.4496143162250519, -0.034787073731422424, -0.5446100234985352, -0.44031020998954773, -0.41105005145072937, -1.389638066291809, 0.2944641411304474, -0.49050140380859375, -0.734311580657959, 0.3178994059562683, 0.3640597462654114, -0.863235592842102, 0.08455351740121841, -0.7466482520103455, 0.8232839107513428, 0.04951382055878639, -0.9904161095619202, 0.25941014289855957, -0.9581303000450134, 0.33588454127311707, 0.3266325891017914, -0.015080591663718224, -0.1374741941690445, -0.12102395296096802, 0.7165924906730652, -0.6127694845199585, 1.095125675201416, -0.3186505138874054, 0.13667528331279755, 0.2938385009765625, 0.29048123955726624, 0.5527350306510925, 0.2005160003900528, -0.1063428595662117, -0.08432023227214813, -0.006205834448337555, -0.5404226183891296, -0.4884611666202545, 0.4438251256942749, -0.7549780011177063, -0.2623697817325592, -0.4916393756866455, -0.2630094587802887, -0.30541884899139404, 0.42452293634414673, 0.6069042086601257, 0.6123334169387817, 0.1880211979150772, 0.04712099954485893, 0.8199339509010315, 0.053293805569410324, 0.58184415102005, 0.31530043482780457, 0.00039880338590592146, -0.5076115131378174, 0.6983947157859802, 0.05984271690249443, 0.2779907286167145, -0.04216727986931801, 0.5012792348861694, -0.2897965610027313, -0.4955122470855713, -0.5835939645767212, 0.08449337631464005, -0.6812580823898315, -0.5119501352310181, -0.2694490849971771, 0.009792594239115715, -0.32746773958206177, -0.24435104429721832, -0.5611625909805298, -0.5614824891090393, -0.6187642216682434, -0.0754978135228157, 0.21826525032520294, 0.4858497083187103, -0.03774920105934143, 0.657347559928894, -0.9266588687896729, 0.39181286096572876, 0.3133615553379059, 0.47213268280029297, -0.51942378282547, -0.5153207182884216, 0.03315746784210205, -0.14078731834888458, -0.1562223583459854, -0.9532796144485474, 0.03008916974067688, 0.4569236934185028, 0.5295084118843079, 0.7723212242126465, 0.3721460998058319, 0.5238627791404724, -0.44083696603775024, 0.9786199331283569, 0.402820348739624, -0.9291132092475891, 0.8753581643104553, -0.4577368199825287, 0.7846238613128662, 1.3511366844177246, 0.24650254845619202, -0.2180950790643692, -0.45651835203170776, -0.6229044795036316, -0.7525160312652588, 0.9504687190055847, -0.14951325953006744, 0.12415590137243271, -0.04095416143536568, 0.3213807940483093, 0.6691247820854187, 0.08903617411851883, -0.6985073685646057, -0.10233261436223984, -0.04085569828748703, -0.3908262252807617, 0.3284420669078827, -0.2337474673986435, -0.053664106875658035, -0.18965697288513184, 0.5406440496444702, -0.18335963785648346, -0.1866082400083542, -0.29955923557281494, -0.04940557852387428, -0.3155573308467865, 0.4293237626552582, 0.53391432762146, 0.5980728268623352, 0.1256808489561081, 0.47744718194007874, 0.05791543796658516, -0.5925473570823669, 0.377113401889801, -0.0035791329573839903, -0.45359909534454346, 0.14075681567192078, 0.30190935730934143, 0.6842928528785706, 0.29388946294784546, -0.4608035385608673, 0.6256704926490784, -0.17844945192337036, -0.13324692845344543, 0.22029739618301392, 0.3770599365234375, -0.5411921143531799, 0.21280892193317413, 0.09555897861719131, 0.32320642471313477, -0.16451433300971985, -0.16533321142196655, 0.3236728012561798, 0.23354780673980713, -0.5053490400314331, -0.44098034501075745, 0.5181490778923035, 0.5332256555557251, -0.26680538058280945, 0.8523863554000854, -0.2595829665660858, -0.29018184542655945, 0.19067299365997314, 0.5409692525863647, 0.9610335826873779, -0.45689940452575684, 0.2609255313873291, 0.5626047253608704, 0.19719108939170837, -0.39945995807647705, 0.29896125197410583, -0.3366595506668091, -0.5528819561004639, -0.29222434759140015, -0.3616614043712616, -0.6545571684837341, 0.24600253999233246, -0.4799655079841614, 0.8327445983886719, -0.8484601378440857, -0.27542802691459656, -0.4125889539718628, -0.14169904589653015, -0.44033223390579224, 0.006808646023273468, 0.23861464858055115, 0.7119325995445251, -1.024143934249878, 0.7488619089126587, 0.6042201519012451, -0.4203663468360901, -0.8123725056648254, -0.13573452830314636, 0.2024076133966446, -0.3694329559803009, 0.39887943863868713, 0.38640841841697693, -0.12543918192386627, -0.24275366961956024, -0.9559684991836548, -0.6972910165786743, 0.550117015838623, 0.7128866910934448, -0.8135728240013123, 0.16507039964199066, -0.31106820702552795, 0.20344671607017517, 0.06801331788301468, 0.23993538320064545, 0.41746005415916443, 0.4110517203807831, 0.3688370883464813, -0.6422807574272156, -0.020756741985678673, -0.22619232535362244, -0.3927982449531555, 0.06717543303966522, -0.5694245100021362, 0.8574936389923096, -0.3484175205230713, -0.4579837918281555, 0.05105482041835785, 0.6849303841590881, 0.7728539705276489, 0.453441858291626, 0.7444536089897156, 0.1715887188911438, 0.8999822735786438, -0.22549550235271454, 0.5037159323692322, -0.08051925897598267, 0.1515813171863556, 1.4040570259094238, -0.21892477571964264, 0.8136134743690491, 0.5876742601394653, -0.22615006566047668, 0.4321502149105072, 0.9690870046615601, 0.03252698853611946, 0.6475743055343628, 0.07330146431922913, -0.34273749589920044, -0.4786275327205658, 0.014988962560892105, -0.3447101414203644, 0.3758751153945923, 0.30476638674736023, -0.11411748826503754, -0.4102768003940582, 0.10914509743452072, 0.18103832006454468, -0.14932438731193542, -0.16087843477725983, 0.8160117864608765, 0.09120288491249084, -0.7971408367156982, 0.6619234681129456, -0.36583876609802246, 0.6579565405845642, -0.8744046688079834, -0.16152817010879517, -0.29173460602760315, 0.09293676167726517, -0.25559502840042114, -0.5247960090637207, -0.05973726511001587, -0.06964033842086792, -0.10211475193500519, -0.22385644912719727, 0.9266272187232971, -0.5280824899673462, -0.3100931942462921, -0.3003726899623871, 0.6289358735084534, 0.07741371542215347, 0.288448303937912, -0.6216194033622742, 0.2398664802312851, -0.40328875184059143, -0.2603907883167267, 0.4044911563396454, 0.37038418650627136, 0.17363934218883514, 0.47481128573417664, 0.4114042818546295, 0.17248156666755676, -0.025443846359848976, 0.1385059356689453, 0.820048451423645, -0.25716352462768555, -0.7105530500411987, -1.0662710666656494, 0.8136897683143616, 0.1712283492088318, -0.5395890474319458, 0.6439059376716614, 0.2956216037273407, 0.5647002458572388, 0.0759914293885231, 0.7671610713005066, 0.14950443804264069, 0.2841915786266327, -0.5431835651397705, 0.6209805011749268, -0.18378640711307526, 0.3394009470939636, -0.40344324707984924, -0.8623450398445129, -0.5856440663337708, 0.6259812712669373, -0.019845115020871162, 0.1747981309890747, 0.5312184691429138, 0.5575830936431885, -0.06606344133615494, -0.030773302540183067, 0.3695664703845978, 0.026507951319217682, 0.10215149819850922, 0.370039165019989, 1.067286729812622, -0.12975627183914185, 0.5322307348251343, -0.26304861903190613, -0.2694892883300781, -0.23878087103366852, -0.7681377530097961, -0.8605241179466248, -0.3626404404640198, -0.5614964365959167, -0.6224144697189331, 0.19801956415176392, 1.214107871055603, 1.0350695848464966, -0.9655742049217224, 0.060089997947216034, -0.27505749464035034, 0.49634823203086853, -0.36513906717300415, -0.22881700098514557, 0.2261013239622116, -0.9691457748413086, -0.773594856262207, 0.5683832168579102, 0.14734205603599548, 0.3096443712711334, -0.15901361405849457, -0.021495100110769272, 0.26481589674949646, -0.08734575659036636, 0.39947816729545593, 0.5512524843215942, -0.4748935401439667, -0.19704724848270416, -0.04777884483337402, -0.19067536294460297, 0.1518624722957611, 0.6312058568000793, -1.1172418594360352, 0.6664621233940125, 0.7185299396514893, 0.6647500395774841, 0.08966126292943954, 0.0971040427684784, 0.5311826467514038, -0.945903480052948, 0.3805623948574066, 0.35205045342445374, 0.2609764635562897, 0.2951882779598236, -0.3962557017803192, 0.22085615992546082, 0.4379950165748596, -0.4855753779411316, -1.0302647352218628, 0.21217899024486542, -1.0873044729232788, -0.2683722972869873, 1.2652649879455566, -0.18423430621623993, -0.19236916303634644, -0.22630299627780914, -0.28663039207458496, 0.2493332177400589, -0.8983409404754639, 0.6173617839813232, 0.6943864822387695, -0.2544800043106079, -0.5624839663505554, -0.0060903471894562244, 0.5748544931411743, 0.47711148858070374, -0.6073642373085022, 0.048334430903196335, 0.7129258513450623, 0.25351229310035706, -0.1742730736732483, 0.4266694486141205, 0.1135173961520195, 0.5971198678016663, 0.2891855835914612, -0.2817671597003937, -0.08116865903139114, -0.6722223162651062, -0.9162464141845703, 0.5485103130340576, 0.24186314642429352, -0.5830320119857788 ]
http://arxiv.org/abs/2404.19328v2
http://arxiv.org/pdf/2404.19328v2
Computational Approaches for Integrating out Subjectivity in Cognate Synonym Selection
2024-04-30T07:52:26
2024-06-05T15:56:26
Luise Häuser, Gerhard Jäger, Alexandros Stamatakis
cs.CL
cs.CL, q-bio.PE
Working with cognate data involves handling synonyms, that is, multiple words that describe the same concept in a language. In the early days of language phylogenetics it was recommended to select one synonym only. However, as we show here, binary character matrices, which are used as input for computational methods, do allow for representing the entire dataset including all synonyms. Here we address the question how one can and if one should include all synonyms or whether it is preferable to select synonyms a priori. To this end, we perform maximum likelihood tree inferences with the widely used RAxML-NG tool and show that it yields plausible trees when all synonyms are used as input. Furthermore, we show that a priori synonym selection can yield topologically substantially different trees and we therefore advise against doing so. To represent cognate data including all synonyms, we introduce two types of character matrices beyond the standard binary ones: probabilistic binary and probabilistic multi-valued character matrices. We further show that it is dataset-dependent for which character matrix type the inferred RAxML-NG tree is topologically closest to the gold standard. We also make available a Python interface for generating all of the above character matrix types for cognate data provided in CLDF format.
[ -0.5824711322784424, -0.7597737908363342, 0.671997606754303, 0.12298154085874557, -0.3280143141746521, -0.0705191120505333, -0.35164356231689453, -0.44050082564353943, 0.4544755220413208, 0.34939178824424744, -0.6335019469261169, -0.4478701651096344, -0.5756517648696899, 0.3783770203590393, -0.37513336539268494, 0.8671666979789734, -0.05957908183336258, -0.03291700407862663, -0.3829742670059204, -0.46310117840766907, -0.3066509962081909, -1.0546334981918335, -0.22435054183006287, -0.34864187240600586, 0.8392814993858337, 0.531652569770813, 0.9353193044662476, 0.5343378782272339, 0.649873673915863, 0.25474992394447327, 0.06815069913864136, -0.1989845484495163, -0.3222631514072418, 0.6257031559944153, -0.3371717631816864, -0.5022950172424316, -0.2962888777256012, 0.23705098032951355, 0.7490645051002502, 0.8475932478904724, -0.10280588269233704, 0.0511908195912838, -0.10367246717214584, 0.4538402855396271, -0.740913450717926, -0.011330198496580124, -0.8042293787002563, 0.41823697090148926, -0.49044761061668396, -0.19143646955490112, -0.1939106583595276, -0.27662914991378784, 0.26354122161865234, -0.6694756150245667, 0.19302314519882202, 0.11682284623384476, 0.8813535571098328, 0.1644717901945114, -0.2430078238248825, -0.42694953083992004, -0.4941580295562744, 0.9686977863311768, -0.4708098769187927, 0.5282865166664124, 0.40437087416648865, 0.3201654851436615, -0.2994532883167267, -0.5516484379768372, -0.7005759477615356, -0.41844165325164795, -0.3367573320865631, 0.1295042335987091, -0.3305937945842743, 0.3209867775440216, 0.2803042232990265, 0.5062019228935242, -0.6253687739372253, 0.132893905043602, -0.03710979223251343, -0.22908006608486176, 0.4831421673297882, 0.1844535917043686, 0.1507769376039505, -0.15131698548793793, -0.23075509071350098, -0.4507870078086853, -0.9917397499084473, -0.29702848196029663, 0.34971779584884644, 0.3603525459766388, 0.10984137654304504, 0.9425262808799744, 0.045966871082782745, 0.7829846739768982, 0.015718773007392883, -0.018391713500022888, 0.020567215979099274, -0.35226112604141235, -0.2360319197177887, -0.008590846322476864, 0.9683898091316223, -0.10782143473625183, 0.04328082129359245, -0.39501339197158813, 0.2031249701976776, 0.4092795252799988, -0.045908935368061066, -0.6859369277954102, -0.29952022433280945, 0.3898569643497467, -0.3460494577884674, -0.019135378301143646, -0.05139650031924248, -0.7729120254516602, -0.16430795192718506, -0.3268587291240692, 0.3153349757194519, -0.4222353994846344, -0.33411499857902527, -0.07409881800413132, -0.49091386795043945, 0.02603667601943016, 0.25865525007247925, -0.6668038964271545, 0.36823123693466187, 0.881889820098877, 0.6775320172309875, -0.2979424297809601, -0.32343438267707825, -0.5097135901451111, 0.07382906228303909, -0.4237091839313507, 0.5781497955322266, -1.042468786239624, -0.6078264713287354, -0.40579867362976074, -0.15684670209884644, -0.10651154816150665, -0.5256637930870056, 0.811257541179657, -0.3173784017562866, 0.4839978814125061, -0.47278881072998047, -0.6116205453872681, -0.5610945224761963, 0.12321636080741882, -0.6842914819717407, 0.9687567949295044, 0.329253226518631, -1.0547951459884644, 0.3902629613876343, -0.3401545584201813, -0.5543392300605774, 0.12179001420736313, -0.45461106300354004, -0.28897517919540405, 0.044279661029577255, -0.3622574806213379, 0.7208880186080933, -0.23275235295295715, 0.37633347511291504, -0.6194232702255249, -0.07761727273464203, 0.4123709201812744, 0.06263541430234909, 0.637802243232727, 0.29429155588150024, -0.23664307594299316, -0.0635625496506691, -0.5404740571975708, 0.13944381475448608, -0.12444748729467392, -0.05751025676727295, -0.5146754384040833, 0.2999761700630188, 0.13774244487285614, 0.23496483266353607, 0.05579186603426933, -0.6866182088851929, 0.11421618610620499, -0.36551886796951294, 0.391826331615448, 0.33973202109336853, -0.30685144662857056, 0.3253415524959564, -0.3096570074558258, 0.7006393671035767, 0.05798478052020073, -0.4647487699985504, 0.1911669224500656, -0.6417480111122131, -0.6423429846763611, -0.45762956142425537, 0.3178284168243408, 0.42354828119277954, -0.6883286833763123, 0.6865322589874268, -0.37111127376556396, -0.5554157495498657, -0.3597705364227295, -0.22347919642925262, 0.3844433128833771, 0.4317440688610077, 0.28627657890319824, -0.6118898391723633, -0.7150887250900269, -0.8267226219177246, -0.0865427702665329, -0.24949589371681213, 0.16365298628807068, 0.6488099694252014, 0.45127788186073303, -0.03004780039191246, 1.2775797843933105, -0.6158237457275391, -0.20888137817382812, -0.24127213656902313, 0.04848005622625351, 0.4110817611217499, 0.47474148869514465, 0.4927378296852112, -0.7845572829246521, -0.47829824686050415, 0.22647787630558014, -0.6190029382705688, 0.10118062049150467, 0.1364227533340454, -0.21154043078422546, 0.04946073517203331, 0.08509677648544312, -0.5679435133934021, 0.36235493421554565, 0.6031374931335449, -0.24574176967144012, 0.6270692944526672, -0.16611434519290924, 0.00920017808675766, -1.3040612936019897, 0.44659116864204407, -0.042683325707912445, -0.22381922602653503, -0.718149721622467, 0.6221151947975159, -0.2901338040828705, -0.01139860786497593, -0.2066657990217209, 0.5284931063652039, -0.27583226561546326, -0.35521596670150757, 0.0726829469203949, 0.15482480823993683, -0.06064397469162941, 0.41588857769966125, 0.6466943025588989, 0.7770073413848877, 0.5935497283935547, -0.527445912361145, 0.49679452180862427, 0.39299440383911133, -0.14421722292900085, 0.58903968334198, -0.642852246761322, 0.093080535531044, -0.06635072082281113, 0.2700600326061249, -0.8195791840553284, -0.06955385953187943, 0.504530131816864, -0.38341301679611206, 0.27609729766845703, -0.06179485842585564, -0.395363450050354, -0.09256003051996231, -0.30484703183174133, 0.4393506646156311, 0.17508645355701447, -0.3594855070114136, 0.3360288143157959, 0.5467773079872131, -0.253020316362381, -0.6252264380455017, -0.8003526329994202, 0.44538331031799316, -0.42782148718833923, -0.4252781569957733, 0.4482915997505188, -0.1519128978252411, -0.20351795852184296, -0.05743115395307541, 0.327080100774765, -0.2740384638309479, 0.19936898350715637, 0.2169269174337387, 0.18544262647628784, -0.2769504189491272, -0.09096061438322067, 0.19780853390693665, -0.08528725802898407, -0.3021582365036011, -0.20938193798065186, 0.5358791947364807, -0.1403089463710785, -0.2133302390575409, -0.18413123488426208, 0.8278089761734009, 0.32065269351005554, -0.3564907908439636, 0.44046497344970703, 0.43245235085487366, -0.2292318493127823, 0.02565591037273407, -0.2983439266681671, -0.20221948623657227, -0.3896293640136719, 0.4341496527194977, -0.5580527186393738, -1.2144871950149536, 0.3745315670967102, 0.1997523456811905, -0.07244899123907089, 0.3078981339931488, 0.6654529571533203, 0.009440972469747066, 0.7226530313491821, 0.44910186529159546, 0.07536600530147552, 0.23165318369865417, -0.20544245839118958, 0.3182990252971649, -0.9803088307380676, 0.011929227970540524, -0.8856656551361084, -0.29846540093421936, -0.9540557861328125, -0.5139210820198059, 0.3293255567550659, -0.08895034343004227, 0.017761901021003723, 0.599852979183197, -0.6028361320495605, -0.019772764295339584, 0.5133684873580933, -0.13395889103412628, 0.19668863713741302, 0.3849124014377594, -0.41514819860458374, -0.2360137403011322, -0.7287703156471252, -0.24364368617534637, 0.9350969791412354, 0.08445513248443604, 0.6531749963760376, 0.1863594651222229, 0.8330270051956177, -0.027712441980838776, 0.3082267642021179, -1.0500118732452393, 0.7587378025054932, -0.47878196835517883, -0.6804835200309753, -0.11315833032131195, -0.4285934269428253, -1.2712810039520264, 0.4657849669456482, -0.42260780930519104, -0.8973369598388672, 0.6924771666526794, 0.17818278074264526, -0.2355218529701233, 0.10276402533054352, -0.41752398014068604, 0.848727285861969, 0.15821482241153717, -0.26520806550979614, -0.4715874493122101, -0.765653669834137, 0.39469870924949646, -0.0834636241197586, 0.015485367737710476, 0.08080197870731354, -0.21032282710075378, 0.6236141324043274, -0.43500301241874695, 0.4648011326789856, 0.2114103138446808, -0.09611693024635315, 0.2938380539417267, 0.41156959533691406, 0.1794772446155548, -0.2965618968009949, -0.2279314398765564, 0.4382132291793823, 0.5749813914299011, -0.04399208351969719, -0.3040926158428192, 0.582112193107605, -0.6970860362052917, -0.44036468863487244, -0.7660346031188965, -0.578070342540741, -0.18200375139713287, 0.05875696241855621, 0.25140380859375, 0.5313494801521301, -0.41022413969039917, 0.28982338309288025, 0.2708725035190582, -0.057102445513010025, 0.333051472902298, 0.2629967927932739, -0.2559075653553009, -0.47144436836242676, 1.22266685962677, 0.15056787431240082, 0.17356015741825104, 0.6375538110733032, 0.49866172671318054, -0.34230244159698486, -0.3614952862262726, -0.2644643485546112, 0.07374171167612076, -0.6237243413925171, -0.03342825919389725, -0.7375903725624084, 0.007876540534198284, -0.06618134677410126, 0.017521917819976807, 0.20310041308403015, -0.8324022889137268, -0.15311893820762634, 0.2378809005022049, 0.4125511944293976, 0.6801270246505737, -0.07291604578495026, 0.2539766728878021, -0.7054320573806763, 0.21439777314662933, 0.17059366405010223, 0.12879392504692078, -0.011630420573055744, -0.01576092094182968, 0.0076112463138997555, 0.13772033154964447, -0.1908508688211441, -1.1450444459915161, 0.3538171052932739, 0.7244567275047302, 0.4481808841228485, 0.3555722236633301, -0.18684296309947968, 0.5913090705871582, -0.5160689949989319, 0.7568626403808594, 0.2158997356891632, -0.7332255244255066, 0.20793984830379486, -0.3496669828891754, -0.11267285794019699, 0.6972571015357971, 0.6010462641716003, -1.034402847290039, -0.45958226919174194, -0.5489441752433777, -0.4681272804737091, 0.6142948269844055, 0.31592509150505066, -0.1578950136899948, -0.16624554991722107, 0.40050458908081055, 0.40597599744796753, 0.3988049626350403, -0.46614059805870056, -0.21825441718101501, -0.12840449810028076, -0.4675293564796448, -0.32102420926094055, -0.030802397057414055, -0.023448480293154716, -0.4626995623111725, 0.4554215967655182, -0.2381225973367691, 0.37832367420196533, 0.2655878961086273, -0.18439219892024994, 0.017399031668901443, 0.4424523115158081, 0.3833247125148773, 0.5756967663764954, -0.12694114446640015, 0.308135449886322, -0.08229415863752365, -0.7521218061447144, 0.16422218084335327, 0.05880361795425415, -0.19044731557369232, 0.3557928502559662, 0.2885957360267639, 0.49090275168418884, 0.15791960060596466, -0.5579606890678406, 0.3935716152191162, -0.018676647916436195, -0.0632789134979248, -0.038229621946811676, 0.019192729145288467, 0.14286202192306519, -0.21741290390491486, -0.04758754372596741, 0.08322811126708984, 0.3077975809574127, -0.7576239705085754, 0.18316157162189484, 0.9486241936683655, -0.20939886569976807, -0.41931667923927307, 0.3073121905326843, -0.1220216378569603, -0.19979442656040192, 0.4980440139770508, -0.2101316899061203, -0.6719858050346375, 0.4674206078052521, 0.3729986846446991, 1.0559552907943726, -0.29087668657302856, 0.12065167725086212, 0.4374501407146454, -0.08084962517023087, 0.19127075374126434, 0.4545174241065979, -0.3578692674636841, -0.848141074180603, -0.440103679895401, -0.8121613264083862, -0.524746835231781, -0.19075638055801392, -0.6214106678962708, 0.2217722088098526, -0.46199068427085876, -0.2669741213321686, 0.07945667207241058, 0.020371530205011368, -0.5005089044570923, 0.210012286901474, 0.12313305586576462, 0.6022833585739136, -0.7326546311378479, 0.9684224724769592, 0.7567028403282166, -0.2446299046278, -0.7560685276985168, -0.11275686323642731, -0.1432802528142929, -0.6946857571601868, 0.7372047305107117, 0.053965989500284195, -0.11283409595489502, -0.011331997811794281, -0.3530574440956116, -1.0267754793167114, 0.8549095988273621, 0.3116801381111145, -0.4400372803211212, -0.007691558916121721, 0.29943639039993286, 0.5012888312339783, -0.31427663564682007, 0.501968502998352, 0.5608126521110535, 0.5436672568321228, 0.4387975037097931, -0.8099496364593506, 0.04422978684306145, -0.031207917258143425, 0.028368527069687843, 0.3167414963245392, -0.10453306138515472, 1.0935617685317993, 0.1339755356311798, -0.603010356426239, 0.35711270570755005, 0.5655257701873779, 0.18558256328105927, -0.03531281650066376, 0.46818315982818604, 0.9233664870262146, 0.6861014366149902, -0.13941043615341187, 0.9874479174613953, -0.4845219552516937, 0.47883567214012146, 1.1893483400344849, -0.40102559328079224, 1.0873479843139648, 0.5073820352554321, -0.6207267045974731, 0.6282798647880554, 0.8834736347198486, 0.0012678629718720913, 0.29971784353256226, 0.10602326691150665, -0.3540276288986206, -0.36768823862075806, -0.29273706674575806, -0.5113630890846252, 0.5911379456520081, 0.5701153874397278, -0.14069412648677826, -0.5319304466247559, -0.40128961205482483, 0.14742743968963623, -0.03914785385131836, -0.014496749266982079, 0.7269377708435059, 0.23777593672275543, -1.0597330331802368, 0.6071851849555969, 0.1289888322353363, 0.6711124777793884, -0.8604483008384705, -0.14145603775978088, 0.08411065489053726, 0.08851088583469391, -0.3429178297519684, -0.9376906156539917, 0.3552716076374054, -0.25602471828460693, 0.11110062152147293, -0.12314105033874512, 0.5834407806396484, -0.7547870874404907, -0.5629883408546448, 0.14183229207992554, 0.568825900554657, 0.3939884901046753, 0.027274081483483315, -0.6027971506118774, -0.22872455418109894, -0.485895574092865, 0.19155599176883698, 0.2588638365268707, 0.15632487833499908, -0.14627432823181152, 0.5251187682151794, 0.6255033612251282, 0.30767369270324707, -0.08156554400920868, -0.3010925352573395, 0.8050823211669922, -0.410264790058136, -0.6508010625839233, -0.9825857281684875, 0.04385700449347496, 0.15574224293231964, -0.21177653968334198, 0.8365224599838257, 0.5607241988182068, 0.6457210779190063, 0.14247705042362213, 0.6661542057991028, -0.3394005596637726, 0.44594433903694153, -0.3101920485496521, 0.5249279141426086, -0.5690203905105591, -0.38381338119506836, -0.6052644848823547, -1.0070675611495972, -0.1740146428346634, 0.7266179919242859, -0.11323388665914536, -0.12407521903514862, 0.973753035068512, 0.8325532674789429, -0.07860267162322998, 0.19767335057258606, 0.3310622274875641, 0.05929211527109146, 0.1638748049736023, 0.7274414896965027, 0.8244945406913757, -0.12123490869998932, -0.1169644370675087, -0.10480223596096039, -0.221086323261261, -0.13645561039447784, -1.1033087968826294, -0.7478405833244324, -0.9616574645042419, -0.11793487519025803, -0.5121411681175232, -0.06644708663225174, 1.1591993570327759, 0.6633161902427673, -0.864526093006134, -0.5730133056640625, -0.0760994404554367, 0.35563167929649353, -0.2541787028312683, -0.16570915281772614, 0.39022210240364075, -0.12208722531795502, -0.55376797914505, 0.25318560004234314, 0.3728839159011841, -0.18802806735038757, -0.479178786277771, -0.09902970492839813, -0.4043941795825958, -0.09151189774274826, 0.6150796413421631, 0.3642764985561371, -0.8106202483177185, -0.38437047600746155, -0.06703431159257889, 0.03616274520754814, 0.37298741936683655, 1.1064040660858154, -0.9461645483970642, 0.5747345685958862, 0.6627439856529236, 0.453409343957901, 0.2556603252887726, -0.213185116648674, 0.8405649662017822, -0.6848580241203308, 0.2708703875541687, 0.46918609738349915, 0.5870375633239746, 0.42718905210494995, -0.2379157841205597, 0.3084166944026947, 0.4706050157546997, -0.21640907227993011, -0.6876915693283081, 0.6176689863204956, -1.1096488237380981, -0.26411598920822144, 1.1551892757415771, -0.2071337252855301, -0.31021302938461304, -0.21908754110336304, -0.21781855821609497, -0.014095175080001354, -0.007188968360424042, 0.23992377519607544, 0.8130432367324829, -0.01288948766887188, 0.12067292630672455, -0.1646437793970108, 0.5733380317687988, 0.5112420916557312, -0.7284933924674988, -0.01270344015210867, 0.4588823914527893, 0.25210312008857727, 0.3132069408893585, 0.45058807730674744, -0.04018881171941757, 0.3050522208213806, -0.33098360896110535, -0.007479140534996986, 0.24502024054527283, -0.17188696563243866, -0.45783862471580505, 0.10472716391086578, 0.15335780382156372, 0.1732746958732605 ]
http://arxiv.org/abs/2404.19319v1
http://arxiv.org/pdf/2404.19319v1
Knowledge Distillation vs. Pretraining from Scratch under a Fixed (Computation) Budget
2024-04-30T07:40:35
2024-04-30T07:40:35
Minh Duc Bui, Fabian David Schmidt, Goran Glavaš, Katharina von der Wense
cs.CL
cs.CL
Compared to standard language model (LM) pretraining (i.e., from scratch), Knowledge Distillation (KD) entails an additional forward pass through a teacher model that is typically substantially larger than the target student model. As such, KD in LM pretraining materially slows down throughput of pretraining instances vis-a-vis pretraining from scratch. Scaling laws of LM pretraining suggest that smaller models can close the gap to larger counterparts if trained on more data (i.e., processing more tokens)-and under a fixed computation budget, smaller models are able be process more data than larger models. We thus hypothesize that KD might, in fact, be suboptimal to pretraining from scratch for obtaining smaller LMs, when appropriately accounting for the compute budget. To test this, we compare pretraining from scratch against several KD strategies for masked language modeling (MLM) in a fair experimental setup, with respect to amount of computation as well as pretraining data. Downstream results on GLUE, however, do not confirm our hypothesis: while pretraining from scratch performs comparably to ordinary KD under a fixed computation budget, more sophisticated KD strategies, namely TinyBERT (Jiao et al., 2020) and MiniLM (Wang et al., 2023), outperform it by a notable margin. We further find that KD yields larger gains over pretraining from scratch when the data must be repeated under the fixed computation budget.
[ -0.4176217019557953, -0.6224806904792786, 0.6304841637611389, -0.07147333025932312, -0.32421234250068665, 0.3262166678905487, -0.5145974159240723, -0.2624237835407257, 0.11934776604175568, 0.3970825970172882, -0.5967839956283569, 0.0479586161673069, -0.807485044002533, -0.11516492813825607, -0.235502690076828, 0.927714467048645, -0.020629018545150757, 0.17723143100738525, -0.7824257612228394, 0.1978849619626999, -0.4685016870498657, -0.7549335956573486, -0.49237218499183655, -0.7528099417686462, 0.5047926306724548, 0.4635123014450073, 0.4486142694950104, 0.6457785964012146, 0.27399003505706787, 0.3215405344963074, 0.1119125559926033, -0.2987140119075775, -0.5737786889076233, -0.14263395965099335, 0.04794250801205635, -0.6681530475616455, -0.10953254252672195, 0.40013545751571655, 0.1768738180398941, 0.9832191467285156, -0.30509352684020996, 0.07489194720983505, 0.19950300455093384, 1.1045668125152588, -0.9347918033599854, -0.039703257381916046, -0.6049613356590271, 0.07418480515480042, -0.12622815370559692, 0.14328783750534058, -0.4276168942451477, -0.46065497398376465, 0.38396283984184265, -0.5852723717689514, 0.30516570806503296, -0.33390161395072937, 0.9666174054145813, 0.5132481455802917, -0.14760947227478027, -0.40601199865341187, -0.9454682469367981, 0.6569187045097351, -0.6974338293075562, 0.6200886964797974, 0.5425049066543579, 0.33712807297706604, 0.13087867200374603, -1.1496295928955078, -0.5551486015319824, -0.3591334819793701, -0.05728054419159889, -0.07631848007440567, -0.04914652556180954, 0.11872689425945282, 0.4651065170764923, 0.499217689037323, -0.18926763534545898, 0.13366064429283142, -0.7228487133979797, -0.11097388714551926, 0.39801475405693054, -0.28150054812431335, 0.00839844811707735, 0.23691998422145844, -0.48834484815597534, -0.3021165132522583, -0.7869248390197754, -0.09334329515695572, 0.23685680329799652, 0.2572993338108063, 0.12003987282514572, 0.30945199728012085, -0.30841732025146484, 0.4751463532447815, 0.2986486852169037, -0.44484928250312805, 0.07854167371988297, -0.27963390946388245, -0.3421008586883545, 0.26988139748573303, 0.540894091129303, 0.1874833106994629, 0.7789304256439209, -0.2740967571735382, -0.1557541787624359, 0.011460786685347557, 0.20265264809131622, -1.1208628416061401, -0.8057044744491577, -0.05728793889284134, -0.19048061966896057, -0.2052309811115265, -0.2201886773109436, -0.3544345498085022, -0.3801833987236023, -0.6835027933120728, 0.6014382839202881, -0.24716322124004364, -0.22889399528503418, 0.06142479553818703, -0.14818598330020905, -0.22352267801761627, 0.34826549887657166, -0.896786630153656, 0.3294135630130768, 0.35533660650253296, 0.8018938302993774, -0.10148373991250992, -0.312203586101532, -0.09155973047018051, -0.37902775406837463, -0.46308380365371704, 0.43361401557922363, -0.23390169441699982, -0.28721562027931213, -0.3202885687351227, -0.3222845792770386, -0.3156265616416931, -0.8499534726142883, -0.03613733872771263, -0.684775173664093, 0.14093469083309174, -0.44243690371513367, -0.7677041888237, 0.13715456426143646, -0.028961677104234695, -0.6683744788169861, 1.0064908266067505, 0.2271178960800171, -0.7931193113327026, 1.0199596881866455, -0.3975587785243988, -0.36007004976272583, -0.14028888940811157, -0.11734753102064133, -0.25866422057151794, 0.057783957570791245, -0.03599731996655464, 0.41230565309524536, -0.25274890661239624, 0.2372937798500061, -0.4279378652572632, -0.36378857493400574, 0.22763901948928833, -0.2751087546348572, 0.6258468627929688, 0.43937233090400696, -0.3630741834640503, -0.335123211145401, -0.8294246792793274, 0.05695194751024246, -0.00789629202336073, -0.5647128224372864, -0.5323060154914856, 0.029841868206858635, -0.43646031618118286, 0.42211130261421204, 0.25922679901123047, -0.528767466545105, 0.19696034491062164, -0.3840606212615967, 0.30824318528175354, 0.8948565721511841, -0.18112607300281525, 0.679129958152771, -0.17289799451828003, 0.5079024434089661, 0.15922805666923523, -0.180794358253479, -0.10565625876188278, -0.14996197819709778, -0.9145891070365906, -0.38582339882850647, 0.7623805999755859, 0.31258440017700195, -0.8952091932296753, -0.14454466104507446, -0.16557297110557556, -0.6251272559165955, -0.6378118395805359, 0.16286931931972504, 0.5581868290901184, 0.5056086182594299, 0.33593830466270447, -0.29827815294265747, -0.6245545744895935, -0.7442190647125244, -0.22125133872032166, 0.020967375487089157, -0.14572925865650177, 0.15309450030326843, 0.4602894186973572, 0.2229788899421692, 1.114633560180664, -0.7397435903549194, -0.2500764727592468, -0.2632240355014801, -0.007304816972464323, 0.075897715985775, 0.6657301187515259, 0.6199297904968262, -0.4326714873313904, -0.9196781516075134, -0.09889604896306992, -0.4309360682964325, -0.03052508644759655, 0.08550655096769333, 0.16866286098957062, 0.4077417254447937, 0.833725094795227, -0.6789767742156982, 0.5866088271141052, 0.3718888759613037, -0.17595674097537994, 0.7056800723075867, -0.33555513620376587, 0.05505862087011337, -0.8837673664093018, -0.040592774748802185, -0.4904002845287323, -0.15968680381774902, -0.7884777784347534, -0.08065018802881241, -0.053756654262542725, -0.039237361401319504, -0.3793522119522095, 0.22940059006214142, -0.47989732027053833, 0.05978139862418175, -0.46481266617774963, -0.039726607501506805, -0.0014674006961286068, 0.5356817245483398, 0.1657191514968872, 0.7453094124794006, 0.37248411774635315, -0.707699179649353, 0.1829744577407837, -0.4631982743740082, -0.7722007632255554, 0.04379957541823387, -0.775800347328186, 0.3230953514575958, 0.03883270546793938, 0.12001855671405792, -0.7682889699935913, -0.013401204720139503, -0.03540819510817528, -0.2576388716697693, 0.5028771162033081, -0.12126083672046661, -0.3281072974205017, -0.2974456250667572, -0.10283380001783371, 0.46443799138069153, 0.8491410613059998, -0.45264512300491333, 0.1881992667913437, 0.0937555581331253, -0.07422740012407303, -0.5963293313980103, -0.7278710603713989, -0.3128775656223297, -0.34667640924453735, -0.4504266381263733, 0.18123796582221985, -0.07541922479867935, -0.32101306319236755, 0.05103857070207596, -0.3475353419780731, -0.2832324802875519, 0.3667774498462677, 0.14378277957439423, 0.04626917466521263, -0.4203939139842987, 0.017760759219527245, -0.30804410576820374, -0.10288037359714508, 0.17286038398742676, -0.489077091217041, 0.7118433117866516, 0.17490053176879883, -0.4242088496685028, -0.1758946031332016, -0.09047824144363403, 0.49424979090690613, 0.1490820348262787, 1.1167004108428955, 0.3194231688976288, -0.26584741473197937, -0.2695043981075287, -0.6395944952964783, -0.41334351897239685, -0.5033963918685913, 0.1939442902803421, -0.4356081783771515, -0.8764436841011047, 0.3134157657623291, -0.17154689133167267, -0.02064724825322628, 0.3862016201019287, 0.5151053667068481, -0.25243526697158813, 0.6083855032920837, 0.8879408836364746, -0.05427313596010208, 0.3435022830963135, -0.22115381062030792, 0.2776980996131897, -0.3327547013759613, -0.13424457609653473, -0.5950027108192444, -0.4989973306655884, -0.4313494563102722, -0.5198779106140137, 0.0330057255923748, 0.5802338123321533, -0.28352877497673035, 0.1659204512834549, -0.2624717354774475, 0.8408798575401306, 0.9603556990623474, -0.02086867205798626, 0.30683931708335876, 0.061316847801208496, -0.2680801749229431, -0.23436443507671356, -1.0924546718597412, -0.23439225554466248, 1.4338054656982422, 0.1886756271123886, 0.8448137044906616, -0.3346991539001465, 0.9337633848190308, 0.07138484716415405, 0.3470238745212555, -0.5455728769302368, 0.33980682492256165, -0.10710635036230087, -0.5912150144577026, -0.3871927857398987, -0.493704229593277, -0.8267326951026917, 0.2740232050418854, -0.08018015325069427, -0.748728334903717, 0.3269321918487549, 0.49188321828842163, -0.2605731189250946, 0.5311710834503174, -1.1133514642715454, 0.8862101435661316, 0.07243071496486664, -0.05809740349650383, -0.14745354652404785, -0.5776087045669556, 0.45902299880981445, -0.5531030893325806, 0.24581123888492584, 0.0742732584476471, 0.4127618670463562, 0.9467060565948486, -0.9849122762680054, 0.7190873026847839, -0.5164408683776855, -0.014820513315498829, 0.32987353205680847, -0.07349099218845367, 0.2699611783027649, -0.37800925970077515, 0.26792123913764954, -0.00708971731364727, 0.3113599717617035, -0.4765987694263458, -0.6935257911682129, 0.391387939453125, -0.9653047919273376, -0.7503315210342407, -0.2610468864440918, -0.39656421542167664, -0.17077262699604034, 0.17452430725097656, 0.5155121088027954, 0.3032805621623993, -0.027872378006577492, 0.40836694836616516, 0.7189367413520813, -0.03669406473636627, 0.5189979076385498, 0.4421055018901825, -0.3293790817260742, -0.1312776356935501, 0.8694023489952087, 0.6031162142753601, 0.8761868476867676, 0.15406785905361176, 0.3131279945373535, -0.17610961198806763, -0.5023334622383118, -0.19650232791900635, -0.05004670470952988, -0.7463523745536804, 0.0051663778722286224, -0.394779235124588, -0.2871513068675995, -0.4232325553894043, -0.1946921944618225, -0.8451622724533081, -0.698062002658844, -0.0607629269361496, -0.11020996421575546, 0.22884804010391235, 0.5867407917976379, -0.2157294601202011, 0.2972601354122162, -0.4432726800441742, 0.1451413333415985, 0.47431331872940063, 0.28694409132003784, 0.25646770000457764, -0.5137364864349365, -0.6662689447402954, 0.37084314227104187, -0.158078134059906, -0.5386343002319336, 0.07134363800287247, 0.2632334232330322, 0.3675718903541565, 0.6592923998832703, 0.33177515864372253, 0.9407624006271362, -0.697540283203125, 0.8087262511253357, 0.32643482089042664, -0.6210302114486694, 0.29613643884658813, 0.15626952052116394, 0.47192347049713135, 0.8210034966468811, 0.6321178078651428, -0.30641382932662964, -0.43052390217781067, -0.6995029449462891, -0.7063568830490112, 0.8710169792175293, 0.041780985891819, 0.01811945252120495, 0.338858425617218, 0.2365754246711731, 0.12926171720027924, 0.4427903890609741, -0.6566442251205444, -0.42970484495162964, -0.12454250454902649, 0.1742299646139145, -0.41920551657676697, -0.2866169512271881, 0.07662240415811539, -0.49431586265563965, 0.6804088950157166, 0.1992487758398056, 0.08991764485836029, 0.08261416852474213, -0.35009244084358215, 0.10165785998106003, 0.101771779358387, 0.4972849190235138, 0.8781173825263977, -0.2462654411792755, 0.3221271336078644, 0.19441722333431244, -0.8981449007987976, 0.25228577852249146, -0.08674605190753937, -0.20628894865512848, -0.011238016188144684, 0.5187049508094788, 1.0027799606323242, 0.15065526962280273, -0.5136395692825317, 0.37827369570732117, 0.1459621638059616, -0.5701890587806702, 0.05529043823480606, 0.16925914585590363, 0.364818274974823, 0.12289665639400482, 0.2903915047645569, 0.12467477470636368, -0.3169599771499634, -0.500117838382721, 0.15384140610694885, 0.14747588336467743, -0.22429853677749634, -0.19856125116348267, 0.5866247415542603, -0.06642380356788635, -0.12336256355047226, 0.7540562748908997, -0.027245162054896355, -0.46167173981666565, 0.5557978749275208, 0.3563288450241089, 0.7217522263526917, -0.28769105672836304, 0.1105678603053093, 0.1832192838191986, 0.4293540120124817, -0.1079719066619873, -0.10833783447742462, -0.36902037262916565, -0.8318794369697571, -0.5727220773696899, -0.8586966395378113, -0.13921505212783813, 0.3442740738391876, -0.7159367799758911, -0.02608555182814598, -0.5407621264457703, -0.023105718195438385, -0.02817884273827076, 0.21195536851882935, -0.7041683197021484, 0.34008553624153137, -0.08122443407773972, 0.8646575212478638, -0.8197999596595764, 1.1041254997253418, 0.6142917275428772, -0.25617992877960205, -1.1329195499420166, -0.22021962702274323, -0.19913378357887268, -0.6768826246261597, 0.9736831188201904, 0.051173239946365356, 0.14514027535915375, 0.00502056535333395, -0.260776162147522, -0.8416908979415894, 1.1880135536193848, 0.5508728623390198, -0.7397223711013794, -0.13022156059741974, 0.4595542550086975, 0.4348023235797882, -0.25049829483032227, -0.07309246063232422, 0.8711413145065308, 0.11489202827215195, 0.4296766221523285, -1.1848523616790771, -0.1302461326122284, 0.11057081073522568, -0.17697708308696747, 0.2740016281604767, -0.21273073554039001, 1.1917026042938232, -0.2982048988342285, -0.34998807311058044, -0.3949395716190338, 0.4407794773578644, 0.2213309407234192, 0.5052046179771423, 0.5324836373329163, 0.9383879899978638, 0.7410041093826294, -0.15756575763225555, 0.8750356435775757, -0.2949904501438141, 0.2845461964607239, 1.2507729530334473, -0.11273537576198578, 0.6617435812950134, 0.6906763315200806, -0.6941594481468201, 0.4809964895248413, 0.7065545320510864, 0.3633328080177307, 0.7807998657226562, 0.28524085879325867, -0.12212897092103958, -0.21765939891338348, 0.31407979130744934, -0.6315098404884338, 0.16316862404346466, -0.13599279522895813, -0.09905900061130524, -0.24106808006763458, 0.25701189041137695, 0.25342148542404175, 0.07679614424705505, -0.43277910351753235, 0.9228524565696716, 0.3618410527706146, -0.7558409571647644, 0.8507481813430786, -0.13101254403591156, 0.5797306299209595, -0.5688268542289734, 0.3394455313682556, -0.377142071723938, 0.3810311555862427, -0.00915850605815649, -0.12450522929430008, 0.28962385654449463, 0.0246686153113842, -0.30470407009124756, -0.4659552574157715, 0.968917191028595, -0.5575527548789978, -0.27068763971328735, -0.044930458068847656, 0.5782516598701477, 0.2661653459072113, -0.20642490684986115, -0.39308932423591614, -0.11739721894264221, -0.02135281264781952, -0.4544222056865692, 0.8679813146591187, 0.42533618211746216, 0.08359315991401672, 0.6758913993835449, 0.7812938094139099, 0.1934807449579239, 0.36720696091651917, -0.02227196842432022, 1.0446985960006714, -0.12763819098472595, -0.5378929972648621, -1.1759637594223022, 0.435632586479187, 0.1302480548620224, 0.049295879900455475, 0.9271328449249268, 0.4378747045993805, 1.196467399597168, -0.3534996509552002, 0.5480188131332397, 0.0072730230167508125, 0.29632943868637085, -0.7212460041046143, 0.9947014451026917, -0.45413681864738464, 0.21150386333465576, -0.270931601524353, -1.0090281963348389, 0.2977011501789093, 0.5486407279968262, -0.3507596552371979, 0.2876851260662079, 0.738625168800354, 0.5377913117408752, -0.09276998788118362, -0.1667196899652481, 0.25910279154777527, 0.09360279887914658, -0.025046564638614655, 0.4456111192703247, 0.8652082085609436, -0.12939050793647766, 0.2884954512119293, -0.5706064105033875, -0.044033393263816833, 0.029664840549230576, -0.8375287652015686, -1.0198707580566406, -0.6402484178543091, -0.38881224393844604, -0.27337998151779175, -0.12560084462165833, 0.6797532439231873, 0.7559471130371094, -0.6497204303741455, -0.26407256722450256, -0.2882387936115265, 0.15755078196525574, -0.08476782590150833, -0.20727716386318207, 0.2801012694835663, -0.5588744878768921, -0.47812870144844055, 0.22316080331802368, -0.13943277299404144, 0.0194587130099535, -0.2662549316883087, -0.1787167489528656, -0.30245324969291687, 0.2509689927101135, 0.5570594668388367, 0.23897233605384827, -0.4065881669521332, -0.07762166857719421, -0.04986780136823654, -0.008594267070293427, -0.1105986088514328, 1.0270897150039673, -1.1148995161056519, 0.47963088750839233, 0.31084200739860535, 0.694878876209259, 0.9807273149490356, -0.17474403977394104, 0.5897107720375061, -0.9095655083656311, 0.32993650436401367, 0.00359932379797101, -0.06720242649316788, 0.035746123641729355, -0.03771656006574631, 0.2681328356266022, 0.4512613117694855, -0.532463550567627, -1.1589775085449219, 0.12782512605190277, -0.22807440161705017, -0.678943395614624, 0.7833688855171204, -0.36061233282089233, 0.09581757336854935, 0.00884245615452528, 0.04647931456565857, 0.20332016050815582, 0.06886027008295059, 0.6677252054214478, 1.0687896013259888, 0.1025920957326889, 0.029518818482756615, -0.5882397890090942, 1.0252858400344849, 0.3818366825580597, -0.38847407698631287, -0.04076758772134781, 0.3131836950778961, 0.44348886609077454, 0.21203139424324036, 1.0683135986328125, 0.2560110092163086, 0.1389755755662918, 0.2600781321525574, -0.0019631150644272566, -0.26942726969718933, -0.6457844972610474, 0.023030823096632957, 0.15829366445541382, 0.20245476067066193, -0.2967141270637512 ]
http://arxiv.org/abs/2404.19318v1
http://arxiv.org/pdf/2404.19318v1
Enhancing Trust in LLM-Generated Code Summaries with Calibrated Confidence Scores
2024-04-30T07:38:08
2024-04-30T07:38:08
Yuvraj Virk, Premkumar Devanbu, Toufique Ahmed
cs.SE
cs.SE, cs.CL
A good summary can often be very useful during program comprehension. While a brief, fluent, and relevant summary can be helpful, it does require significant human effort to produce. Often, good summaries are unavailable in software projects, thus making maintenance more difficult. There has been a considerable body of research into automated AI-based methods, using Large Language models (LLMs), to generate summaries of code; there also has been quite a bit work on ways to measure the performance of such summarization methods, with special attention paid to how closely these AI-generated summaries resemble a summary a human might have produced. Measures such as BERTScore and BLEU have been suggested and evaluated with human-subject studies. However, LLMs often err and generate something quite unlike what a human might say. Given an LLM-produced code summary, is there a way to gauge whether it's likely to be sufficiently similar to a human produced summary, or not? In this paper, we study this question, as a calibration problem: given a summary from an LLM, can we compute a confidence measure, which is a good indication of whether the summary is sufficiently similar to what a human would have produced in this situation? We examine this question using several LLMs, for several languages, and in several different settings. We suggest an approach which provides well-calibrated predictions of likelihood of similarity to human summaries.
[ -0.226720929145813, -0.1297459453344345, 0.646561861038208, 0.15602129697799683, -0.2403256893157959, 0.18485237658023834, -0.2895214855670929, -0.6008424758911133, 0.29769307374954224, 0.4948466420173645, -0.19197200238704681, -0.5664672255516052, -0.5714675188064575, 0.3344618082046509, -0.45872512459754944, 1.0413293838500977, -0.14258596301078796, 0.0852808877825737, -0.5437419414520264, 0.02137312851846218, -0.20698349177837372, -0.4960940480232239, -0.3734598457813263, -0.8345767855644226, 0.22366809844970703, 0.27835986018180847, 0.749000072479248, 0.5384737253189087, 0.5589536428451538, 0.21309642493724823, 0.10388956218957901, 0.33218663930892944, -0.620101273059845, 0.11659596860408783, 0.11576411873102188, -0.8502079248428345, -0.5157563090324402, 0.09422727674245834, 0.45315372943878174, 0.5208660364151001, 0.07676108181476593, 0.35870885848999023, 0.4682875871658325, 0.697864830493927, -0.4921450614929199, 0.40110889077186584, -0.5694020986557007, -0.08193350583314896, 0.22410735487937927, -0.603668212890625, -0.38786202669143677, -0.7869429588317871, -0.037273306399583817, -0.43484845757484436, 0.17464055120944977, 0.0062906257808208466, 0.8094240427017212, 0.3299753963947296, -0.18821075558662415, -0.4064515233039856, -0.6378266215324402, 0.9621731042861938, -0.991479218006134, -0.14337792992591858, 0.680047869682312, 0.1439841389656067, -0.26560038328170776, -0.38827818632125854, -0.4894278347492218, -0.6178826093673706, -0.17226988077163696, 0.30008748173713684, 0.24710287153720856, -0.025059515610337257, 0.30634790658950806, 0.31693828105926514, -0.47572651505470276, -0.12792235612869263, -0.22619861364364624, -0.5566777586936951, 0.976215660572052, 0.12017105519771576, 0.08301787078380585, -0.25601062178611755, -0.26115137338638306, -0.2880263924598694, -0.9520635604858398, 0.12690608203411102, 0.5803134441375732, -0.07925008237361908, -0.06649306416511536, 0.7368656992912292, -0.11169952154159546, 0.41627323627471924, -0.05047236755490303, -0.3547619879245758, 0.19090941548347473, -0.3829800486564636, -0.1257348358631134, 0.11635667085647583, 0.5301686525344849, 0.9226318597793579, 0.9713019728660583, -0.1492195427417755, -0.3680298924446106, 0.2110319584608078, 0.29489877820014954, -0.7522441744804382, -0.40385761857032776, 0.31184953451156616, -0.5024970769882202, -0.42377349734306335, 0.5043290853500366, -0.2463289499282837, -0.3802359700202942, -0.4177395701408386, 0.2764791250228882, -0.3545955717563629, 0.08184344321489334, -0.30727729201316833, -0.031367331743240356, 0.45235997438430786, 0.40329986810684204, -0.5557065010070801, 0.12756218016147614, 0.7799966931343079, 0.5835282802581787, -0.29938364028930664, -0.42449572682380676, -0.5774070620536804, 0.11547543853521347, -0.6279407739639282, 0.5807176232337952, -0.22008207440376282, -0.6716015934944153, -0.12576016783714294, -0.37677887082099915, 0.1222316175699234, -0.5108428597450256, 0.10094363242387772, -0.46664008498191833, 0.09388510137796402, -0.20926399528980255, -0.8054014444351196, -0.16193285584449768, 0.5711768865585327, -0.5555242300033569, 0.9089249968528748, 0.02662642113864422, -0.9056752920150757, 0.23969058692455292, -0.19225187599658966, -0.514420747756958, -0.21244776248931885, -0.5953216552734375, -0.4424043297767639, 0.23632510006427765, 0.13188181817531586, 0.5782853364944458, -0.09897397458553314, 0.14241011440753937, -0.32613006234169006, -0.6490784883499146, 0.7881212830543518, -0.44927313923835754, 0.5490488409996033, 0.198735311627388, -0.20726850628852844, -0.1461278349161148, -0.4727807343006134, 0.3904051184654236, -0.28627505898475647, -0.36606746912002563, -0.2933026850223541, -0.03789989650249481, -0.2197510302066803, -0.18814775347709656, 0.6015142202377319, -0.3133907914161682, -0.18508295714855194, -0.5286369919776917, -0.05158640071749687, 0.7362996935844421, 0.2739841639995575, 0.314612478017807, -0.9087539911270142, 0.6249217391014099, -0.21743243932724, -0.029516898095607758, -0.47261109948158264, -0.4423602819442749, -0.6250033974647522, -0.02592277154326439, 0.39312806725502014, 0.6333469748497009, -0.6486139893531799, 0.5444109439849854, -0.44033122062683105, -0.48188039660453796, -0.31569984555244446, 0.3459480404853821, 0.6437143087387085, 0.46506357192993164, -0.00329436338506639, -0.6268925070762634, -0.28379568457603455, -0.9013688564300537, -0.40151143074035645, -0.5932206511497498, -0.3965309262275696, 0.33834636211395264, 0.3776462972164154, 0.0008714312571100891, 1.0461771488189697, -0.6406862139701843, -0.11700168251991272, -0.05290248990058899, 0.3723736107349396, 0.19490094482898712, 0.38435620069503784, 0.6029647588729858, -0.6661296486854553, -0.6551191806793213, -0.05499611049890518, -0.7090662717819214, -0.1587827205657959, -0.18425534665584564, 0.0855722427368164, 0.2272513210773468, 0.5640342831611633, -0.2850113809108734, 0.4743284583091736, 0.5979995131492615, 0.07286590337753296, 0.677047073841095, -0.5116721391677856, 0.4786432683467865, -1.5155482292175293, 0.30037543177604675, -0.08805467188358307, -0.5713062286376953, -0.20411886274814606, 0.28772252798080444, 0.07286739349365234, 0.3036070764064789, -0.2244407832622528, 0.26639559864997864, -0.38374945521354675, -0.3065415024757385, -0.363374799489975, 0.11545494943857193, 0.06605584174394608, 0.20041026175022125, -0.09865300357341766, 0.9694674015045166, 0.3970043957233429, -0.49575990438461304, 0.22085070610046387, 0.07531487941741943, -0.434602826833725, 0.5546234846115112, -0.8458766341209412, 0.1505565196275711, 0.004613101482391357, 0.2639666497707367, -1.0766905546188354, -0.35501620173454285, -0.17365792393684387, -0.91766357421875, 0.24823428690433502, -0.06492337584495544, -0.5708101391792297, 0.005744731053709984, -0.7733968496322632, 0.25467073917388916, 0.6451906561851501, -0.15981300175189972, 0.571706235408783, 0.18724563717842102, -0.4089038074016571, -0.6824156045913696, -0.9982585310935974, 0.07033383846282959, -0.15398263931274414, -0.5296592116355896, 0.20883139967918396, -0.2715493440628052, -0.42063453793525696, -0.17632988095283508, -0.1471141278743744, -0.12978717684745789, 0.1929435431957245, 0.658476710319519, 0.41434839367866516, -0.10061747580766678, -0.06673436611890793, 0.007362057454884052, -0.0963936597108841, 0.3075157403945923, 0.16881997883319855, 0.23227863013744354, -0.14418965578079224, -0.550590991973877, -0.25649306178092957, 0.280830979347229, 0.7677320241928101, -0.10156886279582977, 0.4001156687736511, 0.46859169006347656, -0.30244141817092896, -0.19024506211280823, -0.627334713935852, -0.3961397409439087, -0.41073206067085266, 0.12788818776607513, -0.15621159970760345, -0.7245286703109741, 0.6970327496528625, -0.04808879643678665, 0.08039387315511703, 0.18765367567539215, 0.6807463765144348, -0.36326679587364197, 0.8790656924247742, 0.7506195306777954, -0.4813181161880493, 0.2647691071033478, -0.12908227741718292, -0.02308223582804203, -0.6314571499824524, -0.08517099171876907, -0.6022610068321228, -0.23352976143360138, -0.6682424545288086, -0.4738469123840332, 0.4930935800075531, -0.03078651987016201, 0.1329721212387085, 0.3399885594844818, -0.11525645107030869, 0.7342310547828674, 0.7005004286766052, 0.05719510093331337, 0.5187541842460632, -0.02902456559240818, -0.07814931124448776, 0.18627728521823883, -0.3158056437969208, -0.9469383358955383, 1.2657861709594727, 0.23712672293186188, 0.9971805810928345, 0.03842388838529587, 1.13499915599823, 0.5437527298927307, 0.5516449213027954, -0.5264222025871277, 0.4553426206111908, 0.06078236922621727, -0.3118741810321808, -0.21782967448234558, -0.6491374969482422, -0.800076961517334, -0.19823329150676727, -0.20133569836616516, -0.7732850909233093, -0.2769951820373535, 0.4183797240257263, -0.4519380033016205, -0.20168469846248627, -0.7009835243225098, 0.27593833208084106, -0.08736421912908554, -0.024798210710287094, -0.40306705236434937, -0.6779055595397949, 0.33990663290023804, -0.2913040518760681, 0.19520048797130585, -0.13601644337177277, 0.022663742303848267, 0.5593394637107849, -0.28171953558921814, 0.8995711803436279, 0.18335650861263275, -0.1444523185491562, 0.45644012093544006, 0.4280724823474884, 0.4693329334259033, 0.31212201714515686, -0.3653769791126251, 0.013843781314790249, 0.18736793100833893, -0.3083471953868866, -0.5899224281311035, 0.7863965034484863, -0.6985385417938232, -0.43341684341430664, -0.29583293199539185, -0.6394934058189392, -0.1040862649679184, 0.12552957236766815, 0.3814723491668701, 0.30111896991729736, -0.248778834939003, 0.09113165736198425, 0.5317516922950745, -0.15471182763576508, 0.432782381772995, 0.2345731258392334, -0.16764673590660095, -0.3678867220878601, 0.6733335256576538, -0.15653587877750397, 0.4362039268016815, 0.4161909222602844, 0.06449998170137405, -0.2793858051300049, -0.4533167779445648, -0.30250680446624756, 0.15485575795173645, -0.5769709348678589, -0.4908803701400757, 0.0650738775730133, -0.28143540024757385, -0.3790833353996277, -0.26607391238212585, -0.19284933805465698, -0.42322584986686707, -0.3212684094905853, -0.01815519854426384, 0.28249457478523254, 0.7190974354743958, 0.10832129418849945, 0.021493731066584587, -0.9939298033714294, 0.266059935092926, 0.15582580864429474, 0.30104202032089233, 0.017824286594986916, -0.5507950186729431, -0.3099513053894043, 0.3143356442451477, -0.23653434216976166, -0.8119051456451416, 0.37426576018333435, 0.16746261715888977, 0.5656852722167969, 0.31677770614624023, 0.3624749183654785, 0.5909934639930725, -0.22895607352256775, 0.8974519371986389, 0.12023317813873291, -0.9247795939445496, 0.46481749415397644, -0.10250751674175262, 0.17823205888271332, 0.8116334676742554, 0.2744497060775757, -0.1398334801197052, -0.8642460703849792, -0.5210675597190857, -0.5254882574081421, 0.2411268949508667, 0.5423068404197693, 0.3084970712661743, 0.13781578838825226, 0.43124035000801086, 0.03951100632548332, 0.28555357456207275, -0.6252461075782776, -0.21343448758125305, 0.06434138864278793, -0.3440530300140381, -0.3933764398097992, -0.07929003238677979, -0.1785641461610794, 0.28868362307548523, 0.5440644025802612, -0.34651637077331543, 0.07163885235786438, 0.3394249677658081, -0.2685079872608185, -0.19036485254764557, 0.22451850771903992, 0.6896213889122009, 0.931598961353302, -0.34224167466163635, 0.2807322144508362, 0.21568000316619873, -0.5322075486183167, -0.08379579335451126, -0.10692174732685089, -0.25644391775131226, -0.08610183745622635, 0.6884849071502686, 0.22243483364582062, 0.010786664672195911, -0.834879457950592, 0.7036824822425842, -0.05939106270670891, -0.16061843931674957, -0.4888475239276886, 0.25923389196395874, 0.041448213160037994, 0.24591590464115143, 0.34334173798561096, 0.19948790967464447, 0.09071668237447739, -0.4800757169723511, 0.45942267775535583, 0.3137296736240387, -0.20445416867733002, -0.13099068403244019, 0.38408705592155457, 0.1806001216173172, -0.3268639147281647, 0.5475214719772339, -0.1570371389389038, -0.5728870630264282, 0.805553138256073, 0.3182685375213623, 0.7879998683929443, -0.028099142014980316, 0.09347805380821228, 0.29455703496932983, 0.32494020462036133, -0.255306601524353, 0.35566970705986023, -0.07813438773155212, -0.7221643924713135, -0.6997801661491394, -0.4804229736328125, -0.7413830161094666, -0.3376246988773346, -0.8231515884399414, -0.020992211997509003, -0.27795687317848206, -0.25903216004371643, -0.5172119736671448, 0.18977554142475128, -0.48801442980766296, 0.12126810103654861, 0.24962341785430908, 0.8760659098625183, -0.9671007990837097, 0.872617781162262, 0.566245436668396, -0.30530524253845215, -1.082045078277588, 0.31819406151771545, -0.19347615540027618, -0.7551466822624207, 0.20688496530056, 0.2056218534708023, -0.32824426889419556, -0.24303174018859863, -0.4719148576259613, -0.5673161149024963, 1.417762041091919, 0.49988558888435364, -0.43494999408721924, 0.1254548281431198, 0.17107278108596802, 0.7267594337463379, -0.3629298210144043, 0.24094952642917633, 0.3596360981464386, 0.3776308000087738, 0.03207309544086456, -1.1176859140396118, 0.03923097252845764, -0.12294461578130722, 0.06363757699728012, -0.09814495593309402, -0.39332208037376404, 0.6731141209602356, -0.3981718420982361, 0.00460765790194273, 0.40076079964637756, 0.6304697394371033, 0.49473145604133606, 0.4620590806007385, 0.46957576274871826, 0.16734614968299866, 0.8669644594192505, 0.2203766405582428, 1.2832716703414917, -0.642228364944458, 0.40640899538993835, 1.3436269760131836, -0.34540361166000366, 0.987521231174469, 0.52628093957901, -0.11775034666061401, 0.4435276687145233, 0.38844260573387146, -0.0047455341555178165, 0.22375890612602234, 0.3662950396537781, -0.04500803351402283, -0.2995249032974243, 0.09814564883708954, -0.35668933391571045, 0.4280122220516205, 0.18067176640033722, -0.68089359998703, -0.10587143898010254, -0.5699970126152039, -0.06435447931289673, 0.40698373317718506, -0.26877447962760925, 0.7871467471122742, 0.4920884370803833, -1.0006824731826782, 0.3479938805103302, 0.015795152634382248, 0.5459778308868408, -0.5577496290206909, -0.09069289267063141, -0.30768635869026184, 0.13359439373016357, -0.2707252502441406, -0.8652015328407288, 0.3122135102748871, 0.2230570763349533, -0.19637203216552734, -0.10145559161901474, 0.6241610050201416, -0.38339728116989136, -0.5739120244979858, 0.05177152156829834, 0.680052638053894, 0.4507432281970978, -0.10645440965890884, -0.39966335892677307, -0.02204471081495285, 0.24930115044116974, -0.14362196624279022, 0.3272286653518677, 0.1369878202676773, 0.021324384957551956, 0.7199395895004272, 0.5268559455871582, 0.3395927846431732, -0.09017235040664673, 0.056837305426597595, 0.5189926624298096, -0.4029328525066376, -0.4524393677711487, -0.9536126852035522, 0.19425112009048462, -0.19705860316753387, -0.09678364545106888, 0.9064817428588867, 0.6423430442810059, 0.8183532953262329, -0.10489670187234879, 0.8002217411994934, 0.2815561592578888, 0.3776790499687195, -0.6040958166122437, 0.9384793639183044, -0.2444787472486496, 0.4437790513038635, -0.4560382664203644, -1.1853833198547363, -0.3388940989971161, 0.7794449329376221, -0.11437281966209412, 0.12399336695671082, 0.5292230844497681, 1.1116939783096313, 0.12022843211889267, -0.19216175377368927, 0.3857771158218384, 0.03160541132092476, 0.2401527464389801, 0.6881217360496521, 0.7369819283485413, -0.31838712096214294, 0.5568851828575134, -0.2106558233499527, -0.29571664333343506, -0.3014175295829773, -1.2777979373931885, -0.9073746204376221, -0.33616307377815247, -0.3502013683319092, -0.42077916860580444, -0.19560445845127106, 0.9763319492340088, 0.6923918724060059, -0.8255373239517212, -0.3812260925769806, 0.1285480260848999, 0.1839403212070465, -0.12668739259243011, -0.1420976221561432, 0.3424420654773712, 0.019107110798358917, -0.6273810267448425, 0.06545382738113403, 0.12331295758485794, 0.30185550451278687, -0.38669437170028687, -0.4225345253944397, 0.5159952044487, 0.3643440008163452, 0.3850219249725342, 0.04899761453270912, -0.6600990295410156, -0.5204014182090759, -0.05509842187166214, -0.33162644505500793, -0.05509753152728081, 0.7322831153869629, -0.7680104970932007, 0.29033708572387695, 0.5938348174095154, 0.6104559302330017, 0.2890217900276184, 0.3597739040851593, 0.9040251970291138, -1.0084768533706665, -0.331500381231308, 0.23983734846115112, 0.4328230023384094, 0.40226590633392334, -0.42465490102767944, 0.4149962365627289, -0.3681751489639282, -0.695229709148407, -0.6552107334136963, 0.23501114547252655, -1.103827953338623, 0.06120448186993599, 1.139678716659546, -0.6174585819244385, -0.07913593202829361, 0.09071441739797592, -0.20571310818195343, 0.1577000617980957, -0.38802462816238403, 1.0597858428955078, 0.7021114230155945, -0.1680571436882019, 0.22640448808670044, -0.18652281165122986, 0.33335039019584656, 0.300504207611084, -0.875035285949707, 0.09731701016426086, 0.515322208404541, 0.4209440052509308, 0.3900200426578522, 0.5267146229743958, -0.15973077714443207, 0.5976995229721069, -0.08440609276294708, -0.04878000542521477, -0.11363208293914795, -0.19281058013439178, -0.17575155198574066, 0.1788543313741684, 0.557901918888092, -0.09888860583305359 ]
http://arxiv.org/abs/2404.19317v1
http://arxiv.org/pdf/2404.19317v1
Revisiting N-Gram Models: Their Impact in Modern Neural Networks for Handwritten Text Recognition
2024-04-30T07:37:48
2024-04-30T07:37:48
Solène Tarride, Christopher Kermorvant
cs.CV
cs.CV, cs.CL
In recent advances in automatic text recognition (ATR), deep neural networks have demonstrated the ability to implicitly capture language statistics, potentially reducing the need for traditional language models. This study directly addresses whether explicit language models, specifically n-gram models, still contribute to the performance of state-of-the-art deep learning architectures in the field of handwriting recognition. We evaluate two prominent neural network architectures, PyLaia and DAN, with and without the integration of explicit n-gram language models. Our experiments on three datasets - IAM, RIMES, and NorHand v2 - at both line and page level, investigate optimal parameters for n-gram models, including their order, weight, smoothing methods and tokenization level. The results show that incorporating character or subword n-gram models significantly improves the performance of ATR models on all datasets, challenging the notion that deep learning models alone are sufficient for optimal performance. In particular, the combination of DAN with a character language model outperforms current benchmarks, confirming the value of hybrid approaches in modern document analysis systems.
[ 0.07041432708501816, -0.4835350215435028, 0.6223539113998413, -0.36544668674468994, -0.158499613404274, -0.04062690585851669, -0.05553312972187996, -0.774311363697052, 0.0361233688890934, 0.5165321826934814, -0.04588443040847778, -0.6153601408004761, -0.7811247706413269, 0.17091681063175201, -0.5301517248153687, 0.7067687511444092, -0.12696419656276703, 0.11315581947565079, -0.18457713723182678, -0.08542809635400772, 0.27260875701904297, -0.6220703721046448, -0.6586836576461792, -0.3502084016799927, 0.6539351940155029, 0.2343231439590454, 0.5873348712921143, 0.7331030368804932, 0.7761874198913574, 0.34716710448265076, -0.20520144701004028, 0.19876477122306824, 0.10456836968660355, -0.03496425598859787, 0.5805615186691284, -0.4760800004005432, -0.8893031477928162, 0.22969530522823334, 0.8338629007339478, 0.8197684288024902, 0.26565617322921753, -0.16161894798278809, 0.0261478740721941, 0.37529757618904114, -0.6589131951332092, 0.06477560847997665, -0.1346379816532135, -0.047535739839076996, -0.36696261167526245, 0.1654752790927887, -0.48507174849510193, -0.5707821249961853, 0.39037638902664185, -0.6064402461051941, 0.36556753516197205, -0.3042646050453186, 0.7385281324386597, -0.10666579008102417, -0.37009820342063904, -0.6922399997711182, -0.5855674147605896, 0.5227836966514587, -1.0533447265625, 0.3780043423175812, 0.3076232075691223, 0.2669455409049988, -0.12141232937574387, -0.869864284992218, -0.6076482534408569, -0.4418250024318695, -0.19516034424304962, -0.007429073099046946, -0.14714469015598297, 0.22794616222381592, 0.22397440671920776, 0.6628579497337341, -0.2154180109500885, 0.45027631521224976, -0.23920834064483643, -0.18810588121414185, 0.6376932859420776, 0.2612427771091461, 0.4801817834377289, 0.08325465023517609, 0.011896790005266666, -0.1882144957780838, -0.5076713562011719, 0.234147846698761, 0.7225614190101624, 0.5001774430274963, -0.12385265529155731, 0.3583436906337738, 0.06553156673908234, 0.8619490265846252, -0.019587764516472816, -0.17436619102954865, 0.12466467916965485, -0.2247668206691742, -0.34287795424461365, -0.22549404203891754, 0.8787027597427368, 0.0702538713812828, 0.3926120102405548, -0.3340843915939331, -0.20501336455345154, 0.05015958845615387, 0.06573028862476349, -0.9275302886962891, -0.4218243658542633, -0.33972665667533875, -0.796069324016571, -0.48539045453071594, 0.29999014735221863, -0.9099701642990112, -0.824927031993866, -0.5021569728851318, 0.09964859485626221, -0.160570427775383, -0.48339974880218506, 0.18242894113063812, -0.25661686062812805, 0.2002946138381958, 0.45882922410964966, -0.9977630376815796, 0.6167561411857605, 0.5741127729415894, 0.7251166701316833, 0.04584452882409096, -0.11437801271677017, -0.33544763922691345, -0.44565096497535706, -0.4723539650440216, 0.5367333292961121, -0.5101271271705627, -0.46589359641075134, 0.06164058670401573, -0.17040535807609558, -0.23179076611995697, -0.5795670747756958, 0.6464632153511047, -0.37892842292785645, 0.04282763600349426, -0.18441002070903778, -0.559686005115509, -0.08718810230493546, 0.004737124312669039, -0.9156875014305115, 0.7966882586479187, -0.20905235409736633, -0.5423716306686401, 0.6238015294075012, -0.35665860772132874, -0.7379241585731506, -0.03235586732625961, -0.033353302627801895, -0.7277718186378479, 0.5452500581741333, 0.1673065423965454, 0.9146865010261536, -0.36957815289497375, -0.07827956229448318, -0.45306649804115295, -0.5169152617454529, 0.2484566569328308, -0.8710496425628662, 0.8419957160949707, -0.04191991686820984, -0.0784602165222168, -0.13287247717380524, -1.342174768447876, -0.09252820163965225, 0.005715528037399054, -0.7755663394927979, -0.2724226713180542, -0.21346794068813324, 0.34025365114212036, -0.026381587609648705, 0.16777995228767395, -0.8800052404403687, 0.19231918454170227, -0.30331704020500183, 0.4809280037879944, 0.3210068941116333, -0.3432386517524719, 0.6383742094039917, -0.055194828659296036, 0.3557646870613098, -0.32971471548080444, -0.12077353149652481, -0.19159048795700073, -0.44111794233322144, -0.833025336265564, -0.3213544189929962, 0.6126657128334045, 0.355550080537796, -0.41550567746162415, 0.24707436561584473, -0.24249683320522308, -0.5088751912117004, -0.4125412404537201, 0.03491339087486267, 0.6746495366096497, 0.2963649034500122, 0.09291481971740723, -0.4430045485496521, -0.4093063175678253, -0.7789648175239563, -0.32354119420051575, -0.28716379404067993, -0.04220377653837204, 0.46421700716018677, 0.2552044689655304, 0.1950434446334839, 0.5437949895858765, -0.18345101177692413, -0.2221982777118683, -0.3246413469314575, 0.46925896406173706, 0.2775217294692993, 0.18946844339370728, 0.4599117934703827, -0.6077497005462646, -0.6877732872962952, 0.12025436758995056, -0.7696794271469116, -0.14299018681049347, -0.049709830433130264, 0.3690311312675476, 0.551243782043457, 0.7664297819137573, -0.2502456307411194, 0.7341697812080383, 0.3719198703765869, -0.21834293007850647, 0.38711270689964294, -0.45095932483673096, -0.15192469954490662, -0.7147126197814941, 0.35865670442581177, 0.2128901183605194, -0.016550466418266296, -0.8843235373497009, -0.08138280361890793, 0.5256524682044983, -0.03120594657957554, -0.19455891847610474, 0.5844462513923645, -0.9817723035812378, -0.41829779744148254, -0.5755875110626221, -0.3446974754333496, 0.0310905072838068, 0.4084881544113159, 0.3018229007720947, 0.8296228647232056, 0.39291632175445557, -0.45459097623825073, 0.019922733306884766, -0.009163533337414265, -0.5194383859634399, 0.4833492636680603, -0.4944303035736084, 0.33135178685188293, -0.18663080036640167, 0.1863735467195511, -1.1392393112182617, -0.11674349009990692, 0.15078434348106384, -0.4904833734035492, 0.7808547019958496, -0.11073152720928192, -0.47681859135627747, -0.3887491822242737, -0.1280360370874405, 0.2509154975414276, 0.36524656414985657, -0.5783671140670776, 1.1550952196121216, 0.25244539976119995, 0.22037553787231445, -0.4133859872817993, -0.6487099528312683, 0.39543280005455017, -0.048730019479990005, -0.4569016695022583, 0.38509345054626465, 0.4102887809276581, -0.18755702674388885, -0.2826160788536072, -0.13055473566055298, -0.18752877414226532, 0.2824563682079315, 0.3391473591327667, 0.31339195370674133, -0.30395326018333435, -0.19834086298942566, -0.3480069041252136, -0.35590559244155884, 0.05510779470205307, -0.2824919819831848, 0.3198621869087219, -0.012819969095289707, 0.00900939479470253, -0.9116101861000061, 0.15208803117275238, 0.8819689750671387, -0.4287129044532776, 0.5626702308654785, 0.29712650179862976, -0.3066210448741913, -0.10913113504648209, -0.39434435963630676, 0.11500110477209091, -0.41355347633361816, 0.17970974743366241, -0.5420057773590088, -0.4611777067184448, 0.45050927996635437, 0.13318173587322235, 0.06898879259824753, 0.3828461766242981, 0.3002367913722992, -0.18977750837802887, 0.36786749958992004, 0.5029692649841309, -0.33922916650772095, 0.6646779775619507, -0.21731147170066833, 0.3667532205581665, -0.9199593663215637, -0.02074177749454975, -0.5278969407081604, -0.4273713529109955, -0.34002426266670227, -0.1830786019563675, 0.06742209196090698, -0.3452012240886688, 0.20703630149364471, 0.43150198459625244, -0.1698429137468338, 0.6472384333610535, 0.6148753762245178, 0.09326711297035217, 0.11449339240789413, -0.10512866079807281, -0.18296274542808533, 0.32026076316833496, -0.48567652702331543, -0.7822901606559753, 1.6499321460723877, 0.47636616230010986, 0.5984459519386292, -0.17742493748664856, 0.8448936343193054, -0.028172414749860764, 0.34167495369911194, -0.7475346922874451, 0.6529722213745117, -0.930853545665741, -0.30682703852653503, -0.2098631113767624, -0.15909327566623688, -0.8382498621940613, 0.24272452294826508, -0.23658375442028046, -0.3342894911766052, 0.6046633720397949, -0.059210434556007385, -0.7187516093254089, 0.4723562002182007, -0.5711144804954529, 0.5276983380317688, -0.2774219810962677, -0.3157815933227539, 0.4141855835914612, -0.49432194232940674, 0.15102213621139526, 0.20205406844615936, -0.13940300047397614, 0.10933570563793182, -0.05246204882860184, 0.6020092964172363, -0.3255615532398224, 1.1028556823730469, -0.16793261468410492, -0.4637899100780487, 0.30116865038871765, -0.0814896747469902, 0.5021610260009766, -0.40893131494522095, -0.29217320680618286, 0.3429548442363739, -0.41878244280815125, 0.03642313927412033, -0.4891670346260071, 0.5282381176948547, -0.6666268706321716, -0.08490069210529327, -0.2571532130241394, -0.3808116018772125, 0.1171921044588089, 0.255597323179245, 0.24768191576004028, 0.9921073317527771, -0.20989049971103668, 0.1828984022140503, 0.5016626119613647, -0.01862417720258236, 0.817191481590271, 0.2396264523267746, 0.07427028566598892, -0.5406583547592163, 0.8060760498046875, 0.5487672090530396, 0.25318676233291626, 0.2937162518501282, 0.05097188428044319, -0.2372586727142334, -0.9852405786514282, -0.6704889535903931, 0.04379287362098694, -0.7269883155822754, 0.1621917486190796, -0.8778294920921326, -0.2041500359773636, -0.2751021087169647, -0.10919047892093658, 0.05470690503716469, -0.4223390519618988, -0.7330603003501892, -0.055154066532850266, -0.04300215095281601, 0.8056997060775757, 0.18242000043392181, 0.41851431131362915, -0.6468904614448547, 0.28668639063835144, 0.1799146831035614, 0.4599619507789612, 0.35383111238479614, -0.22200943529605865, -0.061080459505319595, -0.36436089873313904, 0.0953737422823906, -0.8251919746398926, 0.0801127701997757, 0.19627399742603302, 0.5427701473236084, 0.3858090341091156, -0.41279107332229614, 0.2999785840511322, -0.4819823205471039, 0.30460062623023987, -0.02909410186111927, -0.738898754119873, -0.20377567410469055, -0.6793599128723145, 0.15846650302410126, 0.6910088658332825, 0.04675789922475815, -0.36801013350486755, -0.06428109854459763, -0.4031168818473816, -0.6307812929153442, 0.597467303276062, 0.12212517857551575, 0.16881439089775085, 0.19184261560440063, 0.5497226119041443, 0.1567193567752838, 0.13210676610469818, -0.6665567755699158, 0.014102492481470108, 0.11367109417915344, -0.641801118850708, -0.06932223588228226, -0.39425182342529297, 0.5954217910766602, -0.23177751898765564, 0.41300085186958313, -0.04513561725616455, 0.21522516012191772, 0.01968398690223694, -0.09117769449949265, 0.18970777094364166, -0.1154230535030365, 0.4895326793193817, 0.1669985055923462, -0.10180442780256271, -0.08869238197803497, -0.08020586520433426, -0.7743070125579834, 0.292411744594574, 0.1363828182220459, -0.35024747252464294, -0.0388483852148056, 0.7765502333641052, 0.9549936056137085, 0.2780255675315857, -0.13768532872200012, 0.4207956790924072, -0.06959197670221329, -0.6460448503494263, -0.2996624708175659, 0.16513691842556, -0.015444551594555378, 0.20686383545398712, 0.0815187618136406, -0.015681147575378418, 0.2910284101963043, -0.5011309385299683, 0.06613560765981674, 0.6431721448898315, -0.008471757173538208, -0.12578226625919342, 0.47470325231552124, 0.2244197428226471, -0.6358819007873535, 0.6388819217681885, 0.13332833349704742, -0.4838043451309204, 0.9275608062744141, 0.4358487129211426, 1.153010368347168, -0.08953024446964264, 0.13894027471542358, 0.34174391627311707, 0.1315455585718155, -0.09350374341011047, 0.27093926072120667, -0.289171427488327, -0.5853105187416077, 0.06251689046621323, -0.6290621757507324, -0.3765840232372284, -0.02957548014819622, -0.44942548871040344, 0.2559393644332886, -0.9620981216430664, -0.28523221611976624, 0.30465933680534363, 0.08739058673381805, -0.47726917266845703, 0.4423660933971405, 0.49610191583633423, 0.6492174863815308, -0.859446108341217, 0.8010632991790771, 0.3583180010318756, -0.38647526502609253, -0.569282591342926, 0.2691642642021179, 0.06315262615680695, -0.5941970944404602, 0.6286807656288147, 0.5002517104148865, -0.26586368680000305, 0.0638638511300087, -0.03325721248984337, -0.9910847544670105, 0.9233298897743225, -0.030833853408694267, -0.6316429972648621, -0.1865512877702713, 0.215374156832695, 0.830700159072876, -0.27676624059677124, 0.3995039165019989, 0.5975919961929321, 0.4122614860534668, 0.1072453111410141, -0.8727569580078125, -0.2196549028158188, -0.4955575466156006, 0.05956730246543884, 0.6355916261672974, -0.40609341859817505, 1.1447882652282715, 0.05213062837719917, -0.4017104208469391, 0.5321251153945923, 0.6628098487854004, -0.17427760362625122, 0.3235832154750824, 0.25742825865745544, 0.7618023753166199, 0.8575516939163208, -0.024147622287273407, 1.181395173072815, 0.0207695122808218, -0.3698076009750366, 0.8594094514846802, -0.4526129364967346, 0.947492778301239, 0.25366759300231934, -0.23220868408679962, 0.5663096904754639, 0.21036580204963684, -0.15992780029773712, 0.23876690864562988, 0.5255837440490723, -0.29088184237480164, -0.028642721474170685, 0.26468634605407715, 0.04713401198387146, 0.5317511558532715, 0.0026490893214941025, -0.7462587952613831, -0.3082740604877472, 0.10009527951478958, 0.21145747601985931, 0.2025388479232788, -0.4220520555973053, 0.9545505046844482, -0.05677558854222298, -0.544877290725708, 0.34794381260871887, 0.3120463192462921, 0.9112534523010254, -0.3189733624458313, 0.08643286675214767, -0.2779827117919922, 0.5241104364395142, -0.200482577085495, -0.3452436923980713, 0.24984776973724365, 0.07557954639196396, -0.23547551035881042, -0.2608347237110138, 0.9980605244636536, -0.3627420663833618, -1.04972505569458, 0.237684428691864, 0.048716384917497635, 0.10151860117912292, 0.028722772374749184, -0.20445284247398376, -0.10667368769645691, -0.36993807554244995, -0.018749652430415154, 0.3301067352294922, 0.2934235632419586, -0.07345443218946457, 0.15208099782466888, 0.9082633256912231, -0.017511658370494843, 0.36073780059814453, -0.03492420166730881, 0.6158626675605774, -0.34706053137779236, -0.5269729495048523, -0.9939425587654114, 0.3566674292087555, -0.16447336971759796, -0.4152984917163849, 0.7873034477233887, 0.4171139597892761, 0.48465821146965027, 0.06344062834978104, 0.791742205619812, 0.31778353452682495, 0.4252146780490875, -0.7683050036430359, 1.0443276166915894, -0.5391970872879028, -0.09715487062931061, -0.4982592463493347, -0.7991740107536316, -0.7100624442100525, 0.7609270811080933, -0.5271776914596558, 0.2533257007598877, 0.48144033551216125, 0.501430332660675, -0.05182893946766853, 0.2640227973461151, 0.1678200215101242, -0.2968161106109619, 0.34477442502975464, 0.6850307583808899, 0.5496789813041687, -0.7167355418205261, 0.14011941850185394, 0.032027918845415115, -0.14671292901039124, -0.19651924073696136, -0.9527806043624878, -1.135776400566101, -0.4881362318992615, -0.18242256343364716, -0.10572346299886703, -0.10485823452472687, 0.49010926485061646, 0.35509684681892395, -0.4576725959777832, -0.33188286423683167, -0.35828033089637756, -0.3716138005256653, 0.03846651688218117, -0.01791168749332428, 0.518757700920105, -0.056917790323495865, -0.7865408062934875, 0.43641015887260437, 0.19115975499153137, 0.4568175971508026, -0.13599756360054016, 0.028999490663409233, -0.06307712197303772, 0.17572124302387238, 0.23629577457904816, 0.3530706763267517, -0.6424958109855652, 0.4066890478134155, 0.18824414908885956, -0.28045597672462463, 0.08500504493713379, 1.0631002187728882, -0.6260177493095398, 0.22876572608947754, 0.6195840239524841, 0.9539556503295898, 0.31286463141441345, -0.15078935027122498, 0.5757607817649841, -0.27939578890800476, -0.013626866973936558, 0.1287558674812317, 0.4634508490562439, 0.41383376717567444, -0.3620718717575073, 0.2859833240509033, 0.1410771757364273, -0.20852512121200562, -0.8344713449478149, 0.04003359004855156, -0.3412860929965973, -0.20058520138263702, 1.0096129179000854, -0.3180701732635498, -0.3297254145145416, -0.15651346743106842, -0.2531835734844208, 0.19813282787799835, -0.045132290571928024, 0.4278525710105896, 1.0086939334869385, 0.20639240741729736, -0.32501065731048584, -0.30552399158477783, 0.4831453263759613, 0.38762712478637695, -0.7058400511741638, 0.35438475012779236, 0.7228271961212158, 0.04033137485384941, 0.11214099079370499, 0.9214422702789307, -0.19788858294487, 0.20020829141139984, 0.08743004500865936, 0.05899987742304802, -0.6055930256843567, -0.9122714400291443, -0.7515577077865601, 0.3484205901622772, -0.09745451807975769, -0.2990991473197937 ]
http://arxiv.org/abs/2404.19316v1
http://arxiv.org/pdf/2404.19316v1
QLSC: A Query Latent Semantic Calibrator for Robust Extractive Question Answering
2024-04-30T07:34:42
2024-04-30T07:34:42
Sheng Ouyang, Jianzong Wang, Yong Zhang, Zhitao Li, Ziqi Liang, Xulong Zhang, Ning Cheng, Jing Xiao
cs.CL
cs.CL
Extractive Question Answering (EQA) in Machine Reading Comprehension (MRC) often faces the challenge of dealing with semantically identical but format-variant inputs. Our work introduces a novel approach, called the ``Query Latent Semantic Calibrator (QLSC)'', designed as an auxiliary module for existing MRC models. We propose a unique scaling strategy to capture latent semantic center features of queries. These features are then seamlessly integrated into traditional query and passage embeddings using an attention mechanism. By deepening the comprehension of the semantic queries-passage relationship, our approach diminishes sensitivity to variations in text format and boosts the model's capability in pinpointing accurate answers. Experimental results on robust Question-Answer datasets confirm that our approach effectively handles format-variant but semantically identical queries, highlighting the effectiveness and adaptability of our proposed method.
[ -0.159086674451828, -0.6796228885650635, 0.5232064723968506, -0.21026895940303802, -0.3344349265098572, -0.038103796541690826, 0.1735629141330719, -0.08830031752586365, 0.1462072730064392, 0.6731554865837097, -0.8941759467124939, -0.38248080015182495, -0.4903663694858551, 0.08920934051275253, -0.157621830701828, 0.9320123791694641, 0.08594685792922974, 0.015451125800609589, -0.5026730895042419, -0.4948970079421997, -0.2359561026096344, -0.3023636043071747, -0.486492782831192, 0.13263611495494843, 0.7562716603279114, 0.3117879331111908, 0.8283780217170715, 0.41717806458473206, 0.6070650219917297, 0.18126924335956573, -0.1752931922674179, 0.4621250629425049, -0.3482452630996704, 0.43105876445770264, -0.16975204646587372, -0.8689913749694824, -0.48715224862098694, -0.017517730593681335, 0.7691011428833008, 0.6717838048934937, -0.2539174258708954, 0.21520760655403137, 0.0689534991979599, 0.7057790756225586, -0.8479049801826477, -0.17218132317066193, -0.7744435667991638, 0.04495476931333542, 0.2854137420654297, -0.47680792212486267, -0.6189891695976257, -0.29046931862831116, 0.10318724066019058, -0.6935822367668152, 0.15993545949459076, 0.03580336272716522, 0.6748761534690857, 0.784432590007782, -0.605316162109375, -0.284234881401062, -0.42481765151023865, 0.9621332287788391, -0.6250918507575989, 0.4740542769432068, 0.6945516467094421, 0.6817141175270081, 0.24467606842517853, -0.9454010128974915, -0.45961546897888184, -0.0278763584792614, -0.19283179938793182, 0.33915287256240845, 0.1721443384885788, -0.2736333906650543, 0.2245960831642151, 0.24672041833400726, -0.9566556811332703, -0.33073803782463074, -0.19891156256198883, -0.2953566312789917, 0.2091064602136612, 0.45717087388038635, 0.2562717795372009, -0.04274071007966995, -0.1369059532880783, -0.16744735836982727, -0.617992103099823, 0.20562875270843506, 0.14040391147136688, 0.3370421826839447, 0.19333013892173767, 0.6570934057235718, -0.3188849985599518, 0.9461446404457092, 0.03638266772031784, 0.11983834207057953, -0.06318299472332001, -0.4933640658855438, -0.027046263217926025, -0.12656041979789734, 0.30546101927757263, 0.16992083191871643, -0.08981277793645859, -0.22884409129619598, -0.3106059432029724, -0.4267762303352356, 0.587066650390625, -0.9429556727409363, -0.4134909212589264, 0.3003076910972595, -0.2947683334350586, -0.27767446637153625, 0.2191716879606247, -0.546612024307251, 0.05258539691567421, -0.18059103190898895, 0.5098746418952942, -0.08450634032487869, 0.1397814303636551, -0.10735074430704117, -0.021198030561208725, 0.7730116844177246, 0.358893483877182, -0.7733179926872253, 0.25255846977233887, 0.5408974289894104, 0.5915362238883972, -0.13256670534610748, 0.19128407537937164, -1.0186375379562378, 0.11000005155801773, -0.29161155223846436, 0.8795259594917297, -0.6285901069641113, -0.18152308464050293, -0.1623716950416565, 0.32825198769569397, -0.11885420978069305, -0.3421742618083954, 0.5837432146072388, -1.3721723556518555, 0.545526385307312, -0.1840813308954239, -0.40678706765174866, 0.15181148052215576, 0.6712851524353027, -0.838078498840332, 1.099037766456604, 0.29958850145339966, -1.020543098449707, 0.04635476693511009, -0.21127623319625854, -0.12627378106117249, 0.04023565724492073, -0.030406685546040535, -0.4393301010131836, -0.2553716003894806, 0.5548322200775146, -0.04335949569940567, -0.16267836093902588, -0.27962201833724976, -0.13664494454860687, -0.2242473065853119, 0.6467761397361755, -0.4594082236289978, 0.7289041876792908, 0.34241244196891785, 0.01844615302979946, 0.2595657706260681, -0.6864150762557983, 0.7008122801780701, 0.06663169711828232, -0.22617463767528534, -0.2686297297477722, 0.03170621395111084, -0.22136810421943665, 0.10819314420223236, 0.42834940552711487, -0.4666294455528259, -0.2483810931444168, -0.586333692073822, 0.5122160911560059, 0.38481447100639343, 0.1841658055782318, 0.6398468017578125, -0.32893308997154236, 0.6373843550682068, -0.11928335577249527, 0.11448782682418823, -0.3245551586151123, -0.23453648388385773, -0.4794204533100128, -0.23900644481182098, 0.33540287613868713, 0.6201336979866028, -0.8059017062187195, 0.43240198493003845, -0.05476375296711922, -0.5319387316703796, -0.6445737481117249, -0.16326990723609924, 0.23657220602035522, 0.7207514643669128, 0.5021347999572754, -0.024643342941999435, -0.01841876655817032, -0.6498180031776428, -0.49645641446113586, -0.11831420660018921, -0.2807786762714386, 0.48923930525779724, 0.0866791233420372, 0.385143905878067, 1.0868643522262573, -0.7390584349632263, -0.031162012368440628, -0.032270126044750214, -0.16594000160694122, -0.021991869434714317, 0.40941122174263, 0.3020205497741699, -1.250656247138977, -0.48205095529556274, -0.23286451399326324, -0.4946686029434204, -0.12181040644645691, 0.019037574529647827, -0.5315367579460144, 0.006446809507906437, 0.7917476296424866, -0.25106558203697205, 0.347118079662323, 0.36136966943740845, -0.49849367141723633, 0.41027072072029114, -0.17108681797981262, 0.2701750099658966, -1.0746465921401978, 0.23015344142913818, -0.44223904609680176, -0.39016827940940857, -0.4171030819416046, 0.43653884530067444, 0.6130664348602295, 0.016768228262662888, -0.5538517832756042, 0.34278392791748047, -0.23914529383182526, -0.06578102707862854, -0.034195080399513245, 0.5651382803916931, 0.7337920069694519, 0.2553861737251282, -0.2735576927661896, 0.8612973093986511, 0.013885694555938244, -0.44903746247291565, 0.3144975006580353, 0.2914268672466278, 0.11273447424173355, 0.6270149946212769, -0.9232021570205688, 0.5041266679763794, -0.1338234394788742, 0.28491297364234924, -1.3790470361709595, 0.024368373677134514, 0.07390914112329483, -0.7745846509933472, 0.2406909167766571, -0.13134637475013733, -0.3735078275203705, -0.17894554138183594, -0.34323635697364807, 0.4639764726161957, 0.2326992005109787, -0.4550471603870392, 0.8524684906005859, 0.038198549300432205, -0.2426227629184723, -0.5896803736686707, -0.9581814408302307, -0.34237775206565857, -0.017712490633130074, -0.6471976041793823, 0.217912957072258, -0.2577497661113739, 0.20605920255184174, -0.01817900687456131, -0.2702483534812927, -0.33484163880348206, 0.16948136687278748, -0.131697416305542, 0.4087936580181122, -0.6041328310966492, 0.15729187428951263, 0.4696904420852661, -0.050058797001838684, 0.0004761276941280812, -0.42940714955329895, 0.38628721237182617, -0.008397651836276054, -0.35273557901382446, -0.38538065552711487, 0.5604871511459351, 0.5471115112304688, -0.9090557098388672, 0.8742223381996155, 0.44653111696243286, -0.26261085271835327, 0.015784742310643196, -0.23567278683185577, -0.5050097107887268, -0.4485773742198944, 0.49599775671958923, -0.7206822633743286, -0.975631594657898, 0.5673032402992249, 0.31380337476730347, 0.129476398229599, 0.5209906101226807, 0.41785553097724915, -0.12702862918376923, 1.1684300899505615, 0.42135971784591675, 0.6418270468711853, 0.3210391402244568, 0.11696278303861618, 0.1451646238565445, -1.026584267616272, -0.3146863877773285, -0.8377324342727661, -0.06905920803546906, -0.33672282099723816, -0.5691878795623779, 0.25130221247673035, 0.13206921517848969, -0.23524758219718933, 0.10010189563035965, -0.577583372592926, 0.4069325029850006, 0.10266033560037613, 0.21960704028606415, 0.42325806617736816, -0.04459540918469429, -0.22865302860736847, -0.4222835898399353, -0.43439966440200806, -0.6801880598068237, 1.1375535726547241, 0.14710916578769684, 0.7507591843605042, 0.5067175626754761, 0.4692724645137787, 0.07813710719347, 0.10969946533441544, -0.7155176401138306, 0.17749282717704773, -0.11058899015188217, -0.6694353222846985, -0.588070809841156, -0.5156333446502686, -0.6878467202186584, 0.5382237434387207, -0.07327449321746826, -0.5916351675987244, 0.0797988623380661, -0.11900471150875092, -0.5747621655464172, 0.06748846918344498, -0.7490670680999756, 1.094467043876648, -0.018493182957172394, -0.5108993053436279, 0.02195206843316555, -0.8912615776062012, -0.24068009853363037, -0.13585014641284943, -0.12153524905443192, 0.036493562161922455, -0.5192393660545349, 0.5947556495666504, -0.2022876739501953, 0.5718790292739868, -0.08612814545631409, 0.047562748193740845, 0.5012872219085693, 0.26536694169044495, 0.5542361736297607, 0.15794901549816132, -0.3010345995426178, -0.6977208852767944, 0.6796486377716064, -0.8298048973083496, -1.054046630859375, 0.4684012234210968, -0.7783200144767761, -0.5124689936637878, -0.1657107025384903, -0.6323437094688416, -0.47901788353919983, 0.1375194489955902, -0.1002369374036789, 0.47505828738212585, -0.3363189101219177, 0.32856953144073486, 0.7455081939697266, 0.036353714764118195, 0.14833594858646393, 0.6447699069976807, 0.08513756096363068, -0.44556310772895813, 0.634617805480957, -0.06155221536755562, 0.6374889016151428, 0.6791070699691772, 0.13704968988895416, -0.6456369161605835, -0.313959002494812, -0.5863115787506104, 0.16348597407341003, -0.8377406001091003, -0.21945051848888397, -0.9906603097915649, -0.29142627120018005, -0.6150156855583191, 0.09191624075174332, -0.15112870931625366, -0.5163553953170776, -0.4853542149066925, 0.06236192211508751, 0.21256449818611145, 0.24974675476551056, 0.3508947193622589, 0.4034713804721832, -0.9155896306037903, 0.15520942211151123, 0.5690252184867859, -0.040616054087877274, -0.20645922422409058, -1.0818097591400146, -0.08938048779964447, -0.06108745560050011, -0.3467922508716583, -0.8579843044281006, 0.3921825885772705, 0.338925302028656, 0.5110600590705872, 0.15096861124038696, 0.5855046510696411, 0.3507165014743805, -0.14665855467319489, 0.8805985450744629, -0.10138797014951706, -0.4688960611820221, 0.6252943873405457, -0.013404344208538532, 0.6385168433189392, 0.8826567530632019, 0.4512907564640045, -0.4020576775074005, -0.2990298867225647, -0.39283081889152527, -0.6957226395606995, 0.4965517818927765, 0.007491712924093008, 0.17259518802165985, 0.23099973797798157, 0.5764000415802002, 0.07865668088197708, -0.011930761858820915, -0.26051729917526245, -0.020462626591324806, -0.2540603280067444, -0.560735285282135, 0.09710093587636948, -0.2736039161682129, -0.15598054230213165, 0.10567200183868408, 0.38713088631629944, -0.5915520787239075, -0.0477176308631897, 0.6265575885772705, -0.29673343896865845, 0.07171210646629333, 0.30848491191864014, 0.2116512805223465, 0.49484267830848694, -0.30203717947006226, 0.3705783486366272, 0.046848684549331665, -0.7384522557258606, -0.20893068611621857, 0.2410234957933426, -0.2790496349334717, -0.3823578953742981, 0.23806536197662354, 0.3233846127986908, -0.04408584535121918, -0.6950106024742126, 0.4704740345478058, -0.5146262049674988, -0.05265803635120392, -0.03167227283120155, -0.02314024791121483, 0.12913115322589874, 0.25086432695388794, 0.4222725033760071, -0.18075256049633026, 0.20693397521972656, -0.2744136452674866, 0.5393106937408447, 0.19049730896949768, -0.9249871373176575, -0.007134023122489452, 0.5579306483268738, 0.03510797396302223, -0.15327303111553192, 0.7773754000663757, -0.18689751625061035, -0.5910170674324036, 0.7383236885070801, 0.4666619300842285, 0.5008420348167419, -0.17726720869541168, 0.17913182079792023, 0.4330331087112427, 0.3509359359741211, 0.5264783501625061, 0.36928805708885193, -0.4776903986930847, -0.5462256669998169, -0.38616642355918884, -0.591549813747406, -0.3853464126586914, -0.5351890921592712, -0.960413932800293, -0.03897031396627426, -0.31541067361831665, 0.05702734366059303, -0.08715178072452545, 0.25279510021209717, -0.4098506271839142, 0.34289854764938354, -0.16965147852897644, 0.7986270189285278, -0.6163986921310425, 0.8533971905708313, 0.7800275683403015, -0.5161613821983337, -1.0910749435424805, 0.1671115905046463, -0.1940656304359436, -0.47972041368484497, 0.278628408908844, 0.0565418004989624, -0.14976541697978973, 0.27184441685676575, -0.4434009790420532, -0.9064939022064209, 1.1501644849777222, 0.035183824598789215, -0.21353866159915924, 0.035021401941776276, 0.16286946833133698, 0.4558979272842407, -0.630332350730896, 0.6085940003395081, 0.6540552377700806, 0.26212602853775024, 0.5532611608505249, -0.4919261634349823, 0.20106175541877747, -0.07120618224143982, -0.2272387593984604, -0.018756911158561707, -0.3814316391944885, 0.6607702970504761, -0.34107452630996704, -0.12284042686223984, 0.3288573622703552, 0.827731728553772, 0.24925753474235535, 0.32236573100090027, 0.49899306893348694, 0.37525105476379395, 0.9179713129997253, -0.045653946697711945, 0.9047931432723999, -0.18996137380599976, 0.3638163208961487, 1.4024285078048706, -0.17134393751621246, 1.15749990940094, 0.6838678121566772, -0.26418212056159973, 0.44940027594566345, 0.8240613341331482, 0.31323593854904175, 0.679361879825592, 0.13017182052135468, -0.19139397144317627, -0.4836524426937103, -0.06317969411611557, -0.1526389867067337, 0.2517739534378052, 0.4649157226085663, -0.1925252228975296, -0.16185089945793152, -0.3692795932292938, -0.30565711855888367, 0.3028510808944702, -0.08619225770235062, 0.8213809132575989, 0.017881810665130615, -0.7155550122261047, 0.4403311312198639, -0.09962642937898636, 0.17463713884353638, -0.5302730202674866, 0.05002595856785774, -0.3838411271572113, 0.15987184643745422, -0.34290316700935364, -0.8949221968650818, 0.6250573992729187, -0.20628425478935242, -0.30087047815322876, 0.27430933713912964, 0.49383530020713806, -0.47475382685661316, -0.28860318660736084, -0.022169524803757668, 0.6805441975593567, 0.21234004199504852, -0.4062500596046448, -0.7492343187332153, -0.15212231874465942, 0.15105733275413513, -0.1544111669063568, 0.24416963756084442, 0.7372792363166809, 0.04192822054028511, 0.34601572155952454, 0.5730303525924683, -0.2965620160102844, 0.3666839897632599, 0.21590958535671234, 0.971388578414917, -0.6779497861862183, -0.6467458009719849, -0.2663383483886719, 0.5238727927207947, -0.1442188024520874, -0.3358936905860901, 0.3024575412273407, 0.4456406235694885, 0.3028298020362854, 0.2589336931705475, 0.15160517394542694, 0.15381066501140594, 0.5546439290046692, -0.3953673839569092, 0.8367416262626648, -0.8517629504203796, 0.16758650541305542, 0.18684034049510956, -1.0707322359085083, -0.38637158274650574, 0.45512282848358154, -0.3211502432823181, -0.029660603031516075, 0.9784704446792603, 1.1251546144485474, 0.14011238515377045, 0.14336352050304413, 0.49752867221832275, -0.03968490660190582, 0.3788743019104004, 0.47618454694747925, 0.7605541944503784, -0.6468600630760193, 1.0314770936965942, 0.09448917210102081, -0.34160616993904114, -0.08405663073062897, -0.4993904232978821, -0.7213567495346069, -0.5585853457450867, -0.32623010873794556, -0.5714235901832581, 0.035796888172626495, 0.3329465687274933, 0.5647334456443787, -0.7891091704368591, 0.3936474621295929, 0.2612570524215698, 0.14140093326568604, -0.016478968784213066, -0.2776459753513336, 0.625947892665863, -0.49505603313446045, -0.6197026371955872, 0.06122186407446861, 0.2032935470342636, -0.11104360967874527, -0.40967074036598206, 0.01994929276406765, -0.20480580627918243, 0.1952236443758011, 0.4588892161846161, 0.06068241596221924, -0.5891640186309814, -0.1783328503370285, 0.5476532578468323, -0.598054826259613, 0.061543095856904984, 0.7637730836868286, -0.7675282955169678, 0.6396359205245972, 0.622228741645813, 0.9633858799934387, 0.5642803907394409, 0.0835108533501625, 0.19917917251586914, -0.6500173211097717, 0.09094018489122391, 0.6093206405639648, -0.18055149912834167, 0.3742402195930481, -0.35818591713905334, 0.27297890186309814, 0.011145679280161858, -0.5349698066711426, -0.5383733510971069, 0.286424458026886, -1.2114636898040771, -0.24691179394721985, 0.8013614416122437, -0.37873074412345886, -0.6340911388397217, -0.13044431805610657, -0.2524760961532593, 0.15116675198078156, -0.2988841235637665, 0.3162139356136322, 0.49426159262657166, 0.14764612913131714, -0.3701106309890747, -0.5580929517745972, 0.09532492607831955, 0.7713925242424011, -0.5800507068634033, 0.06476917862892151, 0.27184194326400757, 0.1458698958158493, 0.03234441950917244, 0.30121204257011414, -0.6357729434967041, 0.2634441554546356, 0.13470105826854706, -0.31299474835395813, 0.19458939135074615, -0.02700796350836754, -0.3209400773048401, 0.37344151735305786, 0.2002551257610321, -0.16913223266601562 ]
http://arxiv.org/abs/2404.19315v1
http://arxiv.org/pdf/2404.19315v1
Modeling Orthographic Variation in Occitan's Dialects
2024-04-30T07:33:51
2024-04-30T07:33:51
Zachary William Hopton, Noëmi Aepli
cs.CL
cs.CL
Effectively normalizing textual data poses a considerable challenge, especially for low-resource languages lacking standardized writing systems. In this study, we fine-tuned a multilingual model with data from several Occitan dialects and conducted a series of experiments to assess the model's representations of these dialects. For evaluation purposes, we compiled a parallel lexicon encompassing four Occitan dialects. Intrinsic evaluations of the model's embeddings revealed that surface similarity between the dialects strengthened representations. When the model was further fine-tuned for part-of-speech tagging and Universal Dependency parsing, its performance was robust to dialectical variation, even when trained solely on part-of-speech data from a single dialect. Our findings suggest that large multilingual models minimize the need for spelling normalization during pre-processing.
[ -0.3264980614185333, -0.4330158233642578, 0.40763023495674133, -0.1319548636674881, -0.15383726358413696, -0.3966817557811737, -0.6262531280517578, -0.7019888758659363, 0.35257911682128906, 0.5754268169403076, -0.22632430493831635, -0.7249823212623596, -0.3522176146507263, 0.15798814594745636, 0.22120898962020874, 0.7239311337471008, 0.019780917093157768, 0.2812732756137848, 0.466930627822876, -0.5189088582992554, -0.2866358160972595, -0.6771396398544312, -0.2811844050884247, -0.2799608111381531, 0.7111623287200928, 0.7106953263282776, 0.7246229648590088, 0.9481112360954285, 0.33052217960357666, 0.2923600971698761, -0.3291883170604706, 0.18195627629756927, -0.5400274991989136, 0.2991534173488617, -0.2931778132915497, -0.7579716444015503, -0.4691803753376007, -0.15462851524353027, 0.6834399104118347, 1.1023143529891968, -0.34830522537231445, 0.0029897838830947876, -0.11248667538166046, 0.3526729941368103, -0.682011067867279, 0.16721279919147491, -0.46127849817276, -0.21064937114715576, -0.59324049949646, 0.3243838846683502, -0.16099998354911804, -0.240947887301445, 0.05243074893951416, -0.502996563911438, 0.33455395698547363, -0.05789965018630028, 0.828789472579956, -0.28723961114883423, -0.40041786432266235, -0.09429853409528732, -0.6657449007034302, 0.7359039783477783, -0.9000547528266907, 0.4535445272922516, 0.38382285833358765, 0.25961461663246155, 0.0928921028971672, -0.3934324383735657, -0.31343260407447815, -0.5384818315505981, -0.14536835253238678, -0.0019508436089381576, 0.3660930395126343, 0.21057464182376862, 0.23326490819454193, 0.38721463084220886, -0.4245370328426361, 0.2806079685688019, -0.3002434968948364, 0.21000142395496368, 0.46498188376426697, 0.25485682487487793, 0.28643327951431274, -0.42069151997566223, 0.08956894278526306, -0.16856098175048828, -0.5987111330032349, 0.09846632182598114, 0.8117063045501709, 0.9342651963233948, -0.020895864814519882, 0.8100172281265259, -0.4141131341457367, 0.7449257969856262, -0.14645200967788696, -0.2360193282365799, 0.0580049604177475, -0.3579743802547455, -0.35821953415870667, -0.24581778049468994, 0.652032732963562, 0.00594131276011467, 0.22708892822265625, 0.07535295933485031, -0.20351934432983398, 0.022481467574834824, 0.0017839900683611631, -0.658998966217041, -0.3751242160797119, -0.2478475570678711, -0.2307416796684265, 0.04475634545087814, 0.3701007068157196, -0.7571549415588379, -0.6801002025604248, -0.3336145877838135, -0.01946723274886608, -0.783759355545044, -0.3330973982810974, 0.4734589755535126, -0.1758051961660385, -0.2087021768093109, 0.25936129689216614, -1.1469357013702393, 0.3548884391784668, 0.44303345680236816, 0.7776861190795898, 0.003876898903399706, -0.45077767968177795, -0.14974279701709747, 0.008923479355871677, -0.37721168994903564, 0.6787531971931458, -0.7232505679130554, -0.3887629210948944, 0.04268969967961311, -0.01614995114505291, -0.35832101106643677, -0.5683428645133972, 0.42207345366477966, -0.07806215435266495, -0.07854922115802765, -0.27536922693252563, -0.3805786073207855, -0.25159749388694763, 0.08285073190927505, -0.9684696197509766, 0.838237464427948, 0.17457492649555206, -0.6918642520904541, 0.39180511236190796, -0.330653578042984, -0.4087045192718506, -0.27958944439888, -0.321605920791626, -0.24230371415615082, 0.6238511800765991, 0.2148696482181549, 0.29941681027412415, -0.3442704677581787, 0.045241829007864, -0.39638471603393555, -0.09498290717601776, 0.06645216047763824, -0.24844865500926971, 0.8886899948120117, -0.04914422333240509, -0.22691726684570312, -0.13309302926063538, -0.8782094120979309, -0.18155406415462494, -0.07010726630687714, -0.34860318899154663, -0.6028751134872437, 0.018527576699852943, 0.36171773076057434, -0.2546134889125824, -0.013842019252479076, -0.8336147665977478, 0.46027761697769165, -0.6728141903877258, 0.6177626252174377, 0.32269376516342163, -0.35587412118911743, 0.42275214195251465, -0.5919249057769775, 0.512304425239563, 0.026217881590127945, -0.11497531086206436, -0.2794613540172577, -0.38257279992103577, -1.0376496315002441, -0.5455034971237183, 0.5136622786521912, 0.25747236609458923, -0.3018030822277069, 0.11341676861047745, -0.44994741678237915, -0.6796748042106628, -0.47077131271362305, -0.07245456427335739, 0.25015515089035034, 0.13327407836914062, 0.23259171843528748, -0.5595208406448364, -0.3032737970352173, -0.7592136859893799, -0.303650438785553, -0.052146706730127335, 0.058072444051504135, 0.15004828572273254, 0.09973948448896408, 0.05128313601016998, 0.7963889837265015, -0.3421969413757324, -0.38399457931518555, -0.35228684544563293, 0.4086942672729492, 0.2677604854106903, 0.46035632491111755, 0.8384517431259155, -0.5232528448104858, -0.7042117714881897, 0.513224720954895, -0.19243082404136658, -0.038338612765073776, 0.12858925759792328, 0.09838256239891052, 0.26760420203208923, 0.5641805529594421, -0.44736164808273315, 0.7202733755111694, 0.348941445350647, -0.1080624908208847, 0.6297895908355713, -0.3682655096054077, 0.19753561913967133, -0.8559997081756592, 0.1776667833328247, -0.27841097116470337, -0.24670355021953583, -0.8457760214805603, 0.40488308668136597, 0.2233441323041916, -0.2778467833995819, -0.23289816081523895, 0.3002021610736847, -0.539959728717804, 0.34156060218811035, 0.16778813302516937, -0.09632699936628342, 0.12592940032482147, 0.3106902539730072, 0.23615503311157227, 0.48197048902511597, 0.45567864179611206, -0.18196605145931244, 0.3484582304954529, -0.2060428261756897, -0.5053695440292358, 0.7435048818588257, -0.6421887874603271, -0.009169047698378563, -0.3730185925960541, -0.18841490149497986, -1.22439706325531, -0.7322936654090881, -0.11309969425201416, -0.13386015594005585, 0.2441249042749405, -0.25650057196617126, -0.5944005846977234, 0.17157794535160065, -0.2653540372848511, 0.6677151918411255, 0.028743449598550797, -0.3599169850349426, 0.6804328560829163, 0.14505745470523834, -0.4576098918914795, 0.015375505201518536, -0.7083286643028259, -0.28665295243263245, -0.36098694801330566, -0.547067403793335, 0.3778500258922577, 0.3010932207107544, -0.23389405012130737, -0.22521622478961945, 0.14301039278507233, -0.3581303656101227, -0.20073182880878448, 0.27009743452072144, -0.02492477558553219, -0.44866982102394104, 0.3620416224002838, -0.04175363853573799, 0.2723052501678467, -0.44176414608955383, -0.39131975173950195, 0.6648216247558594, 0.06344395875930786, -0.4841759204864502, -0.3681161403656006, 0.6161355972290039, 0.5671142935752869, -0.3128822147846222, 0.6759099960327148, 0.16344386339187622, -0.3201659321784973, -0.08446167409420013, -0.5581618547439575, 0.1392681747674942, -0.39681845903396606, 0.46409615874290466, -0.5653473734855652, -0.6652121543884277, 0.6480434536933899, 0.20162594318389893, -0.12551245093345642, 0.46053487062454224, 0.41265764832496643, -0.07279911637306213, 0.7892857193946838, 0.8682345151901245, -0.26584744453430176, 0.6036556363105774, 0.047198712825775146, 0.03399592265486717, -0.3044819235801697, -0.2517450749874115, -0.9108290672302246, -0.1443285197019577, -0.8017815947532654, -0.3685947358608246, 0.5142423510551453, 0.19160613417625427, -0.15353316068649292, 0.4522571861743927, -0.021551484242081642, 0.45621347427368164, 0.6648566722869873, 0.191245436668396, 0.39932844042778015, 0.23608428239822388, -0.35384097695350647, -0.1251983642578125, -0.7761721014976501, -0.3518573045730591, 1.0266661643981934, 0.10502113401889801, 1.1526600122451782, 0.3091297447681427, 0.683383584022522, -0.3316700756549835, 0.03216151148080826, -0.6241494417190552, -0.03759832680225372, -0.5829862952232361, -0.5144928693771362, -0.5449832677841187, -0.377986341714859, -0.9295521974563599, 0.31898894906044006, -0.048169784247875214, -0.91804039478302, 0.6071956157684326, 0.11898703873157501, -0.6627432703971863, 0.27523237466812134, -0.8108522295951843, 0.814156711101532, 0.11352194845676422, 0.05120312049984932, -0.2595705986022949, -0.5248916149139404, -0.0020603672601282597, 0.11671058088541031, 0.2695697844028473, -0.1346004158258438, 0.06791258603334427, 0.194549098610878, -0.5017859935760498, 1.110891342163086, 0.30641400814056396, -0.11234436184167862, 0.07635954022407532, 0.1220427006483078, -0.03162052482366562, 0.2500891387462616, -0.46077290177345276, 0.1563766598701477, 0.22957047820091248, -0.5664626955986023, -0.43499240279197693, 0.5534074306488037, -0.8939327001571655, -0.3769981563091278, -0.2140359878540039, -0.42779460549354553, -0.2296808511018753, 0.23738789558410645, 0.5331048965454102, 0.6171072721481323, -0.6394861936569214, 0.041285209357738495, 0.3415733873844147, -0.052619658410549164, 0.28815725445747375, 0.2261659801006317, -0.3227498233318329, -0.37819725275039673, 0.6914923787117004, 0.4886327087879181, 0.47782158851623535, 0.2992551922798157, 0.20912134647369385, -0.07163242995738983, -0.15739266574382782, -0.5607202053070068, 0.4708015024662018, -0.5931949019432068, -0.11490368843078613, -0.33083850145339966, -0.0310776699334383, -0.7738543748855591, 0.07822153717279434, -0.4808187186717987, -0.6501238346099854, -0.38927358388900757, 0.04601491242647171, 0.11996208131313324, 1.1366780996322632, -0.10992245376110077, 0.4614557921886444, -0.5541461110115051, 0.2730593681335449, 0.3790602684020996, 0.26980406045913696, -0.14794766902923584, -0.6454339027404785, -0.361579567193985, 0.2338232398033142, -0.17363019287586212, -0.9627817273139954, 0.21872086822986603, 0.5804845094680786, 0.22638258337974548, 0.4315599501132965, -0.08799981325864792, 0.8602232336997986, -0.49520984292030334, 0.6172117590904236, 0.14631985127925873, -1.0999746322631836, 0.3806757628917694, -0.6031357049942017, 0.49700412154197693, 0.5525514483451843, 0.3331126272678375, -0.6944761276245117, -0.5047188997268677, -0.4311462640762329, -0.8060243129730225, 0.767619788646698, -0.040680892765522, 0.20419438183307648, 0.20556309819221497, 0.34353524446487427, 0.37884339690208435, 0.17317010462284088, -0.7350526452064514, 0.19924627244472504, -0.3130608797073364, -0.035682208836078644, -0.41360729932785034, -0.34972959756851196, 0.0019084959058091044, -0.27483701705932617, 0.12291025370359421, 0.17458918690681458, 0.014413750730454922, 0.09955175220966339, -0.23298780620098114, 0.14889104664325714, 0.2835642695426941, 0.6570951342582703, 0.5439748764038086, -0.11738159507513046, 0.503644585609436, -0.013163712806999683, -0.43754151463508606, 0.07551044970750809, 0.2752004861831665, -0.08068303018808365, 0.3614906072616577, 0.6454034447669983, 0.8545424938201904, -0.13751593232154846, -0.537219226360321, 0.24363569915294647, 0.19105398654937744, 0.08690834790468216, 0.13773034512996674, 0.0803946778178215, 0.059999749064445496, 0.1005275547504425, -0.14417722821235657, 0.18262268602848053, 0.08939938992261887, -0.7510439157485962, -0.3102830946445465, -0.006514756940305233, -0.30590105056762695, -0.538974940776825, 0.2858009934425354, -0.21722513437271118, -0.08908037096261978, 0.4209429621696472, -0.00985504686832428, -0.4091358184814453, 0.690558910369873, 0.19762736558914185, 0.4061089754104614, -0.6710297465324402, 0.09481008350849152, 0.3880895972251892, 0.4133681356906891, -0.18509429693222046, 0.40115997195243835, 0.2053319215774536, -0.5530393719673157, -0.0895371288061142, -0.35232263803482056, -0.24573390185832977, -0.0853603258728981, -1.0784406661987305, 0.5466400384902954, -0.4377824068069458, -0.46721091866493225, 0.22285081446170807, -0.45264631509780884, -0.838067889213562, 0.26533007621765137, -0.021434012800455093, 0.6901882290840149, -0.8602321147918701, 1.0376434326171875, 0.859667181968689, -0.27997612953186035, -0.8985711932182312, 0.05455843731760979, -0.171206995844841, -0.5241343379020691, 0.5269728899002075, 0.3018262982368469, -0.20351818203926086, -0.2590048909187317, -0.14562012255191803, -0.7982271909713745, 0.4358784258365631, 0.7947196364402771, -0.5486562848091125, 0.0466064028441906, 0.6530858278274536, 0.7104631066322327, -0.3004700541496277, 0.4362083673477173, 0.7480158805847168, 0.32271596789360046, -0.30363020300865173, -1.2017877101898193, -0.2941746115684509, -0.11874286085367203, 0.4781649112701416, 0.10919158160686493, -0.5728954672813416, 1.4457613229751587, -0.018131433054804802, -0.3308258652687073, 0.42810919880867004, 0.4586351215839386, -0.3883473575115204, -0.4118582308292389, 0.26433107256889343, 0.5117372274398804, 0.6836735010147095, -0.012540344148874283, 0.9068596959114075, -0.05763324722647667, 0.4028152823448181, 1.37217378616333, -0.1760801076889038, 0.9198529720306396, 0.465249240398407, 0.040374986827373505, 0.46662452816963196, 0.5628730058670044, 0.3283013701438904, 0.4411628246307373, 0.38330361247062683, -0.24534636735916138, -0.21313539147377014, -0.37584373354911804, -0.4615621268749237, 0.8408948183059692, 0.32000821828842163, -0.2778779864311218, -0.3047325909137726, 0.07662023603916168, 0.11585617810487747, 0.3545939326286316, -0.2500759959220886, 0.6461732983589172, -0.1906498372554779, -0.5775923728942871, 0.9392312169075012, 0.44725301861763, 0.41663190722465515, -0.44969597458839417, 0.19879433512687683, -0.6645804643630981, 0.1098271980881691, -0.08546004444360733, -0.11834335327148438, 0.23314006626605988, -0.09109499305486679, -0.1678152233362198, -0.031288836151361465, 0.09078725427389145, -0.8579070568084717, -0.6233734488487244, 0.2951826751232147, 0.24753524363040924, -0.12071350961923599, -0.11166305094957352, 0.05033426731824875, 0.1395975947380066, -0.10464616864919662, -0.1364029496908188, 0.07868128269910812, 0.7940855026245117, -0.06419286876916885, 0.1434723287820816, 0.08490662276744843, 0.4356871247291565, 0.34573793411254883, 0.2550768256187439, 0.935176432132721, -0.5519927144050598, -0.5319175720214844, -0.8206025958061218, 0.38092297315597534, 0.02717837132513523, -0.595212459564209, 0.6990317106246948, 0.477983295917511, 1.1178370714187622, -0.24649682641029358, 0.7132470607757568, -0.025379536673426628, 0.6327194571495056, -0.6080960631370544, 0.6550063490867615, -0.7255383133888245, -0.13809356093406677, -0.08573965728282928, -0.8734305500984192, -0.5132220387458801, 0.7796821594238281, -0.19796229898929596, -0.07312002032995224, 0.742347776889801, 0.9572546482086182, -0.44094908237457275, 0.02022477611899376, 0.4871841073036194, 0.19334547221660614, -0.08603090047836304, 0.44290056824684143, 0.7772758603096008, -0.05251525714993477, 0.17799241840839386, -0.38846275210380554, -0.293043315410614, -0.1817546933889389, -0.7874273657798767, -1.1552692651748657, -0.4581042230129242, 0.1696174591779709, -0.1061592847108841, 0.21636274456977844, 0.8645816445350647, 0.8991835117340088, -1.0213795900344849, -0.9833052158355713, 0.004847624804824591, -0.14746056497097015, -0.1398596614599228, -0.06535758823156357, 0.11707441508769989, -0.4159184992313385, -0.8892561197280884, 0.2940948009490967, 0.22499772906303406, 0.03943868353962898, -0.19342096149921417, 0.45041900873184204, 0.02789890207350254, 0.07223338633775711, 0.21160905063152313, 0.13340625166893005, -0.7794421911239624, -0.29639381170272827, -0.011551856063306332, -0.4743775725364685, 0.25736796855926514, 1.1161236763000488, -0.09954746812582016, 0.8595558404922485, 0.5471088290214539, 0.25233194231987, 0.5411285758018494, -0.08581970632076263, 0.7413621544837952, -0.7923313975334167, 0.6843320727348328, 0.07759589701890945, 0.37495067715644836, 0.3590448796749115, -0.1781911551952362, 0.20551936328411102, 0.26149681210517883, -0.07254274189472198, -0.43890950083732605, 0.5456221103668213, -0.5353149175643921, -0.22753392159938812, 1.0343482494354248, -0.6041839122772217, 0.1840103566646576, -0.19148191809654236, -0.3719905912876129, 0.18933649361133575, -0.2610558867454529, 0.7761985659599304, 0.8574224710464478, 0.04666568338871002, 0.129721537232399, -0.2866087555885315, 0.43623483180999756, 0.6141201257705688, -0.6256473064422607, 0.09874492138624191, 0.5366021394729614, 0.22551898658275604, 0.2947569489479065, 0.44179555773735046, 0.16876891255378723, 0.031901486217975616, 0.07089808583259583, 0.060057349503040314, 0.11121179908514023, -0.565034031867981, -0.5059969425201416, 0.2802160680294037, 0.3503389060497284, 0.09616010636091232 ]
http://arxiv.org/abs/2404.19310v2
http://arxiv.org/pdf/2404.19310v2
Does Whisper understand Swiss German? An automatic, qualitative, and human evaluation
2024-04-30T07:29:40
2024-05-09T11:54:04
Eyal Liron Dolev, Clemens Fidel Lutz, Noëmi Aepli
cs.CL
cs.CL
Whisper is a state-of-the-art automatic speech recognition (ASR) model (Radford et al., 2022). Although Swiss German dialects are allegedly not part of Whisper's training data, preliminary experiments showed that Whisper can transcribe Swiss German quite well, with the output being a speech translation into Standard German. To gain a better understanding of Whisper's performance on Swiss German, we systematically evaluate it using automatic, qualitative, and human evaluation. We test its performance on three existing test sets: SwissDial (Dogan-Sch\"onberger et al., 2021), STT4SG-350 (Pl\"uss et al., 2023), and Swiss Parliaments Corpus (Pl\"uss et al., 2021). In addition, we create a new test set for this work, based on short mock clinical interviews. For automatic evaluation, we used word error rate (WER) and BLEU. In the qualitative analysis, we discuss Whisper's strengths and weaknesses and anylyze some output examples. For the human evaluation, we conducted a survey with 28 participants who were asked to evaluate Whisper's performance. All of our evaluations suggest that Whisper is a viable ASR system for Swiss German, so long as the Standard German output is desired.
[ -0.10709179937839508, -0.6254759430885315, 0.48922979831695557, 0.4574028551578522, -0.3895418345928192, 0.27932828664779663, -0.23154526948928833, -0.756736159324646, -0.08115603029727936, 0.1793937385082245, -0.7025191187858582, -0.5110661387443542, -0.7961502075195312, 0.2275259792804718, -0.648886501789093, 0.7140528559684753, -0.03362619876861572, 0.5799046158790588, 0.3301941752433777, -0.17140857875347137, -0.21165291965007782, -0.5507674217224121, -0.6680728793144226, -0.6139650940895081, 0.06894601136445999, 0.30453193187713623, 0.4284675419330597, 0.3263738751411438, 0.14302340149879456, 0.38221925497055054, -0.27682316303253174, -0.2706390917301178, -0.5376101732254028, -0.263011634349823, 0.20530495047569275, -0.06732364743947983, -0.22372213006019592, 0.03527155518531799, 0.7187277674674988, 0.7378600835800171, -0.5745249390602112, 0.2358100563287735, 0.07901721447706223, 0.7164117693901062, -0.18392576277256012, 0.19767551124095917, -0.5744622945785522, -0.0790499895811081, -0.30739811062812805, 0.24185346066951752, -0.391104131937027, -0.4485146701335907, 0.8128854036331177, -0.4962139129638672, 0.6630094647407532, 0.1147996261715889, 1.0345951318740845, -0.011093555949628353, -0.5094107985496521, -0.4211340546607971, -0.8408514857292175, 0.5671566724777222, -0.5325755476951599, 0.6377658843994141, 0.588205099105835, 0.5921785235404968, 0.14915162324905396, -0.6175790429115295, -0.43473395705223083, -0.08759502321481705, 0.0858420804142952, 0.4198923707008362, -0.6551376581192017, -0.010011089034378529, 0.119405098259449, 0.3859564960002899, -0.5102164149284363, 0.10085666924715042, -0.6228109002113342, -0.6698152422904968, 0.834437906742096, -0.049419790506362915, 0.13975493609905243, -0.03781116008758545, -0.26381033658981323, -0.06906317919492722, -0.26347988843917847, 0.3827578127384186, 0.5052403211593628, 0.18332767486572266, -0.1574399322271347, 0.16273383796215057, -0.31406086683273315, 0.8029631972312927, 0.2931687831878662, -0.05252040922641754, 0.26275092363357544, -0.049200914800167084, -0.08338014036417007, 0.550589919090271, 0.8283475041389465, 0.2790805399417877, 0.433960497379303, -0.39786335825920105, -0.27579233050346375, 0.12780526280403137, 0.32350319623947144, -0.7098888158798218, -0.34287819266319275, 0.0626068264245987, -0.5381187796592712, -0.05139758810400963, 0.04395870119333267, -0.12271221727132797, -0.07039456069469452, -0.14320065081119537, 0.6991571187973022, -0.8079655170440674, -0.2661088705062866, 0.5580924153327942, -0.5743888020515442, 0.32854777574539185, 0.40752100944519043, -0.6032223701477051, 0.6254695653915405, 0.35691627860069275, 0.6522566080093384, -0.252976655960083, -0.4702188968658447, -0.5815684199333191, -0.06588542461395264, -0.27115145325660706, 1.1028051376342773, -0.12896095216274261, -0.9799559712409973, 0.15804414451122284, 0.019512321799993515, -0.39758461713790894, -0.8627866506576538, 0.6323482990264893, -0.5502915382385254, 0.19202908873558044, -0.1743001639842987, -0.5471033453941345, -0.4207890033721924, -0.35460102558135986, -0.4360864758491516, 0.6666526198387146, 0.0842457041144371, -0.5692875385284424, 0.3383025825023651, -0.38552072644233704, -0.9795752167701721, 0.0788181722164154, 0.3135172128677368, -0.07942493259906769, 0.33924517035484314, 0.07906359434127808, 0.21890191733837128, -0.13606950640678406, 0.09351012855768204, 0.01454378291964531, -0.6912097930908203, 0.6906909942626953, -0.3706877529621124, 0.7999930381774902, -0.09367416799068451, -0.23234331607818604, 0.04605821520090103, -0.8074790835380554, 0.478023499250412, -0.1889944225549698, -0.2535169720649719, 0.06672879308462143, -0.0018108498770743608, 0.20238617062568665, -0.1328682154417038, -0.02161250449717045, -0.891764760017395, -0.47946032881736755, -0.5461440086364746, 0.6428464651107788, 0.5499614477157593, 0.07655633240938187, 0.3323321044445038, -0.23475509881973267, 0.47106924653053284, -0.3277316987514496, 0.30820751190185547, 0.03689466044306755, -0.28865402936935425, -0.869087278842926, -0.32099607586860657, 0.6538205146789551, 0.8354382514953613, -0.3095211386680603, 0.5699148178100586, -0.1616354137659073, -0.6303479671478271, -1.070786714553833, -0.062432702630758286, 0.7145087718963623, 0.6854057312011719, 0.26856768131256104, -0.2211841344833374, -0.28033965826034546, -1.1761564016342163, -0.13523875176906586, -0.4037116467952728, -0.13529393076896667, 0.05541619658470154, 0.3656812608242035, -0.15208888053894043, 0.7484791278839111, -0.6037174463272095, -0.3862765431404114, -0.21038322150707245, 0.49507594108581543, 0.09975177049636841, 0.11373572796583176, 0.14606407284736633, -0.6619734764099121, -0.5391986966133118, -0.02914268523454666, -0.5839946269989014, -0.13242113590240479, 0.44463399052619934, 0.14604897797107697, 0.2673189342021942, 0.11723648011684418, -0.25552529096603394, 0.39910224080085754, 0.5400385856628418, -0.30631524324417114, 0.7457408905029297, -0.3425884246826172, 0.10007116198539734, -0.6512917876243591, -0.058640241622924805, -0.04818487912416458, -0.2131851315498352, -0.7178459167480469, -0.3803079128265381, 0.18962103128433228, -0.2356613576412201, -0.445213258266449, 0.5768812894821167, -0.28599995374679565, -0.15632760524749756, -0.2167816162109375, -0.0739147961139679, 0.025014953687787056, 0.0449221134185791, 0.43327322602272034, 0.8061695694923401, 0.7260801792144775, -0.5293024778366089, 0.1301196813583374, 0.4189508557319641, -0.5493177771568298, 0.8494937419891357, -0.9647142291069031, 0.37261882424354553, 0.2726217806339264, 0.08594480156898499, -0.8026502132415771, -0.3071899712085724, -0.16026683151721954, -0.8158805966377258, 0.38266363739967346, -0.15105807781219482, -0.5347815752029419, -0.304404079914093, 0.07435069978237152, -0.2765375077724457, 0.9061563611030579, -0.321858674287796, 0.5826009511947632, 0.40261149406433105, -0.20634284615516663, -0.10615364462137222, -0.3229891061782837, 0.10535011440515518, -0.1318347156047821, -0.8185033798217773, 0.19332540035247803, -0.08823266625404358, -0.4312642812728882, -0.15959683060646057, -0.3821432888507843, -0.5077897906303406, 0.01696142926812172, 0.2594074010848999, 0.31646528840065, -0.05162553861737251, -0.07310549914836884, 0.1340538114309311, -0.41875213384628296, 0.11335698515176773, -0.05001334846019745, 0.2483721375465393, -0.5775910019874573, -0.4563966989517212, -0.9944269061088562, 0.5014505982398987, 0.35512417554855347, -0.10565686225891113, -0.05201950669288635, 0.6674417853355408, -0.2206670492887497, -0.18368595838546753, -0.87038254737854, -0.2645975351333618, -0.47496724128723145, 0.20879685878753662, -0.5664883255958557, -0.9573920369148254, 0.7549671530723572, -0.04731771722435951, -0.3625972867012024, 0.4983883798122406, 0.11185242235660553, -0.6462452411651611, 1.2514370679855347, 0.6606810092926025, -0.13754016160964966, -0.12435425072908401, -0.1896570473909378, -0.07838351279497147, -0.6366483569145203, -0.15939554572105408, -0.7819139361381531, -0.02261018007993698, -0.18850162625312805, 0.08430346846580505, 0.5052341818809509, 0.2522503435611725, -0.051152076572179794, 0.17293715476989746, -0.37056392431259155, -0.0008118882542476058, 0.43156522512435913, 0.0631534531712532, 0.4094516634941101, 0.05154213681817055, 0.06574758887290955, -0.39357706904411316, -0.5951266288757324, -0.584576427936554, 0.48390406370162964, 0.3656506836414337, 0.7779020071029663, -0.10986324399709702, 0.7812588810920715, 0.37807586789131165, 0.18337775766849518, -1.002220869064331, 0.5235466361045837, -0.1976153552532196, -0.35791173577308655, -0.36612096428871155, -0.10152740031480789, -0.9226569533348083, 0.1860969215631485, -0.034855179488658905, -0.5449410080909729, -0.020478766411542892, 0.12787355482578278, -0.3966811001300812, -0.24962455034255981, -1.135246753692627, 0.6474241018295288, -0.2862986922264099, 0.39262551069259644, -0.43493086099624634, -0.5681598782539368, 0.06638352572917938, -0.31142696738243103, 0.19093380868434906, -0.12107465416193008, 0.07147728651762009, 1.0081819295883179, -0.41090095043182373, 0.9404314756393433, -0.3235929310321808, 0.015781639143824577, 0.378371000289917, 0.12767496705055237, 0.1737649291753769, -0.16439437866210938, -0.295257568359375, 0.6316192150115967, 0.2515439987182617, -0.19390566647052765, -0.6781350374221802, 0.2275826334953308, -0.8149667382240295, -0.43683671951293945, -0.556311845779419, -0.11967870593070984, -0.3878047466278076, 0.2579522728919983, 0.585274875164032, 0.6613534092903137, -0.7103558778762817, -0.2578545808792114, 0.7011135220527649, 0.03273771330714226, 0.07981272786855698, 1.582356572151184, -0.06723563373088837, -0.5290163159370422, 0.8510487079620361, 0.2984844744205475, 0.28932562470436096, -0.11676357686519623, 0.49850136041641235, -0.5549024939537048, -0.9232246279716492, -0.9594236612319946, 0.38600674271583557, -0.5607590675354004, 0.14374326169490814, -0.7417207956314087, -0.43571576476097107, -0.19176796078681946, -0.19898492097854614, -0.021211091428995132, -0.1937423199415207, -0.2421797215938568, -0.23099328577518463, 0.5623794198036194, 0.9795317649841309, -0.036282673478126526, 0.599321722984314, -1.0298928022384644, 0.1579732894897461, 0.44491422176361084, 0.1351526826620102, -0.12512528896331787, -0.8919329047203064, -0.11386622488498688, -0.09035509079694748, 0.07461536675691605, -0.8681398034095764, 0.17930005490779877, 0.38659366965293884, 0.6535477638244629, 0.4693252742290497, 0.2299339920282364, 0.949040412902832, -1.0774309635162354, 0.739142119884491, 0.2235371321439743, -1.3639538288116455, 0.6243413686752319, -0.2625778317451477, 0.2255505621433258, 0.8439581990242004, 0.15670141577720642, -0.5187613368034363, -0.4984685778617859, -0.9044195413589478, -0.37934422492980957, 0.7336179614067078, 0.04379716515541077, 0.20605593919754028, 0.14063765108585358, 0.2582235634326935, 0.38232719898223877, 0.23810580372810364, -0.08207078278064728, -0.14439968764781952, -0.14188973605632782, 0.06393629312515259, -0.16063891351222992, -0.2765514552593231, -0.29311808943748474, -0.2917952239513397, 0.5077815651893616, -0.06032830849289894, 0.20048469305038452, 0.21320487558841705, -0.1601821780204773, -0.1462976485490799, 0.2732706665992737, 0.2828122675418854, 0.6980652809143066, -0.3292597830295563, -0.0887710452079773, 0.44668588042259216, -0.6070582866668701, 0.2595851719379425, 0.5426344871520996, -0.42134422063827515, 0.3316573202610016, 0.8393222689628601, 0.8715985417366028, 0.40642598271369934, -0.790880560874939, 0.5930381417274475, -0.12720070779323578, -0.5283674597740173, -0.5219186544418335, 0.07987575232982635, 0.23105935752391815, 0.15359541773796082, 0.5885618329048157, 0.15360914170742035, 0.49817848205566406, -0.4681413173675537, 0.24383363127708435, 0.45081889629364014, -0.9681564569473267, -0.7169697284698486, 0.3435104787349701, 0.3774649202823639, -0.6116299629211426, 0.67767733335495, -0.29299747943878174, -0.9317331910133362, 0.17604777216911316, 0.7954437136650085, 1.0318779945373535, -0.38563334941864014, 0.5014094710350037, 0.18197974562644958, 0.25648149847984314, -0.22125814855098724, 0.7236780524253845, -0.28135985136032104, -0.768835723400116, -0.42378026247024536, -0.6827386617660522, -0.5507169365882874, -0.2802301347255707, -1.2943115234375, -0.07300212234258652, -0.024383315816521645, -0.2773745656013489, 0.18844589591026306, -0.050768960267305374, -0.5938549041748047, 0.14566414058208466, -0.2609381079673767, 1.2193007469177246, -0.9361488223075867, 0.9117811322212219, 0.6938700079917908, 0.07805689424276352, -0.7849216461181641, 0.1614815890789032, 0.10720109939575195, -1.2781394720077515, 0.9077652096748352, 0.13302287459373474, -0.688700258731842, 0.1863240748643875, -0.23506179451942444, -0.586580753326416, 0.7894779443740845, 0.2597687542438507, -0.3605339527130127, 0.28513216972351074, -0.3944024443626404, 0.7399374842643738, -0.046762362122535706, -0.17311285436153412, 0.5664791464805603, 0.6753612756729126, 0.09958566725254059, -1.562656044960022, -0.3803698420524597, -0.20913736522197723, -0.07305734604597092, -0.01060547772794962, -0.5479244589805603, 0.17510227859020233, -0.41154050827026367, -0.6675711274147034, 0.11994816362857819, 0.5264091491699219, -0.08407625555992126, 0.49179840087890625, 0.7886952757835388, 0.36880549788475037, 0.8950247168540955, -0.183247372508049, 1.1915919780731201, 0.03615369275212288, -0.18490242958068848, 1.0281047821044922, -0.8566609025001526, 1.2080820798873901, 0.08142413944005966, -0.5009321570396423, 0.5628488659858704, 0.5726951956748962, 0.17800888419151306, 0.6319389343261719, 0.08927442878484726, -0.3832452893257141, -0.34421253204345703, -0.03366125375032425, -0.20617040991783142, 0.6544719934463501, 0.2595842778682709, 0.038999538868665695, -0.15772613883018494, 0.32993465662002563, 0.01177156250923872, 0.17441041767597198, -0.05472303926944733, 1.2308626174926758, 0.1342196762561798, -0.46007466316223145, 0.6767665147781372, 0.025483904406428337, 0.4569934606552124, -1.1284372806549072, 0.22406110167503357, 0.30007439851760864, 0.166237011551857, -0.000988416955806315, -0.6119555234909058, 0.3394330143928528, 0.11399944871664047, -0.3079585134983063, -0.25567635893821716, 0.7794661521911621, -0.23984447121620178, -0.626147449016571, 0.40086790919303894, 0.713226318359375, 0.4975343942642212, -0.24187685549259186, -0.7143083810806274, 0.14908446371555328, 0.1643335074186325, 0.2382398098707199, 0.3621433675289154, 0.24037356674671173, 0.14168120920658112, 0.6121055483818054, 0.5650985240936279, 0.5057255625724792, -0.17137236893177032, 0.3337390720844269, 0.6027339100837708, -0.6117798089981079, -0.6762720346450806, -0.6665753722190857, 0.2733767628669739, -0.2699476480484009, -0.38001278042793274, 0.9653851985931396, 0.6518471240997314, 0.523043692111969, 0.023553119972348213, 0.9557203650474548, 0.3010508418083191, 1.028437852859497, -0.49717074632644653, 0.7698593139648438, -0.0082689318805933, -0.31470558047294617, -0.03117029368877411, -0.4414788484573364, 0.07571735233068466, 0.8546662330627441, -0.2580382823944092, -0.4229106307029724, 0.6585659980773926, 0.4449155628681183, 0.17290933430194855, 0.5705959796905518, 0.17487148940563202, 0.11495290696620941, -0.07239068299531937, 0.03161633759737015, 1.0131750106811523, -0.2825740873813629, 0.6846028566360474, -0.14429117739200592, -0.44397449493408203, 0.07301964610815048, -0.6534963846206665, -0.82646644115448, -0.597667396068573, -0.39258822798728943, -0.4252825975418091, 0.3499799370765686, 0.4245702624320984, 0.9577916860580444, -0.7467268109321594, -0.6316407322883606, 0.556671679019928, -0.31273022294044495, -0.6210116147994995, -0.17994403839111328, 0.6850986480712891, -0.04033955931663513, -0.5374003648757935, 0.763283908367157, 0.2471056878566742, 0.27434420585632324, -0.22586636245250702, -0.2280592918395996, 0.5101626515388489, -0.22154422104358673, 0.6388168931007385, 0.12182839214801788, -0.932336688041687, -0.3805268108844757, 0.43561944365501404, 0.11271364986896515, -0.12283296883106232, 0.7856677174568176, -0.8097981810569763, 0.7180320620536804, 0.18338704109191895, 0.3432946801185608, 0.6941942572593689, 0.0684003233909607, 0.7511314153671265, -0.27038082480430603, -0.08260847628116608, 0.23702628910541534, 0.2713194787502289, 0.46029165387153625, -0.15760491788387299, 0.26401546597480774, 0.19374823570251465, -0.39674273133277893, -0.8115231394767761, 0.11749102920293808, -1.0353550910949707, -0.014240323565900326, 1.0820403099060059, -0.11189939826726913, -0.11633303016424179, -0.5857421159744263, -0.47239693999290466, -0.02864520065486431, -0.682930052280426, 0.6358473300933838, 0.9822502136230469, -0.4159905016422272, 0.18889456987380981, -0.6771185994148254, 0.4540996849536896, 0.041412390768527985, -0.2906419336795807, -0.004446535836905241, 0.5202682018280029, 0.5563753843307495, 0.11715076863765717, 1.0236780643463135, -0.11447698622941971, 0.41562792658805847, -0.08800684660673141, -0.0748608410358429, -0.058250751346349716, 0.14822228252887726, -0.7580605745315552, -0.14466433227062225, 0.24764615297317505, -0.3309464156627655 ]
http://arxiv.org/abs/2404.19296v1
http://arxiv.org/pdf/2404.19296v1
Octopus v4: Graph of language models
2024-04-30T06:55:45
2024-04-30T06:55:45
Wei Chen, Zhiyuan Li
cs.CL
cs.CL
Language models have been effective in a wide range of applications, yet the most sophisticated models are often proprietary. For example, GPT-4 by OpenAI and various models by Anthropic are expensive and consume substantial energy. In contrast, the open-source community has produced competitive models, like Llama3. Furthermore, niche-specific smaller language models, such as those tailored for legal, medical or financial tasks, have outperformed their proprietary counterparts. This paper introduces a novel approach that employs \textit{functional tokens} to integrate \textbf{multiple open-source models}, each optimized for particular tasks. Our newly developed Octopus v4 model leverages \textit{functional tokens} to intelligently direct user queries to the most appropriate vertical model and reformat the query to achieve the best performance. Octopus v4, an evolution of the Octopus v1, v2, and v3 models, excels in selection and parameter understanding and reformatting. Additionally, we explore the use of graph as a versatile data structure that effectively coordinates multiple open-source models by harnessing the capabilities of the Octopus model and \textit{functional tokens}. Use our open-sourced GitHub (\url{https://www.nexa4ai.com/}) to try Octopus v4 models (\url{https://huggingface.co/NexaAIDev/Octopus-v4}), and contrite to a larger graph of language models. By activating models less than 10B parameters, we achieved SOTA MMLU score of 74.8 among the same level models.
[ -0.21389707922935486, -0.5822458863258362, 0.6181889772415161, 0.021540679037570953, -0.17136895656585693, -0.13805124163627625, -0.0036623389460146427, -0.6903119683265686, 0.42291224002838135, 0.9182854890823364, -0.24405920505523682, -0.7079797387123108, -0.171066015958786, 0.2198900282382965, -0.2513215243816376, 0.8305487632751465, 0.11796140670776367, 0.05949809402227402, 0.040030524134635925, -0.6704961061477661, -0.1790209263563156, -0.40139520168304443, -0.48732638359069824, -0.2253064215183258, 0.5944806933403015, 0.5031964182853699, 0.7040421962738037, 0.6843043565750122, 0.46198898553848267, 0.35121679306030273, -0.10391703248023987, -0.3013556897640228, -0.5813382267951965, -0.03956713527441025, -0.19534273445606232, -0.569660484790802, -0.6985976696014404, -0.08752462267875671, 0.6329433917999268, 0.6491489410400391, -0.15302948653697968, 0.16245144605636597, -0.34881922602653503, 0.3554544746875763, -0.2839520275592804, 0.5922772288322449, -0.7841297388076782, -0.12156746536493301, -0.38198208808898926, 0.24549245834350586, -0.37446826696395874, -0.3957050144672394, 0.06977878510951996, -0.8843410015106201, -0.4178354740142822, 0.18546824157238007, 0.8192809820175171, 0.09871178865432739, -0.46780791878700256, -0.22162842750549316, -0.43300366401672363, 0.6612753868103027, -0.995030403137207, 0.6103073954582214, 0.18112345039844513, 0.45151862502098083, -0.13709649443626404, -1.139052391052246, -0.6008268594741821, -0.3180020749568939, 0.169529527425766, -0.11015977710485458, -0.39873969554901123, 0.14781223237514496, 0.04767106845974922, 0.21569372713565826, -0.3699493110179901, 0.4349869191646576, -0.7693373560905457, -0.18888109922409058, 0.4742230772972107, 0.14204472303390503, 0.4612427055835724, -0.12323043495416641, -0.3457792401313782, 0.26408007740974426, -0.955624520778656, 0.02899140678346157, 0.7613008618354797, 0.516204297542572, -0.07616806030273438, 0.8537449240684509, -0.29315945506095886, 0.6766199469566345, -0.31329891085624695, -0.22661229968070984, 0.5158159732818604, -0.539243757724762, 0.21614119410514832, -0.2200922966003418, 0.9617780447006226, 0.2295667976140976, 0.17720593512058258, 0.06420469284057617, -0.24013304710388184, -0.11171510815620422, 0.24810762703418732, -0.6972804069519043, -0.22345508635044098, 0.24024352431297302, -0.43369606137275696, -0.44307470321655273, -0.2896168828010559, -0.6319875717163086, -0.15536010265350342, -0.31106457114219666, 0.3583593964576721, -0.4494797885417938, -0.4708176851272583, 0.1503535956144333, -0.086672842502594, -0.17208227515220642, 0.1422986537218094, -0.9345182776451111, 0.6813750267028809, 0.8136330246925354, 0.9531392455101013, -0.07597475498914719, -0.09473146498203278, -0.4630333185195923, 0.11226826161146164, -0.24035753309726715, 0.5678175091743469, -1.0202209949493408, -0.1652110069990158, -0.12027177214622498, -0.2284308820962906, 0.04790691286325455, -0.3198396861553192, 0.3922576904296875, -0.587121844291687, 0.2903975248336792, -0.07028418034315109, -0.6091340780258179, -0.5163143873214722, 0.1391969919204712, -1.1260054111480713, 1.0110673904418945, 0.2773245871067047, -0.9276387691497803, 0.24471518397331238, -1.2667502164840698, 0.016238102689385414, 0.3951008915901184, -0.29196494817733765, -0.4131985008716583, -0.18342086672782898, 0.08508910983800888, 0.18090209364891052, -0.29844215512275696, -0.06877967715263367, -0.849990963935852, -0.14559374749660492, -0.15018343925476074, 0.3781394958496094, 0.7721489071846008, 0.35628458857536316, -0.08458882570266724, 0.4258660674095154, -0.6609410047531128, -0.14582425355911255, 0.1505795568227768, -0.32353007793426514, -0.6052255630493164, 0.15075445175170898, -0.09820418059825897, -0.00041368932579644024, 0.33240094780921936, -0.6346996426582336, 0.4958493113517761, -0.5749433040618896, 1.1041851043701172, 0.5992523431777954, -0.08956467360258102, 0.38668113946914673, 0.047631699591875076, 0.5225728750228882, 0.049017950892448425, 0.17000094056129456, -0.3169437646865845, -0.9774079918861389, -0.2380901724100113, -0.44264429807662964, 0.3088640570640564, 0.3638438284397125, -0.7710782885551453, 0.009730462916195393, -0.254555881023407, -0.7378854155540466, -0.46982893347740173, -0.052778732031583786, 0.08405983448028564, 0.5394237041473389, 0.3239394724369049, -0.3266071081161499, -0.2655492126941681, -0.775108277797699, -0.36985671520233154, -0.4680890738964081, 0.07499446719884872, 0.5297968983650208, 0.5953561663627625, -0.4211329519748688, 0.9842044115066528, -0.498820960521698, -0.06500642746686935, -0.4061029851436615, 0.029115287587046623, 0.5898559093475342, 0.2739185690879822, 0.8884693384170532, -0.8927986025810242, -0.2739652395248413, 0.3570943772792816, -0.3218432366847992, -0.2712773382663727, 0.3730754852294922, 0.11705107986927032, 0.09209476411342621, 0.30339425802230835, -0.612657368183136, 0.07451467961072922, 0.6309994459152222, -0.3646389842033386, 0.6091326475143433, -0.14601154625415802, -0.21451866626739502, -1.0464072227478027, 0.35020074248313904, 0.04489433020353317, -0.38445037603378296, -0.6802579760551453, 0.36043253540992737, 0.0010579577647149563, -0.3542807996273041, -0.4994093179702759, 0.6820143461227417, -0.2589642405509949, -0.30278921127319336, 0.12831436097621918, 0.09001877158880234, -0.20790405571460724, 0.4158342778682709, -0.08733745664358139, 0.5132067799568176, 0.5882825255393982, -0.26498377323150635, 0.2736143469810486, 0.06267820298671722, -0.07482992112636566, 0.17924603819847107, -0.9027849435806274, 0.0734722837805748, 0.07867002487182617, 0.13707531988620758, -0.9569333791732788, -0.1934838593006134, 0.4879997670650482, -0.09313074499368668, -0.19977407157421112, -0.2507762312889099, -0.4761706590652466, -0.31628936529159546, -0.324020117521286, 0.5357133746147156, 0.322488933801651, -0.3428843915462494, 0.730120062828064, 0.7013037204742432, -0.4693964421749115, -0.3688056170940399, -0.21557871997356415, -0.047909047454595566, -0.4408390522003174, -0.7220878005027771, 0.3108176290988922, -0.05976933613419533, -0.08403842896223068, 0.3286650776863098, -0.01968350075185299, -0.22591549158096313, -0.08103577792644501, 0.020166806876659393, 0.13480807840824127, -0.6153138875961304, -0.09926832467317581, 0.08910693973302841, -0.34138545393943787, -0.27295178174972534, -0.7908959984779358, 0.41139814257621765, -0.3096923530101776, -0.4507158100605011, -0.462851345539093, 0.23012158274650574, 0.9211874604225159, -0.6102718710899353, 0.44757720828056335, 0.16953182220458984, -0.4558369219303131, 0.009183254092931747, -0.5237606763839722, -0.15149423480033875, -0.4906838536262512, 0.19279804825782776, -0.5427626371383667, -1.064626932144165, 0.6617894172668457, -0.08723482489585876, 0.2920532524585724, 0.3787643015384674, 0.7064250707626343, 0.3377440571784973, 0.9785012602806091, 0.7478498220443726, -0.05942080542445183, 0.6039431691169739, -0.17644697427749634, 0.4385894238948822, -0.36157941818237305, -0.14217114448547363, -0.6500872373580933, -0.06656084954738617, -0.700330913066864, -0.3406205177307129, 0.4914590120315552, -0.10522667318582535, -0.24305911362171173, 0.6135818958282471, -0.3339284658432007, 0.4525989294052124, 0.49480223655700684, -0.3475235104560852, 0.38088980317115784, 0.015685176476836205, -0.5748338103294373, -0.023975739255547523, -0.6624820232391357, -0.662551999092102, 1.3122915029525757, 0.6543134450912476, 0.6339304447174072, 0.12314030528068542, 0.7423946261405945, -0.08994110673666, 0.3001161217689514, -0.49785420298576355, 0.4649386703968048, -0.11853211373090744, -0.6053803563117981, -0.4961448013782501, -0.5946398377418518, -1.0685124397277832, 0.6083933115005493, -0.0017521185800433159, -1.1126708984375, 0.14950473606586456, 0.12434551119804382, -0.24926656484603882, 0.212686687707901, -0.7699849605560303, 1.2344499826431274, -0.14109867811203003, -0.22925534844398499, -0.18089811503887177, -0.4697478413581848, 0.34578388929367065, -0.22218015789985657, 0.5077418088912964, -0.3622061014175415, -0.3616687059402466, 0.36174702644348145, -0.6223025918006897, 0.6815877556800842, -0.18177592754364014, 0.05667899176478386, 0.34002310037612915, -0.0338197760283947, 0.3603466749191284, 0.13098344206809998, -0.5441802740097046, 0.5121527910232544, 0.22130197286605835, -0.23097555339336395, -0.40677860379219055, 0.6960182189941406, -0.7553860545158386, -0.24666446447372437, -0.059194862842559814, -0.30618131160736084, 0.1901601254940033, 0.8442582488059998, -0.09699757397174835, 0.3582814335823059, -0.020501524209976196, 0.17411397397518158, 0.08131435513496399, -0.12730807065963745, 0.285277396440506, 0.6441738605499268, -0.44812825322151184, -0.5711595416069031, 0.9998496770858765, 0.36673250794410706, 0.16551415622234344, 0.1289217323064804, 0.3946331739425659, -0.5185909867286682, -0.6177727580070496, -0.3452378809452057, 0.5791990160942078, -0.5755935907363892, -0.05144096538424492, -0.7038808465003967, 0.23329469561576843, -0.4509070813655853, 0.12707975506782532, -0.43485966324806213, -0.6778317093849182, -0.2043834626674652, -0.2947874963283539, 0.32834044098854065, 0.9478846788406372, 0.02806251309812069, 0.16863656044006348, -0.6220493912696838, 0.37485143542289734, 0.01461450383067131, 0.6735778450965881, -0.34879785776138306, 0.21587663888931274, 0.052030932158231735, -0.0779636949300766, -0.3823029398918152, -1.2227879762649536, 0.32226866483688354, 0.1908925473690033, 0.7029461860656738, 0.5167484283447266, -0.046671390533447266, 0.442571759223938, -0.7310739159584045, 0.8187272548675537, 0.3343835175037384, -1.1226497888565063, 0.29764482378959656, -0.5894752144813538, -0.031328991055488586, 0.3353002071380615, 0.4955613911151886, -0.39140820503234863, -0.587493896484375, -0.5856325626373291, -1.0883632898330688, 0.8154100775718689, 0.3781298100948334, 0.03991207852959633, 0.21118280291557312, 0.4770144820213318, 0.2639519274234772, 0.34562253952026367, -1.0430145263671875, 0.1681278645992279, -0.4335530400276184, -0.41647201776504517, 0.17547491192817688, -0.0008207758655771613, -0.0010655297664925456, -0.36709463596343994, 0.44776013493537903, -0.43131110072135925, -0.005377940367907286, -0.19449928402900696, 0.19639833271503448, 0.1394987851381302, -0.1020214855670929, 0.5181177854537964, 0.7228312492370605, 0.13849934935569763, -0.04140922799706459, 0.1573256403207779, -0.25793763995170593, -0.18030571937561035, 0.15638138353824615, 0.039393071085214615, 0.058709342032670975, 0.2614409029483795, 0.7846106290817261, 0.44657766819000244, -0.5921035408973694, 0.5287117958068848, -0.07536230236291885, -0.04270315170288086, -0.3085993826389313, 0.14291667938232422, 0.4757702052593231, 0.3568688929080963, -0.001125162816606462, -0.22025662660598755, 0.34167051315307617, -0.49149376153945923, 0.1720774918794632, 0.18398725986480713, -0.30150943994522095, -0.6172411441802979, 0.9762377142906189, 0.353152334690094, -0.39818137884140015, 0.5132107734680176, -0.046433813869953156, -0.3482350707054138, 0.36112505197525024, 0.5022565126419067, 0.5132411122322083, -0.29458087682724, 0.12530334293842316, 0.23190072178840637, 0.24007904529571533, 0.014734392054378986, 0.7448616623878479, 0.010184464044868946, -0.509185254573822, -0.3746980130672455, -0.47856080532073975, -0.5446336269378662, 0.09863335639238358, -0.21024635434150696, 0.6880790591239929, -0.2925621569156647, -0.24186472594738007, 0.2571646273136139, -0.20002441108226776, -0.4979434013366699, -0.18431992828845978, -0.008518246002495289, 1.0252735614776611, -0.7027772665023804, 0.8602538704872131, 0.9427736401557922, -0.7922873497009277, -0.868449866771698, -0.37565097212791443, 0.03375539556145668, -0.6906094551086426, 0.509476900100708, 0.22710373997688293, -0.018436595797538757, 0.10782217979431152, -0.5302992463111877, -1.0072792768478394, 0.8998970985412598, 0.7072859406471252, -0.4277246594429016, -0.17597363889217377, 0.37179142236709595, 0.6716327667236328, -0.7205914855003357, 0.5193572640419006, 0.4323892891407013, 0.5476979613304138, 0.12571513652801514, -1.040424108505249, 0.025963585823774338, -0.3176429271697998, 0.0679008737206459, 0.25848132371902466, -0.45579931139945984, 1.140758991241455, -0.18391743302345276, -0.05164102092385292, 0.08332512527704239, 0.49840039014816284, 0.25866979360580444, 0.2551945447921753, 0.6385464668273926, 0.5771459341049194, 0.7692544460296631, -0.02106303535401821, 0.9028871655464172, -0.6645311713218689, 0.4051113426685333, 0.6440067887306213, -0.40697231888771057, 0.9875904321670532, 0.3485112488269806, 0.09911990165710449, 0.5878567099571228, 0.4510272443294525, 0.12073154002428055, 0.3103286623954773, 0.22943787276744843, 0.08987044543027878, 0.026150835677981377, 0.27568772435188293, -0.25915634632110596, 0.42844319343566895, 0.5491700172424316, -0.16241909563541412, -0.2231409251689911, -0.12353023886680603, 0.19249114394187927, -0.20598439872264862, 0.013746894896030426, 0.8339536190032959, 0.09197551012039185, -0.6001040935516357, 0.38297757506370544, 0.2773771286010742, 0.1360478401184082, -0.6649916768074036, -0.15002703666687012, -0.19883719086647034, 0.10947936028242111, -0.25373128056526184, -0.5838653445243835, 0.32978275418281555, -0.01968293823301792, 0.2941807508468628, -0.15364380180835724, 0.5498211979866028, -0.356036901473999, -0.3758053779602051, 0.4455895721912384, 0.10352857410907745, 0.36683645844459534, 0.11608491092920303, -0.7306779026985168, 0.3375256657600403, -0.19443120062351227, -0.20206406712532043, -0.15255723893642426, 0.5883399248123169, -0.2622894048690796, 0.765164315700531, 0.8154504299163818, 0.11620127409696579, 0.10406587272882462, -0.17458295822143555, 1.0801745653152466, -0.4928579032421112, -1.0427377223968506, -0.6914602518081665, 0.6836054921150208, -0.2167285829782486, -0.370887815952301, 0.5241813659667969, 0.6565486192703247, 0.721755862236023, 0.08362405002117157, 0.6344752907752991, 0.18662944436073303, 0.4759870767593384, -0.39606690406799316, 0.6980946063995361, -0.8161072731018066, 0.3044906556606293, -0.5258067846298218, -1.0385633707046509, -0.4648800194263458, 0.4243299663066864, -0.40593087673187256, -0.18504521250724792, 0.5028766989707947, 0.7216981053352356, -0.38526567816734314, 0.23537462949752808, 0.07880017161369324, 0.3559752404689789, 0.6997209787368774, 0.17748837172985077, 0.6145358085632324, 0.019878052175045013, 0.5169326066970825, 0.1884937435388565, -0.3571949303150177, -0.5878119468688965, -0.9052077531814575, -0.6269441246986389, -0.5692254900932312, -0.32437634468078613, 0.13181081414222717, -0.03574163466691971, 0.632816731929779, 0.9585970044136047, -0.6526151895523071, -0.48066413402557373, -0.10212107747793198, 0.4130888879299164, -0.13387945294380188, -0.1610856056213379, 0.0003811685019172728, -0.35676729679107666, -0.6598756313323975, 0.49311941862106323, 0.4939349591732025, -0.23003460466861725, -0.4431705176830292, -0.14900866150856018, 0.011316200718283653, 0.34776413440704346, 0.5199397206306458, 0.4713220000267029, -0.8610987067222595, -0.3682944178581238, -0.09729788452386856, 0.10492575168609619, 0.14412946999073029, 0.852665901184082, -0.5716124773025513, 0.5669479370117188, 0.7372142672538757, 0.397809773683548, 0.570151686668396, -0.239673912525177, 0.7458033561706543, -0.3322661221027374, 0.13071377575397491, 0.3625544011592865, 0.6348962783813477, 0.09003835171461105, -0.05227451026439667, 0.6360040903091431, 0.3313975930213928, -0.42606744170188904, -1.0378345251083374, 0.4497053027153015, -0.7905520796775818, -0.26725879311561584, 0.9425029158592224, -0.22364011406898499, -0.25759848952293396, -0.15346422791481018, -0.37692493200302124, -0.17514559626579285, -0.5060922503471375, 0.34315791726112366, 0.5160537362098694, -0.35659611225128174, -0.05836128443479538, -0.6674243807792664, 0.19972561299800873, 0.02807042747735977, -0.7178762555122375, -0.34520936012268066, 0.4919048845767975, 0.6138952374458313, 0.3600059449672699, 0.8153719305992126, -0.3648846745491028, -0.049301471561193466, -0.05843789130449295, -0.0034228856675326824, -0.16190332174301147, -0.3119424283504486, -0.10144501179456711, 0.584831178188324, 0.15326203405857086, -0.06546005606651306 ]
http://arxiv.org/abs/2405.01593v1
http://arxiv.org/pdf/2405.01593v1
Large Language Model Agent for Fake News Detection
2024-04-30T06:55:27
2024-04-30T06:55:27
Xinyi Li, Yongfeng Zhang, Edward C. Malthouse
cs.CL
cs.CL, cs.AI, cs.IR
In the current digital era, the rapid spread of misinformation on online platforms presents significant challenges to societal well-being, public trust, and democratic processes, influencing critical decision making and public opinion. To address these challenges, there is a growing need for automated fake news detection mechanisms. Pre-trained large language models (LLMs) have demonstrated exceptional capabilities across various natural language processing (NLP) tasks, prompting exploration into their potential for verifying news claims. Instead of employing LLMs in a non-agentic way, where LLMs generate responses based on direct prompts in a single shot, our work introduces FactAgent, an agentic approach of utilizing LLMs for fake news detection. FactAgent enables LLMs to emulate human expert behavior in verifying news claims without any model training, following a structured workflow. This workflow breaks down the complex task of news veracity checking into multiple sub-steps, where LLMs complete simple tasks using their internal knowledge or external tools. At the final step of the workflow, LLMs integrate all findings throughout the workflow to determine the news claim's veracity. Compared to manual human verification, FactAgent offers enhanced efficiency. Experimental studies demonstrate the effectiveness of FactAgent in verifying claims without the need for any training process. Moreover, FactAgent provides transparent explanations at each step of the workflow and during final decision-making, offering insights into the reasoning process of fake news detection for end users. FactAgent is highly adaptable, allowing for straightforward updates to its tools that LLMs can leverage within the workflow, as well as updates to the workflow itself using domain knowledge. This adaptability enables FactAgent's application to news verification across various domains.
[ -0.14898766577243805, -1.052010178565979, 0.784967839717865, 0.21831287443637848, -0.24255143105983734, 0.32260966300964355, -0.07815654575824738, -0.5284070372581482, 0.371501624584198, 0.47821947932243347, -0.32101374864578247, -0.4399975836277008, -0.5558674335479736, 0.02094140090048313, -0.5729843974113464, 0.8545823097229004, 0.08443819731473923, -0.015116007998585701, -0.16926878690719604, 0.12485398352146149, -0.13212181627750397, -0.43804216384887695, -0.8149295449256897, -0.41781848669052124, 0.47023850679397583, 0.284952312707901, 0.7332535982131958, 0.37100884318351746, 0.054543234407901764, 0.46880587935447693, 0.2896447479724884, 0.49584710597991943, -0.2920060455799103, -0.16216419637203217, -0.3239997923374176, -0.533562421798706, -0.46946054697036743, 0.21364304423332214, 0.33296096324920654, -0.05862439051270485, -0.17882631719112396, 0.16091051697731018, -0.4804894030094147, 0.3004941940307617, -0.34310173988342285, 0.18541932106018066, -0.714504063129425, -0.10377158224582672, 0.030538618564605713, -0.29139119386672974, -0.5027797222137451, -0.47620120644569397, -0.026626337319612503, -0.45319053530693054, 0.4296192228794098, 0.16354727745056152, 0.9918498992919922, 0.25732704997062683, -0.6834242939949036, -0.21830132603645325, -0.7222529649734497, 0.3986591100692749, -0.8411206603050232, 0.46983733773231506, 0.23745690286159515, 0.49836403131484985, -0.3109516203403473, -0.6584973335266113, -1.0837682485580444, -0.6072822213172913, -0.06730931252241135, -0.022984424605965614, -0.2427206039428711, -0.18125222623348236, 0.22324980795383453, 0.06632687896490097, -0.7583958506584167, 0.06724098324775696, -0.05398331955075264, -0.6316300630569458, 0.7070375680923462, -0.21539442241191864, 0.3983932137489319, -0.08821976184844971, -0.3080657124519348, 0.04643452167510986, -0.5288556814193726, -0.42783600091934204, 0.45990613102912903, 0.13215301930904388, -0.1545579731464386, 0.4587777256965637, -0.37571197748184204, 0.5693002343177795, 0.049155768007040024, -0.6065410375595093, 0.29299673438072205, -0.04797627404332161, -0.15771116316318512, 0.3109986186027527, 0.7158161401748657, 0.00027720999787561595, 0.10574183613061905, 0.03838609904050827, -0.4832688868045807, 0.2587100565433502, 0.24635666608810425, -0.7306734919548035, 0.0801105871796608, 0.23508796095848083, -0.2788856625556946, -0.46446606516838074, 0.1250341236591339, -0.5224000811576843, -0.628656804561615, -0.5406078100204468, 0.6480204463005066, -0.266613632440567, -0.34697067737579346, 0.13300029933452606, -0.05372261628508568, 0.14214131236076355, 0.7752087116241455, -0.0041229985654354095, 0.0269904937595129, 0.5860377550125122, 0.7748728394508362, 0.05549510195851326, -0.2625617980957031, -0.9059102535247803, -0.04947135969996452, -0.5096036195755005, 0.9611431360244751, -0.3070032298564911, 0.3107066750526428, 0.05273015424609184, 0.11178164929151535, 0.10928771644830704, -0.36187994480133057, 0.661896824836731, -1.05772864818573, 0.043646421283483505, -0.11043042689561844, -0.6101366281509399, -0.29157325625419617, 0.6802586317062378, -0.8847082257270813, 0.827802836894989, -0.02385002188384533, -0.7011362910270691, 0.28402864933013916, -0.7435409426689148, -0.5297427773475647, 0.12273284047842026, 0.10469084978103638, -0.5030413866043091, -0.12426063418388367, 0.27464133501052856, 0.33001160621643066, 0.04561891034245491, 0.2305280864238739, -0.17940446734428406, -0.09133537113666534, 0.3564882278442383, -0.6927830576896667, 0.5286182761192322, 0.191360741853714, -0.4534686803817749, 0.18300065398216248, -0.7589297890663147, -0.32995814085006714, 0.19599607586860657, -0.3453128933906555, -0.20959556102752686, 0.008424455299973488, -0.0318852961063385, 0.33766865730285645, 0.1485438495874405, -0.7946190237998962, 0.15695708990097046, -0.271831750869751, 0.09766808897256851, 0.5434867143630981, 0.16152064502239227, 0.11165111511945724, -0.4027188718318939, 0.22652867436408997, 0.15958048403263092, 0.08939432352781296, -0.09166146069765091, -0.16876882314682007, -0.8381121754646301, -0.3565256893634796, 0.4682565927505493, 0.703822910785675, -1.2991435527801514, 0.36641764640808105, -0.19833454489707947, -0.5602299571037292, -0.29062238335609436, 0.001901787705719471, 0.18363730609416962, 0.39581069350242615, 0.20248593389987946, 0.15760894119739532, -0.5470442771911621, -0.754631519317627, -0.5347534418106079, -0.15195190906524658, 0.039318930357694626, -0.3316984474658966, 0.8008706569671631, -0.16656430065631866, 1.0272780656814575, -0.2811414897441864, -0.1796395629644394, -0.28113821148872375, 0.3628273010253906, 0.1579032689332962, -0.0026572744827717543, 0.47587424516677856, -1.1736477613449097, -0.476408451795578, -0.042244117707014084, -0.6847847104072571, -0.0872664600610733, -0.3115118443965912, 0.1858457326889038, 0.7526640295982361, 0.3952726423740387, -1.141436219215393, 0.6441578269004822, 0.5289574861526489, -0.4686596095561981, 0.811732292175293, -0.18498864769935608, 0.4451352059841156, -0.9222995638847351, -0.14629505574703217, 0.2293180674314499, -0.9060407280921936, -0.7887455224990845, 0.01663404516875744, 0.027970129624009132, -0.03809165954589844, -0.6520385146141052, 0.7033687829971313, -0.4855648875236511, -0.1962990164756775, -0.7301762700080872, 0.09707444161176682, 0.08969899266958237, 0.2666468918323517, 0.13080447912216187, 0.6655501127243042, 0.39683058857917786, -0.6370956301689148, 0.7115210890769958, -0.06733468174934387, -0.2683033347129822, 0.5148289799690247, -0.5988539457321167, 0.03703494742512703, -0.2594568729400635, 0.6888483166694641, -0.7040609121322632, -0.3956119120121002, 0.3495229482650757, -0.7227901816368103, -0.007269407156854868, -0.14605312049388885, -1.1470460891723633, -0.43845856189727783, -0.12719793617725372, -0.24945168197155, 0.2693648934364319, -0.7279374599456787, 0.8168128728866577, 0.07537394016981125, 0.15379728376865387, -0.44787102937698364, -0.45328861474990845, 0.4171755909919739, 0.16267617046833038, -0.6838241219520569, 0.058592524379491806, 0.00907979067414999, -0.48529496788978577, 0.07883806526660919, -0.36090463399887085, -0.18376338481903076, -0.1349170207977295, 0.021145058795809746, 0.3339400887489319, -0.28923970460891724, 0.21852485835552216, -0.15259739756584167, 0.03893636167049408, 0.010931337252259254, -0.23191969096660614, 0.32718369364738464, -0.1156236082315445, -0.5252679586410522, -0.5705214738845825, 0.1719978153705597, 0.9568420052528381, -0.2661415636539459, 1.0731309652328491, 0.739885151386261, -0.4506882429122925, -0.46100905537605286, -0.911696195602417, -0.33177849650382996, -0.4579277038574219, 0.31504637002944946, -0.1096610501408577, -0.6649094820022583, 0.30022165179252625, -0.02885304018855095, -0.0005797612247988582, 0.2996752858161926, 0.7320381999015808, 0.36388641595840454, 1.008487582206726, 0.46311768889427185, -0.20199204981327057, 0.22511133551597595, 0.04673956334590912, 0.28788045048713684, 0.16366204619407654, -0.03071758709847927, -0.23793870210647583, 0.10752694308757782, -0.27177006006240845, -0.6932600736618042, 0.37422412633895874, -0.5084822177886963, -0.0014331607380881906, 0.027034660801291466, -0.13819579780101776, 0.6042546033859253, 0.42161741852760315, 0.18420885503292084, 0.6454346179962158, 0.06713313609361649, 0.3436278998851776, 0.3603495657444, -0.4547916650772095, -0.6331308484077454, 0.7652766108512878, 0.5142642855644226, 0.7425768375396729, 0.2228497564792633, 0.3252599239349365, 0.8663977980613708, 0.5874459743499756, -0.8524708151817322, 0.6226116418838501, 0.22523851692676544, -0.7911871671676636, -0.3247300684452057, -0.34828534722328186, -0.5594383478164673, 0.44224250316619873, -0.2863439917564392, -0.2333400994539261, -0.20226146280765533, 0.19887538254261017, -0.1504545360803604, 0.5411471724510193, -0.5774968266487122, 0.4624950587749481, -0.23289136588573456, -0.20151883363723755, -0.38622933626174927, -0.3664577007293701, 0.5026344656944275, -0.30536550283432007, 0.2679251730442047, -0.0810721218585968, -0.04796180501580238, 0.23501096665859222, -0.5257382988929749, 1.17031729221344, -0.2550685703754425, -0.1633160412311554, 0.3777341842651367, 0.17488045990467072, 1.022829532623291, 0.12671349942684174, 0.08614394813776016, 0.05174142122268677, -0.2649247944355011, -0.3359672725200653, -0.49445393681526184, 0.6293764710426331, -0.7317127585411072, -0.6509411334991455, -0.7225744128227234, -0.5982167720794678, -0.08371852338314056, 0.25423723459243774, -0.019114317372441292, 0.27079376578330994, -0.2359514832496643, -0.06301772594451904, 0.757079005241394, -0.1715019941329956, 0.35391244292259216, 1.1730848550796509, -0.2584715485572815, 0.00794222578406334, 0.9451834559440613, 0.13897252082824707, 0.014698456041514874, 0.43632030487060547, 0.2519059479236603, -0.34884390234947205, -0.4271223545074463, -0.4289124310016632, 0.32594066858291626, -0.6240302324295044, -0.23056595027446747, -0.7209670543670654, -0.42147186398506165, -0.5049415826797485, 0.11296863108873367, -0.5033918023109436, -0.22678592801094055, -0.07481300085783005, -0.18800485134124756, 0.39182209968566895, 0.6969980597496033, -0.0785842314362526, 0.3222386837005615, -0.7588024735450745, 0.8482093811035156, 0.5786038637161255, 0.12454286217689514, -0.2644791901111603, -0.5921216607093811, -0.2683562636375427, 0.12715093791484833, -0.2846718430519104, -1.060062289237976, 0.5387451648712158, -0.03381075710058212, 0.7058297395706177, 0.45153164863586426, 0.22600893676280975, 0.12110812216997147, -0.3290843069553375, 0.5888564586639404, -0.1292874813079834, -0.8978136777877808, 0.41043469309806824, -0.5115761756896973, -0.12987183034420013, 0.12996935844421387, 0.5369641184806824, -0.3177991509437561, -0.48874929547309875, -0.5684772729873657, -0.35305723547935486, 0.6332547664642334, 0.17248909175395966, 0.025333303958177567, 0.18037107586860657, 0.1586933434009552, 0.11971580237150192, 0.347797155380249, -0.9811376333236694, -0.21630215644836426, -0.42452943325042725, -0.11740673333406448, 0.06380729377269745, -0.14869733154773712, -0.2327788919210434, -0.0381254106760025, 0.9684917330741882, -0.33413830399513245, 0.1485130786895752, 0.4127442538738251, -0.551658034324646, -0.05497590824961662, 0.35634514689445496, 0.9373289346694946, 0.9721012711524963, 0.05458772927522659, 0.2882377803325653, 0.14642219245433807, -0.33365491032600403, 0.28236865997314453, 0.15152329206466675, -0.2094106674194336, 0.44452643394470215, 0.5163443088531494, 0.6879608631134033, -0.17225435376167297, -0.563230037689209, 0.8725593686103821, 0.04844743013381958, -0.36258116364479065, -0.5746526718139648, -0.09415582567453384, 0.07083892077207565, 0.47490283846855164, 0.6612794399261475, 0.06866759806871414, 0.08543898165225983, -0.6608501076698303, 0.23719704151153564, 0.32697176933288574, -0.13287478685379028, -0.4227726459503174, 0.33032092452049255, 0.2676236629486084, -0.3990710973739624, 0.2335129827260971, -0.49819043278694153, -0.9030628800392151, 0.7829530239105225, 0.6777023077011108, 0.5648041367530823, -0.3721769154071808, 0.7319537401199341, -0.017458094283938408, 0.6967991590499878, -0.46039828658103943, -0.019678516313433647, 0.47109851241111755, -0.9811052083969116, -0.6983940005302429, -0.46156975626945496, -0.33009082078933716, 0.4962148666381836, 0.09083567559719086, 0.2856718599796295, -0.333115816116333, 0.07991431653499603, 0.010224660858511925, 0.04576924815773964, -0.4664616882801056, 0.28978073596954346, 0.3538602292537689, 1.2247751951217651, -1.1294479370117188, 0.8241188526153564, 0.7158889770507812, -0.30665352940559387, -0.7789077758789062, 0.27363723516464233, 0.5172753930091858, -0.6668310165405273, 0.6432406306266785, 0.1474904865026474, -0.13533495366573334, -0.1189238429069519, -0.7830426096916199, -0.5845307111740112, 0.8526022434234619, 0.7229676842689514, -0.5173522233963013, 0.06387048214673996, 0.19201959669589996, 0.5895195603370667, -0.44943860173225403, 0.18033693730831146, 0.29348260164260864, 0.8216645121574402, 0.2943479120731354, -0.7403049468994141, 0.21932081878185272, 0.0068885572254657745, -0.39722156524658203, 0.08010947704315186, -0.7592651844024658, 0.9032938480377197, -0.1532227098941803, -0.06083497405052185, -0.23612132668495178, 0.839928925037384, 0.3508976697921753, 0.694962739944458, 0.6815928816795349, 0.48743391036987305, 0.6745645999908447, 0.2505936622619629, 1.0527161359786987, -0.13287313282489777, 0.2685627043247223, 0.9435750842094421, -0.37755832076072693, 0.48234105110168457, 0.15653227269649506, 0.07160421460866928, 0.7167139053344727, 0.41916364431381226, -0.1462995409965515, 0.014246024191379547, 0.032929204404354095, -0.4789038598537445, -0.5300884246826172, -0.1643095165491104, -0.010223009623587132, 0.5984752178192139, 0.12057602405548096, -0.1698543131351471, -0.42226308584213257, 0.164740189909935, 0.3537921905517578, 0.21292828023433685, -0.43846723437309265, 0.35709598660469055, -0.18831337988376617, -0.6057425737380981, 0.25350990891456604, 0.2305886596441269, 0.5571926236152649, -0.7646229863166809, -0.30041369795799255, -0.1383552849292755, 0.06667263805866241, -0.26663362979888916, -0.47774815559387207, 0.06423468142747879, -0.035438552498817444, -0.2897281050682068, -0.004541341215372086, 1.2484744787216187, -0.5096166133880615, -0.4747696816921234, 0.06928865611553192, 0.7163002490997314, 0.0967932641506195, -0.5891686081886292, -0.6239169836044312, 0.09886158257722855, -0.21402908861637115, -0.5958550572395325, 0.07294906675815582, 0.4744652807712555, -0.23989900946617126, 0.8616883754730225, 0.9498962759971619, 0.2824251651763916, -0.052124954760074615, 0.14497849345207214, 0.7770541310310364, -0.4014464020729065, -0.6099084615707397, -0.8246288895606995, 0.19125083088874817, -0.40194395184516907, 0.3558761179447174, 0.8919215202331543, 0.5362136363983154, 0.41150638461112976, -0.2764783501625061, 0.9631374478340149, -0.013408112339675426, 0.7157184481620789, -0.5469095706939697, 0.9403333067893982, -0.42229458689689636, 0.18642176687717438, 0.12518170475959778, -0.8576927781105042, -0.12367040663957596, 0.3159710168838501, -0.2423136681318283, 0.08858916908502579, 0.7365000247955322, 1.0031901597976685, -0.19790421426296234, -0.14674468338489532, 0.4729517102241516, 0.4876226782798767, 0.41462045907974243, 0.036245573312044144, 0.8545146584510803, -0.2469625025987625, 0.5983423590660095, 0.21578095853328705, -0.1549309343099594, -0.5221717953681946, -1.0499459505081177, -1.1440340280532837, -0.23278667032718658, -0.46954959630966187, -0.4017105996608734, 0.13531316816806793, 1.0388187170028687, 1.0131713151931763, -0.5430985689163208, 0.2257509082555771, 0.1279030740261078, 0.4922029972076416, -0.0037957692984491587, -0.32449010014533997, 0.17437629401683807, -0.1004529520869255, -0.5869570374488831, 0.5667455196380615, -0.0047372253611683846, 0.08881446719169617, -0.3915855884552002, -0.14421868324279785, -0.4666690528392792, 0.6425946354866028, 0.7675827741622925, 0.43698710203170776, -0.7144526839256287, -0.5014225840568542, -0.2738249599933624, -0.19371937215328217, -0.16322383284568787, 0.7500407695770264, -0.9329602718353271, 0.0841325893998146, 0.4046282470226288, 0.599197506904602, 0.46860116720199585, 0.04384075477719307, 0.21122510731220245, -0.8465765118598938, 0.22030335664749146, 0.09991521388292313, 0.08163509517908096, 0.40333786606788635, -0.6731769442558289, 0.283109188079834, 0.4884911775588989, -0.47403451800346375, -0.854497492313385, 0.20158937573432922, -0.9176444411277771, -0.43760815262794495, 1.2300516366958618, 0.14643241465091705, -0.5355446934700012, -0.41142967343330383, -0.2563401162624359, 0.3432006537914276, -0.6422649621963501, 0.7687990069389343, 0.5840479731559753, 0.11746136844158173, -0.26929017901420593, -0.8222576379776001, 0.4130677282810211, -0.15516173839569092, -1.1554080247879028, -0.2146184891462326, 0.5344396233558655, 0.6366449594497681, 0.2273922562599182, 0.6341294646263123, 0.16280244290828705, 0.43209904432296753, 0.09435650706291199, 0.3357698619365692, -0.36838555335998535, -0.44809824228286743, 0.05838974565267563, 0.09413498640060425, -0.20052525401115417, -0.09149680286645889 ]
http://arxiv.org/abs/2404.19260v1
http://arxiv.org/pdf/2404.19260v1
Aspect and Opinion Term Extraction Using Graph Attention Network
2024-04-30T04:53:59
2024-04-30T04:53:59
Abir Chakraborty
cs.CL
cs.CL
In this work we investigate the capability of Graph Attention Network for extracting aspect and opinion terms. Aspect and opinion term extraction is posed as a token-level classification task akin to named entity recognition. We use the dependency tree of the input query as additional feature in a Graph Attention Network along with the token and part-of-speech features. We show that the dependency structure is a powerful feature that in the presence of a CRF layer substantially improves the performance and generates the best result on the commonly used datasets from SemEval 2014, 2015 and 2016. We experiment with additional layers like BiLSTM and Transformer in addition to the CRF layer. We also show that our approach works well in the presence of multiple aspects or sentiments in the same query and it is not necessary to modify the dependency tree based on a single aspect as was the original application for sentiment classification.
[ -0.7822739481925964, -0.9881208539009094, 0.43196120858192444, 0.25795623660087585, -0.345284640789032, 0.18491846323013306, 0.05157919228076935, -0.5519998669624329, 0.7148703932762146, 0.7781554460525513, -0.3246992826461792, -0.5796759128570557, -0.7159600853919983, -0.029979707673192024, -0.2939482033252716, 1.0799907445907593, -0.010492715984582901, 0.11083801835775375, -0.2407684326171875, -0.4492005407810211, -0.26965102553367615, -0.8344510197639465, -0.9688469767570496, -0.38815397024154663, 0.8300321698188782, 0.18423639237880707, 0.2960093021392822, 0.4572530686855316, 0.5770652890205383, 0.29450058937072754, -0.34610840678215027, 0.10280777513980865, -0.18759147822856903, 0.2873578369617462, -0.3740495443344116, -0.1303447186946869, -0.6435547471046448, 0.06609659641981125, 0.5685146450996399, 0.6486513018608093, 0.24503116309642792, 0.13672727346420288, 0.3146739900112152, 0.8713203072547913, -0.2931850850582123, 0.6505919694900513, -0.5121347904205322, 0.20959028601646423, -0.14055772125720978, -0.2466965764760971, -0.29100722074508667, -0.17444486916065216, 0.3650917708873749, -0.03882816806435585, 0.40463846921920776, 0.23458026349544525, 1.0312821865081787, -0.11051638424396515, -0.4975678324699402, -0.02073804847896099, -0.6701754331588745, 0.39382264018058777, -0.5614798665046692, 0.595212459564209, 0.058060191571712494, -0.018771128728985786, -0.009173670783638954, -0.9120233654975891, -0.50640469789505, 0.1990014910697937, -0.18167856335639954, 0.2705119848251343, -0.11413389444351196, 0.4416915774345398, 0.014415491372346878, 0.8190582394599915, -0.14832958579063416, -0.13526993989944458, -0.15237191319465637, -0.4327736496925354, 0.27213725447654724, 0.1164698600769043, -0.041034113615751266, -1.045539140701294, -0.27096500992774963, 0.02927176095545292, -0.5497159361839294, 0.4552609920501709, 0.3160364627838135, 0.5763455629348755, 0.2803221642971039, 0.5990712642669678, -0.3441239297389984, 0.5115761160850525, 0.11543679982423782, 0.01685839518904686, 0.5081596374511719, -0.3465408980846405, -0.33109286427497864, 0.05215434357523918, 0.9441918134689331, 0.11154154688119888, -0.322030633687973, -0.1729305386543274, -0.18300031125545502, -0.1579051911830902, 0.3002551794052124, -0.7512227892875671, -0.27008435130119324, 0.39384549856185913, -0.4824031889438629, -0.4374862015247345, 0.27988630533218384, -0.867573082447052, -0.4552326798439026, -0.41978833079338074, 0.03603058680891991, -0.2805112898349762, -0.48378562927246094, -0.37242400646209717, -0.11493818461894989, 0.11113370954990387, 0.17917822301387787, -0.40670472383499146, 0.27134785056114197, 1.0201274156570435, 0.8228604197502136, -0.3217455744743347, 0.12600953876972198, -0.5962910652160645, -0.22750012576580048, -0.03258809447288513, 0.962474524974823, -0.70804762840271, -0.24267591536045074, -0.17671780288219452, 0.4737052321434021, -0.09599725157022476, -0.42146793007850647, 0.3688347339630127, -0.789692223072052, 0.36133190989494324, -0.1502765566110611, -0.529714047908783, -0.700577974319458, 0.594735860824585, -0.8710423111915588, 1.1405062675476074, 0.3070543706417084, -1.030990719795227, 0.28187665343284607, -0.8875545263290405, -0.6503393650054932, 0.15732000768184662, -0.2463524043560028, -0.43405967950820923, -0.07777240127325058, 0.3702228367328644, 0.3725293278694153, 0.019346769899129868, -0.1039203554391861, -0.48072758316993713, 0.31200921535491943, 0.23730896413326263, -0.13543257117271423, 0.7021220922470093, -0.0010938291670754552, -0.34636780619621277, 0.34002685546875, -0.5042792558670044, 0.1168564110994339, -0.0997839942574501, -0.3446299135684967, -0.36441895365715027, -0.00155546423047781, 0.17928685247898102, 0.3245477080345154, 0.19998714327812195, -0.7432426810264587, -0.10747905820608139, -0.7013249397277832, 0.739730179309845, 0.6232932209968567, 0.722873330116272, 0.41667911410331726, 0.457693487405777, 0.625696063041687, 0.5507431626319885, 0.18955953419208527, 0.13002151250839233, -0.3476180136203766, -1.0087982416152954, 0.03476062789559364, 0.6927406191825867, 0.4468236565589905, -0.9027338027954102, 0.4721797704696655, -0.24642470479011536, -0.15844684839248657, -0.44003430008888245, 0.13135650753974915, 0.3665015697479248, 0.7220219373703003, 0.11617594212293625, -0.7367095351219177, -0.4829559624195099, -0.9985018372535706, -0.06333385407924652, -0.534195065498352, 0.39281728863716125, 0.8008520603179932, 0.14765731990337372, 0.2585315704345703, 1.1202170848846436, -0.5783224701881409, -0.32537174224853516, -0.45933181047439575, 0.1250094324350357, 0.19411827623844147, 0.07855748385190964, 0.4364567995071411, -1.017748236656189, -0.13276852667331696, 0.18918399512767792, -0.5693010091781616, 0.14016194641590118, 0.36297816038131714, -0.30711695551872253, 0.1270151138305664, 0.15783415734767914, -0.4770737886428833, 0.24525606632232666, 0.21915201842784882, -0.2915521562099457, 0.1282782256603241, 0.32202664017677307, 0.17697235941886902, -1.2645171880722046, -0.07740217447280884, 0.23794522881507874, -0.7624527215957642, -0.4022524356842041, 0.04950378090143204, -0.10184051841497421, -0.17781367897987366, -0.627250611782074, 0.18791809678077698, -0.32103249430656433, -0.2655467391014099, -0.4040602743625641, 0.42856088280677795, 0.5468059182167053, 0.7339571118354797, 0.0837552398443222, 0.386288046836853, 0.41675394773483276, -0.4332636594772339, 0.4824063777923584, 0.17179228365421295, -0.07000480592250824, 0.43292784690856934, -0.5321140289306641, 0.6325192451477051, -0.14269033074378967, 0.09198214113712311, -0.8348340392112732, -0.09944015741348267, 0.6605365872383118, -0.3271648585796356, 0.45745715498924255, -0.28371649980545044, -0.316606730222702, -0.5300859808921814, -0.23854754865169525, -0.0102278683334589, -0.06781487911939621, -0.2787652611732483, 0.7880146503448486, 0.7959576845169067, -0.2444198876619339, -0.49287381768226624, -0.2898451089859009, 0.2180294245481491, -0.295775830745697, -0.2752969563007355, 0.23596231639385223, 0.5512705445289612, 0.09615650027990341, 0.4387415051460266, -0.11323821544647217, -0.04484285041689873, 0.00022405291383620352, 0.5638758540153503, 0.17633779346942902, -0.38212862610816956, 0.10904315859079361, -0.014703894034028053, -0.05685260891914368, 0.05042529106140137, -0.2763986587524414, 0.7156349420547485, -0.28915345668792725, -0.018575018271803856, -0.31399425864219666, 0.4735536575317383, 0.46473443508148193, -0.5413590669631958, 0.45210251212120056, 0.38742804527282715, -0.3364626467227936, -0.02543369121849537, -0.3589255213737488, -0.005145343020558357, -0.3810689151287079, 0.8155221939086914, -0.30430176854133606, -1.1036864519119263, 0.5624005794525146, -0.1261344999074936, -0.023366201668977737, 0.6870315074920654, 0.255715936422348, 0.04571028798818588, 1.0998775959014893, 0.6250389814376831, -0.45491737127304077, 0.8766810297966003, -0.30159321427345276, 0.38595306873321533, -1.2316513061523438, -0.21517160534858704, -0.48706457018852234, -0.4279532730579376, -0.38753968477249146, 0.028463536873459816, 0.267938494682312, 0.3520005941390991, -0.02899753674864769, 0.46523213386535645, -0.7483328580856323, 0.07054653763771057, 0.28336212038993835, 0.5283474922180176, 0.09017288684844971, 0.17326559126377106, 0.2088865488767624, 0.15000833570957184, -0.3035608232021332, -0.4104647636413574, 0.6722623109817505, 0.48587626218795776, 0.10836897045373917, -0.1876879334449768, 0.6352921724319458, 0.2741948366165161, 0.3667168915271759, -1.2537708282470703, 0.5936388969421387, -0.14356790482997894, -0.4436807930469513, -0.3911292254924774, -0.5729401707649231, -0.7935382723808289, 0.27544790506362915, 0.07099377363920212, -0.8741400241851807, 0.36649662256240845, -0.008987241424620152, -0.19577659666538239, 0.14199233055114746, -0.6133822798728943, 0.7642000913619995, 0.11014053970575333, 0.031677741557359695, -0.10822489112615585, -0.6408120393753052, 0.038996558636426926, 0.21668757498264313, -0.0471544973552227, -0.1430092453956604, 0.22530856728553772, 1.1609230041503906, -0.3867858052253723, 0.7830333113670349, -0.32635319232940674, 0.3257906436920166, 0.5415458679199219, -0.13314390182495117, 0.3925442695617676, 0.28572148084640503, -0.15162421762943268, 0.49838826060295105, -0.2553527057170868, 0.045198339968919754, -0.7738428711891174, 0.6542946696281433, -0.691579282283783, -0.8741869330406189, -0.13042421638965607, -0.23089070618152618, -0.37395238876342773, 0.470232754945755, 0.0782734677195549, 0.8363451957702637, -0.11611641943454742, 0.07017232477664948, 0.2278904765844345, 0.29157671332359314, 0.6875754594802856, 0.04387848451733589, -0.4944170117378235, -0.8233055472373962, 0.9485754370689392, 0.3065517842769623, 0.08267919719219208, 0.3936469554901123, 0.13523243367671967, -0.2946697771549225, -0.5364171862602234, -0.5897356271743774, 0.012300209142267704, -0.8262113332748413, -0.546261727809906, -1.0876290798187256, -0.6999880075454712, -0.6012492775917053, 0.6644713282585144, -0.31771108508110046, -0.6875693798065186, -0.15692071616649628, -0.39289921522140503, 0.5821325778961182, 0.8439661860466003, 0.545862078666687, 0.27112141251564026, -0.7972115278244019, -0.054754458367824554, 0.18155686557292938, 0.24204522371292114, 0.13502685725688934, -0.23142430186271667, -0.2723251283168793, -0.2338564246892929, -0.7222530841827393, -0.961642861366272, 0.15480023622512817, 0.1681203544139862, 0.41558119654655457, 0.5445888638496399, -0.013571350835263729, 0.4670628011226654, -0.15526096522808075, 0.9353597164154053, 0.19141338765621185, -0.9917150139808655, 0.5561116933822632, 0.1097525879740715, 0.001757413032464683, 0.563700258731842, 0.049993548542261124, -0.44923216104507446, -0.6104385256767273, -0.7843896150588989, -0.9638363718986511, 0.9598653316497803, 0.20892789959907532, -0.004298805724829435, -0.13032007217407227, 0.6621956825256348, -0.041974153369665146, 0.46235543489456177, -0.4068595767021179, -0.47877535223960876, -0.4323558807373047, -0.21452730894088745, 0.29898887872695923, -0.2195868343114853, -0.002777464222162962, -0.24266059696674347, 0.5737892389297485, -0.04152878373861313, 0.3096294105052948, 0.4063740372657776, 0.1934690773487091, 0.06965567916631699, 0.2950397729873657, -0.09651588648557663, 0.48366788029670715, 0.046438444405794144, 0.49780261516571045, 0.05774084851145744, -0.6417255401611328, -0.17556586861610413, 0.08251389116048813, -0.15111680328845978, 0.02992897666990757, 0.3519423007965088, 1.0533097982406616, -0.09384502470493317, 0.3135278820991516, 0.5212047696113586, -0.02064061351120472, -0.010305742733180523, -0.09441016614437103, 0.03834536671638489, 0.18089105188846588, 0.37563425302505493, 0.02037094533443451, 0.256280779838562, 0.5192719101905823, -0.4333934187889099, 0.11386490613222122, 0.37963101267814636, -1.1770576238632202, -0.3994556665420532, 0.27231553196907043, 0.13962918519973755, -0.6017050743103027, 0.3994446098804474, -0.24853931367397308, -1.0894789695739746, 0.7749752402305603, 0.33187657594680786, 1.1004257202148438, -0.03291875123977661, 0.3957858979701996, 0.119092658162117, -0.16005367040634155, 0.33791229128837585, 0.32269448041915894, 0.03581283614039421, -0.7451775670051575, -0.33762750029563904, -0.6978115439414978, -0.21057476103305817, 0.194537952542305, -0.7164146900177002, 0.15591977536678314, -0.6301628947257996, -0.6015499234199524, 0.46554189920425415, -0.04369420185685158, -0.678552508354187, 0.27041423320770264, -0.11762795597314835, 0.3502272665500641, -0.48728567361831665, 0.6542031168937683, 1.0812137126922607, -0.5303396582603455, -1.168639898300171, -0.07533399015665054, -0.25067049264907837, -0.5006881356239319, 0.5944733619689941, 0.33682116866111755, -0.2247004210948944, -0.023938145488500595, -0.28263673186302185, -0.6388170123100281, 0.8573251366615295, -0.006269325036555529, -0.25217148661613464, -0.03469421714544296, 0.10951652377843857, 0.5013582706451416, -0.8003461956977844, 0.09947145730257034, 0.5037460923194885, 0.24465906620025635, 0.0951068103313446, -0.6053912043571472, 0.15866263210773468, -0.2946960926055908, 0.03811969608068466, 0.526275098323822, -0.7112597227096558, 0.6774476766586304, 0.3353545069694519, -0.3744960427284241, -0.632057249546051, 1.0055209398269653, -0.3135615885257721, 0.3993349075317383, 1.0560731887817383, 0.3617154061794281, 0.6340736150741577, -0.06416063755750656, 0.7899740934371948, -0.511081874370575, 0.7293550968170166, 1.03242027759552, -0.18334078788757324, 0.8409945964813232, 0.45154544711112976, -0.18670780956745148, 0.5684922933578491, 1.0064375400543213, 0.2763596475124359, 0.6351743936538696, -0.1219215989112854, -0.15526250004768372, -0.2834942936897278, -0.47305798530578613, -0.2170456200838089, 0.3532911539077759, 0.3529127836227417, -0.6702359914779663, -0.07694556564092636, 0.2942654490470886, 0.12635570764541626, -0.5515633225440979, -0.4597989320755005, 1.1140389442443848, 0.3878863751888275, -0.5393718481063843, -0.28180474042892456, -0.2510010600090027, 0.042226046323776245, -0.026350682601332664, -0.15918755531311035, -0.06493502855300903, 0.07026094943284988, -0.47515127062797546, -0.9555131793022156, 0.2456361949443817, -0.30994248390197754, -0.4249805212020874, 0.1251489520072937, 0.7636206746101379, -0.26056036353111267, -0.5892520546913147, 0.3553767800331116, 0.43028461933135986, 0.11623930186033249, -0.20796102285385132, -0.7089298963546753, -0.35036948323249817, 0.04068899527192116, -0.752044677734375, 0.03809979185461998, 0.7224874496459961, 0.02258657105267048, 0.10215337574481964, 0.3622499108314514, 0.30981341004371643, -0.3184400200843811, 0.32707205414772034, 1.146663784980774, -0.6571714878082275, -0.7160025238990784, -0.8385428786277771, 0.040395256131887436, -0.6000658869743347, -0.3739948570728302, 0.6405454874038696, 0.5818431377410889, 0.4776589870452881, 0.4891902506351471, 0.7594862580299377, -0.2639443576335907, 0.5090186595916748, -0.355764240026474, 0.5593603849411011, -0.41796228289604187, 0.14654627442359924, -0.44515395164489746, -1.224531888961792, -0.1806860864162445, 0.07478263974189758, -0.4985339939594269, 0.0341922752559185, 1.1534249782562256, 0.6392039060592651, 0.02664904110133648, 0.5566246509552002, -0.15439346432685852, 0.14010193943977356, 0.5921990275382996, 0.1885339915752411, 0.5131383538246155, -0.28422582149505615, 0.37294358015060425, -0.44215643405914307, -0.200452983379364, 0.009870256297290325, -0.6971702575683594, -0.8161941766738892, -0.5943758487701416, -0.6485130786895752, -0.8191830515861511, -0.36505818367004395, 0.7954826354980469, 0.680851936340332, -1.0474551916122437, 0.43558046221733093, -0.10635214298963547, 0.35073286294937134, -0.18774175643920898, -0.36105701327323914, 0.9454120397567749, -0.37110528349876404, -0.6548166275024414, 0.06849577277898788, 0.5732887983322144, -0.2570212483406067, -0.47727951407432556, 0.38988539576530457, 0.0953579768538475, -0.16640309989452362, 0.6777282953262329, -0.01948148012161255, -0.5849018692970276, -1.015380859375, -0.0016713457880541682, -0.11347004771232605, 0.4670507311820984, 1.1293329000473022, -0.5685192346572876, 0.34903430938720703, 0.688517153263092, 0.6114761829376221, 0.6153936982154846, 0.2740820348262787, 0.24028466641902924, -0.6672926545143127, -0.05325063690543175, 0.2581196427345276, 0.5752036571502686, 0.47066840529441833, -0.7607506513595581, 0.3646807372570038, 0.40974554419517517, -0.5037193894386292, -0.3515530526638031, 0.2383110225200653, -1.2693822383880615, 0.0702381506562233, 1.1350712776184082, -0.361819326877594, -0.6670039296150208, -0.49576395750045776, -0.34092408418655396, 0.42293015122413635, -0.6299144625663757, 0.6280452013015747, 0.8321074843406677, -0.6370752453804016, -0.3175742030143738, -0.2365480214357376, 0.10395660251379013, 0.1962648630142212, -0.770740270614624, 0.05624537169933319, 0.20896366238594055, 0.22453263401985168, 0.48715516924858093, 0.5006299018859863, -0.4877477288246155, -0.35755422711372375, -0.2051977962255478, 0.07503139972686768, -0.2208261489868164, -0.3287971615791321, -0.1523723304271698, 0.7228949069976807, 0.05491269379854202, -0.39631950855255127 ]
http://arxiv.org/abs/2404.19254v1
http://arxiv.org/pdf/2404.19254v1
Suvach -- Generated Hindi QA benchmark
2024-04-30T04:19:17
2024-04-30T04:19:17
Vaishak Narayanan, Prabin Raj KP, Saifudheen Nouphal
cs.CL
cs.CL, cs.AI
Current evaluation benchmarks for question answering (QA) in Indic languages often rely on machine translation of existing English datasets. This approach suffers from bias and inaccuracies inherent in machine translation, leading to datasets that may not reflect the true capabilities of EQA models for Indic languages. This paper proposes a new benchmark specifically designed for evaluating Hindi EQA models and discusses the methodology to do the same for any task. This method leverages large language models (LLMs) to generate a high-quality dataset in an extractive setting, ensuring its relevance for the target language. We believe this new resource will foster advancements in Hindi NLP research by providing a more accurate and reliable evaluation tool.
[ -0.3570135533809662, -0.5034533739089966, 0.3226219117641449, 0.31155410408973694, -0.34715569019317627, 0.3511459231376648, 0.15762121975421906, -0.4170428216457367, -0.05607171729207039, 0.19433677196502686, -0.45465174317359924, -0.4324765205383301, -0.39698028564453125, 0.49711984395980835, -0.7542073726654053, 0.45322293043136597, -0.11314308643341064, 0.26768845319747925, -0.32700252532958984, -0.39215216040611267, -0.592332661151886, -0.25393080711364746, -0.6311219930648804, -0.24529559910297394, 0.13677987456321716, 0.40509772300720215, 0.5438827276229858, 0.3354288935661316, 0.500200629234314, 0.20931914448738098, -0.018664589151740074, 0.2783246636390686, -0.25870564579963684, 0.2603432536125183, 0.03869849815964699, -0.5400387048721313, -0.07574965804815292, 0.013461587019264698, 0.7353822588920593, 0.4068785607814789, -0.618280291557312, 0.6095283031463623, -0.35298487544059753, 0.5160391926765442, -0.6577202081680298, 0.08513570576906204, -0.6419312953948975, 0.014503533020615578, -0.026043782010674477, -0.03437637537717819, -0.28703275322914124, -0.9649947285652161, -0.24687130749225616, -0.4197625517845154, -0.152668297290802, 0.2768316864967346, 1.121168851852417, 0.4309825003147125, -0.3141332268714905, -0.1564936339855194, -0.7166157960891724, 0.7520617246627808, -0.8704918622970581, 0.6411372423171997, 0.07815821468830109, 0.9012959599494934, 0.07863759994506836, -0.6346225738525391, -0.8064545392990112, -0.13103435933589935, 0.22406354546546936, 0.09083372354507446, -0.20537662506103516, -0.3885827958583832, 0.025067469105124474, 0.5733634829521179, -0.5135474801063538, 0.05308803170919418, -0.3475133776664734, 0.1820780336856842, 0.5752763748168945, 0.25831106305122375, 0.5722018480300903, -0.3140026330947876, -0.3618912696838379, -0.3245202898979187, -1.0097591876983643, 0.04980513080954552, 0.29322463274002075, 0.04875561594963074, 0.07294310629367828, 0.95964515209198, -0.42398685216903687, 0.582172691822052, 0.09356029331684113, -0.1600770205259323, 0.31643903255462646, -0.3569912016391754, -0.39195898175239563, 0.05359963700175285, 0.5199260115623474, 0.3243076205253601, 0.20703549683094025, -0.3651406168937683, -0.1841071993112564, -0.23093095421791077, 0.18866832554340363, -0.7058795094490051, 0.08940839767456055, 0.22908762097358704, -0.13635200262069702, -0.04895035922527313, -0.14790940284729004, -1.0192186832427979, -0.2794759273529053, -0.25306135416030884, 0.19359275698661804, -0.2622348964214325, -0.23586733639240265, -0.10526516288518906, 0.2074325829744339, 1.2850000858306885, 0.13014118373394012, -0.5035845041275024, 0.4778220057487488, 0.45757636427879333, 0.5177233219146729, -0.41050633788108826, -0.17613983154296875, -0.7720276713371277, -0.04712425917387009, -0.6499439477920532, 1.1308703422546387, -0.7545790672302246, -0.3310418128967285, 0.03512908145785332, -0.26613718271255493, 0.050325434654951096, -0.9078277349472046, 0.7440304756164551, -0.8242389559745789, -0.006746632046997547, -0.4328625798225403, -0.44914302229881287, -0.1351088583469391, 0.25530290603637695, -0.5115043520927429, 1.3590179681777954, 0.3330955505371094, -0.3414660096168518, 0.558486819267273, -0.2977736294269562, -0.1887054443359375, 0.22967267036437988, -0.38985204696655273, -0.32452934980392456, -0.13334967195987701, 0.7338185906410217, 0.08188652247190475, -1.062555193901062, 0.38160261511802673, 0.024808213114738464, -0.22622406482696533, 0.2328527718782425, -0.2044769525527954, 0.5484325885772705, 0.4915548264980316, -0.04155202955007553, 0.04475384205579758, -0.8556414842605591, 0.6024160981178284, 0.1904556006193161, -0.2845192849636078, -0.010209287516772747, -0.3387775719165802, -0.13631878793239594, 0.41266298294067383, 0.056586265563964844, -0.7194010019302368, -0.17106764018535614, -0.6393769979476929, -0.0037795142270624638, 0.7410760521888733, 0.14727336168289185, 0.09018304198980331, -0.2531534731388092, 1.0438024997711182, -0.13326065242290497, -0.05230673402547836, 0.3433140814304352, -0.4847152829170227, -0.6332107782363892, -0.126346617937088, 0.554674506187439, 0.5689283609390259, -0.6399116516113281, 0.011857142671942711, -0.2819681763648987, -0.76378333568573, -0.8917791247367859, 0.31067925691604614, 0.6249310374259949, 0.2628210484981537, 0.3011487126350403, -0.3328542113304138, -0.40896114706993103, -0.9609333276748657, -0.4362582564353943, -0.21512408554553986, -0.10991787910461426, 0.2834695279598236, 0.2205963432788849, 0.13218694925308228, 0.7572025060653687, -0.5181025266647339, 0.0729314535856247, -0.40103259682655334, 0.15529420971870422, -0.05672731250524521, 0.21774092316627502, 0.38676586747169495, -0.8310858607292175, -0.5397132635116577, -0.25283414125442505, -0.7826324701309204, -0.45491823554039, 0.14846846461296082, -0.28944483399391174, -0.1850210577249527, 0.5275167226791382, -0.6719304323196411, 0.30572837591171265, 0.4350423216819763, -0.10468439012765884, 0.6679377555847168, 0.1487504243850708, 0.4805830121040344, -1.3423793315887451, 0.13103097677230835, 0.08054455369710922, -0.045102037489414215, -0.3273552656173706, 0.4039541780948639, -0.027258122339844704, -0.26119264960289, -0.563625156879425, 0.715175211429596, -0.4198998808860779, -0.44595152139663696, -0.04199622943997383, 0.29494357109069824, -0.011384829878807068, 0.2597742974758148, -0.37213194370269775, 1.355705976486206, 0.2899361252784729, -0.35319769382476807, 0.34334033727645874, 0.6685797572135925, -0.4575851559638977, 0.699978768825531, -1.065010666847229, 0.21688289940357208, -0.016769012436270714, -0.18207231163978577, -1.0233442783355713, -0.19620256125926971, 0.12024649232625961, -0.525253176689148, 0.2706310451030731, 0.1354445070028305, -0.8430575132369995, -0.16716404259204865, -0.018882211297750473, 0.6403920650482178, 0.7722666263580322, -0.6055643558502197, 0.7133592367172241, 0.6299002170562744, -0.3326389789581299, -0.4777757525444031, -0.48594340682029724, 0.12015996128320694, -0.2681778073310852, -0.3085256516933441, 0.034782372415065765, -0.0021975368726998568, -0.357954740524292, -0.28899404406547546, -0.19962875545024872, -0.3408295214176178, -0.2334575653076172, 0.14698615670204163, 0.023421000689268112, -0.24484841525554657, 0.09418032318353653, 0.16877809166908264, 0.09797386080026627, 0.2346121072769165, 0.30907490849494934, 0.6103976964950562, -0.22685392200946808, -0.5107749700546265, -0.3533296585083008, 0.41480398178100586, 0.525978684425354, -0.626796305179596, 0.496338427066803, 0.44665828347206116, -0.3596579134464264, -0.06263270974159241, -0.7327377796173096, 0.17722955346107483, -0.4424685835838318, 0.30873751640319824, -0.5374180674552917, -0.26639190316200256, 0.5409805178642273, -0.2528305947780609, -0.07823015749454498, 0.736055850982666, 0.6462970972061157, 0.35102012753486633, 1.0999555587768555, 0.5057353973388672, -0.051541656255722046, -0.15209324657917023, 0.08282529562711716, 0.4436241090297699, -1.0751216411590576, -0.37318193912506104, -0.856070876121521, 0.20552149415016174, -0.5261748433113098, -0.42205381393432617, 0.38395896553993225, 0.009359988383948803, -0.21267040073871613, 0.3284958600997925, -0.6562143564224243, 0.333178848028183, 0.40074101090431213, -0.22540681064128876, 0.3712652921676636, -0.2167065143585205, -0.2196815311908722, 0.07515467703342438, -0.5427491664886475, -0.5569730401039124, 1.1937706470489502, -0.024573642760515213, 0.7747933268547058, 0.3418619632720947, 0.4432311952114105, 0.25672778487205505, 0.46117329597473145, -0.23216037452220917, 0.6927657723426819, 0.24657268822193146, -0.5180556178092957, -0.2514646351337433, -0.25882095098495483, -0.7665036916732788, 0.20102433860301971, -0.04439022019505501, -0.7096956372261047, 0.0862991064786911, -0.34848013520240784, -0.18555350601673126, 0.13102807104587555, -0.7634029388427734, 0.6303837299346924, -0.1021805852651596, -0.17072860896587372, -0.005617546383291483, -0.3466845154762268, 0.4547555446624756, -0.048195980489254, -0.2016504555940628, -0.46728602051734924, -0.09154849499464035, 0.8466789126396179, -0.22728486359119415, 0.3314889967441559, -0.03835723549127579, -0.019197115674614906, 0.5181344151496887, -0.003634844673797488, 0.37559884786605835, 0.29852989315986633, -0.35386794805526733, -0.198237806558609, 0.3320859968662262, -0.6228452920913696, -0.4589707851409912, 0.6955382823944092, -0.9165776371955872, -0.5507912039756775, -0.4827125668525696, -0.6015869379043579, -0.6007534861564636, -0.011139768175780773, -0.18995264172554016, 0.3148869276046753, -0.1400001347064972, 0.004172688815742731, 0.4469519555568695, -0.4350038468837738, -0.014772924594581127, 0.5319861173629761, -0.2654305398464203, -0.1888354867696762, 0.6530500054359436, -0.1460280567407608, 0.19203627109527588, 0.31246912479400635, -0.1119304746389389, -0.677497386932373, -0.6851340532302856, -0.8473531603813171, 0.0928305834531784, -1.0953924655914307, -0.3764025568962097, -0.52519690990448, -0.48346051573753357, -0.3482864201068878, 0.18069511651992798, -0.42798441648483276, -0.18715491890907288, 0.22986960411071777, -0.14591273665428162, 0.3730965852737427, 0.8153053522109985, 0.3823978900909424, -0.12420365959405899, -0.7342043519020081, 0.5321753025054932, 0.574337363243103, 0.39957210421562195, 0.05701537802815437, -0.6304563879966736, 0.06678622961044312, -0.14853183925151825, -0.3102710545063019, -0.8375099301338196, 0.49127262830734253, 0.2348591834306717, 0.7679063677787781, -0.2241552174091339, -0.021802790462970734, 0.6223787665367126, -0.34045618772506714, 0.9144401550292969, -0.018883202224969864, -0.7706514000892639, 0.47350016236305237, -0.09647969901561737, 0.7049528956413269, 0.8224066495895386, 0.42172345519065857, -0.2910563349723816, -0.4573563039302826, -0.27502453327178955, -0.8577088117599487, 0.022596677765250206, 0.3912348449230194, -0.0001346837671007961, -0.2357819825410843, 0.6136612892150879, 0.35277658700942993, 0.43045559525489807, -0.46370023488998413, -0.17691220343112946, 0.044831518083810806, -0.2640717029571533, 0.03972969204187393, -0.22665581107139587, 0.10374785959720612, -0.392475426197052, 0.5760324001312256, -0.09051071107387543, 0.3122474253177643, 0.22724811732769012, -0.17394010722637177, -0.2221945971250534, 0.46900424361228943, 0.23967070877552032, 1.1068456172943115, -0.07570689916610718, -0.21148018538951874, 0.5654064416885376, -0.3442755341529846, 0.43491512537002563, 0.3512935936450958, -0.3027939200401306, -0.12951624393463135, -0.13317272067070007, 0.2424781322479248, 0.020930122584104538, -1.15102219581604, 0.27364158630371094, -0.2956720292568207, 0.15256306529045105, -0.4271288812160492, -0.058710478246212006, 0.041925158351659775, 0.08366471529006958, 0.6802452802658081, -0.2743830680847168, 0.1807800829410553, -0.3993975520133972, 0.28942233324050903, 0.29795756936073303, -0.34622395038604736, -0.15347662568092346, 0.9009506106376648, 0.059321917593479156, -0.20407390594482422, 0.7059978246688843, -0.29320672154426575, -0.3764415979385376, 0.6543854475021362, 0.34696120023727417, 0.9977256655693054, -0.2733686566352844, 0.2949088513851166, 0.6334919929504395, 0.2896175980567932, 0.24572208523750305, 0.5272839069366455, 0.22764532268047333, -0.34853464365005493, -0.6262859106063843, -0.9957600831985474, -0.6068429350852966, 0.04585650935769081, -0.6618384122848511, 0.07258526235818863, -0.19154293835163116, 0.2500176727771759, -0.03697812557220459, 0.0494612492620945, -0.8977757692337036, 0.5760762095451355, -0.09966124594211578, 0.8942311406135559, -0.7504869103431702, 0.7090421915054321, 0.6126289367675781, -0.6491105556488037, -1.119336724281311, 0.07275822013616562, -0.28333818912506104, -0.9267281293869019, 0.7093703746795654, -0.07962293922901154, -0.27100273966789246, 0.051836855709552765, -0.48832717537879944, -1.1191989183425903, 1.1050597429275513, 0.32229483127593994, -0.1433028131723404, 0.06802825629711151, 0.3708450198173523, 0.7214227914810181, -0.48639845848083496, 0.28045493364334106, 0.5555496215820312, 0.3676465153694153, 0.08608773350715637, -0.7719576954841614, 0.3145957291126251, -0.5682496428489685, 0.0799342542886734, 0.15954582393169403, -0.6030423045158386, 0.6301504373550415, -0.121775783598423, -0.4260978698730469, 0.43991002440452576, 0.7913483381271362, 0.271476686000824, 0.12812921404838562, 0.2708704173564911, 0.7442436218261719, 0.4925673007965088, -0.16303865611553192, 1.2814133167266846, -0.33963724970817566, -0.0869402289390564, 1.194178581237793, -0.6482452750205994, 1.0031753778457642, 0.6014523506164551, -0.5641114115715027, 0.3042340874671936, 0.6152378916740417, -0.1333371102809906, 0.44337567687034607, 0.43993982672691345, 0.033874161541461945, -0.20656569302082062, -0.375640332698822, -0.41125497221946716, 0.6739869117736816, -0.08753371983766556, 0.01540575921535492, -0.4170446991920471, -0.2676128149032593, -0.37172606587409973, 0.3652772605419159, -0.16961029171943665, 0.8299296498298645, 0.0037413649260997772, -0.97198086977005, 0.6842511892318726, 0.04526835307478905, 0.1357172727584839, -0.43549832701683044, -0.3314336836338043, -0.2673296332359314, -0.2114439457654953, 0.08987487107515335, -0.7265458703041077, 0.42501014471054077, 0.14674536883831024, 0.28780537843704224, 0.22348034381866455, 0.4617081582546234, -0.27029046416282654, -0.6444737315177917, 0.08925280719995499, 0.924657940864563, 0.2431037873029709, 0.1356343924999237, -0.7121118307113647, -0.11432671546936035, -0.257127970457077, -0.1361331194639206, 0.3778115212917328, 0.09519004821777344, 0.05395232513546944, 0.9815570712089539, 0.4747854173183441, 0.030364155769348145, 0.392972469329834, 0.1788366734981537, 0.8457332849502563, -0.5607577562332153, -0.16080957651138306, -0.34800827503204346, 0.15113821625709534, -0.1934271901845932, -0.6644612550735474, 0.9308043718338013, 0.719448447227478, 0.7924700379371643, 0.09353817999362946, 0.598149836063385, -0.1233566552400589, 0.720248281955719, -0.4805475175380707, 0.546704888343811, -0.5959608554840088, 0.411274254322052, -0.09165455400943756, -1.0149686336517334, -0.007031172513961792, 0.0709591880440712, -0.30089637637138367, 0.30027031898498535, 0.654002845287323, 0.8267022371292114, 0.11521676927804947, 0.03164687007665634, 0.3256757855415344, 0.032137442380189896, 0.2405204474925995, 0.496337354183197, 0.884101390838623, -0.749648928642273, 0.7103869318962097, -0.14891642332077026, 0.2273797243833542, 0.12004391849040985, -0.6436079740524292, -0.7055387496948242, -0.7577884197235107, -0.2658109962940216, -0.209209606051445, 0.14535664021968842, 0.7677406072616577, 0.5326200723648071, -0.9750520586967468, -0.12740695476531982, 0.01608835533261299, 0.0935005396604538, -0.39212220907211304, -0.23018474876880646, 0.611794114112854, -0.18890424072742462, -0.7673594355583191, 0.2466314285993576, 0.1728384643793106, -0.11291897296905518, -0.3881753087043762, -0.0009210184216499329, -0.6948164701461792, 0.3493214547634125, 0.31423988938331604, 0.43431520462036133, -0.7395404577255249, -0.2755313813686371, 0.19982269406318665, -0.09694620221853256, 0.43633967638015747, 0.41559290885925293, -0.7291573286056519, 0.4816287159919739, 0.292277991771698, 0.9952079057693481, 0.344197541475296, 0.22349008917808533, 0.8553981781005859, -0.6039899587631226, -0.19864830374717712, 0.36598649621009827, 0.08280651271343231, 0.6177334189414978, -0.17872396111488342, 0.6339242458343506, -0.3645172417163849, -0.5320395231246948, -0.9914147257804871, 0.060902245342731476, -0.7957450747489929, 0.07404973357915878, 1.1845535039901733, -0.060460470616817474, -0.3815143406391144, -0.05292108654975891, -0.14655613899230957, 0.31738191843032837, -0.2222403585910797, 0.9470980763435364, 0.5216611623764038, 0.06826265156269073, -0.3630978465080261, -0.7072588205337524, 0.4885018467903137, 0.5794024467468262, -1.246544599533081, -0.12114139646291733, 0.11590001732110977, 0.2047208994626999, -0.1436629295349121, 0.3950923979282379, -0.4138542711734772, 0.5292791724205017, 0.06559427082538605, 0.12354656308889389, 0.24826431274414062, -0.10991742461919785, -0.12158916145563126, 0.28105348348617554, 0.5247379541397095, -0.008676072582602501 ]
http://arxiv.org/abs/2404.19252v1
http://arxiv.org/pdf/2404.19252v1
Exploiting Hatred by Targets for Hate Speech Detection on Vietnamese Social Media Texts
2024-04-30T04:16:55
2024-04-30T04:16:55
Cuong Nhat Vo, Khanh Bao Huynh, Son T. Luu, Trong-Hop Do
cs.CL
cs.CL
The growth of social networks makes toxic content spread rapidly. Hate speech detection is a task to help decrease the number of harmful comments. With the diversity in the hate speech created by users, it is necessary to interpret the hate speech besides detecting it. Hence, we propose a methodology to construct a system for targeted hate speech detection from online streaming texts from social media. We first introduce the ViTHSD - a targeted hate speech detection dataset for Vietnamese Social Media Texts. The dataset contains 10K comments, each comment is labeled to specific targets with three levels: clean, offensive, and hate. There are 5 targets in the dataset, and each target is labeled with the corresponding level manually by humans with strict annotation guidelines. The inter-annotator agreement obtained from the dataset is 0.45 by Cohen's Kappa index, which is indicated as a moderate level. Then, we construct a baseline for this task by combining the Bi-GRU-LSTM-CNN with the pre-trained language model to leverage the power of text representation of BERTology. Finally, we suggest a methodology to integrate the baseline model for targeted hate speech detection into the online streaming system for practical application in preventing hateful and offensive content on social media.
[ -0.33713915944099426, -0.9281913638114929, 0.212387353181839, 0.03043244406580925, -0.6293477416038513, -0.003200214821845293, -0.30619576573371887, -0.44176530838012695, 0.40991318225860596, 0.7991011142730713, -0.42606469988822937, -0.5783045291900635, -0.9304288029670715, -0.03406643867492676, -0.51233971118927, 1.2372368574142456, 0.3491477370262146, -0.1522858589887619, 0.43847009539604187, -0.22509175539016724, -0.19726577401161194, -0.4813275933265686, -0.49448198080062866, 0.05825474485754967, 0.9645450115203857, 0.4279843866825104, 0.3080773949623108, 0.5093762874603271, 0.5676974654197693, 0.26260510087013245, -0.14793738722801208, 0.16393736004829407, -0.8842341899871826, 0.3276379704475403, -0.22615975141525269, -0.20437785983085632, -0.01609129086136818, -0.09175955504179001, 0.5070575475692749, -0.328131765127182, 0.3548867106437683, 0.261502742767334, 0.13178950548171997, 0.20900332927703857, -0.48487934470176697, -0.1778091937303543, -0.9175220727920532, -0.028582248836755753, -0.3860264718532562, -0.2214575558900833, -0.2188938707113266, -0.4971481263637543, 0.09386808425188065, -0.21783240139484406, 0.13113822042942047, -0.4821484684944153, 0.6166328191757202, 0.2601916193962097, -0.3030887842178345, -0.25746577978134155, -0.8830193877220154, 0.724599301815033, -0.6409539580345154, 0.24354836344718933, 0.26827123761177063, 0.46385183930397034, 0.32127317786216736, -0.19705015420913696, -0.6080788969993591, -0.26997214555740356, 0.10489116609096527, -0.035097960382699966, -0.4524645507335663, 0.0075980788096785545, 0.17410558462142944, 0.09570711851119995, -0.633273184299469, 0.2751324772834778, -0.6090024709701538, -0.26442623138427734, 0.9126650094985962, -0.2718334197998047, 0.33341920375823975, -0.4906976819038391, -0.5372579097747803, 0.25883713364601135, -0.18158914148807526, -0.5621641278266907, 0.5780152678489685, 0.8211541771888733, -0.055128831416368484, 0.7189745903015137, -0.14767295122146606, 0.3865474760532379, -0.1674119532108307, -0.2150689959526062, 0.34893375635147095, 0.05220286548137665, -0.04528717324137688, 0.2518423795700073, 0.6842936873435974, 0.7418482899665833, 0.7684980034828186, 0.08147510141134262, -0.07738738507032394, 0.6353845596313477, 0.5054640173912048, -0.5741894245147705, 0.018586406484246254, -0.04531688615679741, -0.39418601989746094, -0.6399966478347778, -0.23393845558166504, -0.8737354278564453, -0.8989594578742981, -0.15003237128257751, 0.4777851104736328, -0.4759887158870697, -0.5447813868522644, -0.48145490884780884, -0.4242006540298462, 0.03268590196967125, 0.07812616229057312, -0.3829157054424286, 0.14944753050804138, 0.5689762234687805, 0.9277681708335876, -0.42092806100845337, -0.052334755659103394, -0.8847265839576721, 0.2198641151189804, 0.22278383374214172, 0.7347922921180725, -0.5538442730903625, -0.20621487498283386, 0.47306111454963684, -0.3366512656211853, 0.43974798917770386, -0.6395887136459351, 0.9388436675071716, -0.5652769207954407, -0.17288610339164734, 0.060654208064079285, -0.6826027035713196, -0.15257255733013153, 0.2360977828502655, -0.4753018319606781, 0.9481121301651001, 0.1714501529932022, -0.949928879737854, 0.30790746212005615, -0.530720591545105, -0.4096810221672058, 0.3629637062549591, 0.14004331827163696, -0.5594832897186279, -0.09236474335193634, -0.031392257660627365, 0.6235248446464539, 0.08823442459106445, 0.011974716559052467, -0.5015438795089722, -0.26004838943481445, -0.01955011487007141, -0.23762905597686768, 0.9017875790596008, 0.6195096373558044, -0.5488108396530151, 0.4003220200538635, -0.5562670230865479, -0.30428263545036316, 0.26588335633277893, -0.20944643020629883, -0.6896029710769653, 0.03496122732758522, 0.633195698261261, 0.32914480566978455, -0.05418427661061287, -0.8060275316238403, -0.30633804202079773, -0.043474774807691574, 0.2728137969970703, 1.0109975337982178, 0.0820017084479332, 0.0690668448805809, -0.3051657974720001, 0.48625221848487854, 0.17449729144573212, 0.2698448896408081, 0.3474385738372803, -0.4778679609298706, -0.5893791913986206, -0.23683610558509827, -0.49813205003738403, 0.5294340252876282, -0.741010844707489, 0.2460680902004242, -0.09052562713623047, -0.7651966214179993, -0.5167180299758911, 0.16542038321495056, 0.3756028711795807, 0.37102848291397095, 0.6103280782699585, 0.07610297203063965, -1.020110011100769, -0.8579633831977844, -0.6332234740257263, -0.5167405009269714, -0.005578433163464069, 0.1363881230354309, 0.11296818405389786, -0.3596820831298828, 0.7355025410652161, -0.39946967363357544, -0.6273003220558167, -0.276564359664917, 0.19067102670669556, -0.35277050733566284, 0.071149080991745, 0.524189293384552, -1.1772077083587646, -0.8926277160644531, -0.07637544721364975, -0.46249285340309143, -0.5777809619903564, 0.2519310414791107, -0.19935843348503113, -0.17170478403568268, 0.5401373505592346, 0.09612394124269485, 0.2644571363925934, 0.45395687222480774, -0.25016114115715027, 0.49975138902664185, 0.5609226226806641, 0.23666532337665558, -0.9908323884010315, -0.5318918824195862, 0.5696592330932617, -0.3445121645927429, -0.9935013651847839, -0.005871241446584463, -0.5580998063087463, 0.04422527551651001, -0.8320843577384949, 0.33219119906425476, 0.1580388844013214, 0.3786454498767853, -0.43357357382774353, 0.30646759271621704, -0.49299728870391846, 0.2274491786956787, 0.05076497420668602, 0.05373583361506462, 0.07474427670240402, -0.44500890374183655, 0.5389005541801453, -0.1630750298500061, -0.13794605433940887, 0.8619851469993591, -0.2772029936313629, -0.02373962663114071, -0.23609167337417603, 0.007674664258956909, -0.7800260186195374, 0.056682880967855453, 0.6848193407058716, -0.6245409250259399, -0.34887248277664185, -0.3235716223716736, -0.28626561164855957, -0.2880995571613312, -0.3529222309589386, 0.35856175422668457, 0.14243566989898682, -0.28525474667549133, 0.4073672294616699, 0.8030524253845215, -0.07070442289113998, -0.18141651153564453, -0.714538037776947, 0.03354033827781677, -0.8398399949073792, -0.4038833677768707, 0.3138841688632965, -0.023281563073396683, -0.4394267499446869, 0.038762710988521576, 0.3999350368976593, -0.23394626379013062, -0.20304785668849945, 0.3635377585887909, 0.017342472448945045, -0.2267138808965683, -0.013212229125201702, -0.15622466802597046, 0.24352967739105225, 0.08751555532217026, -0.42426177859306335, 0.5357956290245056, 0.1484135389328003, 0.06075240299105644, -0.5151946544647217, 0.4862014353275299, 0.6302842497825623, 0.004865669179707766, 0.48912471532821655, 0.9791173934936523, -0.605585515499115, -0.23651738464832306, -0.7874457240104675, -0.012969683855772018, -0.39977073669433594, 0.3776179850101471, 0.0962086170911789, -1.239560604095459, 0.13037556409835815, 0.4584908187389374, -0.008709831163287163, 0.48323798179626465, 0.803688108921051, 0.08033864945173264, 0.7570041418075562, 0.46838992834091187, -0.3299770951271057, 0.828684389591217, 0.09286192059516907, 0.07299461215734482, -0.22982807457447052, 0.03511744737625122, -0.5699747204780579, -0.11801877617835999, -0.7625812888145447, -0.7125173807144165, 0.17328542470932007, -0.388157457113266, -0.32984375953674316, 0.5259913206100464, -0.6725949048995972, 0.3504502773284912, 0.4079994559288025, 0.15167264640331268, 0.24915935099124908, 0.4860880970954895, 0.14694499969482422, -0.39716947078704834, -0.27410659193992615, -0.3809155523777008, 0.8902572989463806, 0.4539168179035187, 0.30997538566589355, -0.0019154733745381236, 0.7741808295249939, 0.853456974029541, 0.604779839515686, -0.7300297617912292, 0.4538887143135071, -0.3983660638332367, -0.658425509929657, -0.3602173328399658, -0.4390653967857361, -0.4631272852420807, 0.12722352147102356, -0.03649557754397392, -0.7836530804634094, -0.09577187150716782, -0.017661603167653084, -0.053269512951374054, 0.6080485582351685, -0.6298768520355225, 0.642000675201416, -0.06363633275032043, -0.13334113359451294, -0.3687626123428345, -0.27984896302223206, 0.39339739084243774, -0.022230027243494987, 0.4373202919960022, -0.2646210789680481, 0.13960647583007812, 0.9269276857376099, -0.3295261263847351, 0.8856794834136963, -0.407179057598114, -0.1657177060842514, 0.5425637364387512, -0.12858620285987854, 0.15997111797332764, -0.39902937412261963, -0.18872053921222687, 0.27493515610694885, -0.47354796528816223, -0.335418701171875, -0.2746511995792389, 0.5815553665161133, -0.6922106742858887, -0.258810430765152, -0.21019074320793152, -0.24099239706993103, 0.08558467030525208, 0.19159536063671112, 0.2376975417137146, -0.1073942482471466, -0.43311354517936707, -0.12713058292865753, 0.36459943652153015, -0.12006937712430954, -0.08570216596126556, 0.3219401240348816, -0.3331339359283447, -0.3829277455806732, 1.3759299516677856, 0.24880586564540863, 0.2422695904970169, 0.36649462580680847, 0.23123836517333984, -0.1927008479833603, -0.395400732755661, -0.13418257236480713, 0.19260968267917633, -0.5539802312850952, -0.15424196422100067, -0.8101748824119568, -0.4405520260334015, -0.5469889640808105, -0.27763548493385315, -0.10550446063280106, 0.026948627084493637, -0.21648550033569336, -0.13904255628585815, 0.46920183300971985, 0.9401582479476929, -0.4627014696598053, 0.5607362985610962, -0.5785732269287109, 0.6527971625328064, 0.39302369952201843, 0.18823425471782684, -0.09358611702919006, -0.8599053025245667, -0.31841081380844116, 0.25739753246307373, -0.2076777070760727, -1.2705312967300415, 0.5041918158531189, -0.14243711531162262, 0.09118560701608658, 0.7238491773605347, 0.22064177691936493, 0.5153250098228455, -0.3664804995059967, 0.48134368658065796, 0.09648710489273071, -0.5156571865081787, 0.824002742767334, -0.5414993166923523, -0.12096657603979111, 0.30961039662361145, 0.7565688490867615, -0.8533673286437988, -0.912628173828125, -0.5497346520423889, -0.4751129746437073, 0.5519925355911255, 0.37200647592544556, 0.1367887705564499, -0.18826358020305634, -0.07654338330030441, -0.10643375664949417, -0.07952672243118286, -0.884709894657135, -0.42123979330062866, -0.2842012047767639, 0.03107675537467003, -0.1341044306755066, -0.5305987596511841, -0.008256377652287483, -0.2482670247554779, 0.7543795108795166, 0.20390649139881134, 0.05508065223693848, -0.11447225511074066, -0.33135995268821716, -0.14285674691200256, 0.04412710294127464, 0.36724942922592163, 0.2110392302274704, -0.2494134157896042, 0.09347188472747803, -0.10406652837991714, -0.584714412689209, 0.1199631616473198, 0.1333063691854477, -0.26390784978866577, 0.480243980884552, 0.16711248457431793, 0.5802667140960693, -0.08239741623401642, -0.5608987808227539, 0.49101659655570984, -0.031587470322847366, -0.004177373368293047, -0.34525159001350403, -0.10069458931684494, 0.06876605749130249, 0.33520179986953735, 0.36170694231987, -0.3331882059574127, 0.11746113747358322, -0.21292482316493988, 0.48198220133781433, 0.16069607436656952, -0.8805720210075378, -0.09858651459217072, 0.664584219455719, 0.16606281697750092, -0.6238893270492554, 0.2571532726287842, -0.17405781149864197, -0.9424708485603333, 0.469326913356781, 0.35420578718185425, 0.9623547792434692, -0.6233612895011902, 0.8640584945678711, 0.43287330865859985, 0.44041651487350464, 0.6602296233177185, 0.09739701449871063, 0.11773048341274261, -0.8212711215019226, -0.21073231101036072, -0.8241975903511047, -0.007946893572807312, 0.4640582203865051, -0.5181671977043152, 0.5504148006439209, -0.5269139409065247, 0.004426615312695503, 0.39406222105026245, -0.17149220407009125, -0.4486686587333679, 0.2316102236509323, 0.6863924264907837, 0.43180403113365173, -1.0819042921066284, 0.46910563111305237, 0.4115488529205322, -0.3949957489967346, -0.4100838601589203, 0.02399151772260666, 0.5246720910072327, -0.8452292084693909, 0.6389489769935608, 0.3366996645927429, -0.1105097234249115, 0.007197401486337185, -0.6280212998390198, -0.37417522072792053, 0.11745379120111465, 0.3327195942401886, -0.34091782569885254, 0.29395103454589844, 0.5308095812797546, 0.740929901599884, -0.45105549693107605, 0.03207257762551308, 0.49820590019226074, 0.284525603055954, -0.10601631551980972, -0.5765963792800903, 0.012761084362864494, -0.24410225450992584, -0.11700662970542908, 0.00969679094851017, -0.6083889007568359, 0.6819347143173218, 0.2723172605037689, -0.20559535920619965, -0.4275040328502655, 0.7196846008300781, 0.1114213839173317, 0.26920053362846375, 0.9033533930778503, 0.39111027121543884, 0.4276396930217743, 0.383224219083786, 0.5780394673347473, 0.3403816819190979, 0.17900043725967407, 0.9350085258483887, -0.013193693943321705, 0.6927942633628845, 0.264834463596344, 0.035227272659540176, 0.3674834072589874, 0.42856770753860474, -0.12107488512992859, 0.22882676124572754, 0.6633734703063965, -0.603178083896637, -0.09590700268745422, -0.8444095849990845, -0.28614524006843567, 0.5087141990661621, 0.5105881094932556, -0.3763476312160492, -0.3561129868030548, 0.38089314103126526, 0.07430493831634521, 0.4883602559566498, -0.46092769503593445, 0.7662732005119324, 0.03627140074968338, -0.20471937954425812, 0.49278953671455383, 0.18574510514736176, 0.9440209269523621, -0.3631097376346588, -0.0054327379912137985, 0.1209447905421257, 0.035360950976610184, -0.2495667040348053, -0.5286830067634583, 0.4734465181827545, 0.6233742237091064, -0.11548136174678802, -0.23238229751586914, 0.8392345905303955, -0.6138680577278137, -0.362591028213501, 0.684161901473999, 0.11251936852931976, 0.25959792733192444, -0.6573354005813599, -0.8056051135063171, 0.3740491569042206, 0.13287504017353058, 0.24941237270832062, 0.16701336205005646, 0.38176819682121277, -0.015202697366476059, 0.377878338098526, 0.5230129957199097, 0.34813615679740906, 0.27532872557640076, 0.282833993434906, 1.1148662567138672, -0.500311017036438, -0.5408026576042175, -0.9562868475914001, 0.28005608916282654, -0.28551653027534485, -0.33537960052490234, 0.7852321267127991, 0.5873502492904663, 1.2600189447402954, 0.1469959318637848, 1.1542526483535767, -0.04841132462024689, 0.9844171404838562, 0.01940200664103031, 0.8052024841308594, -0.5906645655632019, -0.15594430267810822, -0.8013436794281006, -1.0413811206817627, -0.4464679956436157, 0.5478076338768005, -0.35168319940567017, -0.2577062249183655, 0.329542338848114, 0.8213730454444885, 0.057368721812963486, -0.035153552889823914, 0.45278143882751465, 0.6316587328910828, 0.5965756773948669, 0.1960856318473816, 0.7804959416389465, -0.2721084654331207, 0.9335834980010986, -0.39146751165390015, -0.23456496000289917, -0.5565353631973267, -0.43054330348968506, -0.8821154832839966, -0.5836141705513, -0.3791435956954956, -0.6528196334838867, 0.32305338978767395, 0.8011714220046997, 0.340497761964798, -0.8960541486740112, -0.38854601979255676, 0.3771416246891022, 0.33492472767829895, -0.015768561512231827, -0.32814469933509827, 0.10445291548967361, -0.030527474358677864, -0.8596135377883911, 0.10633586347103119, 0.3056293725967407, -0.2129344940185547, -0.2630203366279602, -0.060780517756938934, -0.7401604056358337, -0.1085125133395195, 0.76816725730896, 0.2807284891605377, -0.5964441299438477, -0.41792795062065125, -0.29742613434791565, -0.15453988313674927, -0.06505259871482849, 0.8118393421173096, -0.4351089894771576, 0.4596584439277649, 0.3211677372455597, 0.7153041958808899, 0.4104396104812622, 0.0753619447350502, 0.15990205109119415, -0.5758919715881348, 0.26108938455581665, 0.5389002561569214, -0.08482883870601654, 0.3691178262233734, -0.275436669588089, 0.1891205906867981, 0.46595439314842224, -0.2406243234872818, -0.9266659021377563, 0.2510119378566742, -0.8256677985191345, -0.15859225392341614, 1.3095024824142456, 0.019276071339845657, -0.08036675304174423, -0.4184044301509857, -0.37223005294799805, 0.7297315001487732, -0.5458749532699585, 0.8641240000724792, 0.608788251876831, 0.33252257108688354, 0.08003991097211838, -0.39501050114631653, 0.6055058240890503, 0.29362553358078003, -0.5893459320068359, 0.04891667142510414, 0.5942782163619995, -0.02907387726008892, 0.06452730298042297, 0.7026464939117432, 0.17929495871067047, 0.12415007501840591, -0.09335582703351974, -0.15213267505168915, 0.4418486952781677, -0.25047487020492554, -0.2516763508319855, 0.32431039214134216, -0.4930056631565094, -0.12095589935779572 ]
http://arxiv.org/abs/2404.19245v2
http://arxiv.org/pdf/2404.19245v2
HydraLoRA: An Asymmetric LoRA Architecture for Efficient Fine-Tuning
2024-04-30T04:01:09
2024-05-23T15:06:02
Chunlin Tian, Zhan Shi, Zhijiang Guo, Li Li, Chengzhong Xu
cs.CL
cs.CL, cs.AI
Adapting Large Language Models (LLMs) to new tasks through fine-tuning has been made more efficient by the introduction of Parameter-Efficient Fine-Tuning (PEFT) techniques, such as LoRA. However, these methods often underperform compared to full fine-tuning, particularly in scenarios involving complex datasets. This issue becomes even more pronounced in complex domains, highlighting the need for improved PEFT approaches that can achieve better performance. Through a series of experiments, we have uncovered two critical insights that shed light on the training and parameter inefficiency of LoRA. Building on these insights, we have developed HydraLoRA, a LoRA framework with an asymmetric structure that eliminates the need for domain expertise. Our experiments demonstrate that HydraLoRA outperforms other PEFT approaches, even those that rely on domain knowledge during the training and inference phases.
[ -0.39160388708114624, -0.7798023819923401, 0.44867855310440063, 0.2270345240831375, -0.31151774525642395, 0.24295446276664734, -0.4324018061161041, -0.6140998005867004, -0.027894901111721992, 0.4288415014743805, -0.3631501793861389, -0.48441311717033386, -0.4692155420780182, -0.14589069783687592, -0.38542547821998596, 0.9520588517189026, -0.21217262744903564, -0.06529472023248672, 0.21911320090293884, -0.33419281244277954, -0.2517912983894348, -0.25381559133529663, -0.9875496625900269, -0.7542726397514343, 0.7807121872901917, 0.4967219829559326, 0.5926748514175415, 0.6313560605049133, 0.18649083375930786, 0.225188747048378, -0.08958422392606735, 0.4695868492126465, -0.5754609704017639, 0.056439388543367386, -0.4602660834789276, -0.5949327349662781, -0.579948365688324, -0.17868971824645996, 0.4768923819065094, 0.8883755803108215, 0.010783792473375797, 0.3995971977710724, 0.24728769063949585, 1.0415765047073364, -0.8256790637969971, 0.11374401301145554, -0.9352164268493652, -0.2666293680667877, -0.46276792883872986, -0.3851977288722992, -0.0376487672328949, -0.16133880615234375, 0.19132329523563385, -0.5843410491943359, 0.07317323237657547, 0.17349256575107574, 1.0364937782287598, 0.6406067609786987, -0.17901794612407684, -0.24073295295238495, -0.8286028504371643, 0.6683624386787415, -0.5741875171661377, 0.37664595246315, 0.11515413224697113, 0.3424024283885956, -0.1904299259185791, -0.4905513525009155, -0.358346164226532, 0.18004301190376282, 0.46646469831466675, -0.17368267476558685, -0.3788069188594818, 0.02240593358874321, 0.11999724060297012, 0.06336815655231476, -0.3600977957248688, 0.40581321716308594, -0.27630460262298584, 0.19743035733699799, 0.5339818000793457, -0.1608697474002838, 0.14267496764659882, 0.30346986651420593, -0.24601885676383972, 0.12271668016910553, -1.173118233680725, 0.04359825700521469, 0.4832073152065277, 0.6555298566818237, -0.02109557017683983, 0.552882194519043, -0.3631173074245453, 0.6621124744415283, 0.12595975399017334, 0.06937412172555923, -0.06510657072067261, 0.1438184678554535, -0.46460986137390137, 0.30849194526672363, 0.32779771089553833, -0.06659835577011108, 0.500882089138031, -0.2776450216770172, -0.15847361087799072, 0.225843608379364, 0.08548056334257126, -0.7364887595176697, -0.37625691294670105, 0.34705352783203125, -0.16995927691459656, -0.08024773001670837, -0.053957149386405945, -0.6614315509796143, -0.23530790209770203, -0.44660648703575134, 0.3924219608306885, -0.34900224208831787, 0.17791347205638885, 0.48843005299568176, -0.02025333046913147, 0.24369995296001434, 0.6261675953865051, -0.6906283497810364, 0.5699450969696045, 0.8565582633018494, 0.630776047706604, -0.519149899482727, -0.4434588551521301, -0.7085538506507874, 0.30155637860298157, -0.205929234623909, 1.2021534442901611, -0.5922079086303711, 0.09893151372671127, -0.07180549204349518, -0.2012828290462494, -0.15386219322681427, -0.8345746994018555, 0.5060660243034363, -0.8825907111167908, -0.05888357385993004, -0.3208095133304596, -0.44470950961112976, -0.19829198718070984, -0.015848727896809578, -0.538862407207489, 0.7677159905433655, 0.27638500928878784, -0.6023849844932556, 0.14607103168964386, -0.7807215452194214, -0.34290391206741333, -0.14568063616752625, -0.03498997911810875, -0.48584797978401184, 0.2408187985420227, 0.03601925075054169, 0.1694353222846985, -0.8307426571846008, 0.009732690639793873, -0.40945887565612793, -0.4629773795604706, 0.029699841514229774, -0.1526642143726349, 0.7138571739196777, 0.3585360050201416, -0.5875688791275024, 0.2987781763076782, -0.7814022898674011, 0.3189394474029541, 0.06308111548423767, -0.7023802995681763, -0.4378257691860199, -0.09171046316623688, 0.2838108241558075, -0.1096300482749939, 0.26946595311164856, -0.3344336152076721, 0.17739498615264893, -0.53566974401474, 0.610134482383728, 0.6669146418571472, -0.17294035851955414, 0.4672207832336426, -0.18094468116760254, 0.47613656520843506, -0.17576681077480316, 0.03386605903506279, 0.4423394501209259, -0.388764351606369, -1.0457607507705688, -0.2238904982805252, 0.4223027229309082, 0.36496564745903015, -0.7135698795318604, 0.2606390714645386, -0.04371197521686554, -0.5220182538032532, -0.4171900451183319, 0.7210068702697754, 0.5742706060409546, 0.3684854805469513, 0.37601837515830994, -0.16296856105327606, -0.4705336093902588, -0.8811648488044739, -0.7154574394226074, 0.028357360512018204, 0.20214055478572845, 0.1465994119644165, 0.35745784640312195, -0.40357041358947754, 0.8548026084899902, -0.4415075480937958, -0.24723057448863983, -0.23417137563228607, -0.1909659057855606, 0.3899032771587372, 0.43264415860176086, 0.6611360907554626, -0.6959432363510132, -0.828667938709259, 0.25282663106918335, -0.48126718401908875, -0.39018476009368896, 0.27522730827331543, -0.18166734278202057, 0.26386377215385437, 0.5075947642326355, -0.6908574104309082, 0.06653720885515213, 0.736528754234314, -0.5436315536499023, 0.33882951736450195, -0.21738286316394806, -0.23559129238128662, -0.7779121994972229, 0.2710570693016052, -0.11534497886896133, -0.23959708213806152, -0.7420912981033325, 0.21510694921016693, 0.12398102879524231, 0.042017772793769836, -0.28096818923950195, 0.6195216774940491, -0.47077685594558716, -0.11304479092359543, -0.4963250458240509, 0.19307754933834076, 0.11600036174058914, 0.5909522175788879, -0.12174319475889206, 0.7913256883621216, 0.4003429114818573, -0.6500962972640991, 0.2051938772201538, 0.05928364396095276, -0.47682973742485046, 0.5369976758956909, -0.8590070605278015, 0.15141260623931885, 0.06980784237384796, -0.06765817850828171, -0.5483458042144775, -0.2688460350036621, 0.15972988307476044, 0.1583847999572754, 0.1756918728351593, -0.12724360823631287, -0.5254709124565125, -0.06504031270742416, -0.2705044448375702, 0.4863518178462982, 0.42150968313217163, -0.7082412838935852, 0.6769895553588867, 0.3933662474155426, -0.07572454959154129, -0.45472288131713867, -0.36304375529289246, -0.1776505559682846, -0.5770812630653381, -0.3006410002708435, 0.5257323384284973, -0.1468236744403839, -0.5147284269332886, -0.22080275416374207, -0.20802918076515198, -0.2706677317619324, 0.293963223695755, 0.27303844690322876, -0.12941645085811615, -0.503612220287323, 0.06844717264175415, 0.3002021014690399, -0.0918467566370964, -0.10814348608255386, -0.250969797372818, 0.827989399433136, -0.1808251291513443, -0.48082810640335083, -0.6633096933364868, 0.12786950170993805, 0.6867895126342773, -0.1713031828403473, 0.51569002866745, 0.2916174829006195, -0.30695420503616333, -0.7620038390159607, -0.475041925907135, 0.10624217987060547, -0.5574102401733398, 0.27791154384613037, -0.5294502973556519, -0.7518744468688965, 0.5673860311508179, -0.4192710816860199, 0.022683920338749886, 0.3807603120803833, 0.41927143931388855, -0.13355517387390137, 0.5464242100715637, 0.767383337020874, -0.22526173293590546, 0.6638185977935791, -0.18213647603988647, 0.146819606423378, -0.7861935496330261, -0.12502582371234894, -0.7286534905433655, -0.3337045907974243, -0.28759196400642395, -0.5666082501411438, 0.28569701313972473, 0.404162734746933, -0.6963744759559631, 0.36179089546203613, -0.1532323658466339, 0.49981120228767395, 0.47481533885002136, 0.1428578495979309, 0.638128399848938, 0.2677460312843323, 0.4618113338947296, 0.2896123230457306, -1.0588113069534302, -0.4553214907646179, 0.9915090203285217, 0.512540876865387, 0.9567168951034546, 0.1689097285270691, 0.5326122641563416, 0.019560176879167557, 0.20445692539215088, -0.7135280966758728, 0.22656364738941193, -0.311062216758728, -0.25678926706314087, -0.4119418263435364, -0.2147180438041687, -0.9867736101150513, 0.10562098771333694, -0.01615777611732483, -0.4985876977443695, 0.4160950779914856, 0.309621661901474, -0.6225067377090454, 0.2986527383327484, -0.6146376132965088, 0.6356890797615051, -0.20992057025432587, -0.44504785537719727, -0.3060550093650818, -0.14866861701011658, -0.0052102976478636265, -0.4388216435909271, -0.014616522006690502, -0.26791322231292725, -0.22651763260364532, 0.6083990335464478, -0.3522317409515381, 0.8821721076965332, -0.21585336327552795, -0.6064690351486206, 0.2439861297607422, 0.03882798179984093, 0.6208782196044922, 0.10109907388687134, -0.307624489068985, 0.038611605763435364, -0.05446448177099228, -0.557954728603363, -0.7890996932983398, 1.0272771120071411, -1.0062012672424316, -0.5718057751655579, -0.022651754319667816, -0.7600740790367126, -0.6989383101463318, 0.18544425070285797, 0.13595931231975555, 0.1263810247182846, -0.0657024011015892, 0.1495172083377838, 0.99832683801651, -0.16564735770225525, 0.13248670101165771, 0.5371564626693726, -0.10620809346437454, -0.023038392886519432, 0.7694111466407776, 0.10672800242900848, 0.3035983443260193, 0.3353068232536316, 0.0541314072906971, 0.05355149507522583, -0.7595353126525879, -0.30497753620147705, 0.41521501541137695, -0.6479585766792297, -0.30465030670166016, -0.4068491458892822, -0.1144680306315422, -0.09139369428157806, -0.2528711259365082, -0.7794250845909119, -0.384413480758667, -0.43130916357040405, 0.38900426030158997, 0.4438296854496002, 0.7320441603660583, 0.5354033708572388, 0.43241795897483826, -0.37541070580482483, 0.34898579120635986, 0.47048112750053406, 0.5020989775657654, -0.009999927133321762, -0.6879153847694397, -0.16386224329471588, -0.03758973628282547, -0.019150767475366592, -0.48011794686317444, 0.27948084473609924, 0.6146510243415833, 0.40610912442207336, 0.4814174771308899, -0.06905547529459, 1.102057933807373, -0.6417422890663147, 0.2841325104236603, -0.20820128917694092, -1.1249439716339111, 0.5212222337722778, -0.4909675717353821, 0.4167185425758362, 0.5972710251808167, 0.20966459810733795, -0.011777353473007679, 0.005516578443348408, -0.41337472200393677, -0.7357323169708252, 0.40706294775009155, 0.1194695457816124, 0.09255961328744888, 0.688957929611206, 0.737419605255127, 0.21487973630428314, 0.37871161103248596, -0.36318355798721313, -0.2644332945346832, 0.12243897467851639, -0.2015727311372757, -0.24625401198863983, -0.22311368584632874, -0.34849247336387634, -0.33785808086395264, 0.6062575578689575, -0.5506274104118347, 0.0272896159440279, -0.06467926502227783, -0.017496392130851746, -0.29784974455833435, 0.10650357604026794, 0.418667197227478, 0.7518072128295898, -0.03270573541522026, 0.29023560881614685, 0.4131942689418793, -0.11472399532794952, -0.17832718789577484, -0.09110675752162933, -0.0009820765117183328, -0.20662954449653625, 0.466560959815979, 0.7584731578826904, 0.4291089177131653, -0.954441487789154, -0.015326600521802902, 0.23650893568992615, -0.054525990039110184, -0.1629652976989746, 0.5903593301773071, 0.19689545035362244, 0.7741115093231201, 0.25763022899627686, 0.09890297800302505, -0.028913481160998344, -0.8595919013023376, -0.015481364913284779, 0.49852481484413147, -0.3540918529033661, -0.45171216130256653, 0.49141302704811096, -0.00833004992455244, -0.38949039578437805, 0.15216831862926483, 0.29216837882995605, -0.3807362914085388, 0.46684518456459045, 0.6837751269340515, 0.6795924305915833, -0.15336285531520844, 0.04288936033844948, -0.22416001558303833, -0.009443518705666065, -0.15015502274036407, 0.644733726978302, -0.04977884516119957, -0.7398097515106201, 0.009575854986906052, -0.9075454473495483, -0.3299142122268677, -0.022623857483267784, -0.6793635487556458, 0.04619879275560379, -0.7198631763458252, -0.07491331547498703, 0.052357420325279236, 0.18388864398002625, -0.6875126957893372, -0.05632735416293144, -0.1445123553276062, 1.239309310913086, -0.7907044291496277, 1.2616229057312012, 0.7050039172172546, 0.04156303405761719, -0.7088770866394043, 0.02649735100567341, -0.2508041560649872, -0.8686529397964478, 0.7926898002624512, -0.27988898754119873, -0.5649029612541199, 0.046293653547763824, -0.5377743244171143, -1.0802689790725708, 1.1474920511245728, 1.00650954246521, -0.6475993394851685, -0.20360465347766876, 0.19209501147270203, 0.8122165203094482, -0.6116337776184082, -0.6321095824241638, 0.8269797563552856, 0.43933406472206116, -0.2253834307193756, -1.0545309782028198, -0.014372908510267735, -0.2144630402326584, 0.08289117366075516, -0.08309860527515411, -0.8985203504562378, 0.9293286204338074, -0.10534588247537613, -0.14838047325611115, 0.2047375589609146, 0.629530131816864, 0.39735233783721924, 0.2742113471031189, 0.4540061056613922, 0.26931315660476685, 0.8656290173530579, -0.04578179121017456, 0.9319717884063721, -0.48170384764671326, 0.23496773838996887, 1.4329947233200073, -0.368460088968277, 1.1278060674667358, 0.8419184684753418, -0.12166792154312134, 0.6088898181915283, 0.5830974578857422, 0.17530030012130737, 0.49466079473495483, 0.14266428351402283, -0.02784224972128868, -0.48420611023902893, -0.16436205804347992, -0.14713157713413239, 0.5810986161231995, 0.39759156107902527, -0.23467279970645905, -0.2988159656524658, -0.09628559648990631, -0.02359738200902939, 0.2471391260623932, -0.47157248854637146, 0.4986129403114319, 0.33055710792541504, -0.5078051090240479, 0.8548814654350281, 0.09301482141017914, 0.5500978231430054, -0.5488651394844055, 0.09434833377599716, -0.12721368670463562, 0.4135059416294098, -0.2969456613063812, -0.4201486110687256, 0.12383896857500076, 0.09165774285793304, -0.19891908764839172, -0.03208156302571297, 0.5836147665977478, -0.3946024775505066, -0.08391907811164856, 0.5615650415420532, 0.7017982602119446, -0.04083428159356117, -0.5173501968383789, -0.8315483927726746, 0.37904447317123413, -0.08948124945163727, -0.322623610496521, 0.4153185188770294, 0.4649949371814728, -0.1681033968925476, 0.9317418932914734, 0.6002281308174133, 0.32615381479263306, -0.09141260385513306, 0.17654049396514893, 1.2270491123199463, -0.45299032330513, -0.250245064496994, -0.7453015446662903, 0.020143873989582062, 0.1029297485947609, -0.37342774868011475, 0.8658304214477539, 0.5111552476882935, 0.7249699831008911, -0.0003760700346902013, 0.5793695449829102, 0.3179236352443695, 0.3408191204071045, -0.7531501054763794, 0.8503990769386292, -0.6541849970817566, 0.5689384937286377, -0.169235497713089, -1.16596519947052, -0.3052658140659332, 0.38345664739608765, -0.3031453788280487, -0.04142076149582863, 0.59217369556427, 0.6866970658302307, -0.34231504797935486, -0.09243212640285492, 0.22554467618465424, 0.3777436912059784, 0.3100323975086212, 0.647506058216095, 0.48183736205101013, -0.5602767467498779, 0.1307157427072525, -0.06017705053091049, -0.048375945538282394, -0.29458916187286377, -0.5519522428512573, -1.1981548070907593, -0.48018401861190796, -0.30879339575767517, -0.19542047381401062, 0.4140810966491699, 0.996846079826355, 0.7078466415405273, -1.1842917203903198, -0.4065544009208679, -0.06774147599935532, 0.0848175659775734, -0.1669275313615799, -0.1098252385854721, 0.6129906177520752, -0.37061601877212524, -0.9882403016090393, 0.633953332901001, 0.4302805960178375, -0.04570835456252098, -0.30582502484321594, -0.12237545102834702, 0.02343396283686161, 0.3061392903327942, 0.7171454429626465, 0.5208501815795898, -0.6423283815383911, -0.2519114911556244, -0.30660557746887207, -0.05057498812675476, 0.04875112697482109, 0.7622919678688049, -0.6354944109916687, 0.02533395029604435, 0.2908572256565094, 0.7491275072097778, 0.3711022734642029, 0.032921988517045975, 0.7095063924789429, -0.26297855377197266, 0.0875968337059021, -0.05765005573630333, 0.37501972913742065, 0.05060884729027748, -0.2181752324104309, 0.45190393924713135, -0.02104817144572735, -0.3401195704936981, -1.0217876434326172, 0.27114343643188477, -1.0704536437988281, -0.5126110911369324, 1.2844055891036987, -0.14935462176799774, -0.5862627029418945, -0.43014949560165405, -0.23436114192008972, 0.10021797567605972, -0.3356751501560211, 1.1005299091339111, 0.10790111869573593, -0.3692720830440521, 0.13237541913986206, -0.4982776939868927, 0.884856641292572, 0.5083726644515991, -1.0833454132080078, 0.2306978702545166, 0.05350149795413017, 0.6163685321807861, 0.16812367737293243, 0.37365633249282837, 0.22316843271255493, 0.22295013070106506, -0.2679908871650696, -0.3897468149662018, -0.05737997591495514, -0.6761924624443054, -0.4475112557411194, 0.6509509682655334, 0.5293903350830078, 0.37830469012260437 ]