id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2406.12030v1
http://arxiv.org/pdf/2406.12030v1
SPA-VL: A Comprehensive Safety Preference Alignment Dataset for Vision Language Model
2024-06-17T18:57:37
2024-06-17T18:57:37
Yongting Zhang, Lu Chen, Guodong Zheng, Yifeng Gao, Rui Zheng, Jinlan Fu, Zhenfei Yin, Senjie Jin, Yu Qiao, Xuanjing Huang, Feng Zhao, Tao Gui, Jing Shao
cs.CV
cs.CV, cs.AI, cs.CL
The emergence of Vision Language Models (VLMs) has brought unprecedented advances in understanding multimodal information. The combination of textual and visual semantics in VLMs is highly complex and diverse, making the safety alignment of these models challenging. Furthermore, due to the limited study on the safety alignment of VLMs, there is a lack of large-scale, high-quality datasets. To address these limitations, we propose a Safety Preference Alignment dataset for Vision Language Models named SPA-VL. In terms of breadth, SPA-VL covers 6 harmfulness domains, 13 categories, and 53 subcategories, and contains 100,788 samples of the quadruple (question, image, chosen response, rejected response). In terms of depth, the responses are collected from 12 open- (e.g., QwenVL) and closed-source (e.g., Gemini) VLMs to ensure diversity. The experimental results indicate that models trained with alignment techniques on the SPA-VL dataset exhibit substantial improvements in harmlessness and helpfulness while maintaining core capabilities. SPA-VL, as a large-scale, high-quality, and diverse dataset, represents a significant milestone in ensuring that VLMs achieve both harmlessness and helpfulness. We have made our code https://github.com/EchoseChen/SPA-VL-RLHF and SPA-VL dataset url https://huggingface.co/datasets/sqrti/SPA-VL publicly available.
[ -0.32984963059425354, -0.34340763092041016, 0.17904940247535706, 0.09472642093896866, -0.09616787731647491, -0.12399087846279144, 0.14009040594100952, -0.5728729367256165, -0.2641243636608124, 0.8914023041725159, -0.4294801652431488, -0.6835506558418274, -0.5682743787765503, -0.19369249045848846, -0.3935483992099762, 1.1609034538269043, 0.17681947350502014, 0.18528592586517334, 0.14035102725028992, -0.40735337138175964, -0.5217050313949585, -0.5162546634674072, -0.21676300466060638, 0.2466292679309845, 0.7649843096733093, 0.22122910618782043, 0.8992369771003723, 0.9274001121520996, 0.7533000707626343, 0.303556889295578, -0.0603015273809433, 0.2631767988204956, -0.4759807586669922, -0.031190382316708565, -0.37808820605278015, 0.007526002824306488, -0.6570957899093628, -0.3275623023509979, 0.6793686747550964, 0.654252290725708, -0.1786181628704071, 0.0940694585442543, 0.049806639552116394, 0.7787653207778931, -0.7832131385803223, -0.16672943532466888, -0.6242470145225525, 0.04078105464577675, -0.31147676706314087, 0.09513691812753677, -0.5084141492843628, -0.4145301580429077, 0.5487911105155945, -0.5496702194213867, -0.03873440995812416, 0.37993547320365906, 1.0416258573532104, 0.42448896169662476, -0.5750151872634888, 0.29405200481414795, -0.4305678904056549, 0.7109541296958923, -0.43737176060676575, 0.4936651587486267, -0.06722119450569153, 0.4117293655872345, 0.05045327916741371, -0.26287907361984253, -0.41423752903938293, 0.012120856903493404, 0.045527901500463486, -0.14569999277591705, -0.10395113378763199, 0.03357963636517525, 0.08115097135305405, -0.1506945639848709, -0.9458218812942505, 0.13107606768608093, -0.3048038184642792, -0.27263712882995605, 0.6053245663642883, 0.50592041015625, 0.31211987137794495, 0.20407384634017944, -0.7743951678276062, -0.14057855308055878, -0.8952047824859619, -0.04307059198617935, 0.22070088982582092, 0.4840629994869232, -0.22873610258102417, 0.9611204266548157, -0.2063429355621338, 1.2510037422180176, -0.23079845309257507, -0.01796891540288925, 0.8165061473846436, -0.5244603753089905, -0.3084653913974762, 0.13963793218135834, 0.7647298574447632, 0.8843131065368652, 0.48722219467163086, 0.19295701384544373, -0.07625740766525269, 0.14341183006763458, 0.4276219606399536, -0.33470219373703003, 0.08107436448335648, 0.07889831066131592, -0.01906009204685688, -0.5207449793815613, 0.0603896863758564, -0.9336275458335876, -0.6361662745475769, -0.5649142265319824, 0.32930657267570496, -0.41402387619018555, -0.3593926429748535, 0.5704601407051086, 0.04440075531601906, 0.33725059032440186, 0.3388621509075165, -0.6511708498001099, 0.041889891028404236, 0.5917733907699585, 0.5492658615112305, -0.5061354041099548, -0.5569157600402832, -0.5663031935691833, 0.33083081245422363, -0.3332243859767914, 0.6211903691291809, -0.428960919380188, -0.24812911450862885, 0.00337397214025259, 0.23025254905223846, -0.1299271434545517, -0.3397907316684723, 0.3212234675884247, -0.264913409948349, 0.14521357417106628, -0.23447109758853912, -0.2038620114326477, 0.0022519356571137905, 0.19083096086978912, -0.6256538033485413, 0.8757709264755249, -0.004390289541333914, -0.9599213004112244, 0.6029638051986694, -0.45027267932891846, -0.1766391098499298, 0.06232704222202301, -0.2648106515407562, -0.6089223027229309, -0.23143750429153442, 0.09700631350278854, 0.21010851860046387, 0.08541478961706161, 0.3147461414337158, -0.6681376099586487, -0.25091496109962463, 0.5155653953552246, -0.4941105544567108, 0.802516758441925, 0.2383980005979538, -0.3620222806930542, 0.44281479716300964, -0.6215824484825134, 0.0422978512942791, 0.027475230395793915, -0.012767375446856022, -0.45398640632629395, -0.24746908247470856, 0.2465893030166626, 0.45818185806274414, 0.4420415759086609, -0.4109647572040558, -0.038119420409202576, -0.4753209054470062, -0.12511293590068817, 1.02067232131958, -0.31449443101882935, 0.3236851394176483, -0.15248261392116547, 0.19047564268112183, 0.3567385971546173, 0.8322644829750061, 0.24358771741390228, -0.4418812692165375, -0.8126514554023743, -0.2728188931941986, 0.00845421850681305, 0.6273238658905029, -0.5910995006561279, 0.5853453278541565, -0.42218273878097534, -0.32251569628715515, -0.675504744052887, -0.04668420925736427, 0.9013561606407166, 0.6099669933319092, 0.3009538948535919, -0.20022942125797272, -0.42541295289993286, -1.1382646560668945, -0.021414287388324738, 0.03552749380469322, 0.4771025776863098, 0.4547403156757355, 0.08232919871807098, -0.2650224566459656, 1.0051350593566895, -0.5109968781471252, -0.17821533977985382, 0.007366471458226442, -0.44998085498809814, 0.011766800656914711, 0.3625299036502838, 0.8527374267578125, -1.1778619289398193, -0.4172176420688629, 0.25175994634628296, -0.7087534666061401, -0.032940976321697235, 0.5007892847061157, -0.5586563944816589, 0.5102161765098572, -0.07384591549634933, -0.38507506251335144, 0.35466453433036804, 0.6673476099967957, -0.829712450504303, 0.3698808550834656, 0.023312732577323914, 0.14854909479618073, -1.1537580490112305, 0.2339468151330948, 0.35621097683906555, -0.19015999138355255, -0.8159541487693787, 0.032584886997938156, 0.07653660327196121, 0.12016602605581284, -0.9921193718910217, 0.5520971417427063, -0.1960357427597046, -0.2991691529750824, -0.0026328079402446747, -0.024100633338093758, -0.08883143216371536, 0.1893286406993866, 0.4225647449493408, 0.8247355818748474, 0.8073497414588928, -0.43352001905441284, 0.29652681946754456, 0.26096123456954956, -0.06358446925878525, 0.46567419171333313, -0.3892578184604645, -0.2126396745443344, -0.228295236825943, -0.2546759843826294, -0.6525754928588867, -0.1972585916519165, 0.48580530285835266, -0.2260671854019165, 0.24491237103939056, -0.18586434423923492, -0.04830797761678696, -0.1694675087928772, -0.1685226857662201, 0.4790687561035156, 0.36294594407081604, -0.3893670439720154, 0.25725406408309937, 0.8838960528373718, -0.2407757043838501, -1.3271534442901611, -0.35272106528282166, 0.043963611125946045, -0.3675810694694519, -0.5810950994491577, -0.10083380341529846, -0.18596340715885162, -0.24090997874736786, 0.1618361622095108, -0.04110085964202881, 0.057595618069171906, -0.2754431366920471, 0.3497682511806488, 1.052289366722107, -0.2970324158668518, -0.15577001869678497, -0.17590874433517456, -0.5094941258430481, -0.45421501994132996, -0.21037700772285461, 0.468782514333725, -0.5612974166870117, -0.43152207136154175, -0.04762549325823784, 0.33988091349601746, 0.7215948104858398, -0.42608359456062317, 0.6929053664207458, 0.3096156418323517, -0.32896068692207336, 0.107512466609478, -0.49084484577178955, 0.344078928232193, -0.4436139464378357, 0.3538861870765686, -0.12752798199653625, -1.1504697799682617, -0.12718507647514343, 0.25657814741134644, 0.1876632273197174, 0.30621519684791565, 0.5875566005706787, -0.012318799272179604, 1.1140437126159668, 0.7631568312644958, -0.23425166308879852, 0.39019182324409485, 0.08756357431411743, 0.14039143919944763, -0.4502990245819092, -0.4225024878978729, -0.44550761580467224, 0.22181379795074463, -0.31462761759757996, -0.2801365554332733, 0.4563121795654297, -0.4912852346897125, -0.5265686511993408, 0.4464529752731323, -0.7100247144699097, 0.5860713720321655, 0.1867862492799759, 0.07017231732606888, 0.08638600260019302, 0.3113851845264435, 0.022413630038499832, -0.20180316269397736, -0.2891504466533661, -0.5451470017433167, 1.0198744535446167, 0.33312633633613586, 0.9784435629844666, 0.27308541536331177, 0.5146847367286682, 0.10318999737501144, -0.05345750227570534, -0.3267260491847992, 0.6458680629730225, -0.45827603340148926, -0.5540990829467773, -0.45725229382514954, -0.28555652499198914, -0.7313203811645508, 0.4649961292743683, -0.42367106676101685, -0.8407750725746155, 0.2016298621892929, 0.32029715180397034, -0.4408116042613983, -0.03956184908747673, -0.6427996158599854, 1.1300716400146484, -0.7118352055549622, -0.48243939876556396, 0.053701989352703094, -1.0372568368911743, 0.40895649790763855, -0.1164931133389473, 0.2139800786972046, -0.2699871361255646, -0.08989179134368896, 0.32041025161743164, -0.17229542136192322, 0.8809096813201904, -0.05150319263339043, -0.09589386731386185, -0.04416778311133385, -0.2202342450618744, 0.1843370646238327, -0.2852430045604706, 0.0564325787127018, 0.38962656259536743, 0.04381859302520752, -0.23788057267665863, -0.2119363695383072, 0.7969478368759155, -0.8258243799209595, -0.42502495646476746, -0.697239875793457, -0.5021427273750305, -0.2803645133972168, 0.46021050214767456, 0.28433701395988464, 0.39984309673309326, 0.02838485687971115, 0.08146928250789642, 1.1360496282577515, -0.2469491809606552, 0.1367902308702469, 0.6202487349510193, -0.5177604556083679, -0.47734150290489197, 1.2301127910614014, 0.040657125413417816, 0.3940701186656952, 0.20420922338962555, -0.25523820519447327, -0.5874775052070618, -0.46310150623321533, -0.7442910075187683, 0.08967267721891403, -0.7232378721237183, -0.11247356235980988, -0.6963208913803101, -0.6007593870162964, -0.4645523130893707, -0.22656527161598206, -0.4073677062988281, -0.1367626190185547, 0.026304615661501884, -0.15207912027835846, 0.24369098246097565, 0.5850884318351746, 0.13177037239074707, -0.1559886932373047, -0.9301187992095947, 0.37009572982788086, -0.057890214025974274, 0.3717433214187622, -0.6800825595855713, -0.12504377961158752, -0.07110137492418289, -0.07556771486997604, 0.03666611388325691, -0.6822293400764465, 0.39140698313713074, -0.15310220420360565, 0.7380207777023315, 0.41445475816726685, 0.029481206089258194, 0.640026867389679, -0.5041046738624573, 0.7528801560401917, 0.5389015078544617, -0.6322168707847595, 0.48666810989379883, -0.3177470862865448, -0.2906413972377777, 0.47772571444511414, 0.26090729236602783, -0.3903878629207611, -0.20914295315742493, -0.3756483197212219, -0.8875827193260193, 0.4541172683238983, 0.21170887351036072, -0.20085212588310242, 0.3093368113040924, -0.04832979664206505, 0.3190496265888214, 0.22255852818489075, -0.6908582448959351, -0.20526514947414398, -0.31369784474372864, -0.5916886329650879, -0.13500714302062988, -0.27627357840538025, -0.4689541161060333, -0.0023184665478765965, 0.6871044039726257, -0.23663094639778137, -0.05213763564825058, -0.1435794234275818, 0.10826414823532104, -0.1287652552127838, 0.23147059977054596, 0.6680330634117126, 0.4829936921596527, 0.04313880577683449, 0.28449055552482605, 0.19570447504520416, -0.44503384828567505, 0.28913256525993347, 0.03122815489768982, -0.2189152091741562, -0.264660120010376, 0.07605057954788208, 0.7240433096885681, 0.0050841099582612514, -0.8555620908737183, 0.8258207440376282, -0.10184349864721298, 0.07324344664812088, -0.21626794338226318, 0.4798261821269989, -0.21762347221374512, 0.2244037389755249, -0.15024735033512115, 0.2731667757034302, 0.2995094358921051, 0.015608091838657856, 0.42502132058143616, 0.5218839645385742, -0.44364291429519653, 0.1338558793067932, 0.38361984491348267, 0.07416661083698273, 0.054988693445920944, 0.39218708872795105, 0.3276548981666565, -0.23415915668010712, 0.5046862363815308, 0.2731088697910309, 0.7012706398963928, -0.17377980053424835, 0.2230653613805771, 0.19646072387695312, 0.38825997710227966, -0.022791948169469833, 0.38321205973625183, 0.38055041432380676, -0.8838649988174438, -0.24335616827011108, -0.8074948787689209, -0.26126667857170105, -0.023735228925943375, -0.6179285645484924, 0.41210317611694336, -0.2634113132953644, -0.24173308908939362, -0.11049908399581909, -0.5226938724517822, -0.43603888154029846, 0.35005250573158264, 0.3328445553779602, 0.8271122574806213, -1.0721874237060547, 0.952218770980835, 0.7294636964797974, -0.3378654420375824, -0.5815144181251526, -0.11693599820137024, 0.4041229486465454, -0.9579656720161438, 0.4478338062763214, 0.23617400228977203, -0.4364074766635895, -0.15441133081912994, -0.613712728023529, -1.048944354057312, 0.9498172402381897, 0.48350369930267334, -0.8857530355453491, -0.11764556169509888, 0.48119619488716125, 0.48808354139328003, -0.3794060945510864, -0.4666145145893097, 0.33532726764678955, 0.4473814368247986, 0.25866571068763733, -0.9720596671104431, -0.047334909439086914, -0.38493290543556213, 0.26425445079803467, 0.29245227575302124, -0.6050268411636353, 0.3568614423274994, -0.3937358558177948, 0.020246155560016632, 0.1354198008775711, 0.3777959942817688, 0.6667852401733398, 0.33640068769454956, 0.5906485319137573, 0.642986536026001, 0.3949781060218811, -0.16689154505729675, 0.6077322959899902, -0.21398545801639557, 0.31859055161476135, 1.0634015798568726, -0.5341500639915466, 0.6529421806335449, 0.6252591609954834, 0.08316527307033539, -0.09794936329126358, 0.519587516784668, -0.04643406346440315, 0.7728918194770813, -0.20198971033096313, -0.2804693877696991, -0.6648889183998108, -0.22841759026050568, -0.5816184282302856, 0.2379152625799179, 0.37564894556999207, -0.26660048961639404, -0.09917252510786057, 0.08745555579662323, -0.29719850420951843, -0.32412490248680115, -0.09968642145395279, 0.7782895565032959, -0.09604188799858093, -0.4620022773742676, 0.2568075954914093, -0.5146421194076538, 0.44256484508514404, -0.5728949904441833, -0.12027611583471298, 0.11912327259778976, 0.28790557384490967, -0.25893348455429077, -1.5060083866119385, 0.29534393548965454, 0.05097295343875885, -0.02656896784901619, 0.10152962058782578, 0.7558774948120117, -0.4274774193763733, -0.37923967838287354, 0.3492531478404999, 0.2310546636581421, 0.07060528546571732, 0.5388008952140808, -0.843968391418457, 0.3340549170970917, 0.028502309694886208, -0.16273581981658936, 0.5311562418937683, 0.2896476984024048, -0.2552511692047119, 0.7668641805648804, 0.6032707691192627, 0.021603869274258614, 0.39331692457199097, -0.026951896026730537, 0.9623222351074219, -0.40505075454711914, -0.41508546471595764, -0.7217658162117004, 1.0141998529434204, -0.25353047251701355, -0.43231818079948425, 0.6006729006767273, 0.6666128635406494, 0.7877460718154907, -0.05308680236339569, 0.9094754457473755, 0.015362651087343693, 0.23659628629684448, -0.7108321189880371, 0.5968871116638184, -0.6150686740875244, 0.04314667731523514, -0.475816935300827, -0.7624008655548096, -0.48186400532722473, 0.5044310688972473, -0.12085364758968353, -0.09075123071670532, 0.23055776953697205, 1.0992825031280518, -0.08949393033981323, -0.13292254507541656, 0.5440912842750549, -0.049770332872867584, 0.14465489983558655, 0.5732386112213135, 0.7815665602684021, -0.026015758514404297, 0.4751390814781189, -0.220359668135643, -0.4981895387172699, -0.377801775932312, -0.9083835482597351, -0.5968379974365234, -0.7713092565536499, -0.3047122657299042, -0.5880675315856934, 0.4754822254180908, 0.864861249923706, 0.6162692904472351, -0.7129607796669006, 0.0018944463226944208, 0.07060670107603073, -0.1120070070028305, -0.14887049794197083, -0.1577931046485901, 0.2240561544895172, -0.054722558706998825, -0.47056570649147034, 0.2602502107620239, 0.6561068296432495, 0.3342551589012146, -0.12956774234771729, -0.37586528062820435, 0.16262373328208923, -0.1702074557542801, 0.525091290473938, 0.30344414710998535, -0.8871596455574036, -0.5397781729698181, 0.06264360249042511, -0.5581526160240173, -0.041145265102386475, 0.33640533685684204, -0.1293414831161499, 0.49497106671333313, 0.4176277220249176, 0.5242772698402405, 0.031444109976291656, -0.24281296133995056, 0.48835489153862, -0.35973379015922546, 0.008728825487196445, -0.06945157051086426, 0.7955458760261536, 0.28939947485923767, -0.5401425957679749, 0.5483362078666687, 0.17364901304244995, -0.489194393157959, -0.7187886834144592, 0.35864317417144775, -1.4554767608642578, -0.1082863062620163, 1.3339571952819824, -0.014525765553116798, -0.2880791425704956, -0.17774640023708344, -0.7412773966789246, 0.16727519035339355, -0.29907146096229553, 0.4854329228401184, 0.41336342692375183, -0.10024022310972214, -0.3357251286506653, -0.08822129666805267, 0.3891518712043762, 0.20291832089424133, -0.7042087912559509, 0.3578794300556183, 0.9235506057739258, 0.6816205978393555, 0.11521264165639877, 0.45939335227012634, -0.46429070830345154, 0.4574039876461029, -0.2939743399620056, 0.29635322093963623, -0.06134720891714096, -0.763428807258606, -0.5112366676330566, 0.26538389921188354, 0.07443682849407196, -0.34153831005096436 ]
http://arxiv.org/abs/2406.12023v1
http://arxiv.org/pdf/2406.12023v1
LiLiuM: eBay's Large Language Models for e-commerce
2024-06-17T18:45:41
2024-06-17T18:45:41
Christian Herold, Michael Kozielski, Leonid Ekimov, Pavel Petrushkov, Pierre-Yves Vandenbussche, Shahram Khadivi
cs.CL
cs.CL, cs.LG
We introduce the LiLiuM series of large language models (LLMs): 1B, 7B, and 13B parameter models developed 100% in-house to fit eBay's specific needs in the e-commerce domain. This gives eBay full control over all aspects of the models including license, data, vocabulary, and architecture. We expect these models to be used as a foundation for fine-tuning and instruction-tuning, eliminating dependencies to external models. The LiLiuM LLMs have been trained on 3 trillion tokens of multilingual text from general and e-commerce domain. They perform similar to the popular LLaMA-2 models on English natural language understanding (NLU) benchmarks. At the same time, we outperform LLaMA-2 on non-English NLU tasks, machine translation and on e-commerce specific downstream tasks. As part of our data mixture, we utilize the newly released RedPajama-V2 dataset for training and share our insights regarding data filtering and deduplication. We also discuss in detail how to serialize structured data for use in autoregressive language modeling. We provide insights on the effects of including code and parallel machine translation data in pre-training. Furthermore, we develop our own tokenizer and model vocabulary, customized towards e-commerce. This way, we can achieve up to 34% speed-up in text generation on eBay-specific downstream tasks compared to LLaMA-2. Finally, in relation to LLM pretraining, we show that checkpoint averaging can further improve over the best individual model checkpoint.
[ -0.2046585977077484, -0.7289929389953613, 0.2584225535392761, 0.16439515352249146, -0.4157934784889221, 0.04877544566988945, -0.18973951041698456, -0.9999362230300903, 0.32707107067108154, 0.4043014645576477, -0.6823720932006836, -0.3455865979194641, -0.3148139715194702, 0.2707006633281708, -0.651078462600708, 1.0802611112594604, 0.12717270851135254, 0.013331948779523373, 0.08383111655712128, -0.031056921929121017, -0.08347688615322113, -0.4822264015674591, -0.7471367716789246, 0.004564679693430662, 0.6802090406417847, 0.4122632145881653, 0.561555027961731, 0.8284180164337158, 0.5139553546905518, 0.31025469303131104, 0.18162940442562103, 0.14527766406536102, -0.6896100640296936, 0.2924555838108063, -0.06819886714220047, -0.7392701506614685, -0.7947118282318115, -0.31612926721572876, 0.22910337150096893, 0.4873945116996765, -0.4694455564022064, 0.3676248788833618, -0.1642882376909256, 0.5370657444000244, -0.5279174447059631, 0.01886827126145363, -0.5883342027664185, -0.06965760886669159, -0.12277712672948837, -0.061606790870428085, -0.3898543119430542, -0.23580218851566315, -0.05570419505238533, -0.9121394753456116, 0.15407401323318481, 0.36528685688972473, 1.0559368133544922, 0.11306358128786087, -0.3897642195224762, -0.3928391635417938, -0.8843259811401367, 1.1429376602172852, -0.612875759601593, 0.5324140191078186, 0.35780179500579834, 0.09081382304430008, -0.13383933901786804, -1.070244550704956, -0.44759413599967957, -0.1140458732843399, -0.10005248337984085, 0.35465767979621887, -0.260792076587677, 0.04338096082210541, 0.20069767534732819, 0.48298001289367676, -0.6871521472930908, 0.27010512351989746, -0.40819740295410156, 0.12015525996685028, 0.5909091830253601, 0.3998025953769684, 0.42597395181655884, 0.1251867413520813, -0.29483404755592346, 0.06051855906844139, -0.8684297800064087, -0.2014438807964325, 0.43205752968788147, 0.34361156821250916, -0.09542106837034225, 0.16414424777030945, -0.577541708946228, 0.8248483538627625, -0.11921406537294388, -0.5931172370910645, 0.02837374247610569, -0.41352370381355286, -0.4022228717803955, -0.15787969529628754, 0.5210615396499634, 0.2502893805503845, -0.09353375434875488, -0.07597561180591583, -0.37035277485847473, -0.11609861254692078, 0.03483966737985611, -0.8830091953277588, -0.2475210726261139, 0.4154268801212311, -0.6774383187294006, -0.053282465785741806, -0.007426416035741568, -0.5706552267074585, -0.04549068212509155, -0.5911961793899536, 0.45344364643096924, 0.20087428390979767, -0.2505551278591156, 0.28023508191108704, 0.02759704180061817, 0.17845873534679413, 0.3605359196662903, -1.0676100254058838, 0.5990700125694275, 0.7452697157859802, 0.6904821991920471, 0.045383960008621216, -0.31473004817962646, -0.45231178402900696, 0.49005407094955444, -0.19483502209186554, 0.6277062296867371, -0.2264566719532013, -0.08557476848363876, 0.17262758314609528, 0.14793264865875244, 0.2940675616264343, -0.6533167958259583, 0.5037500262260437, -0.8205314874649048, -0.01815176010131836, -0.13797275722026825, -0.5901405215263367, -0.24431990087032318, 0.47600576281547546, -0.7487647533416748, 0.5850314497947693, 0.01760712079703808, -0.39642709493637085, 0.3339150547981262, -0.21685265004634857, -0.5051507949829102, 0.21607175469398499, -0.013418253511190414, -0.42781785130500793, 0.07847230136394501, 0.1655173897743225, 0.3880263566970825, -0.5922454595565796, -0.20885547995567322, -0.3377966284751892, -0.4648842513561249, 0.05160977691411972, -0.2181178480386734, 0.8375204801559448, 0.2992803156375885, -0.2918533384799957, -0.12474194169044495, -0.6266156435012817, -0.21342749893665314, 0.25637537240982056, -0.24280905723571777, -0.31473296880722046, -0.05044889822602272, 0.38277751207351685, 0.07776934653520584, 0.5290005803108215, -0.3743060827255249, 0.23107214272022247, -0.4037777781486511, 0.4136367738246918, 0.6617106795310974, -0.29015815258026123, 0.13673236966133118, -0.3972754180431366, 0.8679521083831787, -0.061148326843976974, 0.48647499084472656, -0.3909456133842468, -0.6080019474029541, -1.1319702863693237, -0.30984702706336975, 0.29556626081466675, 0.6050370931625366, -0.36379915475845337, 0.1597961038351059, -0.2656930983066559, -0.44951093196868896, -0.4493739604949951, 0.4033287465572357, 0.09065555036067963, 0.032312676310539246, 0.19251784682273865, -0.3264928460121155, -0.37070679664611816, -1.1276406049728394, -0.15130743384361267, -0.3637816309928894, 0.08123672008514404, 0.2202763706445694, 0.21356602013111115, -0.47847485542297363, 0.6005478501319885, -0.4625915288925171, -0.393916517496109, -0.5072146058082581, 0.1782110184431076, 0.4909559190273285, 0.1596505045890808, 0.383284330368042, -0.6435956358909607, -0.565176248550415, 0.1981387883424759, -0.4175667464733124, -0.15842875838279724, -0.24342328310012817, -0.19909021258354187, 0.36109593510627747, 0.45911821722984314, -0.7336022257804871, 0.26882052421569824, 0.5422233939170837, 0.06718054413795471, 0.24275566637516022, -0.4025253355503082, 0.22785671055316925, -1.2298150062561035, -0.2915340065956116, 0.1321772038936615, -0.34221023321151733, -0.6023604273796082, 0.3304719626903534, 0.24055112898349762, 0.1642056107521057, -0.5299522280693054, 0.255939245223999, -0.5356777310371399, -0.33348771929740906, -0.2688131630420685, 0.41494569182395935, 0.30037233233451843, 0.18545494973659515, -0.12305045872926712, 0.672370970249176, 0.17474141716957092, -0.9537935256958008, 0.6557377576828003, 0.1910388320684433, -0.579791784286499, 0.34677571058273315, -0.7615531086921692, -0.03683539852499962, -0.004770440515130758, 0.07824820280075073, -0.7573627829551697, -0.08521164208650589, 0.13330580294132233, -0.23873384296894073, 0.4320905804634094, -0.19018039107322693, -0.831778347492218, -0.36275383830070496, -0.1539393812417984, 0.24149808287620544, 0.5671017169952393, -0.7025155425071716, 0.4814974367618561, 0.3958892822265625, -0.30952903628349304, -0.5331326723098755, -0.8318698406219482, 0.13306647539138794, -0.42426082491874695, -0.48876452445983887, 0.516659140586853, -0.3534375727176666, -0.2729963958263397, -0.22522014379501343, 0.48063182830810547, -0.012209373526275158, 0.4999578893184662, -0.22671949863433838, 0.26965710520744324, -0.1861354559659958, 0.3018445372581482, 0.08087344467639923, -0.20895956456661224, 0.06651651114225388, -0.2829284369945526, 0.4399905800819397, 0.2937173545360565, -0.3235061466693878, -0.6661246418952942, 0.1016051322221756, 0.3391631245613098, -0.018334774300456047, 0.8495237231254578, 0.4188017249107361, -0.3769271671772003, -0.4657452702522278, -0.35512784123420715, -0.339870423078537, -0.49891623854637146, 0.6017277836799622, -0.42413848638534546, -0.8095911741256714, 0.4154834747314453, 0.17141814529895782, 0.3065776526927948, 0.30255579948425293, 0.8487430810928345, -0.0875840038061142, 1.1305713653564453, 0.9595344066619873, -0.4876480996608734, 0.4033145010471344, -0.022119194269180298, 0.6225174069404602, -0.4468984305858612, -0.061701513826847076, -0.5330211520195007, -0.36292484402656555, -0.6994076371192932, -0.235664501786232, -0.029283545911312103, 0.31891998648643494, -0.3436260223388672, 0.3359053432941437, -0.06883852928876877, 0.5617392659187317, 0.5429181456565857, -0.09395130723714828, 0.5910694599151611, 0.39090681076049805, 0.48931074142456055, -0.008706006221473217, -0.5977411270141602, -0.49463987350463867, 1.2640029191970825, 0.31397441029548645, 0.9277489185333252, 0.5036969780921936, 0.480175256729126, 0.24681535363197327, 0.4257480204105377, -0.9592093229293823, 0.39617928862571716, -0.25880298018455505, -0.6488430500030518, 0.08705511689186096, -0.32225626707077026, -0.8893994092941284, 0.12037349492311478, 0.2123582363128662, -0.5373238921165466, -0.1480235904455185, -0.02487826719880104, -0.5936079025268555, 0.32396912574768066, -0.4139138460159302, 0.6370492577552795, -0.518155038356781, -0.46879586577415466, -0.4491131901741028, -0.15344256162643433, 0.38482773303985596, -0.2057771235704422, 0.2843165397644043, -0.006146972067654133, -0.49411582946777344, 0.6477338075637817, -0.3111860454082489, 0.6927042007446289, 0.3161391317844391, -0.34491926431655884, 0.06702874600887299, 0.08938352018594742, 0.5893951654434204, 0.014482975006103516, 0.194099560379982, 0.1539856493473053, -0.09488929808139801, -0.42330071330070496, -0.4262153208255768, 0.8347977995872498, -0.9553553462028503, -0.6605653762817383, -0.29195502400398254, -0.3129737675189972, -0.10056408494710922, -0.044539935886859894, 0.1268967092037201, 0.25335493683815, -0.14772151410579681, 0.18737353384494781, 0.6461236476898193, -0.36190012097358704, 0.44110107421875, 0.8199567198753357, -0.5114355087280273, -0.2979789972305298, 1.0286332368850708, 0.03393470495939255, 0.30708184838294983, 0.5977029800415039, 0.060540515929460526, -0.22655388712882996, -0.5694779753684998, -0.7015758156776428, 0.4600263833999634, -0.7877827882766724, -0.2494344860315323, -0.7090137600898743, 0.02398028038442135, -0.37696361541748047, 0.14026081562042236, -0.21822874248027802, -0.5241239070892334, -0.5848168134689331, -0.24004359543323517, 0.4412074387073517, 1.1308073997497559, 0.008091015741229057, 0.5559883713722229, -1.1330571174621582, 0.288309246301651, 0.5173704624176025, 0.128670334815979, 0.015000248327851295, -0.8465062975883484, -0.7996418476104736, -0.020168187096714973, -0.23329216241836548, -0.578740656375885, 0.5762560367584229, 0.19050036370754242, 0.485668420791626, 0.8054666519165039, -0.22507956624031067, 0.7619582414627075, -0.3688311278820038, 0.9097514748573303, 0.11762513220310211, -0.828666627407074, 0.42725813388824463, -0.5376438498497009, -0.0837554857134819, 0.2641615867614746, 0.6318644285202026, -0.6183438897132874, -0.2838227450847626, -0.3750668466091156, -0.9717555642127991, 0.7755785584449768, 0.011947901919484138, 0.30728593468666077, -0.12668371200561523, 0.2905224859714508, 0.16130425035953522, 0.42927077412605286, -0.8285254836082458, -0.4582101106643677, 0.3343636393547058, -0.42470937967300415, -0.18897274136543274, -0.4664321839809418, 0.0075326887890696526, -0.21372896432876587, 0.9189282059669495, 0.05507521703839302, 0.03132924810051918, -0.26964297890663147, -0.38640081882476807, -0.257705420255661, 0.03385468199849129, 0.6221185326576233, 0.89127516746521, -0.044703878462314606, -0.4477161467075348, -0.05054398998618126, -0.5202438235282898, 0.06022867187857628, 0.038627274334430695, -0.28250738978385925, -0.09012138843536377, 0.1753700226545334, 0.4131644666194916, -0.031740572303533554, -0.8799522519111633, 0.35437095165252686, -0.23541861772537231, 0.05492054298520088, -0.5781639814376831, -0.08677993714809418, 0.1621006578207016, 0.32481566071510315, 0.19751933217048645, -0.6216976046562195, 0.4290566146373749, -0.5714074373245239, 0.128723606467247, 0.1955556422472, 0.05948841944336891, -0.3683754503726959, 0.6416782736778259, 0.19340232014656067, -0.0386902391910553, 0.7455385327339172, -0.2970923185348511, -0.502444863319397, 0.7828766107559204, 0.6665551066398621, 0.8088294267654419, -0.2663155794143677, 0.1776159107685089, 0.4761742055416107, 0.6852474212646484, -0.2049175500869751, 0.34573376178741455, 0.11240324378013611, -0.7730329036712646, -0.33908286690711975, -0.8125081062316895, -0.6141022443771362, 0.24163083732128143, -0.6954187154769897, 0.3397006094455719, -0.5274510979652405, -0.12567292153835297, -0.4642448127269745, 0.1868199110031128, -0.630886435508728, 0.29886969923973083, 0.28364962339401245, 0.591810405254364, -0.752155601978302, 0.8757408857345581, 0.5667504072189331, -0.47886380553245544, -0.6165582537651062, -0.2203248292207718, -0.06644049286842346, -0.5065442323684692, 0.9059367775917053, 0.18103662133216858, -0.059038855135440826, 0.03782297298312187, -0.18127714097499847, -1.0571074485778809, 1.2116864919662476, 0.1293042004108429, -1.1449791193008423, 0.37845632433891296, 0.26284098625183105, 0.30424901843070984, -0.40597400069236755, 0.4867713749408722, 0.8373276591300964, 0.13222163915634155, -0.36946895718574524, -0.6216415166854858, -0.3295491635799408, -0.1391218602657318, -0.0008731083362363279, 0.3536236882209778, -0.9194739460945129, 1.1440250873565674, 0.039653655141592026, -0.1439894139766693, 0.5078360438346863, 0.6390650272369385, 0.3358587920665741, 0.12061341106891632, 0.36327922344207764, 0.9942713379859924, 0.9576642513275146, -0.02259116619825363, 1.1104629039764404, -0.5800723433494568, 0.28442102670669556, 1.1543340682983398, -0.41034042835235596, 1.1295206546783447, 0.20599958300590515, -0.43273991346359253, 0.7240849733352661, 0.822353720664978, 0.15368534624576569, 0.3090292811393738, 0.17001499235630035, -0.36249834299087524, -0.17785707116127014, -0.20368406176567078, -0.272310346364975, 0.10149504989385605, 0.5014061331748962, -0.3627883791923523, 0.20301662385463715, -0.10311997681856155, -0.07963891327381134, -0.25737547874450684, -0.4728793799877167, 0.6027325987815857, 0.18984371423721313, -0.09283406287431717, 0.24179504811763763, 0.3337387144565582, 0.6586048603057861, -0.6115352511405945, 0.1962345838546753, -0.5856126546859741, 0.3638119399547577, -0.10439179837703705, -0.0603681318461895, -0.10799668729305267, -0.06766993552446365, -0.165774866938591, -0.18009230494499207, 0.5403009057044983, -0.45125240087509155, -0.7247754335403442, 0.511698305606842, 0.5023742914199829, 0.14401209354400635, 0.17181232571601868, -0.8714385628700256, 0.24188223481178284, -0.04338355362415314, -0.498432457447052, 0.4343656003475189, 0.38134118914604187, 0.26441702246665955, 0.6658148765563965, 0.5381156802177429, 0.26103585958480835, 0.15824557840824127, 0.409239798784256, 0.5408779382705688, -0.862252950668335, -0.6649774312973022, -0.6266279220581055, 0.35647472739219666, -0.13396748900413513, -0.18682096898555756, 0.9416616559028625, 0.6100521683692932, 1.1965644359588623, -0.021990597248077393, 0.7087661027908325, 0.431321918964386, 0.5089591145515442, -0.4684973359107971, 0.703551173210144, -1.0154883861541748, 0.34514689445495605, 0.04202042892575264, -1.1807544231414795, -0.14452306926250458, 0.6178262829780579, 0.10235586017370224, 0.1755824089050293, 0.6524685621261597, 0.9118403196334839, -0.04507507011294365, 0.11930970847606659, 0.6007114052772522, 0.44571158289909363, 0.25958535075187683, 0.6497894525527954, 0.9707596302032471, -0.7867398858070374, 0.5596400499343872, -0.3536875545978546, -0.08093427866697311, -0.4222044050693512, -0.6215165853500366, -0.7194997668266296, -0.18335150182247162, -0.6103940606117249, -0.04234747961163521, -0.1733805388212204, 1.042040228843689, 0.5313779711723328, -0.7157479524612427, -0.7824439406394958, 0.0561428964138031, -0.13183096051216125, -0.09842390567064285, -0.11358077824115753, 0.08516470342874527, -0.44858431816101074, -1.094722032546997, 0.39752236008644104, 0.5616223216056824, 0.26242658495903015, -0.49133041501045227, -0.0962512344121933, 0.025727495551109314, 0.1625429093837738, 0.7739371061325073, 0.01782277226448059, -0.7068129777908325, 0.2524465024471283, -0.04251858964562416, -0.09705164283514023, -0.140201598405838, 0.7647726535797119, -0.5993812084197998, 0.23305721580982208, 0.4682903289794922, 0.6284887790679932, 0.3677990138530731, -0.2393471747636795, 0.5321462154388428, -0.09507215023040771, 0.44880953431129456, 0.01864037662744522, 0.5465096831321716, 0.26535481214523315, -0.1366661638021469, 0.2567639648914337, 0.1506625860929489, -0.5602332353591919, -0.6230728626251221, 0.36695805191993713, -0.5872626304626465, -0.42815670371055603, 0.9600032567977905, -0.19049549102783203, -0.48131415247917175, -0.27908843755722046, 0.20881468057632446, 0.07720538228750229, -0.10811708867549896, 0.7618103623390198, 0.56230628490448, 0.35535886883735657, -0.32691100239753723, -0.7847410440444946, 0.29714420437812805, 0.4869644045829773, -0.9120877981185913, -0.1364806592464447, 0.6173529028892517, 0.12135689705610275, -0.18772301077842712, 0.6089563369750977, 0.25152039527893066, 0.24831196665763855, -0.21699394285678864, -0.010733905248343945, 0.29895180463790894, -0.6293081045150757, -0.3318498730659485, 0.06049610301852226, 0.42758214473724365, 0.04888441786170006 ]
http://arxiv.org/abs/2406.12018v1
http://arxiv.org/pdf/2406.12018v1
CItruS: Chunked Instruction-aware State Eviction for Long Sequence Modeling
2024-06-17T18:34:58
2024-06-17T18:34:58
Yu Bai, Xiyuan Zou, Heyan Huang, Sanxing Chen, Marc-Antoine Rondeau, Yang Gao, Jackie Chi Kit Cheung
cs.CL
cs.CL
Long sequence modeling has gained broad interest as large language models (LLMs) continue to advance. Recent research has identified that a large portion of hidden states within the key-value caches of Transformer models can be discarded (also termed evicted) without affecting the perplexity performance in generating long sequences. However, we show that these methods, despite preserving perplexity performance, often drop information that is important for solving downstream tasks, a problem which we call information neglect. To address this issue, we introduce Chunked Instruction-aware State Eviction (CItruS), a novel modeling technique that integrates the attention preferences useful for a downstream task into the eviction process of hidden states. In addition, we design a method for chunked sequence processing to further improve efficiency. Our training-free method exhibits superior performance on long sequence comprehension and retrieval tasks over several strong baselines under the same memory budget, while preserving language modeling perplexity.
[ -0.04480581730604172, -0.5999765992164612, 0.610679566860199, 0.28476959466934204, -0.22400282323360443, 0.10990079492330551, -0.2545135021209717, -0.2821234166622162, 0.28679174184799194, 0.5551151633262634, -0.4018620252609253, -0.1664346605539322, -0.5642663240432739, -0.09044913947582245, -0.8300830125808716, 0.7968657612800598, -0.0044054677709937096, -0.5555854439735413, -0.0945681482553482, 0.36538439989089966, -0.43191662430763245, -0.23633569478988647, -0.4514254927635193, -0.06564656645059586, 0.44957807660102844, 0.5857785940170288, 0.5706604719161987, 0.9000077247619629, 0.24609781801700592, 0.237521231174469, -0.484961599111557, -0.17820779979228973, -0.7597545385360718, 0.2390594482421875, -0.273214191198349, -0.5666605234146118, -0.2932899296283722, -0.22956880927085876, 0.7152070999145508, 0.2973668873310089, -0.1796794831752777, 0.11023083329200745, -0.03526930883526802, 0.809928834438324, -1.015868067741394, 0.06618822365999222, -0.7418011426925659, 0.2860885262489319, -0.2563391625881195, -0.17749850451946259, -0.5469004511833191, -0.28906363248825073, 0.10128345340490341, -0.3763911724090576, 0.5818327069282532, -0.050816453993320465, 0.8435030579566956, 0.3879353702068329, -0.19794870913028717, -0.028435708954930305, -0.8378481268882751, 0.675825297832489, -0.30317652225494385, 0.17278732359409332, 0.24422812461853027, 0.22028471529483795, -0.13604001700878143, -0.5204769372940063, -0.4306837022304535, -0.12598933279514313, 0.18039846420288086, 0.16275204718112946, -0.3123602569103241, 0.2568647861480713, 0.32682400941848755, 0.5779126882553101, -0.25869396328926086, 0.056715235114097595, -0.455812931060791, -0.09165283292531967, 0.4121493399143219, 0.07547309994697571, 0.09221756458282471, -0.277528315782547, -0.745951771736145, 0.09274612367153168, -1.1460492610931396, 0.1832655966281891, 0.2610207498073578, 0.23554731905460358, 0.2736111879348755, 0.6286841034889221, -0.23182456195354462, 0.2011067122220993, 0.2580929100513458, 0.31807324290275574, 0.05990923196077347, 0.1040574237704277, -0.3106454014778137, 0.4364538788795471, 0.6923058032989502, -0.1108986958861351, -0.03487195074558258, -0.1108105406165123, -0.504437267780304, -0.2925460636615753, 0.47074005007743835, -0.7378133535385132, -0.2678171992301941, 0.5554814338684082, -0.34819814562797546, -0.07152827084064484, -0.03871989995241165, -0.7000439763069153, -0.5689632892608643, -0.06044843792915344, 0.10838542878627777, -0.6161594390869141, -0.5063870549201965, -0.20077162981033325, -0.3555671274662018, 0.3514217734336853, 0.5466292500495911, -0.8514124155044556, 0.3406809866428375, 0.8737560510635376, 0.6085333228111267, -0.38694295287132263, 0.05376482754945755, -0.578075110912323, 0.06259690225124359, -0.35132303833961487, 0.34651702642440796, -0.6282872557640076, -0.2584206163883209, -0.1458720862865448, -0.10006708651781082, -0.25676777958869934, -0.946765124797821, 0.05762586370110512, -0.8112538456916809, -0.44297343492507935, -0.15959897637367249, -0.6536955833435059, -0.27874645590782166, 0.28256872296333313, -0.9840081930160522, 1.2420105934143066, 0.12121345847845078, -0.6455749273300171, 0.011806616559624672, -0.7111554741859436, -0.4034072756767273, 0.133993461728096, -0.011962233111262321, -0.4423496723175049, 0.46488896012306213, 0.07649901509284973, 0.4012739360332489, -0.002424304373562336, 0.4506640136241913, 0.014807208441197872, -0.46831801533699036, 0.0018972193356603384, -0.6443802118301392, 0.4014253616333008, 0.3996337354183197, -0.4879513084888458, 0.3551570177078247, -0.6399943232536316, -0.36894699931144714, 0.24051760137081146, -0.37592098116874695, -0.3929304778575897, 0.29827314615249634, -0.10640625655651093, 0.18590065836906433, 0.4143242835998535, -0.6942766904830933, 0.04474969208240509, -0.23684479296207428, 0.24715125560760498, 0.8219606876373291, -0.1543716937303543, 0.3483315706253052, -0.13810648024082184, 0.8193442225456238, 0.6686107516288757, -0.07623644173145294, -0.41306835412979126, -0.21475417912006378, -1.0041399002075195, -0.48563867807388306, 0.1697794497013092, 0.722681999206543, -0.6690292954444885, 0.2955382168292999, -0.4622494578361511, -0.08974132686853409, -0.3188137710094452, -0.09670715779066086, 0.5194703936576843, 0.14752249419689178, 0.3746238946914673, -0.30908605456352234, -0.18856443464756012, -0.8126299381256104, -0.4063972532749176, 0.34770527482032776, 0.2231580913066864, 0.1269005835056305, 0.4295733571052551, 0.16887855529785156, 1.1239463090896606, -0.4380064010620117, -0.022175023332238197, -0.6300714015960693, 0.017576701939105988, 0.11808738112449646, 0.5523801445960999, 0.111629419028759, -0.7396782636642456, -0.22148996591567993, -0.14318019151687622, -0.19501741230487823, 0.359165757894516, -0.18618418276309967, 0.013029218651354313, 0.12383849173784256, 0.4563489258289337, -0.5910534858703613, 1.0038201808929443, 0.17679771780967712, -0.20107366144657135, 0.7482545971870422, -0.06194501370191574, -0.19075852632522583, -0.9915988445281982, 0.06002010032534599, -0.05798951908946037, -0.6632376909255981, -0.5749743580818176, 0.11576581001281738, 0.4275914132595062, -0.11761019378900528, -0.7458949685096741, 0.3833096921443939, -0.7229299545288086, -0.07544075697660446, -0.2976379096508026, -0.14505723118782043, -0.2777135968208313, 0.3255283534526825, 0.3738979697227478, 0.777409017086029, 0.3011837303638458, -0.7421553730964661, 0.1411142498254776, -0.06336122751235962, -0.23816131055355072, 0.1511799693107605, -0.3057084381580353, 0.10926169157028198, -0.38929399847984314, 0.033565640449523926, -1.007229208946228, -0.13018687069416046, 0.07871615886688232, -0.059577178210020065, 0.6241154074668884, -0.248390793800354, -0.3066897988319397, -0.42430010437965393, -0.28537073731422424, 0.5260174870491028, 0.3965836763381958, -0.5963518619537354, 0.48917287588119507, 0.26371777057647705, -0.3579867482185364, -0.6416826844215393, -0.3207896053791046, -0.09761243313550949, -0.26904910802841187, -0.08097030222415924, 0.335981160402298, 0.33173754811286926, 0.1687830537557602, 0.0895417258143425, -0.38864338397979736, -0.37000590562820435, 0.19250498712062836, 0.2603355050086975, 0.025848712772130966, -0.2899881601333618, 0.4366838335990906, 0.3506201505661011, -0.0007871479028835893, 0.184993714094162, -0.23542504012584686, 0.6315541863441467, 0.026537682861089706, -0.3668861985206604, -0.3856872320175171, 0.4893589913845062, 0.5587469935417175, -0.4790118336677551, 0.728161096572876, 0.4001159071922302, -0.4001811444759369, -0.17109861969947815, -0.5835753679275513, 0.003198052989318967, -0.4544065594673157, 0.6994210481643677, -0.30461421608924866, -1.0130014419555664, 0.30205991864204407, -0.37230631709098816, 0.13286180794239044, 0.37737563252449036, 0.12565210461616516, 0.009561660699546337, 0.6106045842170715, 0.7993972897529602, -0.43149805068969727, 0.7889171838760376, -0.3850201666355133, 0.23659835755825043, -1.1036890745162964, -0.020094197243452072, -0.4386891722679138, -0.44586247205734253, -0.2344687581062317, -0.6609944701194763, 0.30452287197113037, -0.06554543226957321, -0.3826533854007721, 0.20060224831104279, -0.44701406359672546, 0.8502649068832397, 0.5924477577209473, 0.2479919195175171, 0.029664671048521996, -0.11597126722335815, -0.11779304593801498, 0.16673769056797028, -0.6870672106742859, -0.2583065629005432, 0.8621786236763, 0.279356986284256, 0.8149386048316956, -0.13766586780548096, 1.0880475044250488, 0.21680767834186554, 0.10708276182413101, -0.9335536956787109, 0.48289889097213745, -0.105336494743824, -0.4476766586303711, -0.4660429358482361, -0.5226722955703735, -1.0714702606201172, 0.27045583724975586, 0.3587743937969208, -1.1505979299545288, 0.0787559375166893, 0.4733712673187256, -0.6476700901985168, 0.5721356272697449, -0.31280001997947693, 0.9509992003440857, -0.15527990460395813, -0.28787538409233093, -0.5195510387420654, -0.7848964333534241, 0.5751280188560486, 0.20027701556682587, -0.0311298668384552, -0.2674603760242462, 0.17836537957191467, 0.7674890756607056, -0.6083214282989502, 0.808176577091217, -0.2898038327693939, -0.01495183352380991, 0.4372495710849762, 0.3726414740085602, 0.8303189277648926, -0.297625869512558, 0.04132097586989403, -0.2580656409263611, -0.11520606279373169, -0.25592440366744995, -0.2769428491592407, 0.4938165545463562, -0.5533570647239685, -0.7396625876426697, -0.5084127187728882, -0.6487065553665161, 0.07553253322839737, 0.22503839433193207, 0.2434837371110916, 0.21274599432945251, -0.10518978536128998, 0.05666256323456764, 1.216036081314087, -0.316299170255661, 0.7635842561721802, 0.09841181337833405, -0.21177202463150024, -0.10131945461034775, 1.057345986366272, -0.1804073601961136, 0.3398617208003998, 0.7836425304412842, 0.33663851022720337, -0.36436671018600464, -0.39469119906425476, -0.16723470389842987, 0.046277739107608795, -0.4621680676937103, -0.19040369987487793, -0.5779599547386169, -0.46806809306144714, -0.13303658366203308, 0.15976549685001373, -0.9437547922134399, -0.5025445222854614, -0.6016682386398315, -0.18259930610656738, 0.24686995148658752, 0.8628379106521606, 0.25726956129074097, 0.3137785494327545, -0.9515299201011658, 0.5095833539962769, 0.09093451499938965, 0.2742765545845032, 0.22132928669452667, -0.462592214345932, -0.2744657099246979, -0.0013454435393214226, -0.6089701652526855, -1.0097277164459229, 0.45138606429100037, 0.07898598164319992, 0.35468098521232605, 0.6365278959274292, 0.284575492143631, 0.8181319236755371, -0.47529032826423645, 0.7814126014709473, 0.150004044175148, -1.1456451416015625, 0.6410377025604248, -0.10410382598638535, 0.5464609861373901, 0.2728462517261505, 0.3025721311569214, -0.5163750648498535, -0.5234766006469727, -0.47214919328689575, -1.3533821105957031, 0.8060622811317444, -0.05740085989236832, 0.049374617636203766, -0.2119651734828949, -0.01930265501141548, -0.05445040017366409, 0.3820408284664154, -0.5572201013565063, -0.015282493084669113, -0.11085014045238495, -0.26285266876220703, 0.2666042745113373, -0.5350997447967529, 0.1380729079246521, -0.25474780797958374, 0.6030274033546448, 0.08334242552518845, 0.5561017990112305, 0.20320525765419006, -0.5117656588554382, 0.09558218717575073, 0.581721305847168, 0.5416275858879089, 0.28384748101234436, 0.11203716695308685, 0.05704418569803238, -0.16081559658050537, -0.5918715596199036, 0.26749056577682495, -0.05553083494305611, -0.20249424874782562, -0.288862019777298, -0.1839325875043869, 0.7936902642250061, 0.37102010846138, -0.5491640567779541, 0.5946518182754517, 0.10278800874948502, 0.06389135122299194, -0.4162159562110901, 0.10361960530281067, 0.02199467457830906, 0.09429462999105453, 0.37687763571739197, 0.024277862161397934, 0.25129571557044983, -0.18552644550800323, 0.056391775608062744, 0.28429582715034485, -0.6747007369995117, -0.2048230916261673, 0.6819164752960205, 0.12885862588882446, 0.1090376228094101, 1.2040587663650513, -0.35381799936294556, -0.835288405418396, 0.9753738045692444, 0.7038748860359192, 1.100986361503601, -0.2630266547203064, 0.030507327988743782, 0.15390925109386444, 0.31447160243988037, -0.10891959816217422, 0.46953266859054565, -0.3480384945869446, -0.48042163252830505, -0.33265140652656555, -0.5070928931236267, -0.17133013904094696, 0.218913272023201, -0.7424597144126892, -0.177344411611557, -0.41002157330513, -0.009247932583093643, -0.5363755822181702, -0.40673860907554626, -0.627387285232544, 0.09655915200710297, 0.4308701157569885, 1.1371887922286987, -0.7778145670890808, 0.8165479302406311, 0.4617844820022583, 0.061050064861774445, -1.0245786905288696, 0.18987353146076202, 0.17148107290267944, -0.3706786036491394, 0.5429018139839172, 0.5905358791351318, -0.14425703883171082, -0.05547395348548889, -0.39722689986228943, -1.1414490938186646, 0.8137580156326294, 0.2791038155555725, -0.7033442258834839, 0.07655087858438492, 0.11355984956026077, 0.10434530675411224, 0.06584342569112778, 0.29705366492271423, 0.844799280166626, 0.2117372304201126, 0.26404428482055664, -0.8578529953956604, 0.14962267875671387, -0.1922416090965271, 0.2689482271671295, 0.4712833762168884, -0.7487112283706665, 0.8938683271408081, -0.44332340359687805, -0.2902914583683014, 0.23272931575775146, 1.0524379014968872, 0.03428538888692856, 0.050054363906383514, 0.5088140964508057, 0.6780418753623962, 0.9562349319458008, -0.1850309818983078, 0.8055469393730164, -0.24486954510211945, 0.18815597891807556, 1.2642219066619873, -0.419675350189209, 1.0583078861236572, 0.4144284427165985, -0.17935806512832642, 0.3070153295993805, 0.4825851023197174, 0.49560990929603577, 0.5377714037895203, 0.5196322798728943, -0.3921261429786682, -0.19890104234218597, 0.18603253364562988, -0.015284753404557705, 0.46813511848449707, 0.6791159510612488, -0.3920401334762573, -0.21881897747516632, -0.12704268097877502, 0.20255599915981293, -0.188215434551239, -0.6322202086448669, 0.7400116920471191, -0.12140834331512451, -0.9369866847991943, 0.4961458146572113, -0.1671363115310669, 0.46133068203926086, -0.43506547808647156, -0.18454651534557343, -0.30924609303474426, 0.3146885633468628, -0.19962221384048462, -0.6081811189651489, 0.23046313226222992, 0.16086909174919128, -0.42078694701194763, -0.2799655795097351, 0.48274627327919006, -0.6745327115058899, -0.2616567611694336, -0.0015896911500021815, 0.0671348050236702, 0.33265194296836853, -0.5325743556022644, -0.2797311842441559, -0.1475408375263214, -0.19844335317611694, -0.4367632567882538, 0.36662915349006653, 0.29064881801605225, -0.3201321065425873, 0.7404736876487732, 0.22685113549232483, 0.04141701012849808, 0.6769323945045471, -0.05056143179535866, 0.9434508085250854, -1.0045362710952759, -0.720241129398346, -0.7791528701782227, 0.4578210413455963, -0.0023981579579412937, 0.026316804811358452, 0.5359495282173157, 0.9274938702583313, 0.6448103785514832, -0.24234545230865479, 0.9576787352561951, -0.07909936457872391, 0.5148355960845947, -0.4630845785140991, 0.6696834564208984, -0.3645286560058594, 0.2782670259475708, -0.19992171227931976, -0.6812793612480164, 0.10454142093658447, 0.16865506768226624, -0.30629873275756836, 0.07026340067386627, 0.688571572303772, 0.5879366993904114, -0.2151210904121399, 0.132001131772995, 0.2302035689353943, 0.07396099716424942, 0.4270855188369751, 0.8658332228660583, 1.119886040687561, -0.062118738889694214, 0.20399177074432373, -0.38645800948143005, -0.07874234765768051, -0.4555721879005432, -0.9266542792320251, -0.5206305384635925, -0.20559625327587128, -0.309953898191452, -0.02296544425189495, 0.11647896468639374, 1.0419001579284668, 0.6125379800796509, -0.8710916638374329, -0.26973962783813477, -0.08357039093971252, 0.4372082054615021, -0.5358793139457703, -0.2786999046802521, 0.48795053362846375, -0.4726688861846924, -0.5304387211799622, 0.6031373143196106, 0.4931802451610565, -0.056652508676052094, -0.01965312287211418, 0.31408795714378357, -0.19249612092971802, 0.002637902507558465, 0.5231009721755981, 0.5772189497947693, -0.7843704223632812, -0.23516397178173065, -0.16809064149856567, -0.0245334655046463, 0.3456307649612427, 0.8445850610733032, -0.8857641220092773, 0.4890991747379303, 0.40284639596939087, 0.6602184772491455, 0.5960062146186829, 0.3704037070274353, 0.41498249769210815, -1.117932915687561, 0.1511693000793457, 0.38128161430358887, 0.33657896518707275, 0.18899376690387726, -0.6249521374702454, 0.050147056579589844, 0.029872987419366837, -0.3370135724544525, -0.4284655451774597, 0.23172280192375183, -0.8171579241752625, -0.10699520260095596, 1.0547665357589722, -0.44172346591949463, -0.6715424060821533, 0.012870507314801216, 0.011462780646979809, 0.27774304151535034, -0.6512465476989746, 0.5569849014282227, 0.3500048816204071, -0.1541137397289276, -0.40712589025497437, -0.2355339229106903, 0.3830816447734833, 0.40873825550079346, -0.6801577210426331, 0.34534332156181335, 0.45601144433021545, 0.3745686113834381, 0.07690008729696274, 0.564186155796051, -0.038042791187763214, 0.6092278957366943, -0.08297233283519745, 0.21875205636024475, -0.18000386655330658, -0.8456624150276184, -0.4530872702598572, 0.22142130136489868, 0.04356320574879646, -0.6271169185638428 ]
http://arxiv.org/abs/2406.12009v1
http://arxiv.org/pdf/2406.12009v1
FinTruthQA: A Benchmark Dataset for Evaluating the Quality of Financial Information Disclosure
2024-06-17T18:25:02
2024-06-17T18:25:02
Ziyue Xu, Peilin Zhou, Xinyu Shi, Jiageng Wu, Yikang Jiang, Bin Ke, Jie Yang
cs.CL
cs.CL
Accurate and transparent financial information disclosure is crucial in the fields of accounting and finance, ensuring market efficiency and investor confidence. Among many information disclosure platforms, the Chinese stock exchanges' investor interactive platform provides a novel and interactive way for listed firms to disclose information of interest to investors through an online question-and-answer (Q&A) format. However, it is common for listed firms to respond to questions with limited or no substantive information, and automatically evaluating the quality of financial information disclosure on large amounts of Q&A pairs is challenging. This paper builds a benchmark FinTruthQA, that can evaluate advanced natural language processing (NLP) techniques for the automatic quality assessment of information disclosure in financial Q&A data. FinTruthQA comprises 6,000 real-world financial Q&A entries and each Q&A was manually annotated based on four conceptual dimensions of accounting. We benchmarked various NLP techniques on FinTruthQA, including statistical machine learning models, pre-trained language model and their fine-tuned versions, as well as the large language model GPT-4. Experiments showed that existing NLP models have strong predictive ability for real question identification and question relevance tasks, but are suboptimal for answer relevance and answer readability tasks. By establishing this benchmark, we provide a robust foundation for the automatic evaluation of information disclosure, significantly enhancing the transparency and quality of financial reporting. FinTruthQA can be used by auditors, regulators, and financial analysts for real-time monitoring and data-driven decision-making, as well as by researchers for advanced studies in accounting and finance, ultimately fostering greater trust and efficiency in the financial markets.
[ -0.2731298804283142, -0.5722949504852295, -0.03748028725385666, 0.43415606021881104, -0.23553216457366943, 0.23816044628620148, -0.09815528988838196, -0.7527550458908081, -0.14243397116661072, 0.387403666973114, -0.5232318043708801, -0.510826826095581, -0.31329792737960815, -0.05591733008623123, -0.43710121512413025, 0.7927999496459961, -0.06792889535427094, 0.18506990373134613, -0.1692727506160736, -0.11838530749082565, -0.4321226477622986, -0.2807675898075104, -0.8664862513542175, 0.09674324840307236, 0.11859043687582016, 0.12123195827007294, 0.7548433542251587, 0.7501000165939331, 0.8562467098236084, 0.3065011203289032, 0.18504291772842407, -0.01369037851691246, -0.12071993201971054, -0.002953318180516362, -0.26369908452033997, -0.14117299020290375, -0.5026202201843262, 0.33013951778411865, 0.5577583909034729, 0.4642397463321686, -0.2858525514602661, 0.8385744690895081, 0.1550913006067276, 0.6570435166358948, -0.666170060634613, 0.40587469935417175, -0.14922630786895752, -0.0019680685363709927, -0.05159507319331169, -0.06372817605733871, -0.0899617150425911, -0.804982602596283, 0.4778483510017395, -0.6917866468429565, 0.07911379635334015, 0.3266421854496002, 0.9540409445762634, 0.19728893041610718, -0.2376433163881302, -0.44550615549087524, -0.4645242691040039, 0.5940644145011902, -0.8053373694419861, 0.4770587384700775, 0.4540715515613556, 0.6889369487762451, 0.3906967043876648, -0.7734965085983276, -0.6413596272468567, 0.023116514086723328, -0.18058757483959198, 0.12242776155471802, -0.4696039855480194, -0.0762195885181427, 0.08997472375631332, 0.3334159255027771, -0.7838419079780579, -0.0924992710351944, -0.3327656090259552, -0.4078817367553711, 0.5893703699111938, -0.05635363608598709, -0.045463405549526215, -0.13895581662654877, -0.5360093116760254, -0.770357072353363, -0.1715361326932907, 0.26234132051467896, 0.5356318354606628, 0.3200870156288147, -0.05735361576080322, 0.2017359435558319, -0.3177978992462158, 0.7335717678070068, 0.06336890161037445, -0.17223255336284637, 0.2696600556373596, -0.659590482711792, -0.2622855007648468, 0.026480745524168015, 0.646165132522583, 0.5300721526145935, -0.1266254484653473, -0.028979500755667686, -0.25682759284973145, -0.3617454469203949, 0.19601009786128998, -0.647702157497406, -0.045707881450653076, 0.4279813766479492, -0.5007226467132568, 0.06954605877399445, 0.5305233001708984, -0.7411603331565857, -0.08326753228902817, -0.2692869305610657, 0.636504590511322, -0.2591894268989563, -0.19454099237918854, 0.2152630090713501, -0.3666079044342041, 0.4020684063434601, 0.36617353558540344, -0.5003713369369507, 0.5578920245170593, 0.8707873821258545, 0.45671847462654114, -0.14582301676273346, 0.07330306619405746, -0.856715202331543, -0.012320022098720074, -0.3202691078186035, 0.8034043908119202, -0.2679077684879303, 0.37415769696235657, -0.026063287630677223, -0.32663917541503906, -0.19915936887264252, -0.7224445343017578, 0.5225340127944946, -0.6740095615386963, 0.3184211254119873, -0.2622460126876831, -0.6201947927474976, -0.5198621153831482, 0.20809394121170044, -0.688432514667511, 0.7397262454032898, 0.3345051109790802, -0.8132936954498291, 0.4921644628047943, -0.6237109303474426, 0.04731098562479019, 0.154289111495018, -0.12718762457370758, -0.2639017701148987, -0.6930030584335327, 0.3548625111579895, 0.3686046302318573, -0.5673261284828186, 0.5599910020828247, 0.12391285598278046, -0.43404996395111084, 0.4344423711299896, -0.5064426064491272, 0.5607800483703613, 0.08822815865278244, -0.4633328318595886, 0.011725937947630882, -0.5937125086784363, 0.2979540526866913, -0.1289002150297165, 0.10923780500888824, -0.18296876549720764, -0.6517077684402466, 0.22147627174854279, 0.17186753451824188, 0.4783879220485687, -0.5492967963218689, -0.3629418611526489, -0.45427820086479187, 0.36316028237342834, 0.5663567185401917, 0.1376141458749771, 0.028278479352593422, -0.5692785382270813, 0.6118471622467041, -0.09462162852287292, 0.48228222131729126, -0.028583668172359467, -0.22800885140895844, -0.3962056338787079, -0.05007745325565338, 0.8740383982658386, 0.678293764591217, -0.4354974329471588, 0.4261225759983063, 0.04300502687692642, -0.5997582674026489, -0.8355668187141418, 0.24714826047420502, 0.5694629549980164, 0.7042620778083801, 0.3748866617679596, -0.27257606387138367, -0.19359077513217926, -1.2337465286254883, -0.5381418466567993, -0.4046189785003662, -0.3515062630176544, 0.25081685185432434, 0.21610942482948303, 0.2659773528575897, 0.6876181960105896, -0.2723700702190399, -0.30943113565444946, -0.05079280957579613, 0.5497474074363708, 0.3672051429748535, 0.4514925181865692, 0.5362539291381836, -1.0964524745941162, -0.18039873242378235, -0.32396581768989563, -0.44510984420776367, 0.1484837532043457, -0.42851993441581726, -0.20556262135505676, -0.14782926440238953, 0.11931969225406647, -0.1793816238641739, 0.3975248336791992, 0.5343686938285828, -0.5318156480789185, 0.38723519444465637, -0.12117104232311249, 0.44169116020202637, -0.6085593700408936, 0.5208629965782166, 0.17474333941936493, -0.3001439571380615, -0.34648826718330383, 0.0828116238117218, 0.2785835266113281, 0.16618873178958893, -0.3112364709377289, 0.7033514380455017, -0.07039546966552734, -0.4828210473060608, 0.05688345804810524, 0.5131930708885193, 0.2506091892719269, 0.49081143736839294, -0.22615358233451843, 0.9235340356826782, 0.17842009663581848, -0.6692996025085449, 0.4288097620010376, 0.6389533281326294, -0.4512871503829956, 0.45910409092903137, -0.49453890323638916, -0.13165435194969177, 0.08059149980545044, 0.2070380598306656, -1.1454131603240967, -0.06711578369140625, 0.30498212575912476, -0.5987496972084045, -0.052896030247211456, 0.32942795753479004, -0.6202353835105896, -0.24236267805099487, -0.45420992374420166, 0.3723783493041992, 0.018972016870975494, -0.4754735827445984, 0.4851743280887604, 0.2302122712135315, -0.6461861729621887, -0.725204348564148, -0.8010788559913635, 0.13918869197368622, 0.15530580282211304, -0.6818577647209167, 0.41244474053382874, -0.16022127866744995, -0.3909280002117157, 0.07079338282346725, -0.3620051443576813, -0.22816897928714752, 0.023897791281342506, -0.005478070583194494, 0.5835719108581543, -0.47098293900489807, 0.13876715302467346, -0.022801071405410767, -0.40237322449684143, 0.08728951215744019, -0.014327301643788815, 0.3351823091506958, -0.4836154282093048, -0.2666058838367462, -0.942671000957489, -0.020034097135066986, 0.009807340800762177, -0.30233681201934814, 0.5000872611999512, 0.5417891144752502, -0.30268022418022156, 0.0910835787653923, -0.780104398727417, 0.009195364080369473, -0.49606063961982727, -0.035660672932863235, 0.11889469623565674, -0.9249374270439148, 0.5620900988578796, 0.1785963773727417, 0.45295754075050354, 0.8418181538581848, 0.15139223635196686, 0.13578441739082336, 0.5378376841545105, 0.6390818357467651, -0.03806402534246445, 0.1307917684316635, -0.08356408774852753, 0.23550280928611755, -0.27975788712501526, -0.2868148386478424, -0.6914823055267334, -0.20949415862560272, -0.3955358564853668, -0.43333345651626587, 0.2461140751838684, 0.12254130840301514, -0.4766697883605957, 0.5423135757446289, -0.5261691808700562, 0.2640416920185089, 0.5846742391586304, -0.167717844247818, 0.5354785323143005, -0.44231390953063965, -0.12905140221118927, -0.028252866119146347, -0.4701642692089081, -0.5267769694328308, 0.8564584851264954, 0.5435224175453186, 0.39496177434921265, 0.014977394603192806, 0.3295518159866333, 0.724197268486023, 0.2890084385871887, -0.3673744797706604, 0.29527100920677185, -0.06959233433008194, -0.27143993973731995, -0.5218733549118042, -0.6691285371780396, -0.30379539728164673, -0.0318942591547966, -0.1699972301721573, -0.36097079515457153, 0.4555819630622864, 0.02845531702041626, -0.8810981512069702, 0.07138372212648392, -0.4223889112472534, 0.8704424500465393, -0.12164921313524246, -0.06572344154119492, 0.021377863362431526, -0.671222448348999, 0.4555429220199585, -0.36823320388793945, 0.332908570766449, -0.20114484429359436, -0.33410730957984924, 1.1247061491012573, -0.22384515404701233, 0.510976254940033, -0.21393784880638123, -0.22204908728599548, 0.28102296590805054, -0.08696601539850235, 0.30277493596076965, 0.41664546728134155, -0.25518301129341125, 0.12017418444156647, 0.45048022270202637, -0.1270093023777008, -0.6654443740844727, 0.24567987024784088, -0.5337533950805664, -0.1668039709329605, -0.42812782526016235, -0.23291993141174316, -0.4042236804962158, 0.08844383805990219, 0.010504021309316158, 0.3100287914276123, -0.2201736867427826, 0.09249208867549896, 0.39222007989883423, -0.2937432527542114, 0.3755853772163391, 0.5917862057685852, -0.07183822244405746, -0.6110982894897461, 0.576549768447876, 0.03445790708065033, 0.000018030486899078824, 0.45797353982925415, 0.06551302969455719, -0.6693335771560669, -0.3425965905189514, -0.37649810314178467, 0.2457815706729889, -0.6647036075592041, -0.669784426689148, -0.41555386781692505, -0.6382017731666565, -0.5096064209938049, 0.06645652651786804, -0.4274304211139679, -0.6485884785652161, 0.0011055606883019209, -0.34950971603393555, 0.39976564049720764, 0.5381739139556885, -0.29278644919395447, 0.08363071084022522, -0.8447802066802979, 0.6803247332572937, 0.48771175742149353, 0.5849187970161438, 0.11282174289226532, -0.47104084491729736, -0.2053252011537552, 0.14407967031002045, 0.13296769559383392, -0.23473158478736877, 0.17157326638698578, 0.2041592299938202, 0.6027925610542297, 0.583747148513794, 0.527728259563446, 0.6128236651420593, 0.34760478138923645, 0.6270381212234497, -0.00875853281468153, -1.012220859527588, 0.3405652940273285, -0.1159132868051529, 0.16133779287338257, 1.000413179397583, 0.35469967126846313, -0.7104923725128174, -0.7163699865341187, -0.7382898926734924, -0.9521677494049072, 0.5816023945808411, 0.26536041498184204, -0.12737810611724854, 0.258271187543869, 0.4975633919239044, 0.4505803883075714, 0.5661138296127319, -0.3776986598968506, -0.2507476806640625, -0.35174721479415894, 0.00794597901403904, 0.08968430757522583, -0.18397292494773865, -0.01319324504584074, -0.09913767874240875, 0.6347405910491943, 0.02614285610616207, 0.14106734097003937, 0.2896277606487274, 0.2563896179199219, -0.1341518759727478, 0.11156903207302094, 0.1770607978105545, 1.0928831100463867, -0.4422800838947296, -0.18468499183654785, -0.11202265322208405, -0.45890089869499207, -0.12614823877811432, 0.3735441565513611, -0.07719315588474274, 0.11670703440904617, 0.4140899181365967, 0.2857397496700287, 0.2789623439311981, -1.0854345560073853, 0.810106098651886, -0.40473270416259766, -0.5235449075698853, -0.4431115388870239, 0.16249167919158936, -0.0707230269908905, 0.523364782333374, 0.9061644077301025, 0.033631712198257446, 0.29805678129196167, -0.4510338306427002, 0.698866605758667, -0.027239473536610603, -0.40512144565582275, 0.07069894671440125, 0.8054736256599426, -0.06328852474689484, 0.10379733145236969, 0.6477679014205933, 0.05320950597524643, -0.28483203053474426, 0.5261553525924683, -0.05411726236343384, 0.8322314023971558, -0.22311966121196747, 0.5143082737922668, 0.5927152633666992, 0.24859169125556946, -0.169770285487175, 0.3438264727592468, -0.21758411824703217, -0.49601203203201294, -0.3799203038215637, -0.6540443301200867, -0.8330543041229248, 0.10176797956228256, -1.1541759967803955, -0.1432604342699051, -0.7461395859718323, -0.37888839840888977, 0.33511054515838623, 0.2944506108760834, -0.7017596364021301, 0.38496851921081543, -0.10318804532289505, 1.260545253753662, -0.45690110325813293, 0.22601209580898285, 0.05521475896239281, -0.22059912979602814, -0.49755480885505676, 0.018006471917033195, -0.05385453999042511, -0.6829221248626709, 0.5819839239120483, 0.19747501611709595, -0.12492558360099792, -0.2828633189201355, -0.6136721968650818, -0.8677543997764587, 1.0630872249603271, 0.23971691727638245, -0.5417243242263794, 0.10666702687740326, 0.37950563430786133, 0.41486847400665283, -0.3161555230617523, 0.00013869984832126647, 0.604293704032898, 0.9169381260871887, 0.25803861021995544, -1.0273290872573853, 0.09373579919338226, -0.4374849498271942, -0.25047534704208374, -0.15815116465091705, -0.7375410199165344, 0.772832453250885, 0.008377824909985065, -0.31849783658981323, 0.0535847432911396, 0.7208541035652161, 0.09322958439588547, 0.4181534945964813, 0.5002629160881042, 0.01888537034392357, 0.8570022583007812, -0.04435582831501961, 0.586949348449707, -0.4463455080986023, -0.054771166294813156, 1.1223608255386353, -0.16410650312900543, 1.3171508312225342, 0.1273999661207199, 0.016573693603277206, 0.16845309734344482, 0.5959641933441162, -0.40976351499557495, 0.2476247102022171, 0.21405135095119476, 0.11317266523838043, -0.2202468365430832, -0.24531841278076172, -0.17573104798793793, 0.4358285069465637, 0.2002275586128235, -0.13425233960151672, -0.19810041785240173, -0.06812255829572678, -0.271412193775177, 0.24055881798267365, -0.10534340143203735, 0.7470588684082031, -0.028332544490695, -0.4422186613082886, 0.2529006898403168, 0.38084372878074646, 0.5527686476707458, -0.7614136338233948, -0.06864865124225616, -0.2790965437889099, -0.19715844094753265, -0.049707479774951935, -0.8361601233482361, 0.3643099069595337, 0.21127445995807648, 0.16686753928661346, -0.3804106116294861, 0.38300782442092896, -0.2313147783279419, -0.26457762718200684, 0.28121116757392883, 0.4540384113788605, -0.11026474088430405, -0.21161875128746033, -0.8416231274604797, -0.38791701197624207, -0.15416422486305237, -0.24252960085868835, 0.20633666217327118, 0.26925429701805115, 0.14707858860492706, 0.9272515773773193, 0.7275046110153198, -0.09609660506248474, -0.40067318081855774, 0.0010770438238978386, 0.802436113357544, -1.0026323795318604, -0.7413380742073059, -0.2783568203449249, 0.09577124565839767, -0.21074970066547394, -0.47098857164382935, 0.7334214448928833, 0.8727644681930542, 0.8918052911758423, 0.39992275834083557, 0.582755446434021, 0.3140522837638855, 0.9431168437004089, -0.5609654188156128, 0.9014519453048706, -0.21893827617168427, 0.3557743430137634, -0.24889066815376282, -0.7361968159675598, -0.16133782267570496, 0.5023048520088196, -0.11433392018079758, -0.07584124803543091, 0.38933518528938293, 0.38015490770339966, 0.13628017902374268, 0.4812765419483185, 0.14861555397510529, 0.13958008587360382, -0.13224230706691742, 0.1651284545660019, 0.32781192660331726, -0.7489995360374451, 0.6324847340583801, -0.5272133946418762, -0.028457967564463615, -0.2300182580947876, -0.7489466071128845, -0.457409530878067, -0.719839870929718, -0.6120748519897461, -0.07366777211427689, 0.007783574517816305, 0.7471544742584229, 0.259764164686203, -0.8730903267860413, -0.29924893379211426, 0.6656234860420227, -0.026782400906085968, -0.6222477555274963, -0.2737576365470886, 0.7329804301261902, -0.05117090791463852, -0.2520897388458252, 0.12746119499206543, 0.5456576347351074, 0.21886643767356873, -0.30234816670417786, 0.2119365781545639, 0.012473187409341335, 0.023608027026057243, 0.1896727830171585, 0.2619113624095917, -0.1841881424188614, -0.014521493576467037, 0.016541479155421257, -0.14646057784557343, 0.0778593048453331, 0.5506324768066406, -0.4636889100074768, 0.16760161519050598, 0.33378085494041443, 0.7256650328636169, 0.3103870451450348, 0.5006513595581055, 0.7747206091880798, -0.36257046461105347, -0.07503442466259003, 0.5448520183563232, -0.19158725440502167, 0.0694456696510315, -0.38174742460250854, 0.387688010931015, -0.3608017563819885, -0.19107981026172638, -0.5219189524650574, -0.6206812858581543, -0.9886739253997803, -0.25391125679016113, 0.6032776832580566, -0.18103057146072388, -0.4990600049495697, -0.3281099200248718, 0.1598302721977234, 0.07592128962278366, -0.6516327857971191, 0.5944700241088867, 0.5844640135765076, 0.003618645016103983, -0.08664810657501221, -1.0126043558120728, 0.7797208428382874, -0.09570858627557755, -0.6520513296127319, 0.5125559568405151, 0.190165713429451, 0.08599080890417099, 0.07191603630781174, 0.6063106060028076, -0.2041955590248108, 0.628128170967102, 0.026586372405290604, -0.1310192346572876, -0.2102196216583252, -0.17129994928836823, -0.06077861413359642, 0.2281266748905182, -0.19398212432861328, -0.06149005517363548 ]
http://arxiv.org/abs/2406.11978v1
http://arxiv.org/pdf/2406.11978v1
Dialogue Action Tokens: Steering Language Models in Goal-Directed Dialogue with a Multi-Turn Planner
2024-06-17T18:01:32
2024-06-17T18:01:32
Kenneth Li, Yiming Wang, Fernanda Viégas, Martin Wattenberg
cs.CL
cs.CL, cs.AI, cs.LG
We present an approach called Dialogue Action Tokens (DAT) that adapts language model agents to plan goal-directed dialogues. The core idea is to treat each utterance as an action, thereby converting dialogues into games where existing approaches such as reinforcement learning can be applied. Specifically, we freeze a pretrained language model and train a small planner model that predicts a continuous action vector, used for controlled generation in each round. This design avoids the problem of language degradation under reward optimization. When evaluated on the Sotopia platform for social simulations, the DAT-steered LLaMA model surpasses GPT-4's performance. We also apply DAT to steer an attacker language model in a novel multi-turn red-teaming setting, revealing a potential new attack surface.
[ -0.11330877989530563, -0.9664008617401123, 0.5734098553657532, 0.30358171463012695, -0.2796798646450043, 0.37329381704330444, -0.11705127358436584, -0.008784533478319645, 0.5400230884552002, 0.7552268505096436, -0.8937657475471497, -0.5870256423950195, -0.5148811340332031, -0.050845760852098465, -0.30914315581321716, 1.025991439819336, -0.020785247907042503, 0.32189926505088806, 0.2240179032087326, -0.13941287994384766, -0.9183179140090942, -0.6555225849151611, -1.120787262916565, -0.2827475368976593, 0.5252951383590698, 0.4414960741996765, 0.5985112190246582, 0.2742628753185272, 0.4369845986366272, 0.35218051075935364, 0.16399772465229034, -0.07310575991868973, -0.6176559329032898, 0.3602374792098999, -0.10147742182016373, -0.6094523072242737, -0.6353083848953247, -0.02673746831715107, 0.45260921120643616, 0.5417309999465942, -0.3914965093135834, -0.31377094984054565, -0.4090186059474945, 0.1950998455286026, -0.1100846529006958, 0.34033966064453125, -0.7018265128135681, -0.08340433984994888, 0.05018509551882744, -0.14535625278949738, -0.469437837600708, -0.18281443417072296, 0.041913144290447235, -0.6281247138977051, -0.11978325992822647, 0.08835425972938538, 0.3783119022846222, 0.16969721019268036, -0.11006743460893631, -0.35176706314086914, -0.8366192579269409, 0.7002548575401306, -0.6116735339164734, 0.058057624846696854, 0.21727114915847778, 0.4118764400482178, -0.4939194619655609, -0.6510577201843262, -0.6618938446044922, -0.1299438625574112, 0.2576516568660736, 0.2546935975551605, -0.26391178369522095, 0.4914272725582123, 0.17036525905132294, -0.20406419038772583, -0.22102712094783783, 0.21898731589317322, -0.3302203416824341, -0.055172182619571686, 0.7336479425430298, 0.4591197669506073, 0.15204650163650513, -0.17129704356193542, -0.5764189958572388, -0.19298262894153595, -0.7386940717697144, -0.08331374078989029, 0.42072007060050964, 0.650863528251648, -0.2492343634366989, 0.806776762008667, -0.2004169374704361, 0.4836985766887665, 0.1376493275165558, -0.1865575611591339, -0.1571943461894989, -0.6253647208213806, -0.2890688180923462, 0.18573366105556488, 0.7976698279380798, 0.4711569547653198, 0.14811620116233826, -0.015421176329255104, -0.25991639494895935, 0.20115865767002106, 0.4598199129104614, -0.6213673949241638, -0.2613946199417114, 0.4121246337890625, -0.3043711483478546, -0.42006635665893555, -0.24574831128120422, -0.854942262172699, -0.3435726463794708, -0.2870228588581085, 0.3809536099433899, -0.5605982542037964, -0.43199753761291504, 0.23019161820411682, -0.3066692054271698, 0.587809681892395, 0.38930317759513855, -0.9199116826057434, 0.5890814065933228, 0.8818970322608948, 0.8709350228309631, -0.33110281825065613, -0.3321840763092041, -0.8259428143501282, 0.3673644959926605, -0.5313579440116882, 0.7312157154083252, -0.8297563195228577, -0.9135004878044128, 0.22043859958648682, -0.3436655104160309, -0.17664708197116852, -0.1673433929681778, 0.4614354074001312, -0.22398251295089722, 0.14163093268871307, -0.12658222019672394, -0.32935991883277893, -0.12790881097316742, 0.3799085021018982, -0.4958883225917816, 0.7966291308403015, -0.0781984031200409, -0.4036254584789276, 0.41621890664100647, -1.2150219678878784, -0.48300617933273315, 0.09149235486984253, -0.3091273605823517, -0.2634718716144562, 0.050852496176958084, 0.08778049796819687, 0.3300408720970154, -0.2040184587240219, 0.35753801465034485, -0.07973983883857727, -0.2049543559551239, 0.14674748480319977, -0.3765403628349304, 0.6053783297538757, -0.0005390081787481904, -0.22810088098049164, 0.9364587664604187, -0.36185726523399353, -0.13094040751457214, 0.2431700974702835, -0.18632042407989502, -0.08505041152238846, 0.20098809897899628, -0.3196709454059601, 0.246537446975708, -0.12575121223926544, -0.4576660394668579, 0.43775758147239685, -0.21541309356689453, 0.25311478972435, 0.8039641976356506, 0.11535181105136871, 0.5694630146026611, -0.14825989305973053, 0.7858988642692566, -0.07345662266016006, 0.3872792720794678, -0.11936067789793015, -0.7871944904327393, -0.9415627121925354, -0.29277944564819336, 0.04747534543275833, 0.41446810960769653, -1.0213135480880737, 0.14556239545345306, -0.3100602626800537, -0.4645777642726898, -0.48547491431236267, -0.29180777072906494, 0.43611666560173035, 0.005206702277064323, 0.27905938029289246, -0.4901593327522278, -0.37435951828956604, -0.545762300491333, -0.15110115706920624, -0.6793098449707031, 0.22491048276424408, 0.27597782015800476, 0.3145763576030731, -0.1170647069811821, 0.9657630920410156, -0.40910273790359497, -0.18882398307323456, -0.9732779860496521, 0.45555779337882996, -0.08999809622764587, 0.3666664958000183, 0.5392406582832336, -0.7520305514335632, -0.4463328421115875, -0.15602438151836395, -0.43533772230148315, 0.0101318946108222, -0.3140242099761963, -0.20069044828414917, 0.18763232231140137, 0.6456102728843689, -0.8762014508247375, 0.6083429455757141, 0.5178150534629822, -0.3163885176181793, 0.6024543046951294, 0.0638657882809639, -0.014550444670021534, -1.053290843963623, -0.2055216282606125, -0.31214413046836853, -0.19964154064655304, -1.1723908185958862, -0.20904920995235443, -0.38683077692985535, -0.3526136577129364, -0.5256781578063965, 0.7166190147399902, -0.03282498940825462, -0.3896023631095886, -0.2643621265888214, 0.13419215381145477, -0.367931604385376, 0.9157364964485168, 0.3442975878715515, 0.7746265530586243, 0.45320436358451843, -0.8203016519546509, 0.4450635313987732, 0.5275419354438782, -0.08703193813562393, 0.7839990854263306, -0.597297728061676, 0.21310564875602722, 0.057026684284210205, 0.3545379340648651, -0.9343774914741516, -0.1469583511352539, 0.4351983666419983, -0.498903751373291, 0.2757914066314697, -0.3100661039352417, -0.03060985915362835, -0.2876228392124176, -0.24400494992733002, 0.05262244865298271, 0.2618764042854309, -0.23033557832241058, 0.81139075756073, 0.5371133685112, -0.4451526403427124, -0.3785949945449829, -0.2497800886631012, 0.2240489423274994, -0.43459075689315796, -0.18788044154644012, 0.4350273311138153, -0.06820738315582275, -0.43891263008117676, -0.303625226020813, 0.1278657466173172, 0.02740342728793621, 0.13391655683517456, 0.23445698618888855, 0.1858399361371994, 0.07730025798082352, 0.03076501376926899, -0.11296873539686203, -0.2988490164279938, 0.1014060229063034, -0.34890758991241455, 1.051463007926941, 0.33446308970451355, -0.5388595461845398, -0.4319080412387848, 0.5818496346473694, 0.5707566142082214, -0.20877398550510406, 0.5870305299758911, 0.29304805397987366, 0.01430093590170145, 0.13588887453079224, -0.16489490866661072, -0.2945464253425598, -0.4787422716617584, 0.5618350505828857, -0.5478694438934326, -0.514146089553833, 0.42676860094070435, -0.3463844060897827, 0.4349052608013153, 0.16353586316108704, 0.6557285785675049, -0.03825346753001213, 1.1081181764602661, 0.7755427956581116, -0.11767175048589706, 0.9243332743644714, -0.19163087010383606, 0.404857873916626, -0.6980051398277283, -0.21932250261306763, -0.46282947063446045, -0.2806137502193451, -0.4535978138446808, -0.5718759894371033, 0.15915171802043915, 0.017341576516628265, -0.3185611367225647, 0.4029737114906311, -0.00936700589954853, 0.1686372607946396, 0.5976255536079407, -0.3280794024467468, 0.05584317445755005, -0.3052983582019806, -0.29064199328422546, 0.19431205093860626, -0.9711896777153015, -0.4677038788795471, 1.0313968658447266, 0.3038733899593353, 0.7062636017799377, 0.15336909890174866, 0.85198974609375, 0.12209493666887283, 0.2522798478603363, -0.9381120800971985, 0.8166911602020264, 0.39585691690444946, -0.4528038203716278, -0.726463258266449, -0.21705104410648346, -0.9293926954269409, 0.07083326578140259, -0.09058848023414612, -0.7835201025009155, -0.055545683950185776, -0.16150784492492676, -0.38375452160835266, 0.29077860713005066, -0.744130551815033, 0.9418455362319946, -0.4649735689163208, -0.07247329503297806, -0.5490212440490723, -0.43345388770103455, 0.05545768141746521, 0.2230694442987442, 0.08423219621181488, -0.22135600447654724, 0.15630635619163513, 0.8209184408187866, -0.488048791885376, 1.0712252855300903, -0.6012476086616516, -0.08578968793153763, 0.3642493784427643, 0.3030518889427185, 0.7606997489929199, -0.09887867420911789, 0.029560310766100883, -0.0036378311924636364, -0.375623881816864, -0.3523275852203369, -0.5032119154930115, 0.2801843285560608, -0.6016509532928467, -0.8369035720825195, -0.23711901903152466, -0.3804742097854614, -0.2044341117143631, 0.1715531349182129, -0.1812724769115448, 0.435016006231308, -0.773163378238678, -0.21386218070983887, 0.21002279222011566, -0.2394704669713974, 0.70592200756073, 0.5472806692123413, -0.30210167169570923, -0.37180715799331665, 0.8453254699707031, -0.38234829902648926, 0.7339444160461426, 0.3048439621925354, -0.03374679759144783, -0.3536955416202545, -0.7727781534194946, -0.41328752040863037, 0.15469679236412048, -0.5273163914680481, -0.25941184163093567, -0.48881277441978455, -0.05641856789588928, -0.20308063924312592, -0.1934921145439148, -0.4844622015953064, -0.4699943959712982, 0.05178707465529442, -0.3390227258205414, 0.5910293459892273, 1.0794408321380615, -0.09984678030014038, 0.8469352722167969, -0.29150962829589844, 0.15406976640224457, 0.2680971920490265, 0.29376155138015747, -0.36343666911125183, -0.1930895298719406, -0.051139507442712784, 0.12846384942531586, -0.36619848012924194, -0.9062268137931824, 0.5978977680206299, -0.02301929146051407, 0.5436714887619019, 0.25479257106781006, 0.04732799157500267, 0.6554370522499084, -0.6590393781661987, 0.972898006439209, 0.46412283182144165, -0.8484064340591431, 0.5622026920318604, -0.5308569669723511, 0.19157564640045166, 0.3030668795108795, 0.18009932339191437, -0.8087020516395569, -0.4706348776817322, -0.712384819984436, -0.4985882043838501, 0.9945244193077087, 0.15771274268627167, 0.2437673807144165, -0.20975278317928314, 0.08572540432214737, -0.05387190356850624, 0.3148346543312073, -0.4606929421424866, -0.19518227875232697, -0.32489433884620667, -0.13342589139938354, -0.04449334740638733, -0.20692984759807587, -0.3420746326446533, 0.20303340256214142, 0.46498048305511475, -0.4123212695121765, 0.7266042828559875, -0.1198607087135315, 0.1533728390932083, 0.05461125075817108, 0.14177784323692322, 0.7699111700057983, 0.37873461842536926, 0.11329159140586853, -0.3066551089286804, 0.2708490192890167, -0.5165980458259583, 0.1202927827835083, -0.16358016431331635, -0.06304582208395004, -0.07126468420028687, 0.22283987700939178, 1.065095067024231, 0.5305584073066711, -0.2819858491420746, 0.42174115777015686, -0.26194989681243896, -0.26976561546325684, -0.1877308487892151, 0.1576021909713745, -0.09333262592554092, 0.3157804608345032, 0.06408484280109406, -0.06688540428876877, -0.2672603130340576, -0.7165679931640625, -0.00591996219009161, 0.5349193215370178, -0.7595322728157043, -0.46173295378685, 0.46198609471321106, 0.7087267637252808, -0.7694025635719299, 0.4614594876766205, -0.20179492235183716, -0.8665298819541931, 0.41731709241867065, 0.6487256288528442, 1.0528219938278198, -0.32487985491752625, 0.5503082275390625, 0.12423121929168701, 0.05955183133482933, 0.09470908343791962, 0.3891223967075348, -0.031117791309952736, -0.841498613357544, -0.5703657269477844, -0.3613636791706085, -0.7543656229972839, -0.03756106272339821, -0.45376917719841003, 0.4119657576084137, -0.4733259081840515, -0.15976083278656006, -0.10474938899278641, -0.025533759966492653, -0.5845558643341064, -0.08807364106178284, -0.06360325217247009, 0.7593390941619873, -0.5880576372146606, 0.9830681681632996, 0.3590816259384155, -0.5668540000915527, -0.6080768704414368, -0.0008133783121593297, 0.029701219871640205, -0.758087694644928, 0.6984365582466125, -0.12006952613592148, -0.28020432591438293, 0.07818199694156647, -0.5204803943634033, -0.7920626997947693, 0.9693443775177002, 0.13449183106422424, -0.3897762894630432, -0.10423880070447922, 0.1643613576889038, 0.24979355931282043, -0.46494126319885254, 0.14715568721294403, 0.8098746538162231, 0.3879869878292084, 0.290213942527771, -1.0397695302963257, -0.3450363874435425, 0.1637810617685318, -0.22674588859081268, 0.22546926140785217, -0.6717195510864258, 0.6588493585586548, -0.20618602633476257, -0.3360700309276581, 0.20896197855472565, 0.7080851197242737, 0.2250414490699768, -0.06948018819093704, 0.4313786029815674, 0.18272623419761658, 0.762437641620636, -0.288528710603714, 1.2432504892349243, -0.05232229456305504, -0.11090876907110214, 0.896183967590332, -0.568797767162323, 0.8724417686462402, 0.3728058338165283, -0.10565267503261566, 0.438833087682724, 0.2072805017232895, 0.5435280203819275, 0.6530787348747253, 0.15928973257541656, -0.22192053496837616, -0.23113271594047546, -0.14597295224666595, 0.1930048167705536, 0.8025116324424744, 0.641659677028656, 0.29192861914634705, 0.02142401784658432, -0.06397389620542526, 0.20569461584091187, -0.03803855553269386, -0.2845999598503113, 1.1770344972610474, -0.08384226262569427, -0.8075895309448242, 0.18039299547672272, 0.07864481955766678, 0.4582689702510834, -0.8262215256690979, -0.11791954189538956, -0.28959211707115173, 0.16435863077640533, 0.3375851809978485, -0.6973558068275452, 0.19577836990356445, 0.05314245447516441, 0.17835848033428192, -0.33662569522857666, 0.4819139838218689, -0.4411922097206116, -0.24666817486286163, 0.3650444447994232, 0.5286977291107178, 0.11918023973703384, 0.21768201887607574, -0.8934159874916077, 0.3090417981147766, 0.08469000458717346, 0.018579652532935143, 0.21788571774959564, 0.48343926668167114, -0.29307594895362854, 0.7875854969024658, 0.5632444620132446, 0.1633230298757553, 0.03916264325380325, 0.2813025116920471, 0.8849663138389587, -0.7388041019439697, -0.49453088641166687, -0.6599043607711792, 0.41409051418304443, -0.41636911034584045, -0.2678232789039612, 0.5317057371139526, 0.3232668340206146, 0.632361888885498, 0.1392923891544342, 0.8300220966339111, 0.01064140535891056, 0.38193464279174805, -0.6574740409851074, 0.3071470856666565, -0.0011960917618125677, 0.04441234841942787, -0.4091232120990753, -0.754382312297821, -0.21498830616474152, 0.6788038015365601, -0.4026505947113037, 0.04683057218790054, 0.5669092535972595, 0.6071175336837769, 0.275069922208786, -0.0026005746331065893, 0.45093661546707153, 0.09968037903308868, 0.9102174639701843, 0.37681105732917786, 0.9379973411560059, -0.15345217287540436, 0.5772829055786133, 0.2474144697189331, -0.06977153569459915, -0.3242785334587097, -0.7653457522392273, -1.121315836906433, -0.602539598941803, -0.1480320245027542, -0.03654354438185692, 0.25524982810020447, 1.000885009765625, 0.7488337755203247, -0.691571831703186, -0.4414803981781006, -0.2977373003959656, 0.24100905656814575, -0.19352491199970245, -0.13555264472961426, 0.18588140606880188, -0.5533334612846375, -0.8980048894882202, 0.7146950960159302, 0.4538303017616272, 0.18054115772247314, -0.43407779932022095, -0.3690521717071533, -0.2836476266384125, 0.3172520399093628, 0.5286814570426941, 0.4269457161426544, -0.8040730953216553, -0.4336196482181549, 0.05710574984550476, 0.10427840054035187, -0.01362975686788559, 1.1184014081954956, -0.6814008355140686, 0.4759126305580139, 0.08665771037340164, 0.3703553080558777, 0.5628119707107544, 0.0027277162298560143, 1.3669013977050781, -0.6962841153144836, 0.5067033767700195, 0.33411499857902527, 0.21626007556915283, 0.29596367478370667, 0.1106962189078331, 0.5231335163116455, -0.08627726882696152, -0.19144517183303833, -0.6813166737556458, 0.4588414430618286, -0.6923739910125732, -0.03659584000706673, 1.2489118576049805, -0.023696420714259148, -0.20017856359481812, -0.2926708459854126, -0.6862814426422119, 0.18410298228263855, -0.5551658272743225, 0.446328729391098, 0.6216657757759094, -0.09391376376152039, -0.05774003267288208, -0.524820864200592, 1.0347745418548584, 0.3250715732574463, -0.7962614297866821, 0.4252663850784302, 0.3926210105419159, -0.3248095214366913, 0.15374372899532318, 0.9349664449691772, 0.01224245224148035, 0.17569772899150848, 0.18800456821918488, -0.016544131562113762, 0.26980915665626526, -0.6934441924095154, -0.1311098337173462, -0.3198428750038147, 0.2183527797460556, -0.2843814492225647 ]
http://arxiv.org/abs/2406.11977v1
http://arxiv.org/pdf/2406.11977v1
Reframing linguistic bootstrapping as joint inference using visually-grounded grammar induction models
2024-06-17T18:01:06
2024-06-17T18:01:06
Eva Portelance, Siva Reddy, Timothy J. O'Donnell
cs.CL
cs.CL, I.2.7; I.2.10; I.2.6; F.4.2
Semantic and syntactic bootstrapping posit that children use their prior knowledge of one linguistic domain, say syntactic relations, to help later acquire another, such as the meanings of new words. Empirical results supporting both theories may tempt us to believe that these are different learning strategies, where one may precede the other. Here, we argue that they are instead both contingent on a more general learning strategy for language acquisition: joint learning. Using a series of neural visually-grounded grammar induction models, we demonstrate that both syntactic and semantic bootstrapping effects are strongest when syntax and semantics are learnt simultaneously. Joint learning results in better grammar induction, realistic lexical category learning, and better interpretations of novel sentence and verb meanings. Joint learning makes language acquisition easier for learners by mutually constraining the hypotheses spaces for both syntax and semantics. Studying the dynamics of joint inference over many input sources and modalities represents an important new direction for language modeling and learning research in both cognitive sciences and AI, as it may help us explain how language can be acquired in more constrained learning settings.
[ -0.02641707845032215, -0.8233872056007385, 0.6866919994354248, 0.07418552786111832, -0.2308456152677536, 0.211964413523674, -0.3873152434825897, -0.5776270031929016, 0.03126216307282448, 0.11766219139099121, -0.538190484046936, -0.21330511569976807, -0.6712164878845215, -0.08893216401338577, -0.35023289918899536, 0.6211378574371338, -0.0808120146393776, 0.30302152037620544, -0.6397857666015625, -0.07143288850784302, -0.6159753799438477, -0.2798660695552826, -0.35140788555145264, -0.35158517956733704, 0.6374155879020691, 0.4282631576061249, 0.7664024829864502, 0.6656136512756348, 0.24062424898147583, 0.4024719297885895, 0.24557124078273773, -0.26050829887390137, -0.08874566107988358, 0.4525013267993927, -0.37752118706703186, -0.860771656036377, 0.23560047149658203, 0.16308526694774628, 0.6053963899612427, 1.3527518510818481, -0.03853132575750351, 0.14175935089588165, -0.04822501540184021, 0.6348642706871033, -1.032195806503296, 0.48366615176200867, -0.6248456835746765, -0.0742645114660263, 0.021853994578123093, -0.19522824883460999, -0.5060437917709351, -0.04554865136742592, 0.29986199736595154, -0.9339818358421326, 0.17447055876255035, -0.026578448712825775, 1.0316420793533325, 0.2351841777563095, -0.3379756510257721, -0.03243006765842438, -0.626828670501709, 0.7137143611907959, -0.07096849381923676, 0.821262001991272, 0.5745648741722107, 0.31810879707336426, -0.14309534430503845, -1.0497244596481323, -0.5345320701599121, -0.1993892937898636, -0.3902727961540222, 0.049815163016319275, 0.14660783112049103, 0.004388348199427128, 0.2327250987291336, 0.0951566994190216, -0.27515602111816406, -0.0038782786577939987, -0.4078400731086731, -0.08224891871213913, 0.2803666591644287, -0.20843562483787537, 0.7381105422973633, -0.08861229568719864, -0.5897364020347595, -0.2888602912425995, -0.8073540329933167, 0.1305157095193863, 0.08289315551519394, 0.5700916647911072, -0.222796231508255, 0.3110416531562805, -0.36107251048088074, 0.8324939012527466, 0.04664525389671326, -0.3915684223175049, 0.3815007209777832, -0.43459808826446533, -0.2948013246059418, -0.1112111508846283, 0.5339991450309753, 0.14878776669502258, 0.3523233234882355, -0.6118742823600769, 0.00756435003131628, 0.5919492244720459, 0.2066524624824524, -0.17439433932304382, -0.18287716805934906, -0.09524854272603989, -0.29673922061920166, -0.18271248042583466, 0.08577440679073334, -0.971281886100769, -0.12860248982906342, -0.6297982335090637, 0.5326984524726868, -0.4541557729244232, -0.6331720352172852, 0.15117274224758148, -0.47363772988319397, 0.367217093706131, 0.23133796453475952, -1.295838713645935, 0.6193631291389465, 0.8080404996871948, 0.27087756991386414, 0.05157705023884773, -0.8289476037025452, -0.5397725105285645, 0.12312398850917816, -0.2858448326587677, 0.7577841281890869, -0.8713251352310181, 0.14009861648082733, 0.21084517240524292, 0.20873196423053741, -0.3176235854625702, -0.3446662724018097, -0.22906461358070374, -0.7229225635528564, 0.3860861659049988, -0.38344356417655945, -0.2837584912776947, -0.3461620509624481, -0.15086810290813446, -0.5196938514709473, 0.6314913034439087, 0.12053997814655304, -0.5968132615089417, 1.2967276573181152, 0.05226912349462509, -0.5582426190376282, 0.06700529903173447, -0.6145834922790527, -0.037325888872146606, 0.20994946360588074, 0.13307659327983856, 0.5058242082595825, -0.28779637813568115, 0.5629650354385376, -0.2135690450668335, -0.01901022531092167, 0.05556093156337738, -0.08239241689443588, 0.7857747673988342, -0.10229158401489258, -0.5243379473686218, 0.061360858380794525, -0.6068408489227295, -0.006068754941225052, 0.3895074427127838, -0.15714071691036224, -0.4875207245349884, 0.12093620747327805, -0.24251234531402588, 0.2757825553417206, -0.2272886484861374, -0.30547305941581726, -0.029356107115745544, -0.295871764421463, 0.1794399619102478, 0.2950269877910614, -0.0016916868044063449, 0.8054202795028687, -0.12058737128973007, 0.46171972155570984, -0.05255672708153725, -0.2802466154098511, -0.26583603024482727, -0.294469952583313, -0.8721746802330017, -0.1286972314119339, 0.5874188542366028, 0.3180038332939148, -1.1415108442306519, 0.0815107598900795, -0.051328763365745544, 0.1832655966281891, -0.5842955112457275, 0.2059027999639511, 0.5476047992706299, 0.2724209129810333, 0.34353992342948914, -0.4217546880245209, -0.40734562277793884, -0.6946302652359009, -0.3585197925567627, -0.5417346358299255, 0.18249726295471191, -0.2534216046333313, 0.3867509961128235, 0.4257538914680481, 0.6871129274368286, 0.025678157806396484, 0.212772399187088, -0.5351045727729797, 0.27067482471466064, -0.46184220910072327, 0.42061156034469604, 0.6394807696342468, -0.8738713264465332, -0.257098913192749, -0.16596129536628723, -0.8031017780303955, 0.06411567330360413, -0.4420161247253418, -0.3749857246875763, 0.17730861902236938, 0.6647864580154419, -0.6369290947914124, 0.5476028323173523, 0.20915158092975616, -0.4552323818206787, 0.26963183283805847, 0.15540555119514465, -0.07403911650180817, -0.8222466111183167, -0.29187139868736267, -0.11506497859954834, -0.317558616399765, -0.4418780207633972, 0.5486115217208862, 0.06639830768108368, 0.38989537954330444, -0.43900632858276367, 0.22253510355949402, -0.9309058785438538, -0.19392289221286774, -0.17339776456356049, 0.3220655918121338, -0.026981646195054054, 0.4540170431137085, 0.22030486166477203, 0.5155743360519409, 0.8068165183067322, -0.515531599521637, 0.34730395674705505, -0.09960248321294785, -0.47132888436317444, 0.24645055830478668, -0.28284257650375366, -0.15836985409259796, -0.22317127883434296, 0.12373601645231247, -1.1547187566757202, -0.4432729482650757, 0.31773245334625244, -0.4082365036010742, 0.7608959674835205, -0.16969436407089233, -0.623916745185852, 0.01818009279668331, 0.10809706151485443, 0.4150417447090149, 0.5517757534980774, -0.8656809329986572, 0.39342471957206726, 0.4725259840488434, 0.07389911264181137, -0.638639509677887, -0.6927856802940369, -0.08650827407836914, -0.13696172833442688, -0.4009612798690796, 0.2087821364402771, 0.6609821319580078, -0.6496702432632446, 0.2104327231645584, -0.21030515432357788, -0.17098884284496307, 0.229202002286911, 0.3320203721523285, 0.34095895290374756, -0.3545001745223999, 0.6419094800949097, -0.0005524415755644441, -0.3542269766330719, 0.22849029302597046, -0.4498700499534607, 0.5251572728157043, 0.1329113394021988, -0.4102277457714081, -0.2682633697986603, 0.31237298250198364, 0.48614564538002014, -0.21068519353866577, 0.9922713041305542, 0.37963879108428955, -0.24240051209926605, -0.33623120188713074, -0.46476277709007263, -0.32324475049972534, -0.3906491994857788, 0.15812672674655914, -0.41774672269821167, -0.6186187267303467, -0.0007018443429842591, -0.33387285470962524, -0.2351730316877365, 0.39069968461990356, 0.44499945640563965, 0.06529110670089722, 0.2924332618713379, 0.8333395719528198, 0.16450665891170502, 0.42568889260292053, -0.139840766787529, 0.0513354130089283, -0.3587510883808136, -0.47045156359672546, -0.38759854435920715, -0.3096407949924469, -0.5651906132698059, -0.2645605206489563, -0.27623575925827026, 0.1708843857049942, 0.0642898827791214, 0.23619110882282257, -0.0897572934627533, 0.6585143804550171, 0.8064835667610168, 0.1562483310699463, 0.321499228477478, 0.22439642250537872, -0.5298566818237305, -0.05356024205684662, -0.8164076209068298, -0.08075336366891861, 0.9696977734565735, 0.007072208449244499, 0.5362750887870789, -0.0035602005664259195, 0.7326140999794006, -0.5442507266998291, 0.16255423426628113, -0.7412711977958679, 0.5201578140258789, 0.3003474175930023, -0.5609351396560669, -0.047517430037260056, -0.15245646238327026, -0.9048029780387878, 0.3808695077896118, -0.5913580656051636, -0.8542590141296387, 0.3249593675136566, 0.018866172060370445, -0.1567530333995819, 0.286926805973053, -1.0704110860824585, 0.7600979208946228, -0.13861751556396484, -0.876022458076477, -0.2394617795944214, -0.9829973578453064, 0.3744925558567047, 0.07460067421197891, 0.08421590179204941, 0.0021998989395797253, -0.15116100013256073, 0.5859623551368713, -0.29275697469711304, 1.0921179056167603, -0.18918676674365997, 0.3194722533226013, 0.41412049531936646, 0.08490577340126038, -0.04075368866324425, -0.124397411942482, 0.404086172580719, -0.08812882751226425, 0.11081715673208237, -0.5458605289459229, -0.716479480266571, 0.4684111475944519, -0.6777134537696838, -0.671297013759613, -0.5398997068405151, -0.5645565390586853, -0.4604707956314087, 0.11917439103126526, 0.2560487687587738, 0.24997064471244812, -0.011006472632288933, 0.13494256138801575, 0.09221304953098297, -0.08279253542423248, 0.4690479040145874, 0.4181918799877167, -0.47357240319252014, -0.24253015220165253, 0.7643628120422363, -0.07680358737707138, 0.9274376034736633, 0.43621066212654114, 0.010600537061691284, -0.18784017860889435, -0.4556889832019806, -0.14358392357826233, 0.4471932053565979, -0.7530279159545898, 0.005916029214859009, -0.3268623650074005, -0.008549598045647144, -0.2750338315963745, -0.18536138534545898, -0.1337491124868393, -0.7482537031173706, 0.2476954162120819, -0.35679981112480164, 0.29673027992248535, 0.6635464429855347, -0.05841774865984917, 0.28149983286857605, -0.28717100620269775, 0.5671444535255432, 0.48866915702819824, 0.2695782780647278, 0.021090436726808548, -0.14636339247226715, 0.009444783441722393, 0.01891348510980606, -0.0689401850104332, -0.9294249415397644, 0.04795442521572113, 0.12827298045158386, 0.569789707660675, 0.13718484342098236, -0.19848130643367767, 0.8521309494972229, -0.6241543889045715, 0.5908316969871521, 0.5206894278526306, -0.6889809966087341, 0.38641849160194397, -0.14562688767910004, 0.32166802883148193, 0.8599689602851868, 0.49174508452415466, -0.37268921732902527, -0.3436479866504669, -0.8240117430686951, -0.7854078412055969, 0.564958393573761, -0.10972979664802551, -0.10202588886022568, -0.16085264086723328, 0.2885964512825012, 0.4464479982852936, 0.26860493421554565, -0.7315250635147095, -0.20471744239330292, 0.18942083418369293, -0.023371106013655663, -0.05702364072203636, -0.24062523245811462, -0.029100293293595314, -0.6525787711143494, 0.35366666316986084, 0.039444707334041595, 0.2812405228614807, -0.14252591133117676, -0.4414672255516052, -0.3619973659515381, 0.19262845814228058, 0.01025219727307558, 0.7838093042373657, 0.16338692605495453, 0.4497448205947876, -0.06706095486879349, -0.2072921246290207, 0.12059782445430756, -0.10467629134654999, -0.03350605070590973, 0.05351001024246216, 0.8608723878860474, 0.746526837348938, 0.5232971906661987, -0.38915854692459106, 0.5166799426078796, 0.011951586231589317, -0.3885587751865387, -0.022741155698895454, 0.08200962841510773, 0.27914732694625854, 0.22034019231796265, 0.030854392796754837, 0.1465928703546524, -0.20645734667778015, -0.864669144153595, 0.525886058807373, 0.44332587718963623, -0.05511561781167984, -0.3931293189525604, 0.5288249850273132, -0.030444499105215073, -0.0732828825712204, 0.5153598785400391, -0.0844537615776062, -0.3116869032382965, 0.5312414169311523, 0.8929994702339172, 0.9770378470420837, -0.19044144451618195, 0.3595089316368103, 0.35247114300727844, 0.2924618721008301, -0.15493188798427582, 0.10810389369726181, -0.507124125957489, -0.779278039932251, -0.6380771398544312, -0.6204805374145508, -0.17215821146965027, -0.03220995515584946, -0.8522120118141174, 0.27142074704170227, -0.4278568625450134, 0.2211335152387619, 0.311064749956131, -0.3450506627559662, -0.7605141401290894, 0.14674082398414612, 0.3657698631286621, 0.629052460193634, -1.1260261535644531, 0.8215319514274597, 0.6436622142791748, -0.770009458065033, -0.9524997472763062, 0.29541128873825073, 0.1344451904296875, -1.033704161643982, 0.994248628616333, 0.23269379138946533, -0.16712430119514465, -0.2255457192659378, -0.7101514935493469, -0.9464775919914246, 0.837295413017273, 0.3241649270057678, -0.30755478143692017, -0.1971087008714676, 0.08672357350587845, 0.3931255340576172, -0.4674285054206848, -0.06413935869932175, 0.7672441005706787, 0.15263505280017853, 0.2752833068370819, -0.7274542450904846, 0.2063046097755432, -0.11744966357946396, -0.2159692943096161, 0.4416223466396332, -0.3159021735191345, 0.6078281402587891, -0.23114149272441864, -0.5377401113510132, 0.03596748411655426, 0.6637089848518372, -0.042560603469610214, 0.45360440015792847, 0.5816017985343933, 0.5140007734298706, 0.4205884337425232, -0.2296539694070816, 0.9612862467765808, -0.2242225706577301, 0.055783532559871674, 1.1942747831344604, 0.02431555464863777, 0.9831210970878601, 0.8367685675621033, -0.27337726950645447, 0.7644948959350586, 0.3551424443721771, 0.49457839131355286, 0.5953367352485657, -0.07936107367277145, -0.25361278653144836, -0.41045501828193665, -0.08216065168380737, -0.29344820976257324, 0.5915856957435608, 0.6679291725158691, -0.4679376780986786, -0.4503084421157837, -0.0865805521607399, 0.1294139325618744, 0.3667874336242676, 0.06732949614524841, 0.7661692500114441, 0.049226704984903336, -0.9189231395721436, 0.5993532538414001, -0.4133480489253998, 0.18148188292980194, -0.4923900365829468, -0.25744521617889404, 0.061772916465997696, -0.05944089591503143, -0.1258116364479065, -0.45414072275161743, 0.09000425040721893, -0.23330570757389069, 0.0908692479133606, -0.38454708456993103, 0.8220157623291016, -0.7018570303916931, -0.5686150789260864, 0.5498899817466736, 0.8419108390808105, -0.07747741043567657, 0.48130714893341064, -0.41262680292129517, -0.02789737470448017, -0.22909195721149445, 0.028770102187991142, 0.5246931910514832, 0.5338104963302612, 0.18592889606952667, 0.3769613206386566, 0.484965056180954, 0.2710830569267273, 0.32913315296173096, 0.04955235496163368, 0.8572918176651001, -0.6176186203956604, -0.33874544501304626, -0.7199676632881165, 0.5962145924568176, 0.14111851155757904, -0.12825411558151245, 0.6346634030342102, 0.06684023141860962, 1.2069636583328247, 0.026781532913446426, 0.5939151644706726, -0.14195314049720764, 0.21400560438632965, -0.9091137647628784, 0.27766942977905273, -0.5894327163696289, 0.0215043555945158, -0.38182735443115234, -0.6922192573547363, -0.5858570337295532, 0.7000181674957275, -0.6200411915779114, 0.10817088931798935, 1.2188535928726196, 0.3818685710430145, -0.1156453937292099, 0.11775290220975876, 0.27995553612709045, -0.025104910135269165, -0.17639851570129395, 0.5575726628303528, 1.0551230907440186, -0.21577267348766327, -0.02888903208076954, -0.6835076212882996, -0.2694796621799469, 0.19808346033096313, -0.5275793075561523, -0.9441536664962769, -0.7687109112739563, -0.3006238043308258, -0.32781606912612915, 0.3610357940196991, 0.9635958671569824, 0.6499816179275513, -0.45858803391456604, -0.3118603229522705, -0.4778754413127899, 0.17902469635009766, -0.37474820017814636, -0.20054912567138672, 0.17582203447818756, -1.1685810089111328, -0.5580204725265503, 0.42091792821884155, 0.24131929874420166, -0.2413439154624939, -0.09187574684619904, 0.18990348279476166, -0.6525267958641052, -0.36745887994766235, 0.43525925278663635, 0.42279860377311707, -0.9701570272445679, -0.3333330750465393, -0.2519212067127228, -0.023634135723114014, 0.052861932665109634, 0.8694352507591248, -1.2488869428634644, 0.6826164126396179, 0.5829657316207886, 0.7723169922828674, 0.33736005425453186, -0.12503831088542938, 0.808309018611908, -0.6466222405433655, 0.796273410320282, -0.22320567071437836, 0.39585956931114197, 0.17240765690803528, -0.07150162011384964, 0.359095960855484, 0.6329360604286194, -0.09662184864282608, -0.6242070198059082, 0.4438624978065491, -0.598025918006897, -0.42448142170906067, 1.163894772529602, 0.06267562508583069, -0.4900377094745636, -0.09521880000829697, 0.248994842171669, 0.3862128257751465, -0.02924220822751522, 0.5140238404273987, 0.6965522170066833, 0.21782758831977844, -0.26547762751579285, -0.6445321440696716, 0.5378165245056152, 0.7473762035369873, -0.5023964047431946, -0.029283419251441956, 0.4444115459918976, 0.18109887838363647, 0.27387362718582153, 0.2656799256801605, 0.021521233022212982, 0.5575636625289917, 0.5672896504402161, -0.022976651787757874, 0.1572643220424652, -0.8635634183883667, -0.2850807011127472, 0.17983868718147278, 0.16390281915664673, -0.5881845951080322 ]
http://arxiv.org/abs/2406.11839v1
http://arxiv.org/pdf/2406.11839v1
mDPO: Conditional Preference Optimization for Multimodal Large Language Models
2024-06-17T17:59:58
2024-06-17T17:59:58
Fei Wang, Wenxuan Zhou, James Y. Huang, Nan Xu, Sheng Zhang, Hoifung Poon, Muhao Chen
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
Direct preference optimization (DPO) has shown to be an effective method for large language model (LLM) alignment. Recent works have attempted to apply DPO to multimodal scenarios but have found it challenging to achieve consistent improvement. Through a comparative experiment, we identify the unconditional preference problem in multimodal preference optimization, where the model overlooks the image condition. To address this problem, we propose mDPO, a multimodal DPO objective that prevents the over-prioritization of language-only preferences by also optimizing image preference. Moreover, we introduce a reward anchor that forces the reward to be positive for chosen responses, thereby avoiding the decrease in their likelihood -- an intrinsic problem of relative preference optimization. Experiments on two multimodal LLMs of different sizes and three widely used benchmarks demonstrate that mDPO effectively addresses the unconditional preference problem in multimodal preference optimization and significantly improves model performance, particularly in reducing hallucination.
[ -0.4903047978878021, -0.4870889186859131, 0.884431004524231, 0.30374443531036377, -0.3574799597263336, -0.0060514663346111774, -0.4072723686695099, -0.20704075694084167, 0.22909696400165558, 0.43274986743927, -0.6129021644592285, -0.23202106356620789, -0.7363587617874146, 0.1004854291677475, 0.23204001784324646, 0.4802645146846771, -0.08103101700544357, 0.0930882915854454, -0.5377063751220703, -0.11543780565261841, -0.42707666754722595, -0.43283364176750183, -0.746026337146759, -0.3773058354854584, 0.7591921091079712, 0.6280221939086914, 0.7475081086158752, 0.7104372382164001, 0.6417927742004395, 0.32953011989593506, 0.1522154062986374, 0.5032926797866821, -0.2564457356929779, 0.1622724086046219, -0.14360740780830383, -0.28392601013183594, -0.4415515661239624, 0.08328335732221603, 0.6058427691459656, 0.5258685946464539, -0.11247830837965012, -0.15881602466106415, -0.1829165667295456, 1.0250115394592285, -0.9343000054359436, -0.01177782379090786, -0.668904185295105, 0.10353237390518188, 0.030257537961006165, -0.5758658647537231, -0.4887162744998932, -0.1435290426015854, 0.08771073073148727, -0.5089977979660034, -0.3455125093460083, 0.07523376494646072, 0.5596138834953308, 0.4423224627971649, -0.9087870717048645, 0.013869081623852253, -0.5231316089630127, 1.008178472518921, -0.3708242177963257, 0.4013231694698334, 0.40883108973503113, 0.08526276051998138, -0.22097675502300262, -0.1165446862578392, -0.9270721077919006, -0.37949153780937195, 0.13816890120506287, 0.11540211737155914, -0.07119441777467728, 0.38985323905944824, 0.1529029756784439, 0.31850969791412354, -0.5132001638412476, 0.09585263580083847, 0.12653380632400513, -0.2441374659538269, 0.2916290760040283, -0.09118808060884476, 0.32380062341690063, -0.22355447709560394, -0.5953339338302612, -0.09534197300672531, -0.591763973236084, 0.3262559771537781, 0.5128830671310425, 0.17989440262317657, -0.032880913466215134, 0.9843441843986511, -0.334138423204422, 0.7771372199058533, 0.30764445662498474, -0.6316404342651367, 0.34937044978141785, -0.19606070220470428, -0.047745585441589355, 0.14537064731121063, 0.6138643622398376, 0.8696804642677307, 0.21804016828536987, 0.019914202392101288, -0.25317102670669556, 0.36558854579925537, 0.09071499854326248, -0.7195448875427246, 0.18797269463539124, 0.4248597323894501, -0.5218455791473389, -0.30949264764785767, -0.31346017122268677, -0.771025538444519, -0.48349010944366455, -0.5719680190086365, 0.3234756290912628, -0.1854122430086136, -0.3695904016494751, 0.2307494431734085, -0.20539477467536926, -0.05800653621554375, 0.06635136902332306, -1.2078752517700195, -0.025078605860471725, 0.6381761431694031, 0.7427180409431458, -0.30841565132141113, -0.4671994149684906, -0.7163373827934265, 0.3890998065471649, -0.24659596383571625, 0.8459540009498596, -0.9335983395576477, -0.3094218671321869, -0.11222945153713226, -0.04659465700387955, -0.07018447667360306, -0.24208399653434753, 0.7598158717155457, -0.2624586820602417, 0.19068032503128052, -0.3204348087310791, -0.4897972047328949, 0.12390797585248947, 0.4412631094455719, -0.4076434075832367, 0.5425917506217957, -0.2438991814851761, -0.7233369946479797, 0.6446451544761658, -0.4797721207141876, -0.3729653060436249, -0.46320855617523193, -0.3032761812210083, -0.1691693812608719, 0.3652729094028473, 0.1470189392566681, 0.21171978116035461, -0.2721431851387024, 0.3530310094356537, -0.5696824193000793, -0.24546298384666443, 0.26303786039352417, -0.2858377695083618, 0.2493298351764679, 0.1692700833082199, -0.29193753004074097, 0.417845755815506, -0.7402734756469727, -0.062151044607162476, 0.26756617426872253, -0.37210044264793396, -0.6810747385025024, 0.23980918526649475, -0.2868706285953522, 0.41363102197647095, 0.3803086578845978, -0.598964512348175, 0.6863049864768982, -0.10252695530653, 0.22587673366069794, 1.1738014221191406, -0.3344687521457672, 0.6625502109527588, -0.19602373242378235, 0.5201136469841003, -0.029899146407842636, 0.47951173782348633, 0.05311883985996246, -0.31887388229370117, -0.7714521288871765, -0.8018184304237366, 0.09466458857059479, 0.2452516108751297, -0.8847877383232117, 0.2903558015823364, -0.1601514369249344, -0.009242042899131775, -0.40183839201927185, 0.06634218245744705, 0.47849392890930176, 0.7091237902641296, 0.1749776154756546, -0.20733068883419037, -0.6258320808410645, -1.4203377962112427, 0.2773613929748535, -0.06081060692667961, 0.1574159562587738, 0.4851045310497284, -0.017770128324627876, -0.3928357660770416, 0.6341882348060608, -0.7685859203338623, -0.32999369502067566, -0.03606731444597244, -0.0925823524594307, 0.23572242259979248, 0.3876097798347473, 0.7324665188789368, -1.049404501914978, -0.46090152859687805, -0.14571422338485718, -0.23728014528751373, -0.07375257462263107, -0.014074981212615967, -0.24392421543598175, 0.4245205819606781, 0.06146116554737091, -0.796042263507843, -0.08998193591833115, 0.9520860314369202, -0.22499312460422516, 0.28980401158332825, -0.4921715557575226, 0.6722007989883423, -0.9428807497024536, -0.0227963887155056, 0.05797972530126572, -0.10366800427436829, -0.3550308644771576, -0.19950450956821442, 0.30727308988571167, -0.32346293330192566, -0.2910829782485962, 0.6131241917610168, -0.3817652761936188, 0.1060740053653717, -0.5102465748786926, 0.01915256306529045, 0.1343168467283249, 0.656184732913971, 0.5294018387794495, 0.6407095193862915, 0.7674347162246704, -0.5054150223731995, 0.2474156767129898, 0.1946004182100296, -0.09889472275972366, 0.8450783491134644, -0.5218380689620972, 0.34816664457321167, -0.2139822542667389, 0.1250993013381958, -1.2424066066741943, -0.06642702221870422, 0.18314440548419952, -0.27957093715667725, 0.6348121166229248, -0.4788103401660919, -0.43462279438972473, -0.263101726770401, -0.5642217397689819, 0.5762949585914612, 0.11643783003091812, -0.6972028613090515, 0.38129016757011414, 0.5426446795463562, 0.053512223064899445, -0.9346829056739807, -0.22559303045272827, 0.09483306854963303, -0.25167784094810486, -0.5399188995361328, 0.4394640028476715, -0.3123700022697449, -0.09819308668375015, -0.3465029299259186, -0.26810628175735474, 0.04814448207616806, -0.24201270937919617, 0.17625412344932556, 0.3760767877101898, 0.12097985297441483, 0.18697841465473175, 0.05028657615184784, -0.4405590891838074, -0.3239426612854004, -0.25261247158050537, 0.8490784764289856, 0.1378486305475235, -0.33510762453079224, -0.31460022926330566, 0.6641228795051575, 0.7199071049690247, -0.21021735668182373, 0.57452791929245, 0.20586074888706207, -0.10948628932237625, 0.12191541492938995, -0.5987893342971802, -0.0001674123777775094, -0.5059886574745178, 0.1554500311613083, -0.7253700494766235, -0.5621988773345947, -0.01626000367105007, 0.0664677545428276, -0.2663833796977997, 0.05046809837222099, 0.4584454894065857, -0.0419129841029644, 1.5903021097183228, 0.9387456178665161, -0.09517519921064377, 0.7156481146812439, 0.18967972695827484, 0.18783213198184967, -0.7796483039855957, -0.1668419986963272, -0.4440692365169525, -0.5083614587783813, -0.5767567157745361, -0.2795468866825104, 0.27194494009017944, -0.19113218784332275, -0.031045733019709587, 0.1518608182668686, -0.4723531901836395, 0.4289790689945221, 0.5764824748039246, 0.21833479404449463, 0.3228468894958496, 0.0528242364525795, -0.29089030623435974, -0.2664605677127838, -0.40121808648109436, -0.3907668888568878, 0.9526588320732117, 0.13315771520137787, 0.7746169567108154, 0.16468104720115662, 0.5855590105056763, 0.12561333179473877, -0.04279950261116028, -0.9263889789581299, 0.5000327825546265, -0.2754855751991272, -0.5675344467163086, -0.15688581764698029, -0.5449556708335876, -0.8182206153869629, 0.31398433446884155, -0.30361416935920715, -0.6544436812400818, 0.5960252285003662, 0.45662814378738403, -0.004045423585921526, 0.10629718750715256, -0.7585199475288391, 0.8429287672042847, -0.5662593841552734, -0.4271831512451172, -0.3900242745876312, -0.5353110432624817, 0.3107583820819855, -0.058875199407339096, 0.08938541263341904, -0.45044413208961487, -0.35128748416900635, 0.2322796732187271, -0.08065825700759888, 0.3837977647781372, -0.18550768494606018, -0.1287451684474945, -0.3102671802043915, -0.03067741170525551, 0.4911104738712311, 0.06826255470514297, -0.10253816097974777, -0.0629543885588646, -0.07152722775936127, -0.36745765805244446, -0.6491044163703918, 1.039574146270752, -0.6670300960540771, -0.7209078669548035, -0.45942258834838867, -0.6524902582168579, -0.46402063965797424, 0.2598572373390198, 0.04349534958600998, 0.4660300314426422, 0.15591713786125183, 0.1531384140253067, 0.6019895076751709, -0.22156614065170288, 0.46048155426979065, 0.49989810585975647, -0.2735276520252228, -0.5736141204833984, 0.7459141612052917, -0.2606046497821808, 0.5262352824211121, 0.7458074688911438, 0.4890090525150299, -0.5926579833030701, -0.545982837677002, -0.36340755224227905, 0.24448616802692413, -0.6777248978614807, -0.008116512559354305, -0.6451268196105957, 0.48544707894325256, -0.4010069668292999, -0.200250044465065, -0.6299517154693604, -0.5058295130729675, 0.06500265747308731, 0.18485498428344727, 0.03355683386325836, -0.005370382219552994, -0.12625867128372192, -0.1492125391960144, -0.431523859500885, 0.7620676755905151, 0.49368786811828613, 0.5634361505508423, -0.39897388219833374, -0.37786808609962463, 0.3362911343574524, 0.12149372696876526, -0.25100409984588623, -0.49014395475387573, 0.1946895569562912, 0.09188355505466461, 0.727319061756134, 0.7837052345275879, 0.09689401090145111, 0.774770975112915, -0.5430008172988892, 0.16975346207618713, 0.6078831553459167, -0.7843008041381836, 0.6558032631874084, -0.37234458327293396, 0.24606746435165405, 0.6748692393302917, 0.602424144744873, -0.5643723011016846, 0.06387580186128616, -0.10278388112783432, -0.6331773996353149, 0.3710595369338989, 0.008699988946318626, 0.29368188977241516, -0.2086767852306366, 0.2605096995830536, 0.11278051882982254, 0.49101606011390686, -0.9269422292709351, -0.397820383310318, -0.05276958644390106, 0.06132933497428894, -0.3892396092414856, -0.6281282901763916, -0.4315354824066162, -0.1776796579360962, 0.4615402817726135, -0.29017096757888794, 0.18328002095222473, 0.21787282824516296, -0.07885181903839111, -0.2778553366661072, 0.274442583322525, 0.9850370287895203, 0.8751869797706604, -0.5340253710746765, 0.2959827780723572, -0.4499977231025696, -0.13632546365261078, 0.451911985874176, -0.03969203680753708, -0.1162480041384697, -0.297556608915329, -0.05885787680745125, 0.7344281077384949, 0.10877107828855515, -0.7266438007354736, 0.5858078002929688, -0.2969045042991638, -0.09283719211816788, 0.04788466915488243, -0.09797993302345276, -0.04001324251294136, 0.15906263887882233, 0.21946077048778534, 0.16403231024742126, 0.20012757182121277, -0.8642953634262085, 0.09108109027147293, 0.772030234336853, -0.3122737407684326, 0.04671758413314819, 0.536949634552002, 0.2458532303571701, -0.18838803470134735, 0.2703911364078522, 0.004254435189068317, -0.42047762870788574, 0.42393890023231506, 0.6653015613555908, 0.6278952956199646, -0.08307091891765594, 0.20998115837574005, 0.19049465656280518, 0.2033635526895523, -0.019609009847044945, 0.19797354936599731, -0.1590423285961151, -1.0131157636642456, -0.3650610148906708, -0.462310254573822, -0.5285026431083679, -0.06613381952047348, -0.4204680323600769, 0.4196990728378296, -0.39410221576690674, -0.22137098014354706, 0.09184827655553818, -0.10331734269857407, -0.4622577726840973, 0.1981540322303772, 0.3546174466609955, 0.44839584827423096, -0.6112798452377319, 1.0696299076080322, 0.7116725444793701, -0.29427412152290344, -0.2604348659515381, -0.04222838580608368, 0.15271739661693573, -0.9294770956039429, 0.5985199213027954, 0.20899128913879395, -0.42325738072395325, -0.1898694485425949, -0.2522842288017273, -0.8049310445785522, 0.6581199765205383, 0.6368542909622192, -0.6643310189247131, 0.3845353424549103, -0.001659010536968708, 0.289488822221756, -0.5281143188476562, 0.051726166158914566, 0.3012048900127411, 0.7313380837440491, 0.3349754810333252, -0.8836218118667603, -0.010218593291938305, -0.14818403124809265, -0.05259422957897186, 0.5088176727294922, -0.8530912399291992, 0.3906148374080658, -0.38042914867401123, 0.03049050085246563, -0.041591376066207886, 0.18778778612613678, 0.40475818514823914, 0.1827286332845688, 0.9606297016143799, 0.5949379801750183, 0.6417529582977295, 0.01675885170698166, 1.2699357271194458, -0.2401149868965149, 0.21279151737689972, 0.9097590446472168, -0.5504654049873352, 0.6941421031951904, 1.1363165378570557, -0.05150299891829491, -0.10862608999013901, 0.8201818466186523, 0.16589713096618652, 1.0912997722625732, 0.016087938100099564, -0.2070159912109375, -0.4331592917442322, -0.36593097448349, -0.3808899223804474, 0.6785535216331482, -0.23961074650287628, -0.12935194373130798, 0.2749791145324707, 0.07401143014431, -0.0993451252579689, 0.2001323401927948, -0.25817424058914185, 0.5419131517410278, -0.1723502278327942, -0.9311903715133667, 0.5190370082855225, -0.07655631750822067, 0.9288443922996521, -0.7404096126556396, 0.16229090094566345, -0.41369304060935974, 0.39353540539741516, -0.07844837009906769, -0.5061119198799133, 0.003683721413835883, -0.3396521210670471, -0.5468797087669373, -0.32750535011291504, 0.6159213781356812, -0.5851091146469116, -0.48928102850914, 0.4173937141895294, 0.011823229491710663, -0.3053728938102722, -0.2296580970287323, -0.6429845094680786, 0.19365347921848297, 0.07513295114040375, -0.27712106704711914, 0.48798954486846924, 0.1822635978460312, 0.150154709815979, 0.9624881744384766, 0.6964190006256104, 0.10156885534524918, -0.3359347879886627, 0.16005580127239227, 0.7502591013908386, -0.44775959849357605, -0.17923983931541443, -1.0041782855987549, 0.44199058413505554, -0.20146413147449493, -0.3633849322795868, 0.5935952067375183, 0.6148635745048523, 0.5950939059257507, -0.175029918551445, 0.4418617784976959, 0.02334768883883953, 0.08693505823612213, -0.8125563263893127, 0.3183409571647644, -1.073604941368103, 0.01635037176311016, -0.5842431783676147, -1.2659637928009033, -0.23006956279277802, 0.5063013434410095, -0.2633615732192993, -0.13819895684719086, 0.9042354822158813, 0.7508288025856018, -0.19022227823734283, -0.601655125617981, 0.5875712037086487, -0.36977192759513855, 0.17829649150371552, 0.569193422794342, 0.9728024005889893, 0.20956625044345856, 0.5700162649154663, -0.6974698901176453, -0.40631747245788574, 0.02265027165412903, -1.3600069284439087, -0.798601508140564, -0.6671186089515686, -0.3865138590335846, 0.03814373165369034, -0.108340784907341, 1.101155400276184, 0.8663196563720703, -0.5876567363739014, -0.13843894004821777, 0.4883895218372345, 0.40687671303749084, -0.05178818851709366, -0.1207079067826271, 0.15267311036586761, -0.21601179242134094, -1.0849772691726685, 0.5245817303657532, 0.775101900100708, 0.13143132627010345, -0.08904880285263062, -0.140229269862175, -0.42199596762657166, 0.13507483899593353, 0.6606589555740356, 0.15571773052215576, -0.660407543182373, -0.49776017665863037, 0.08891942352056503, -0.23186556994915009, 0.4322552978992462, 1.03034245967865, -0.12933258712291718, 0.770342230796814, 0.5291634202003479, 0.5148535370826721, 0.5371931791305542, -0.053611550480127335, 0.8749317526817322, -0.6558298468589783, 0.7316027283668518, -0.0804360955953598, 0.7846453189849854, 0.21548499166965485, -0.36616167426109314, 0.298301100730896, 0.15771795809268951, -0.5049417614936829, -0.7774416208267212, 0.3881988525390625, -1.385258436203003, -0.3492538332939148, 1.256747841835022, 0.18217810988426208, 0.08811918646097183, 0.3135874569416046, -0.5805240869522095, -0.026167556643486023, -0.5591291189193726, 0.9904171824455261, 0.7234799861907959, -0.15586340427398682, -0.358391135931015, -0.39756396412849426, 0.4052238166332245, 0.6141353249549866, -0.6048693060874939, -0.20569093525409698, 0.7142075896263123, 0.13404202461242676, 0.08234566450119019, 0.727756679058075, 0.08418745547533035, 0.14676782488822937, -0.33608150482177734, 0.3935486078262329, -0.11020320653915405, -0.4299069046974182, -0.24929094314575195, 0.02850452810525894, 0.28232088685035706, -0.5059008598327637 ]
http://arxiv.org/abs/2406.11830v1
http://arxiv.org/pdf/2406.11830v1
Language Modeling with Editable External Knowledge
2024-06-17T17:59:35
2024-06-17T17:59:35
Belinda Z. Li, Emmy Liu, Alexis Ross, Abbas Zeitoun, Graham Neubig, Jacob Andreas
cs.CL
cs.CL, cs.AI
When the world changes, so does the text that humans write about it. How do we build language models that can be easily updated to reflect these changes? One popular approach is retrieval-augmented generation, in which new documents are inserted into a knowledge base and retrieved during prediction for downstream tasks. Most prior work on these systems have focused on improving behavior during prediction through better retrieval or reasoning. This paper introduces ERASE, which instead improves model behavior when new documents are acquired, by incrementally deleting or rewriting other entries in the knowledge base each time a document is added. In two new benchmark datasets evaluating models' ability to answer questions about a stream of news articles or conversations, ERASE improves accuracy relative to conventional retrieval-augmented generation by 7-13% (Mixtral-8x7B) and 6-10% (Llama-3-8B) absolute. Code and data are available at https://github.com/belindal/ERASE
[ -0.35983821749687195, -1.042403221130371, 0.5122617483139038, -0.1574935019016266, 0.22120027244091034, 0.21857351064682007, -0.2814512848854065, -0.7326887249946594, 0.0692349225282669, 0.6177251935005188, -0.3515012860298157, -0.15715044736862183, -0.49313631653785706, -0.09627825766801834, -0.7531454563140869, 0.9063715934753418, 0.015476363711059093, -0.3917948603630066, -0.41845569014549255, 0.05418567359447479, -0.40313664078712463, -0.35296398401260376, -0.8632303476333618, -0.38642361760139465, 0.3697991371154785, 0.40263739228248596, 0.9057447910308838, 0.9987069368362427, 0.24333594739437103, 0.3816688358783722, -0.6182200312614441, 0.3507121801376343, -0.6515946388244629, 0.4280881881713867, -0.19912244379520416, -0.358325719833374, -0.3363107144832611, -0.39422205090522766, 0.7493023872375488, 0.7880051136016846, -0.32362857460975647, -0.16234172880649567, 0.09418785572052002, 0.658149242401123, -0.4918282628059387, 0.13813449442386627, -0.9495941400527954, -0.35827234387397766, 0.10678981244564056, 0.0966942086815834, -0.3167112469673157, -0.47885504364967346, 0.10650447756052017, -0.7413878440856934, 0.3034042418003082, -0.08747852593660355, 0.8032693266868591, -0.059640973806381226, -0.280466765165329, -0.48805034160614014, -0.7253055572509766, 0.42304280400276184, -0.5717728137969971, 0.6882330775260925, 0.647055447101593, -0.2322351336479187, -0.3510538637638092, -0.730939507484436, -0.5902644991874695, -0.22416254878044128, -0.1301138997077942, -0.031627118587493896, -0.1825241595506668, -0.0999356210231781, 0.30138611793518066, 0.1147305816411972, -0.0842578187584877, -0.04683629423379898, -0.6549109220504761, -0.19374743103981018, 0.39367541670799255, 0.08045345544815063, 0.3706704080104828, -0.2577957212924957, -0.012814565561711788, 0.319508820772171, -1.0970733165740967, -0.04601651802659035, 0.538337230682373, 0.41386985778808594, 0.39960819482803345, 0.62946617603302, -0.5804134011268616, 0.6899057030677795, 0.27775806188583374, -0.08772151172161102, 0.24002349376678467, -0.2857018709182739, -0.07902289181947708, -0.08040927350521088, 0.22747491300106049, 0.2792055606842041, 0.06363969296216965, -0.044593147933483124, -0.36111772060394287, -0.29942575097084045, 0.2807539701461792, -0.6483381986618042, -0.4459178149700165, 0.187519833445549, -0.40040504932403564, -0.18235163390636444, -0.3291280269622803, -0.2093503177165985, -0.9447057843208313, -0.6129472851753235, 0.46129727363586426, -0.7544809579849243, -0.2652546763420105, -0.050349730998277664, -0.1895032525062561, -0.25733324885368347, 0.830162763595581, -0.8679680824279785, 0.39442121982574463, 0.5416257977485657, 0.37164735794067383, 0.16191768646240234, -0.29408976435661316, -0.621087372303009, 0.22109223902225494, -0.3475482165813446, 0.751790463924408, -0.5970627665519714, -0.43513059616088867, -0.006583518348634243, -0.09073137491941452, 0.10264696925878525, -0.6609421372413635, 0.30161917209625244, -0.7606876492500305, 0.4235111176967621, -0.5133121609687805, -0.8491562604904175, -0.37972667813301086, 0.29367533326148987, -0.6736612319946289, 1.0815961360931396, 0.03769247606396675, -0.5811713933944702, 0.3466910123825073, -0.5069971084594727, -0.3766430914402008, -0.04538067430257797, 0.41869428753852844, -0.33772122859954834, 0.04418439418077469, 0.17652477324008942, -0.05149983614683151, -0.02873225323855877, 0.555711030960083, -0.12809771299362183, -0.263537734746933, 0.12717199325561523, -0.34753862023353577, 0.7327497005462646, 0.2752130627632141, 0.0281986054033041, -0.018292978405952454, -0.9196960926055908, -0.17152537405490875, -0.13116055727005005, -0.6039474606513977, -0.6115742921829224, 0.35054469108581543, -0.2953384220600128, 0.13183434307575226, 0.238466277718544, -0.6877455711364746, 0.2433803379535675, -0.43979498744010925, 0.14684663712978363, 0.8234697580337524, 0.34643128514289856, 0.5683798789978027, -0.5777891874313354, 0.15779267251491547, 0.13141243159770966, 0.19553562998771667, -0.5918446183204651, -0.4758705794811249, -1.0710806846618652, -0.24930943548679352, 0.07721124589443207, 0.3154333531856537, -0.6975364685058594, 0.040439411997795105, -0.2014610320329666, -0.5310415625572205, -0.4239511787891388, 0.47172510623931885, 0.3334217667579651, 0.8614014387130737, 0.29010581970214844, -0.003079998539760709, -0.6482113003730774, -0.6168303489685059, -0.5614290237426758, -0.18444614112377167, 0.1721060574054718, 0.07130865752696991, 0.2935667335987091, -0.13599558174610138, 1.022144079208374, -0.44338417053222656, 0.13866326212882996, -0.08210059255361557, 0.08498866856098175, -0.17772693932056427, 0.5339308381080627, 0.06996799260377884, -0.789025604724884, -0.3025354743003845, -0.15885837376117706, -0.7489474415779114, -0.3381805717945099, 0.10956788808107376, -0.1090129166841507, 0.37445613741874695, 0.6232817769050598, -0.5800676941871643, 0.4656780958175659, 0.05523115023970604, -0.3515808582305908, 0.26001599431037903, -0.4328112006187439, 0.32064732909202576, -0.8800144195556641, 0.15254126489162445, -0.19445843994617462, -0.23310701549053192, -0.8278666138648987, 0.06799397617578506, 0.30751240253448486, -0.11638591438531876, -0.5737015604972839, 0.8766563534736633, -0.6339189410209656, 0.0490468367934227, -0.2712741196155548, 0.3560565114021301, 0.2459651529788971, 0.2908160388469696, 0.1774004101753235, 0.4721468985080719, 0.06417417526245117, -0.7297400832176208, 0.017774565145373344, 0.5063371658325195, -0.5489102602005005, 0.24015937745571136, -0.28600916266441345, 0.1388414055109024, -0.49316781759262085, -0.005689509678632021, -0.9121149182319641, -0.1049036756157875, 0.04645567387342453, -0.16544164717197418, 0.16887187957763672, -0.14422033727169037, -0.573325514793396, 0.05038517341017723, -0.24120816588401794, -0.08599511533975601, 0.3900816738605499, -0.6250329613685608, 0.6184526681900024, 0.5395786166191101, -0.5683693289756775, -0.49797090888023376, -0.3193328380584717, 0.06541170924901962, 0.0069151511415839195, -0.460492342710495, 0.2024271935224533, -0.19329878687858582, -0.4569454789161682, 0.34790652990341187, 0.09838827699422836, -0.2638661861419678, 0.2440069317817688, 0.27274730801582336, 0.21429061889648438, 0.017271172255277634, 0.6564163565635681, 0.17117662727832794, 0.05122528597712517, -0.2641671597957611, 0.09107417613267899, 0.40460532903671265, 0.2373010367155075, -0.3773856461048126, -0.08745104819536209, 0.07878580689430237, 0.39339011907577515, -0.4203360378742218, 0.8079141974449158, 0.2341882586479187, -0.6594163179397583, -0.014615323394536972, -0.7462822198867798, -0.07735294848680496, -0.5249342322349548, 0.5149425268173218, -0.4761577844619751, -0.6284793615341187, 0.7585684061050415, 0.1487397700548172, 0.38633039593696594, 0.36434027552604675, 0.3073424994945526, -0.059928737580776215, 0.9184244871139526, 0.6233358383178711, 0.22189635038375854, 0.913714587688446, -0.0347004234790802, 0.21362848579883575, -0.9614437818527222, -0.3102008104324341, -0.4703714847564697, -0.001675245352089405, -0.3837421238422394, -0.25503334403038025, -0.017574112862348557, 0.4089287221431732, -0.3759816884994507, 0.44480791687965393, -0.36544832587242126, 0.4863615334033966, 0.8153519630432129, 0.23242609202861786, 0.6941180229187012, -0.20360136032104492, -0.010178329423069954, -0.09090695530176163, -0.5271942019462585, -0.3559478223323822, 1.105499505996704, 0.16463400423526764, 0.6720536947250366, -0.025191867724061012, 0.7753849029541016, 0.23356051743030548, 0.7144150733947754, -0.28099891543388367, 0.47689536213874817, 0.0728970542550087, -0.7054728865623474, -0.25703513622283936, -0.3648395240306854, -0.6831576824188232, 0.2956258952617645, -0.3585774898529053, -0.734402596950531, 0.14512929320335388, 0.3964231610298157, -0.038483623415231705, 0.6259263753890991, -0.9249656200408936, 0.5986294746398926, 0.009477118961513042, -0.4509449601173401, -0.20737583935260773, -0.19279207289218903, 0.3675170838832855, -0.29356226325035095, 0.3743227422237396, -0.1829935759305954, -0.1059221476316452, 0.5239153504371643, -0.5259471535682678, 0.8145416378974915, -0.41049349308013916, -0.1982545554637909, 0.5967851877212524, 0.43418657779693604, 0.8816555142402649, -0.1425100415945053, -0.5036455392837524, -0.15753582119941711, -0.021886635571718216, 0.003163999179378152, -0.675565242767334, 0.7419981956481934, -0.4072171151638031, -0.620348334312439, -0.10327600687742233, -0.7573269605636597, -0.18123306334018707, 0.29659539461135864, -0.06362355500459671, 0.6512203812599182, -0.3094084560871124, 0.0762944445014, 0.575951874256134, -0.5501986742019653, 0.4484189748764038, 0.8462066650390625, -0.5278264880180359, -0.2139231413602829, 0.9019625782966614, 0.36564579606056213, 0.44259268045425415, 0.42036235332489014, 0.13721796870231628, -0.27260714769363403, -0.623715877532959, -0.04470757767558098, 0.12739941477775574, -0.9518024325370789, -0.12437739968299866, -0.992987871170044, -0.09986449778079987, -0.5122283101081848, -0.1401943415403366, -0.26159238815307617, -0.6928243637084961, -0.13366463780403137, -0.22383663058280945, 0.47557055950164795, 0.8739835023880005, -0.22183164954185486, 0.30946627259254456, -0.747843325138092, 0.4330761432647705, 0.11602813750505447, 0.45617297291755676, 0.03160719573497772, -0.6750244498252869, -0.33163559436798096, 0.2294941544532776, -0.3825840651988983, -0.5069531202316284, 0.37491488456726074, 0.2721029818058014, 0.49444475769996643, 0.05343557894229889, -0.0813879519701004, 0.8155552744865417, -0.4880237579345703, 0.5192053318023682, -0.18028835952281952, -1.069704294204712, 0.49429306387901306, -0.49593567848205566, 0.4344855844974518, 0.4815848767757416, 0.023008354008197784, -1.0694526433944702, -0.9548215270042419, -0.7240291237831116, -0.8469361662864685, 0.6371177434921265, -0.06647073477506638, 0.20458483695983887, -0.17930613458156586, 0.5427872538566589, 0.17678894102573395, 0.451402485370636, -0.555948793888092, -0.11933523416519165, 0.09584884345531464, -0.39102399349212646, 0.12103157490491867, -0.5241179466247559, 0.2939956486225128, -0.17343857884407043, 1.065283179283142, 0.3284747004508972, 0.0517837256193161, -0.07321405410766602, -0.4729607403278351, -0.1731637418270111, 0.10581814497709274, 0.45716139674186707, 0.77450031042099, -0.1968824714422226, -0.04925348609685898, 0.2365572303533554, -0.4365833103656769, -0.019126519560813904, -0.032682087272405624, -0.6890650987625122, -0.16021476686000824, 0.38143855333328247, 0.41931843757629395, 0.359055757522583, -0.8295484185218811, 0.11500273644924164, 0.087405726313591, -0.1706315279006958, -0.19405683875083923, 0.2365884631872177, 0.3831777274608612, 0.06168720871210098, 0.27656078338623047, 0.3412565588951111, -0.02334160916507244, -0.568669319152832, 0.2841763496398926, 0.11271213740110397, -0.34402206540107727, -0.33876001834869385, 0.7334176898002625, 0.1742510199546814, -0.3866176903247833, 0.8905370831489563, -0.27891698479652405, -0.5439303517341614, 0.40773776173591614, 0.35676318407058716, 0.5158995985984802, -0.32173746824264526, 0.08550865203142166, 0.34616222977638245, 0.44717249274253845, -0.048141710460186005, 0.3058391511440277, 0.2722964882850647, -1.077773928642273, -0.35855385661125183, -0.3871059715747833, -0.4104045033454895, 0.14485351741313934, -0.2847236096858978, 0.14941515028476715, -0.37207168340682983, 0.030189216136932373, 0.20945094525814056, 0.06423410773277283, -0.6242570281028748, 0.4586705267429352, -0.08447357267141342, 0.7428702116012573, -0.7631665468215942, 0.9045190811157227, 0.44513022899627686, -0.5105671882629395, -0.5541785359382629, -0.34089428186416626, 0.08297988772392273, -0.6210649013519287, 0.556426465511322, -0.0752817690372467, 0.07175607234239578, -0.005862392019480467, -0.3801248073577881, -1.2633579969406128, 0.6332458257675171, 0.6123724579811096, -0.18050970137119293, 0.09019991010427475, -0.363757461309433, 0.48304682970046997, -0.04005084186792374, 0.20044462382793427, 0.43853759765625, 0.5052471160888672, -0.23225010931491852, -0.6612531542778015, -0.19506622850894928, -0.4197242558002472, -0.23427711427211761, 0.498535692691803, -0.3475860357284546, 1.0582826137542725, -0.3254350423812866, -0.2200329303741455, 0.17818738520145416, 0.5513309836387634, -0.008242170326411724, 0.05061156675219536, 0.44857680797576904, 0.5122717022895813, 1.1006990671157837, -0.1936476230621338, 0.9933663606643677, -0.32892948389053345, 0.015841608867049217, 1.7975200414657593, -0.5140505433082581, 0.8843729496002197, 0.3898638188838959, 0.11749698221683502, 0.48372599482536316, 0.36710062623023987, 0.28324589133262634, 0.4371212124824524, 0.08563411235809326, -0.4483133554458618, 0.009369184263050556, -0.11346185207366943, -0.01703084446489811, 0.3742597699165344, 0.20494310557842255, -0.26021870970726013, 0.008564764633774757, 0.13980965316295624, 0.32090315222740173, 0.3501441776752472, -0.11325864493846893, 0.907904863357544, -0.37266722321510315, -0.9247031807899475, 0.252880722284317, 0.14043235778808594, 0.15756511688232422, -0.5229074954986572, -0.15894868969917297, -0.4441157281398773, 0.33673718571662903, -0.12997926771640778, -0.7086813449859619, 0.39368072152137756, 0.036089085042476654, -0.48837149143218994, -0.3337648808956146, 0.8043121099472046, -0.7808753252029419, -0.42491763830184937, 0.2353815883398056, 0.551801860332489, -0.033074162900447845, -0.08576618134975433, -0.473416805267334, 0.07838249951601028, 0.0648648664355278, -0.5070181488990784, 0.28464239835739136, 0.3630211353302002, -0.24553237855434418, 1.1240575313568115, 0.7772414684295654, 0.24204303324222565, 0.30535197257995605, 0.07138238102197647, 0.8032619953155518, -0.5735419988632202, -0.32894885540008545, -0.4783798158168793, 0.5286644101142883, -0.18371468782424927, -0.06899124383926392, 0.697037398815155, 0.8228576183319092, 0.7571407556533813, 0.1549377739429474, 0.9006821513175964, -0.19346649944782257, 1.1425161361694336, -0.3495078384876251, 0.6816213130950928, -0.3385480046272278, 0.3283299505710602, -0.3670691251754761, -0.7582722902297974, -0.19650466740131378, 0.30771124362945557, -0.36176350712776184, 0.1774640679359436, 0.6053454875946045, 1.0519757270812988, -0.00009533395495964214, 0.029452895745635033, 0.21573783457279205, 0.4091949760913849, 0.5584207773208618, 0.16956447064876556, 0.9546722769737244, -0.5723192691802979, 0.48622456192970276, -0.4684883952140808, 0.1939251869916916, 0.020109079778194427, -0.908113956451416, -0.3760426938533783, -0.6077991724014282, -0.45703139901161194, -0.24519400298595428, 0.30114859342575073, 0.6670348048210144, 0.2998487055301666, -0.7460824847221375, -0.16538992524147034, 0.03973502665758133, 0.39422160387039185, -0.2789183557033539, -0.1770371049642563, 0.4775458574295044, -0.4704052209854126, -0.7811369895935059, 0.46593472361564636, 0.06165625900030136, 0.06111297756433487, 0.1860855221748352, 0.045644380152225494, -0.5419248938560486, 0.1391191929578781, 0.5312146544456482, 0.3710930049419403, -0.56173175573349, -0.6339253783226013, -0.030459517613053322, -0.04538172110915184, 0.11341755837202072, 0.5063760280609131, -0.8768392205238342, 0.8863098621368408, 0.5866839289665222, 0.4291307330131531, 0.5327259302139282, 0.38142701983451843, 0.7283484935760498, -0.6578369140625, 0.13422958552837372, -0.22313979268074036, 0.4186922311782837, 0.6367978453636169, -0.2896740734577179, 0.36547064781188965, 0.1839367002248764, -0.38443803787231445, -0.7134093642234802, -0.05437406152486801, -0.21431395411491394, -0.3244015574455261, 0.9267385005950928, -0.0320252887904644, -0.10815022140741348, -0.28115490078926086, -0.4495052397251129, 0.33943867683410645, -0.31377118825912476, 0.7081769704818726, 0.6177262663841248, 0.14043296873569489, -0.05733468011021614, -0.42182686924934387, 0.5847172737121582, 0.15923258662223816, -0.9501677751541138, 0.463808536529541, 0.9352426528930664, 0.5831080675125122, -0.0410488098859787, 1.0189213752746582, -0.03462383896112442, 0.2671796679496765, 0.025328433141112328, 0.381317138671875, -0.40427300333976746, -0.32430946826934814, -0.23342689871788025, 0.1867024004459381, 0.1919030249118805, 0.1100606694817543 ]
http://arxiv.org/abs/2406.11827v1
http://arxiv.org/pdf/2406.11827v1
WPO: Enhancing RLHF with Weighted Preference Optimization
2024-06-17T17:59:13
2024-06-17T17:59:13
Wenxuan Zhou, Ravi Agrawal, Shujian Zhang, Sathish Reddy Indurthi, Sanqiang Zhao, Kaiqiang Song, Silei Xu, Chenguang Zhu
cs.CL
cs.CL, cs.AI, cs.LG
Reinforcement learning from human feedback (RLHF) is a promising solution to align large language models (LLMs) more closely with human values. Off-policy preference optimization, where the preference data is obtained from other models, is widely adopted due to its cost efficiency and scalability. However, off-policy preference optimization often suffers from a distributional gap between the policy used for data collection and the target policy, leading to suboptimal optimization. In this paper, we propose a novel strategy to mitigate this problem by simulating on-policy learning with off-policy preference data. Our Weighted Preference Optimization (WPO) method adapts off-policy data to resemble on-policy data more closely by reweighting preference pairs according to their probability under the current policy. This method not only addresses the distributional gap problem but also enhances the optimization process without incurring additional costs. We validate our method on instruction following benchmarks including Alpaca Eval 2 and MT-bench. WPO not only outperforms Direct Preference Optimization (DPO) by up to 5.6% on Alpaca Eval 2 but also establishes a remarkable length-controlled winning rate against GPT-4-turbo of 48.6% based on Llama-3-8B-Instruct, making it the strongest 8B model on the leaderboard. We will release the code and models at https://github.com/wzhouad/WPO.
[ -0.4785723090171814, -0.6221610903739929, 0.32611173391342163, 0.1646289825439453, -0.19625185430049896, -0.04829038679599762, -0.4273780584335327, -0.2522059679031372, 0.29966437816619873, 0.45788511633872986, -0.7171790599822998, 0.012162270024418831, -0.4463917016983032, -0.10376735776662827, 0.5294744372367859, 0.8951494693756104, 0.053291261196136475, -0.004684895277023315, -0.2696549594402313, -0.2754281759262085, -0.28914159536361694, -0.33607107400894165, -0.4984157681465149, -0.9542688131332397, 0.48096922039985657, 0.5229859352111816, 0.7169658541679382, 0.5432010889053345, 0.25378847122192383, 0.209319069981575, 0.04010925814509392, 0.3588811755180359, -0.5862025618553162, -0.12693561613559723, 0.09003324061632156, -0.3392588496208191, -0.3466510474681854, -0.032918430864810944, 0.5136075615882874, 0.5867707133293152, -0.8176114559173584, 0.0909600555896759, 0.015433894470334053, 0.8447586894035339, -0.9513580203056335, 0.10497871041297913, -0.4522055983543396, 0.4180958569049835, 0.09025237709283829, -0.475543737411499, -0.5136806964874268, -0.48958590626716614, 0.31303858757019043, -0.9735603928565979, -0.2507002353668213, 0.3459913730621338, 0.81151282787323, 0.3327089548110962, -0.21796852350234985, -0.10386005789041519, -0.4999988079071045, 0.9397817254066467, -0.6650683283805847, 0.3965217173099518, 0.5085369348526001, 0.09380945563316345, -0.3829551935195923, -0.22520317137241364, -0.6052814722061157, -0.5427064299583435, 0.1938478648662567, 0.29009684920310974, 0.04405904561281204, 0.06643002480268478, 0.2265377938747406, -0.05487055703997612, -0.3429662585258484, 0.1742548793554306, -0.11442568153142929, -0.12225663661956787, 0.658912181854248, -0.24818392097949982, -0.17473478615283966, -0.016259800642728806, -0.505894660949707, -0.4924842119216919, -0.7047924995422363, 0.3027406334877014, 0.8266476392745972, 0.18705622851848602, -0.0822685956954956, 0.4594336152076721, -0.30165717005729675, 0.6774232387542725, 0.14178355038166046, -0.40839770436286926, 0.5220512747764587, 0.3865492641925812, -0.1615554243326187, 0.07024094462394714, 0.7107346653938293, 0.40362870693206787, 0.34950631856918335, -0.0048133498057723045, -0.3544842600822449, -0.2569952607154846, 0.11473719775676727, -0.811211109161377, 0.19425854086875916, -0.014237591065466404, -0.6394954919815063, -0.616722047328949, 0.061244845390319824, -0.7849549651145935, -0.20305763185024261, -0.0929073691368103, 0.38542747497558594, -0.06466929614543915, -0.22088927030563354, 0.20785458385944366, -0.08018066734075546, 0.20274803042411804, 0.061592310667037964, -1.1763416528701782, 0.305541455745697, 0.6003255248069763, 0.6561829447746277, -0.20812641084194183, -0.4055138826370239, -0.7436292171478271, 0.13442203402519226, -0.3944258391857147, 0.5842361450195312, -0.4160757064819336, -0.3907220959663391, 0.14369621872901917, -0.27874699234962463, 0.1418483555316925, -0.5344188809394836, 0.5030218362808228, -0.5675021409988403, 0.4113452732563019, -0.4039037227630615, -0.5115798115730286, 0.09884218126535416, 0.43063420057296753, -0.6697373390197754, 1.1929653882980347, 0.19190002977848053, -0.7489830851554871, 0.41551724076271057, -0.6861053705215454, -0.3557679057121277, -0.19502878189086914, -0.05388479307293892, -0.7281017899513245, 0.014558340422809124, 0.1528904289007187, 0.08045174926519394, -0.14456480741500854, 0.19374804198741913, -0.6803110241889954, -0.5896766185760498, 0.1403183937072754, -0.1906190663576126, 0.4930490255355835, 0.028196295723319054, -0.36556369066238403, 0.21457506716251373, -0.8561129570007324, 0.09550649672746658, 0.2749529182910919, -0.446591854095459, -0.4704205393791199, 0.039173424243927, -0.17925091087818146, 0.23556657135486603, 0.15878993272781372, -0.6430220007896423, 0.4438389539718628, -0.6075959801673889, 0.2898099720478058, 0.9468508958816528, -0.05866718664765358, 0.5827611088752747, -0.28689736127853394, 0.7669131755828857, -0.3890189826488495, 0.4770514965057373, 0.5516983270645142, -0.4732952117919922, -0.2913956642150879, 0.02053827978670597, 0.30568215250968933, 0.5501120090484619, -0.7506425380706787, 0.6054100394248962, -0.12508974969387054, -0.0556425005197525, -0.4201698303222656, 0.061938825994729996, 0.3473244309425354, 0.8303936123847961, 0.27784034609794617, -0.27698859572410583, -0.3963622450828552, -0.7104936838150024, 0.13423459231853485, -0.2946819067001343, 0.046735405921936035, 0.4936109185218811, 0.14818203449249268, -0.012803744524717331, 0.9981037974357605, -0.9518594145774841, -0.3568638861179352, -0.40447500348091125, -0.0658164843916893, 0.017117397859692574, 0.17241384088993073, 0.3513323664665222, -0.5886850357055664, -0.29920080304145813, -0.2118198573589325, -0.33647117018699646, -0.2174561768770218, 0.22901564836502075, -0.24222972989082336, 0.31931406259536743, 0.07524961233139038, -0.4791170656681061, 0.2107287049293518, 0.634662926197052, -0.2563238739967346, 0.45415177941322327, -0.6744361519813538, 0.03462750092148781, -0.6661070585250854, -0.05158105865120888, -0.026344522833824158, -0.1852828413248062, -0.2356162965297699, -0.15505315363407135, -0.031363341957330704, -0.039679188281297684, -0.5517497062683105, 0.5269905924797058, -0.14026209712028503, -0.2864725887775421, -0.493483304977417, 0.020710080862045288, 0.1076093316078186, 0.9342092871665955, 0.13473956286907196, 0.6778027415275574, 0.18774807453155518, -0.4077783524990082, 0.33767572045326233, 0.148946613073349, -0.19685062766075134, 0.30018913745880127, -0.527990460395813, -0.1383836567401886, -0.20023082196712494, 0.5611475706100464, -0.4633861780166626, 0.03706802800297737, 0.3131867051124573, -0.13448454439640045, 0.16404367983341217, 0.05293094366788864, -0.2481619119644165, -0.20225371420383453, -0.8295868039131165, 0.40040653944015503, 0.685036301612854, -0.6262587308883667, 0.40191778540611267, 0.49622204899787903, 0.2988099753856659, -0.9549052715301514, -0.2896219491958618, -0.5241391062736511, -0.4002889394760132, -0.2692160904407501, 0.5222510099411011, -0.006202488671988249, -0.017842089757323265, -0.21565279364585876, 0.05367588624358177, 0.35315096378326416, 0.012326221913099289, 0.05806702375411987, 0.3482048511505127, 0.30982938408851624, 0.20561495423316956, -0.11075291782617569, -0.10704784095287323, -0.1143871545791626, -0.4108635485172272, 0.6879629492759705, 0.19178275763988495, -0.1737958937883377, -0.36238202452659607, 0.1316457986831665, 0.18193118274211884, -0.07085622102022171, 0.6523371934890747, 0.6957948207855225, -0.08499361574649811, -0.5382372140884399, -0.23804643750190735, -0.49877217411994934, -0.4625800848007202, 0.4273645281791687, -0.31675484776496887, -0.6525260210037231, 0.1832963526248932, -0.052511509507894516, 0.034940771758556366, 0.07764367014169693, 0.47704222798347473, -0.12356138229370117, 1.1439518928527832, 0.7102549076080322, -0.36634039878845215, 0.8165521621704102, -0.2806006073951721, 0.011375857517123222, -0.8312697410583496, -0.2499849498271942, -0.14039330184459686, -0.4242546558380127, -0.6775252223014832, -0.21672655642032623, 0.3813127279281616, 0.08690407127141953, -0.25822123885154724, 0.08057008683681488, -0.4514184594154358, 0.2076510488986969, 0.572830080986023, 0.2864657938480377, 0.16056059300899506, 0.16910667717456818, -0.08930607885122299, -0.0674571543931961, -0.690267026424408, 0.04136807844042778, 1.2007025480270386, 0.3986758589744568, 0.9466627240180969, -0.076247438788414, 0.7175275683403015, 0.7364841103553772, 0.29176411032676697, -0.8867658376693726, 0.366278737783432, -0.025265732780098915, 0.097707599401474, -0.5758731365203857, -0.724025547504425, -0.8813793063163757, 0.5120763778686523, -0.20591989159584045, -0.3876028060913086, 0.22640596330165863, 0.5996976494789124, -0.2599678039550781, 0.18138980865478516, -0.49282023310661316, 0.5654855370521545, -0.18088392913341522, -0.30495989322662354, -0.3851684331893921, -0.5552027821540833, 0.336001992225647, 0.317945659160614, 0.26276907324790955, -0.2317131608724594, -0.2812460660934448, 0.8809105753898621, -0.7468195557594299, 0.45560482144355774, -0.5326094031333923, -0.4122443199157715, 0.2168015092611313, -0.41920006275177, 0.8980635404586792, -0.015677249059081078, -0.1363610327243805, -0.1313256472349167, -0.2599790692329407, -0.42939987778663635, -0.6928605437278748, 0.5268025398254395, -0.9977447390556335, -0.328175812959671, -0.3925663232803345, -0.4599625766277313, -0.5916926264762878, -0.09927140176296234, 0.22255480289459229, 0.3402045667171478, -0.10794615000486374, -0.15018442273139954, 0.7024340033531189, -0.09952235221862793, 0.5197643637657166, 0.4231049418449402, -0.22124361991882324, -0.6835399866104126, 0.9909799695014954, -0.12229975312948227, 0.40893951058387756, 0.58017897605896, 0.8667662739753723, -0.5471834540367126, -0.18555967509746552, -0.6378278136253357, 0.23121222853660583, -0.4414963722229004, -0.18544979393482208, -0.3371288478374481, 0.2248218059539795, -0.39936894178390503, 0.07833436876535416, -0.3511259853839874, -0.535837709903717, 0.06590351462364197, -0.04632218927145004, 0.27857881784439087, 0.3399973213672638, -0.04412662237882614, 0.372367799282074, -0.24133791029453278, 0.1430402398109436, 0.3362658619880676, 0.34827402234077454, 0.2420508712530136, -0.5842745900154114, -0.12581370770931244, -0.002258181106299162, -0.524387538433075, -0.7632439732551575, 0.3110544979572296, 0.3294680118560791, 0.39956462383270264, 0.6032088398933411, 0.12701644003391266, 0.6229850053787231, -0.40170565247535706, 0.22320771217346191, 0.2437085509300232, -0.7117524743080139, 0.5003547072410583, -0.11209497600793839, 0.15806908905506134, 0.4962255656719208, 0.2105434089899063, -0.36947107315063477, -0.003223372856155038, -0.6413337588310242, -0.6510961055755615, 0.7839255928993225, -0.10312876105308533, -0.0979175716638565, 0.3000340759754181, 0.4081616997718811, -0.07750935107469559, 0.28051915764808655, -0.7961984276771545, -0.1496322900056839, -0.1645601987838745, -0.1258460432291031, 0.2775799036026001, -0.10779504477977753, -0.1747753620147705, 0.0016371449455618858, 0.99727463722229, -0.45521727204322815, -0.1426120400428772, 0.05867033079266548, 0.09501426666975021, -0.2364722192287445, 0.1968529373407364, 0.7758306860923767, 0.6137570738792419, -0.4023456573486328, -0.14354683458805084, 0.29344120621681213, -0.5625553727149963, 0.29843711853027344, -0.09727083146572113, -0.39511987566947937, -0.43992361426353455, 0.36299949884414673, 0.8960773348808289, 0.2283271849155426, -0.9758392572402954, 0.6479635834693909, -0.01602586917579174, -0.23045243322849274, -0.058618612587451935, 0.04059406369924545, -0.12561166286468506, 0.008517791517078876, 0.2815746068954468, -0.14197061955928802, 0.03238525241613388, -0.5465989112854004, 0.26720279455184937, 0.5767080783843994, -0.44551554322242737, -0.14246806502342224, 0.27944257855415344, 0.20890089869499207, -0.2068307101726532, 0.21379098296165466, -0.3934260606765747, -0.5867264866828918, 0.5520865321159363, 0.7210280299186707, 0.367494136095047, -0.1675797402858734, 0.3988448679447174, 0.28623709082603455, 0.08708448708057404, -0.354509562253952, 0.35466402769088745, -0.28567564487457275, -0.8698374629020691, -0.38351017236709595, -0.7310349941253662, -0.5342251062393188, -0.04712024703621864, -0.8285695910453796, 0.2913350462913513, -0.5801642537117004, -0.20195572078227997, -0.4942290186882019, 0.34301087260246277, -0.2614850401878357, 0.07548972219228745, -0.010062160901725292, 0.6290091872215271, -0.9411311149597168, 1.07155442237854, 0.4458603858947754, -0.23942561447620392, -0.8161292672157288, 0.2005075365304947, -0.2134418785572052, -1.225488305091858, 0.396586537361145, -0.11939939111471176, -0.15820667147636414, 0.018881453201174736, -0.12121224403381348, -0.8294785618782043, 1.1254149675369263, 0.36531415581703186, -0.5683615803718567, 0.08400612324476242, -0.03341308981180191, 0.27688294649124146, -0.4035932421684265, 0.3710498511791229, 0.5886341333389282, 0.4745347201824188, 0.18227800726890564, -0.6412412524223328, 0.10390770435333252, 0.4348604083061218, 0.20197825133800507, 0.3457586169242859, -0.9973879456520081, 0.4487839341163635, -0.45704737305641174, 0.25507524609565735, -0.33907732367515564, 0.7425318360328674, 0.8366431593894958, -0.04024767875671387, 0.9903977513313293, 0.9441191554069519, 0.588003396987915, 0.2659554183483124, 0.9438463449478149, 0.09065398573875427, 0.5376360416412354, 0.9082996249198914, -0.6996700167655945, 1.0473088026046753, 0.6850676536560059, -0.4282907247543335, 0.5551297068595886, 0.6843083500862122, 0.02200915664434433, 1.0673505067825317, 0.531970202922821, -0.22042685747146606, -0.10971903800964355, -0.3429306745529175, -0.22878660261631012, 0.4040919542312622, -0.12921415269374847, 0.04750538989901543, -0.10532163828611374, 0.29752063751220703, 0.10419122129678726, 0.1401042938232422, -0.2420571744441986, 0.8124407529830933, -0.12324292212724686, -0.9410397410392761, 0.5496824383735657, 0.2063453495502472, 1.0349433422088623, -0.8575655817985535, -0.15273256599903107, -0.27033379673957825, 0.3107086718082428, -0.14929768443107605, -0.36743035912513733, 0.021970510482788086, -0.3950684070587158, -0.25638076663017273, -0.2103278487920761, 0.5828171372413635, -0.6071298122406006, -0.3599906265735626, 0.5709474682807922, 0.09931759536266327, -0.3075003921985626, 0.19271178543567657, -0.7763886451721191, 0.19267433881759644, 0.08010714501142502, -0.5336551666259766, 0.5338665246963501, 0.10640441626310349, -0.26613864302635193, 0.7391866445541382, 0.7202839851379395, 0.5382831692695618, -0.16662070155143738, 0.5675483345985413, 0.4929748773574829, -0.36248549818992615, -0.9123945832252502, -0.794046938419342, -0.06988251954317093, -0.16068612039089203, -0.3314248323440552, 0.2790752351284027, 0.4658241271972656, 0.7604520320892334, -0.0036767239216715097, 0.575186014175415, -0.13708940148353577, 0.2572152018547058, -0.5168073177337646, 0.6305772066116333, -0.7076085209846497, 0.1469452828168869, -0.043970853090286255, -0.8987476229667664, 0.19733546674251556, 0.461126446723938, -0.028981361538171768, 0.1005578264594078, 0.555451512336731, 0.8379483819007874, -0.00042524232412688434, -0.25016528367996216, 0.3967578411102295, -0.3326578736305237, 0.23983518779277802, 0.7051426768302917, 0.6219998598098755, -0.28600233793258667, 0.6867619752883911, -0.4379843473434448, -0.6121554374694824, -0.2075706124305725, -1.001462459564209, -0.6349062919616699, -0.2915467619895935, -0.1363219916820526, -0.2612186074256897, 0.08970916271209717, 1.1534188985824585, 0.9929120540618896, -0.5259135365486145, -0.2837333083152771, -0.007791297975927591, 0.30703938007354736, -0.5130475163459778, -0.26463037729263306, 0.49756237864494324, -0.24714675545692444, -0.6033086180686951, 0.3006366491317749, 0.18143430352210999, -0.10658501833677292, -0.5225135087966919, -0.5603770017623901, -0.044400643557310104, 0.1446673423051834, 0.5262854695320129, 0.3966172933578491, -0.6710349321365356, -0.26230674982070923, -0.3218575119972229, -0.001338582020252943, -0.04240516945719719, 0.9986326694488525, -0.7671317458152771, 0.08361288160085678, 0.5752739310264587, 0.6016170978546143, 0.4411330819129944, 0.2895428538322449, 0.5980620980262756, -0.9108113050460815, 0.49145200848579407, 0.08775491267442703, 0.42809537053108215, 0.23545029759407043, -0.5247743725776672, 0.3821031451225281, 0.3750549852848053, -0.5085806250572205, -0.8092132806777954, 0.22023354470729828, -0.9069709181785583, -0.2186158001422882, 1.074979543685913, -0.06994490325450897, -0.1933417171239853, 0.346005380153656, -0.00036708838888444006, 0.09135203063488007, -0.7313417792320251, 1.0081110000610352, 0.534058153629303, -0.4596790075302124, -0.1823084056377411, -0.5120878219604492, 0.789523184299469, 0.6602219939231873, -0.9618287086486816, -0.03310569003224373, 0.13725364208221436, 0.3305830657482147, -0.22047306597232819, 0.8854858875274658, 0.15633746981620789, 0.16278403997421265, -0.38216450810432434, 0.2147880494594574, -0.2537391781806946, -0.22574017941951752, -0.22346018254756927, 0.25207284092903137, 0.1509895920753479, -0.4339666962623596 ]
http://arxiv.org/abs/2406.11823v1
http://arxiv.org/pdf/2406.11823v1
On Efficient Language and Vision Assistants for Visually-Situated Natural Language Understanding: What Matters in Reading and Reasoning
2024-06-17T17:57:30
2024-06-17T17:57:30
Geewook Kim, Minjoon Seo
cs.CV
cs.CV, cs.CL
Recent advancements in language and vision assistants have showcased impressive capabilities but suffer from a lack of transparency, limiting broader research and reproducibility. While open-source models handle general image tasks effectively, they face challenges with the high computational demands of complex visually-situated text understanding. Such tasks often require increased token inputs and large vision modules to harness high-resolution information. Striking a balance between model size and data importance remains an open question. This study aims to redefine the design of vision-language models by identifying key components and creating efficient models with constrained inference costs. By strategically formulating datasets, optimizing vision modules, and enhancing supervision techniques, we achieve significant improvements in inference throughput while maintaining high performance. Extensive experiments across models ranging from 160M to 13B parameters offer insights into model optimization. We will fully open-source our codebase, models, and datasets at https://github.com/naver-ai/elva .
[ -0.3343244791030884, -0.7828986048698425, 0.731769323348999, 0.1428331583738327, -0.17886489629745483, -0.42171669006347656, -0.17654167115688324, -0.880725622177124, -0.21605829894542694, 0.6916504502296448, -0.25315719842910767, -0.4110022187232971, -0.3972656726837158, 0.044164493680000305, -0.23790569603443146, 0.3672686815261841, -0.10192026197910309, -0.05099671706557274, -0.436771959066391, -0.4077114760875702, -0.3172822594642639, -0.02085813134908676, -0.48580917716026306, 0.02748109959065914, 0.5548654794692993, 0.37235575914382935, 0.7066697478294373, 0.9652900099754333, 0.6399799585342407, 0.3767746686935425, -0.21742790937423706, 0.37247776985168457, -0.1762094646692276, 0.05944050848484039, -0.25850245356559753, -0.4584295451641083, -0.39596882462501526, -0.1853867471218109, 0.5388804078102112, 0.8089039325714111, -0.01507589966058731, 0.15570557117462158, 0.12827804684638977, 0.8410782814025879, -1.0257269144058228, 0.4920833706855774, -0.3534245193004608, -0.1943260282278061, -0.06252223253250122, 0.08533366769552231, -0.6811047196388245, -0.16379348933696747, 0.504804790019989, -1.1828862428665161, 0.23842956125736237, 0.20893390476703644, 0.8873419761657715, 0.5762746930122375, -0.29327645897865295, -0.14418214559555054, -0.562423050403595, 0.7881626486778259, -0.38773930072784424, 0.6923055052757263, 0.5182648301124573, 0.24527229368686676, 0.23376613855361938, -0.5252659320831299, -0.47815898060798645, 0.008525229059159756, -0.18942533433437347, 0.10102132707834244, -0.33116430044174194, 0.25558891892433167, 0.13281583786010742, 0.13586220145225525, -0.6068830490112305, 0.03268800675868988, -0.4232303500175476, 0.1410825401544571, 0.343789279460907, -0.05288337916135788, 0.39526480436325073, -0.24198703467845917, 0.039517998695373535, -0.16581201553344727, -0.3815062940120697, -0.15527446568012238, 0.19104482233524323, 0.03993136063218117, -0.14225144684314728, 0.6419460773468018, -0.3295089900493622, 1.1838898658752441, -0.17299401760101318, 0.03209654614329338, 0.1477457582950592, -0.6556422710418701, -0.42549073696136475, -0.3498622179031372, 0.3436797261238098, 0.3299490213394165, 0.4682924151420593, -0.13886860013008118, -0.022296514362096786, 0.10358580201864243, 0.46907126903533936, -0.5377777814865112, -0.2714322805404663, 0.19163677096366882, -0.3388308584690094, -0.20304855704307556, -0.09203915297985077, -0.8032459020614624, -0.5108416080474854, -0.7251160144805908, 0.6059311032295227, -0.27729541063308716, -0.03980209305882454, 0.3010988235473633, -0.2196500152349472, 0.26590174436569214, 0.7279619574546814, -0.9297537207603455, 0.13434630632400513, 0.4026157259941101, 0.7656036615371704, -0.005910898558795452, -0.06775940954685211, -0.5873652696609497, 0.22315974533557892, -0.3889104723930359, 0.6016973853111267, -0.5937258005142212, -0.06892456859350204, -0.12743499875068665, -0.09166492521762848, -0.3763168156147003, -0.305200457572937, 0.5216189026832581, -0.44642776250839233, 0.20411032438278198, 0.02063792198896408, -0.36934173107147217, -0.2777869701385498, 0.12214314937591553, -1.0255125761032104, 0.6564508676528931, -0.1487998217344284, -0.7667202353477478, 0.4318540394306183, -0.828966498374939, -0.3896481990814209, 0.11119057983160019, -0.20972391963005066, -0.29057061672210693, 0.30148953199386597, 0.74457848072052, 0.3186960816383362, -0.1437273919582367, 0.14657121896743774, 0.021599875763058662, -0.3286541998386383, -0.10340920835733414, -0.36072883009910583, 0.7097755074501038, 0.13165834546089172, -0.2906247675418854, 0.2352151870727539, -0.8848992586135864, -0.1747782975435257, 0.14687032997608185, -0.30514222383499146, -0.7800191640853882, 0.30054163932800293, 0.03115520067512989, -0.4022868275642395, 0.20055323839187622, -0.5132055878639221, -0.11603625118732452, -0.5316882729530334, 0.2555444538593292, 0.6058156490325928, -0.2794961631298065, 0.9123243093490601, 0.29366055130958557, 0.47604483366012573, -0.19216814637184143, 0.5254429578781128, -0.2737892270088196, -0.42046448588371277, -0.8996809720993042, -0.6205123662948608, 0.07143883407115936, 0.48594674468040466, -1.05657160282135, 0.10407357662916183, -0.13757668435573578, -0.3514072895050049, -0.7927404642105103, 0.04762134328484535, 0.5018478035926819, 0.7121667265892029, 0.37698543071746826, 0.0019470939878374338, -0.25361186265945435, -0.9570557475090027, -0.36329957842826843, -0.1974351555109024, 0.026079732924699783, 0.5360493063926697, 0.36026182770729065, -0.1921330988407135, 0.8146747350692749, -0.5315362215042114, -0.09003502875566483, -0.31954890489578247, -0.125164195895195, 0.07273627072572708, 0.2729322612285614, 0.5634978413581848, -1.1252844333648682, -0.3241065740585327, 0.39279887080192566, -0.7896069288253784, -0.37914302945137024, -0.16788126528263092, -0.33811911940574646, 0.3132086396217346, 0.4781828820705414, -0.5221955180168152, 0.7587396502494812, 0.7328039407730103, -0.4610098600387573, 0.3706654906272888, -0.36179599165916443, 0.04580516740679741, -0.7619732618331909, 0.1703871637582779, 0.3362639546394348, -0.10690470039844513, -0.6553951501846313, 0.42122960090637207, 0.20872671902179718, -0.03329360485076904, -0.30890771746635437, 0.6919366717338562, -0.764724612236023, -0.10367753356695175, 0.030359992757439613, 0.30438223481178284, 0.47382742166519165, 0.5310029983520508, 0.23031337559223175, 0.820716917514801, 0.5606497526168823, -0.49512597918510437, -0.005861049052327871, 0.3151765763759613, -0.5309358239173889, 0.48361146450042725, -0.8687921166419983, -0.1641060709953308, -0.22118893265724182, -0.192172110080719, -0.7522188425064087, -0.3289206326007843, 0.29106369614601135, -0.18385303020477295, 0.22036565840244293, -0.12940971553325653, -0.44852572679519653, -0.00006388228212017566, -0.1271398514509201, 0.44183075428009033, 0.2055506855249405, -0.924390971660614, 1.1109422445297241, 0.5272453427314758, -0.0044900900684297085, -0.5727382898330688, -0.7635470628738403, -0.07992688566446304, -0.02237780950963497, -0.7294296622276306, 0.13076575100421906, 0.25171610713005066, -0.6145446300506592, 0.051521360874176025, -0.09183122962713242, -0.15796154737472534, -0.07387258857488632, 0.13955454528331757, 0.3827865719795227, -0.09546797722578049, 0.36528480052948, 0.014610668644309044, -0.12453987449407578, -0.22225786745548248, -0.3189588785171509, -0.01688668318092823, -0.2715912163257599, -0.46156519651412964, -0.4970555901527405, 0.4485664963722229, 0.6807301640510559, -0.7417628765106201, 0.7982437610626221, 0.2978983223438263, -0.26255592703819275, -0.23309269547462463, -0.4400743842124939, 0.21247713267803192, -0.476548433303833, 0.5222886800765991, -0.3444558382034302, -0.6989856362342834, 0.20675240457057953, 0.3053131103515625, 0.3355943560600281, 0.177888885140419, 0.3346540629863739, -0.013317187316715717, 1.0113263130187988, 0.6103524565696716, 0.4257112145423889, 0.7760529518127441, 0.06768600642681122, 0.26687487959861755, -0.6624577045440674, -0.3622429370880127, -0.4329286813735962, 0.03664329648017883, -0.3189716041088104, -0.7626479864120483, 0.36837321519851685, -0.2048036754131317, -0.005358786787837744, 0.2733544409275055, -0.6302431225776672, 0.7295325398445129, 0.741479754447937, 0.25780153274536133, 0.44322267174720764, -0.011085832491517067, 0.003350787563249469, 0.03089926578104496, -0.7656913995742798, -0.562942385673523, 0.8939806222915649, 0.35771891474723816, 0.9692720770835876, 0.27072983980178833, 0.20424872636795044, -0.06580403447151184, -0.17088094353675842, -0.8045194745063782, 0.5274767875671387, -0.1739252358675003, -0.5065498948097229, -0.4261282682418823, -0.39208242297172546, -0.8889489769935608, 0.5937783718109131, -0.06197651848196983, -0.6503609418869019, 0.5761173367500305, 0.37048232555389404, 0.034375716000795364, 0.20406101644039154, -1.281646728515625, 1.0634620189666748, -0.061158303171396255, -0.5328191518783569, -0.2902299463748932, -0.620492696762085, 0.2311018854379654, -0.01376188825815916, 0.12929709255695343, 0.21635788679122925, -0.196823388338089, 0.4007829427719116, -0.29165560007095337, 0.9260876178741455, -0.017678895965218544, -0.04957559332251549, 0.39753100275993347, -0.1010742112994194, 0.24207031726837158, -0.15197710692882538, -0.1437883824110031, 0.12496054172515869, -0.03142077103257179, -0.5444130301475525, -0.5806832909584045, 0.37128889560699463, -0.6279509663581848, -0.37164151668548584, -0.12670479714870453, -0.5111684203147888, 0.05518043413758278, 0.16081145405769348, 0.021624214947223663, 0.8342702388763428, -0.10017579048871994, 0.4093037545681, 0.9200824499130249, -0.43185654282569885, 0.19420991837978363, 0.30422261357307434, -0.22167055308818817, -0.11281266063451767, 0.8223824501037598, 0.06808929890394211, 0.508438766002655, 0.6334439516067505, 0.00855155661702156, -0.3415130376815796, -0.4621626138687134, -0.6065795421600342, 0.2320692241191864, -0.877417802810669, 0.24243006110191345, -0.5927475094795227, 0.15365193784236908, -0.2832050919532776, -0.23435433208942413, -0.302374929189682, -0.2790676951408386, -0.46547117829322815, -0.11062687635421753, 0.38593435287475586, 0.5478321313858032, -0.014015915803611279, 0.24973468482494354, -0.42131227254867554, 0.5272146463394165, 0.3478530943393707, 0.3689570724964142, 0.12163947522640228, -0.23025868833065033, -0.35942137241363525, -0.30336305499076843, 0.2030455619096756, -0.7678597569465637, 0.39671841263771057, 0.21589119732379913, 0.5774816274642944, 0.36650577187538147, -0.10004917532205582, 0.5452390909194946, -0.4764537811279297, 0.4154205322265625, -0.027566321194171906, -0.8613733053207397, 0.7077896595001221, -0.24112263321876526, 0.5940940380096436, 0.47878822684288025, -0.0407315194606781, -0.1630735695362091, -0.35843804478645325, -0.22503246366977692, -0.8325361609458923, 0.6071457266807556, 0.3018190860748291, -0.33670568466186523, 0.08200294524431229, 0.25563135743141174, -0.028447536751627922, -0.095793217420578, -0.4296668469905853, 0.1773999184370041, -0.22444283962249756, -0.47087523341178894, 0.03262906149029732, 0.010040638037025928, 0.12951777875423431, -0.5324581861495972, 0.4903269410133362, -0.30307793617248535, 0.0000953139751800336, 0.3656889796257019, -0.34750205278396606, 0.26843276619911194, 0.1129981055855751, 0.3238518536090851, 0.7074809670448303, 0.06028345227241516, 0.16664977371692657, 0.04578804969787598, -0.7536604404449463, -0.3166881203651428, 0.03858425095677376, -0.2586573362350464, -0.003511208575218916, 0.49840840697288513, 0.9950650334358215, 0.16658884286880493, -0.9858077764511108, 0.37889009714126587, -0.32485827803611755, -0.16683758795261383, -0.0007143833208829165, 0.32647836208343506, 0.10507757216691971, 0.355746328830719, 0.06250567734241486, 0.167850524187088, 0.11345846951007843, -0.315964937210083, -0.1466779112815857, 0.1720522940158844, -0.16276663541793823, -0.07427629828453064, 0.7062048316001892, 0.41191670298576355, -0.11942587047815323, 0.5681596398353577, 0.17804722487926483, -0.17533600330352783, 0.6043938994407654, 0.06150325387716293, 0.6301762461662292, 0.1496259570121765, 0.2804037928581238, 0.2376720905303955, 0.42607057094573975, -0.022975020110607147, 0.1324988603591919, -0.3416922986507416, -0.7324483394622803, -0.6477287411689758, -0.5967443585395813, -0.6077250242233276, -0.3166065216064453, -0.7392067909240723, 0.07543642818927765, -0.22501906752586365, 0.08102890849113464, 0.06971906125545502, -0.17803558707237244, -0.6187804937362671, 0.2660866677761078, -0.012073756195604801, 1.0036743879318237, -0.7110795974731445, 0.6475575566291809, 0.5551947355270386, -0.4357411563396454, -0.6453848481178284, -0.21652153134346008, -0.12941431999206543, -0.6551499962806702, 0.318379282951355, 0.15418104827404022, -0.3813735842704773, 0.0016308686463162303, -0.7099257111549377, -0.6114510297775269, 0.9197496771812439, 0.4597623944282532, -0.6538987755775452, -0.18854960799217224, -0.25437450408935547, 0.5941804647445679, -0.1076035276055336, 0.07699432224035263, 0.5241806507110596, 0.4476657807826996, 0.022646330296993256, -0.7391746044158936, -0.30874770879745483, -0.31193050742149353, -0.08121902495622635, 0.31104788184165955, -0.3723374903202057, 0.5629683136940002, -0.31401121616363525, -0.15389055013656616, 0.12945030629634857, 0.5042233467102051, 0.2643736004829407, 0.2728325426578522, 0.44435757398605347, 0.5735540390014648, 0.7848852872848511, -0.006125648971647024, 1.2476160526275635, 0.035693906247615814, -0.012911731377243996, 1.097474455833435, -0.0325867161154747, 0.8559756278991699, 0.6927995085716248, 0.22182080149650574, 0.3064326047897339, 0.45003870129585266, 0.08011599630117416, 0.4577653706073761, -0.22088532149791718, -0.23251640796661377, -0.3579813539981842, -0.17610712349414825, 0.1111881360411644, 0.4908863604068756, 0.35429003834724426, -0.4437605142593384, -0.01052943803369999, -0.0748576745390892, -0.41195380687713623, 0.2687327265739441, -0.30976584553718567, 0.6393746137619019, -0.05706774815917015, -0.5792239308357239, 0.16174551844596863, -0.237687349319458, 0.2586042582988739, -0.44109800457954407, -0.08271616697311401, -0.021210964769124985, 0.379555344581604, -0.033751700073480606, -0.8009758591651917, 0.2789715528488159, 0.3064665198326111, -0.16457077860832214, -0.2112247347831726, 0.748395562171936, -0.27730125188827515, -0.5391268730163574, 0.3200206458568573, 0.5573433041572571, 0.13791488111019135, -0.14396241307258606, -0.45674940943717957, 0.20179623365402222, -0.04999472200870514, -0.3763178884983063, -0.012668321840465069, 0.5103989243507385, -0.1524389237165451, 0.7268657684326172, 0.601030170917511, 0.11287935823202133, 0.13248112797737122, 0.41062691807746887, 0.6188639998435974, -0.3952174186706543, -0.4496789872646332, -0.6668336391448975, 0.594321072101593, -0.21906398236751556, -0.3777468502521515, 0.5569912195205688, 0.37253841757774353, 0.6688059568405151, -0.07117795944213867, 0.46407073736190796, 0.12989620864391327, 0.3655088245868683, -0.5979763865470886, 0.7666619420051575, -0.8811043500900269, 0.06695400923490524, -0.4303545355796814, -0.7733944654464722, -0.6419152021408081, 0.8448557257652283, -0.4762036204338074, -0.18940801918506622, 0.35464388132095337, 0.7737495303153992, -0.11074012517929077, 0.07369948923587799, 0.2574436068534851, 0.05707612633705139, 0.32958507537841797, 0.4442550539970398, 0.4969177842140198, -0.20963704586029053, 0.6037284731864929, -0.007453919388353825, -0.30430305004119873, -0.21927963197231293, -0.7431657910346985, -0.9025986194610596, -0.4900412857532501, -0.3693107068538666, 0.18483678996562958, 0.13518676161766052, 0.45006269216537476, 0.7901319861412048, -0.34073707461357117, 0.16602300107479095, -0.5222123265266418, 0.19111071527004242, -0.06328683346509933, -0.2012627273797989, 0.4951627850532532, -0.01889036037027836, -0.9669627547264099, 0.2976672053337097, 0.5099259614944458, 0.07706758379936218, -0.3625626564025879, -0.09948015213012695, -0.30911412835121155, 0.3303433358669281, 0.7792130708694458, 0.28143975138664246, -0.8479424715042114, -0.2497784048318863, 0.11492424458265305, -0.21398206055164337, -0.05971010774374008, 0.2111283391714096, -0.7427952289581299, 0.9682948589324951, 0.8101206421852112, 0.9399465918540955, 0.4691556692123413, 0.1502562165260315, 0.7021780014038086, -0.6041887402534485, 0.20483621954917908, 0.06267674267292023, 0.43690308928489685, 0.44464826583862305, -0.2678477168083191, 0.7986001968383789, 0.03656655550003052, -0.42193713784217834, -0.7160381078720093, 0.1969476044178009, -1.0212900638580322, -0.5413251519203186, 0.9653655886650085, 0.019709676504135132, -0.7048165202140808, -0.08378854393959045, -0.5168355703353882, 0.1600465625524521, -0.09991015493869781, 0.36498597264289856, 0.5299637913703918, -0.13424962759017944, -0.5321862697601318, -0.6699070334434509, 0.13976892828941345, 0.4416237473487854, -0.9170072674751282, 0.15635360777378082, 0.635640561580658, -0.18367508053779602, 0.053531672805547714, 0.32205232977867126, -0.02391349896788597, 0.3848131000995636, 0.21989962458610535, 0.10372738540172577, 0.018252449110150337, -0.6917589902877808, -0.32590624690055847, 0.03510468453168869, -0.19972452521324158, -0.4370802342891693 ]
http://arxiv.org/abs/2406.11817v1
http://arxiv.org/pdf/2406.11817v1
Iterative Length-Regularized Direct Preference Optimization: A Case Study on Improving 7B Language Models to GPT-4 Level
2024-06-17T17:55:38
2024-06-17T17:55:38
Jie Liu, Zhanhui Zhou, Jiaheng Liu, Xingyuan Bu, Chao Yang, Han-Sen Zhong, Wanli Ouyang
cs.CL
cs.CL, cs.AI, cs.LG
Direct Preference Optimization (DPO), a standard method for aligning language models with human preferences, is traditionally applied to offline preferences. Recent studies show that DPO benefits from iterative training with online preferences labeled by a trained reward model. In this work, we identify a pitfall of vanilla iterative DPO - improved response quality can lead to increased verbosity. To address this, we introduce iterative length-regularized DPO (iLR-DPO) to penalize response length. Our empirical results show that iLR-DPO can enhance a 7B model to perform on par with GPT-4 without increasing verbosity. Specifically, our 7B model achieves a $50.5\%$ length-controlled win rate against $\texttt{GPT-4 Preview}$ on AlpacaEval 2.0, and excels across standard benchmarks including MT-Bench, Arena-Hard and OpenLLM Leaderboard. These results demonstrate the effectiveness of iterative DPO in aligning language models with human feedback.
[ -0.502419650554657, -0.5372953414916992, 0.5965970754623413, 0.27146127820014954, -0.506862223148346, 0.10088375210762024, -0.5138683915138245, -0.44077953696250916, 0.1471281498670578, 0.34314247965812683, -0.3066660165786743, -0.27388206124305725, -0.6721900701522827, 0.39161479473114014, 0.15186338126659393, 0.7339923977851868, -0.09964039921760559, -0.07419675588607788, -0.015973595902323723, 0.19060426950454712, -0.7435840964317322, -0.42324990034103394, -0.7507251501083374, -0.22961920499801636, 0.5648767948150635, 0.6344706416130066, 0.8243497610092163, 1.0095274448394775, 0.6846825480461121, 0.26012298464775085, -0.12014919519424438, 0.03764450177550316, -0.7474086880683899, -0.06353633850812912, 0.074412502348423, -0.20768040418624878, -0.5917588472366333, 0.008381737396121025, 0.681344211101532, 0.5871737599372864, -0.5215756893157959, -0.1158260777592659, -0.033444758504629135, 0.944690465927124, -0.41718825697898865, 0.21965137124061584, -0.6723368167877197, -0.07365644723176956, -0.13102783262729645, -0.3255755305290222, -0.3454590141773224, -0.5721185803413391, 0.33444833755493164, -0.6231740117073059, 0.26094961166381836, 0.05995522812008858, 1.0153725147247314, 0.436008483171463, -0.09649818390607834, -0.30163654685020447, -0.7756344676017761, 0.7025681138038635, -0.9842353463172913, 0.39394310116767883, 0.5400914549827576, 0.3164893388748169, -0.18092423677444458, -0.30028361082077026, -0.5060279965400696, -0.6290526390075684, 0.10050614178180695, 0.15470150113105774, 0.024442965164780617, 0.527437686920166, 0.17878146469593048, 0.5114864706993103, -0.4681013226509094, 0.3249436616897583, -0.6591331362724304, 0.04627799615263939, 0.5739768743515015, -0.01007656566798687, -0.1994347870349884, -0.019258273765444756, -0.09099826961755753, -0.08903878927230835, -0.5491383075714111, 0.34541547298431396, 0.7798841595649719, 0.4001408517360687, 0.2776023745536804, 0.47658872604370117, -0.5409448146820068, 1.0665308237075806, 0.44013458490371704, -0.4224618077278137, 0.0317978709936142, -0.11559651046991348, 0.14133435487747192, 0.24105632305145264, 0.5511585474014282, 0.6099733114242554, 0.19425246119499207, -0.24602010846138, -0.23160694539546967, 0.34969115257263184, 0.2537572383880615, -0.9112637042999268, 0.061256326735019684, 0.25944969058036804, -0.3302600085735321, -0.29382020235061646, -0.10518186539411545, -0.7099727392196655, -0.18040505051612854, -0.39228636026382446, 0.3317691683769226, -0.2709530293941498, -0.19807521998882294, 0.517202615737915, -0.0762525126338005, 0.006045341957360506, 0.2375565618276596, -1.1343860626220703, 0.5148202180862427, 0.5266064405441284, 0.8145151138305664, -0.3812756836414337, -0.15450069308280945, -0.6311804056167603, -0.05754275619983673, -0.4389808177947998, 0.7072767019271851, -0.707474946975708, -0.46558675169944763, -0.1675364226102829, -0.5483518838882446, 0.027341272681951523, -0.5216728448867798, 0.7528231739997864, -0.4682691693305969, 0.33427536487579346, -0.2549150586128235, -0.5959359407424927, 0.026709452271461487, 0.35768255591392517, -0.6882436871528625, 0.9736825227737427, -0.10798855125904083, -0.6669848561286926, 0.42850953340530396, -0.6745380163192749, -0.11664273589849472, -0.21487882733345032, -0.1120300367474556, -0.4354894757270813, 0.3295884430408478, 0.17653094232082367, 0.17077486217021942, -0.3941311538219452, 0.50593501329422, -0.38873961567878723, -0.708925724029541, -0.1012972891330719, -0.1571713089942932, 0.11578205972909927, 0.16742679476737976, -0.6455623507499695, 0.28936144709587097, -0.8579402565956116, 0.014375673606991768, 0.08348405361175537, -0.6424886584281921, -0.18754903972148895, -0.0012673353776335716, -0.600532591342926, 0.2027183473110199, 0.2137456238269806, -0.6603233814239502, 0.5995602011680603, -0.700642466545105, 0.21566349267959595, 1.0581821203231812, -0.39532604813575745, 0.6094974279403687, -0.17405840754508972, 0.5031982660293579, -0.2441779524087906, 0.540709912776947, 0.4379354417324066, -0.47096458077430725, -0.7750244736671448, -0.42630061507225037, 0.3640640676021576, 0.14752256870269775, -0.6298118829727173, 0.48895207047462463, -0.4195123612880707, -0.3698666989803314, -0.5841774940490723, 0.06265803426504135, 0.17257317900657654, 0.6888609528541565, 0.46563422679901123, -0.3327697813510895, -0.21732893586158752, -0.9870498776435852, -0.0030156702268868685, -0.1619291752576828, 0.06913866102695465, 0.303035706281662, -0.1215597540140152, -0.16654948890209198, 1.059836983680725, -0.6017133593559265, -0.3394673764705658, -0.28858551383018494, -0.1462756097316742, 0.2595541179180145, 0.15813347697257996, 0.6192542910575867, -0.5110952258110046, -0.5928958058357239, -0.23487994074821472, -0.13592499494552612, -0.28535032272338867, 0.3527269661426544, 0.04071630537509918, 0.2585853338241577, -0.33447468280792236, -0.37428292632102966, 0.43369537591934204, 0.6566328406333923, -0.20338772237300873, 0.16261643171310425, -0.31946536898612976, 0.44989076256752014, -0.7965341806411743, -0.07151515781879425, -0.15850113332271576, -0.01608898490667343, -0.5292948484420776, -0.29107466340065, 0.0326850526034832, -0.15045134723186493, -0.12761715054512024, 0.6383004784584045, -0.5315874814987183, -0.208352193236351, -0.5543907880783081, 0.18786399066448212, 0.11282756924629211, 0.5119402408599854, 0.2521994411945343, 0.5747845768928528, 0.32938870787620544, -0.6955932974815369, 0.36559468507766724, 0.20211051404476166, 0.057652462273836136, 0.18384838104248047, -0.671202540397644, 0.38499557971954346, -0.17525756359100342, 0.1699540764093399, -0.9006994366645813, -0.10079798102378845, 0.19341593980789185, -0.36444488167762756, 0.38934096693992615, -0.13882574439048767, -0.3732011616230011, -0.4184454083442688, -0.6930676102638245, 0.3020910620689392, 0.5021088123321533, -0.5216914415359497, 0.33445659279823303, -0.06373473256826401, -0.21780873835086823, -0.7368841767311096, 0.0016612010076642036, -0.02256031706929207, -0.34877488017082214, -0.7060372829437256, 0.42891478538513184, -0.41925546526908875, -0.14087554812431335, -0.38213643431663513, -0.17100493609905243, 0.00022941925271879882, 0.041344255208969116, -0.06832513958215714, 0.16445769369602203, 0.09957442432641983, 0.0025614744517952204, 0.05293494462966919, -0.02119259536266327, -0.4295935034751892, -0.08632314205169678, 0.7055927515029907, -0.23351916670799255, -0.07264753431081772, -0.48665469884872437, 0.4198431074619293, 0.01606147550046444, -0.1570805162191391, 0.39548367261886597, 0.2167116403579712, -0.17031624913215637, 0.12284732609987259, -0.8090611696243286, -0.4243472218513489, -0.4954150915145874, 0.16009804606437683, -0.6995401382446289, -0.9131243228912354, 0.33436328172683716, 0.14560376107692719, -0.07808078825473785, 0.3329896330833435, 0.41116079688072205, 0.4453628361225128, 1.2608497142791748, 0.8997499346733093, -0.071404829621315, 0.6931474804878235, -0.057313717901706696, 0.09177134931087494, -0.43095406889915466, -0.07255639135837555, -0.4945506453514099, -0.24239495396614075, -0.5415216684341431, -0.1539624035358429, 0.17990320920944214, 0.1947394609451294, -0.1868482232093811, 0.16557176411151886, -0.6686668395996094, 0.34146347641944885, 0.4373776614665985, 0.2513352036476135, 0.5108489990234375, 0.03418513759970665, -0.04015345126390457, -0.17727796733379364, -0.7035092711448669, -0.3832143545150757, 0.8675358891487122, 0.48114916682243347, 1.0093042850494385, 0.357166588306427, 0.7574430704116821, 0.16527479887008667, 0.27646127343177795, -0.9360387921333313, 0.2329486906528473, 0.040066950023174286, -0.41605907678604126, -0.2770797908306122, -0.5218225121498108, -0.921246349811554, -0.09344245493412018, 0.20357266068458557, -0.7853270769119263, 0.26235225796699524, 0.6349798440933228, -0.36392882466316223, -0.054078783839941025, -0.5895007252693176, 0.7127366662025452, -0.3723929524421692, -0.586412787437439, -0.14560559391975403, -0.7372415661811829, 0.18769621849060059, 0.0953311175107956, -0.050644632428884506, -0.38242673873901367, -0.096527598798275, 0.5770983099937439, -0.43894511461257935, 0.519655168056488, -0.1914784163236618, -0.14053720235824585, 0.012909413315355778, 0.0047893947921693325, 0.660034716129303, 0.08001182973384857, -0.22770683467388153, 0.010856682434678078, -0.24664896726608276, -0.5055347084999084, -0.48067474365234375, 0.9678954482078552, -0.8950898051261902, -0.9381946325302124, -0.519815981388092, -0.2926868498325348, -0.4567917287349701, 0.08420295268297195, 0.3713643550872803, 0.4450473189353943, 0.07333113998174667, -0.01705251820385456, 0.6088597774505615, -0.07168277353048325, 0.46761855483055115, 0.5148460268974304, -0.1454763412475586, -0.5085597634315491, 0.6396384239196777, -0.005667931865900755, 0.5635213255882263, 0.4033891558647156, 0.6832009553909302, -0.6864231824874878, -0.5998735427856445, -0.5879786610603333, 0.28456252813339233, -0.703083336353302, -0.18705810606479645, -0.47330695390701294, 0.32283762097358704, -0.5493472218513489, -0.07956493645906448, -0.6692394018173218, -0.39286887645721436, -0.1429605782032013, -0.20680812001228333, 0.45579981803894043, 0.801461398601532, -0.08213584125041962, 0.3333454132080078, -0.6142835021018982, 0.14791764318943024, 0.07373493909835815, 0.763973593711853, -0.2384192943572998, -0.842860758304596, -0.04100431501865387, -0.04184124246239662, -0.22672609984874725, -0.9071263670921326, 0.3579535484313965, 0.25942400097846985, 0.5780357122421265, 0.32475781440734863, 0.011917614378035069, 0.7057401537895203, -0.5841188430786133, 0.5480850338935852, 0.1635272055864334, -0.7630754113197327, 0.5844217538833618, -0.4267597794532776, 0.23591014742851257, 0.6055045127868652, 0.6289506554603577, -0.34109440445899963, 0.06254243850708008, -0.5171127319335938, -0.8302271366119385, 0.510940670967102, 0.18815769255161285, 0.10167046636343002, -0.1234254539012909, 0.677160918712616, 0.2635223865509033, 0.4559086561203003, -0.6389613151550293, -0.14710992574691772, -0.5394353866577148, -0.14217916131019592, 0.03816917911171913, -0.4773159623146057, -0.18629390001296997, -0.06101536005735397, 0.7437528967857361, -0.38086485862731934, 0.3331143260002136, 0.18886399269104004, 0.0631595179438591, -0.012473370879888535, 0.35633954405784607, 0.8004902005195618, 1.0817468166351318, -0.5970336198806763, -0.1758851408958435, -0.21712027490139008, -0.2647247314453125, 0.3187679350376129, 0.4285348355770111, 0.0708836019039154, -0.04670147970318794, -0.12278363853693008, 1.056686282157898, -0.2786445617675781, -0.4652390778064728, 0.48800355195999146, -0.33614322543144226, 0.012361200526356697, 0.015219705179333687, -0.19795538485050201, -0.199018195271492, -0.11127660423517227, 0.2870660424232483, -0.2686201333999634, 0.5344980955123901, -0.4960392117500305, -0.12757034599781036, 0.1761871874332428, -0.4240068197250366, -0.2546430230140686, 0.6001399755477905, 0.4465498626232147, 0.020515402778983116, 0.23142877221107483, -0.2072805017232895, -0.47494712471961975, 0.4298829734325409, 0.5078306198120117, 0.5422422885894775, -0.27404990792274475, 0.11961854249238968, 0.4781931936740875, 0.10348227620124817, -0.5125113129615784, 0.1309760957956314, -0.015317998826503754, -0.6533560752868652, -0.5135770440101624, -0.6377468705177307, -0.5291003584861755, 0.08642353117465973, -0.5426217317581177, 0.4315394163131714, -0.6461666226387024, -0.2688755393028259, -0.18564419448375702, 0.10385334491729736, -0.5950118899345398, 0.20654024183750153, -0.020490868017077446, 0.5918009281158447, -0.48111018538475037, 0.7037279605865479, 0.4156670570373535, -0.5079808235168457, -1.1121245622634888, -0.006605131551623344, -0.17444032430648804, -0.588966965675354, 0.6611254811286926, 0.2981608211994171, -0.11473000049591064, 0.3089466392993927, -0.15030516684055328, -1.0181976556777954, 0.9840219020843506, 0.4425271153450012, -0.8465873003005981, 0.013619380071759224, 0.17933525145053864, 0.40676066279411316, -0.19931097328662872, 0.3179514408111572, 0.6381091475486755, 0.3765704035758972, 0.12244649976491928, -1.266474962234497, 0.05630207434296608, 0.0771140456199646, 0.3129877746105194, 0.2648167610168457, -0.9061543941497803, 0.5079831480979919, -0.2778521478176117, 0.09897380322217941, 0.08387786895036697, 0.36691948771476746, 0.23726671934127808, -0.16605113446712494, 0.5002700686454773, 0.5609161257743835, 0.6155431866645813, -0.1532716304063797, 1.1163313388824463, -0.23024679720401764, 0.4681210517883301, 1.0568970441818237, -0.4608595669269562, 0.5926588773727417, 0.5345703363418579, 0.04238257557153702, 0.17830486595630646, 1.1275817155838013, 0.3973446488380432, 0.8245084285736084, 0.5194673538208008, -0.221042662858963, -0.07703936845064163, -0.13775193691253662, -0.45562297105789185, 0.4520708918571472, -0.10036322474479675, 0.006048300303518772, 0.06252928078174591, 0.004895920865237713, 0.2244490087032318, 0.18775822222232819, -0.2775269150733948, 0.8699713349342346, -0.2310555875301361, -0.917039155960083, 0.8308574557304382, 0.07327789068222046, 0.9382104873657227, -0.6922905445098877, 0.04878068342804909, -0.6919416785240173, 0.5023549199104309, -0.014006146229803562, -0.3067081868648529, 0.05435789003968239, -0.0708298608660698, -0.21104823052883148, 0.050303567200899124, 0.6790313720703125, -0.43020522594451904, -0.15770401060581207, 0.41832873225212097, 0.11676489561796188, -0.11315736174583435, -0.26363059878349304, -0.6035712957382202, 0.3429047763347626, -0.012839122675359249, -0.5023605227470398, 0.3031390905380249, 0.16803190112113953, -0.1637604981660843, 0.6008991003036499, 0.45597949624061584, 0.0401802696287632, 0.06717941164970398, 0.24026215076446533, 1.0911141633987427, -0.4898452162742615, -0.4822108745574951, -0.9392099976539612, 0.3310851752758026, -0.35490214824676514, -0.19174443185329437, 0.4802565276622772, 0.6026972532272339, 0.8243756890296936, -0.11450088024139404, 0.5916361212730408, -0.03688638284802437, 0.5059676170349121, -0.5351948142051697, 0.11874056607484818, -0.5015593767166138, 0.3904237449169159, -0.17330406606197357, -1.0931588411331177, -0.0685645192861557, 0.49625247716903687, -0.3922165632247925, 0.11453888565301895, 0.6897963881492615, 0.712544858455658, 0.10228686779737473, -0.46707743406295776, 0.5336545705795288, -0.020256418734788895, 0.49220582842826843, 0.33856889605522156, 0.6302915215492249, -0.16090478003025055, 0.7479706406593323, -0.445935994386673, -0.5473147034645081, -0.25800850987434387, -1.0309139490127563, -0.8645994067192078, -0.25182563066482544, -0.17136311531066895, -0.32880309224128723, 0.34142839908599854, 0.9877510070800781, 0.44850772619247437, -0.32399195432662964, -0.3279036581516266, 0.08511286228895187, -0.2312515377998352, -0.022737039253115654, -0.26872649788856506, 0.18279147148132324, -0.30505332350730896, -0.8232495188713074, 0.3362746834754944, 0.3023502826690674, 0.11302921175956726, -0.06608200818300247, -0.25717902183532715, -0.1698261797428131, 0.06136006489396095, 0.3843023478984833, 0.12056256830692291, -0.8787202835083008, -0.5205612778663635, 0.32286250591278076, -0.021401893347501755, 0.4021906852722168, 0.7460154891014099, -0.4223305881023407, 0.6678393483161926, 0.5069038271903992, 0.6188815832138062, 0.5834546685218811, 0.17760981619358063, 0.9407855868339539, -0.7585451602935791, 0.30117762088775635, 0.30054593086242676, 0.36933043599128723, 0.6742300987243652, -0.5339431762695312, 0.6012718081474304, 0.2719517648220062, -0.6349288821220398, -0.5164794325828552, 0.23525862395763397, -1.0748096704483032, -0.05855632200837135, 1.4438610076904297, -0.1028626561164856, 0.11798625439405441, 0.2107492834329605, -0.5447462797164917, 0.12666182219982147, -0.8303270936012268, 1.1926668882369995, 0.6056075096130371, -0.3476977050304413, -0.09822378307580948, -0.5520807504653931, 0.9993053674697876, 0.2970440089702606, -0.8697863817214966, -0.10012686252593994, 0.6419546604156494, 0.35199180245399475, 0.09106876701116562, 1.047593355178833, 0.0584624707698822, 0.17279168963432312, -0.300737589597702, 0.17422345280647278, -0.13094714283943176, -0.24338765442371368, -0.19309763610363007, -0.20663774013519287, 0.6599708199501038, -0.17190268635749817 ]
http://arxiv.org/abs/2406.11813v1
http://arxiv.org/pdf/2406.11813v1
How Do Large Language Models Acquire Factual Knowledge During Pretraining?
2024-06-17T17:54:40
2024-06-17T17:54:40
Hoyeon Chang, Jinho Park, Seonghyeon Ye, Sohee Yang, Youngkyung Seo, Du-Seong Chang, Minjoon Seo
cs.CL
cs.CL, I.2.7
Despite the recent observation that large language models (LLMs) can store substantial factual knowledge, there is a limited understanding of the mechanisms of how they acquire factual knowledge through pretraining. This work addresses this gap by studying how LLMs acquire factual knowledge during pretraining. The findings reveal several important insights into the dynamics of factual knowledge acquisition during pretraining. First, counterintuitively, we observe that pretraining on more data shows no significant improvement in the model's capability to acquire and maintain factual knowledge. Next, there is a power-law relationship between training steps and forgetting of memorization and generalization of factual knowledge, and LLMs trained with duplicated training data exhibit faster forgetting. Third, training LLMs with larger batch sizes can enhance the models' robustness to forgetting. Overall, our observations suggest that factual knowledge acquisition in LLM pretraining occurs by progressively increasing the probability of factual knowledge presented in the pretraining data at each step. However, this increase is diluted by subsequent forgetting. Based on this interpretation, we demonstrate that we can provide plausible explanations for recently observed behaviors of LLMs, such as the poor performance of LLMs on long-tail knowledge and the benefits of deduplicating the pretraining corpus.
[ -0.2121627926826477, -0.7334626913070679, 1.1433303356170654, -0.2974035143852234, -0.26834481954574585, 0.07095729559659958, -0.41630789637565613, -0.3751307427883148, -0.14214089512825012, 0.4586906135082245, -0.4657432436943054, -0.2206621915102005, -0.8662829995155334, -0.1930394470691681, -0.2766145169734955, 1.2256605625152588, 0.03754580765962601, 0.029192909598350525, -0.4664912521839142, -0.07102827727794647, -0.44504091143608093, -0.824919581413269, -0.31128084659576416, -0.47936195135116577, 0.6826195120811462, 0.22924965620040894, 0.36431220173835754, 0.613166868686676, 0.2545561194419861, 0.28500697016716003, -0.026915844529867172, -0.10817377269268036, -0.8982309103012085, -0.006408977787941694, -0.2255639135837555, -1.1107224225997925, -0.2619224190711975, 0.13639438152313232, 1.1358340978622437, 0.7712012529373169, -0.3979452848434448, 0.1708672046661377, -0.1645953357219696, 0.6525616645812988, -0.7788254022598267, 0.2387438714504242, -0.8500083684921265, 0.12806491553783417, -0.31783872842788696, -0.45098114013671875, -0.485610693693161, -0.3454999029636383, 0.25392305850982666, -0.4969143569469452, 0.3575228750705719, 0.19508978724479675, 0.9268455505371094, 0.18197257816791534, -0.4933326840400696, -0.4972507953643799, -0.8324227333068848, 0.7727943062782288, -0.44171756505966187, 0.7083101868629456, 0.47814053297042847, 0.0022578872740268707, -0.011698559857904911, -0.7543520331382751, -0.7586950659751892, -0.4504815936088562, -0.1531345248222351, -0.038110632449388504, 0.22718533873558044, 0.008581827394664288, 0.7124912142753601, 0.33590006828308105, -0.3250825107097626, 0.13716652989387512, -0.424193799495697, -0.18584880232810974, 0.3244973123073578, -0.03499513491988182, 0.1633194237947464, 0.2439366728067398, -0.3025657832622528, 0.10849130898714066, -1.1076219081878662, -0.08470648527145386, 0.07407473027706146, 0.09963716566562653, -0.0712796300649643, 0.36048057675361633, 0.11156671494245529, 0.5281590223312378, 0.053157079964876175, -0.4647494852542877, 0.23389139771461487, -0.27577635645866394, -0.18170355260372162, 0.29954203963279724, 0.5328278541564941, -0.22044320404529572, 0.5114550590515137, -0.2744722366333008, -0.31020045280456543, -0.4422735869884491, 0.32382291555404663, -0.7464752793312073, -0.21961675584316254, -0.08447179198265076, -0.2101382315158844, -0.03642117977142334, -0.04503803700208664, -0.36862480640411377, -0.31701189279556274, -0.5712822079658508, 0.6882295608520508, -0.4342694878578186, -0.27973294258117676, 0.21647341549396515, -0.041646070778369904, 0.20014022290706635, 0.3477194309234619, -1.0019440650939941, 0.22437915205955505, 0.6639942526817322, 0.5872608423233032, -0.049303505569696426, -0.3990229368209839, -0.5895172953605652, 0.17161104083061218, -0.4479081928730011, 0.4769749939441681, -0.19168241322040558, -0.0533810555934906, 0.0927763283252716, 0.03282986953854561, -0.408769428730011, -0.6346530914306641, 0.13852384686470032, -1.2290109395980835, 0.047492559999227524, -0.814751148223877, -0.7605527639389038, -0.09516739100217819, 0.3500840663909912, -0.41558101773262024, 0.6149402856826782, -0.4456630349159241, -0.9609171748161316, 0.769033670425415, -0.2281004637479782, -0.39791983366012573, -0.18127642571926117, -0.2409120500087738, -0.35837215185165405, 0.40536966919898987, -0.2753356099128723, 0.6366583108901978, -0.1635626256465912, 0.3251108229160309, -0.33569425344467163, -0.30514076352119446, 0.4757886528968811, -0.30603495240211487, 0.5748690366744995, -0.027311252430081367, -0.10032619535923004, -0.3147783577442169, -0.728979229927063, -0.4563538134098053, 0.335435152053833, -0.6033011674880981, -0.2211659699678421, 0.1818230301141739, -0.9075830578804016, 0.22317610681056976, 0.2967577874660492, -0.4172348976135254, 0.0911811962723732, -0.031801965087652206, -0.11695743352174759, 0.6909990310668945, 0.2598499655723572, 0.31594836711883545, -0.2626383304595947, 0.23304691910743713, 0.3680398166179657, -0.32867324352264404, -0.29662561416625977, 0.05798639729619026, -1.03782057762146, -0.01818264275789261, 0.2790476977825165, 0.4600093960762024, -0.4563197195529938, 0.11538152396678925, -0.4304739236831665, -0.17756417393684387, 0.14746083319187164, 0.5103166699409485, 0.3265341818332672, 0.5534310340881348, 0.2554247975349426, -0.13955806195735931, -0.4104686379432678, -0.5047568678855896, -0.09986480325460434, -0.2582051753997803, 0.17164619266986847, 0.016626674681901932, 0.6239976286888123, -0.06909595429897308, 0.8953365087509155, -0.5353821516036987, 0.1261139214038849, -0.35673290491104126, 0.3308587968349457, 0.1636865735054016, 0.4583895802497864, 0.5803682804107666, -0.6246330142021179, 0.010166848078370094, -0.1711302101612091, -0.85415118932724, 0.20254774391651154, -0.24828673899173737, -0.008450532332062721, 0.26818913221359253, 0.7517050504684448, -0.9040804505348206, 0.19943606853485107, 0.3801898956298828, 0.024489283561706543, 0.9316904544830322, -0.3951256573200226, -0.254476398229599, -0.6265855431556702, -0.04159343242645264, -0.3242742717266083, -0.339428573846817, -0.5009801983833313, -0.28569671511650085, 0.03272572159767151, 0.2748958170413971, -0.23947568237781525, 0.2157306969165802, -0.6591765284538269, -0.17023460566997528, -0.13340850174427032, 0.24664032459259033, -0.09333531558513641, 0.4263194799423218, 0.29584068059921265, 0.6806691288948059, 0.5585893988609314, -1.092983603477478, 0.17240947484970093, -0.07367337495088577, -0.5511997938156128, 0.03771234303712845, -0.37940526008605957, 0.22446341812610626, -0.41415080428123474, 0.19716747105121613, -0.8321782350540161, -0.18423126637935638, -0.15490272641181946, -0.13976635038852692, 0.7377362847328186, -0.23502206802368164, -0.5906911492347717, -0.22432342171669006, 0.23085029423236847, 0.25668686628341675, 0.5698804259300232, -0.5616669058799744, 0.5461845993995667, 0.27641791105270386, -0.2683005630970001, -0.6742875576019287, -0.5234892964363098, -0.25213053822517395, -0.212759867310524, -0.27717074751853943, -0.11843504756689072, 0.14930836856365204, -0.3447626233100891, -0.16875116527080536, -0.22103282809257507, -0.18460674583911896, 0.09118130803108215, 0.05572246387600899, 0.25205323100090027, -0.420378714799881, 0.5953469276428223, -0.20473439991474152, 0.026236677542328835, 0.6401166915893555, -0.5255012512207031, 0.5562654137611389, -0.05710788816213608, -0.3833961486816406, -0.26563504338264465, -0.32636111974716187, 0.6773719787597656, -0.25822070240974426, 1.3556123971939087, 0.47975432872772217, -0.1854066401720047, -0.19250836968421936, -0.9662566184997559, -0.18481367826461792, -0.4015578627586365, 0.5714113116264343, -0.38069233298301697, -0.7865760922431946, 0.5073588490486145, -0.3593641519546509, 0.06357794255018234, 0.2954329252243042, 0.5996419191360474, -0.20565862953662872, 0.602871835231781, 0.7096368670463562, 0.043780624866485596, 0.45655620098114014, -0.32171887159347534, 0.047984544187784195, -0.4902205169200897, -0.4271511733531952, -0.26440873742103577, 0.06917830556631088, -0.3268880248069763, -0.4290016293525696, 0.04619722068309784, 0.3171488344669342, -0.4353391230106354, -0.21498776972293854, 0.4221036434173584, 0.5850104689598083, 0.40384507179260254, 0.09340760111808777, 0.3477718234062195, -0.032401636242866516, -0.3047264516353607, 0.048856306821107864, -0.8843227028846741, -0.37379300594329834, 1.1037757396697998, 0.4866909682750702, 0.7059667706489563, -0.03902678191661835, 0.6457196474075317, -0.08662481606006622, 0.39236804842948914, -0.6058105230331421, 0.44066372513771057, 0.1805584728717804, -0.7730358242988586, -0.19638273119926453, -0.5407475233078003, -0.6859904527664185, -0.11879340559244156, -0.4442082941532135, -0.5693827271461487, 0.2024058848619461, 0.5332663059234619, -0.5140016674995422, 0.48806774616241455, -0.5950722694396973, 0.7499914169311523, -0.5138978958129883, -0.4998498857021332, -0.558335542678833, -0.7419105768203735, 0.5639134645462036, -0.5440211296081543, 0.27386149764060974, 0.02152659185230732, 0.2986682951450348, 0.8112567067146301, -0.2806231677532196, 0.7828955054283142, -0.3947860300540924, -0.2063649743795395, 0.269356906414032, 0.014232248067855835, 0.518911600112915, 0.04430003836750984, 0.033331263810396194, 0.05343792587518692, -0.10832235962152481, -0.5069090723991394, -0.6385875940322876, 0.13450539112091064, -0.9027699828147888, -0.640356183052063, -0.4337620139122009, -0.33490926027297974, -0.41964301466941833, 0.1502116620540619, 0.4442247152328491, 0.4284032881259918, -0.3469855487346649, 0.3399288058280945, 1.2742961645126343, -0.288969486951828, 0.24764204025268555, 0.669691801071167, -0.42879772186279297, 0.14205729961395264, 0.8208703398704529, 0.423464834690094, 0.6425802707672119, 0.45944833755493164, 0.051047999411821365, -0.35903748869895935, -0.8695411086082458, 0.09626030921936035, 0.5715823173522949, -0.8341544270515442, 0.08213358372449875, -0.7038247585296631, -0.23688359558582306, -0.327555775642395, 0.15361620485782623, -0.4168166220188141, -0.27392783761024475, -0.08396966010332108, -0.43586620688438416, 0.16442865133285522, 0.9639369249343872, -0.25689321756362915, 0.5709952712059021, -0.8028644919395447, 0.19432809948921204, 0.592491865158081, 0.14202742278575897, 0.1851355880498886, -0.7533920407295227, -0.6900537014007568, 0.0260333102196455, -0.12724246084690094, -0.4936981797218323, 0.10981325805187225, 0.08586636185646057, 0.6552397012710571, 0.7066282629966736, -0.2569127082824707, 0.5896622538566589, -0.590698778629303, 0.53950434923172, 0.20185838639736176, -0.605360746383667, 0.3022705614566803, -0.23613566160202026, 0.19483229517936707, 0.4933703541755676, 0.6957598924636841, -0.2716386914253235, -0.07824181020259857, -0.5821940898895264, -0.45184001326560974, 0.8367301225662231, -0.2707587480545044, 0.15584410727024078, 0.02624097838997841, 0.5916197299957275, -0.016774818301200867, 0.5023539066314697, -0.7232739329338074, -0.13811331987380981, -0.18560802936553955, 0.17731112241744995, -0.36399707198143005, -0.7685140371322632, -0.24996984004974365, -0.3510139286518097, 0.6876867413520813, 0.14531129598617554, 0.2813485860824585, -0.12722183763980865, -0.6809855699539185, 0.21754074096679688, 0.11196396499872208, 0.646970272064209, 0.9339163303375244, -0.26381009817123413, 0.2572944164276123, 0.5827901363372803, -0.6082266569137573, 0.040237586945295334, -0.2082081288099289, 0.11076835542917252, -0.1275591105222702, 0.7236654758453369, 1.1690683364868164, 0.28144571185112, -0.556467592716217, 0.6055923104286194, -0.021002525463700294, -0.17432135343551636, -0.621191680431366, 0.20019517838954926, 0.18063153326511383, 0.016011463478207588, 0.3995003402233124, 0.07528184354305267, -0.43258771300315857, -0.852716326713562, 0.27930206060409546, 0.22433558106422424, -0.08366482704877853, -0.6137433648109436, 0.42668041586875916, -0.11711809039115906, 0.2680007815361023, 0.8973963260650635, -0.13851803541183472, -0.719754695892334, 0.3650878071784973, 0.6716954708099365, 0.49444305896759033, -0.19200758635997772, -0.05537451431155205, 0.48850885033607483, 0.19573800265789032, -0.3288176357746124, -0.1527811586856842, -0.24724774062633514, -1.059624433517456, -0.6753652095794678, -0.8201487064361572, -0.17021363973617554, 0.16403119266033173, -0.6322410106658936, 0.24108529090881348, -0.7270954847335815, -0.0968477874994278, -0.37909573316574097, 0.07003128528594971, -0.9543809294700623, 0.5480502843856812, 0.43564602732658386, 0.784087598323822, -0.8008249998092651, 0.9254505038261414, 0.335518479347229, -0.2552226781845093, -1.188383936882019, 0.19355575740337372, 0.040159206837415695, -1.0779222249984741, 1.097927212715149, 0.029057450592517853, -0.03192534297704697, 0.008381358347833157, -0.5992577075958252, -1.0889731645584106, 1.0182321071624756, 0.5376396179199219, -0.6841503977775574, -0.18914829194545746, 0.18633690476417542, 0.40325117111206055, -0.26762425899505615, 0.09902983158826828, 0.7874142527580261, 0.3934359550476074, 0.3954116404056549, -0.6609656810760498, -0.03206314519047737, 0.16487571597099304, -0.4608307480812073, 0.08703427761793137, -0.5483989119529724, 1.0427217483520508, -0.4898712933063507, -0.22080448269844055, -0.331915020942688, 0.6629588603973389, 0.27098771929740906, 0.15826129913330078, 0.41566112637519836, 0.690729022026062, 1.185677170753479, 0.022745974361896515, 1.1794617176055908, -0.28634506464004517, 0.20957398414611816, 1.1141130924224854, -0.2600253224372864, 0.6768328547477722, 0.2078706920146942, -0.13491755723953247, 0.7103933095932007, 0.356079638004303, 0.26950687170028687, 0.4190978705883026, 0.01796911656856537, -0.4039316475391388, -0.6397609710693359, 0.19463664293289185, -0.3864348828792572, 0.4994490146636963, 0.4637534022331238, -0.2933676838874817, -0.06674247235059738, 0.012101562693715096, 0.3036392331123352, -0.38192442059516907, -0.39391472935676575, 0.7812071442604065, 0.3105498254299164, -0.677554726600647, 0.6462218761444092, -0.32919028401374817, 0.24727977812290192, -0.8926891088485718, 0.2793131470680237, 0.01979815773665905, 0.22895558178424835, -0.048874251544475555, -0.4669634699821472, 0.1446201056241989, -0.09035968780517578, -0.37348976731300354, -0.24480785429477692, 0.6264070868492126, -0.4324948191642761, -0.2686792016029358, 0.09776268154382706, 0.6095967292785645, 0.14751814305782318, 0.02134445495903492, -0.2977946102619171, 0.17920425534248352, -0.11913358420133591, -0.39418402314186096, 0.43224847316741943, 0.8577155470848083, 0.09659788012504578, 0.6509988903999329, 0.6338716149330139, 0.3527856767177582, 0.5138953328132629, -0.002328332979232073, 0.7492238879203796, -0.5741454362869263, -0.3037986159324646, -0.9826937317848206, 0.3242817223072052, 0.036369629204273224, 0.0007265635649673641, 0.7822625637054443, 0.4277248680591583, 0.8215581774711609, -0.05136359483003616, 0.6406004428863525, 0.1310848593711853, 0.5558602809906006, -1.071394443511963, 0.8543753027915955, -0.42539462447166443, 0.2514592409133911, 0.19228971004486084, -0.7418019771575928, -0.036660756915807724, 0.5485172867774963, -0.7321665287017822, 0.11930298060178757, 0.9068613648414612, 0.5427913665771484, -0.0728195458650589, -0.07507040351629257, 0.3306143581867218, 0.7854344844818115, 0.19549749791622162, 0.31513673067092896, 1.0406250953674316, 0.11059208959341049, 0.3245636522769928, 0.010197753086686134, -0.05734392628073692, -0.03714292496442795, -0.8831082582473755, -0.9427800178527832, -0.395730197429657, -0.15252567827701569, -0.1879367232322693, 0.06145596131682396, 0.8537089228630066, 0.7102848887443542, -0.6885296106338501, -0.1855713129043579, -0.1688641905784607, 0.21381166577339172, 0.33272072672843933, -0.12316886335611343, 0.17235568165779114, -0.8272680044174194, -0.19696645438671112, 0.1858077049255371, 0.055823925882577896, 0.19959348440170288, 0.026224179193377495, -0.13414205610752106, -0.32211461663246155, 0.12858432531356812, 0.58016437292099, 0.5567067861557007, -0.19897016882896423, -0.22188101708889008, -0.2608155608177185, 0.05796344578266144, 0.0526745468378067, 1.0504875183105469, -0.9761902689933777, 0.18833892047405243, 0.3636213541030884, 0.6028480529785156, 0.7885187268257141, -0.012196832336485386, 0.6555189490318298, -0.8110578656196594, 0.376401424407959, -0.05880438908934593, 0.4617093801498413, 0.27901899814605713, -0.15879753232002258, -0.058964140713214874, 0.5993082523345947, -0.6451034545898438, -0.8887596130371094, 0.11194806545972824, -0.4862695634365082, -0.1918347328901291, 0.8693748116493225, -0.33722347021102905, -0.13330774009227753, -0.0396864153444767, 0.20405791699886322, 0.48703423142433167, 0.14857372641563416, 0.802841305732727, 0.9785628914833069, 0.096315398812294, -0.09292125701904297, -0.7348771095275879, 0.6647719740867615, 0.42258885502815247, -0.511388897895813, 0.19445586204528809, 0.49789541959762573, 0.6523200869560242, 0.24139238893985748, 0.7436670064926147, 0.060235340148210526, 0.1115795150399208, -0.002308219438418746, -0.3045635223388672, 0.08766084164381027, -0.7155671715736389, -0.13074518740177155, 0.041237059980630875, 0.27129390835762024, 0.06641943007707596 ]
http://arxiv.org/abs/2406.11811v1
http://arxiv.org/pdf/2406.11811v1
RepLiQA: A Question-Answering Dataset for Benchmarking LLMs on Unseen Reference Content
2024-06-17T17:52:54
2024-06-17T17:52:54
Joao Monteiro, Pierre-Andre Noel, Etienne Marcotte, Sai Rajeswar, Valentina Zantedeschi, David Vazquez, Nicolas Chapados, Christopher Pal, Perouz Taslakian
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are trained on vast amounts of data, most of which is automatically scraped from the internet. This data includes encyclopedic documents that harbor a vast amount of general knowledge (e.g., Wikipedia) but also potentially overlap with benchmark datasets used for evaluating LLMs. Consequently, evaluating models on test splits that might have leaked into the training set is prone to misleading conclusions. To foster sound evaluation of language models, we introduce a new test dataset named RepLiQA, suited for question-answering and topic retrieval tasks. RepLiQA is a collection of five splits of test sets, four of which have not been released to the internet or exposed to LLM APIs prior to this publication. Each sample in RepLiQA comprises (1) a reference document crafted by a human annotator and depicting an imaginary scenario (e.g., a news article) absent from the internet; (2) a question about the document's topic; (3) a ground-truth answer derived directly from the information in the document; and (4) the paragraph extracted from the reference document containing the answer. As such, accurate answers can only be generated if a model can find relevant content within the provided document. We run a large-scale benchmark comprising several state-of-the-art LLMs to uncover differences in performance across models of various types and sizes in a context-conditional language modeling setting. Released splits of RepLiQA can be found here: https://huggingface.co/datasets/ServiceNow/repliqa.
[ -0.5677738189697266, -0.5149022340774536, 0.4572926461696625, 0.0364648774266243, -0.16868871450424194, 0.07054758816957474, -0.0853394865989685, -0.27150771021842957, -0.09320750087499619, 0.7341945171356201, -0.8192392587661743, -0.26675185561180115, -0.35157811641693115, 0.29255974292755127, -0.7189852595329285, 0.6968786120414734, -0.12309376895427704, 0.15053308010101318, -0.6736388802528381, -0.3886682093143463, -0.229018896818161, -0.39650776982307434, -0.3266509175300598, -0.2840401232242584, 0.5778862833976746, 0.45928046107292175, 0.447478324174881, 0.4955403804779053, 0.37345725297927856, 0.22861173748970032, -0.027613913640379906, 0.3292343318462372, -0.5576494336128235, 0.37557122111320496, -0.3493565618991852, -0.4217737913131714, 0.05464557558298111, 0.2442530244588852, 0.8407080769538879, 0.4813980162143707, -0.07709529250860214, 0.5933988094329834, -0.11345826089382172, 0.6097333431243896, -0.7850872278213501, -0.2747134268283844, -0.5963072180747986, -0.14279960095882416, -0.08311210572719574, 0.009243890643119812, -0.38507336378097534, -0.6628339290618896, 0.12320400774478912, -0.4982750117778778, 0.11091945320367813, 0.10348287224769592, 1.0346125364303589, 0.5144675970077515, -0.44247710704803467, -0.20052878558635712, -0.40763217210769653, 0.7398962378501892, -0.7400669455528259, 0.7549179196357727, 0.27753323316574097, 0.5219245553016663, -0.0402812622487545, -0.9338542222976685, -0.7550342679023743, -0.2195381075143814, 0.040013741701841354, 0.07301829755306244, -0.06031646206974983, -0.3066108524799347, 0.3374384939670563, 0.5133518576622009, -0.7251490354537964, -0.14000390470027924, -0.15249794721603394, -0.1454154998064041, 0.5043402314186096, 0.07923240214586258, 0.30402958393096924, -0.20771265029907227, -0.260666161775589, -0.26365455985069275, -1.0356804132461548, -0.05036533996462822, 0.3258090913295746, 0.1247994527220726, 0.022745033726096153, 0.7045263648033142, -0.41898471117019653, 0.6684381365776062, -0.01205193530768156, -0.2524350881576538, 0.2865429222583771, -0.2330855280160904, -0.23104536533355713, -0.21725381910800934, 0.5832903981208801, 0.2092905044555664, 0.4611476957798004, -0.25171446800231934, -0.11871279031038284, -0.39847278594970703, 0.13929113745689392, -1.0275492668151855, -0.19040396809577942, 0.22694286704063416, -0.27761146426200867, -0.10491794347763062, -0.021963225677609444, -0.6957424879074097, -0.5522350072860718, -0.1365550309419632, 0.2945956885814667, -0.19220879673957825, -0.1386929154396057, -0.23616696894168854, -0.12940292060375214, 0.33742383122444153, 0.1051827222108841, -0.5357154011726379, 0.3466325104236603, 0.666009783744812, 0.4905736446380615, -0.3026859760284424, -0.217911958694458, -0.7975281476974487, -0.15191417932510376, -0.3397773206233978, 0.9463831186294556, -0.6596847772598267, -0.2743004560470581, 0.17449678480625153, 0.22614529728889465, 0.005469437222927809, -0.8065676689147949, 0.7334137558937073, -0.9242125749588013, 0.4101908504962921, -0.49700728058815, -0.7873749732971191, -0.23195277154445648, 0.48195919394493103, -0.9019982218742371, 1.3462127447128296, 0.25469517707824707, -0.9488699436187744, -0.017318731173872948, -0.24343915283679962, -0.0217894334346056, -0.03788644075393677, -0.3163297772407532, -0.23545528948307037, -0.07692188024520874, 0.2330467402935028, 0.08550899475812912, -0.7889289259910583, 0.027461299672722816, -0.2912779450416565, -0.4816676378250122, 0.657515287399292, -0.479051411151886, 0.5616374015808105, 0.24402481317520142, -0.19316209852695465, -0.22829647362232208, -0.6222637891769409, 0.41812610626220703, 0.002547299489378929, -0.46690255403518677, -0.3475682735443115, -0.17293156683444977, -0.13183769583702087, 0.2894428074359894, 0.34537696838378906, -0.589507520198822, 0.017866546288132668, -0.31507018208503723, 0.13615356385707855, 0.538241982460022, 0.3121832311153412, 0.1780625730752945, -0.49962109327316284, 0.7200300097465515, -0.16293630003929138, 0.0018822827842086554, -0.14434145390987396, -0.27278774976730347, -0.9842671751976013, -0.05014662817120552, 0.7794376611709595, 0.46727681159973145, -0.857910692691803, -0.018798520788550377, -0.30790427327156067, -0.4958254396915436, -0.8658109903335571, 0.12318354845046997, 0.5617008805274963, 0.6063528656959534, 0.38130444288253784, 0.004290230106562376, -0.4945566654205322, -1.1729121208190918, -0.4479133188724518, -0.24714717268943787, -0.12867076694965363, 0.46928948163986206, 0.5063426494598389, 0.036208149045705795, 0.8225985169410706, -0.37645280361175537, 0.29206761717796326, 0.05557881295681, 0.0686049535870552, 0.07876617461442947, 0.10544277727603912, 0.0878092497587204, -1.045103907585144, -0.29134419560432434, -0.30622994899749756, -0.6270563006401062, -0.4374513030052185, 0.11797782778739929, -0.07484420388936996, 0.0017889245646074414, 0.4904441833496094, -0.4011339247226715, 0.1521427184343338, 0.7814602255821228, -0.14539556205272675, 0.6452271342277527, 0.10736693441867828, 0.29826033115386963, -1.1003402471542358, 0.18958449363708496, -0.19680055975914001, -0.20373308658599854, -0.4081556499004364, 0.3153838813304901, 0.26326650381088257, 0.08776118606328964, -0.5461107492446899, 0.7685374617576599, -0.37493839859962463, -0.33403632044792175, -0.23858822882175446, 0.3027448058128357, 0.26585885882377625, 0.28979912400245667, -0.07494962215423584, 1.2461992502212524, 0.021085603162646294, -0.3326595723628998, 0.2511284053325653, 0.33938518166542053, -0.5197726488113403, 0.28298673033714294, -0.6846914887428284, 0.3317939341068268, 0.08992795646190643, 0.10487567633390427, -1.0059192180633545, -0.1190071627497673, 0.14471493661403656, -0.4524368643760681, -0.05977940186858177, -0.10038144141435623, -0.678196907043457, -0.1636042594909668, -0.17736731469631195, 0.5402242541313171, 0.4513283669948578, -0.5768955945968628, 0.4702495336532593, 0.44828447699546814, -0.26714402437210083, -0.8784793615341187, -0.6407508850097656, -0.16946639120578766, -0.16075477004051208, -0.35501575469970703, 0.09306647628545761, -0.396027147769928, -0.3868010938167572, 0.13441525399684906, -0.15367965400218964, -0.40886056423187256, 0.1203240305185318, 0.5088868141174316, 0.1283271610736847, -0.2754864990711212, 0.4758305251598358, -0.11119385063648224, 0.16715753078460693, 0.15010496973991394, -0.09154062718153, 0.5269190073013306, -0.14141380786895752, -0.4929153025150299, -0.12275148183107376, 0.16370519995689392, 0.5604768991470337, -0.4024451673030853, 0.5244366526603699, 0.2717542052268982, -0.30771031975746155, -0.2095949947834015, -0.7825988531112671, -0.007855555042624474, -0.45775455236434937, 0.1679423302412033, -0.43133971095085144, -0.9520885944366455, 0.3899921178817749, -0.13145782053470612, 0.11052312701940536, 0.32243186235427856, 0.6467419862747192, -0.016671523451805115, 0.6488237977027893, 0.37642335891723633, -0.14449742436408997, 0.12720230221748352, -0.0492687001824379, -0.011245504952967167, -0.8818397521972656, -0.26964589953422546, -0.6967549920082092, -0.07862108200788498, -0.6733495593070984, -0.6584197282791138, 0.005070727318525314, 0.059540845453739166, -0.43408721685409546, 0.15465544164180756, -0.27215588092803955, 0.5839632153511047, 0.5940583944320679, 0.0039696888998150826, 0.6108609437942505, -0.1401948779821396, -0.31508663296699524, -0.057677261531353, -0.5940682888031006, -0.5899019837379456, 1.2286145687103271, 0.29008257389068604, 0.6120796799659729, 0.05333757400512695, 0.5160858035087585, 0.2679521143436432, 0.7260468602180481, -0.4881278872489929, 0.5453552603721619, 0.016081565991044044, -0.7894498109817505, -0.3258267045021057, -0.5268190503120422, -0.6151305437088013, 0.28456321358680725, -0.18506412208080292, -0.3917105793952942, 0.2431734949350357, -0.25095829367637634, -0.17287705838680267, 0.16638530790805817, -0.4123952388763428, 0.7183902263641357, -0.15740948915481567, -0.3595874011516571, 0.1381824016571045, -0.20263098180294037, 0.5263352990150452, -0.3681375980377197, 0.15342511236667633, -0.30561941862106323, -0.1938989758491516, 0.8448061943054199, -0.23839110136032104, 0.36567479372024536, 0.027836943045258522, -0.16510823369026184, 0.3994975686073303, 0.1308976411819458, 0.3387424349784851, 0.2373587191104889, -0.33483409881591797, -0.10820244252681732, 0.36735692620277405, -0.3546600639820099, -0.7123998403549194, 0.7282084226608276, -0.8614691495895386, -0.6183167099952698, -0.3684385418891907, -0.6266608834266663, -0.4997749924659729, 0.2865908145904541, 0.22952930629253387, 0.45820724964141846, -0.25158199667930603, 0.34160900115966797, 0.8037694692611694, -0.31314316391944885, 0.07210052013397217, 0.952759861946106, -0.3727830946445465, -0.3234897553920746, 0.6848247051239014, 0.03375992923974991, 0.17291408777236938, 0.39981797337532043, -0.0793166533112526, -0.575405478477478, -0.5104292631149292, -0.2990862727165222, 0.38767945766448975, -0.7736392021179199, -0.19003598392009735, -0.3437350392341614, -0.45066437125205994, -0.28443583846092224, 0.5074411630630493, -0.34929314255714417, -0.361508846282959, 0.014361734502017498, -0.02731672301888466, 0.23028534650802612, 0.6405704021453857, 0.1956462562084198, -0.12608098983764648, -0.6991633772850037, 0.4082857668399811, 0.6117157936096191, 0.21271482110023499, -0.1671677976846695, -0.8164716362953186, -0.08342482894659042, 0.22767426073551178, -0.0377468504011631, -0.8800374269485474, 0.22890812158584595, 0.15228843688964844, 0.5835100412368774, 0.0697372704744339, 0.31493091583251953, 0.5800049901008606, -0.5999693870544434, 0.6594125032424927, -0.255772203207016, -0.6535034775733948, 0.21488067507743835, -0.17484568059444427, 0.3276924788951874, 0.9030589461326599, 0.6331280469894409, -0.7555800080299377, -0.3997347950935364, -0.5267702341079712, -0.509042501449585, 0.2386944591999054, 0.22160078585147858, -0.009169116616249084, -0.0014270581305027008, 0.6020458936691284, 0.06197832152247429, 0.40565386414527893, -0.623722493648529, -0.32796019315719604, 0.02983792871236801, -0.12901242077350616, -0.03628856688737869, -0.3956773579120636, -0.34343090653419495, -0.06303882598876953, 0.6652090549468994, -0.07817303389310837, 0.052660103887319565, 0.2558925151824951, -0.19560445845127106, -0.0395912304520607, 0.2545674741268158, 0.29562634229660034, 0.7876893877983093, -0.2325442135334015, 0.14592887461185455, 0.339595228433609, -0.4016486704349518, 0.2418084442615509, 0.18136022984981537, -0.28854086995124817, 0.10049303621053696, 0.4601168632507324, 0.3426893949508667, 0.2698889374732971, -1.2556754350662231, 0.4679526388645172, -0.2976022958755493, -0.327396035194397, -0.5422931909561157, 0.0671929121017456, 0.3504663407802582, 0.48534664511680603, 0.5622304081916809, -0.5720716118812561, 0.08801250159740448, -0.4250226616859436, 0.5538244247436523, 0.19652187824249268, -0.39304736256599426, -0.03539666160941124, 0.3980307877063751, 0.019843431189656258, -0.2539951503276825, 0.7270936369895935, -0.036656659096479416, -0.44107291102409363, 0.5522099137306213, 0.21004226803779602, 0.6487517952919006, -0.10942170768976212, 0.38873055577278137, 0.2098522186279297, 0.31358978152275085, 0.054830458015203476, 0.37438252568244934, 0.07859241217374802, -0.8002053499221802, -0.48676249384880066, -0.6601905822753906, -0.7765550017356873, 0.5023970603942871, -0.7958694100379944, -0.08501749485731125, -0.1616712212562561, 0.13882865011692047, -0.14494548738002777, 0.2686900496482849, -0.6277770400047302, 0.47185495495796204, 0.10172293335199356, 1.379813313484192, -0.6826490759849548, 0.948963463306427, 0.5844686031341553, -0.3604891002178192, -0.8930652737617493, 0.3538278341293335, -0.22508880496025085, -0.8211644887924194, 0.7189467549324036, 0.04713059589266777, 0.03994009643793106, -0.03488703817129135, -0.45838311314582825, -1.0017846822738647, 1.1321744918823242, 0.5179479718208313, -0.46517887711524963, 0.01760590262711048, 0.25105181336402893, 0.5146170258522034, -0.43589913845062256, 0.3342239558696747, 0.6929598450660706, 0.47708800435066223, 0.07154841721057892, -0.724166214466095, 0.16256390511989594, -0.4175878167152405, -0.19603672623634338, -0.06059512495994568, -0.6522752642631531, 1.0053397417068481, 0.21924932301044464, -0.28657931089401245, 0.38344067335128784, 0.6054902672767639, 0.5928764939308167, 0.1134369820356369, 0.5681538581848145, 0.5890982151031494, 0.978857159614563, -0.11980915069580078, 1.0662624835968018, -0.36515331268310547, 0.25811195373535156, 1.466794490814209, -0.3683304786682129, 1.2550033330917358, 0.46777790784835815, -0.06839022040367126, 0.6319487690925598, 0.8317857384681702, 0.017316073179244995, 0.5840882658958435, 0.3445397615432739, -0.31492099165916443, -0.4135773777961731, -0.33393701910972595, -0.5190234184265137, 0.35767948627471924, 0.028045274317264557, -0.3381785452365875, -0.3801099956035614, -0.20121300220489502, -0.24013425409793854, 0.2514835000038147, -0.08409109711647034, 0.5141502618789673, 0.06003697216510773, -0.7856706976890564, 0.7569648027420044, -0.09526905417442322, 0.12555210292339325, -0.3768374025821686, -0.10750868171453476, -0.5813592672348022, -0.0767538920044899, 0.036776717752218246, -0.7576788067817688, 0.03468481823801994, 0.27210190892219543, -0.16933462023735046, 0.08739592134952545, 0.650979220867157, -0.4469861388206482, -0.4007059335708618, 0.20197637379169464, 0.7656261920928955, 0.25513264536857605, -0.22223593294620514, -0.7797815799713135, 0.184340238571167, -0.042352933436632156, -0.4127334654331207, 0.34827563166618347, 0.45765697956085205, 0.03463957458734512, 0.9872187972068787, 0.552424430847168, -0.028714343905448914, 0.010384510271251202, 0.07797947525978088, 1.141258955001831, -0.5360329747200012, -0.2468492090702057, -0.4533575475215912, 0.2205536663532257, -0.20828546583652496, -0.41769397258758545, 0.9405503869056702, 0.7845625281333923, 0.6777639389038086, 0.21312165260314941, 0.8681915998458862, 0.2907956838607788, 0.9475874304771423, -0.5152505040168762, 0.61322420835495, -0.7157372236251831, 0.29302531480789185, 0.011405542492866516, -0.8807030320167542, 0.18126408755779266, 0.25748419761657715, -0.4193660318851471, -0.07535267621278763, 0.6659466624259949, 0.8405634760856628, 0.11356614530086517, 0.07034225761890411, 0.32972899079322815, 0.12368807941675186, -0.03497299924492836, 0.5774907469749451, 1.1945773363113403, -0.6362382173538208, 0.7524539232254028, -0.19760994613170624, 0.1251218169927597, -0.0700806975364685, -0.73863285779953, -0.9533795714378357, -0.6256532073020935, -0.16101610660552979, -0.3509092628955841, 0.31516262888908386, 0.54642653465271, 0.6249285340309143, -0.9501047134399414, -0.10199569165706635, 0.17007960379123688, 0.1939801424741745, 0.16044679284095764, -0.19046886265277863, 0.29139500856399536, -0.04120461642742157, -0.7046304941177368, 0.4881557822227478, -0.09532011300325394, -0.1354289948940277, -0.48586174845695496, -0.14025427401065826, -0.40228328108787537, 0.21999359130859375, 0.15230923891067505, 0.4365013539791107, -0.6066352128982544, -0.3719915449619293, 0.23348112404346466, -0.2209334820508957, -0.1151839941740036, 0.6603723764419556, -0.8718029856681824, 0.18246039748191833, 0.5001725554466248, 1.0194860696792603, 0.5515359044075012, 0.2750830054283142, 0.5675360560417175, -0.7445963621139526, 0.03935636579990387, 0.21336349844932556, 0.17888380587100983, 0.46367156505584717, -0.07503709942102432, 0.6035789251327515, -0.03377201408147812, -0.5520586371421814, -0.9680987000465393, 0.17241908609867096, -0.5886821746826172, -0.4351014196872711, 1.162340521812439, -0.4191502332687378, -0.2502891719341278, -0.04008028283715248, 0.10058122128248215, 0.15052255988121033, -0.1057424545288086, 0.6838797330856323, 0.9080511331558228, 0.1952134221792221, -0.45616114139556885, -0.7994934320449829, 0.48293745517730713, 0.4084221422672272, -0.9245273470878601, 0.0877213254570961, 0.4326464533805847, 0.5378317832946777, 0.05681375786662102, 0.4351668953895569, -0.08515471965074539, 0.3592371344566345, -0.16555747389793396, 0.006544733420014381, -0.057060446590185165, -0.24543316662311554, -0.27060338854789734, 0.3197226822376251, 0.18776214122772217, -0.1449400782585144 ]
http://arxiv.org/abs/2406.11944v1
http://arxiv.org/pdf/2406.11944v1
Transcoders Find Interpretable LLM Feature Circuits
2024-06-17T17:49:00
2024-06-17T17:49:00
Jacob Dunefsky, Philippe Chlenski, Neel Nanda
cs.LG
cs.LG, cs.CL
A key goal in mechanistic interpretability is circuit analysis: finding sparse subgraphs of models corresponding to specific behaviors or capabilities. However, MLP sublayers make fine-grained circuit analysis on transformer-based language models difficult. In particular, interpretable features -- such as those found by sparse autoencoders (SAEs) -- are typically linear combinations of extremely many neurons, each with its own nonlinearity to account for. Circuit analysis in this setting thus either yields intractably large circuits or fails to disentangle local and global behavior. To address this we explore transcoders, which seek to faithfully approximate a densely activating MLP layer with a wider, sparsely-activating MLP layer. We successfully train transcoders on language models with 120M, 410M, and 1.4B parameters, and find them to perform at least on par with SAEs in terms of sparsity, faithfulness, and human-interpretability. We then introduce a novel method for using transcoders to perform weights-based circuit analysis through MLP sublayers. The resulting circuits neatly factorize into input-dependent and input-invariant terms. Finally, we apply transcoders to reverse-engineer unknown circuits in the model, and we obtain novel insights regarding the greater-than circuit in GPT2-small. Our results suggest that transcoders can prove effective in decomposing model computations involving MLPs into interpretable circuits. Code is available at https://github.com/jacobdunefsky/transcoder_circuits.
[ -0.40461671352386475, -0.42292171716690063, 0.506072998046875, 0.2480870932340622, -0.025036444887518883, -0.06755942106246948, -0.051096875220537186, -0.44513338804244995, 0.20485590398311615, 0.5590552091598511, -0.595050573348999, 0.10938125103712082, -0.8422122597694397, -0.01977234147489071, -0.7357379794120789, 0.8316629528999329, -0.2147330790758133, 0.0498063862323761, 0.1511363387107849, -0.10381476581096649, -0.25896430015563965, -0.5783365368843079, -0.28454041481018066, -0.590617835521698, 0.4948744773864746, -0.19237501919269562, 0.7979609966278076, 0.2824171483516693, 0.22022965550422668, 0.2836472690105438, -0.3027341365814209, 0.14480160176753998, -0.18818233907222748, -0.151713564991951, -0.05129186809062958, -0.2723427414894104, -0.25561946630477905, -0.08621130883693695, 0.610427975654602, 0.9572951197624207, 0.09352792054414749, 0.13715746998786926, 0.46479353308677673, 0.458442747592926, -0.4112083911895752, 0.18210232257843018, -0.6873064637184143, 0.3054741621017456, 0.10979769378900528, -0.3798474371433258, -0.49296775460243225, 0.19437424838542938, -0.09531401097774506, -0.19000014662742615, 0.39168781042099, -0.14751924574375153, 0.8009682297706604, 0.2873368561267853, -0.3107513189315796, -0.39149218797683716, -0.9564647078514099, 0.6149678826332092, -0.4024943709373474, 0.6048014163970947, 0.13654392957687378, 0.14931635558605194, -0.29765212535858154, -0.8207219839096069, -0.39887523651123047, -0.2043064385652542, -0.5577461123466492, -0.20145097374916077, -0.36768782138824463, 0.1319528967142105, 0.45295438170433044, 0.4127125144004822, -0.5859731435775757, -0.030426137149333954, -0.39210015535354614, -0.36661407351493835, 0.3637861907482147, 0.17138081789016724, 0.3865436017513275, -0.2755689322948456, -0.1835922747850418, 0.30015939474105835, -0.6323903203010559, 0.007450370118021965, 0.16753901541233063, 0.0432620495557785, 0.036453213542699814, 0.6475328207015991, 0.18697822093963623, 0.5995005369186401, 0.07333476096391678, 0.332496702671051, -0.06477457284927368, -0.24668315052986145, -0.3085814416408539, -0.17132703959941864, 0.6771814823150635, -0.1111573800444603, 0.3975551724433899, -0.3726136386394501, -0.4192212224006653, -0.3835509419441223, 0.40037208795547485, -0.7889180183410645, -0.43841391801834106, 0.08990701287984848, -0.7299602031707764, -0.07093214988708496, 0.01146208867430687, -0.452913761138916, -0.328713595867157, -0.29639068245887756, 0.6094316840171814, -0.13932271301746368, -0.04184679314494133, 0.18839770555496216, -0.09937714040279388, 0.3942236602306366, -0.03691970556974411, -1.3551231622695923, 0.7357770204544067, 0.4705955982208252, 1.011260747909546, 0.0015268101124092937, -0.34398695826530457, -0.3843535780906677, -0.029273195192217827, -0.15107597410678864, 0.4617362916469574, -0.3608003854751587, -0.23068742454051971, -0.3998323380947113, 0.275875449180603, -0.1529349684715271, -0.6635908484458923, 0.45626112818717957, -0.7605441808700562, -0.24832721054553986, -0.18903954327106476, -0.2818585932254791, 0.12440594285726547, -0.06877519190311432, -0.8802267909049988, 0.7965674996376038, 0.31203797459602356, -0.5807536840438843, 0.09237624704837799, -0.6079028248786926, -0.5588077306747437, -0.3591751456260681, -0.10734689235687256, -0.2962538003921509, 0.5735416412353516, 0.3944156765937805, 0.5247438549995422, -0.09772858023643494, 0.09477899968624115, -0.22755227982997894, -0.5703412294387817, 0.5802388787269592, -0.776410698890686, 0.7960475087165833, 0.23659160733222961, -0.4292213022708893, 0.07282239943742752, -0.5670138001441956, 0.01421709917485714, 0.1967477947473526, -0.18925213813781738, -0.07450025528669357, -0.06401097029447556, 0.12908333539962769, 0.3412529230117798, 0.06727748364210129, -0.42488497495651245, 0.20141884684562683, -0.4936044216156006, 0.9602306485176086, 0.7317186594009399, -0.025631017982959747, 0.5776628255844116, 0.15904828906059265, 0.22699876129627228, -0.08653810620307922, 0.34458035230636597, -0.04705958068370819, -0.3785618841648102, -0.8240285515785217, -0.05746525526046753, 0.40074244141578674, 0.3575669825077057, -0.6280631422996521, 0.5815532207489014, -0.2587854862213135, -0.13258720934391022, -0.5489941239356995, 0.3639640212059021, 0.16068856418132782, 0.19893215596675873, 0.6838854551315308, -0.3102162182331085, -0.29017582535743713, -1.0850259065628052, -0.37417396903038025, 0.20294944941997528, -0.3879019320011139, 0.1180291473865509, 0.44747233390808105, -0.3343909680843353, 0.615206241607666, -0.3696722388267517, -0.09024915099143982, -0.45750507712364197, 0.09306152164936066, 0.11876275390386581, 0.5514811873435974, 0.26889359951019287, -0.5826184153556824, -0.06800153106451035, -0.08266701549291611, -0.6285766363143921, -0.14105544984340668, -0.5008012652397156, 0.1335667073726654, -0.23440183699131012, 0.4746245741844177, -0.7043744325637817, 0.4376470744609833, 0.3433248698711395, 0.03970856964588165, 0.1782573014497757, -0.41915246844291687, -0.12264149636030197, -0.43450137972831726, 0.00872418750077486, -0.01987018808722496, -0.26255372166633606, -0.5619484186172485, 0.012047798372805119, 0.09584664553403854, -0.060178376734256744, -0.06768940389156342, 0.5568258166313171, -0.7040082812309265, -0.7326385378837585, -0.3666594922542572, -0.16424213349819183, 0.14803385734558105, 0.656245231628418, -0.0023882361128926277, 0.7288333773612976, 0.3007834851741791, -0.30989304184913635, 0.230677530169487, -0.0713021382689476, -0.3661312758922577, -0.00885017216205597, -0.879889965057373, 0.03746681660413742, -0.030832305550575256, 0.0952071100473404, -0.753342866897583, -0.06467980146408081, 0.35277059674263, -0.20596030354499817, 0.5279489159584045, -0.37612661719322205, -0.5684720873832703, -0.4086427688598633, -0.18508467078208923, 0.5895425081253052, 0.6276252269744873, -0.6558610200881958, 0.7399448156356812, 0.3974839746952057, 0.10338567942380905, -0.3530566394329071, -1.0649255514144897, 0.12639835476875305, 0.2656172513961792, -0.39981770515441895, 0.09979540854692459, 0.10078588128089905, 0.0813973993062973, 0.13474266231060028, -0.1925550103187561, -0.16411148011684418, 0.17692676186561584, 0.3061332702636719, -0.050146013498306274, -0.19353924691677094, -0.15420308709144592, 0.256721168756485, -0.4112298786640167, 0.3226243555545807, -0.5439579486846924, 0.6767634749412537, -0.3423643410205841, -0.6844279766082764, -0.4623999297618866, 0.14989909529685974, 0.5137981176376343, -0.21152859926223755, 0.4212971031665802, 0.6512032151222229, -0.5019901990890503, -0.36901259422302246, -0.21911737322807312, -0.18971526622772217, -0.5391494631767273, 0.47125548124313354, -0.6012122631072998, -0.7814194560050964, 0.48968344926834106, -0.19197338819503784, -0.2919529378414154, 0.49823394417762756, 0.5805934071540833, -0.15185776352882385, 1.1516411304473877, 0.485048770904541, -0.05941707268357277, 0.3653160631656647, -0.47699064016342163, 0.3325052261352539, -1.0015501976013184, -0.3654826879501343, -0.03389834612607956, -0.7298247218132019, -0.4611221253871918, -0.49980801343917847, 0.39567458629608154, -0.011070647276937962, -0.0903644934296608, 0.2875722050666809, -0.6335784196853638, 0.7511911988258362, 0.42463213205337524, 0.18047356605529785, 0.018030475825071335, 0.2608504295349121, -0.2151309698820114, -0.17322976887226105, -0.7822521328926086, -0.39933526515960693, 0.723828911781311, 0.5972735285758972, 0.9866107702255249, -0.2982777953147888, 0.4192972183227539, 0.29569047689437866, 0.20388191938400269, -0.7677183151245117, 0.3452528715133667, -0.3956107199192047, -0.44707614183425903, -0.12825845181941986, -0.4911118447780609, -0.807928204536438, 0.17197689414024353, -0.19081281125545502, -0.7615621089935303, 0.35228750109672546, 0.15768419206142426, -0.16257214546203613, 0.5534011125564575, -0.6804057359695435, 0.9078053832054138, -0.5646229386329651, -0.19586701691150665, -0.039397723972797394, -0.7366041541099548, 0.4553448259830475, 0.1354844868183136, 0.06960897892713547, 0.4295397698879242, 0.04910245165228844, 0.2615284025669098, -0.5516394376754761, 0.8531215190887451, -0.12226003408432007, -0.2438710778951645, 0.29958343505859375, 0.35561203956604004, 0.3186643719673157, -0.05183155834674835, -0.0007419459871016443, 0.43472474813461304, -0.11650750786066055, -0.4548555612564087, -0.9403027892112732, 0.7597969770431519, -0.7860212326049805, -0.22346539795398712, -0.10932955145835876, -0.6019856929779053, -0.11647924780845642, 0.03625083342194557, 0.29675790667533875, 0.5904334187507629, 0.05576496198773384, -0.1848078966140747, 0.7563256025314331, -0.14179500937461853, 0.16485734283924103, -0.07803897559642792, -0.21368426084518433, -0.1736275851726532, 1.150229573249817, 0.251706063747406, 0.2545284330844879, 0.44312572479248047, -0.013534387573599815, -0.1398501843214035, -0.6940290331840515, -0.709517240524292, 0.14580093324184418, -0.7024619579315186, 0.08439725637435913, -0.6910971403121948, -0.725616455078125, 0.16766296327114105, -0.026335950940847397, -0.4184817969799042, -0.8177847266197205, -0.291025847196579, -0.030364979058504105, -0.21639864146709442, 0.975732147693634, -0.1241811066865921, 0.398305207490921, -0.8147242069244385, 0.5822305679321289, 0.48356080055236816, 0.4431421160697937, 0.21760298311710358, -0.7818135619163513, -0.30766114592552185, 0.07021138072013855, -0.14887171983718872, -0.5788096785545349, 0.2336263805627823, 0.01985410787165165, 0.5326595306396484, 0.22711092233657837, -0.3931773602962494, 0.6389838457107544, -0.46304577589035034, 0.58035808801651, -0.037735629826784134, -1.3049137592315674, 0.4540420174598694, 0.2808641195297241, 0.10355009138584137, 0.21325638890266418, 0.2216131091117859, -0.29054194688796997, -0.2331361174583435, -0.5096078515052795, -0.6778547167778015, 0.5618325471878052, 0.5238350629806519, 0.40976405143737793, 0.2606493830680847, 0.8000914454460144, 0.08567046374082565, -0.011620582081377506, -1.007501244544983, -0.2875142991542816, -0.3602009415626526, -0.37765538692474365, 0.1907559186220169, -0.5728305578231812, 0.007397484965622425, -0.11462301015853882, 0.3175348937511444, -0.04571748524904251, 0.5081793665885925, 0.1615537703037262, -0.31143492460250854, -0.15035617351531982, 0.32637766003608704, 0.5625666975975037, 0.4684503972530365, -0.16331025958061218, 0.6501182317733765, 0.20033738017082214, -0.5348742008209229, 0.20999562740325928, 0.16679969429969788, -0.44882315397262573, -0.033679358661174774, 0.7376567721366882, 0.6878977417945862, 0.1588972806930542, -0.46646541357040405, 0.6381446123123169, -0.20560863614082336, -0.056277722120285034, -0.04676729440689087, 0.2129652202129364, -0.04512355849146843, 0.2790261209011078, 0.23061539232730865, 0.3687765300273895, 0.3647945821285248, -0.42643123865127563, 0.37383130192756653, 0.6635026931762695, -0.75142902135849, -0.6217048764228821, 0.6687355637550354, 0.06659866124391556, -0.015046701766550541, 0.6156871914863586, -0.1480625569820404, -0.6223731637001038, 0.6189108490943909, 0.47839587926864624, 1.0018154382705688, 0.07686162739992142, -0.08127126097679138, 0.22647882997989655, 0.9761453866958618, 0.03554171696305275, -0.01495189219713211, -0.05394408106803894, -0.6846258640289307, -0.5868517756462097, -0.7389756441116333, -0.04016304761171341, 0.2390950322151184, -0.5482767224311829, 0.12361857295036316, -0.7834967374801636, 0.18323147296905518, 0.14869530498981476, -0.3799823224544525, -0.48587825894355774, 0.1682427078485489, 0.18512538075447083, 0.8574775457382202, -0.9684744477272034, 0.9005506634712219, 0.3289370834827423, -0.26488715410232544, -0.7357230186462402, 0.08568970113992691, -0.2795601487159729, -1.1014068126678467, 0.8331853747367859, 0.10582631081342697, -0.2777561545372009, -0.20776423811912537, -0.6078183650970459, -0.5970311760902405, 0.8776676058769226, 0.4408720135688782, -0.5924659371376038, 0.04964281618595123, 0.3446975350379944, 0.6473773717880249, -0.1932869851589203, 0.42734581232070923, 0.6122996807098389, 0.36339038610458374, 0.01115224789828062, -0.8537253737449646, 0.28944432735443115, -0.23646168410778046, -0.0596105195581913, 0.38374388217926025, -0.4838351607322693, 0.7259019017219543, -0.3118288516998291, -0.05026999115943909, 0.1564333140850067, 0.5891305208206177, -0.11227129399776459, 0.27739664912223816, 0.43734484910964966, 0.2527642250061035, 0.5285196900367737, 0.08054398000240326, 1.0520092248916626, -0.26544126868247986, 0.44679147005081177, 0.9907397031784058, -0.01581510342657566, 0.524512767791748, 0.5919294953346252, -0.2451796978712082, 0.3861970901489258, 0.37642598152160645, -0.25489673018455505, 0.47269317507743835, 0.455798864364624, -0.029286811128258705, -0.5109215974807739, 0.1090482622385025, -0.08954228460788727, 0.2885914444923401, 0.4195868968963623, -0.7388940453529358, -0.10824073106050491, 0.021542374044656754, -0.380974143743515, -0.19008560478687286, -0.42191198468208313, 0.5187067985534668, 0.3157201409339905, -0.10184971243143082, 0.478545606136322, 0.2173117697238922, 0.41851139068603516, -0.5742326378822327, -0.2703379988670349, -0.07491949945688248, 0.1143282800912857, -0.4204700291156769, -0.8569511771202087, 0.5858561992645264, -0.10526919364929199, -0.21311865746974945, -0.24357302486896515, 1.1391385793685913, -0.24053166806697845, -0.7031515836715698, 0.4375973343849182, 0.5582420229911804, 0.08865968883037567, -0.14373229444026947, -0.6236876845359802, 0.06588736176490784, -0.06600133329629898, -0.29956260323524475, 0.4020434319972992, 0.5638214349746704, -0.03995329886674881, 0.7945883274078369, 0.4401729702949524, 0.17691251635551453, 0.14499911665916443, 0.14026260375976562, 1.1073296070098877, -0.7854177951812744, 0.02957637421786785, -0.9299619793891907, 0.3746238648891449, 0.1898309886455536, 0.10057635605335236, 0.4119831323623657, 0.615559995174408, 0.6603917479515076, -0.10872026532888412, 0.650746762752533, -0.007006431929767132, 0.06822148710489273, -0.8212635517120361, 0.5908749103546143, -0.5501991510391235, 0.6973965167999268, 0.08893486112356186, -0.891564130783081, -0.31757020950317383, 0.7032041549682617, -0.20690381526947021, 0.23215799033641815, 0.46085625886917114, 0.8989433646202087, -0.5863134264945984, 0.0328633114695549, 0.3219260573387146, 0.47711020708084106, 0.1890738308429718, 0.7208797931671143, 1.0225467681884766, -0.6588202118873596, 0.7158518433570862, -0.3204594552516937, -0.06132487580180168, 0.06652053445577621, -0.7002276182174683, -0.9286187291145325, -0.33684098720550537, -0.01746443659067154, -0.2823614776134491, -0.19689470529556274, 0.7013464570045471, 0.5879433751106262, -0.9695459604263306, -0.10904048383235931, -0.2658996880054474, 0.41066864132881165, -0.16455642879009247, -0.19988304376602173, 0.3376518785953522, -0.2219875305891037, -0.41720157861709595, 0.23133420944213867, 0.45491889119148254, 0.16402798891067505, -0.5978943705558777, -0.17337410151958466, 0.213862344622612, -0.027154995128512383, 0.6228891611099243, 0.21655908226966858, -0.7437460422515869, -0.3092029392719269, 0.0695936381816864, -0.11590038985013962, -0.12551262974739075, 1.192738652229309, -0.6875783801078796, 0.23046031594276428, 0.31819072365760803, 0.6826522946357727, 0.7916804552078247, -0.19306842982769012, 0.41740861535072327, -0.8124597668647766, 0.01739993877708912, 0.06301480531692505, 0.5484327673912048, 0.2798171937465668, -0.3535855710506439, 0.5068382024765015, 0.2933235168457031, -0.518501341342926, -0.6072458624839783, 0.27947431802749634, -1.0971025228500366, -0.42897582054138184, 0.9868628978729248, -0.05387931689620018, -0.26230841875076294, -0.15091723203659058, -0.07996974885463715, -0.08099368959665298, 0.1221148744225502, 0.577957808971405, 0.5246565937995911, -0.5256540179252625, -0.38171449303627014, -0.637833833694458, 0.35320404171943665, 0.3262830674648285, -0.5600984692573547, 0.2392241358757019, 0.29674309492111206, 0.3272987902164459, 0.25716736912727356, 0.5085804462432861, -0.045582856982946396, 0.1364389955997467, 0.04581700637936592, -0.10747253149747849, -0.14448291063308716, -0.38859355449676514, -0.6265065670013428, 0.15629902482032776, 0.20501814782619476, 0.08141639083623886 ]
http://arxiv.org/abs/2406.11801v1
http://arxiv.org/pdf/2406.11801v1
Safety Arithmetic: A Framework for Test-time Safety Alignment of Language Models by Steering Parameters and Activations
2024-06-17T17:48:13
2024-06-17T17:48:13
Rima Hazra, Sayan Layek, Somnath Banerjee, Soujanya Poria
cs.CL
cs.CL
Ensuring the safe alignment of large language models (LLMs) with human values is critical as they become integral to applications like translation and question answering. Current alignment methods struggle with dynamic user intentions and complex objectives, making models vulnerable to generating harmful content. We propose Safety Arithmetic, a training-free framework enhancing LLM safety across different scenarios: Base models, Supervised fine-tuned models (SFT), and Edited models. Safety Arithmetic involves Harm Direction Removal to avoid harmful content and Safety Alignment to promote safe responses. Additionally, we present NoIntentEdit, a dataset highlighting edit instances that could compromise model safety if used unintentionally. Our experiments show that Safety Arithmetic significantly improves safety measures, reduces over-safety, and maintains model utility, outperforming existing methods in ensuring safe content generation.
[ 0.06844258308410645, -0.6568188071250916, 0.25526344776153564, 0.19313636422157288, -0.1252448558807373, -0.08828285336494446, 0.19468379020690918, -0.4449266493320465, -0.3906109035015106, 0.5951805710792542, -0.3734951615333557, -0.5432674884796143, -0.4842749834060669, -0.21432414650917053, -0.6918243765830994, 1.0463931560516357, -0.05585751309990883, 0.022380223497748375, -0.3043299913406372, -0.25013086199760437, -0.18030723929405212, -0.719733476638794, -0.8142918944358826, 0.007601989433169365, 0.5405011177062988, 0.365824431180954, 1.0588456392288208, 1.0422321557998657, 0.5561579465866089, 0.35859447717666626, 0.12648014724254608, 0.025154704228043556, -0.47961515188217163, -0.018449842929840088, -0.17936664819717407, -0.32739466428756714, -1.0640203952789307, -0.047918859869241714, 0.45718103647232056, 0.7452545762062073, -0.338842511177063, -0.18654416501522064, -0.10334034264087677, 0.7195715308189392, -0.774699330329895, 0.007976475171744823, -0.5025705695152283, -0.11742573231458664, 0.11243581026792526, -0.20102867484092712, -0.5742502808570862, -0.824760377407074, -0.2109576016664505, -0.5443256497383118, -0.14271877706050873, 0.1902972012758255, 0.6463590860366821, 0.43863317370414734, -0.787759006023407, -0.05031345784664154, -0.2958413064479828, 0.7928600311279297, -0.8226937651634216, 0.4891725480556488, 0.28813767433166504, 0.06715323030948639, -0.475870817899704, 0.021231019869446754, -0.6154795289039612, 0.1169513463973999, 0.12469850480556488, -0.19317279756069183, 0.06931763142347336, 0.5142042636871338, 0.21032361686229706, 0.08129899948835373, -0.6423575282096863, 0.34112289547920227, -0.20848506689071655, -0.15689919888973236, 0.9727591276168823, 0.4414012134075165, 0.7534096837043762, -0.025634702295064926, -0.3021472692489624, -0.24075350165367126, -1.2341951131820679, 0.013579235412180424, 0.5797363519668579, 0.2797938585281372, -0.21777261793613434, 0.759773313999176, -0.2582966089248657, 0.6371127367019653, 0.005741365719586611, -0.3299812078475952, 0.19284263253211975, -0.3052258789539337, -0.2909145951271057, 0.43104466795921326, 0.9153309464454651, 0.6610552668571472, 0.5303813219070435, -0.20629170536994934, -0.167265847325325, 0.21506869792938232, 0.3447345197200775, -0.9616300463676453, 0.00973525457084179, 0.09644478559494019, 0.07212348282337189, -1.0417420864105225, -0.17617520689964294, -0.38986825942993164, -0.31387585401535034, -0.2992155849933624, 0.3819041848182678, -0.5535435080528259, -0.25324487686157227, 0.5631546974182129, 0.42444726824760437, 0.13001321256160736, 0.06795615702867508, -1.2208844423294067, 0.1427679806947708, 0.9954230189323425, 0.27586862444877625, -0.16139963269233704, -0.15330535173416138, -0.7318021059036255, 0.47086021304130554, -0.7235991954803467, 0.369710236787796, -0.22029854357242584, -0.45204395055770874, 0.03701571747660637, 0.16017043590545654, -0.10029768198728561, -0.0839536041021347, 0.5730465054512024, -0.7050674557685852, 0.18393711745738983, 0.09669597446918488, -0.6494542360305786, -0.2422019988298416, 0.19647592306137085, -0.5242451429367065, 0.8439723253250122, -0.13250085711479187, -0.6832289099693298, 0.308017760515213, -0.6208580732345581, -0.7186246514320374, -0.27354514598846436, -0.05058426409959793, -0.44822564721107483, 0.007738281507045031, 0.11479044705629349, 0.23003239929676056, 0.13581235706806183, 0.4439511001110077, -0.37034550309181213, -0.11763185262680054, 0.3214176595211029, -0.6829416155815125, 0.9341665506362915, -0.011319282464683056, -0.16834798455238342, 0.4764944612979889, -0.7780328392982483, 0.11238161474466324, -0.046440884470939636, -0.6139660477638245, -0.4890249967575073, 0.09848044067621231, -0.23666338622570038, 0.399259477853775, 0.10764507949352264, -0.5003925561904907, -0.12058350443840027, -0.6491269469261169, 0.14682504534721375, 0.7424592971801758, 0.23198384046554565, 0.6962032318115234, -0.3410596251487732, 0.4377703368663788, 0.07273270934820175, 0.25835639238357544, 0.03429776802659035, -0.2906869351863861, -0.8699257373809814, 0.08303478360176086, 0.3817909061908722, 0.842596709728241, -0.5078121423721313, 0.6334443688392639, -0.4984932243824005, -0.27897825837135315, -0.33301547169685364, 0.22529380023479462, 0.709664523601532, 0.6439432501792908, 0.08380217850208282, -0.10817328840494156, -0.27894318103790283, -0.6348864436149597, -0.11628594249486923, -0.4439505338668823, -0.11911462247371674, -0.1620907485485077, 0.017164498567581177, -0.16846369206905365, 0.676432728767395, -0.2574734091758728, 0.3591687083244324, -0.027146974578499794, 0.15187422931194305, -0.26853227615356445, 0.7835242748260498, 0.6180137991905212, -0.7618310451507568, -0.24920573830604553, -0.11314138025045395, -0.8290642499923706, -0.14920072257518768, 0.05925901606678963, -0.44630879163742065, 0.5319280028343201, 0.3817475736141205, -0.6751626133918762, 0.30729940533638, 0.5927348732948303, -0.3028201162815094, 0.22180356085300446, 0.018443195149302483, 0.2820564806461334, -1.1226733922958374, -0.12371191382408142, -0.10924902558326721, -0.4122137725353241, -0.8111304640769958, 0.3142486810684204, 0.4723643362522125, -0.14528429508209229, -0.8813254237174988, 0.3560623228549957, -0.0939423143863678, 0.306545227766037, -0.205713152885437, 0.06109664589166641, 0.014791405759751797, 0.17676539719104767, -0.005207393784075975, 0.9321780204772949, 0.19387292861938477, -0.5175637602806091, -0.04845556989312172, 0.2760796844959259, -0.29584261775016785, 0.5260100960731506, -0.5294358134269714, 0.2576903700828552, -0.08541066199541092, -0.2630726099014282, -0.7747225761413574, -0.4500812292098999, 0.1239476352930069, -0.30189576745033264, 0.4216423034667969, -0.1886204481124878, -0.47601374983787537, 0.2324656844139099, -0.29149433970451355, 0.6349406242370605, 0.539833128452301, -0.178385391831398, 0.32688218355178833, 0.6654338836669922, -0.43530187010765076, -0.7326177954673767, -0.3626466989517212, -0.1333416998386383, -0.4819607138633728, -0.9759027361869812, 0.0018000039272010326, -0.22724030911922455, -0.3816683888435364, -0.1423235386610031, -0.23988653719425201, -0.14355027675628662, 0.48270195722579956, 0.45412594079971313, 0.5095180869102478, -0.14901787042617798, 0.10069303959608078, 0.4012686312198639, -0.42241546511650085, 0.16669321060180664, 0.11821586638689041, 0.19862347841262817, -0.023096807301044464, -0.47362983226776123, -0.23210524022579193, 0.39922279119491577, 0.6015957593917847, -0.043299365788698196, 0.5627806782722473, -0.0324549674987793, -0.5801060795783997, 0.19375154376029968, -0.339441180229187, -0.14809446036815643, -0.5799852609634399, 0.32346177101135254, 0.08791215717792511, -0.8989723920822144, -0.06818611174821854, 0.2692869305610657, 0.5292733907699585, 0.23080843687057495, 0.40779367089271545, -0.12365904450416565, 1.4329811334609985, 0.6786948442459106, -0.0011583681916818023, 0.2888747751712799, 0.36654022336006165, 0.3690975606441498, -0.22247043251991272, -0.08017085492610931, -0.36861059069633484, -0.10772645473480225, -0.4173278510570526, -0.38761085271835327, 0.3498336672782898, 0.2455206662416458, -0.5700719952583313, 0.357229083776474, -0.17458195984363556, 0.7683815360069275, 0.2175532579421997, -0.03210044652223587, 0.35938286781311035, 0.008538580499589443, -0.07163995504379272, -0.15893572568893433, -0.43639257550239563, -0.6319401264190674, 0.9489955306053162, 0.28251489996910095, 1.0435142517089844, 0.4119361639022827, 0.689808189868927, -0.05675942450761795, 0.5320524573326111, -0.6889699101448059, 0.7416232824325562, -0.11603496968746185, -0.9620251655578613, -0.4775688350200653, -0.4611397087574005, -0.6010246872901917, 0.033471349626779556, -0.41040700674057007, -0.5045424699783325, -0.07528866082429886, 0.22668060660362244, -0.5944330096244812, 0.1926027089357376, -0.7370660305023193, 0.790958046913147, -0.7787216901779175, -0.3948928117752075, -0.26351386308670044, -0.6592058539390564, 0.580736517906189, -0.219074085354805, 0.40635237097740173, -0.48449552059173584, -0.15881407260894775, 0.5081601142883301, -0.40112775564193726, 0.9092984199523926, 0.13155244290828705, -0.2826620042324066, 0.05080243572592735, 0.5813891291618347, 0.5591934323310852, -0.11516004055738449, -0.27901098132133484, 0.1619032919406891, -0.011746901087462902, -0.2763987183570862, -0.4507858157157898, 0.7374804019927979, -0.4952062666416168, -0.7921813726425171, -0.3697272539138794, -0.997266948223114, -0.3247552216053009, 0.431911438703537, -0.13600654900074005, 0.20903363823890686, -0.07264915853738785, 0.24242781102657318, 0.8839299082756042, -0.1523437649011612, 0.6079016327857971, 0.6625370979309082, -0.05547556281089783, -0.46757933497428894, 0.7773446440696716, -0.1482478827238083, 0.6375023722648621, 0.42828530073165894, -0.11782661825418472, -0.5018227100372314, -0.6812204122543335, -0.6213524341583252, -0.04735611379146576, -0.8221020698547363, -0.27939143776893616, -0.6279274821281433, -0.3552340865135193, -0.34305182099342346, -0.39648938179016113, -0.23732005059719086, -0.9121316075325012, -0.12678755819797516, -0.723654568195343, 0.3898656368255615, 0.4792022705078125, -0.18950052559375763, 0.26760074496269226, -1.058957815170288, 0.05278350040316582, 0.2450430542230606, 0.29668134450912476, -0.3146125078201294, -0.12648218870162964, -0.09138379991054535, 0.09600569307804108, -0.38566961884498596, -0.6285271048545837, 0.29973024129867554, 0.010974506847560406, 0.36420899629592896, 0.595731258392334, 0.32110732793807983, 0.5388529896736145, -0.70912766456604, 0.5186960101127625, 0.48192599415779114, -0.8527786731719971, 0.15689966082572937, -0.5893248915672302, -0.1633186787366867, 0.7533544898033142, 0.40830153226852417, -0.43390369415283203, -0.25232627987861633, -0.33591964840888977, -0.87910395860672, 0.3219945430755615, 0.06374933570623398, 0.3382093012332916, -0.23516322672367096, 0.23479151725769043, 0.022545963525772095, 0.22973667085170746, -0.6272771954536438, 0.0769147053360939, 0.06634335964918137, -0.6473862528800964, 0.1589312106370926, -0.427534818649292, -0.4200512766838074, -0.0952877327799797, 0.7380680441856384, -0.10332156717777252, -0.17197071015834808, -0.3400009870529175, -0.2377897948026657, -0.4627711772918701, 0.49504178762435913, 0.6798004508018494, 0.5306431651115417, -0.05511556565761566, 0.20853392779827118, 0.3804989159107208, -0.2562409043312073, 0.5781019330024719, -0.09193488210439682, -0.30806997418403625, -0.5116201639175415, 0.22698746621608734, 0.48175880312919617, 0.7606713771820068, -0.5786297917366028, 0.4810068607330322, 0.033841732889413834, -0.1406537890434265, -0.06239362061023712, 0.8114845752716064, 0.2216285765171051, -0.23449940979480743, -0.08324351906776428, -0.03574731945991516, -0.031741589307785034, -0.16464264690876007, 0.39444854855537415, 0.3523089587688446, -0.4887979030609131, -0.25437894463539124, 1.0052512884140015, 0.5278976559638977, -0.5179535746574402, 0.42706069350242615, 0.00507969968020916, -0.2766890823841095, 0.4852275550365448, 0.4175516664981842, 0.8987084627151489, -0.4529839754104614, -0.05903033912181854, 0.26265081763267517, 0.5082563757896423, -0.02409282885491848, 0.45648759603500366, 0.4528048634529114, -0.7455711960792542, -0.45582354068756104, -0.5981597304344177, -0.408308744430542, -0.04869109392166138, -0.43223896622657776, 0.1991988569498062, -0.4726428687572479, 0.08586107939481735, -0.14035654067993164, -0.41788163781166077, -0.14409026503562927, 0.3363630175590515, -0.005161934066563845, 1.0088164806365967, -0.8388177156448364, 0.8273069858551025, 0.501998782157898, -0.27208611369132996, -0.9312704205513, -0.12835495173931122, 0.34086498618125916, -0.6323072910308838, 0.22614237666130066, 0.2682812213897705, -0.24174565076828003, 0.07210108637809753, -0.41574421525001526, -0.6956576108932495, 0.8920935988426208, 0.7199792265892029, -0.7299638986587524, -0.2237178385257721, 0.7185423374176025, 0.33468344807624817, -0.26210349798202515, -0.25656965374946594, 0.48667800426483154, 0.23454250395298004, -0.014688289724290371, -0.6612146496772766, 0.2764613926410675, -0.20098382234573364, -0.1643805205821991, 0.5006862878799438, -0.2998009920120239, 0.4826434552669525, -0.4450717568397522, -0.266955703496933, 0.21850521862506866, 0.38142842054367065, 0.4709133803844452, 0.21232664585113525, 0.6279948949813843, 0.8417561650276184, 0.6375821232795715, -0.1800924390554428, 1.0136752128601074, -0.5703392624855042, -0.02706465683877468, 0.8811981081962585, -0.19164833426475525, 0.7863332033157349, 0.38896623253822327, 0.04749295115470886, 0.27495822310447693, 0.5939649939537048, 0.6612054109573364, 0.6007328629493713, -0.14908023178577423, -0.5301181674003601, -0.6333926916122437, 0.10014741122722626, -0.326310396194458, 0.08714626729488373, 0.30407437682151794, -0.20216648280620575, -0.11253347992897034, -0.5068514943122864, 0.3903140723705292, -0.1400202065706253, -0.0160507932305336, 0.811492919921875, 0.18626099824905396, -0.5817744135856628, 0.4053233861923218, -0.007635331247001886, 0.2541348338127136, -0.4187328815460205, 0.03184564784169197, -0.2409006953239441, 0.23457199335098267, -0.20610368251800537, -0.9495420455932617, 0.39657700061798096, -0.015187239274382591, -0.08923743665218353, -0.06906282156705856, 0.505832850933075, -0.5183567404747009, -0.6696428656578064, 0.02635706588625908, 0.1359284520149231, -0.13210301101207733, 0.3000306487083435, -0.6039530634880066, -0.14975279569625854, -0.19799847900867462, -0.0663389265537262, 0.5621800422668457, 0.4438367486000061, -0.4550691843032837, 0.6232089996337891, 0.8775105476379395, -0.3377566933631897, 0.1994638741016388, -0.1369691789150238, 0.5919382572174072, -0.6930712461471558, -0.5880235433578491, -0.8655147552490234, 0.8733810782432556, -0.006800348870456219, 0.04665398970246315, 0.5930225253105164, 0.489620178937912, 0.6626222133636475, 0.046278826892375946, 0.7011673450469971, 0.1429666131734848, 0.05732758715748787, -0.5834048390388489, 1.1161789894104004, -0.4405432641506195, 0.24122604727745056, -0.17930956184864044, -0.6327640414237976, -0.6561381816864014, 0.3907727599143982, -0.375575989484787, -0.24587640166282654, 0.4162568151950836, 1.0067824125289917, -0.15016727149486542, 0.10264620184898376, 0.3830292522907257, -0.09429291635751724, 0.4887659251689911, 0.607294499874115, 0.6881015300750732, -0.4670107066631317, 0.6274060010910034, -0.3271876573562622, -0.22415366768836975, -0.06583315879106522, -1.4028851985931396, -0.8453467488288879, -0.04126619175076485, -0.4381328821182251, -0.34057801961898804, 0.24447795748710632, 0.8984494209289551, 0.8233632445335388, -1.0673798322677612, -0.11463315784931183, -0.20310108363628387, 0.23771284520626068, 0.0262223519384861, -0.14476750791072845, 0.167024627327919, -0.1272556036710739, -0.6453621983528137, 0.6231815218925476, 0.4672333002090454, 0.3669113218784332, 0.01708112843334675, -0.37903422117233276, 0.03594178706407547, 0.39250826835632324, 0.406120628118515, 0.35875001549720764, -0.38010382652282715, -0.5720826983451843, -0.00795526709407568, -0.4027922451496124, -0.002695756033062935, 0.4259685277938843, -0.07116422057151794, 0.30224961042404175, 0.5901919603347778, 0.8507526516914368, -0.2149600088596344, 0.3104740381240845, 0.8398888111114502, -0.8313174247741699, 0.31005987524986267, 0.006838243454694748, 0.48274680972099304, 0.5233649015426636, -0.6019824743270874, 0.6648014783859253, -0.06753595173358917, -0.5616405606269836, -0.9209742546081543, 0.353304922580719, -0.8246610760688782, 0.22714190185070038, 1.1799993515014648, -0.1626339852809906, -0.20821332931518555, -0.13746997714042664, 0.03491495922207832, 0.18764083087444305, -0.2715167701244354, 0.9856907725334167, 0.5333635210990906, 0.02489345893263817, -0.13059398531913757, -0.4622533619403839, 0.5407023429870605, 0.47033801674842834, -1.0332540273666382, 0.10872139781713486, 0.6724022030830383, 0.6630460023880005, 0.017543505877256393, 0.21090103685855865, -0.5063349604606628, 0.5268389582633972, -0.3269658386707306, 0.05797566473484039, -0.18993927538394928, -0.30217331647872925, -0.29640281200408936, 0.09859340637922287, 0.17283958196640015, -0.17019960284233093 ]
http://arxiv.org/abs/2406.11794v3
http://arxiv.org/pdf/2406.11794v3
DataComp-LM: In search of the next generation of training sets for language models
2024-06-17T17:42:57
2024-06-20T17:43:05
Jeffrey Li, Alex Fang, Georgios Smyrnis, Maor Ivgi, Matt Jordan, Samir Gadre, Hritik Bansal, Etash Guha, Sedrick Keh, Kushal Arora, Saurabh Garg, Rui Xin, Niklas Muennighoff, Reinhard Heckel, Jean Mercat, Mayee Chen, Suchin Gururangan, Mitchell Wortsman, Alon Albalak, Yonatan Bitton, Marianna Nezhurina, Amro Abbas, Cheng-Yu Hsieh, Dhruba Ghosh, Josh Gardner, Maciej Kilian, Hanlin Zhang, Rulin Shao, Sarah Pratt, Sunny Sanyal, Gabriel Ilharco, Giannis Daras, Kalyani Marathe, Aaron Gokaslan, Jieyu Zhang, Khyathi Chandu, Thao Nguyen, Igor Vasiljevic, Sham Kakade, Shuran Song, Sujay Sanghavi, Fartash Faghri, Sewoong Oh, Luke Zettlemoyer, Kyle Lo, Alaaeldin El-Nouby, Hadi Pouransari, Alexander Toshev, Stephanie Wang, Dirk Groeneveld, Luca Soldaini, Pang Wei Koh, Jenia Jitsev, Thomas Kollar, Alexandros G. Dimakis, Yair Carmon, Achal Dave, Ludwig Schmidt, Vaishaal Shankar
cs.LG
cs.LG, cs.CL
We introduce DataComp for Language Models (DCLM), a testbed for controlled dataset experiments with the goal of improving language models. As part of DCLM, we provide a standardized corpus of 240T tokens extracted from Common Crawl, effective pretraining recipes based on the OpenLM framework, and a broad suite of 53 downstream evaluations. Participants in the DCLM benchmark can experiment with data curation strategies such as deduplication, filtering, and data mixing at model scales ranging from 412M to 7B parameters. As a baseline for DCLM, we conduct extensive experiments and find that model-based filtering is key to assembling a high-quality training set. The resulting dataset, DCLM-Baseline enables training a 7B parameter language model from scratch to 64% 5-shot accuracy on MMLU with 2.6T training tokens. Compared to MAP-Neo, the previous state-of-the-art in open-data language models, DCLM-Baseline represents a 6.6 percentage point improvement on MMLU while being trained with 40% less compute. Our baseline model is also comparable to Mistral-7B-v0.3 and Llama 3 8B on MMLU (63% & 66%), and performs similarly on an average of 53 natural language understanding tasks while being trained with 6.6x less compute than Llama 3 8B. Our results highlight the importance of dataset design for training language models and offer a starting point for further research on data curation.
[ -0.38407474756240845, -0.7096797823905945, 0.3048982620239258, -0.13335824012756348, -0.18208551406860352, 0.3032340109348297, -0.31929534673690796, -0.1119648739695549, -0.3657703399658203, 0.5960381627082825, -0.5701571106910706, -0.7432522177696228, -0.5732436180114746, 0.07554145157337189, -0.6639483571052551, 0.8260959982872009, -0.047769758850336075, 0.1636059284210205, -0.18201009929180145, -0.09672398120164871, -0.5238634943962097, -0.7420570254325867, -0.7760214805603027, -0.3575236201286316, 0.6810722947120667, 0.47779208421707153, 0.7736285924911499, 0.8061106204986572, 0.4737691879272461, 0.12317486852407455, -0.08550377190113068, 0.21238377690315247, -0.7875036597251892, 0.035366687923669815, 0.04193175211548805, -0.48552295565605164, -0.4651910066604614, 0.4473405182361603, 0.6486464142799377, 1.2102916240692139, -0.311270147562027, 0.12335819005966187, -0.04863986000418663, 0.7410836815834045, -0.594369113445282, 0.22927150130271912, -0.8580068945884705, -0.06918498128652573, -0.25131556391716003, -0.12674295902252197, -0.6542264819145203, -0.264616996049881, -0.35938766598701477, -0.5064528584480286, 0.3920583724975586, 0.3280978202819824, 0.6253553628921509, 0.33428576588630676, -0.27226799726486206, -0.11781369894742966, -0.4993625581264496, 0.8836344480514526, -0.8603172302246094, 0.6799530982971191, 0.6945719718933105, 0.3331395089626312, -0.3748144805431366, -0.7889578342437744, -0.601861298084259, -0.24941490590572357, -0.07112524658441544, -0.06971833854913712, -0.22641374170780182, 0.04489780217409134, 0.5063604712486267, 0.46922922134399414, -0.7427279949188232, 0.3753315806388855, -0.295254647731781, -0.029148472473025322, 0.5861625671386719, 0.3835965692996979, -0.003963472321629524, 0.2562033236026764, 0.021071385592222214, -0.20935747027397156, -1.0314842462539673, -0.13056890666484833, 0.4307510554790497, 0.6724637746810913, -0.13784635066986084, 0.4741142690181732, -0.4264184236526489, 1.148252248764038, -0.2613898515701294, 0.05542133003473282, 0.15575183928012848, -0.5286157131195068, -0.3755272328853607, -0.3003639280796051, 0.5783976912498474, 0.29473716020584106, 0.36739447712898254, -0.20463839173316956, -0.3426070809364319, 0.11359819769859314, 0.19880793988704681, -0.7861788868904114, -0.4753684997558594, 0.281616747379303, -0.4334494471549988, -0.5273347496986389, -0.12494800984859467, -0.604428768157959, -0.4920426607131958, -0.7701740264892578, -0.0683424174785614, -0.05281777307391167, -0.33144789934158325, 0.3896009624004364, 0.06765823066234589, 0.012949369847774506, 0.2858298420906067, -0.8750462532043457, 0.6843267679214478, 0.7203719615936279, 0.6291810274124146, -0.4518980085849762, -0.25765690207481384, -0.7945303320884705, -0.3061268627643585, -0.6057668924331665, 0.6263062357902527, -0.6807025074958801, -0.2794659733772278, 0.19932565093040466, -0.047673292458057404, -0.16105905175209045, -0.7970825433731079, 0.5565054416656494, -0.5636661052703857, 0.30194297432899475, -0.2092663198709488, -0.8514628410339355, -0.015837956219911575, 0.19465646147727966, -0.840762734413147, 1.209948182106018, 0.297667920589447, -0.7627572417259216, 0.493836373090744, -0.506928563117981, -0.18752457201480865, 0.061480745673179626, -0.17147138714790344, -0.2793579399585724, 0.08667056262493134, 0.23867718875408173, 0.351727694272995, -0.42902010679244995, 0.45771321654319763, -0.5751798152923584, -0.5261401534080505, 0.2272622138261795, -0.5391054749488831, 0.9461148977279663, 0.3261520266532898, 0.07425205409526825, 0.047426737844944, -0.9574674367904663, 0.07133421301841736, 0.07189685851335526, -0.4216178357601166, -0.1949641853570938, -0.039119914174079895, 0.14044134318828583, 0.263149619102478, 0.015560123138129711, -0.49370667338371277, 0.12900187075138092, -0.25207003951072693, 0.29339560866355896, 0.6443778276443481, -0.3258623778820038, 0.2736687958240509, -0.3421719968318939, 0.5147998332977295, 0.05903780832886696, 0.23789082467556, -0.09066787362098694, -0.23402874171733856, -0.8772040009498596, -0.30702918767929077, 0.39689910411834717, 0.21150121092796326, -0.5801891088485718, 0.5648953914642334, -0.21342432498931885, -0.5769523978233337, -0.7897816300392151, 0.24825003743171692, 0.1650826632976532, 0.6110658645629883, 0.393677681684494, -0.23247212171554565, -0.7692493200302124, -0.6825191378593445, 0.04066384583711624, -0.16454167664051056, 0.14483888447284698, 0.06967034190893173, 0.3339892625808716, -0.11184722930192947, 1.0995867252349854, -0.4689168930053711, -0.016548756510019302, -0.5025177597999573, -0.041233129799366, 0.6150659322738647, 0.219255268573761, 0.42227882146835327, -0.5707993507385254, -0.45581957697868347, -0.19135180115699768, -0.5288739800453186, -0.38797125220298767, 0.18037505447864532, -0.0009346833685413003, 0.2771923840045929, 0.6008906960487366, -0.42746254801750183, 0.42740359902381897, 0.8146815299987793, -0.18926098942756653, 0.4902595579624176, -0.1432947963476181, 0.011022155173122883, -0.9279367923736572, 0.30769968032836914, -0.27989763021469116, -0.3518425226211548, -0.8687730431556702, -0.03858093544840813, 0.17151953279972076, -0.11735135316848755, -0.5526768565177917, 0.7559984922409058, -0.3113570511341095, -0.026985803619027138, -0.545135498046875, 0.20602771639823914, 0.09561850875616074, 0.45245257019996643, 0.13050870597362518, 0.7543671727180481, 0.7040389180183411, -0.6095050573348999, 0.43117913603782654, 0.21071940660476685, -0.49588340520858765, 0.2812683582305908, -0.5923910737037659, 0.28494858741760254, 0.036535270512104034, 0.3263345956802368, -0.9360154867172241, 0.1976349949836731, -0.016042213886976242, -0.17208591103553772, 0.2880367338657379, -0.09529143571853638, -0.7114316821098328, -0.5147024393081665, -0.13685627281665802, 0.09475399553775787, 0.4511330723762512, -0.6808323860168457, -0.08089375495910645, 0.44802069664001465, -0.03480475768446922, -0.6588970422744751, -0.4603378474712372, 0.14056770503520966, -0.12463381141424179, -0.20817169547080994, 0.020491676405072212, -0.3430638015270233, -0.42025163769721985, -0.21753419935703278, 0.030490027740597725, -0.18977832794189453, 0.29154959321022034, 0.13445813953876495, 0.326671302318573, -0.026309922337532043, 0.16871534287929535, -0.3592258095741272, -0.15595830976963043, -0.024419613182544708, -0.03746988996863365, 0.9295960664749146, 0.21989718079566956, -0.3715602457523346, -0.1461692601442337, 0.21071697771549225, 0.26833730936050415, -0.19506581127643585, 0.7064889073371887, 0.3719576299190521, -0.34546199440956116, -0.274832159280777, -0.33508142828941345, -0.24077661335468292, -0.4184744358062744, 0.3230346143245697, -0.4078606367111206, -0.8756134510040283, 0.438350111246109, 0.1781136393547058, 0.2911096215248108, 0.23776479065418243, 0.6868518590927124, 0.00405896408483386, 0.992659866809845, 0.6552978157997131, -0.4625977575778961, 0.4588995575904846, -0.29892870783805847, 0.10662227869033813, -0.6406581401824951, -0.00004963091851095669, -0.6659940481185913, -0.15981386601924896, -0.48193418979644775, -0.45510244369506836, -0.22922317683696747, 0.04098322615027428, -0.22944390773773193, 0.4723656475543976, -0.1279016137123108, 0.32543569803237915, 0.6083129644393921, 0.020327672362327576, 0.4977862536907196, -0.051900800317525864, -0.09213446825742722, 0.018562093377113342, -0.8334923386573792, -0.4097135066986084, 1.433264970779419, 0.34985238313674927, 1.0801985263824463, -0.35354334115982056, 0.49996301531791687, 0.3127215802669525, 0.32037097215652466, -0.6698106527328491, 0.5209956169128418, -0.31642481684684753, -0.5738346576690674, -0.2103128284215927, -0.5144443511962891, -1.0005569458007812, 0.0973142459988594, 0.028889289125800133, -0.27977919578552246, 0.09103240072727203, 0.09655069559812546, -0.05254078283905983, 0.28781217336654663, -0.4114241302013397, 0.822830080986023, 0.04202139377593994, -0.12389100342988968, -0.2679639756679535, -0.46629229187965393, 0.19606806337833405, -0.27557915449142456, 0.2532005310058594, -0.37617653608322144, 0.10765162110328674, 0.5331942439079285, -0.3882887065410614, 0.7553964257240295, -0.1757957935333252, -0.20491692423820496, 0.08913781493902206, 0.0003829649940598756, 0.4145474135875702, -0.10937169939279556, -0.36410701274871826, 0.18448148667812347, -0.23559968173503876, -0.31844615936279297, -0.5513104796409607, 0.5193175077438354, -0.6574479937553406, -0.3570583462715149, -0.27115944027900696, -0.9053871035575867, -0.15446002781391144, 0.08206171542406082, -0.056300193071365356, 0.6694793105125427, -0.2612451910972595, 0.4277695417404175, 0.48905667662620544, -0.17374007403850555, 0.3389902114868164, 0.7797887921333313, -0.37754467129707336, -0.25823861360549927, 0.5973959565162659, -0.02932763658463955, 0.5299404859542847, 0.4789564311504364, 0.051652390509843826, -0.34706997871398926, -0.8505438566207886, -0.11641374230384827, 0.08795275539159775, -0.6943474411964417, -0.2838018536567688, -0.5835716128349304, -0.41052231192588806, -0.47576647996902466, 0.27773356437683105, -0.42380520701408386, -0.41765135526657104, -0.16757459938526154, -0.15200619399547577, 0.38024505972862244, 0.5907194018363953, -0.01406360324472189, 0.33951491117477417, -0.40938329696655273, 0.3247639536857605, 0.05169079452753067, 0.3416728079319, -0.32683712244033813, -0.8442952036857605, -0.4823909103870392, 0.23608507215976715, 0.004844338167458773, -0.3501354157924652, 0.45080310106277466, 0.19540190696716309, 0.7597662210464478, 0.021612079814076424, 0.03536923602223396, 0.6055372357368469, -0.5845028758049011, 0.596779465675354, -0.0744088813662529, -0.5967185497283936, 0.565211296081543, -0.22466078400611877, 0.4119435250759125, 0.742551326751709, 0.3479295074939728, -0.8112143278121948, -0.5918436050415039, -0.623661994934082, -0.4104444682598114, 0.7370683550834656, 0.18029969930648804, 0.045433301478624344, -0.01573418639600277, 0.257872998714447, 0.3391004800796509, 0.41938167810440063, -0.5240131616592407, -0.3710356652736664, 0.08707490563392639, -0.36178848147392273, -0.3677680492401123, -0.08643226325511932, -0.11929168552160263, -0.4219270646572113, 0.6318495273590088, -0.16013556718826294, -0.07746779918670654, -0.3537255525588989, -0.16511870920658112, -0.09695199131965637, -0.007378656417131424, 0.3616463541984558, 0.9118116497993469, -0.43917426466941833, 0.27473440766334534, 0.04238804057240486, -0.606803297996521, -0.001737244427204132, 0.26547959446907043, -0.07062924653291702, 0.08611060678958893, 0.41235530376434326, 0.9833871126174927, -0.04569815844297409, -0.6801859140396118, 0.36474066972732544, -0.205695241689682, -0.20524458587169647, -0.024021467193961143, 0.2149621546268463, -0.06697455793619156, -0.2006550282239914, 0.0631658062338829, -0.21947187185287476, 0.08143570274114609, -0.47211089730262756, 0.4848193824291229, 0.29425469040870667, -0.4234699308872223, -0.23397868871688843, 0.5195273160934448, -0.001642785151489079, -0.025831572711467743, 0.922835648059845, 0.04049484059214592, -0.2255696803331375, 0.5192832350730896, 0.4924015402793884, 0.6074146032333374, -0.12156639993190765, 0.2238643765449524, 0.4527531862258911, 0.27098971605300903, -0.14261920750141144, 0.43679359555244446, 0.18636779487133026, -0.8708728551864624, -0.4163125157356262, -0.7236430644989014, -0.7100062370300293, 0.49451228976249695, -0.587348461151123, 0.7252117395401001, -0.24773971736431122, 0.14889678359031677, -0.15969537198543549, 0.3289180397987366, -0.9293580651283264, 0.3894442915916443, 0.07667773962020874, 1.2197074890136719, -0.9888148903846741, 1.3095569610595703, 0.37389928102493286, -0.30785107612609863, -0.5894758701324463, -0.4408957064151764, -0.05183436721563339, -1.0102142095565796, 0.654666006565094, 0.1921968162059784, 0.36110547184944153, 0.1733001470565796, -0.6540218591690063, -0.717107892036438, 0.9224960207939148, 0.39915230870246887, -0.7554308772087097, 0.1789093315601349, 0.48734211921691895, 0.5617508292198181, -0.5748571753501892, 0.22811289131641388, 0.953637421131134, 0.3443567454814911, 0.035550907254219055, -0.7303996086120605, -0.10442636162042618, -0.2564617693424225, -0.10992569476366043, 0.10533114522695541, -0.22081078588962555, 0.9525933861732483, -0.01644395850598812, -0.02155384048819542, 0.022602371871471405, 0.4057195484638214, 0.48635154962539673, 0.06380987912416458, 0.6322540640830994, 0.7455275058746338, 0.7607620358467102, -0.11609723418951035, 1.0470839738845825, -0.21632833778858185, 0.34293365478515625, 1.5649346113204956, -0.3685288727283478, 0.9089248180389404, 0.4558297097682953, -0.35600781440734863, 0.22262659668922424, 0.9114683866500854, -0.04853793978691101, 0.6343056559562683, 0.568252682685852, -0.08999626338481903, -0.1473422646522522, -0.28361010551452637, -0.20035307109355927, 0.3378432095050812, 0.17738178372383118, -0.3384788930416107, -0.31412771344184875, 0.045775946229696274, 0.04504804313182831, 0.16992375254631042, -0.03629922494292259, 0.6363276243209839, 0.12390761077404022, -0.48764660954475403, 0.7087603807449341, -0.36874231696128845, 0.3770916759967804, -0.5445639491081238, -0.008289836347103119, -0.68006831407547, 0.2203388661146164, 0.008402232080698013, -0.8185964822769165, 0.21584342420101166, 0.10023067891597748, -0.13455212116241455, -0.35496148467063904, 0.606808066368103, -0.782143771648407, -0.4381767511367798, 0.3385729491710663, 0.5942410230636597, 0.37164735794067383, -0.17357933521270752, -0.7319265604019165, 0.39564815163612366, -0.21979500353336334, -0.28339770436286926, 0.1523866355419159, 0.34094491600990295, 0.14869126677513123, 0.6384797692298889, 0.7392804026603699, 0.4176524579524994, 0.10992766171693802, 0.7962981462478638, 1.0003076791763306, -0.49275144934654236, -0.06187118962407112, -0.7515413761138916, 0.4825056791305542, -0.18435874581336975, -0.1897750347852707, 0.5392615795135498, 0.8015162348747253, 1.0224696397781372, 0.03744996339082718, 0.7985324859619141, -0.05056780204176903, 0.7659332752227783, -0.506029486656189, 0.608120322227478, -0.4858465790748596, 0.1613117903470993, 0.09787971526384354, -1.0967806577682495, -0.3817409574985504, 0.2518296539783478, -0.09154576808214188, 0.0037683569826185703, 0.7627122402191162, 0.9751012921333313, -0.08891941606998444, -0.08065683394670486, 0.5735992193222046, 0.11205162853002548, 0.6030785441398621, 0.53365159034729, 0.7247290015220642, -0.5534024238586426, 0.4307226240634918, -0.3729996383190155, -0.16559037566184998, -0.047716882079839706, -0.8837864995002747, -1.17750084400177, -0.555423378944397, -0.33857735991477966, 0.00044401510967873037, -0.0022487170062959194, 0.7534132599830627, 0.7463767528533936, -0.9560306668281555, -0.5432215929031372, -0.3209409713745117, -0.04498909413814545, -0.2436874806880951, -0.15711109340190887, 0.21241596341133118, -0.7206535339355469, -0.871337354183197, 0.5960484743118286, 0.01056343037635088, -0.0555981881916523, -0.38150152564048767, -0.13460248708724976, -0.3201758861541748, -0.16277921199798584, 0.48017677664756775, -0.01611666940152645, -0.46655693650245667, -0.25547143816947937, 0.07535543292760849, -0.35973623394966125, 0.06427309662103653, 0.7725887298583984, -0.7199569940567017, 0.5385606288909912, 0.4547186493873596, 0.6295372843742371, 0.39065197110176086, -0.30490168929100037, 0.9180198311805725, -0.8190121054649353, 0.2978685796260834, 0.05267547443509102, 0.42589545249938965, 0.5395596027374268, 0.06741645187139511, 0.9132383465766907, 0.2001282423734665, -0.48823773860931396, -1.048108458518982, 0.1303204596042633, -0.875552237033844, -0.08929924666881561, 1.2401375770568848, -0.010861490853130817, 0.04595809429883957, -0.18544307351112366, -0.23796012997627258, 0.4306618869304657, -0.148267462849617, 0.6017621159553528, 0.905826210975647, 0.2106764316558838, -0.25776275992393494, -0.9019538760185242, 0.6900376677513123, 0.08794683963060379, -1.08750581741333, 0.6545765399932861, 0.4008892774581909, 0.022429032251238823, -0.3142390549182892, 0.6764839291572571, -0.17490969598293304, 0.07739689201116562, 0.009115585125982761, 0.09542954713106155, -0.14527958631515503, -0.43106183409690857, -0.375129371881485, -0.17543356120586395, 0.19242367148399353, -0.1470717191696167 ]
http://arxiv.org/abs/2406.11785v1
http://arxiv.org/pdf/2406.11785v1
CELL your Model: Contrastive Explanation Methods for Large Language Models
2024-06-17T17:39:10
2024-06-17T17:39:10
Ronny Luss, Erik Miehling, Amit Dhurandhar
cs.CL
cs.CL, cs.AI, cs.LG
The advent of black-box deep neural network classification models has sparked the need to explain their decisions. However, in the case of generative AI such as large language models (LLMs), there is no class prediction to explain. Rather, one can ask why an LLM output a particular response to a given prompt. In this paper, we answer this question by proposing, to the best of our knowledge, the first contrastive explanation methods requiring simply black-box/query access. Our explanations suggest that an LLM outputs a reply to a given prompt because if the prompt was slightly modified, the LLM would have given a different response that is either less preferable or contradicts the original response. The key insight is that contrastive explanations simply require a distance function that has meaning to the user and not necessarily a real valued representation of a specific response (viz. class label). We offer two algorithms for finding contrastive explanations: i) A myopic algorithm, which although effective in creating contrasts, requires many model calls and ii) A budgeted algorithm, our main algorithmic contribution, which intelligently creates contrasts adhering to a query budget, necessary for longer contexts. We show the efficacy of these methods on diverse natural language tasks such as open-text generation, automated red teaming, and explaining conversational degradation.
[ -0.5120931267738342, -0.7962340116500854, 0.6318551301956177, 0.16364863514900208, -0.23098362982273102, -0.006100925151258707, -0.30010753870010376, -0.4507494568824768, 0.09587954729795456, 0.31234899163246155, -0.7391906380653381, -0.4369622766971588, -0.23398952186107635, 0.09379440546035767, -0.5065305233001709, 0.8967176079750061, 0.15758854150772095, 0.07435967773199081, -0.49532338976860046, -0.03181177377700806, -0.4056427776813507, -0.4109119772911072, -0.8535634875297546, -0.7748333811759949, 0.8760359287261963, 0.5311848521232605, 0.6323055624961853, 0.72530198097229, 0.23828981816768646, 0.41013607382774353, -0.3739486634731293, -0.027934735640883446, -0.26641637086868286, -0.0012407135218381882, -0.16843676567077637, -0.6800634264945984, -0.02207166701555252, -0.26486146450042725, 0.344441682100296, 0.923598051071167, 0.13379421830177307, -0.036924779415130615, 0.07198043912649155, 0.9049073457717896, -0.5794451832771301, -0.002884980756789446, -0.6911178827285767, 0.320587158203125, -0.010805965401232243, -0.2166748195886612, -0.44463279843330383, -0.12624946236610413, 0.16242054104804993, -0.34450653195381165, 0.4539050757884979, -0.11934248358011246, 0.7728921175003052, 0.12833283841609955, -0.30528005957603455, -0.3549351990222931, -0.8434612154960632, 0.7456302046775818, -0.648332417011261, -0.01754973828792572, 0.15599453449249268, 0.5724007487297058, 0.015502729453146458, -0.7488569617271423, -0.7303952574729919, -0.3838280737400055, -0.29743409156799316, 0.4265919327735901, -0.2459784746170044, 0.160526305437088, 0.15507210791110992, 0.4886954426765442, -0.5061973929405212, 0.42750290036201477, -0.39145734906196594, -0.3054085969924927, 0.5558285117149353, 0.31134775280952454, 0.03626994043588638, -0.019779330119490623, -0.3771723210811615, 0.11541758477687836, -0.6809921264648438, -0.0790090337395668, 0.36132100224494934, 0.08625207096338272, -0.3789481520652771, 0.5626002550125122, -0.1924487054347992, 0.6668864488601685, -0.03811332955956459, 0.3370814025402069, -0.1405237913131714, -0.2573712170124054, -0.3108547031879425, 0.20083801448345184, 0.7192399501800537, 0.35271555185317993, 0.1858997344970703, -0.2538432478904724, -0.0720992460846901, 0.15200990438461304, 0.2064512073993683, -1.0450994968414307, -0.17786993086338043, 0.39691174030303955, -0.5865502953529358, -0.39281508326530457, -0.40826931595802307, -1.157820224761963, -0.564782977104187, -0.38843604922294617, 0.1783931851387024, -0.06490053236484528, -0.05239829421043396, -0.16154970228672028, 0.07887060195207596, 0.1379241794347763, 0.3825993835926056, -0.9904391765594482, 0.38179609179496765, 0.3949083089828491, 0.8615207076072693, -0.06983127444982529, -0.027267439290881157, -0.4613931179046631, -0.11375082284212112, -0.5058802962303162, 0.8081973791122437, -0.57829350233078, -0.37611013650894165, 0.1845596432685852, -0.23876060545444489, 0.1413242071866989, -0.6577317118644714, 0.4339945912361145, -0.5088874101638794, 0.38279008865356445, -0.28065502643585205, -0.4540950059890747, -0.22041092813014984, -0.043502047657966614, -0.4504513740539551, 0.5546841025352478, -0.21609491109848022, -0.8504400253295898, 0.023804817348718643, -0.9400991797447205, -0.28856492042541504, 0.27137312293052673, -0.20751610398292542, -0.4086790084838867, 0.21988143026828766, 0.2318863868713379, 0.4189966917037964, -0.29271724820137024, 0.14310584962368011, -0.347099244594574, -0.3119708001613617, 0.5780653953552246, -0.46841204166412354, 0.7073239088058472, 0.4611378610134125, -0.38123443722724915, 0.37530606985092163, -0.6039180755615234, -0.07518467307090759, 0.31853947043418884, -0.1509726196527481, -0.13020096719264984, 0.3168172836303711, -0.06564084440469742, 0.009728112258017063, 0.11368244141340256, -0.33651983737945557, -0.18593819439411163, -0.47520381212234497, 0.6001701951026917, 0.7599847316741943, -0.33112359046936035, 0.4335958957672119, -0.22240959107875824, 0.5149918794631958, 0.16592849791049957, -0.27841508388519287, -0.47260499000549316, -0.26964226365089417, -0.6443058252334595, 0.02903754636645317, 0.2008657455444336, 0.2846955955028534, -0.5575956702232361, 0.056109555065631866, 0.009746507741510868, -0.1568128764629364, -0.5271728038787842, 0.046451203525066376, 0.4945124089717865, 0.8399382829666138, 0.3894314169883728, 0.149942085146904, -0.5261088013648987, -1.3897250890731812, -0.1434936225414276, -0.16617359220981598, -0.09927434474229813, 0.6026374697685242, 0.5024200677871704, -0.18039505183696747, 0.7807453274726868, -0.6373162269592285, 0.19884859025478363, -0.370292603969574, 0.15233902633190155, 0.09909089654684067, 0.1693149358034134, 0.43942031264305115, -1.0599944591522217, -0.10950835049152374, 0.063924141228199, -0.54756098985672, -0.3189605474472046, -0.1531299501657486, 0.050630804151296616, 0.07742802053689957, 0.760077953338623, -0.4203728437423706, 0.1738189309835434, 0.5101895928382874, -0.12357039004564285, 0.7581823468208313, -0.23268769681453705, -0.18813221156597137, -1.135966181755066, -0.015872828662395477, 0.2127872258424759, -0.2180180698633194, -0.7119160294532776, 0.18141096830368042, -0.19245558977127075, -0.23708517849445343, -0.21323023736476898, 0.7284837365150452, -0.312202513217926, -0.1303238868713379, -0.38970524072647095, 0.5010371208190918, -0.05969502776861191, 0.34605321288108826, -0.04986046627163887, 0.785271942615509, 0.4736391603946686, -0.8326123356819153, 0.37363365292549133, 0.24651280045509338, -0.17941497266292572, 0.2350979447364807, -0.7941741943359375, 0.14694535732269287, -0.45957252383232117, 0.23316945135593414, -1.3693703413009644, -0.32903945446014404, 0.3639065623283386, -0.3960622251033783, 0.07988693565130234, -0.27144429087638855, -0.12199529260396957, -0.5321947336196899, -0.05691313371062279, 0.3769957423210144, 0.4242444932460785, -1.0413371324539185, 0.348772257566452, -0.10149037092924118, -0.2498290091753006, -0.5016133189201355, -0.7780590057373047, 0.0681990385055542, -0.4149187207221985, -0.4678163528442383, 0.6720714569091797, -0.5231794714927673, -0.6379052400588989, -0.07302907854318619, -0.28283998370170593, -0.28483033180236816, 0.4374653697013855, 0.26460230350494385, 0.24006609618663788, -0.5872820019721985, 0.4981956481933594, 0.01273992657661438, -0.04978879168629646, 0.37562260031700134, -0.04607582464814186, 0.5386649370193481, -0.0922522246837616, -0.009761783294379711, -0.24979978799819946, 0.3431195616722107, 0.3891020119190216, -0.24409274756908417, 0.672576367855072, 0.509251058101654, -0.24262143671512604, -0.36085060238838196, -0.46037593483924866, -0.19713592529296875, -0.4876309335231781, 0.39393919706344604, -0.35263732075691223, -0.7905946373939514, 0.588310182094574, -0.03762497007846832, -0.08294367045164108, 0.4194239377975464, 0.8071076273918152, 0.03987663611769676, 1.0549477338790894, 0.4495593011379242, 0.09162025153636932, 0.580308735370636, 0.06737027317285538, 0.1946125328540802, -0.5647385716438293, -0.418171226978302, -0.9113343954086304, -0.3414658010005951, -0.6073241829872131, -0.12234558910131454, 0.025671029463410378, 0.1929621696472168, -0.027560479938983917, -0.1647755652666092, -0.5436719059944153, 0.719184398651123, 0.34318065643310547, 0.08231956511735916, 0.047825559973716736, 0.13459350168704987, -0.009860703721642494, 0.12641273438930511, -0.6466978788375854, -0.5836969017982483, 0.60899817943573, 0.32849299907684326, 0.6298782229423523, -0.037975847721099854, 0.8196958303451538, 0.0038820907939225435, 0.48961859941482544, -0.9021015167236328, 0.6085257530212402, -0.1388445794582367, -0.4583381414413452, -0.23114605247974396, -0.6552120447158813, -1.1330732107162476, 0.6224649548530579, -0.27993690967559814, -0.8189770579338074, -0.1057291030883789, 0.36626696586608887, -0.2604186534881592, 0.12560968101024628, -0.8920866250991821, 0.8268144130706787, -0.1817149519920349, -0.5801069140434265, -0.31144046783447266, -0.5215600728988647, 0.5806485414505005, 0.04797445237636566, 0.16366463899612427, 0.030394546687602997, 0.0028896911535412073, 0.7334623336791992, -0.4364680349826813, 0.9017788767814636, -0.10245973616838455, 0.03695208206772804, 0.13103677332401276, 0.04228643700480461, 0.24023360013961792, 0.08397701382637024, -0.22066186368465424, -0.25509965419769287, -0.3331415057182312, -0.5388994812965393, -0.6875252723693848, 0.8456036448478699, -0.43108534812927246, -0.7834525108337402, 0.12187246233224869, -0.6385690569877625, -0.011106215417385101, -0.009436662308871746, 0.3649540841579437, 0.6450783014297485, -0.0932932198047638, 0.12921646237373352, 0.6186966300010681, -0.5796970129013062, 0.7874587178230286, 0.38018980622291565, -0.13098634779453278, -0.011960583738982677, 0.7788488864898682, -0.20780491828918457, 0.05220754072070122, 0.4994814693927765, 0.802057147026062, -0.498512864112854, -0.9453439712524414, -0.5028244853019714, 0.0634227842092514, -0.7054380774497986, -0.041993483901023865, -0.44144636392593384, -0.04923958331346512, -0.03772370144724846, -0.32695379853248596, 0.09137218445539474, -0.26088204979896545, -0.3374728262424469, -0.17607975006103516, 0.18015047907829285, 0.789185106754303, 0.14192655682563782, 0.3805255591869354, -0.5212815403938293, 0.4812656044960022, 0.4252029061317444, 0.2619413733482361, 0.19714954495429993, -0.32939812541007996, -0.24729052186012268, 0.20335225760936737, -0.37897586822509766, -1.0374016761779785, 0.3513171672821045, 0.028924401849508286, 0.5021397471427917, 0.41222259402275085, -0.06606336683034897, 0.7318071126937866, -0.40862545371055603, 0.7966936826705933, 0.3141103684902191, -0.9611383080482483, 0.49763917922973633, -0.049388401210308075, 0.29364314675331116, 0.12530410289764404, 0.3252638280391693, -0.34986570477485657, -0.30669406056404114, -0.490081787109375, -0.8658127188682556, 0.4907720386981964, 0.2797401547431946, 0.2710144817829132, -0.06144903600215912, 0.6378423571586609, 0.12298651039600372, 0.141508549451828, -0.9830710291862488, -0.47709232568740845, -0.27864211797714233, -0.22992700338363647, -0.35256636142730713, -0.255365788936615, -0.20178617537021637, 0.22883884608745575, 0.3703135848045349, -0.29607048630714417, 0.30561551451683044, 0.39157336950302124, -0.114392951130867, -0.14124920964241028, 0.6456394791603088, 0.8702158331871033, 0.8958612084388733, 0.08082066476345062, 0.309003621339798, 0.2046673744916916, 0.08684014528989792, -0.13576655089855194, 0.26985251903533936, -0.02940593659877777, 0.18333347141742706, 0.6126422882080078, 0.6984899044036865, -0.036682456731796265, -0.5543081760406494, 0.37056151032447815, 0.06197874993085861, -0.3533244729042053, -0.05200660228729248, -0.01967303641140461, 0.2854757606983185, 0.30137714743614197, 0.17751933634281158, -0.3424895703792572, 0.2632213830947876, -0.6362290382385254, -0.0603259913623333, 0.6366503834724426, -0.46814969182014465, -0.19511811435222626, 0.7700729370117188, 0.12931770086288452, -0.5598673224449158, 0.35872310400009155, 0.0817355066537857, -0.5547411441802979, 1.0373952388763428, 0.7147752642631531, 0.9689250588417053, -0.1712406426668167, 0.4904673397541046, 0.18123170733451843, -0.0874074175953865, 0.2114672213792801, -0.08199305087327957, -0.18518449366092682, -0.6901272535324097, -0.5472712516784668, -0.5295790433883667, -0.5330968499183655, 0.4640772044658661, -0.6553055644035339, -0.25085607171058655, -0.3808177709579468, 0.3923620581626892, 0.7614176273345947, -0.020324477925896645, -0.4663197696208954, 0.5119199752807617, 0.235515758395195, 0.8949722051620483, -0.6703348755836487, 0.49354639649391174, 0.5671725869178772, -0.42585742473602295, -0.6006795167922974, 0.16369058191776276, -0.05593119561672211, -0.876474142074585, 0.8835641741752625, 0.22723764181137085, -0.2426455318927765, -0.2884080111980438, -0.9430152773857117, -0.12359890341758728, 0.7307416796684265, 0.3440665602684021, -0.8074464797973633, 0.11989712715148926, -0.09665418416261673, 0.7573574185371399, -0.6147599816322327, 0.3434482514858246, 0.3578011393547058, 0.3785916864871979, 0.17912761867046356, -0.26712068915367126, 0.19417442381381989, -0.0911930501461029, 0.02881534956395626, 0.3025784194469452, -0.3966159522533417, 0.6237447261810303, -0.6170082092285156, -0.12563714385032654, 0.35967886447906494, 0.5870293378829956, -0.11803317815065384, 0.7026655077934265, 0.42236101627349854, 0.2116146683692932, 0.7854220867156982, -0.1131388321518898, 1.4236689805984497, 0.0260359775274992, 0.06247538700699806, 1.0447778701782227, -0.1101471409201622, 0.5696201324462891, 0.4639083445072174, 0.012890108861029148, 0.5383328199386597, 0.7770612835884094, -0.1102181002497673, 0.36145293712615967, 0.8060287237167358, -0.39292410016059875, -0.2211759388446808, -0.10183116793632507, -0.27220618724823, 0.09682459384202957, 0.22608810663223267, -0.4808324873447418, -0.2904880940914154, -0.11536677181720734, -0.2829253375530243, 0.31465020775794983, -0.5893573760986328, 0.960422158241272, 0.13117729127407074, -0.7091781497001648, 0.6567813754081726, -0.0026161049026995897, 0.21648547053337097, -0.38380515575408936, -0.07060340791940689, -0.5181610584259033, 0.1623174399137497, -0.42464354634284973, -0.6376124620437622, 0.270132839679718, -0.09378494322299957, -0.41044849157333374, -0.07313580811023712, 0.5280551910400391, -0.5716793537139893, -0.2626335918903351, 0.3772423565387726, 0.3633153736591339, 0.2173125147819519, 0.07548784464597702, -0.7790966033935547, -0.13963904976844788, -0.019384663552045822, -0.001500598737038672, 0.29945796728134155, 0.37828344106674194, 0.003878314746543765, 0.9082672595977783, 0.5343133807182312, -0.03831276670098305, -0.09785901010036469, 0.22899280488491058, 0.8264119029045105, -0.729091227054596, -0.38690444827079773, -1.1308687925338745, 0.414122611284256, -0.028169836848974228, -0.15684834122657776, 0.3426627516746521, 0.5578610897064209, 0.5479610562324524, -0.03516320884227753, 0.7738275527954102, 0.3912719190120697, 0.3191521167755127, -0.897567629814148, 0.3156481385231018, -0.741671085357666, 0.5130629539489746, -0.09189999103546143, -0.9010571241378784, -0.22606554627418518, 0.4973125159740448, -0.3601676821708679, 0.01665523648262024, 0.9077062606811523, 0.897260844707489, -0.043158769607543945, 0.09538969397544861, 0.42279449105262756, 0.5770745873451233, 0.2240987867116928, 0.39878642559051514, 1.0401716232299805, 0.05735065042972565, 1.060520052909851, -0.2203664481639862, -0.047585975378751755, -0.30491751432418823, -0.8894199132919312, -1.1306869983673096, -0.3957221806049347, -0.5444177985191345, -0.5267354249954224, 0.3141216039657593, 0.7211787700653076, 0.730875551700592, -0.7557241916656494, -0.3015875220298767, -0.4413434863090515, 0.5798488855361938, -0.1474868208169937, -0.2169472724199295, 0.3033749461174011, -0.5525475144386292, -0.7095380425453186, 0.4784707725048065, 0.16095709800720215, 0.2676104009151459, -0.06075821444392204, -0.07392723113298416, 0.32012927532196045, 0.2067345231771469, 0.5564385056495667, 0.29791831970214844, -0.9283737540245056, -0.1070624440908432, -0.38885557651519775, 0.05451149493455887, 0.3286859095096588, 0.9552894830703735, -0.6493282318115234, 0.4194902181625366, 0.27803581953048706, 0.736153781414032, 0.695674479007721, -0.008189098909497261, 0.7217928171157837, -0.5183457732200623, -0.031617358326911926, 0.22480975091457367, 0.3367071747779846, 0.38562172651290894, -0.3115783929824829, 0.32777097821235657, -0.09546524286270142, -0.35846492648124695, -0.7314156293869019, 0.6853364109992981, -1.0279752016067505, -0.6526311039924622, 1.0189741849899292, -0.07509823143482208, -0.21974390745162964, -0.09523607790470123, -0.4297676086425781, 0.051868923008441925, -0.2915005087852478, 0.9072005748748779, 0.5999084711074829, 0.009596134535968304, -0.38966235518455505, -0.36801663041114807, 0.49220865964889526, 0.5984146595001221, -1.1346163749694824, 0.33865970373153687, 0.5195525288581848, 0.09557266533374786, 0.19090251624584198, 0.169138565659523, -0.0011973095824941993, 0.22696653008460999, -0.016941120848059654, -0.21491260826587677, -0.08442900329828262, -0.2011806219816208, -0.7879459857940674, 0.3352213203907013, 0.011676589958369732, -0.30224424600601196 ]
http://arxiv.org/abs/2406.11784v1
http://arxiv.org/pdf/2406.11784v1
MDCR: A Dataset for Multi-Document Conditional Reasoning
2024-06-17T17:38:43
2024-06-17T17:38:43
Peter Baile Chen, Yi Zhang, Chunwei Liu, Sejal Gupta, Yoon Kim, Michael Cafarella
cs.CL
cs.CL, cs.AI
The same real-life questions posed to different individuals may lead to different answers based on their unique situations. For instance, whether a student is eligible for a scholarship depends on eligibility conditions, such as major or degree required. ConditionalQA was proposed to evaluate models' capability of reading a document and answering eligibility questions, considering unmentioned conditions. However, it is limited to questions on single documents, neglecting harder cases that may require cross-document reasoning and optimization, for example, "What is the maximum number of scholarships attainable?" Such questions over multiple documents are not only more challenging due to more context having to understand, but also because the model has to (1) explore all possible combinations of unmentioned conditions and (2) understand the relationship between conditions across documents, to reason about the optimal outcome. To evaluate models' capability of answering such questions, we propose a new dataset MDCR, which can reflect real-world challenges and serve as a new test bed for complex conditional reasoning that requires optimization. We evaluate this dataset using the most recent LLMs and demonstrate their limitations in solving this task. We believe this dataset will facilitate future research in answering optimization questions with unknown conditions.
[ -0.46321138739585876, -0.6092411279678345, 0.9120680093765259, -0.17561110854148865, -0.010452932678163052, 0.20003968477249146, -0.21710504591464996, -0.03308616578578949, -0.1800634115934372, 0.5292784571647644, -1.0661710500717163, -0.26428207755088806, -0.6493320465087891, 0.4253852665424347, -0.37664562463760376, 0.8043871521949768, -0.4417661130428314, 0.3941150903701782, -0.7294343709945679, -0.2709273397922516, -0.612982451915741, -0.5223255753517151, -0.40526214241981506, 0.017014188691973686, 0.4997427463531494, 0.6592034101486206, 0.07942816615104675, 0.15715943276882172, 0.967888355255127, 0.29408004879951477, 0.35440516471862793, 0.3824186325073242, -0.3168729245662689, 0.33878093957901, -0.06826619058847427, -0.5431601405143738, -0.174915611743927, 0.30982133746147156, 0.5094170570373535, 0.6596201658248901, -0.1889953464269638, 0.286563515663147, 0.07219085842370987, 0.6713084578514099, -0.6985220313072205, 0.0018845403101295233, -0.6463812589645386, 0.12873081862926483, 0.021685177460312843, -0.3042767345905304, -0.37795910239219666, -0.31606775522232056, 0.13859927654266357, -0.7678647041320801, 0.3779655396938324, -0.08990165591239929, 0.648457407951355, 0.42765024304389954, -0.8042917847633362, -0.4851296842098236, -0.4859095513820648, 0.6403545141220093, -0.28142449259757996, 0.3822118937969208, 0.3880294859409332, 0.725346565246582, -0.08861058950424194, -0.9288854002952576, -0.7704912424087524, -0.1789911687374115, -0.10524896532297134, 0.29195478558540344, 0.2403421401977539, 0.2580498158931732, 0.37748777866363525, 0.3299800455570221, -0.5521417260169983, -0.34206900000572205, -0.6167315244674683, -0.4108973741531372, 0.22741654515266418, 0.5156920552253723, 0.15315328538417816, -0.2602181136608124, -0.3335316479206085, -0.06281426548957825, -0.19306766986846924, 0.3295224905014038, 0.3809050917625427, 0.31810134649276733, -0.15859369933605194, 1.0316429138183594, -0.27144429087638855, 0.9052644968032837, -0.1055249348282814, -0.1632586568593979, -0.019548531621694565, -0.6100537180900574, -0.13281120359897614, -0.11885233968496323, 0.08098170906305313, 0.2949829697608948, 0.1247258335351944, 0.18862459063529968, -0.25377875566482544, 0.23503994941711426, 0.2283470332622528, -0.7126414775848389, 0.06654267013072968, 0.4587334990501404, -0.5986709594726562, -0.1476227194070816, 0.15080837905406952, -0.7772923707962036, -0.4280596971511841, -0.6404419541358948, 0.43074822425842285, -0.14957481622695923, 0.20105889439582825, 0.3665590286254883, -0.39769893884658813, 0.2440558522939682, 0.32039675116539, -0.42587554454803467, 0.3309895098209381, 0.4652593731880188, 0.627609372138977, -0.21181531250476837, -0.3288883566856384, -0.5553036332130432, -0.053285036236047745, 0.007445718627423048, 0.8383386731147766, -0.8379986882209778, -0.2776761054992676, -0.1079307273030281, -0.03885236382484436, -0.44851046800613403, -0.06348823010921478, 1.07706618309021, -0.4779300093650818, 0.4453238546848297, -0.49070948362350464, -0.5311315655708313, -0.07972856611013412, 0.5426037311553955, -0.668322741985321, 0.5181187391281128, 0.4269352853298187, -0.960516631603241, 0.5010843873023987, -0.5618121027946472, -0.33923205733299255, -0.10771217942237854, -0.44119277596473694, -0.2033345252275467, -0.15988796949386597, 0.11692437529563904, 0.19696150720119476, -0.8582727313041687, 0.40543559193611145, -0.30728694796562195, -0.290041446685791, 0.32306480407714844, -0.5112164616584778, 0.5011389255523682, 0.3773050010204315, -0.1344548612833023, -0.1759335696697235, -0.842454731464386, 0.3701319992542267, -0.04828257858753204, -0.8271146416664124, -0.08235242962837219, -0.041003067046403885, -0.36376503109931946, 0.29942163825035095, 0.37092748284339905, -0.6181969046592712, 0.3217506408691406, 0.15105119347572327, 0.3694242537021637, 0.7247058749198914, 0.19569967687129974, 0.3060126006603241, -0.6763362288475037, 0.8664271235466003, -0.03923272714018822, 0.38845041394233704, 0.04698362946510315, -0.3087775409221649, -0.9318660497665405, -0.3965740501880646, 0.5096086859703064, 0.6251569390296936, -0.8223472237586975, -0.0651051476597786, 0.06340838223695755, -0.01864267885684967, -0.6664180755615234, -0.1473015546798706, 0.4863763451576233, 0.820803701877594, 0.422494113445282, 0.02154943160712719, -1.0463495254516602, -1.1170072555541992, -0.2199420928955078, 0.2993641197681427, 0.2955510914325714, 0.5121584534645081, 0.6374129056930542, -0.13856029510498047, 0.7328681349754333, -0.6546777486801147, -0.43574726581573486, -0.45896151661872864, -0.13700227439403534, 0.4029424786567688, 0.324237585067749, 0.29610249400138855, -1.0443886518478394, -0.29501330852508545, -0.39332032203674316, -0.6879071593284607, -0.049086328595876694, -0.44045937061309814, -0.15256613492965698, 0.11115670949220657, 0.33640778064727783, -0.7549794912338257, 0.5740625262260437, 0.6183487772941589, -0.3081880807876587, 0.5714196562767029, -0.41435229778289795, 0.6654362082481384, -0.7242352366447449, 0.054297007620334625, 0.0442502424120903, 0.19723376631736755, -0.3536398410797119, 0.13428425788879395, 0.0679648146033287, -0.36674878001213074, -0.08063732832670212, 0.6536824107170105, -0.6446589827537537, 0.06693911552429199, 0.0023051465395838022, 0.05578632652759552, 0.25856658816337585, 0.45717328786849976, -0.10171326249837875, 0.7646970152854919, 0.5242956280708313, -0.5306258201599121, 0.11861114948987961, 0.4317377805709839, -0.5887594819068909, 0.7356181740760803, -0.4972209930419922, 0.015522203408181667, -0.17783579230308533, 0.4717005491256714, -0.9062886834144592, -0.3431169390678406, 0.0908355787396431, -0.5150152444839478, 0.07564204186201096, -0.2293369621038437, -0.42088958621025085, -0.5287647843360901, -0.16473288834095, 0.4129925072193146, 0.00808633491396904, -0.3836546540260315, 0.9334858655929565, 0.28985339403152466, 0.01215702947229147, -0.6373217105865479, -0.568113386631012, -0.07731825113296509, 0.009309536777436733, -0.6120973825454712, 0.07584267109632492, -0.4538175165653229, -0.19620239734649658, -0.07344256341457367, -0.2791345715522766, -0.2886882722377777, -0.1329871118068695, 0.32089370489120483, 0.4590020179748535, -0.019588299095630646, -0.15582236647605896, 0.34328266978263855, -0.040558766573667526, 0.025218771770596504, -0.2554541826248169, 0.4584743082523346, 0.21393640339374542, -0.4100281894207001, -0.17703819274902344, 0.7367671728134155, 0.5582839846611023, -0.4501633644104004, 0.6127919554710388, 0.03435344994068146, -0.42026233673095703, -0.2869853079319, -0.5894332528114319, 0.021521208807826042, -0.48712021112442017, 0.09837666898965836, -1.0456409454345703, -0.797044575214386, 0.4454798400402069, 0.2698924243450165, -0.02416144125163555, 0.39438652992248535, 0.6694301962852478, -0.05879488214850426, 1.076406478881836, 0.4187941253185272, 0.39880862832069397, -0.07691385596990585, -0.39116594195365906, 0.14749924838542938, -0.9087167978286743, -0.6923022866249084, -0.712310791015625, -0.28818294405937195, -0.31914210319519043, -0.5472343564033508, 0.3524042069911957, -0.21703268587589264, -0.19474974274635315, 0.14829018712043762, -0.6378045082092285, 0.451016366481781, 0.5901533961296082, 0.3589807450771332, 0.2449290007352829, -0.2970629632472992, -0.7718417644500732, 0.026193488389253616, -0.6024843454360962, -0.354793906211853, 1.2994517087936401, -0.14464598894119263, 0.45159396529197693, 0.11296851933002472, 0.38926857709884644, 0.5503395199775696, 0.18889468908309937, -0.6799641251564026, 0.5185966491699219, -0.08981826156377792, -1.0089280605316162, -0.06225443631410599, -0.6511446833610535, -0.8270572423934937, 0.22727178037166595, -0.39348745346069336, -0.3857874274253845, 0.43214336037635803, -0.11502602696418762, -0.1400768905878067, 0.18480706214904785, -0.5163308382034302, 0.6563186645507812, -0.3666785955429077, -0.07449891418218613, -0.06907512992620468, -0.8478959798812866, 0.4641638994216919, -0.47459739446640015, 0.3101494312286377, -0.04651698097586632, 0.04231864959001541, 0.6995548605918884, -0.33713629841804504, 0.49082592129707336, -0.25215205550193787, 0.38878321647644043, 0.3828043043613434, 0.11711011826992035, 0.34944966435432434, 0.042221926152706146, -0.5559844374656677, -0.3398659825325012, 0.4650523066520691, -0.40988457202911377, -0.5420834422111511, 0.6794558763504028, -0.5937840938568115, -0.6873238682746887, -0.6782235503196716, -0.7088200449943542, -0.48858004808425903, 0.4138099253177643, 0.17012852430343628, 0.5623559951782227, -0.03731849044561386, 0.12862488627433777, 0.3863440155982971, 0.003571045119315386, -0.07346557825803757, 0.6945375800132751, 0.2155066430568695, -0.3468570411205292, 0.6006622910499573, 0.047991275787353516, 0.06471730768680573, 0.4723651707172394, 0.1494823694229126, -0.42443835735321045, -0.7403365969657898, -0.2724667191505432, 0.09583709388971329, -1.139955759048462, -0.3248252868652344, -0.690573513507843, -0.13939008116722107, -0.3156546950340271, -0.15342846512794495, 0.20398399233818054, -0.6420155167579651, -0.22094003856182098, -0.21868887543678284, -0.13187789916992188, 0.4208352863788605, -0.11053436994552612, -0.24182505905628204, -0.5984572768211365, 0.6849091053009033, 0.3378539979457855, 0.2172616869211197, -0.1547633409500122, -0.797153115272522, -0.006715747062116861, 0.1165459081530571, -0.17448385059833527, -0.7033279538154602, -0.12050651758909225, 0.29587414860725403, 1.0749744176864624, 0.03410352021455765, 0.40570470690727234, 0.4268786907196045, -0.41514852643013, 0.23186206817626953, 0.11809233576059341, -0.7166618704795837, 0.44615495204925537, -0.2618919014930725, -0.05253713205456734, 1.2018109560012817, 0.6069397926330566, -0.27554944157600403, -0.11657856404781342, -0.44028231501579285, -0.47638842463493347, 0.49002599716186523, 0.22786499559879303, -0.04932882636785507, 0.14438605308532715, 0.6054864525794983, 0.16170555353164673, 0.20427022874355316, -0.49665820598602295, -0.19406789541244507, -0.06452413648366928, -0.29825425148010254, 0.0587630458176136, -0.21733061969280243, -0.449983686208725, -0.49173057079315186, 0.3886013329029083, -0.10995650291442871, 0.1683192253112793, 0.3668539226055145, -0.11979732662439346, 0.018916387110948563, 0.1934274584054947, 0.6856151223182678, 0.8055667877197266, -0.4812314510345459, -0.02674269676208496, 0.10856588929891586, -0.3334920406341553, 0.36941173672676086, 0.28658804297447205, 0.008020284585654736, -0.40846917033195496, 0.30470725893974304, 0.4026902914047241, -0.20707079768180847, -0.8674347400665283, 0.650985598564148, -0.5343728065490723, -0.6727684736251831, -0.32211390137672424, 0.1281842589378357, -0.13789460062980652, 0.2054000049829483, 0.44255295395851135, 0.31158968806266785, 0.33147504925727844, -0.7203691601753235, 0.44607147574424744, 0.28717464208602905, -0.4614688456058502, 0.2789502441883087, 0.6620977520942688, 0.2223532795906067, -0.13807129859924316, 0.8177400231361389, -0.007133353501558304, -0.642963171005249, 0.932483434677124, 0.3781338036060333, 0.31333762407302856, 0.2474963665008545, 0.293864905834198, 0.4407111704349518, 0.3174246847629547, 0.058758027851581573, 0.6085770726203918, -0.078635573387146, -0.7600334286689758, -0.16602708399295807, -0.6881721019744873, -0.6251904964447021, -0.2439039796590805, -0.8383638262748718, 0.4108501672744751, -0.5222821831703186, -0.10595802962779999, 0.062128935009241104, 0.21137884259223938, -0.883627712726593, 0.7666673064231873, -0.18618780374526978, 1.1770167350769043, -0.5727859735488892, 0.892440676689148, 0.3937069773674011, -0.5094201564788818, -0.8156503438949585, -0.24162618815898895, 0.10230250656604767, -0.8524393439292908, 0.5930066704750061, 0.23551276326179504, -0.22571055591106415, -0.1153435930609703, -0.3142414391040802, -0.5370599627494812, 1.0808333158493042, 0.29612720012664795, -0.6737367510795593, -0.06846459209918976, 0.12898585200309753, 0.2542901039123535, -0.6085030436515808, 0.04805349186062813, 0.7129429578781128, 0.8144351243972778, 0.19074824452400208, -0.5248677730560303, 0.22050204873085022, -0.3479633629322052, -0.4956611692905426, 0.1714858114719391, -0.5178483724594116, 0.9187479019165039, -0.674634575843811, -0.10204281657934189, 0.2792242467403412, 0.23716028034687042, 0.5363641977310181, 0.5610266923904419, 0.6180844306945801, 0.6113799810409546, 0.9586226940155029, -0.18482156097888947, 1.4336013793945312, -0.23048949241638184, 0.31786099076271057, 1.131630778312683, -0.4752276539802551, 0.4971923828125, 0.41154998540878296, -0.11694089323282242, 0.29975101351737976, 0.8574456572532654, -0.1726740002632141, 0.8588927984237671, 0.6000950336456299, -0.4033307135105133, -0.6450310349464417, 0.012860056012868881, -0.39148107171058655, 0.587438702583313, 0.24469684064388275, -0.15638916194438934, -0.004593531601130962, 0.16619426012039185, -0.31070706248283386, 0.10857366025447845, -0.07882340252399445, 0.3362998366355896, 0.0927499458193779, -0.7528553605079651, 0.23191852867603302, 0.23173950612545013, 0.3690851032733917, -0.6138132810592651, -0.15632569789886475, -0.5482451915740967, 0.16932308673858643, -0.1681378185749054, -0.7529411315917969, 0.10894119739532471, 0.027419334277510643, -0.5093173980712891, 0.20166707038879395, 0.6188706755638123, 0.03114822693169117, -0.8953501582145691, 0.20707964897155762, 0.5020188689231873, 0.009379468858242035, 0.18947790563106537, -0.9486579895019531, 0.0765509232878685, 0.07352318614721298, -0.1440400332212448, 0.3385016620159149, 0.494471937417984, 0.2148439586162567, 1.0127100944519043, 0.8183225393295288, 0.18615329265594482, -0.025904102250933647, 0.14471185207366943, 1.093977689743042, -0.4605664908885956, -0.1857708841562271, -0.3835202753543854, 0.449733167886734, -0.04817519709467888, -0.49963051080703735, 0.5435189008712769, 0.83134925365448, 0.5345334410667419, 0.2089391052722931, 1.062873125076294, -0.20368283987045288, 0.7519875168800354, -0.8166167736053467, 0.40272122621536255, -0.8868828415870667, 0.42939743399620056, 0.023406093940138817, -0.6874712109565735, -0.1955662965774536, 0.4552405774593353, -0.17090734839439392, 0.06661203503608704, 1.0443779230117798, 0.6171935796737671, -0.1860889494419098, -0.066753089427948, 0.2178546041250229, -0.1963045746088028, 0.1862422227859497, 0.7417831420898438, 1.0168319940567017, -0.30433082580566406, 0.9444356560707092, -0.19572646915912628, -0.14926868677139282, 0.0798693522810936, -0.7261333465576172, -0.9438018798828125, -0.8475902080535889, -0.10374400019645691, -0.5091861486434937, 0.23651430010795593, 0.6510220766067505, 0.5174986124038696, -0.75080406665802, -0.035940032452344894, 0.1258709579706192, 0.2133449763059616, 0.1646784245967865, -0.17952966690063477, 0.34527429938316345, -0.12475131452083588, -0.43181008100509644, 0.43388620018959045, 0.006252541206777096, -0.10221279412508011, -0.13581976294517517, -0.1285601407289505, -0.30293095111846924, 0.5119395852088928, 0.249302938580513, 0.21645522117614746, -0.28179657459259033, -0.27993282675743103, 0.049471888691186905, -0.24595984816551208, 0.15591742098331451, 1.390942096710205, -0.49725693464279175, 0.39041611552238464, 0.4887847602367401, 0.6948779821395874, 0.6851567625999451, 0.06558050960302353, 0.5675644874572754, -0.30576092004776, 0.09670533984899521, 0.42135363817214966, 0.6386975049972534, 0.12815475463867188, -0.35159599781036377, 0.42116641998291016, 0.055905770510435104, -0.6177196502685547, -0.8399762511253357, 0.32457292079925537, -1.2730251550674438, -0.6386715769767761, 0.7853368520736694, -0.1526106297969818, 0.19968442618846893, -0.3647446930408478, -0.2815479338169098, 0.14562492072582245, -0.24955351650714874, 0.6946423053741455, 0.7450664043426514, -0.28210070729255676, -0.42555907368659973, -0.8643993139266968, 0.21850232779979706, 0.37353551387786865, -1.0659794807434082, -0.2376958280801773, 0.5260204076766968, 0.40664416551589966, -0.41725555062294006, 0.8273181915283203, -0.01251187827438116, 0.37088504433631897, 0.045713815838098526, -0.27334871888160706, -0.11650130897760391, -0.6099189519882202, 0.04158331826329231, 0.27745768427848816, 0.009689269587397575, -0.14974771440029144 ]
http://arxiv.org/abs/2406.11780v1
http://arxiv.org/pdf/2406.11780v1
Split, Unlearn, Merge: Leveraging Data Attributes for More Effective Unlearning in LLMs
2024-06-17T17:35:52
2024-06-17T17:35:52
Swanand Ravindra Kadhe, Farhan Ahmed, Dennis Wei, Nathalie Baracaldo, Inkit Padhi
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) have shown to pose social and ethical risks such as generating toxic language or facilitating malicious use of hazardous knowledge. Machine unlearning is a promising approach to improve LLM safety by directly removing harmful behaviors and knowledge. In this paper, we propose "SPlit, UNlearn, MerGE" (SPUNGE), a framework that can be used with any unlearning method to amplify its effectiveness. SPUNGE leverages data attributes during unlearning by splitting unlearning data into subsets based on specific attribute values, unlearning each subset separately, and merging the unlearned models. We empirically demonstrate that SPUNGE significantly improves the performance of two recent unlearning methods on state-of-the-art LLMs while maintaining their general capabilities on standard academic benchmarks.
[ -0.29194310307502747, -0.6021079421043396, 0.33883118629455566, -0.36376190185546875, -0.2572575509548187, 0.6100685596466064, -0.4785696566104889, -0.41924309730529785, -0.23553040623664856, 0.6797288656234741, -0.5782229900360107, -0.4869352877140045, -0.6244577169418335, -0.4310819208621979, -0.7615880370140076, 1.1944383382797241, 0.33707746863365173, 0.21714133024215698, -0.45303967595100403, -0.0774548202753067, -0.15015162527561188, -0.4111779034137726, -0.5342123508453369, -0.7218235731124878, 0.774084746837616, 0.8585349917411804, 0.6893410086631775, 0.5579774379730225, 0.3980361521244049, 0.2833499610424042, -0.20387986302375793, 0.6552389860153198, -0.6817130446434021, 0.3591559827327728, -0.303134024143219, -0.37491267919540405, -0.4348675608634949, 0.42249616980552673, 0.4640713036060333, 1.233159065246582, -0.4246237874031067, 0.19385668635368347, 0.390410840511322, 1.0318711996078491, -0.6491620540618896, -0.15811318159103394, -0.5058448314666748, -0.005405328702181578, -0.03862185776233673, -0.03249254450201988, -0.4430943429470062, -0.5695693492889404, 0.08758958429098129, -0.3797811269760132, -0.046834588050842285, 0.05740987882018089, 0.40511080622673035, 0.12808144092559814, -0.3795805275440216, -0.1136506125330925, -0.8218913078308105, 1.0142936706542969, -0.7178131937980652, 0.473165363073349, 0.1613365262746811, 0.036062221974134445, -0.39546307921409607, -0.5114935040473938, -0.5425350666046143, 0.0836617648601532, 0.09852816164493561, -0.18092654645442963, -0.1250782310962677, 0.020452994853258133, 0.06671120226383209, 0.4381181001663208, -0.39837950468063354, 0.8060840368270874, -0.6836139559745789, -0.1138877123594284, 0.8723816275596619, 0.00771709531545639, 0.27856719493865967, 0.1943771094083786, -0.46259140968322754, -0.3319081664085388, -0.9827461838722229, -0.13589610159397125, 0.7403293251991272, 0.4193164110183716, 0.27341321110725403, 0.6175482869148254, -0.032834406942129135, 0.3052786886692047, 0.06761473417282104, -0.46802735328674316, 0.5005221962928772, 0.26717472076416016, -0.16805148124694824, 0.09036396443843842, 0.7059221863746643, 0.4499017298221588, 0.16400611400604248, -0.5930576324462891, -0.13172422349452972, -0.29590919613838196, 0.23529782891273499, -0.6232030987739563, -0.10931705683469772, 0.3616643249988556, -0.5958526730537415, -0.7174989581108093, 0.04939970001578331, -0.9862675666809082, -0.643757164478302, -0.5336313247680664, 0.2975239157676697, -0.6391974687576294, -0.5437654852867126, 0.08545447885990143, -0.08167778700590134, 0.20151256024837494, 0.22779430449008942, -0.49002158641815186, 0.19301429390907288, 1.0229262113571167, 0.5429201722145081, -0.5694313049316406, -0.3817313611507416, -0.5089418292045593, 0.0007022679201327264, -0.22319817543029785, 0.5090454816818237, -0.38841500878334045, -0.5204666256904602, 0.13654901087284088, -0.16289180517196655, 0.19596131145954132, -0.6791791915893555, 0.34583747386932373, -0.6017789244651794, 0.6141766905784607, -0.0010086273541674018, -0.9250680208206177, -0.5812481045722961, -0.02678120695054531, -0.6476550102233887, 1.2116469144821167, 0.04605911299586296, -0.6345832347869873, 0.6539532542228699, -0.6838455200195312, -0.5792220234870911, 0.01565147191286087, 0.2046840935945511, -0.6228741407394409, 0.2426767498254776, -0.04245100915431976, 0.5918710231781006, -0.3548002541065216, 0.37477123737335205, -0.6399691104888916, -0.08571404218673706, 0.29390615224838257, -0.5170482993125916, 0.8732888102531433, 0.43546783924102783, 0.03478767350316048, 0.15827904641628265, -0.8075817227363586, 0.32845306396484375, -0.015454092063009739, -0.3170911371707916, -0.3768104910850525, 0.08575873076915741, 0.12167976051568985, 0.0849146619439125, 0.2507404685020447, -0.5075148344039917, 0.29038727283477783, -0.1782868355512619, 0.12001771479845047, 0.7709819674491882, -0.21569442749023438, 0.8613283038139343, -0.4201924204826355, 0.25031834840774536, 0.18056246638298035, -0.016920844092965126, 0.20303738117218018, -0.10192640125751495, -0.9432573914527893, -0.503985583782196, 0.2147926241159439, 0.5181974768638611, -0.7030090689659119, 0.6998586058616638, 0.05758947134017944, -0.6046202778816223, -0.7044661641120911, 0.47834551334381104, 0.5277508497238159, 0.44934263825416565, 0.39924803376197815, -0.026713036000728607, -0.4618169665336609, -0.6127279996871948, -0.3007141649723053, -0.28086021542549133, -0.13445958495140076, -0.10251518338918686, 0.24716132879257202, -0.3591075539588928, 0.8567871451377869, -0.5502715706825256, -0.06969261914491653, -0.48381757736206055, 0.4863528311252594, 0.021085074171423912, 0.5047040581703186, -0.030663738027215004, -0.6259692311286926, -0.12867778539657593, 0.11682775616645813, -0.9747866988182068, 0.027528993785381317, 0.20003871619701385, -0.03802231699228287, 0.41581976413726807, 0.5172292590141296, -0.32153943181037903, 0.3393968641757965, 0.30659711360931396, -0.024257514625787735, 0.4407270550727844, -0.3128506541252136, 0.17876127362251282, -1.2285963296890259, -0.14076702296733856, -0.32923969626426697, -0.28759142756462097, -0.8832221031188965, -0.024310071021318436, 0.02360542304813862, 0.015961945056915283, -0.6951330900192261, 0.23252810537815094, -0.6913416981697083, -0.045325059443712234, -0.5499200820922852, -0.08031954616308212, -0.25396937131881714, 0.21024012565612793, -0.19819772243499756, 0.6533294916152954, 0.5116443037986755, -0.6005273461341858, 0.3774966597557068, 0.1238916739821434, -0.37030625343322754, 0.6325117349624634, -0.2662925124168396, 0.3569258451461792, -0.2969902753829956, -0.16478382050991058, -0.6095085740089417, -0.08528611063957214, -0.35222485661506653, -0.3532458245754242, 0.5756268501281738, -0.051069632172584534, -0.6267865300178528, -0.09397101402282715, -0.5117244720458984, 0.39390265941619873, 0.7733039259910583, -0.8985158205032349, 0.7271614670753479, 0.6319359540939331, 0.1068701297044754, -0.6510112881660461, -0.36637404561042786, 0.012673977762460709, -0.7467441558837891, -0.6969015598297119, 0.31286078691482544, 0.17493700981140137, -0.24257908761501312, 0.10818324238061905, -0.010888375341892242, -0.03450731188058853, 0.18897706270217896, 0.43230801820755005, 0.47801050543785095, 0.027918057516217232, 0.2800784409046173, -0.08622035384178162, -0.2429816722869873, -0.14318010210990906, -0.4074505865573883, 0.5599194765090942, 0.06415756046772003, -0.3755519390106201, -0.05838280916213989, 0.4225255846977234, 0.7256483435630798, -0.20784734189510345, 1.070610523223877, 0.557407557964325, -0.4320220947265625, -0.5858524441719055, -0.5898857712745667, -0.1584625244140625, -0.5411175489425659, 0.3226567208766937, 0.31852325797080994, -1.3711811304092407, 0.25459161400794983, -0.5012920498847961, 0.38295847177505493, -0.01856902427971363, 0.5170546770095825, -0.5295693874359131, 0.8516067266464233, 0.9602928757667542, -0.4165467619895935, 0.305632084608078, -0.12352526187896729, 0.6241025328636169, -0.8493437170982361, -0.6128760576248169, -0.34775421023368835, -0.41178515553474426, -0.724786639213562, -0.4609324634075165, 0.2850742042064667, 0.32810014486312866, -0.44710010290145874, 0.1737179458141327, -0.36623433232307434, 0.5925363302230835, 0.5173393487930298, 0.11100033670663834, 0.5030659437179565, 0.24740512669086456, -0.07170584052801132, 0.18099002540111542, -0.47137343883514404, -0.6439151167869568, 1.2511543035507202, 0.38551974296569824, 1.0975795984268188, 0.12088678032159805, 0.8988906145095825, 0.3289319574832916, 0.26579955220222473, -0.6750388145446777, 0.6623546481132507, -0.45055970549583435, -0.4095809757709503, -0.3946473002433777, -0.5236217379570007, -0.8263736963272095, 0.27493420243263245, -0.4759043753147125, -0.9121068120002747, -0.15090006589889526, 0.0006733073387295008, 0.0373329259455204, 0.7112877368927002, -0.4914776086807251, 0.21635711193084717, -0.46883827447891235, -0.2136761099100113, -0.3810998797416687, -0.21100923418998718, 0.6070564389228821, -0.29344701766967773, 0.32154032588005066, -0.2691686749458313, 0.1244477778673172, 1.0015708208084106, -0.4733985662460327, 0.8197313547134399, 0.18633408844470978, -0.06165365129709244, 0.15328828990459442, 0.13517619669437408, 0.28324979543685913, -0.3136850893497467, 0.11143036931753159, 0.2535680830478668, -0.13577689230442047, -0.08178366720676422, -0.5880393385887146, 0.6681814193725586, -0.8267783522605896, -0.42881718277931213, -0.3999031186103821, -0.8044535517692566, -0.4321559965610504, 0.1661248654127121, 0.17973637580871582, -0.04944014921784401, -0.21334002912044525, 0.22378593683242798, 0.9337300658226013, -0.14513371884822845, 0.4865981936454773, 0.7980554699897766, -0.42146673798561096, -0.5532306432723999, 0.9538816213607788, -0.1119007021188736, 0.2604590952396393, 0.06787950545549393, 0.12733836472034454, -0.3714978098869324, -0.4687232971191406, 0.3025953769683838, 0.3287053406238556, -0.6123698949813843, -0.43582841753959656, -0.41464757919311523, -0.25664088129997253, -0.2991684377193451, -0.2637423574924469, -0.450496107339859, -0.42330747842788696, -0.3902071416378021, -0.41204139590263367, 0.7256780862808228, 0.82159024477005, -0.37166449427604675, 0.5300891399383545, -0.8767150044441223, -0.06943714618682861, 0.07325185090303421, 0.4743058979511261, 0.03397529944777489, -0.6099840998649597, -0.12775465846061707, -0.045784227550029755, -0.1687181442975998, -0.6750780940055847, 0.3295278549194336, 0.02436063252389431, 0.6378501057624817, 0.4521412253379822, 0.03937067463994026, 0.5835667848587036, -0.4055671691894531, 0.37019240856170654, 0.7057521343231201, -0.7286390066146851, 0.19398562610149384, -0.18159173429012299, -0.2578643560409546, 0.70536208152771, 0.39608272910118103, -0.7642546892166138, -0.29557955265045166, -0.6276381015777588, -1.2235097885131836, 0.536626935005188, -0.2252323031425476, -0.21618719398975372, 0.32725948095321655, 0.19237525761127472, 0.24690522253513336, 0.32162538170814514, -0.31039828062057495, -0.31355780363082886, 0.3555960953235626, -0.4074905216693878, -0.12894494831562042, -0.24057629704475403, -0.3147488236427307, -0.3134630620479584, 0.7687780261039734, 0.08343610167503357, -0.2087239921092987, -0.6890214681625366, -0.3894607722759247, -0.01069939136505127, 0.4217948913574219, -0.1359352320432663, 0.3380063772201538, 0.024262048304080963, 0.3725375831127167, 0.32584014534950256, -0.3993777632713318, 0.3205537497997284, -0.27456310391426086, -0.2096928060054779, -0.609857439994812, 0.5179880857467651, 0.33244770765304565, 0.2396644651889801, -0.593507707118988, 0.23203566670417786, 0.2285255640745163, -0.28915995359420776, -0.10311274975538254, 0.3919545114040375, 0.2252245843410492, 0.36233076453208923, 0.24329018592834473, -0.3465258777141571, -0.028865832835435867, -0.49823954701423645, 0.6532493233680725, 0.5779315829277039, -0.15605461597442627, 0.06867966055870056, 0.25001561641693115, 0.3063740134239197, -0.22007620334625244, 0.8635827898979187, 0.05276612564921379, -0.6549518704414368, 0.25568798184394836, 0.3742494583129883, 0.9185517430305481, -0.13599839806556702, 0.31540653109550476, -0.049268655478954315, 0.3150894343852997, -0.30957505106925964, 0.05304534360766411, 0.19044463336467743, -0.8584631085395813, -0.44139429926872253, -0.5620216727256775, -0.4159643352031708, 0.3033250570297241, -0.8504756093025208, 0.10811591893434525, -0.44222259521484375, 0.07216223329305649, -0.04048294574022293, 0.1259741634130478, -0.5903655886650085, 0.06593206524848938, 0.12091820687055588, 0.7683305144309998, -1.0273810625076294, 0.6313487887382507, 0.6841246485710144, -0.4282599985599518, -0.892819344997406, -0.12290570884943008, 0.3952395021915436, -0.8543875813484192, 0.6602820754051208, 0.14679253101348877, -0.1332310140132904, -0.3372202515602112, -0.5973749756813049, -0.8431915044784546, 1.0835732221603394, 0.25125882029533386, -0.4173528850078583, 0.22571444511413574, 0.4754941463470459, 0.23097579181194305, -0.49165648221969604, 0.2055330127477646, 0.9633083939552307, 0.25611427426338196, 0.27427735924720764, -0.6440446972846985, -0.11411219090223312, 0.09956123679876328, -0.1817641407251358, 0.3487251400947571, -0.3643878698348999, 0.6786627173423767, -0.3648408055305481, -0.1787392944097519, -0.32323214411735535, 0.9525706768035889, 0.021353373304009438, 0.28743788599967957, 0.7466443181037903, 0.7037246227264404, 1.3922722339630127, -0.11689675599336624, 0.20540915429592133, -0.052741747349500656, 0.4372359812259674, 1.1511772871017456, -0.4902942478656769, 0.7888760566711426, 0.3779224157333374, -0.2214355319738388, 0.3321056067943573, 0.289331316947937, 0.16125424206256866, 0.4805424213409424, -0.06356392800807953, -0.5183696746826172, -0.3253316283226013, 0.02208726294338703, -0.034753620624542236, 0.6488044857978821, 0.15949541330337524, -0.2143367975950241, -0.5183449983596802, 0.20460805296897888, 0.6252216696739197, 0.05628973990678787, -0.23026756942272186, 0.9931687116622925, -0.05340119078755379, -0.47610777616500854, 0.1819959282875061, -0.06391511857509613, 0.8603197336196899, -0.30898210406303406, -0.06526829302310944, -0.24194031953811646, 0.5311424732208252, -0.5543982982635498, -1.0148695707321167, 0.2024497389793396, 0.2836607098579407, -0.27280715107917786, -0.28055843710899353, 0.8641322255134583, -0.8871854543685913, -0.6589285135269165, 0.4423801004886627, 0.5461828112602234, 0.15820559859275818, 0.20983992516994476, -0.5085712671279907, -0.14134977757930756, 0.10952165722846985, 0.02425750531256199, 0.7749432921409607, 0.45932766795158386, -0.01881507784128189, 0.9434818029403687, 1.0751550197601318, 0.13241100311279297, -0.12231839448213577, 0.08678344637155533, 1.0876247882843018, -0.5921680927276611, -0.10380172729492188, -0.7411057353019714, 0.6803667545318604, -0.3085143268108368, -0.022451218217611313, 0.7039043307304382, 0.5746753215789795, 0.8248023390769958, 0.46979692578315735, 0.8357218503952026, 0.10586482286453247, 0.8345173001289368, -0.5517235398292542, 1.0827744007110596, -0.5658321380615234, 0.512402355670929, 0.023822540417313576, -0.8118982911109924, -0.048474423587322235, 0.29909077286720276, -0.08884409815073013, 0.17438341677188873, 0.5535933375358582, 0.7645895481109619, 0.0664999932050705, -0.01669551059603691, 0.5234259963035583, -0.1596534550189972, 0.5240902900695801, 0.29848137497901917, 0.8261731266975403, 0.03402102366089821, 0.18368683755397797, -0.2895265221595764, -0.4780273735523224, -0.09296877682209015, -1.073817253112793, -1.1425837278366089, -0.4438425600528717, -0.33417659997940063, -0.399981826543808, 0.15538239479064941, 1.0415691137313843, 0.5340826511383057, -0.6335508823394775, -0.258383572101593, 0.27078181505203247, 0.41134798526763916, -0.0686870664358139, -0.16316716372966766, 0.31298747658729553, -0.473893940448761, -0.4852766692638397, 0.43207573890686035, 0.22014132142066956, -0.17469477653503418, -0.48633942008018494, -0.023498356342315674, 0.057977285236120224, -0.025178372859954834, 0.615121603012085, 0.29315295815467834, -0.28515902161598206, -0.21754059195518494, -0.13291344046592712, 0.06727059930562973, -0.2989334464073181, 0.8664320111274719, -0.6322951316833496, 0.04827340319752693, 0.4257586598396301, 0.6618356704711914, 0.21572403609752655, 0.012890923768281937, 0.6430270671844482, -0.7035430669784546, 0.03138779476284981, 0.06076580658555031, 0.3612009286880493, 0.3968099057674408, -0.4086054861545563, 0.4794360399246216, -0.03913391754031181, -0.45596250891685486, -1.0719575881958008, 0.10585308074951172, -0.7253464460372925, -0.4685249626636505, 1.315995454788208, 0.041769422590732574, -0.15120647847652435, -0.019369469955563545, 0.24726128578186035, 0.5069290995597839, -0.34453433752059937, 0.6451282501220703, 0.5471214652061462, -0.06280270963907242, -0.10155626386404037, -0.2162318378686905, 0.44865888357162476, 0.26033949851989746, -1.1269479990005493, 0.35207897424697876, 0.5167199969291687, 0.6076735258102417, -0.07584352046251297, -0.015802180394530296, -0.364015132188797, 0.1006966084241867, -0.4980640113353729, 0.39164918661117554, -0.4397139847278595, -0.5966338515281677, -0.37944066524505615, -0.023617524653673172, 0.015736714005470276, -0.16407929360866547 ]
http://arxiv.org/abs/2406.11776v1
http://arxiv.org/pdf/2406.11776v1
Improving Multi-Agent Debate with Sparse Communication Topology
2024-06-17T17:33:09
2024-06-17T17:33:09
Yunxuan Li, Yibing Du, Jiageng Zhang, Le Hou, Peter Grabowski, Yeqing Li, Eugene Ie
cs.CL
cs.CL
Multi-agent debate has proven effective in improving large language models quality for reasoning and factuality tasks. While various role-playing strategies in multi-agent debates have been explored, in terms of the communication among agents, existing approaches adopt a brute force algorithm -- each agent can communicate with all other agents. In this paper, we systematically investigate the effect of communication connectivity in multi-agent systems. Our experiments on GPT and Mistral models reveal that multi-agent debates leveraging sparse communication topology can achieve comparable or superior performance while significantly reducing computational costs. Furthermore, we extend the multi-agent debate framework to multimodal reasoning and alignment labeling tasks, showcasing its broad applicability and effectiveness. Our findings underscore the importance of communication connectivity on enhancing the efficiency and effectiveness of the "society of minds" approach.
[ -0.892453670501709, -1.0454612970352173, 0.7721532583236694, -0.12175463885068893, -0.1174946054816246, 0.05409296602010727, -0.20278675854206085, -0.46881651878356934, 0.4693555235862732, 0.3188449740409851, -0.4583507776260376, -0.14528529345989227, -0.5896333456039429, 0.10390321910381317, -0.04907752573490143, 0.706038236618042, 0.3839849829673767, -0.14701849222183228, -0.39271411299705505, -0.597277820110321, -0.557921826839447, -0.564290463924408, -0.7290518283843994, -0.3611719310283661, 0.8580511808395386, 0.2687843143939972, 1.077492117881775, 0.5311715602874756, 0.4320778250694275, 0.5522924661636353, -0.16492916643619537, 0.582567036151886, -0.6727487444877625, 0.5644312500953674, -0.3038283884525299, -0.2999926507472992, -0.5488057732582092, -0.04058708995580673, 0.8703402876853943, 0.6885994672775269, -0.15830446779727936, -0.2759079337120056, 0.1600043922662735, 0.5536671280860901, -0.4300915002822876, 0.13229338824748993, -0.7473416328430176, -0.46959206461906433, -0.22057223320007324, -0.43176358938217163, -0.38291117548942566, -0.12196026742458344, 0.139524906873703, -0.7757072448730469, 0.025617942214012146, -0.009003197774291039, 0.8923046588897705, 0.499287486076355, -0.5621280670166016, -0.18665708601474762, -0.7216484546661377, 0.21551407873630524, -0.34025779366493225, 0.3222378194332123, 0.15227627754211426, 0.15482258796691895, -0.3939955234527588, -0.5952621102333069, -0.5778440833091736, -0.030839260667562485, 0.013500581495463848, 0.1654307097196579, -0.30413055419921875, 0.47587838768959045, 0.19950374960899353, -0.2514966130256653, -0.257485955953598, -0.3071134388446808, -0.34773463010787964, -0.1471136212348938, 0.5080903768539429, 0.16225625574588776, 0.02652609348297119, 0.19013775885105133, -0.14694544672966003, -0.055258724838495255, -0.4738035798072815, -0.13541032373905182, 0.3025110363960266, 0.2171759307384491, 0.10852567106485367, 0.19047339260578156, -0.24300238490104675, 0.7422162294387817, 0.012774663977324963, -0.19524045288562775, -0.22994981706142426, -0.6219601631164551, -0.08109255880117416, -0.325044184923172, 0.5229119658470154, 0.2895512282848358, -0.08722468465566635, -0.30370208621025085, 0.13261330127716064, 0.21789972484111786, 0.4030606150627136, -0.5133433938026428, -0.2947540879249573, 0.14211058616638184, -0.22165651619434357, 0.2444514036178589, -0.24694283306598663, -0.5765921473503113, -0.54881751537323, -0.26598984003067017, 0.4933072626590729, -0.24679511785507202, -0.5530281066894531, 0.053642112761735916, -0.32974544167518616, -0.04271624609827995, 0.9016895890235901, -0.5608739852905273, 0.4923098683357239, 0.589179277420044, 0.908968985080719, 0.2673962414264679, -0.4662284553050995, -0.39892423152923584, 0.3855830132961273, -0.5482072830200195, 1.2950639724731445, -0.46135351061820984, -0.11683305352926254, -0.5155194401741028, -0.029406072571873665, -0.5047092437744141, -0.27545544505119324, 0.1847725361585617, -0.42082637548446655, -0.17709514498710632, -0.7461467385292053, -0.4469800293445587, 0.06617988646030426, 0.47834697365760803, -0.9594097137451172, 0.305625319480896, -0.480568528175354, -0.6164045333862305, 0.1227341741323471, -0.7286858558654785, -0.31434008479118347, 0.13844643533229828, -0.12724454700946808, -0.22379201650619507, -0.20279064774513245, 0.13408580422401428, 0.24898205697536469, -0.358205646276474, 0.17812515795230865, -0.5510256290435791, -0.4397309720516205, 0.34115293622016907, -0.3236859142780304, 0.5587731003761292, 0.2853342592716217, -0.3485892117023468, 0.1157870665192604, -0.1734047532081604, -0.21915286779403687, -0.09872740507125854, -0.0615873858332634, -0.2982359528541565, 0.21923884749412537, -0.5185043215751648, 0.14564365148544312, -0.2895287871360779, -0.31817272305488586, 0.3378061056137085, -0.3936379551887512, 0.5749119520187378, 0.8036023378372192, -0.1639714390039444, 0.610314130783081, -0.6924968361854553, 0.26153111457824707, -0.04521907493472099, 0.21234150230884552, -0.060356561094522476, -0.8326601386070251, -0.6836011409759521, -0.43974393606185913, 0.1184334084391594, 0.3068779408931732, -1.2011620998382568, -0.17785099148750305, -0.30963408946990967, -0.47606128454208374, -0.5141991376876831, -0.29714861512184143, 0.15000423789024353, 0.3061053156852722, 0.2094154804944992, -0.24393810331821442, 0.023367246612906456, -0.47973138093948364, -0.0769103392958641, -0.4272196590900421, 0.5292103886604309, 0.6544742584228516, 0.25441303849220276, -0.012014348991215229, 0.9307441711425781, -0.37829694151878357, 0.0806015208363533, -0.12015993893146515, 0.2259465456008911, -0.3142074644565582, 0.3407399356365204, 0.32239317893981934, -0.6097860932350159, -0.4258423149585724, 0.04346310347318649, -0.5501035451889038, 0.18905217945575714, -0.32556644082069397, -0.34570491313934326, 0.41544005274772644, 0.4387216567993164, -1.123137354850769, 0.34928491711616516, 0.34230056405067444, -0.353384405374527, 0.5181112289428711, -0.161589577794075, 0.6866127252578735, -0.8770042657852173, -0.11657927185297012, -0.0630553588271141, -0.15879419445991516, -0.7846121191978455, 0.1638714075088501, -0.4815598428249359, -0.14553366601467133, -0.13629402220249176, 0.476550430059433, -0.5808247327804565, 0.11685878783464432, -0.20414434373378754, 0.5217096209526062, 0.20114535093307495, 0.5666521787643433, -0.040734004229307175, 1.042797327041626, 0.5513635873794556, -0.379637211561203, 0.4509977698326111, 0.22901692986488342, 0.11861436069011688, 0.9323182106018066, -0.7238909006118774, 0.30177029967308044, -0.41574424505233765, 0.5438892841339111, -1.484236240386963, 0.010923066176474094, 0.3463757038116455, -0.5578984022140503, 0.01948409341275692, -0.23731715977191925, -0.38984012603759766, 0.09278932958841324, -0.24894294142723083, 0.5182076096534729, -0.1290237158536911, -0.31064778566360474, 0.5728753209114075, 0.6307393312454224, -0.23031602799892426, -0.6373312473297119, -0.18030428886413574, 0.533399224281311, -0.3586146831512451, -1.0411685705184937, -0.08353867381811142, -0.1024874746799469, -0.2990015745162964, -0.06602803617715836, -0.0016274573281407356, -0.3682284951210022, 0.13916872441768646, 0.023913556709885597, 0.0006364823784679174, -0.15941578149795532, 0.5787848234176636, 0.1814655363559723, 0.06083497777581215, -0.05994865670800209, -0.32318705320358276, 0.3600737452507019, -0.23645086586475372, -0.4893619120121002, -0.2292042374610901, 0.7227098941802979, 0.49879294633865356, -0.1600438505411148, 1.005782961845398, 0.29473841190338135, -0.13983134925365448, -0.21368324756622314, -0.9314390420913696, -0.5135844349861145, -0.4832664430141449, 0.26239991188049316, -0.506105899810791, -1.2190130949020386, 0.31385719776153564, -0.5912426710128784, -0.10487797111272812, 0.15439969301223755, 0.254489928483963, -0.14937768876552582, 0.9955125451087952, 0.5673461556434631, 0.21769152581691742, 0.11163627356290817, 0.053604237735271454, 0.25993549823760986, -0.4421442747116089, -0.09979307651519775, -0.7666666507720947, -0.13555119931697845, -0.43165817856788635, -0.6508963108062744, 0.7995057106018066, -0.1857781559228897, -0.14530417323112488, 0.29611194133758545, -0.5721461176872253, 0.39221298694610596, 0.2821508049964905, 0.10680747032165527, 0.36772167682647705, 0.19523948431015015, -0.13900883495807648, 0.1073603555560112, -1.048050045967102, -0.38949573040008545, 0.652614414691925, 0.1662401556968689, 0.6375903487205505, 0.454262375831604, 0.378473699092865, 0.20322519540786743, 0.1452089250087738, -0.45184433460235596, 0.5594083070755005, 0.38179177045822144, -0.530847430229187, -0.7385587692260742, -0.6167957186698914, -1.3590826988220215, 0.8392598032951355, -0.34629788994789124, -0.8741485476493835, 0.40160155296325684, -0.12475904077291489, -0.2842239439487457, 0.37391525506973267, -0.7935090065002441, 0.8156850934028625, 0.5754852890968323, -0.5116127133369446, -0.5672920346260071, -0.7952147126197815, 0.29452207684516907, 0.30166810750961304, 0.2791712284088135, 0.0037617413327097893, 0.10435287654399872, 0.5426617860794067, -0.4692626893520355, 0.7177581787109375, 0.2146185338497162, -0.19853301346302032, 0.6310209035873413, -0.28791478276252747, 0.4351133704185486, 0.13857831060886383, 0.2005079686641693, 0.22230006754398346, 0.089481420814991, -0.4161313474178314, -0.6646876931190491, 0.543485164642334, -1.0139143466949463, -0.8182078003883362, -0.22212688624858856, -0.7400023937225342, -0.2503347396850586, -0.023578505963087082, -0.08287467807531357, 0.7402913570404053, -0.1971150040626526, 0.04584818333387375, 0.8351307511329651, 0.16064894199371338, 0.23885616660118103, 0.3268086910247803, 0.5624039173126221, -0.4690196216106415, 0.9643697738647461, 0.40764763951301575, 0.6123422384262085, -0.04182121157646179, -0.1840965300798416, -0.472500205039978, -0.05307045578956604, -0.5644861459732056, 0.42994582653045654, -0.8735647201538086, -0.23559311032295227, -1.0048362016677856, -0.18465352058410645, -0.4718496799468994, -0.07017774879932404, -0.4071502387523651, -0.576054573059082, 0.18210923671722412, 0.24496550858020782, -0.0029754042625427246, 0.7290336489677429, -0.21231652796268463, 0.4126237630844116, -0.5600557327270508, 0.10901880264282227, 0.6399800181388855, 0.25914040207862854, 0.2720489799976349, -0.009546787478029728, -0.3145968019962311, 0.1413724273443222, -0.6785573363304138, -1.1804742813110352, -0.19341564178466797, 0.11156246066093445, 0.6421610713005066, 0.24680033326148987, 0.06265071034431458, 0.8171364068984985, -0.34460020065307617, 0.47037044167518616, 0.114180788397789, -0.8857253193855286, 0.14934232831001282, -0.6058943867683411, 0.16545195877552032, 0.21168135106563568, 0.05712582543492317, -0.5381984710693359, -0.6341941356658936, -0.6309199333190918, -0.4088689088821411, 0.6639841794967651, 0.4479193389415741, -0.27198973298072815, -0.05352693051099777, 0.2173764705657959, -0.29561954736709595, 0.25478217005729675, -0.3683883249759674, -0.3478732705116272, -0.09519681334495544, 0.42186710238456726, 0.03595414012670517, 0.003902875818312168, -0.6511251926422119, -0.3906489312648773, 0.2261132001876831, -0.40508463978767395, 0.46165749430656433, 0.3766956329345703, 0.17686736583709717, -0.17029637098312378, 0.5005478262901306, 0.8728286623954773, 0.9152740836143494, 0.3331526517868042, 0.3779834508895874, 0.13886742293834686, -0.25093287229537964, 0.41232016682624817, 0.25431114435195923, 0.18641290068626404, -0.048796605318784714, 0.3040250241756439, 0.8115076422691345, -0.3532913327217102, -0.18314623832702637, 0.38041606545448303, -0.3186306357383728, -0.5456985831260681, 0.5103377103805542, 0.09582621604204178, 0.5005121827125549, 0.6359624266624451, 0.16744211316108704, 0.40886709094047546, 0.31842634081840515, -0.5226830244064331, 0.2631772756576538, 0.8784379959106445, -0.11260933429002762, -0.1009250059723854, 0.49124813079833984, 0.35881364345550537, 0.013660413213074207, 0.31415480375289917, -0.2233404666185379, -0.34403902292251587, 0.8946502804756165, 0.4310317039489746, 0.45518359541893005, -0.32043230533599854, 0.6686526536941528, 0.13139015436172485, 0.7675591707229614, -0.1123456284403801, -0.007856983691453934, -0.21576641499996185, -0.7718327641487122, -0.7931780815124512, 0.0323566272854805, -0.6389476656913757, -0.2945842146873474, -0.05195441469550133, -0.13529585301876068, -0.2742690443992615, -0.490230530500412, 0.028074022382497787, 0.22014790773391724, -0.3062672019004822, -0.2388923615217209, 0.20960313081741333, 0.5190223455429077, -0.7400246262550354, 0.7376201152801514, 0.8772530555725098, -0.05025719851255417, -0.7933506369590759, -0.12881942093372345, 0.05685107037425041, -0.16894736886024475, 0.3130151927471161, 0.08174208551645279, -0.6955822706222534, 0.026693344116210938, -0.7396776676177979, -1.0426126718521118, 1.009757161140442, 0.6466608047485352, -0.16826896369457245, 0.4098673164844513, 0.1256011426448822, 0.5010023713111877, -0.1316770762205124, 0.7450194358825684, 0.25330764055252075, 0.515997588634491, 0.39013999700546265, -1.2081687450408936, 0.1382988691329956, -0.34117597341537476, -0.2602793276309967, 0.20860835909843445, -1.061574935913086, 1.0125901699066162, -0.11120270192623138, -0.6146438717842102, 0.007590075489133596, 0.7852887511253357, 0.237214133143425, 0.4260581135749817, 0.6489772200584412, 0.4325924515724182, 0.9833208322525024, -0.20167754590511322, 0.4495513439178467, -0.22908000648021698, 0.4014207124710083, 0.5821803212165833, -0.34842684864997864, 0.1882568895816803, 0.23808839917182922, 0.039861541241407394, 0.3896767497062683, 0.2355622500181198, 0.45485231280326843, 0.12803812325000763, 0.12282636761665344, -0.32830366492271423, -0.6218612194061279, -0.4083746373653412, -0.4079524278640747, 0.25603240728378296, 0.5084643363952637, 0.801088809967041, -0.48209911584854126, -0.15535534918308258, 0.21920554339885712, 0.08806302398443222, 0.02682795561850071, 0.8680047392845154, -0.20544198155403137, -0.8667307496070862, 0.8343005180358887, -0.055789764970541, 0.3385535478591919, -0.35799503326416016, -0.4078700542449951, -0.2079888880252838, -0.09235408157110214, -0.017386332154273987, -0.4129883646965027, 0.281388521194458, -0.6620675921440125, 0.19647975265979767, 0.22517256438732147, 0.9899508357048035, -0.703196108341217, 0.17826172709465027, 0.2903729975223541, 0.8558897972106934, 0.19401372969150543, -0.05078040808439255, -0.7445405721664429, 0.2703472375869751, -0.6567553281784058, 0.0137009983882308, 0.370895653963089, 0.7283056378364563, -0.18898434937000275, 0.922625720500946, 0.5778961181640625, 0.007523707579821348, -0.031025981530547142, -0.16497430205345154, 1.4761220216751099, -0.2472083568572998, -0.5907660722732544, -0.7577497363090515, 0.36910220980644226, -0.46656277775764465, 0.029903244227170944, 0.708310067653656, 0.08247476071119308, 0.4900440275669098, 0.38850149512290955, 0.5418166518211365, 0.1237669289112091, 0.1012098416686058, -0.16997140645980835, 0.8047189712524414, -0.48019054532051086, 0.02705869823694229, -0.45738810300827026, -0.6360250115394592, -0.054122067987918854, 0.6602324843406677, 0.07948285341262817, 0.036149945110082626, 1.0150405168533325, 0.8832250833511353, -0.08214925229549408, 0.20393820106983185, 0.3465334475040436, 0.1597423553466797, 0.3872351050376892, 0.6724382638931274, 0.9355878829956055, -0.26846086978912354, 0.4889434576034546, 0.06483574956655502, -0.48586955666542053, 0.17041020095348358, -0.5322547554969788, -1.1749428510665894, -0.8269771337509155, -0.2518036961555481, -0.43523454666137695, 0.6120048761367798, 0.7034139037132263, 0.900969922542572, -0.11042589694261551, -0.4345030188560486, 0.2656589448451996, 0.6460034847259521, -0.465224027633667, -0.13850443065166473, 0.25976651906967163, -0.5946139097213745, -0.5435553789138794, 0.27865418791770935, 0.4724484980106354, -0.48386913537979126, -0.19802619516849518, -0.17482513189315796, -0.5077585577964783, 0.5951752066612244, 0.6373558640480042, 0.16966798901557922, -0.5828738808631897, -0.3430742621421814, -0.142843097448349, -0.24345088005065918, 0.13462619483470917, 0.8411672711372375, -0.6098086833953857, 0.4285934269428253, 0.4446146488189697, 0.7230913043022156, 0.06703408807516098, 0.42784640192985535, 0.4455428123474121, -0.3879431486129761, 0.2787131071090698, -0.10717877000570297, 0.018023405224084854, 0.18951448798179626, -0.3405980169773102, 0.300545871257782, 0.6824002861976624, -0.9689483642578125, -0.5128076672554016, 0.28330326080322266, -0.7869734168052673, -0.5400390625, 1.0555869340896606, -0.09446205198764801, -0.19683243334293365, -0.715303361415863, -0.38723939657211304, 0.22352953255176544, -0.5244308114051819, 0.6056897640228271, 0.853698194026947, -0.11907511949539185, -0.3706497251987457, -0.4942541718482971, 0.5660039782524109, 0.5495166182518005, -0.8750718235969543, -0.01785198040306568, 0.6832345724105835, -0.05592832714319229, 0.2561340928077698, 1.3359211683273315, 0.33691293001174927, 0.21284359693527222, 0.27058538794517517, -0.27749568223953247, 0.10908079147338867, -0.8550856709480286, 0.09233821928501129, 0.3599536716938019, -0.004532715305685997, 0.014020339585840702 ]
http://arxiv.org/abs/2406.11768v1
http://arxiv.org/pdf/2406.11768v1
GAMA: A Large Audio-Language Model with Advanced Audio Understanding and Complex Reasoning Abilities
2024-06-17T17:31:01
2024-06-17T17:31:01
Sreyan Ghosh, Sonal Kumar, Ashish Seth, Chandra Kiran Reddy Evuru, Utkarsh Tyagi, S Sakshi, Oriol Nieto, Ramani Duraiswami, Dinesh Manocha
cs.SD
cs.SD, cs.AI, cs.CL, eess.AS
Perceiving and understanding non-speech sounds and non-verbal speech is essential to making decisions that help us interact with our surroundings. In this paper, we propose GAMA, a novel General-purpose Large Audio-Language Model (LALM) with Advanced Audio Understanding and Complex Reasoning Abilities. We build GAMA by integrating an LLM with multiple types of audio representations, including features from a custom Audio Q-Former, a multi-layer aggregator that aggregates features from multiple layers of an audio encoder. We fine-tune GAMA on a large-scale audio-language dataset, which augments it with audio understanding capabilities. Next, we propose CompA-R (Instruction-Tuning for Complex Audio Reasoning), a synthetically generated instruction-tuning (IT) dataset with instructions that require the model to perform complex reasoning on the input audio. We instruction-tune GAMA with CompA-R to endow it with complex reasoning abilities, where we further add a soft prompt as input with high-level semantic evidence by leveraging event tags of the input audio. Finally, we also propose CompA-R-test, a human-labeled evaluation dataset for evaluating the capabilities of LALMs on open-ended audio question-answering that requires complex reasoning. Through automated and expert human evaluations, we show that GAMA outperforms all other LALMs in literature on diverse audio understanding tasks by margins of 1%-84%. Further, GAMA IT-ed on CompA-R proves to be superior in its complex reasoning and instruction following capabilities.
[ -0.6350907683372498, -1.1902166604995728, 0.7881094813346863, 0.05342194065451622, 0.03910147398710251, 0.14051604270935059, -0.439696729183197, -0.5393176674842834, -0.14897558093070984, 0.31393203139305115, -0.6280823945999146, -0.6442726850509644, -0.5547197461128235, -0.28552374243736267, -0.480506032705307, 0.5184258222579956, 0.358940452337265, 0.09347841143608093, -0.12362796813249588, -0.22660087049007416, -0.663250207901001, -0.42604923248291016, -0.6898559331893921, -0.4366095960140228, 0.19244442880153656, 0.6547380089759827, 0.8204177618026733, 0.40685078501701355, 0.2800285816192627, 0.2128063440322876, -0.13543735444545746, 0.5855153799057007, -0.08359996974468231, -0.012174664996564388, -0.16490061581134796, -0.6009784936904907, -0.8682927489280701, -0.06879287213087082, 0.3404168486595154, 0.6167284846305847, -0.2932056784629822, 0.4261757433414459, -0.36316123604774475, 0.28185081481933594, -0.4186364710330963, 0.09263705462217331, -0.6566037535667419, 0.0033289180137217045, 0.2997390925884247, -0.5227532982826233, -0.5349161624908447, 0.18559589982032776, 0.010385911911725998, -0.7469303011894226, 0.2705623209476471, 0.2686065435409546, 0.8387365937232971, 0.466331422328949, -0.12348707020282745, -0.6062167882919312, -1.1131484508514404, 0.8485483527183533, -0.5888751745223999, 0.4965364933013916, 0.5505378246307373, 0.7795102000236511, -0.14816856384277344, -0.41099080443382263, -0.8143272995948792, -0.24533191323280334, 0.42048078775405884, 0.04421510547399521, -0.21196742355823517, -0.008166981860995293, 0.16837869584560394, 0.5492277145385742, -0.6827754378318787, -0.17583443224430084, -0.1007283627986908, 0.22409647703170776, 0.6606107950210571, 0.24024532735347748, 0.8363988399505615, 0.3878954350948334, -0.24992038309574127, 0.06719840317964554, -0.6390971541404724, 0.10044403374195099, 0.24689389765262604, 0.15518999099731445, -0.12273238599300385, 0.2755872309207916, -0.06302056461572647, 0.8536815047264099, -0.015501821413636208, -0.2613833546638489, 0.21691438555717468, -0.20876218378543854, -0.553482711315155, 0.2146860659122467, 0.6124287247657776, -0.04746632277965546, 0.2794248163700104, -0.26373323798179626, -0.0875496119260788, 0.1190040335059166, 0.09050770103931427, -0.29170891642570496, -0.1757347136735916, 0.3249134421348572, -0.22490622103214264, 0.193556547164917, -0.1078670471906662, -0.5122820734977722, -0.2528514266014099, -0.6618785858154297, 0.8038470149040222, -0.2683273255825043, -0.19700360298156738, 0.796071469783783, 0.18107159435749054, 0.22847844660282135, 0.4213518798351288, -1.0340763330459595, 0.37194034457206726, 0.7897306680679321, 0.7296048402786255, 0.25232529640197754, -0.003388359909877181, -0.8594250679016113, 0.5020602345466614, -0.11954323202371597, 0.7617384195327759, -1.0333160161972046, -0.30462759733200073, -0.4599195718765259, -0.19244927167892456, -0.03558515012264252, -0.5799317359924316, 0.9581225514411926, -0.37761059403419495, 0.3128340244293213, 0.04419965296983719, -0.4171975553035736, -0.7707881331443787, 0.114507295191288, -0.26328545808792114, 0.4121246933937073, -0.17415751516819, -0.04430622234940529, 0.2628195881843567, -0.7854758501052856, -0.3131501078605652, -0.08918563276529312, -0.15500377118587494, -0.44847941398620605, -0.05972541868686676, 0.47096019983291626, 0.3455311357975006, -0.6105996370315552, 0.5216029286384583, -0.3375438153743744, -0.7171778082847595, 0.1340738832950592, -0.4595608115196228, 0.4926298260688782, 0.3421483337879181, -0.42521753907203674, 0.2625650465488434, -0.8282628059387207, 0.03140799701213837, 0.1073237955570221, -0.22018760442733765, -0.041201233863830566, 0.15437668561935425, -0.05366574600338936, 0.2450879067182541, -0.028498278930783272, -0.36453723907470703, 0.04310274124145508, -0.1048097237944603, 0.660633385181427, 0.27327460050582886, -0.11988531798124313, 0.5037891268730164, -0.36224979162216187, 0.5581608414649963, -0.11323107779026031, 0.13325688242912292, -0.3140300214290619, -0.6049726009368896, -0.926733672618866, -0.4656471610069275, -0.08361790329217911, 0.662794291973114, 0.15659838914871216, 0.4308612644672394, 0.059916429221630096, -0.38354143500328064, -0.7637612819671631, 0.2435300052165985, 0.2517904043197632, 0.4966356158256531, 0.6417914628982544, 0.26487189531326294, -0.6223288774490356, -0.8168563842773438, -0.14631381630897522, 0.022215817123651505, -0.35299283266067505, 0.6000272035598755, 0.17707084119319916, -0.5687062740325928, 0.7089113593101501, -0.4342186748981476, -0.393744558095932, -0.20415335893630981, 0.2289194017648697, 0.472951203584671, 0.34953489899635315, 0.27766868472099304, -0.4501981735229492, 0.011358698830008507, 0.19426289200782776, -0.6777183413505554, -0.30843639373779297, -0.38851451873779297, 0.010002616792917252, -0.26007962226867676, 0.3235030770301819, -0.7523661851882935, -0.057491280138492584, 0.37552085518836975, -0.44471463561058044, 0.44785043597221375, -0.3373032808303833, 0.1989673227071762, -0.676538348197937, -0.04570077732205391, -0.07088517397642136, -0.17714162170886993, -0.586069643497467, 0.10450264066457748, -0.22734296321868896, -0.15312378108501434, -0.12897202372550964, 0.5012438893318176, -0.5012892484664917, -0.29443758726119995, -0.3374595046043396, 0.33191952109336853, 0.1709231436252594, 0.5704174041748047, 0.07721304148435593, 0.8615827560424805, 0.6526634693145752, -0.6290567517280579, 0.3524203896522522, 0.28224876523017883, -0.7198411226272583, 0.24056386947631836, -0.8183338046073914, 0.4978898763656616, -0.020129701122641563, 0.07668772339820862, -0.8928287029266357, -0.04651098698377609, 0.18001192808151245, -0.4804764688014984, 0.2652184069156647, -0.022610202431678772, -0.391076922416687, 0.015627218410372734, 0.4854692220687866, 0.27944716811180115, 0.4025121033191681, -0.5450829267501831, 0.9487054944038391, 0.658314049243927, -0.3042639493942261, -0.4155409336090088, -0.5189400315284729, 0.31576111912727356, -0.36172300577163696, -0.8773984909057617, -0.1301390528678894, -0.07810592651367188, -0.4537229537963867, -0.2715590000152588, -0.13210949301719666, -0.10334183275699615, 0.25579702854156494, 0.24466009438037872, 0.24417762458324432, -0.33801382780075073, 0.09696517139673233, 0.027686646208167076, -0.09471867233514786, 0.2509559392929077, -0.16992849111557007, 0.5278363823890686, -0.5775353312492371, -0.5040290355682373, -0.3336808383464813, 0.4472462236881256, 0.6206709742546082, -0.4179481863975525, 0.11921828985214233, 0.6520498991012573, -0.006264897063374519, -0.5209823846817017, -0.3574860692024231, 0.173956036567688, -0.40108630061149597, 0.46906912326812744, -0.5769352912902832, -0.8568502068519592, 0.47071680426597595, 0.010614736936986446, 0.12555183470249176, 0.07667850703001022, 0.8828040361404419, -0.22304505109786987, 1.559741735458374, 0.029930179938673973, 0.20857176184654236, 0.13493885099887848, -0.41875386238098145, 0.35374635457992554, -0.7352393865585327, -0.48257023096084595, -0.5004786849021912, -0.4402737319469452, 0.049994878470897675, -0.5488703846931458, 0.12165457755327225, -0.018023749813437462, -0.4185004234313965, -0.010936656035482883, -0.36274704337120056, 0.5593300461769104, 0.4908429682254791, -0.06865157186985016, 0.5508809089660645, -0.3150799870491028, 0.08810748159885406, 0.5869126915931702, -0.4780820906162262, -0.7101993560791016, 0.7273076176643372, 0.6377611756324768, 0.8329444527626038, 0.2638879418373108, 0.06336939334869385, 0.17320853471755981, -0.3139435648918152, -0.9543158411979675, 0.4799270033836365, 0.0080686891451478, -0.5586642026901245, -0.13865427672863007, -0.20860818028450012, -0.5749878883361816, 0.3842111825942993, -0.36549443006515503, -0.5156447291374207, 0.0657021701335907, 0.11946181952953339, -0.37485185265541077, 0.22040659189224243, -1.017035961151123, 0.4480786621570587, -0.36296549439430237, -0.0022885603830218315, -0.512464702129364, -0.48490798473358154, 0.48497477173805237, 0.20513500273227692, 0.51750248670578, -0.4039357304573059, -0.05941071733832359, 0.2795504927635193, 0.012087383307516575, 0.21751533448696136, -0.2288111448287964, -0.1417718082666397, 0.2649552822113037, 0.10956533253192902, 0.08970458060503006, 0.3957018554210663, 0.14009271562099457, 0.3465190529823303, -0.12833338975906372, -0.1914508193731308, -0.8569149971008301, 0.6739758849143982, -0.9723370671272278, -0.9039482474327087, -0.13471873104572296, -1.043068528175354, -0.6502126455307007, -0.09039249271154404, -0.1293201744556427, 0.4608764052391052, 0.058399491012096405, 0.23686902225017548, 0.8909893035888672, -0.30636000633239746, 0.09123256057500839, 0.4816597104072571, -0.3139532506465912, -0.2327415943145752, 0.9563298225402832, -0.23167715966701508, 0.25085073709487915, 0.3662659227848053, 0.23390617966651917, -0.3695265054702759, -0.7403405904769897, -0.5993998646736145, -0.01406711246818304, -0.5953463912010193, 0.25774988532066345, -0.8634366393089294, 0.04165806621313095, 0.1396956443786621, -0.03077906183898449, 0.04299704730510712, -0.4188423752784729, -0.32441774010658264, -0.08376433700323105, 0.025245318189263344, 0.481853723526001, 0.06341686099767685, 0.27754759788513184, -0.7413081526756287, 0.8021692633628845, 0.5508176684379578, 0.14034387469291687, 0.07577687501907349, -0.7416565418243408, -0.27541399002075195, 0.19929979741573334, -0.016394441947340965, -0.5645714402198792, 0.3194960057735443, 0.5298366546630859, 0.7094433307647705, 0.4784765839576721, -0.3972236216068268, 0.6460383534431458, -0.48962366580963135, 0.440376877784729, -0.04421543702483177, -1.000531554222107, 0.4433386027812958, -0.5804164409637451, 0.48572486639022827, 0.38458019495010376, -0.10032586753368378, -0.4207572937011719, -0.4616766571998596, -0.32377728819847107, -0.6812558174133301, 0.541285514831543, -0.02696079947054386, 0.015717845410108566, 0.1188429668545723, 0.02436702884733677, 0.1811235249042511, -0.09741062670946121, -0.14242981374263763, -0.17730215191841125, -0.23476466536521912, -0.03612793609499931, -0.20588524639606476, -0.09159339219331741, -0.1463405340909958, -0.432094931602478, 0.74281245470047, -0.08697867393493652, 0.21744534373283386, 0.10217207670211792, -0.25428885221481323, -0.041538629680871964, 0.7107751965522766, 0.9348970055580139, 0.5606432557106018, -0.374176561832428, 0.18739639222621918, 0.21604308485984802, -0.47654226422309875, 0.4791690707206726, -0.348440557718277, 0.03335122764110565, -0.0949886292219162, 0.1759006232023239, 1.0726512670516968, 0.13001902401447296, -1.008680820465088, 0.18609505891799927, -0.3269389867782593, -0.3424068093299866, -0.3490730822086334, 0.6094807982444763, 0.6516798138618469, 0.2339445948600769, 0.44771239161491394, 0.18947087228298187, 0.4058862030506134, -0.7130916118621826, 0.23791778087615967, 0.39561036229133606, -0.2932907044887543, -0.25355520844459534, 0.8048597574234009, 0.10707935690879822, -0.29614683985710144, 0.3156183958053589, -0.08660949021577835, -0.05418333783745766, 0.6103171110153198, 0.6221980452537537, 0.8796249628067017, -0.019021498039364815, -0.028227424249053, 0.32761088013648987, 0.20136499404907227, 0.11301612854003906, 0.5380879640579224, -0.3197193443775177, -0.5224884748458862, -0.692345142364502, -0.6313831210136414, -0.6967736482620239, 0.33925697207450867, -0.476282000541687, 0.33886104822158813, -0.8626889586448669, -0.004423060920089483, 0.06319966167211533, -0.1604112684726715, -0.4903743863105774, 0.46684184670448303, 0.3864956200122833, 0.891981303691864, -0.7603444457054138, 0.72653728723526, 0.7114302515983582, -0.3639736771583557, -0.9061018824577332, -0.17075897753238678, -0.11521083861589432, -0.8574473857879639, 0.49547237157821655, 0.08511270582675934, -0.5699597001075745, -0.04355600103735924, -0.6034089922904968, -0.6242379546165466, 0.9438909292221069, 0.7359313368797302, -0.9024649262428284, -0.09169340133666992, 0.004452273715287447, 0.4071349501609802, -0.4461989998817444, 0.5085340738296509, 0.7627533078193665, 0.5416656732559204, 0.39032790064811707, -0.7027289271354675, -0.29047271609306335, -0.3339124321937561, -0.4836958050727844, 0.17823553085327148, -0.4442332684993744, 0.7459685206413269, -0.44831857085227966, -0.1734914928674698, -0.2088468223810196, 0.5858330130577087, 0.35427308082580566, 0.4984346628189087, 0.6400687098503113, 0.7366973161697388, 0.8784030675888062, -0.17455904185771942, 0.7337287664413452, 0.03075738251209259, 0.1625748872756958, 1.474430799484253, 0.013224254362285137, 0.6909803152084351, 0.13598814606666565, 0.03566756471991539, 0.641520619392395, 0.4367237687110901, -0.0037657374050468206, 0.38963621854782104, 0.08017079532146454, -0.548905611038208, -0.8822619318962097, -0.08492448180913925, -0.3132951557636261, 0.981812059879303, 0.4990067780017853, -0.23519933223724365, -0.0341518335044384, -0.01059017051011324, -0.09873995929956436, 0.08971042931079865, -0.5103161334991455, 0.8013827800750732, 0.3062635064125061, -0.2788945436477661, 0.5155711770057678, -0.22546589374542236, 0.4791724681854248, -0.42616891860961914, -0.15476082265377045, 0.2501888871192932, 0.0883021280169487, -0.4418655335903168, -0.8114275932312012, 0.4929473400115967, 0.03678587079048157, -0.41413313150405884, 0.12036453932523727, 0.5065520405769348, -0.6316531896591187, -0.23816624283790588, 0.3168042004108429, 0.3597491979598999, 0.09520619362592697, 0.006228639278560877, -0.657463550567627, -0.008253378793597221, -0.3081076145172119, -0.014221607707440853, 0.19075800478458405, 0.2939470112323761, 0.028785234317183495, 0.9229456186294556, 0.8700231313705444, 0.17087192833423615, -0.12465348094701767, 0.4428858458995819, 0.2971794903278351, -0.6414880752563477, -0.7313665151596069, -0.6965721845626831, 0.2256159633398056, 0.25762197375297546, 0.03384815528988838, 0.4798263609409332, 0.3230014443397522, 0.5501591563224792, -0.037213925272226334, 0.8811736106872559, 0.3651491403579712, 0.47999307513237, -0.6136730313301086, 0.7462010383605957, -0.5928778052330017, 0.31287214159965515, -0.11809524148702621, -0.7986870408058167, -0.38505473732948303, 0.7441693544387817, -0.44330474734306335, -0.05814896151423454, 0.2670465111732483, 0.7702376246452332, -0.259972482919693, 0.5198073983192444, 0.5088701844215393, 0.1669672578573227, 0.5713137984275818, 0.8957178592681885, 1.0016535520553589, -0.1490517556667328, 0.5742913484573364, 0.31706541776657104, -0.13945139944553375, -0.12051520496606827, -0.5961964130401611, -0.8268972039222717, -0.4582501947879791, -0.061031654477119446, 0.06885886192321777, -0.11142994463443756, 1.045715570449829, 0.8022875785827637, -0.8857495188713074, -0.2055997997522354, -0.06971262395381927, 0.1303330361843109, -0.32852503657341003, -0.1743469387292862, 0.13488371670246124, -0.3315068483352661, -0.8913561701774597, 0.978184163570404, 0.6072189807891846, -0.35225218534469604, -0.3234338164329529, -0.4206709861755371, -0.3311839699745178, 0.31853410601615906, 0.584757387638092, 0.31234827637672424, -0.7500625848770142, -0.3720724880695343, 0.039604101330041885, 0.1057601273059845, 0.22969454526901245, 0.4738585650920868, -0.5534918308258057, 0.8479413390159607, 0.67629474401474, 0.7185987830162048, 0.39472028613090515, -0.09112847596406937, 0.7305363416671753, -0.209489643573761, -0.005703370552510023, 0.25962185859680176, 0.49300163984298706, 0.20868173241615295, -0.23330573737621307, 0.32954540848731995, -0.22597719728946686, -0.7160953283309937, -0.6698053479194641, 0.13588856160640717, -1.302690029144287, -0.22026939690113068, 1.2545404434204102, -0.10979749262332916, -0.14894753694534302, -0.5082893371582031, -0.5664617419242859, 0.32008665800094604, -0.44096261262893677, 0.653852105140686, 0.6844626665115356, -0.23486873507499695, -0.345040500164032, -0.7614467740058899, 0.11420196294784546, 0.41526493430137634, -0.8056477308273315, -0.056757546961307526, 0.5516237616539001, 0.16188471019268036, 0.08546977490186691, 0.35319116711616516, -0.1361236572265625, 0.7173424363136292, -0.18260060250759125, -0.06937984377145767, -0.6998202204704285, -0.6080870032310486, -0.40301868319511414, 0.36462700366973877, 0.18249796330928802, -0.3261429965496063 ]
http://arxiv.org/abs/2406.11939v1
http://arxiv.org/pdf/2406.11939v1
From Crowdsourced Data to High-Quality Benchmarks: Arena-Hard and BenchBuilder Pipeline
2024-06-17T17:26:10
2024-06-17T17:26:10
Tianle Li, Wei-Lin Chiang, Evan Frick, Lisa Dunlap, Tianhao Wu, Banghua Zhu, Joseph E. Gonzalez, Ion Stoica
cs.LG
cs.LG, cs.AI, cs.CL
The rapid evolution of language models has necessitated the development of more challenging benchmarks. Current static benchmarks often struggle to consistently distinguish between the capabilities of different models and fail to align with real-world user preferences. On the other hand, live crowd-sourced platforms like the Chatbot Arena collect a wide range of natural prompts and user feedback. However, these prompts vary in sophistication and the feedback cannot be applied offline to new models. In order to ensure that benchmarks keep up with the pace of LLM development, we address how one can evaluate benchmarks on their ability to confidently separate models and their alignment with human preference. Under these principles, we developed BenchBuilder, a living benchmark that filters high-quality prompts from live data sources to enable offline evaluation on fresh, challenging prompts. BenchBuilder identifies seven indicators of a high-quality prompt, such as the requirement for domain knowledge, and utilizes an LLM annotator to select a high-quality subset of prompts from various topic clusters. The LLM evaluation process employs an LLM judge to ensure a fully automated, high-quality, and constantly updating benchmark. We apply BenchBuilder on prompts from the Chatbot Arena to create Arena-Hard-Auto v0.1: 500 challenging user prompts from a wide range of tasks. Arena-Hard-Auto v0.1 offers 3x tighter confidence intervals than MT-Bench and achieves a state-of-the-art 89.1% agreement with human preference rankings, all at a cost of only $25 and without human labelers. The BenchBuilder pipeline enhances evaluation benchmarks and provides a valuable tool for developers, enabling them to extract high-quality benchmarks from extensive data with minimal effort.
[ -0.4941112995147705, -0.5170242190361023, 0.3669779598712921, 0.33045694231987, 0.0713716670870781, 0.34899964928627014, -0.37707531452178955, -0.33977174758911133, -0.23796427249908447, 0.4660157561302185, -0.5256634950637817, -0.42169061303138733, -0.3880043923854828, 0.15412168204784393, -0.22302210330963135, 0.7450481057167053, -0.10238980501890182, -0.05784831568598747, -0.6433696150779724, -0.26476576924324036, -0.42092594504356384, -0.5654367804527283, -0.42262181639671326, -0.2938280701637268, 0.4476263225078583, 0.42367440462112427, 0.8188049793243408, 0.9534962773323059, 0.4435514211654663, 0.3679100275039673, 0.061339251697063446, 0.06506207585334778, -0.7453677654266357, 0.3216121792793274, -0.08856049180030823, -0.313625693321228, -0.29501697421073914, 0.12735819816589355, 0.37972670793533325, 0.46816694736480713, -0.3455791473388672, 0.3891820013523102, 0.19596132636070251, 0.5820673108100891, -0.5560837388038635, 0.32189059257507324, -0.5699152946472168, -0.12334130704402924, -0.4332888722419739, 0.01757500134408474, -0.2739734351634979, -0.5254722237586975, -0.27999308705329895, -0.5656664967536926, 0.21578757464885712, 0.212908536195755, 0.9921621084213257, 0.5085841417312622, -0.14489808678627014, 0.10693530738353729, -0.44800707697868347, 0.7255424857139587, -0.43417888879776, 0.6206386089324951, 0.37111029028892517, 0.781796932220459, -0.32240286469459534, -0.8432008624076843, -0.41197913885116577, -0.24472643435001373, 0.1370960772037506, 0.04544275626540184, -0.3497406244277954, -0.2658185064792633, 0.15680111944675446, 0.1316550076007843, -0.47084325551986694, 0.32483574748039246, -0.259831964969635, -0.30072319507598877, 0.8098852038383484, 0.2850419580936432, -0.11437729746103287, -0.42030203342437744, -0.43843790888786316, -0.3983214497566223, -0.667985200881958, 0.17322589457035065, 0.28239941596984863, 0.14524495601654053, 0.14763787388801575, 0.36056604981422424, -0.5063159465789795, 0.5669260621070862, 0.1895247846841812, -0.15828534960746765, 0.30635589361190796, 0.01669500209391117, -0.04484739527106285, -0.32846465706825256, 0.9128223061561584, 0.5108425617218018, 0.1153998151421547, -0.4129783511161804, -0.25975701212882996, 0.17692877352237701, 0.23529987037181854, -0.7214085459709167, -0.05316435173153877, 0.4600379765033722, -0.46644479036331177, -0.269418329000473, -0.18331706523895264, -0.7242673635482788, -0.7336405515670776, -0.3977015018463135, 0.1461647003889084, -0.11134326457977295, -0.12659235298633575, -0.29117509722709656, -0.068411685526371, 0.048075854778289795, 0.40138792991638184, -0.6787920594215393, 0.4013017416000366, 0.986515998840332, 0.505377471446991, -0.45702168345451355, -0.3607003092765808, -0.9546491503715515, -0.17234516143798828, -0.1309560239315033, 1.2444438934326172, -0.5861924886703491, -0.3981499671936035, 0.010624822229146957, -0.04336297884583473, 0.3285817801952362, -1.0028746128082275, 0.7280700206756592, -0.3537890315055847, 0.15978595614433289, -0.24379992485046387, -0.7466198801994324, 0.26490694284439087, 0.24244913458824158, -0.4882427155971527, 1.3158026933670044, 0.3155951201915741, -0.09487146139144897, 0.639654278755188, -0.42628946900367737, -0.03737282380461693, 0.5529211759567261, -0.3388817310333252, -0.14447639882564545, 0.0830511525273323, 0.2902460992336273, 0.47426271438598633, -0.5736140012741089, 0.6019241213798523, -0.496200293302536, -0.18431662023067474, 0.4715558588504791, -0.3955288827419281, 0.490454763174057, 0.3787175416946411, -0.3891116678714752, 0.3482009768486023, -0.9041305780410767, 0.24838116765022278, -0.20879781246185303, -0.3812822699546814, 0.1550966203212738, 0.17595210671424866, 0.29178303480148315, 0.3431639075279236, 0.04991338029503822, -0.38481202721595764, 0.012989810667932034, -0.08484973758459091, 0.3130370080471039, 0.8472839593887329, -0.0986076071858406, 0.1618780940771103, -0.4850756525993347, 0.6045787334442139, -0.4567912220954895, 0.23772726953029633, 0.24141065776348114, -0.42434224486351013, -0.5914990901947021, -0.40763285756111145, 0.46230578422546387, 0.5289093852043152, -0.3410685062408447, 0.5353601574897766, -0.22675740718841553, -0.8725824356079102, -1.214540719985962, 0.5870071053504944, 0.3873558044433594, 0.501450777053833, 0.24901896715164185, -0.5036534070968628, -0.49025779962539673, -0.8020762801170349, -0.29203489422798157, -0.318006306886673, -0.3914155066013336, 0.569642186164856, -0.02143595740199089, -0.04643293842673302, 1.0945754051208496, -0.3364858031272888, -0.1584164947271347, -0.08123663812875748, 0.4288943409919739, 0.3054778277873993, 0.3098965585231781, 0.1578684002161026, -0.5586033463478088, -0.5717364549636841, -0.22971247136592865, -0.7294160723686218, -0.5761417150497437, 0.14379510283470154, -0.20828476548194885, -0.027310866862535477, 0.4894774258136749, -0.6139144897460938, 0.17455433309078217, 0.4929560422897339, -0.11723876744508743, 0.32976603507995605, 0.01847224496304989, 0.15782849490642548, -0.8606537580490112, 0.14904503524303436, -0.03815896064043045, -0.2938888967037201, -0.1995178908109665, 0.1841438114643097, 0.08170995861291885, -0.18719640374183655, -0.5205467939376831, 0.9458289742469788, -0.412747323513031, -0.09878822416067123, -0.2188912183046341, 0.3965112864971161, 0.022890863940119743, 0.3486630320549011, 0.009399104863405228, 0.6859239935874939, 0.30750635266304016, -0.3403899073600769, 0.7064831256866455, 0.39200565218925476, -0.645758330821991, 0.7780442237854004, -0.7753995060920715, 0.164367213845253, 0.12638990581035614, 0.2731417119503021, -0.983453094959259, -0.30595389008522034, 0.1214248538017273, -0.4498724639415741, 0.013862308114767075, -0.2900012135505676, -0.817253589630127, -0.3186039924621582, -0.17653332650661469, -0.12072249501943588, 0.8101191520690918, -0.5068894624710083, 0.34802308678627014, 0.5322527885437012, -0.2739327847957611, -0.36054345965385437, -0.22727589309215546, 0.11062092334032059, -0.09202806651592255, -0.6725877523422241, 0.22584646940231323, -0.282663494348526, -0.49270302057266235, -0.0990065485239029, 0.0009444562601856887, -0.09948853403329849, 0.2136935144662857, 0.6301930546760559, 0.3201777935028076, -0.09819825738668442, 0.15439628064632416, -0.35142165422439575, -0.41569650173187256, 0.11608904600143433, 0.04318688437342644, 0.40576502680778503, -0.051764532923698425, -0.37960705161094666, -0.28444814682006836, -0.027353469282388687, 0.43731147050857544, -0.33398592472076416, 0.38754943013191223, 0.6200003623962402, -0.17872989177703857, 0.0649334043264389, -1.0816365480422974, -0.0693824514746666, -0.476839154958725, 0.164920374751091, -0.3574697971343994, -0.857347309589386, 0.4854393005371094, -0.23357729613780975, 0.1748284101486206, 0.4283086061477661, 0.6867573261260986, -0.06816840171813965, 1.0614124536514282, 0.12687110900878906, -0.13985119760036469, 0.17874783277511597, 0.16999350488185883, -0.34449243545532227, -0.7263407707214355, -0.1884300708770752, -0.7516306042671204, -0.40268710255622864, -0.5638923645019531, -0.5787416100502014, 0.255725622177124, 0.1390034705400467, -0.06151224672794342, 0.2832840383052826, -0.5219662189483643, 0.6118813157081604, 0.5226951241493225, -0.014070005156099796, 0.25509995222091675, -0.2042493224143982, -0.03834157809615135, -0.1689170002937317, -0.535368800163269, -0.6230266690254211, 1.0411295890808105, 0.33873850107192993, 0.6475784778594971, 0.12200149148702621, 0.6761472225189209, 0.3470713198184967, 0.8272855877876282, -0.42979687452316284, 0.5253880620002747, 0.21480032801628113, -1.0329325199127197, -0.34749868512153625, -0.41992315649986267, -0.9964223504066467, 0.23433604836463928, -0.38863325119018555, -0.8006957769393921, 0.26926109194755554, 0.0029154601506888866, -0.35271185636520386, 0.04766838997602463, -0.6095444560050964, 1.0716403722763062, -0.21439719200134277, -0.9137817621231079, -0.027243921533226967, -0.5704765319824219, 0.0614292174577713, -0.10587747395038605, 0.38628628849983215, -0.5219814777374268, -0.052709415555000305, 0.5230867266654968, -0.7198581099510193, 0.7105382680892944, -0.22688457369804382, 0.10023307800292969, 0.37837064266204834, 0.08123025298118591, 0.6953421831130981, 0.2324417233467102, -0.44592052698135376, 0.060137368738651276, -0.16208495199680328, -0.46938273310661316, -0.5170803666114807, 0.8152040243148804, -0.920387327671051, -0.7091051936149597, -0.23467819392681122, -0.32923007011413574, -0.5169864892959595, 0.02771158330142498, 0.12161719053983688, 0.38122332096099854, -0.4269580543041229, 0.35482004284858704, 0.31226393580436707, -0.03581599146127701, 0.2747829854488373, 0.6879806518554688, -0.3132765293121338, -0.5229229927062988, 0.7386257648468018, -0.07053679972887039, 0.06407865136861801, 0.35808831453323364, 0.08905325084924698, -0.46442532539367676, -0.40094876289367676, -0.6436010599136353, -0.018008854240179062, -0.5309258103370667, -0.37322959303855896, -0.5171471238136292, -0.05925661325454712, -0.31120890378952026, -0.2195856124162674, -0.4711168110370636, -0.29221659898757935, -0.09509792178869247, -0.12772472202777863, 0.3931509554386139, 0.4400508403778076, -0.09746767580509186, -0.010158959776163101, -0.8991310596466064, 0.22215251624584198, 0.5589955449104309, 0.4744885563850403, -0.144813671708107, -0.42536747455596924, -0.021738236770033836, -0.19353897869586945, -0.25015223026275635, -0.5514750480651855, 0.4005674123764038, -0.0866791158914566, 0.7961571216583252, 0.30673521757125854, 0.153065025806427, 0.7366099953651428, -0.3782249689102173, 0.5695701241493225, -0.028766287490725517, -0.8363195657730103, 0.3671538829803467, -0.34278807044029236, 0.420909583568573, 1.0672104358673096, 0.32967355847358704, -0.4686757028102875, -0.42006924748420715, -0.6028300523757935, -0.7024878859519958, 0.5897215008735657, 0.19124354422092438, -0.017891662195324898, -0.09186822175979614, 0.03744998201727867, 0.3635948598384857, 0.2752738296985626, -0.4197298586368561, -0.16880583763122559, -0.25672802329063416, 0.02550266869366169, -0.22303995490074158, -0.1037052571773529, -0.17930400371551514, -0.09698345512151718, 0.46097734570503235, -0.05546106770634651, -0.1123303696513176, -0.2498074322938919, -0.1973319947719574, -0.35245281457901, 0.5680574178695679, 0.0436028428375721, 0.8791425824165344, -0.5173636674880981, -0.0894232988357544, 0.3169364035129547, -0.04085048288106918, 0.18134865164756775, 0.6315845847129822, -0.010410793125629425, 0.028036361560225487, 0.2496906965970993, 0.7617636919021606, 0.5347796678543091, -0.8884758353233337, 0.493579238653183, -0.06723517179489136, -0.10681003332138062, -0.03812621161341667, 0.1608215868473053, 0.26407602429389954, 0.27336180210113525, 0.5215336084365845, 0.0037274775095283985, -0.028038471937179565, -0.428985059261322, 0.19412429630756378, 0.17040283977985382, -0.6080211997032166, -0.19508051872253418, 0.8416455388069153, 0.6581848859786987, -0.5207306742668152, 0.6097493171691895, -0.2089572250843048, -0.12417345494031906, 0.3649802803993225, 0.08600600808858871, 0.8979697227478027, -0.174295574426651, 0.27192243933677673, 0.2334754765033722, -0.051972340792417526, -0.004133625887334347, 0.14496490359306335, -0.1579543501138687, -0.4706210792064667, -0.2980441451072693, -0.6644413471221924, -0.8158687949180603, 0.014395630918443203, -0.6422642469406128, 0.4157969355583191, -0.5274752378463745, -0.26132261753082275, 0.15532097220420837, 0.10359477251768112, -0.9119957089424133, 0.14216166734695435, 0.09225445985794067, 0.937410295009613, -0.4419972896575928, 0.5411213636398315, 0.5594316720962524, -0.42621830105781555, -0.7452970147132874, -0.39552298188209534, 0.3712272644042969, -0.9728231430053711, 0.5627423524856567, -0.0014267211081460118, 0.3701937794685364, 0.033793263137340546, -0.6361615061759949, -0.7805353403091431, 1.1029913425445557, 0.2738020122051239, -0.7597015500068665, 0.25914543867111206, -0.00029807613464072347, 0.7027752995491028, -0.3248608112335205, 0.49903014302253723, 0.2899560332298279, 0.5926129817962646, 0.1529395431280136, -0.982019305229187, 0.10301587730646133, -0.3760104775428772, -0.2069367915391922, 0.23803839087486267, -0.8927667737007141, 0.4953809082508087, 0.15596503019332886, -0.1590399593114853, -0.0208576750010252, 0.5597348809242249, 0.6223017573356628, 0.37651950120925903, 0.4548450708389282, 0.42741522192955017, 0.7318703532218933, -0.18665744364261627, 1.093082070350647, -0.5690146684646606, 0.06558017432689667, 1.1006356477737427, -0.7070306539535522, 1.3159455060958862, 0.2975248098373413, -0.3997052311897278, 0.6221128106117249, 0.634471595287323, -0.3406717777252197, 0.297768771648407, 0.48102420568466187, -0.11455415189266205, -0.48581644892692566, -0.4122520387172699, -0.46060553193092346, 0.3945741057395935, -0.0755721852183342, -0.031876590102910995, -0.12473411858081818, -0.3091524839401245, 0.04261326417326927, 0.21061120927333832, 0.016312766820192337, 0.8569879531860352, -0.10070352256298065, -1.0208234786987305, 0.6717777848243713, -0.1032932847738266, 0.4970545172691345, -0.568152666091919, 0.2052689790725708, -0.5025087594985962, 0.1787184476852417, -0.16438664495944977, -0.6113585829734802, -0.17646434903144836, 0.293032705783844, -0.022448288276791573, -0.5759068727493286, 0.6676781177520752, -0.13815058767795563, -0.42099815607070923, 0.12515756487846375, 0.8156598210334778, 0.3851659297943115, -0.21696509420871735, -0.7274376153945923, 0.42726850509643555, -0.28167885541915894, -0.24014508724212646, 0.4142044484615326, 0.4988539516925812, 0.007839947007596493, 0.7659741640090942, 0.769465982913971, -0.044196490198373795, -0.23227858543395996, 0.22482331097126007, 0.9528779983520508, -0.6504539251327515, -0.23426048457622528, -0.6203821301460266, 0.570991575717926, -0.2720184326171875, -0.5797257423400879, 0.7221033573150635, 0.7789092063903809, 0.6438591480255127, 0.14613845944404602, 0.689910352230072, 0.027176592499017715, 0.807446300983429, -0.1707623302936554, 0.8088241219520569, -0.39489349722862244, 0.36172667145729065, -0.2668122947216034, -1.1489195823669434, -0.03638419508934021, 0.18304051458835602, -0.16673977673053741, -0.009798833169043064, 0.4563228189945221, 0.8381355404853821, 0.09118512272834778, -0.1646348237991333, 0.22262568771839142, 0.13932083547115326, 0.21949291229248047, 0.41369232535362244, 0.9799460768699646, -0.28928226232528687, 0.9581164717674255, -0.08879012614488602, -0.3515531122684479, -0.37430447340011597, -0.9356394410133362, -0.8739619851112366, -0.43688496947288513, -0.4786006510257721, -0.4180239140987396, 0.10756145417690277, 1.0989210605621338, 1.0426706075668335, -0.8212999105453491, -0.5342497825622559, 0.16622118651866913, 0.15203702449798584, -0.28993844985961914, -0.28275448083877563, 0.07320952415466309, -0.31669309735298157, -0.5923791527748108, 0.5221214890480042, 0.2586604654788971, -0.2669118344783783, -0.4355173707008362, -0.29938453435897827, 0.057943228632211685, 0.020209910348057747, 0.3219013512134552, 0.4610500633716583, -0.8102058172225952, -0.17155031859874725, 0.21994894742965698, -0.38884007930755615, 0.2079298049211502, 0.361957848072052, -1.1523571014404297, 0.4759579598903656, 0.3615817725658417, 0.6967226266860962, 0.6752051711082458, 0.2560234069824219, 0.7227397561073303, -0.6541001200675964, -0.19566687941551208, 0.11362407356500626, 0.09021275490522385, 0.596956193447113, -0.03649556264281273, 0.7777355909347534, 0.20362623035907745, -0.6587952375411987, -0.9071627259254456, -0.11918499320745468, -0.8470021486282349, -0.011514797806739807, 1.0802234411239624, -0.0012368523748591542, -0.2553732097148895, -0.16074593365192413, -0.24190357327461243, -0.04623439908027649, -0.6466098427772522, 1.0855351686477661, 0.9118801951408386, -0.15289075672626495, -0.29029327630996704, -0.4486836791038513, 0.5726408958435059, 0.33952823281288147, -1.0916383266448975, 0.2177812159061432, 0.6173871159553528, 0.13049724698066711, 0.06721436232328415, 0.5502073168754578, -0.02639768272638321, 0.3024550974369049, 0.09917444735765457, 0.20131151378154755, -0.16535347700119019, 0.09289328753948212, 0.022000910714268684, 0.440313458442688, 0.32479986548423767, 0.15442462265491486 ]
http://arxiv.org/abs/2406.11757v1
http://arxiv.org/pdf/2406.11757v1
STAR: SocioTechnical Approach to Red Teaming Language Models
2024-06-17T17:16:45
2024-06-17T17:16:45
Laura Weidinger, John Mellor, Bernat Guillen Pegueroles, Nahema Marchal, Ravin Kumar, Kristian Lum, Canfer Akbulut, Mark Diaz, Stevie Bergman, Mikel Rodriguez, Verena Rieser, William Isaac
cs.AI
cs.AI, cs.CL, cs.CY, cs.HC
This research introduces STAR, a sociotechnical framework that improves on current best practices for red teaming safety of large language models. STAR makes two key contributions: it enhances steerability by generating parameterised instructions for human red teamers, leading to improved coverage of the risk surface. Parameterised instructions also provide more detailed insights into model failures at no increased cost. Second, STAR improves signal quality by matching demographics to assess harms for specific groups, resulting in more sensitive annotations. STAR further employs a novel step of arbitration to leverage diverse viewpoints and improve label reliability, treating disagreement not as noise but as a valuable contribution to signal quality.
[ -0.21315549314022064, -0.6980273127555847, 0.2499893307685852, 0.24888668954372406, 0.18427115678787231, 0.4400935471057892, -0.29167670011520386, -0.9504732489585876, 0.4221820831298828, 0.48504579067230225, -0.38842374086380005, -0.542701244354248, -0.6960833668708801, -0.0862460806965828, -0.20224355161190033, 1.1402153968811035, 0.1906912624835968, 0.08530096709728241, 0.16891831159591675, 0.011356102302670479, -0.4209105372428894, -0.6576915979385376, -0.7125548720359802, -0.14464281499385834, 0.7031328678131104, 0.7692694067955017, 1.0646008253097534, 0.6696556806564331, 0.9074543714523315, 0.3210815191268921, -0.2675403654575348, -0.3137529194355011, -0.5456804037094116, 0.19730165600776672, -0.12594176828861237, -0.32900378108024597, -0.592343270778656, 0.1253574639558792, 0.3197970390319824, 0.9380063414573669, -0.026935109868645668, 0.2706032991409302, 0.12620016932487488, 0.699026882648468, -0.6786899566650391, 0.32651209831237793, -0.4283738434314728, -0.29807913303375244, -0.07663149386644363, -0.2619583308696747, -0.5380749702453613, -0.19614945352077484, 0.006342227570712566, -0.568695604801178, 0.09269348531961441, 0.10938407480716705, 0.8347926139831543, 0.23172779381275177, -0.267323762178421, -0.06228146329522133, -0.9762619137763977, 0.7081003189086914, -0.3935767114162445, 0.37450462579727173, 0.4862336814403534, 0.9466785192489624, 0.059420812875032425, -0.5698660016059875, -0.25678426027297974, -0.15424120426177979, -0.096538245677948, 0.19337302446365356, 0.12382201850414276, 0.470507949590683, -0.06652247160673141, -0.24634592235088348, -0.33581238985061646, 0.3369123041629791, -0.6780830025672913, -0.3080451786518097, 1.058794617652893, -0.02418683096766472, 0.3817540407180786, -0.232110857963562, -0.48376986384391785, -0.17329825460910797, -0.7240555882453918, 0.005099761765450239, 0.4976198375225067, 0.5775948166847229, -0.5126796960830688, 0.2486330270767212, -0.4358614683151245, 0.6120898127555847, -0.11344131827354431, 0.048035960644483566, 0.045242469757795334, -0.5083416104316711, -0.01853279024362564, 0.1404956728219986, 0.5381068587303162, 0.8200302720069885, 0.37432876229286194, -0.19712583720684052, -0.23779964447021484, 0.4503997564315796, 0.2350974977016449, -0.2986060082912445, -0.5620185136795044, 0.38125693798065186, -0.43703335523605347, -0.6344404816627502, -0.024931704625487328, -0.8309542536735535, -0.39488548040390015, -0.4307662546634674, 0.3467184603214264, -0.3465025722980499, -0.4923202395439148, 0.11512494832277298, -0.08091741055250168, 0.23762354254722595, 0.2871477007865906, -0.9278851747512817, 0.18291863799095154, 0.788926899433136, 0.4732620120048523, 0.29493165016174316, -0.3995032012462616, -0.8366666436195374, 0.209324449300766, -0.38415834307670593, 0.9968549013137817, -0.680833637714386, -0.21660517156124115, -0.06361201405525208, -0.2815026044845581, -0.023842841386795044, -0.2877595126628876, 0.062187086790800095, -0.5355797410011292, -0.015493779443204403, -0.2293093204498291, -0.12164537608623505, -0.24486318230628967, -0.022608401253819466, -0.4335251450538635, 0.7988888025283813, 0.14965543150901794, -0.5590135455131531, 0.7993307113647461, -0.9912380576133728, -0.3057049512863159, 0.5444265604019165, 0.03879380598664284, -0.16633747518062592, -0.29651349782943726, -0.1599906086921692, 0.7301748394966125, 0.04637903347611427, 0.23286192119121552, -0.44091275334358215, -0.27911490201950073, 0.012685642577707767, 0.3117488622665405, 0.6960751414299011, 0.32670581340789795, -0.3182086944580078, 0.9075060486793518, -0.4571390748023987, 0.049234628677368164, -0.18389783799648285, -0.11863769590854645, -0.384172648191452, 0.18607687950134277, 0.6652612686157227, 0.2807163596153259, -0.1143789067864418, -0.5531287789344788, -0.33268827199935913, -0.2048148810863495, 0.6925345659255981, 0.636073112487793, 0.09673557430505753, 0.5613493919372559, -0.28051429986953735, 0.46407121419906616, -0.31416764855384827, 0.7070214152336121, 0.19373878836631775, -0.3388327360153198, -0.6692148447036743, -0.3232351541519165, 0.44389984011650085, 0.5574700236320496, -1.0050268173217773, 0.4082648754119873, 0.012273212894797325, -0.7330902814865112, -0.39409229159355164, -0.06862973421812057, 0.6856666803359985, 0.2947034537792206, 0.3085373044013977, 0.12750038504600525, -0.8559814095497131, -1.1219508647918701, 0.0012442131992429495, -0.5186127424240112, 0.41062211990356445, 0.13003937900066376, 0.6002989411354065, -0.5507686138153076, 0.7021234631538391, -0.058664657175540924, -0.08024396747350693, -0.6560737490653992, -0.08671906590461731, 0.02633388340473175, 0.5055593848228455, 0.5414590239524841, -0.920539379119873, -0.6507256627082825, 0.16420705616474152, -0.8949913382530212, -0.015506207942962646, -0.05409013479948044, -0.19732800126075745, 0.5501970648765564, 0.6276799440383911, -0.17896868288516998, 0.25041958689689636, 0.9494391083717346, -0.8541956543922424, 0.7112956047058105, 0.09215917438268661, 0.37685537338256836, -0.9199187755584717, 0.09901335090398788, 0.4606339633464813, -0.31107792258262634, -0.9228195548057556, 0.4874584972858429, -0.046975068747997284, -0.19419611990451813, -0.6715997457504272, 0.3983626365661621, -0.37178537249565125, -0.12550310790538788, -0.2314532846212387, 0.27101197838783264, -0.502616286277771, 0.13555724918842316, 0.12904483079910278, 0.823018491268158, 0.6028226017951965, -0.759608805179596, 0.12784549593925476, 0.09337300062179565, -0.16392745077610016, 0.5539982914924622, -0.8727251291275024, -0.2721603512763977, -0.13507352769374847, -0.05461826175451279, -0.9738619923591614, -0.4384615421295166, 0.24503585696220398, -0.7267776727676392, 0.30003345012664795, -0.08892372995615005, -0.5164843201637268, -0.05129623040556908, -0.21318167448043823, 0.3172343373298645, 0.6341883540153503, -0.23770923912525177, 0.17793145775794983, 1.069602608680725, -0.33483579754829407, -0.3753490447998047, -0.2119314819574356, 0.3094540238380432, -0.2984530031681061, -0.7910115718841553, 0.23151002824306488, 0.11417593061923981, -0.708964467048645, -0.045414555817842484, 0.16702575981616974, -0.25587597489356995, 0.4289238452911377, 0.08546192198991776, 0.44726279377937317, -0.11667437106370926, 0.09197328239679337, -0.3008911907672882, -0.5738829374313354, 0.07281311601400375, 0.20004095137119293, 0.4593876600265503, -0.34163182973861694, 0.15567491948604584, -0.5843420624732971, 0.5957551598548889, 0.4938511252403259, -0.18317122757434845, 0.8998623490333557, 0.37729567289352417, -0.3367142379283905, -0.23071680963039398, -0.4575536847114563, -0.5148914456367493, -0.4994768798351288, 0.5297584533691406, -0.042596351355314255, -0.9225150346755981, 0.492622435092926, 0.1501004695892334, 0.2011885941028595, 0.5065861344337463, 0.27357906103134155, -0.6347124576568604, 0.7057574987411499, 1.0804688930511475, 0.0037591056898236275, 0.3175182342529297, 0.029318762943148613, 0.003154451260343194, -0.517220139503479, -0.28892451524734497, -0.6276679635047913, -0.2921282649040222, -0.2735126316547394, -0.33176085352897644, 0.5646565556526184, 0.28897395730018616, -0.3851858675479889, 0.6399729251861572, -0.7648565769195557, 0.3462655246257782, 0.32688283920288086, 0.1480838656425476, 0.11218580603599548, -0.2722717225551605, 0.19394861161708832, -0.07881831377744675, -1.1874667406082153, -0.7560540437698364, 0.7679787278175354, 0.7734563946723938, 0.6971864700317383, 0.3600144386291504, 0.8074936270713806, 0.3912374973297119, 0.5897526741027832, -0.5431721210479736, 0.6477109789848328, 0.20309342443943024, -0.8401301503181458, -0.49260571599006653, -0.3643057644367218, -0.8330145478248596, -0.041106924414634705, -0.710820734500885, -0.7098817229270935, -0.018283629789948463, 0.45594340562820435, -0.37172865867614746, 0.09719522297382355, -0.9433138370513916, 0.8034043312072754, -0.19520190358161926, -0.2934485673904419, -0.27376440167427063, -0.6597371101379395, 0.3994266390800476, 0.07168291509151459, 0.49285003542900085, 0.09646319597959518, -0.011422669515013695, 1.1533935070037842, -0.28248536586761475, 1.4641128778457642, -0.20985981822013855, 0.17809607088565826, 0.19336628913879395, 0.1294650137424469, 0.47899335622787476, 0.001199948019348085, 0.028492901474237442, 0.37383121252059937, 0.06799470633268356, -0.4645713269710541, -0.31289923191070557, 0.464968740940094, -0.7136372327804565, -0.5939953923225403, -0.37685516476631165, -0.6226807832717896, -0.14258058369159698, 0.003881314769387245, 0.013588021509349346, 0.13098013401031494, 0.15313921868801117, 0.3172779083251953, 0.36020737886428833, -0.29279544949531555, 0.5002215504646301, 0.46710893511772156, -0.1482759267091751, -0.4559127688407898, 0.6648389101028442, -0.11479546874761581, 0.607337236404419, 0.17293989658355713, -0.09253837168216705, -0.3725813329219818, -0.658331573009491, -0.2404417097568512, 0.40016886591911316, -0.9397046566009521, -0.14478473365306854, -0.5513864159584045, -0.3213530480861664, -0.29988378286361694, -0.5639147758483887, -0.6484413146972656, -0.4716271460056305, 0.1769166737794876, -0.20831730961799622, 0.5719195604324341, 0.9635225534439087, -0.009557561948895454, 0.31880998611450195, -0.9160752892494202, -0.08295853435993195, -0.08186538517475128, 0.5722827315330505, -0.3946562111377716, -0.16916421055793762, -0.452522337436676, -0.12985029816627502, 0.17698146402835846, -0.9398108124732971, 0.15882007777690887, -0.1630299985408783, 1.0077766180038452, -0.12066315859556198, 0.2702762484550476, 0.40230488777160645, -0.3562067151069641, 0.7214778661727905, 0.5718439221382141, -0.9732544422149658, 0.8316433429718018, -0.7748984694480896, -0.20153000950813293, 0.563645601272583, 0.3223873972892761, -0.6064515113830566, -0.37911689281463623, -0.7576954960823059, -0.8282192349433899, 0.39621487259864807, 0.22297492623329163, -0.3794947564601898, -0.06950007379055023, 0.35057827830314636, -0.07326555252075195, -0.23777979612350464, -0.6184423565864563, -0.2678912878036499, -0.029992850497364998, -0.06576617062091827, -0.5404695272445679, -0.4138052761554718, -0.3303799629211426, 0.11462803930044174, 0.5502468347549438, -0.1146831139922142, 0.28314754366874695, 0.09179647266864777, -0.047048330307006836, -0.19687455892562866, 0.12881705164909363, 0.6881912350654602, 0.7727386951446533, -0.036307819187641144, 0.09544827044010162, 0.17013148963451385, -0.16773374378681183, 0.08015494048595428, -0.0976952314376831, -0.05653321370482445, -0.19276607036590576, 0.8455427885055542, 0.3641178011894226, 0.6646842360496521, -0.45588475465774536, 0.20680168271064758, 0.365695059299469, -0.5286279916763306, -0.2258717268705368, 0.384166419506073, -0.08700764179229736, 0.32729730010032654, 0.16962984204292297, 0.3878946602344513, -0.084662526845932, -0.5987039804458618, 0.6502830386161804, 0.3078307807445526, -0.9009755849838257, -0.46334800124168396, 0.9104738831520081, 0.92976975440979, -0.6497734189033508, -0.08539628237485886, 0.10444363206624985, -0.5514360666275024, 0.7120648622512817, 0.27995726466178894, 0.7198891639709473, -0.22312813997268677, 0.5278639197349548, 0.4254438877105713, 0.47255438566207886, 0.016218625009059906, 0.3083799481391907, 0.2195766419172287, -0.6299797296524048, -0.7407147288322449, -0.3761902451515198, -0.6016405820846558, -0.3456214368343353, -0.550554096698761, 0.13139481842517853, -0.6889604330062866, -0.19632944464683533, 0.08856477588415146, -0.1799035221338272, -0.3198786973953247, 0.18448352813720703, 0.03493686765432358, 0.9041581749916077, -0.9990948438644409, 0.6972889304161072, 1.0143417119979858, -0.46044275164604187, -0.811863124370575, -0.2196057289838791, 0.22876179218292236, -0.5120484232902527, 1.2955321073532104, -0.08519741892814636, -0.19478780031204224, -0.11589276045560837, -0.20725256204605103, -0.8357322812080383, 1.0346033573150635, 0.13270537555217743, -0.4941599369049072, 0.2581084668636322, -0.11368003487586975, 0.5499550104141235, -0.27888986468315125, 0.04379156976938248, 0.17958316206932068, 0.550207257270813, -0.005814799107611179, -1.2237653732299805, 0.13153088092803955, -0.29317134618759155, -0.17000271379947662, 0.18946857750415802, -0.6178088188171387, 0.5573132038116455, -0.3912438154220581, -0.4083360731601715, -0.3575488030910492, 0.56712406873703, 0.3174040913581848, 0.09932903200387955, 0.6693097352981567, -0.22317910194396973, 0.5675000548362732, 0.07568112760782242, 1.3228155374526978, -0.5401753187179565, 0.3397061824798584, 0.6279900670051575, -0.2874542474746704, 0.9126868844032288, 0.48552533984184265, -0.13402725756168365, 0.15232524275779724, 0.6232932806015015, 0.31621628999710083, 0.22402481734752655, -0.07786121964454651, -0.04042743146419525, -0.590245246887207, -0.0013404939090833068, -0.3904734253883362, 0.5938814878463745, 0.08777794241905212, -0.25856420397758484, -0.1786189079284668, -0.220467209815979, 0.03399742394685745, 0.6683305501937866, -0.3142777383327484, 0.6106665730476379, -0.13873976469039917, -0.6741141080856323, 0.5389775633811951, -0.020916316658258438, 0.7177091240882874, -0.3180607855319977, -0.15283328294754028, 0.05315617099404335, 0.2189573496580124, -0.4037090539932251, -0.9855248332023621, 0.6671273708343506, -0.10199722647666931, -0.26877009868621826, -0.19878050684928894, 0.7438589930534363, -0.1887969672679901, -0.5303124189376831, 0.5749678015708923, 0.37305545806884766, 0.03076825849711895, 0.20202915370464325, -0.6772600412368774, 0.2661588788032532, -0.051523808389902115, 0.09465409070253372, 0.24914489686489105, -0.03545602038502693, -0.14022114872932434, 0.9994959235191345, 0.5707061886787415, 0.3114278316497803, -0.1774902045726776, 0.023748068138957024, 0.8714731931686401, -1.0131118297576904, -0.6201693415641785, -0.578990638256073, 0.8780871629714966, -0.16184677183628082, -0.2868032455444336, 0.7271522283554077, 0.22602051496505737, 0.5762601494789124, -0.13721220195293427, 0.687911331653595, -0.025351548567414284, 0.4620612561702728, -0.6550929546356201, 1.2617876529693604, -0.05517560988664627, 0.5574102401733398, -0.5563582181930542, -0.8703434467315674, -0.8689849376678467, 0.669122576713562, -0.39223310351371765, 0.10945926606655121, 0.693081259727478, 0.8830097913742065, 0.24620024859905243, 0.06212539225816727, 0.5382682681083679, 0.04831787943840027, 0.468692421913147, 0.6427887678146362, 0.9998128414154053, -0.49625706672668457, 0.6453692317008972, -0.12382995337247849, -0.6331878304481506, -0.21556970477104187, -0.7596727609634399, -1.1310226917266846, -0.6471320986747742, -0.6802316904067993, -0.34186601638793945, 0.5292486548423767, 0.7681918144226074, 1.2344450950622559, -0.6673913598060608, -0.26125526428222656, 0.1250847429037094, -0.052524786442518234, -0.40394505858421326, -0.25863856077194214, 0.04385826736688614, -0.7920773029327393, -0.3322823941707611, 0.2619898319244385, 0.22250279784202576, -0.3016754388809204, -0.26921409368515015, -0.4402104616165161, -0.2347819209098816, -0.28868138790130615, 0.8229902982711792, 0.22354848682880402, -0.5915189981460571, -0.9190419912338257, -0.1418832391500473, -0.14505226910114288, -0.262591689825058, 0.4220142960548401, -0.5207990407943726, -0.0010757588315755129, 0.3403541147708893, 0.5712999105453491, -0.046392880380153656, -0.24646732211112976, 0.7492020726203918, -0.37124839425086975, 0.17797107994556427, 0.3170880377292633, 0.2497558891773224, 0.18612314760684967, -0.6189523935317993, 0.8133378624916077, 0.3297794759273529, -0.7000786066055298, -0.7328323721885681, 0.38116905093193054, -1.211294174194336, -0.33892393112182617, 1.6241850852966309, 0.07709310203790665, -0.2419581413269043, -0.5423424243927002, -0.04288922995328903, 0.05268268659710884, -0.4053296148777008, 0.9058358669281006, 0.410178005695343, -0.12772487103939056, -0.47038620710372925, -0.694212019443512, 0.7071564197540283, 0.2978740334510803, -0.8136030435562134, 0.2857179045677185, 0.4085732400417328, 0.36398008465766907, 0.1711972951889038, 0.4829825460910797, -0.11772390455007553, 0.7052100300788879, 0.29335469007492065, 0.3598977327346802, -0.32984796166419983, -0.7312673330307007, -0.025372181087732315, 0.31610333919525146, 0.08380624651908875, -0.16918137669563293 ]
http://arxiv.org/abs/2406.11753v1
http://arxiv.org/pdf/2406.11753v1
A Semantic-based Layer Freezing Approach to Efficient Fine-Tuning of Language Models
2024-06-17T17:13:08
2024-06-17T17:13:08
Jian Gu, Aldeida Aleti, Chunyang Chen, Hongyu Zhang
cs.CL
cs.CL, cs.LG
Finetuning language models (LMs) is crucial for adapting the models to downstream data and tasks. However, full finetuning is usually costly. Existing work, such as parameter-efficient finetuning (PEFT), often focuses on \textit{how to finetune} but neglects the issue of \textit{where to finetune}. As a pioneering work on answering where to finetune (at the layer level), we conduct a semantic analysis of the LM inference process. We first propose a virtual transition of the latent representation and then trace its factual transition. Based on the deviation in transitions, we estimate the gain of finetuning each model layer, and further, narrow down the scope for finetuning. We perform extensive experiments across well-known LMs and datasets. The results show that our approach is effective and efficient, and outperforms the existing baselines. Our approach is orthogonal to existing efficient techniques, such as PEFT methods, offering practical values on LM finetuning.
[ -0.6506010293960571, -1.196008563041687, 0.6688849925994873, -0.16677245497703552, -0.12373065203428268, -0.16550906002521515, -0.4462551474571228, -0.26519763469696045, -0.2990511953830719, 0.7888856530189514, -0.737300455570221, -0.5539464950561523, -0.28338977694511414, -0.3282868564128876, -0.36159560084342957, 0.7595675587654114, 0.17786362767219543, -0.1460905522108078, -0.10524945706129074, 0.1632544845342636, -0.2300594300031662, -0.143512561917305, -0.6750956773757935, -0.5734238028526306, 0.5087906122207642, 0.7677384614944458, 0.7886999249458313, 0.8990219235420227, 0.1694142371416092, 0.2732548713684082, -0.1924998164176941, 0.2426842451095581, -0.6016241908073425, 0.13225311040878296, -0.2895948588848114, -0.5366380214691162, -0.294603556394577, 0.12627838551998138, 0.40225857496261597, 1.0700148344039917, -0.1526084840297699, 0.059010349214076996, 0.16881991922855377, 0.7291133999824524, -0.7571940422058105, 0.006242646835744381, -1.0954384803771973, 0.0981384739279747, -0.275653213262558, -0.1710709184408188, -0.4154853820800781, 0.06707790493965149, 0.34078678488731384, -0.5788766741752625, 0.4529400169849396, -0.15550146996974945, 0.9794498085975647, 0.44644150137901306, -0.13034188747406006, 0.25959861278533936, -0.9129164218902588, 0.9592407941818237, -0.908172070980072, 0.6969630718231201, 0.613472580909729, 0.3348299562931061, -0.16442129015922546, -0.7502524256706238, -0.46047478914260864, -0.23133571445941925, 0.14472801983356476, 0.0032875516917556524, 0.03686883673071861, 0.27387237548828125, 0.011008004657924175, 0.37673425674438477, -0.1675955355167389, 0.3204982280731201, -0.12736818194389343, -0.3397656977176666, 0.3055417835712433, 0.09308844059705734, 0.31038999557495117, 0.0963704064488411, -0.24881398677825928, -0.033947303891181946, -0.47463199496269226, -0.08329770714044571, 0.19116494059562683, 0.675072431564331, -0.014027120545506477, 0.4064291715621948, -0.4495154619216919, 0.9290998578071594, 0.28282371163368225, 0.0006413846858777106, -0.014735164120793343, -0.1701008528470993, -0.4400734305381775, 0.12186852842569351, 0.42322781682014465, 0.5626903176307678, 0.23619015514850616, -0.5274050831794739, -0.26396772265434265, 0.001316901994869113, 0.07551497966051102, -0.8062208890914917, -0.5360182523727417, 0.425091952085495, -0.19548436999320984, -0.21952572464942932, -0.3071107268333435, -0.3029245138168335, -0.2939879894256592, -0.6400421857833862, 0.38973554968833923, -0.6552470922470093, -0.4145185947418213, 0.23680679500102997, 0.055394403636455536, 0.47956424951553345, 0.28656479716300964, -0.8787556886672974, 0.6809107661247253, 0.9515900015830994, 0.7647020220756531, 0.03734450787305832, -0.2545429766178131, -0.7491586804389954, 0.1535167694091797, -0.5417887568473816, 0.844251275062561, -0.41705697774887085, 0.1913679540157318, -0.2196861058473587, -0.05286142975091934, 0.022067418321967125, -0.6158288717269897, 0.7026011347770691, -0.6112865805625916, 0.16356366872787476, 0.03353032097220421, -0.8621909022331238, 0.027787623926997185, 0.2014109343290329, -0.6720032095909119, 0.8073432445526123, -0.15681278705596924, -0.612031877040863, 0.2955624759197235, -0.28665217757225037, -0.10791841894388199, -0.03414210304617882, 0.13085977733135223, -0.2711440324783325, 0.2297123223543167, 0.30303332209587097, 0.8378612995147705, -0.5732129216194153, 0.15016193687915802, -0.2518582344055176, 0.13507843017578125, 0.0395166389644146, -0.2468266636133194, 0.5349423289299011, 0.5614092946052551, -0.15680812299251556, 0.03899890184402466, -0.8922910094261169, 0.39452195167541504, -0.0041950177401304245, -0.16706766188144684, -0.7619549632072449, 0.19257038831710815, 0.10021879523992538, -0.0404200553894043, 0.030275989323854446, -0.5744205713272095, -0.058563943952322006, -0.9074352383613586, 0.6123859882354736, 0.607867956161499, -0.2424832582473755, 0.7962884902954102, -0.1108466312289238, 0.10197056084871292, 0.11084406077861786, -0.06062866374850273, 0.04381383955478668, -0.16793368756771088, -0.9791660904884338, -0.09674912691116333, 0.5691962242126465, 0.5363223552703857, -0.7346473336219788, 0.2186959981918335, 0.05968128889799118, -0.5059635639190674, -0.5996029376983643, 0.17934753000736237, 0.462022066116333, 0.5522518157958984, 0.37177911400794983, -0.015588656067848206, -0.09402502328157425, -1.0299441814422607, -0.3970472514629364, 0.14501328766345978, -0.03109680488705635, 0.08066427707672119, -0.07704576104879379, 0.1696256548166275, 0.9939247965812683, -0.48279255628585815, -0.148537278175354, -0.053668756037950516, 0.07607601583003998, 0.220626562833786, 0.8408108949661255, 0.48276111483573914, -0.7241463661193848, -0.41289353370666504, 0.366084486246109, -0.28017663955688477, -0.26464155316352844, -0.11987438052892685, -0.31140342354774475, 0.2716747224330902, 0.8714649081230164, -0.5214641690254211, -0.13569992780685425, 0.5486806631088257, -0.4597890079021454, 0.21811428666114807, -0.2197527438402176, -0.19664190709590912, -0.7333672642707825, -0.17994259297847748, 0.04376903921365738, -0.4448639750480652, -1.0275914669036865, 0.26543939113616943, 0.10568352043628693, -0.12090613692998886, -0.38056811690330505, 0.4522645175457001, -0.6590880751609802, 0.3087693154811859, -0.08557743579149246, 0.20838645100593567, -0.0995577797293663, 0.34350472688674927, -0.11025764793157578, 0.2831742763519287, 0.6821838617324829, -0.7311842441558838, 0.06761409342288971, -0.3805670738220215, -0.47632014751434326, 0.454662024974823, -0.5439122319221497, 0.3515772223472595, -0.26479867100715637, -0.29418548941612244, -0.8416957855224609, -0.09505468606948853, 0.28620052337646484, -0.06727713346481323, 0.35211825370788574, -0.6883370876312256, -0.39143070578575134, 0.19321586191654205, -0.05513317137956619, 0.23917841911315918, 0.36074820160865784, -0.2737789750099182, 0.6031070947647095, 0.4977398216724396, 0.01979207806289196, -0.20936501026153564, -0.6728537678718567, 0.07002844661474228, -0.4568685293197632, -0.8264111280441284, 0.6673397421836853, -0.10352775454521179, -0.3533092439174652, -0.009515207260847092, -0.2464025914669037, -0.4278811812400818, 0.4175114333629608, -0.2180895358324051, -0.11007022112607956, -0.595939040184021, -0.04129324480891228, 0.22993291914463043, -0.3620838224887848, -0.10951896756887436, -0.733773946762085, 0.6165294051170349, -0.16818031668663025, -0.029855430126190186, -0.4148532450199127, 0.2911425828933716, 0.4556441605091095, -0.30111339688301086, 0.8896784782409668, 0.7294875979423523, -0.621810793876648, -0.6912820339202881, -0.7550129294395447, -0.20623567700386047, -0.4842262864112854, 0.1851503551006317, -0.580559492111206, -0.7711194157600403, 0.771275520324707, -0.24042202532291412, 0.04478291794657707, 0.4425882399082184, 0.41991671919822693, 0.030275648459792137, 0.9392895102500916, 0.9494253993034363, 0.40010878443717957, 0.5374447703361511, -0.3508830964565277, 0.131584033370018, -0.46345964074134827, -0.058181338012218475, -0.63008713722229, -0.1554626226425171, -0.5666198134422302, -0.5764620304107666, 0.11460322141647339, 0.658693253993988, -0.2496662735939026, 0.21893084049224854, -0.37307217717170715, 0.8433389067649841, 0.3249363303184509, 0.14926089346408844, 0.1784217208623886, 0.11730176210403442, -0.3610255718231201, -0.12301609665155411, -0.9120903611183167, -0.36983269453048706, 0.49715906381607056, 0.4045372009277344, 0.6349335312843323, 0.1841723620891571, 0.6060231924057007, -0.0666249617934227, -0.25382840633392334, -1.025478482246399, 0.4624379873275757, -0.4226331412792206, -0.3265749514102936, -0.5747630596160889, -0.4067208170890808, -0.7911538481712341, 0.15896810591220856, -0.18475721776485443, -0.7063374519348145, 0.19355079531669617, 0.44584181904792786, -0.36401277780532837, 0.2635495662689209, -1.011875033378601, 0.992307722568512, 0.010698418132960796, -0.5694683194160461, -0.2427426129579544, -0.625363290309906, 0.16411414742469788, -0.033856287598609924, 0.22095941007137299, -0.5969681143760681, -0.12309527397155762, 0.6170335412025452, -0.7137187123298645, 0.9215700626373291, -0.43554067611694336, -0.3415083587169647, 0.15665887296199799, 0.5197374224662781, 0.39440351724624634, -0.20522667467594147, -0.3523961901664734, -0.058767169713974, 0.3456549644470215, -0.4809826612472534, -0.7226885557174683, 1.035286784172058, -0.7282347679138184, -0.5421833395957947, 0.034812986850738525, -0.6665192246437073, -0.5030695796012878, 0.4110659658908844, -0.02599087730050087, 0.47770142555236816, -0.07739883661270142, 0.047255855053663254, 0.8131985664367676, -0.20075450837612152, 0.21765565872192383, 0.48424944281578064, -0.047427792102098465, -0.07447080314159393, 0.940392255783081, 0.3790718615055084, 0.549530029296875, 0.530665397644043, 0.6786184906959534, -0.010194323025643826, -0.8357012271881104, -0.39140769839286804, 0.07761038839817047, -0.6714917421340942, -0.20687294006347656, -0.5091453790664673, -0.280211478471756, -0.18582135438919067, -0.09250906854867935, -0.7103425860404968, -0.5718039870262146, -0.15946385264396667, 0.08275416493415833, 0.5648871064186096, 0.25551971793174744, -0.03023647703230381, 0.1465650051832199, -0.6984829306602478, 0.15844695270061493, 0.20141951739788055, 0.6573873162269592, 0.10037399083375931, -0.4073317348957062, -0.2969864308834076, 0.07399279624223709, 0.059948746114969254, -0.5196283459663391, 0.20200029015541077, 0.6717486381530762, 0.7534748911857605, 0.2121538668870926, 0.4115689694881439, 0.8223283290863037, -0.6455661654472351, 0.7043799161911011, -0.03955461457371712, -1.1198564767837524, 0.514504611492157, -0.3974440097808838, 0.4329136610031128, 0.4827902913093567, 0.11536599695682526, -0.42130565643310547, -0.5551084280014038, -0.5176122188568115, -1.2088141441345215, 0.6493785381317139, 0.1990976184606552, 0.40886715054512024, 0.20423144102096558, 0.6052007675170898, 0.20862115919589996, -0.1645040065050125, -0.3892049789428711, -0.27284103631973267, -0.06870601326227188, -0.0304037444293499, -0.06114233285188675, -0.27077972888946533, -0.055029839277267456, -0.3462890684604645, 0.4716436564922333, -0.24662268161773682, 0.01404316071420908, 0.20404794812202454, -0.22638429701328278, -0.0958576425909996, 0.24890433251857758, 0.34788990020751953, 0.7133435606956482, -0.24308116734027863, 0.6214092969894409, 0.3016718029975891, -0.11998625099658966, -0.22740387916564941, 0.0059868209064006805, -0.2296261191368103, -0.17632056772708893, 0.3201906979084015, 0.8438504338264465, 0.18605193495750427, -0.4543780982494354, 0.1313963532447815, 0.15957924723625183, -0.1788691282272339, -0.1721966415643692, 0.2507075071334839, 0.17208823561668396, 0.40920454263687134, 0.012330389581620693, -0.06073930859565735, 0.10158348083496094, -0.4676348567008972, 0.32723137736320496, 0.31557533144950867, -0.627895712852478, -0.12839607894420624, 0.5618712306022644, -0.0017437845235690475, -0.14390674233436584, 0.5072325468063354, 0.21798530220985413, -0.21555781364440918, 0.4116397500038147, 0.6480541229248047, 0.8766253590583801, -0.1561872661113739, 0.1593770831823349, 0.16000217199325562, 0.19784313440322876, -0.09675002843141556, 0.07396343350410461, -0.134668231010437, -1.0430635213851929, -0.6395723223686218, -0.7395653128623962, -0.1049971655011177, 0.19406984746456146, -0.6723911762237549, 0.3687848746776581, -0.7031632661819458, -0.012870443984866142, 0.4844540059566498, -0.17892366647720337, -0.588333785533905, 0.292345255613327, 0.3981870114803314, 1.0665549039840698, -0.7578638792037964, 0.9788798689842224, 0.5766645669937134, -0.06949779391288757, -0.7698202133178711, 0.13979068398475647, -0.026417892426252365, -0.7575717568397522, 0.4325575828552246, -0.17765581607818604, -0.4072321653366089, 0.25953277945518494, -0.768547534942627, -0.7981669902801514, 0.7352088689804077, 0.7813031673431396, -0.5299962759017944, 0.15063612163066864, -0.022086093202233315, 0.5666544437408447, -0.25548022985458374, -0.14703144133090973, 0.9111527800559998, 0.22734177112579346, -0.016846975311636925, -0.9551393985748291, -0.027941599488258362, -0.2712612748146057, 0.1656150221824646, 0.3738847076892853, -0.39852893352508545, 0.8703758716583252, -0.05246613547205925, -0.3142710328102112, 0.040288761258125305, 0.6620203256607056, -0.17574229836463928, 0.1813211739063263, 0.7762104868888855, 0.4584163725376129, 0.7259584069252014, -0.057360414415597916, 0.9098296761512756, -0.4102669060230255, 0.66812664270401, 1.146578311920166, 0.1426694542169571, 0.8566842079162598, 0.615426242351532, 0.21164830029010773, 0.19418904185295105, 0.5458551645278931, 0.2942469120025635, 0.8510729670524597, 0.38992372155189514, 0.012467924505472183, -0.7803642749786377, -0.23805873095989227, -0.07365068793296814, 0.32416337728500366, 0.48608872294425964, -0.14035660028457642, -0.37448859214782715, 0.030176660045981407, 0.2971895933151245, 0.24785690009593964, -0.38027244806289673, 0.8583921194076538, 0.22349706292152405, -0.4367438852787018, 1.1141200065612793, 0.21334438025951385, 0.3136231005191803, -0.4003731608390808, 0.05297427251935005, -0.2361760288476944, 0.3891383707523346, -0.2782481610774994, -0.8167059421539307, 0.435819149017334, -0.042903218418359756, -0.2304888814687729, -0.3685917854309082, 0.7287887930870056, -0.5894133448600769, -0.5496953129768372, 0.33344364166259766, 0.649425208568573, 0.20844730734825134, -0.009912414476275444, -0.699958860874176, 0.08742614835500717, -0.24209851026535034, -0.195599764585495, 0.22943277657032013, 0.759846568107605, -0.08281977474689484, 0.518978476524353, 0.5424967408180237, 0.09953423589468002, 0.10427199304103851, 0.32845231890678406, 0.9126156568527222, -0.5703763961791992, -0.45904630422592163, -0.8587764501571655, 0.6727374196052551, 0.12069542706012726, -0.13783904910087585, 0.4712837040424347, 0.3447651267051697, 1.1247525215148926, 0.05154687911272049, 0.45657458901405334, 0.015359711833298206, 0.4344056248664856, -1.2425434589385986, 0.8578392267227173, -0.6835252642631531, 0.47455984354019165, -0.5241015553474426, -0.9482609629631042, -0.6076070070266724, 0.5760868787765503, -0.36948156356811523, -0.21219731867313385, 0.48321330547332764, 0.9464890956878662, -0.6596746444702148, -0.20457695424556732, 0.5386985540390015, 0.6737567782402039, 0.12849058210849762, 0.31666114926338196, 0.7605935335159302, -0.3621874153614044, 0.22597470879554749, -0.7253596782684326, -0.178496852517128, 0.14203022420406342, -1.0970865488052368, -0.791467547416687, -0.7371991872787476, -0.5899915099143982, -0.38492172956466675, 0.058157846331596375, 0.8419427871704102, 0.9335734844207764, -1.0310534238815308, -0.29037123918533325, -0.21906794607639313, 0.03737914562225342, -0.3253417909145355, -0.19362381100654602, 0.4657403230667114, -0.46515989303588867, -0.6281562447547913, 0.306520015001297, -0.017843279987573624, -0.10301496833562851, -0.2193334847688675, 0.06711623072624207, 0.019236112013459206, 0.11759357154369354, 0.6641858816146851, 0.013344017788767815, -1.0040665864944458, -0.5373690724372864, -0.2081637978553772, 0.07300547510385513, -0.08282772451639175, 0.8013363480567932, -0.6941736936569214, 0.4528471827507019, 0.6126906275749207, 0.7731372714042664, 0.6153279542922974, -0.2618970572948456, 0.8150438666343689, -0.5606951713562012, 0.28890642523765564, 0.12203270196914673, 0.04979318752884865, 0.3405020534992218, -0.19216249883174896, 0.17669925093650818, 0.031940676271915436, -0.3836558759212494, -0.8234686851501465, 0.2857194244861603, -1.062936782836914, -0.43361398577690125, 0.8869984149932861, 0.020452717319130898, -0.3069332540035248, -0.2036461979150772, -0.2092050313949585, 0.21524691581726074, -0.20937508344650269, 0.5124080777168274, 0.5102674961090088, -0.003832384245470166, -0.5067857503890991, -0.7259392738342285, 0.6663062572479248, 0.5214470028877258, -0.5653797388076782, 0.4232141971588135, 0.40216201543807983, 0.5043787360191345, 0.029267890378832817, 0.2390170395374298, 0.14618392288684845, -0.12098846584558487, -0.15821680426597595, -0.2944290041923523, -0.025019273161888123, -0.3708174526691437, -0.22128687798976898, 0.18434001505374908, 0.3467852473258972, 0.1465417891740799 ]
http://arxiv.org/abs/2406.11745v1
http://arxiv.org/pdf/2406.11745v1
Multi-Layer Ranking with Large Language Models for News Source Recommendation
2024-06-17T17:02:34
2024-06-17T17:02:34
Wenjia Zhang, Lin Gui, Rob Procter, Yulan He
cs.IR
cs.IR, cs.CL
To seek reliable information sources for news events, we introduce a novel task of expert recommendation, which aims to identify trustworthy sources based on their previously quoted statements. To achieve this, we built a novel dataset, called NewsQuote, consisting of 23,571 quote-speaker pairs sourced from a collection of news articles. We formulate the recommendation task as the retrieval of experts based on their likelihood of being associated with a given query. We also propose a multi-layer ranking framework employing Large Language Models to improve the recommendation performance. Our results show that employing an in-context learning based LLM ranker and a multi-layer ranking-based filter significantly improve both the predictive quality and behavioural quality of the recommender system.
[ -0.3029674291610718, -0.5807111263275146, 0.7735337615013123, -0.03816123306751251, -0.3826580047607422, 0.28173691034317017, -0.13080276548862457, -0.7363229393959045, 0.22790025174617767, 0.5972333550453186, -0.2917087972164154, -0.5894263386726379, -0.6577038168907166, -0.3177341818809509, -0.33708202838897705, 1.0476254224777222, 0.2742449939250946, 0.19936564564704895, -0.2138812392950058, -0.06026313453912735, -0.22061261534690857, -0.5353530049324036, -0.9608323574066162, -0.2779431939125061, 0.625487744808197, 0.5363077521324158, 0.9300155639648438, 0.28553706407546997, 0.4907630383968353, 0.19445349276065826, -0.17297996580600739, 0.20942141115665436, -0.35349157452583313, 0.17370030283927917, -0.4299798905849457, -0.20257365703582764, -0.17722752690315247, 0.24944837391376495, 0.6827564835548401, 0.45891448855400085, -0.24832049012184143, 0.011563668958842754, -0.0627124086022377, 0.6973515152931213, -0.40092527866363525, 0.11671354621648788, -0.7606112957000732, 0.005572382360696793, -0.07598274201154709, -0.28534480929374695, -0.502454400062561, -0.5857718586921692, 0.3340465724468231, -0.40545353293418884, -0.05415532737970352, 0.16187313199043274, 0.3254247307777405, -0.1697859913110733, -0.6309893131256104, -0.07142549753189087, -0.5107796788215637, 0.8672611713409424, -0.7017549872398376, 0.47379085421562195, 0.5375816822052002, 0.4421362578868866, -0.2004091739654541, -0.4740944504737854, -0.12037117034196854, -0.6296873092651367, -0.05155259370803833, -0.10442648828029633, 0.1445082128047943, -0.2513901889324188, 0.013299578800797462, -0.0519871786236763, -0.35320383310317993, -0.02997918240725994, -0.2589966952800751, -0.13999469578266144, 0.6911044716835022, -0.37894850969314575, 0.10273619741201401, -0.17096294462680817, -0.41873979568481445, 0.09135547280311584, -0.4279114007949829, -0.06337486207485199, 0.47328120470046997, 0.4238094091415405, 0.24980901181697845, 0.43393680453300476, -0.41855084896087646, 0.6081486940383911, -0.05922757089138031, -0.45711958408355713, 0.3051033020019531, -0.30231115221977234, 0.1862124502658844, 0.3537496328353882, 0.5785587430000305, 0.5201979875564575, 0.24699266254901886, -0.3793017864227295, -0.0011184833711013198, -0.5446814298629761, 0.32035818696022034, -0.5678235292434692, -0.32804328203201294, -0.0068534016609191895, -0.44471675157546997, -0.47562548518180847, 0.4282701909542084, -0.7714522480964661, -0.6309207081794739, -0.18172107636928558, 0.4389508068561554, -0.2613811194896698, -0.3925568163394928, -0.021441491320729256, -0.2402241826057434, -0.011766940355300903, 0.46675905585289, -0.3898318409919739, 0.0027781135868281126, 0.3337039649486542, 0.710414469242096, -0.15633782744407654, -0.35948485136032104, -0.7702376246452332, 0.44336873292922974, -0.242791548371315, 1.0097612142562866, -0.8202612996101379, -0.17069178819656372, 0.056302234530448914, -0.15246348083019257, 0.1774134486913681, -0.3429029583930969, 0.958515465259552, -0.6210127472877502, 0.3229525089263916, -0.3720642626285553, -0.46225056052207947, -0.24831107258796692, 0.015446994453668594, -0.6572742462158203, 1.1489307880401611, 0.06053925305604935, -0.654785692691803, 0.4155150055885315, -0.48100709915161133, -0.6983003616333008, 0.07945740967988968, 0.056583650410175323, -0.14424093067646027, -0.08080209791660309, 0.5765839219093323, 0.6460422873497009, -0.3173500895500183, 0.40006768703460693, -0.46040236949920654, -0.1434677243232727, 0.02495681867003441, -0.2546033263206482, 0.4511657953262329, 0.16278858482837677, -0.17234109342098236, 0.06140388548374176, -0.8031880259513855, -0.06609851866960526, -0.2240760624408722, -0.5782276391983032, -0.6182470321655273, 0.24257129430770874, 0.21223193407058716, 0.39825645089149475, 0.22036804258823395, -0.6023387908935547, 0.23180612921714783, -0.09232164919376373, 0.6859241724014282, 0.7413709163665771, 0.3225681185722351, 0.49774545431137085, -0.38341155648231506, 0.17667020857334137, 0.20730333030223846, 0.10997208207845688, -0.07498670369386673, -0.4854051470756531, -0.46710720658302307, -0.020507875829935074, 0.11174041777849197, 0.46379196643829346, -0.8460448384284973, 0.43592002987861633, -0.007314713206142187, -0.4892238974571228, -0.3505934774875641, 0.32023361325263977, 0.2877156734466553, 0.45800700783729553, 0.5286436080932617, -0.024258026853203773, -0.5494587421417236, -0.971351146697998, -0.6067332029342651, -0.21339553594589233, 0.2153581827878952, 0.26148077845573425, 0.1465274840593338, 0.04870166257023811, 0.7997244596481323, -0.36492207646369934, -0.2820262908935547, -0.18368667364120483, 0.025159917771816254, 0.32826030254364014, 0.3393646776676178, 0.5998210906982422, -0.7842901945114136, -0.3132263422012329, 0.005558182019740343, -0.471842885017395, 0.14469046890735626, 0.06818144768476486, -0.33340996503829956, 0.07275404036045074, 0.563983678817749, -0.3856169581413269, -0.09273368865251541, 0.41213929653167725, -0.4331660866737366, 0.2759063243865967, -0.027759091928601265, 0.2990540564060211, -1.5067331790924072, -0.2208186388015747, 0.41794154047966003, -0.5189476609230042, -0.333224892616272, -0.07458145171403885, -0.05361882597208023, -0.009720110334455967, -0.5598005652427673, 0.655015766620636, -0.18207217752933502, 0.011922381818294525, -0.21381814777851105, 0.34550797939300537, 0.11826535314321518, 0.41271334886550903, -0.04362097755074501, 0.5007452964782715, 0.5561151504516602, -0.47259265184402466, 0.3875691890716553, 0.0715879499912262, -0.8656874895095825, 0.7337313294410706, -0.4374387264251709, 0.1902637630701065, 0.08806957304477692, 0.49131277203559875, -0.9496585726737976, 0.02790592983365059, -0.25317123532295227, -0.18036603927612305, -0.08423065394163132, -0.30521419644355774, -0.5483272075653076, -0.17306776344776154, -0.35742974281311035, 0.2703508734703064, 0.05515388771891594, -0.5690755248069763, 0.3808736205101013, 0.578987181186676, -0.4780988395214081, -0.8582957983016968, -0.5826486349105835, 0.3433591425418854, 0.1630348265171051, -0.4660992920398712, 0.37960776686668396, -0.19084440171718597, -0.16515643894672394, 0.21787995100021362, -0.13426926732063293, -0.23614008724689484, 0.05555683374404907, 0.07985169440507889, 0.17681151628494263, -0.14444005489349365, 0.011501651257276535, 0.1450842022895813, 0.12012659758329391, -0.030261335894465446, -0.381183922290802, 0.2541768550872803, -0.004484876058995724, -0.413364052772522, -0.42662718892097473, 0.5821822285652161, 0.9054271578788757, -0.35815054178237915, 1.0162502527236938, 0.804616391658783, -0.28673824667930603, -0.1382104456424713, -0.9501886963844299, -0.1470862627029419, -0.3976818323135376, 0.5417534708976746, -0.14688600599765778, -1.0098273754119873, 0.36242008209228516, 0.22486628592014313, -0.08660229295492172, 0.5796854496002197, 0.42623844742774963, 0.06205718219280243, 1.1650679111480713, 0.36955752968788147, -0.8471213579177856, 0.7249289155006409, -0.11630702763795853, 0.11622992157936096, -0.4280596375465393, -0.3875197768211365, -0.5979233980178833, -0.24050626158714294, -0.19883176684379578, -0.05941082909703255, 0.33609113097190857, 0.09153478592634201, -0.1501295417547226, 0.14580431580543518, -0.3392137587070465, 0.6864346861839294, 1.0500949621200562, 0.3267260193824768, 0.5325286984443665, 0.02828899770975113, -0.4109662175178528, 0.44809696078300476, -0.5034233331680298, -0.3497883975505829, 0.7657334208488464, 0.17312201857566833, 0.7952336668968201, 0.28465667366981506, 0.32953763008117676, 0.5585662722587585, -0.09601958096027374, -0.6365196108818054, 0.46882620453834534, -0.007384416647255421, -0.6639344096183777, -0.32980722188949585, -0.38253337144851685, -0.5114962458610535, 0.1331109255552292, -0.36123621463775635, -0.570144772529602, 0.3637246787548065, -0.5324116945266724, -0.19930894672870636, 0.4112478494644165, -0.587737500667572, 0.4004654288291931, -0.2746022045612335, -0.24283798038959503, -0.5540071129798889, -0.3993186950683594, 0.35827693343162537, -0.053172409534454346, 0.40253549814224243, -0.20287390053272247, 0.2218698114156723, 0.8100903034210205, 0.07508925348520279, 0.4918386936187744, -0.3234693109989166, 0.11093301326036453, 0.13293634355068207, -0.07147199660539627, 0.8193548321723938, 0.4636540412902832, -0.6814760565757751, 0.13675624132156372, -0.011983301490545273, -0.4006665349006653, -0.3549653887748718, 1.0784555673599243, -1.019897222518921, -0.6574564576148987, -0.26579490303993225, -0.5629909038543701, -0.2628325819969177, 0.4018908143043518, -0.049740273505449295, 0.6628862023353577, -0.04206220433115959, 0.7754131555557251, 0.2453320175409317, -0.011352934874594212, 0.468686044216156, 0.6367776393890381, 0.02499234676361084, -0.6880353689193726, 0.6448693871498108, 0.24168114364147186, -0.17571265995502472, 0.6127761006355286, 0.06396596878767014, -0.3877931237220764, -0.8281213641166687, -0.19873255491256714, -0.008906028233468533, -0.6923938393592834, -0.24447545409202576, -0.6253696084022522, -0.33617502450942993, -0.4999425411224365, -0.05606786906719208, -0.36973103880882263, -0.5603295564651489, -0.067633718252182, -0.4148607552051544, 0.3913808763027191, 0.7839577198028564, 0.34716546535491943, 0.07122570276260376, -0.6166607737541199, 0.3255358338356018, 0.25702258944511414, 0.6984821557998657, -0.14723774790763855, -0.46440690755844116, -0.8465995788574219, -0.21125033497810364, -0.3914318084716797, -0.711158037185669, 0.14630383253097534, 0.1937456876039505, 1.2647241353988647, 0.3895915746688843, 0.36320728063583374, 0.2843227982521057, -0.6266711354255676, 0.874684751033783, 0.06371214240789413, -0.7391011714935303, 0.6924107670783997, -0.4828598201274872, -0.015789158642292023, 0.70916748046875, 0.3212378919124603, -0.2205842137336731, -0.6501982808113098, -0.3836486041545868, -0.8252303004264832, 0.8086692094802856, 0.01170065626502037, 0.03824160248041153, -0.011525661684572697, 0.6484725475311279, 0.12157348543405533, 0.3460404574871063, -0.7391313910484314, -0.2750852704048157, -0.2514854669570923, 0.10540325194597244, -0.4807606339454651, -0.6294543743133545, -0.2329074591398239, -0.3741103410720825, 0.8295125365257263, 0.03824078291654587, 0.10368853062391281, 0.20544499158859253, -0.164746955037117, -0.4102081060409546, 0.29989907145500183, 0.627477765083313, 0.9514347314834595, -0.3345324993133545, 0.13436447083950043, 0.010225125588476658, -0.1907561868429184, 0.14834530651569366, 0.29283037781715393, 0.00907155405730009, 0.007268296554684639, 0.23682332038879395, 0.768010139465332, 0.4107150137424469, -0.32599878311157227, 0.4101993143558502, 0.05172813683748245, -0.25624099373817444, -0.3324316740036011, 0.10744236409664154, 0.12366500496864319, 0.6102619767189026, 1.0242410898208618, 0.24900075793266296, 0.27278363704681396, -0.7008492946624756, 0.4555702209472656, 0.5788203477859497, -0.46111994981765747, -0.004149772226810455, 0.637505829334259, 0.39928972721099854, -0.266528457403183, 0.3894992172718048, 0.31218913197517395, -0.3632543683052063, 0.2856171131134033, 0.20737747848033905, 0.6885828375816345, -0.30798396468162537, 0.4320511221885681, 0.22368808090686798, 0.3204459547996521, -0.5307320356369019, 0.02784254215657711, 0.09613724797964096, -0.8442950248718262, -0.4705435633659363, -0.553906261920929, -0.7176951766014099, 0.17919881641864777, -0.6405158042907715, 0.4602038562297821, -0.3176717758178711, -0.14366655051708221, 0.1917015016078949, 0.44585734605789185, -0.42975640296936035, 0.16131791472434998, 0.1921904981136322, 1.062196135520935, -0.7589674592018127, 1.1952999830245972, 0.8874445557594299, -0.44563478231430054, -0.5599730610847473, 0.18056106567382812, -0.24810516834259033, -0.4340289831161499, 0.149329274892807, 0.012900445610284805, -0.021059861406683922, 0.08007088303565979, -0.2801803946495056, -1.2212387323379517, 1.0619006156921387, 0.8228548765182495, -0.2901352345943451, 0.10633935034275055, -0.38870906829833984, 0.3014059364795685, -0.5288962721824646, 0.5944176912307739, 0.09074439108371735, 0.6388238072395325, 0.1445181965827942, -0.9095262885093689, -0.12469380348920822, -0.32582226395606995, -0.06839879602193832, 0.04686439037322998, -0.8819799423217773, 0.7852644324302673, -0.14294160902500153, 0.4064774811267853, -0.17788071930408478, 0.6441401839256287, 0.1894732564687729, 0.3682919144630432, 0.5074061155319214, 0.2229670286178589, 0.7335476279258728, 0.28775763511657715, 1.1928319931030273, -0.5218669176101685, 0.22278474271297455, 1.1113228797912598, -0.1654067039489746, 1.1780166625976562, 0.23144322633743286, -0.03162746503949165, 1.0338600873947144, 0.630565881729126, -0.02885049395263195, 0.8730856776237488, -0.3378552198410034, 0.006609664298593998, -0.2671111822128296, -0.219612255692482, -0.48052653670310974, 0.2697095572948456, 0.042852696031332016, -0.6217933297157288, -0.2512122690677643, 0.12282877415418625, -0.1852847933769226, -0.03900761157274246, -0.41827112436294556, 0.7819994688034058, -0.028046896681189537, -0.6675093770027161, 0.11610926687717438, 0.13002949953079224, 0.472709596157074, -0.483927458524704, -0.00046011197264306247, -0.1292300969362259, 0.09648394584655762, -0.2863926887512207, -0.8751882910728455, -0.1572810858488083, -0.4706043004989624, -0.6020454168319702, -0.1038263812661171, 0.8249810338020325, -0.5652138590812683, -0.7982318997383118, 0.403518944978714, 0.6196172833442688, 0.010485517792403698, -0.3911595344543457, -0.7623101472854614, -0.2806444764137268, -0.20580193400382996, -0.6866604685783386, 0.5754467844963074, 0.24963237345218658, -0.019698642194271088, 0.7448458075523376, 0.7949478626251221, 0.04862252250313759, -0.11898103356361389, 0.32572561502456665, 0.8343736529350281, -0.7552887201309204, -0.5799376964569092, -0.7070712447166443, 0.1805475503206253, -0.22120733559131622, 0.04164256528019905, 0.9185587167739868, 0.6487244367599487, 0.8550602197647095, 0.21093422174453735, 1.0015349388122559, 0.42687085270881653, 0.69012451171875, -0.48473846912384033, 0.7327410578727722, -0.3979865610599518, 0.4623783826828003, -0.4909728467464447, -1.1338151693344116, -0.25236257910728455, 0.4530828595161438, -0.27992957830429077, 0.36785051226615906, 0.6884206533432007, 0.6880160570144653, -0.027338692918419838, -0.01997152902185917, 0.3592107594013214, 0.2738052010536194, 0.24158307909965515, 0.3507072925567627, 0.765038013458252, -0.13127774000167847, 0.6146634221076965, -0.24978700280189514, 0.04610234126448631, -0.5184581279754639, -1.019842267036438, -0.9413281679153442, -0.6257123947143555, -0.35616782307624817, -0.2188740074634552, 0.22678107023239136, 1.14315664768219, 0.958496630191803, -0.9657909274101257, -0.07042118161916733, 0.13015644252300262, 0.4487035870552063, -0.3328518271446228, -0.23960790038108826, 0.46874719858169556, -0.30880239605903625, -0.7208186984062195, 0.8510153889656067, 0.1830882728099823, -0.4974684417247772, -0.4314712882041931, 0.02688410133123398, -0.5334265828132629, -0.0328962616622448, 0.6903130412101746, -0.30558377504348755, -0.7757092714309692, -0.5399558544158936, -0.45817697048187256, -0.19048209488391876, -0.19259630143642426, 0.751968264579773, -0.8383314609527588, 0.1432497650384903, 0.3764078617095947, 0.47433048486709595, 0.3823417127132416, 0.023038562387228012, 0.5777504444122314, -0.8622564673423767, 0.09918846935033798, -0.04838678985834122, 0.3942931592464447, 0.2828357517719269, -0.6825098395347595, 0.38427484035491943, 0.12137284874916077, -0.6496597528457642, -0.765218198299408, -0.008061341010034084, -1.0837864875793457, -0.39410585165023804, 1.4343997240066528, -0.07520898431539536, 0.1771422177553177, -0.39362192153930664, -0.28076526522636414, -0.0312955379486084, -1.0147067308425903, 0.7164257764816284, 0.886265754699707, -0.028281472623348236, -0.5654225945472717, -0.7435275912284851, 0.33854106068611145, 0.1598040610551834, -0.34239596128463745, -0.2345910221338272, 0.3629750609397888, 0.319143146276474, 0.03478531539440155, 0.3826845586299896, 0.016358545050024986, 0.04000934585928917, -0.509579062461853, -0.09541022777557373, -0.34172359108924866, -0.4643504321575165, 0.05913008749485016, 0.5990058779716492, 0.3289702832698822, 0.09674830734729767 ]
http://arxiv.org/abs/2406.11736v1
http://arxiv.org/pdf/2406.11736v1
Interactive Evolution: A Neural-Symbolic Self-Training Framework For Large Language Models
2024-06-17T16:52:56
2024-06-17T16:52:56
Fangzhi Xu, Qiushi Sun, Kanzhi Cheng, Jun Liu, Yu Qiao, Zhiyong Wu
cs.CL
cs.CL, cs.AI
One of the primary driving forces contributing to the superior performance of Large Language Models (LLMs) is the extensive availability of human-annotated natural language data, which is used for alignment fine-tuning. This inspired researchers to investigate self-training methods to mitigate the extensive reliance on human annotations. However, the current success of self-training has been primarily observed in natural language scenarios, rather than in the increasingly important neural-symbolic scenarios. To this end, we propose an environment-guided neural-symbolic self-training framework named ENVISIONS. It aims to overcome two main challenges: (1) the scarcity of symbolic data, and (2) the limited proficiency of LLMs in processing symbolic language. Extensive evaluations conducted on three distinct domains demonstrate the effectiveness of our approach. Additionally, we have conducted a comprehensive analysis to uncover the factors contributing to ENVISIONS's success, thereby offering valuable insights for future research in this area. Code will be available at \url{https://github.com/xufangzhi/ENVISIONS}.
[ -0.24328874051570892, -0.7095468044281006, 0.5827824473381042, 0.39390724897384644, -0.2577739357948303, 0.1543838381767273, -0.4299071729183197, -0.41910284757614136, 0.36911541223526, 0.3561254143714905, -0.812120795249939, -0.28991764783859253, -0.5300470590591431, 0.44336023926734924, -0.31548604369163513, 0.6132523417472839, -0.1651524007320404, 0.007267921231687069, -0.35734471678733826, -0.07605370879173279, -0.3241453170776367, -0.29283833503723145, -0.8866919279098511, -0.273385614156723, 0.32434213161468506, 0.12954497337341309, 0.7367159724235535, 1.213836669921875, 0.1973014622926712, 0.39875295758247375, -0.020047491416335106, 0.31283456087112427, -0.3039529025554657, 0.6287940740585327, 0.20395173132419586, -0.30224043130874634, -0.08129420876502991, -0.19488967955112457, 0.8388696908950806, 0.462373286485672, -0.22333233058452606, 0.184962198138237, 0.2468479722738266, 0.3622001111507416, -0.5151045322418213, 0.27505946159362793, -0.6964836716651917, 0.3501332700252533, -0.06679000705480576, -0.20394960045814514, -0.14549046754837036, -0.06895846128463745, 0.32404425740242004, -0.7769542932510376, -0.2238008826971054, 0.1923113763332367, 0.5843660831451416, 0.5745682120323181, -0.2485971450805664, -0.2557787001132965, -0.418327271938324, 0.634074866771698, -0.7515657544136047, 0.5990809798240662, 0.06621873378753662, 0.28771495819091797, -0.41206270456314087, -0.7037982940673828, -0.6685529947280884, -0.21933667361736298, 0.08738860487937927, 0.1971217393875122, -0.08141309022903442, 0.2004159837961197, 0.22047126293182373, -0.12530986964702606, -0.48026466369628906, 0.4140450954437256, -0.2408173382282257, 0.008699818514287472, 0.6205852031707764, 0.19473181664943695, 0.4554874897003174, -0.08080901950597763, -0.3548617362976074, -0.09641492366790771, -0.7852481603622437, -0.04960792511701584, 0.45699480175971985, 0.4105006158351898, -0.323039174079895, 0.423113077878952, -0.21824415028095245, 0.7842873334884644, 0.09633661061525345, 0.1990390568971634, 0.3425787091255188, 0.04226987436413765, -0.3223821222782135, 0.3479860723018646, 0.8253071904182434, -0.08369234204292297, 0.4158051311969757, -0.28667739033699036, -0.19271138310432434, -0.20097105205059052, 0.39457717537879944, -0.8036751747131348, -0.16927999258041382, 0.18128134310245514, -0.2844742238521576, -0.2841583490371704, -0.29885727167129517, -0.8355050683021545, -0.5393063426017761, -0.9395859241485596, 0.35907185077667236, -0.560131847858429, -0.2083491086959839, 0.18883413076400757, -0.020142439752817154, 0.10725796967744827, 0.5569735169410706, -1.226341962814331, 0.1822441667318344, 0.6578539609909058, 0.9199872612953186, -0.1486070156097412, -0.5261512398719788, -0.2696060538291931, 0.24661296606063843, -0.24194778501987457, 0.65738844871521, -0.755424439907074, -0.07149066030979156, 0.06889115273952484, -0.36607417464256287, -0.11926554888486862, -0.4219914376735687, 0.14689745008945465, -0.2549961507320404, 0.0015477502020075917, -0.1448855698108673, -0.4675031900405884, -0.05607302486896515, 0.40309396386146545, -0.47195345163345337, 1.0765689611434937, -0.0585368312895298, -0.5413159728050232, 0.25317153334617615, -0.8394447565078735, -0.2957528829574585, 0.13084863126277924, -0.6618880033493042, -0.287667840719223, 0.12336871027946472, 0.24197480082511902, 0.3575016260147095, -0.3184545040130615, 0.23049117624759674, -0.5561282634735107, -0.1502593606710434, 0.02071104571223259, -0.23246492445468903, 0.8482475280761719, 0.35254234075546265, -0.5854909420013428, 0.2871827185153961, -0.6378357410430908, 0.18582719564437866, 0.41743481159210205, -0.09931280463933945, -0.365735799074173, 0.12924695014953613, -0.19738170504570007, 0.4178721308708191, 0.3219847083091736, -0.4939955472946167, 0.4163382351398468, -0.6576938629150391, 0.5127969980239868, 1.0167707204818726, -0.08104144036769867, 0.5703499913215637, 0.018498757854104042, 0.705072820186615, 0.03204602003097534, 0.3612824082374573, -0.1547853946685791, -0.3226337134838104, -1.0593044757843018, -0.14724358916282654, 0.11967764049768448, 0.30282217264175415, -0.7106854319572449, 0.5279008150100708, -0.3154260218143463, -0.41164687275886536, -0.6918038129806519, 0.38150349259376526, 0.23818519711494446, 0.13136500120162964, 0.317059189081192, -0.2019330859184265, -0.7712079882621765, -1.2159160375595093, -0.33380821347236633, -0.039932165294885635, 0.1737271100282669, 0.082156702876091, 0.55208420753479, -0.34667685627937317, 1.1482230424880981, -0.15728679299354553, -0.1871528923511505, -0.202241912484169, 0.094425730407238, -0.1718055009841919, 0.5865951180458069, 0.591925323009491, -0.5273711085319519, -0.2894812226295471, -0.0021864352747797966, -0.9189606308937073, -0.05971693992614746, -0.47638341784477234, -0.3251163363456726, -0.15415014326572418, 0.562764048576355, -0.6351050734519958, 0.16164270043373108, 0.668703556060791, -0.08025749772787094, 0.23059400916099548, -0.29453757405281067, -0.25887519121170044, -1.1307567358016968, -0.2714652717113495, 0.15831635892391205, 0.03782019764184952, -0.55283123254776, 0.03617258742451668, 0.037549521774053574, -0.024291494861245155, -0.19460463523864746, 0.6184912323951721, -0.752526581287384, 0.008223311975598335, -0.15903297066688538, 0.23522000014781952, -0.45068442821502686, 0.5222656726837158, 0.14449308812618256, 0.5257911682128906, 0.7989630103111267, -0.46162956953048706, 0.3120113015174866, 0.4199373722076416, -0.14500808715820312, 0.3964289426803589, -0.4920767843723297, 0.3881074786186218, -0.28385382890701294, 0.04066755250096321, -0.5943524241447449, -0.2566169202327728, 0.34240788221359253, -0.2847808003425598, 0.4748930037021637, 0.011861458420753479, -0.6648553609848022, -0.19894561171531677, -0.22150780260562897, 0.3300934135913849, 0.45953258872032166, -0.9291181564331055, 0.9101876616477966, 0.3644063174724579, -0.14308606088161469, -0.3927817940711975, -0.5621640682220459, 0.4655182659626007, -0.4072047173976898, -0.5152377486228943, 0.1520015001296997, -0.09991492331027985, -0.16169898211956024, -0.2126235067844391, 0.012699543498456478, 0.1788143813610077, 0.2674562931060791, 0.36312785744667053, -0.07776708900928497, -0.15760304033756256, 0.26446008682250977, 0.2543216645717621, 0.05530015006661415, 0.4448093771934509, -0.5165314078330994, 0.49405166506767273, -0.1743355244398117, -0.5669971704483032, -0.39935237169265747, 0.040116071701049805, 0.3431157171726227, -0.4070141017436981, 0.5510895252227783, 0.21343262493610382, -0.686495840549469, -0.6501967310905457, -0.39398059248924255, -0.15732555091381073, -0.6182023882865906, 0.5205050110816956, -0.15909607708454132, -0.8337423801422119, 0.29698073863983154, -0.33640149235725403, 0.2863585948944092, 0.3349567651748657, 0.4622381031513214, -0.17685265839099884, 1.1394670009613037, 0.5418198108673096, 0.15699924528598785, 0.5767152309417725, -0.12930770218372345, 0.16648578643798828, -0.9074382185935974, -0.433811217546463, -0.3059079647064209, -0.6205071210861206, -0.5241270661354065, -0.10438167303800583, 0.3088219165802002, -0.0493873655796051, -0.6426188349723816, 0.3459320664405823, -0.6264508962631226, 0.30177268385887146, 0.5569428205490112, 0.08431360125541687, 0.01409410685300827, -0.015443517826497555, -0.10931691527366638, -0.31153181195259094, -0.8188773393630981, -0.4986034333705902, 0.858931303024292, 0.4767444431781769, 0.7803924083709717, 0.02413809299468994, 1.0072799921035767, -0.019706198945641518, 0.32198596000671387, -0.5098602771759033, 0.6500129103660583, 0.27922162413597107, -0.3998715281486511, -0.39831632375717163, -0.28717875480651855, -1.0152647495269775, 0.236285999417305, -0.3882981538772583, -0.7940084338188171, 0.12979482114315033, 0.3828704059123993, -0.3385546803474426, 0.1899239718914032, -0.5218409299850464, 0.9984513521194458, -0.9557624459266663, -0.20615482330322266, -0.20666420459747314, -0.6905760169029236, 0.08112357556819916, -0.4300191104412079, 0.029698891565203667, 0.07117482274770737, -0.2052052617073059, 0.7395499348640442, -0.0631689578294754, 1.1065659523010254, -0.1723867952823639, -0.007999926805496216, 0.2122400552034378, 0.20082896947860718, 0.6688274145126343, 0.0020241690799593925, 0.041546694934368134, 0.0822976753115654, -0.2903781533241272, -0.06643728166818619, -0.7612819671630859, 0.7092915773391724, -0.6657109260559082, -0.6280165910720825, -0.4976203739643097, -0.4322046935558319, -0.3964591324329376, 0.17694568634033203, 0.04133441299200058, 0.17124132812023163, -0.030840113759040833, 0.19572265446186066, 0.44380682706832886, -0.2985442876815796, 0.4938662648200989, 0.2666781544685364, -0.1851213276386261, -0.4904555082321167, 0.6380184888839722, 0.034208524972200394, 0.1894896924495697, -0.003961136098951101, 0.19528163969516754, -0.321274995803833, -0.7786030173301697, -0.634848415851593, 0.20744217932224274, -0.7700034379959106, -0.20593541860580444, -0.6981661915779114, -0.29845675826072693, -0.3106195330619812, -0.1332511305809021, -0.44767066836357117, -0.11940096318721771, -0.4197096824645996, -0.13137322664260864, 0.4369733929634094, 0.9380539655685425, 0.09387026727199554, 0.35673558712005615, -0.41058775782585144, -0.13108417391777039, 0.1693047732114792, 0.3972170054912567, 0.14548341929912567, -0.6145432591438293, -0.30591750144958496, 0.3796626329421997, -0.4508994221687317, -0.7452442646026611, 0.6488420963287354, 0.4528900682926178, 0.7661037445068359, 0.4319368600845337, -0.09549890458583832, 1.019927740097046, -0.6172810792922974, 0.5813060998916626, 0.1950439065694809, -0.8347824811935425, 0.7463804483413696, -0.37207502126693726, 0.261310338973999, 0.5797776579856873, 0.2870146334171295, -0.5492957234382629, -0.5596576929092407, -0.6318625211715698, -0.6919792890548706, 0.6278923749923706, 0.3470800518989563, 0.35786357522010803, -0.12346266955137253, 0.620888888835907, 0.03681807965040207, 0.20692530274391174, -0.7950765490531921, -0.2015494704246521, -0.1679357886314392, -0.5902432799339294, 0.15836909413337708, 0.08472366631031036, 0.04833464324474335, -0.557351291179657, 0.6379731893539429, -0.38962921500205994, 0.2584434747695923, 0.08871971070766449, -0.12719914317131042, -0.13848291337490082, -0.03997861221432686, 0.4370894730091095, 0.40550315380096436, 0.19394290447235107, 0.09519706666469574, 0.5067288875579834, -0.3028842806816101, 0.011983745731413364, -0.012781338766217232, -0.16822654008865356, -0.2583523988723755, 0.27968549728393555, 0.9618558287620544, 0.45737335085868835, -0.6850990056991577, 0.2414436787366867, 0.1252443492412567, -0.038917023688554764, -0.6870684623718262, 0.1781282126903534, 0.23428238928318024, 0.5367118120193481, 0.11761486530303955, 0.053836070001125336, 0.04374223202466965, -0.34245821833610535, 0.08058379590511322, 0.5143874287605286, -0.32146647572517395, -0.5158114433288574, 0.8343194723129272, 0.15842539072036743, -0.49081504344940186, 0.8806467056274414, -0.23241959512233734, -0.6102845668792725, 0.7269092202186584, 0.8678320646286011, 1.231600284576416, -0.1698610782623291, -0.03216211870312691, 0.3718222975730896, 0.408531129360199, -0.2283117175102234, 0.1486414074897766, -0.0379282608628273, -0.6133388876914978, -0.242477148771286, -0.8694339394569397, -0.3136794865131378, 0.0812629908323288, -0.26297321915626526, 0.4750511944293976, -0.5424497127532959, 0.02667209506034851, -0.08872508257627487, -0.4705249071121216, -0.7585950493812561, 0.17255820333957672, 0.43234026432037354, 0.8631273508071899, -0.6319987177848816, 0.8798133134841919, 0.7423838376998901, -0.2429143637418747, -0.5841307640075684, -0.08601725846529007, 0.1039755567908287, -0.9354053735733032, 0.9238250851631165, 0.33406996726989746, -0.19048944115638733, 0.2897154986858368, -0.6601440906524658, -1.1354875564575195, 1.1416008472442627, 0.813106119632721, -0.5322607755661011, -0.24542538821697235, 0.1897570639848709, 0.7704484462738037, -0.6391574144363403, -0.0025217917282134295, 0.39083102345466614, 0.5333749651908875, -0.20425882935523987, -0.7702258825302124, 0.048110682517290115, -0.3891748785972595, 0.06740047037601471, 0.24007564783096313, -0.5360668301582336, 0.505100667476654, -0.20767827332019806, -0.3606569468975067, 0.021759269759058952, 0.7976659536361694, 0.0385420136153698, -0.04748640954494476, 0.55071622133255, 0.6348659992218018, 0.4036446511745453, -0.0969519391655922, 0.8627166152000427, -0.44403085112571716, 0.27437523007392883, 1.1538454294204712, -0.15507541596889496, 0.8991173505783081, 0.5024878978729248, -0.053108420222997665, 0.41912606358528137, 0.9196012616157532, -0.13438864052295685, 0.4674649238586426, 0.40111416578292847, -0.10744104534387589, -0.5054395794868469, 0.07492247223854065, -0.2041434645652771, 0.717013418674469, 0.3857213854789734, -0.44982367753982544, -0.30998826026916504, -0.10531194508075714, -0.29497435688972473, 0.08249098062515259, 0.044201068580150604, 0.7201582193374634, 0.15035998821258545, -0.637631356716156, 0.35145726799964905, -0.233205184340477, 0.7685518860816956, -0.821022629737854, -0.17828580737113953, 0.001837593619711697, -0.030690161511301994, -0.0848948061466217, -0.68709397315979, 0.19186656177043915, -0.2118413895368576, 0.5494508147239685, -0.6067632436752319, 0.48325809836387634, -0.48551127314567566, -0.24529695510864258, 0.41416892409324646, 0.5246865153312683, -0.038195736706256866, -0.0143453823402524, -0.8413664698600769, -0.16841670870780945, -0.15624156594276428, -0.4296725392341614, 0.45753908157348633, 0.550154983997345, 0.051636502146720886, 0.85172039270401, 0.49134233593940735, -0.029482580721378326, 0.1414848417043686, -0.06913671642541885, 0.7644384503364563, -0.6580629348754883, -0.6098475456237793, -1.147160530090332, 0.23748068511486053, -0.3343501687049866, -0.6325874328613281, 0.7396358251571655, 0.6387142539024353, 0.825681209564209, -0.05371199548244476, 0.7093026041984558, 0.0899190828204155, -0.15250469744205475, -0.5047774910926819, 0.8160938024520874, -0.5882408618927002, 0.0950649306178093, -0.11185114085674286, -1.0188288688659668, -0.2849731147289276, 0.7984012365341187, -0.1586994081735611, 0.23487766087055206, 0.5235106945037842, 0.5384206771850586, -0.0999169871211052, 0.19464851915836334, 0.0970473662018776, 0.13687752187252045, 0.18851372599601746, 0.4182080924510956, 1.047228455543518, 0.04077863320708275, 0.2717910706996918, -0.30065831542015076, -0.11194539070129395, 0.08234402537345886, -1.0068024396896362, -0.9607712626457214, -0.7072384357452393, -0.35183238983154297, 0.055279459804296494, 0.26292768120765686, 1.5524647235870361, 0.7318743467330933, -0.5253608226776123, -0.1918698400259018, -0.383088618516922, -0.514487087726593, -0.07921486347913742, -0.06529723107814789, 0.24560266733169556, -0.6111897230148315, -0.7147452235221863, 0.4262421131134033, 0.4977763891220093, 0.38613754510879517, -0.5315294861793518, -0.3218196630477905, -0.03368140012025833, 0.05938270315527916, 0.4434658885002136, 0.3878626823425293, -0.8400428891181946, -0.5512741804122925, 0.061610300093889236, -0.09159055352210999, 0.17464597523212433, 0.5069815516471863, -0.8542752861976624, 0.7870056629180908, 0.0569828562438488, 1.0420763492584229, 0.2524169087409973, -0.19386067986488342, 0.7525600790977478, -0.8475256562232971, 0.07694480568170547, 0.287994384765625, 0.5790361762046814, 0.3426499366760254, -0.3965089023113251, 0.5540394186973572, 0.02772713638842106, -0.3939036428928375, -0.7932828664779663, 0.16750527918338776, -0.8618435859680176, -0.010828523896634579, 1.3395484685897827, 0.19797514379024506, -0.24571995437145233, 0.005091427825391293, -0.20253871381282806, 0.25751161575317383, -0.20969535410404205, 1.1179507970809937, 0.5605776309967041, -0.31627538800239563, -0.08114916831254959, -0.6856930255889893, 0.6083269715309143, 0.4833880364894867, -1.1237167119979858, 0.15654517710208893, 0.48303085565567017, 0.10717210173606873, 0.10484445095062256, 0.1461818516254425, 0.24670712649822235, 0.08258301764726639, -0.13231076300144196, 0.2873671352863312, -0.28526413440704346, -0.3047668933868408, -0.6238492131233215, -0.1518436223268509, 0.2588137090206146, -0.19763481616973877 ]
http://arxiv.org/abs/2406.11727v2
http://arxiv.org/pdf/2406.11727v2
1000 African Voices: Advancing inclusive multi-speaker multi-accent speech synthesis
2024-06-17T16:46:10
2024-06-27T08:52:54
Sewade Ogun, Abraham T. Owodunni, Tobi Olatunji, Eniola Alese, Babatunde Oladimeji, Tejumade Afonja, Kayode Olaleye, Naome A. Etori, Tosin Adewumi
eess.AS
eess.AS, cs.CL
Recent advances in speech synthesis have enabled many useful applications like audio directions in Google Maps, screen readers, and automated content generation on platforms like TikTok. However, these systems are mostly dominated by voices sourced from data-rich geographies with personas representative of their source data. Although 3000 of the world's languages are domiciled in Africa, African voices and personas are under-represented in these systems. As speech synthesis becomes increasingly democratized, it is desirable to increase the representation of African English accents. We present Afro-TTS, the first pan-African accented English speech synthesis system able to generate speech in 86 African accents, with 1000 personas representing the rich phonological diversity across the continent for downstream application in Education, Public Health, and Automated Content Creation. Speaker interpolation retains naturalness and accentedness, enabling the creation of new voices.
[ -1.0412344932556152, -0.3221870958805084, 0.31772300601005554, 0.5631877779960632, -0.104079470038414, 0.5302403569221497, -0.22483743727207184, -0.4846705496311188, 0.8754921555519104, 0.28506937623023987, -0.6740639209747314, -0.3298172950744629, -0.3906323313713074, 0.5081531405448914, -0.39068976044654846, 0.551399827003479, 0.796785831451416, 0.005653566215187311, 0.4460236728191376, -0.3105821907520294, -0.18660050630569458, -0.793035626411438, -0.6712305545806885, 0.1405525803565979, 0.5440975427627563, 0.7790592908859253, 0.5837191343307495, -0.01214336883276701, -0.45831170678138733, 0.32945242524147034, 0.14129257202148438, 0.5429706573486328, -0.11682352423667908, 0.2747178077697754, 0.1668710559606552, 0.05121108144521713, -0.7114580869674683, -0.22662313282489777, 0.28886091709136963, 0.7738186717033386, 0.17369124293327332, -0.0744156688451767, 0.289678692817688, 0.2821519374847412, -0.269774854183197, -0.0966431200504303, -0.6013437509536743, -0.36389222741127014, -0.20378939807415009, -0.22019018232822418, -0.24012474715709686, -0.4819207787513733, 0.16316089034080505, -0.523938000202179, 0.239022895693779, -0.17397548258304596, 0.23065125942230225, -0.15167683362960815, -0.4238860011100769, -0.2947711944580078, -0.6775998473167419, 0.48057860136032104, -0.7717581987380981, 0.5378435850143433, 0.14418631792068481, 0.3405725061893463, -0.27006813883781433, -0.8646553158760071, -0.8605206608772278, -0.09392190724611282, 0.413180410861969, -0.09871044009923935, 0.0506758838891983, 0.09128888696432114, -0.17470704019069672, 0.11467451602220535, -0.2098071575164795, 0.03138988837599754, -0.36468973755836487, -0.35193854570388794, 0.9008815288543701, -0.13381128013134003, 0.33953574299812317, -0.2526026666164398, 0.0545990951359272, -0.08439568430185318, -0.6931174397468567, -0.0849645584821701, 0.7039686441421509, 0.9678037762641907, 0.0040835733525455, 0.41834741830825806, -0.081336110830307, 0.3198358714580536, -0.08681109547615051, -0.25055068731307983, 0.3743008077144623, -0.048556406050920486, 0.21263419091701508, 0.46164044737815857, 0.7817876935005188, 0.1784360706806183, 0.5330913662910461, -0.15534837543964386, -0.0018566135549917817, -0.13885046541690826, 0.2981301546096802, -0.6347320675849915, 0.22067990899085999, 0.32318729162216187, 0.02414647489786148, 0.209000825881958, 0.025285588577389717, -1.2100096940994263, -0.49706563353538513, -0.176884263753891, 0.40579068660736084, -0.49936890602111816, -0.3085365891456604, -0.13792769610881805, -0.0158296599984169, -0.09555897116661072, 0.1643989384174347, -1.1050325632095337, 0.3771171271800995, 0.47232070565223694, 0.7024123668670654, 0.1011311262845993, -0.4342935085296631, -0.1954292356967926, 0.12274180352687836, -0.24932122230529785, 0.3812558948993683, -0.3438955843448639, -0.8282771110534668, 0.07137840986251831, 0.0617716945707798, 0.39580267667770386, -0.471576988697052, 0.4520704448223114, -0.0017106587765738368, -0.16326041519641876, -0.45822498202323914, -0.13930414617061615, -0.07694648951292038, -0.36488205194473267, -0.5454879999160767, 1.0130374431610107, 0.23124684393405914, 0.03834566846489906, 0.335227370262146, -0.4908289313316345, -0.7387700080871582, 0.2587480843067169, -0.11769355833530426, -0.12954552471637726, 0.2746247947216034, 0.6897538900375366, 0.1506500244140625, -0.1312064826488495, -0.07141643017530441, -0.08945804834365845, -0.21094709634780884, 0.1211407259106636, -0.5111375451087952, 0.7876344919204712, 0.3654806613922119, -0.7414507269859314, -0.20367276668548584, -0.9899953007698059, 0.15415862202644348, -0.006100434344261885, 0.085774265229702, -0.10249529033899307, -0.22641156613826752, 0.34578147530555725, 0.11906716227531433, -0.09039251506328583, -0.7277247309684753, 0.07257816940546036, -0.424957275390625, 0.5758547186851501, 0.47882935404777527, 0.2608300447463989, 0.14125660061836243, -0.09132806956768036, 0.5755285620689392, -0.26248621940612793, -0.12143763899803162, -0.41156893968582153, -1.0651048421859741, -0.6686111688613892, -0.3366495668888092, 0.2968124449253082, 0.3896021544933319, -0.5875452160835266, 0.5436471700668335, -0.29862159490585327, -0.4316459596157074, -0.9393335580825806, -0.1623721420764923, -0.12417367100715637, 0.2547735273838043, 0.34308233857154846, -0.32248666882514954, -0.8506681323051453, -0.9311577677726746, -0.1467110812664032, -0.07649768143892288, -0.5014985203742981, 0.26950183510780334, 0.06965939700603485, 0.0069951461628079414, 0.8189114332199097, 0.14813578128814697, -0.2604216933250427, -0.19224485754966736, 0.05239112675189972, -0.15606963634490967, 0.3096131384372711, 0.8317318558692932, -0.5573237538337708, -0.5190521478652954, -0.029082542285323143, -0.1302938312292099, -0.40255141258239746, 0.04185107350349426, 0.13840797543525696, 0.14951255917549133, 0.3849528133869171, -0.3661603629589081, 0.4355221688747406, 0.7257381081581116, -0.11868428438901901, 0.3032020926475525, 0.004681339021772146, 0.559889554977417, -1.1662551164627075, -0.05836854130029678, -0.35165929794311523, -0.2690545320510864, -0.6435540914535522, -0.28672319650650024, -0.3673281669616699, -0.691017746925354, -0.35812222957611084, 0.42608195543289185, -0.5143460035324097, -0.4062761962413788, -0.06264946609735489, 0.30870911478996277, 0.19050584733486176, 0.5610399842262268, -0.09054591506719589, 1.2549153566360474, 0.2247180938720703, -0.5451231002807617, 0.20256225764751434, 0.4660164713859558, -0.3448079824447632, 0.7587903738021851, -0.6222465634346008, 0.4236541986465454, 0.1268840879201889, 0.15634234249591827, -1.3641666173934937, -0.10193868726491928, -0.3286285400390625, -0.8308529853820801, 0.04691513627767563, 0.10273819416761398, -0.13934724032878876, -0.3659364879131317, -0.04829622805118561, 0.25968441367149353, 0.3773578703403473, -0.6476035714149475, 0.6297337412834167, 0.8283066749572754, -1.0114343166351318, -0.30208730697631836, -0.7215793132781982, 0.7178911566734314, 0.054762620478868484, -0.6128230690956116, 0.3004714548587799, 0.05141620337963104, -0.047557611018419266, -0.2397148758172989, 0.0838811919093132, -0.08161235600709915, -0.12494393438100815, 0.19885312020778656, -0.3396438658237457, -0.04927859827876091, -0.12010081857442856, 0.23510831594467163, 0.13532844185829163, -0.13279010355472565, -0.4568594694137573, 0.7678389549255371, 0.15029293298721313, -0.2601204216480255, -0.3156270980834961, 0.9951760172843933, 0.9625666737556458, -0.3016842007637024, 0.6168007254600525, 0.20685578882694244, -0.3780291676521301, -0.2794156074523926, -0.5644232034683228, -0.2785051167011261, -0.5033427476882935, 0.4650680720806122, -0.5025669932365417, -0.7130787372589111, 0.7231442332267761, -0.07108689099550247, 0.17080536484718323, 0.2576516270637512, 0.4952886402606964, -0.009081010706722736, 1.005213975906372, 0.27772605419158936, 0.15852437913417816, 0.34211310744285583, -0.0938706025481224, 0.3024674952030182, -0.6629166603088379, -0.2919774651527405, -0.8203455209732056, -0.4794604182243347, -0.7801884412765503, -0.0031889223027974367, 0.8189195394515991, -0.54534912109375, -0.16968676447868347, 0.3143994212150574, -0.5489184856414795, 0.1472349613904953, 0.9592040181159973, 0.18039177358150482, -0.02274753339588642, 0.17431549727916718, -0.2559976875782013, -0.30619731545448303, -0.4788542687892914, -0.49885988235473633, 1.0220927000045776, -0.07470977306365967, 0.1934499591588974, 0.21912245452404022, 0.7149994373321533, 0.4656003415584564, 0.06759658455848694, -0.4835628271102905, 0.602323055267334, -0.33541402220726013, -0.571247398853302, -0.5061519145965576, -0.13020071387290955, -1.013700008392334, 0.15842658281326294, -0.2537735104560852, -0.6759803295135498, 0.46685877442359924, 0.014013401232659817, -0.4364868104457855, 0.2436668872833252, -0.7393144965171814, 0.45028385519981384, -0.11814016848802567, -0.15252754092216492, -0.16937944293022156, -0.7259364128112793, -0.06192152947187424, 0.011521431617438793, 0.35773834586143494, 0.06626590341329575, 0.15212959051132202, 0.4764117896556854, -0.6110292673110962, 0.4743911325931549, -0.37939706444740295, 0.005435222759842873, 0.43970945477485657, 0.07108882814645767, 0.2058659940958023, 0.0006570429541170597, -0.3311658501625061, 0.3916071355342865, -0.2686491310596466, -0.22757494449615479, -0.25263118743896484, 0.7141579389572144, -0.885823130607605, -0.4964470863342285, 0.03342309221625328, -0.5090773701667786, -0.8045509457588196, 0.14405980706214905, 0.40435320138931274, 0.7458389401435852, -0.3423694670200348, 0.205775648355484, 0.2293226420879364, -0.47710978984832764, 0.5068853497505188, 0.14457504451274872, -0.007473397068679333, -1.1764425039291382, 0.6540706157684326, 0.2765793204307556, 0.3758622109889984, 0.028329795226454735, -0.21470335125923157, -0.5060327649116516, -0.5094053745269775, -0.504319429397583, 0.21776074171066284, -0.5434147715568542, 0.014313647523522377, -0.7078554034233093, -0.0745459794998169, -0.9522216320037842, -0.3342941701412201, -0.38381868600845337, -0.9542784690856934, 0.03782574087381363, -0.3308885395526886, 0.2736451029777527, 0.7921594977378845, -0.31519147753715515, 0.6162440776824951, -0.6244707107543945, 0.6473132371902466, 0.6614429950714111, 0.20370051264762878, 0.012822706252336502, -0.4044073820114136, -0.2133740782737732, 0.20714116096496582, -0.2260589748620987, -1.214069128036499, 0.7257675528526306, 0.4605415165424347, 0.48819422721862793, 0.14377152919769287, 0.03166745603084564, 0.69666588306427, -0.824522852897644, 1.0434937477111816, 0.042660489678382874, -1.1312236785888672, 0.320019006729126, -0.09664370864629745, 0.45185041427612305, 0.6003347635269165, 0.22695434093475342, -0.6897954940795898, -0.7325807809829712, -0.5028290748596191, -1.1646298170089722, 0.4832448661327362, 0.24529966711997986, 0.2048650085926056, -0.14059093594551086, 0.05405646935105324, 0.49745264649391174, 0.32525843381881714, -0.3045969605445862, -0.511346161365509, -0.6431299448013306, -0.22377975285053253, -0.2642709016799927, -0.2600173056125641, -0.12751619517803192, -0.26359736919403076, 0.9697201251983643, -0.17369797825813293, 0.43352648615837097, 0.31971240043640137, 0.07442480325698853, 0.028229370713233948, 0.48127228021621704, 0.6416413187980652, 0.6305842399597168, -0.08551424741744995, 0.04352280870079994, -0.06287725269794464, -0.6779704689979553, 0.47238537669181824, 0.43491435050964355, -0.24109497666358948, 0.4816565215587616, 0.013082833029329777, 0.89629727602005, 0.10940790921449661, -0.31632229685783386, 0.1020522341132164, -0.0573892779648304, -0.06439030170440674, -0.41795676946640015, -0.29095327854156494, 0.24161623418331146, -0.09835807979106903, 0.8710843920707703, -0.15340031683444977, 0.07832265645265579, -0.5383346676826477, 0.27794626355171204, 0.36662790179252625, -0.09585686028003693, -0.38292059302330017, 1.0838720798492432, 0.852020800113678, -0.7410720586776733, 0.4434840679168701, -0.014632008969783783, -0.36730995774269104, 0.51300448179245, 0.3760415017604828, 1.2157411575317383, -0.7728605270385742, 0.1442566215991974, 0.3426274359226227, 0.4954478144645691, 0.5274313688278198, 0.6081588268280029, 0.15637056529521942, -0.3997836112976074, -0.23860867321491241, -0.513992965221405, -0.7251724004745483, 0.12343667447566986, -0.47793614864349365, 0.31509700417518616, -0.3215855062007904, -0.5477242469787598, 0.2290322631597519, -0.2475050836801529, -0.5200279951095581, 0.2945028245449066, 0.41574329137802124, 0.6616846919059753, -0.8076122999191284, 0.6450204849243164, 0.46376389265060425, -0.21500445902347565, -0.6783856749534607, -0.15684084594249725, 0.08291458338499069, -0.5532379150390625, -0.015682009980082512, 0.14175768196582794, -0.18939463794231415, 0.24981053173542023, -0.21946673095226288, -0.484596848487854, 0.6247072219848633, 0.6991943120956421, -0.6454837322235107, 0.17527243494987488, 0.8227123618125916, 0.4275691509246826, -0.4737335443496704, 0.3721362054347992, 0.3920786678791046, 0.50310218334198, -0.022048696875572205, -1.2127141952514648, -0.4333495795726776, -0.127249613404274, -0.06328948587179184, 0.010039113461971283, -0.5178521871566772, 0.8484548330307007, -0.10735247284173965, -0.17345039546489716, 0.1974887251853943, 0.5705652832984924, 0.2391672134399414, 0.15719985961914062, 0.5363796353340149, 0.23441357910633087, 0.7206261157989502, -0.26897478103637695, 0.7306551337242126, -0.5303635001182556, -0.32092633843421936, 0.915794849395752, -0.386959046125412, 0.4026332497596741, 0.37997540831565857, -0.40110787749290466, 0.5679833292961121, 0.3879969120025635, 0.7056756019592285, 0.4857640862464905, -0.24282990396022797, -0.7068451642990112, 0.09997151792049408, -0.1742684245109558, -0.45961204171180725, 0.5533198714256287, 0.6999172568321228, 0.05780402570962906, 0.13328179717063904, 0.23425300419330597, -0.18922947347164154, 0.12495710700750351, -0.3132868707180023, 0.6660605669021606, 0.07408750057220459, -0.5735539793968201, 0.41069579124450684, -0.34492430090904236, 0.37547069787979126, -1.0219395160675049, -0.1371067464351654, -0.42132487893104553, -0.13197483122348785, -0.08796100318431854, -0.6348199844360352, 0.04261781647801399, -0.1715015172958374, 0.02607754059135914, -0.22203266620635986, 0.20155294239521027, -0.6798792481422424, -0.289626806974411, 0.29897555708885193, 0.42659085988998413, 0.03289150819182396, -0.18552318215370178, -0.11457212269306183, 0.09070271998643875, 0.1262454390525818, -0.07089201360940933, 0.07398955523967743, 0.7035960555076599, -0.08843015879392624, 0.43437930941581726, 0.5660857558250427, 0.5496261119842529, 0.4152616858482361, 0.23351788520812988, 0.4579519033432007, -0.5906960368156433, -1.0570814609527588, -0.39227521419525146, 0.659923791885376, 0.024339476600289345, -0.33436480164527893, 0.8970164656639099, 0.45257648825645447, 0.6120119690895081, -0.026196882128715515, 1.2079591751098633, -0.16399261355400085, 0.7150654792785645, 0.017958786338567734, 0.5074021220207214, -0.36529088020324707, -0.022647306323051453, -0.47905707359313965, -1.2548015117645264, 0.03317827731370926, 0.22000594437122345, 0.4576372802257538, -0.026938607916235924, 0.3480433523654938, 0.7804878950119019, 0.15172629058361053, 0.25076907873153687, 0.4625675082206726, 0.02698107808828354, 0.4732474982738495, 0.15962715446949005, 0.427320271730423, -0.34248554706573486, 0.51381915807724, -0.24393080174922943, -0.19950394332408905, -0.014983784407377243, -0.6152825951576233, -0.18188264966011047, -0.7352384328842163, 0.07929850369691849, -0.4046579897403717, 0.049146492034196854, 0.9986730217933655, 0.8802367448806763, -1.2195496559143066, -0.38337671756744385, 0.3469734489917755, -0.18702957034111023, -0.39018502831459045, -0.23731648921966553, 0.09850391000509262, 0.1851896494626999, -1.1797280311584473, 0.8829108476638794, 0.3948361873626709, 0.11696988344192505, -0.5045340061187744, -0.010204006917774677, -0.14678391814231873, 0.39477992057800293, 0.5524740815162659, 0.6489809155464172, -0.6362080574035645, -0.36459285020828247, -0.09296419471502304, 0.12695583701133728, 0.2736354172229767, 0.8029116988182068, -0.8170639276504517, 0.7841095328330994, 0.13372671604156494, 0.6912263631820679, 0.46001943945884705, -0.06386168301105499, 0.8394955992698669, -1.27985417842865, 0.7292543649673462, 0.4355573356151581, 0.4307560324668884, 0.6693295240402222, -0.06882162392139435, 0.30731192231178284, 0.08341426402330399, -0.5986875295639038, -0.6546415090560913, 0.14007550477981567, -0.962219774723053, 0.060467593371868134, 1.0518568754196167, 0.07774274051189423, 0.21687567234039307, -0.3142213821411133, -0.3392234742641449, 0.2541877329349518, -0.7393149733543396, 0.6761593818664551, 0.5313577651977539, -0.08176122605800629, -0.1797298640012741, -0.5784994959831238, 0.45529481768608093, 0.23125764727592468, -0.8552739024162292, -0.13956628739833832, 0.6782663464546204, -0.14641286432743073, 0.2754523754119873, 0.6339130401611328, -0.05398726463317871, 0.14998485147953033, 0.18139919638633728, 0.5279295444488525, 0.015736812725663185, -0.4434581398963928, -0.2585442066192627, 0.3196389675140381, -0.027522023767232895, -0.3789893090724945 ]
http://arxiv.org/abs/2406.11721v1
http://arxiv.org/pdf/2406.11721v1
Zero-Shot Generalization during Instruction Tuning: Insights from Similarity and Granularity
2024-06-17T16:40:21
2024-06-17T16:40:21
Bingxiang He, Ning Ding, Cheng Qian, Jia Deng, Ganqu Cui, Lifan Yuan, Huan-ang Gao, Huimin Chen, Zhiyuan Liu, Maosong Sun
cs.CL
cs.CL, cs.AI, cs.LG
Understanding alignment techniques begins with comprehending zero-shot generalization brought by instruction tuning, but little of the mechanism has been understood. Existing work has largely been confined to the task level, without considering that tasks are artificially defined and, to LLMs, merely consist of tokens and representations. This line of research has been limited to examining transfer between tasks from a task-pair perspective, with few studies focusing on understanding zero-shot generalization from the perspective of the data itself. To bridge this gap, we first demonstrate through multiple metrics that zero-shot generalization during instruction tuning happens very early. Next, we investigate the facilitation of zero-shot generalization from both data similarity and granularity perspectives, confirming that encountering highly similar and fine-grained training data earlier during instruction tuning, without the constraints of defined "tasks", enables better generalization. Finally, we propose a more grounded training data arrangement method, Test-centric Multi-turn Arrangement, and show its effectiveness in promoting continual learning and further loss reduction. For the first time, we show that zero-shot generalization during instruction tuning is a form of similarity-based generalization between training and test data at the instance level. We hope our analysis will advance the understanding of zero-shot generalization during instruction tuning and contribute to the development of more aligned LLMs. Our code is released at https://github.com/HBX-hbx/dynamics_of_zero-shot_generalization.
[ -0.2222272902727127, -1.0482873916625977, 0.6071138978004456, -0.28810909390449524, -0.08381494134664536, -0.1276322901248932, -0.1904643028974533, -0.24370723962783813, -0.05655277147889137, 0.2689107060432434, -0.7150449156761169, -0.7019094824790955, -0.39367833733558655, -0.44298598170280457, -0.5246455669403076, 1.2160632610321045, -0.09537611901760101, -0.06011483445763588, -0.4464695155620575, -0.13101381063461304, -0.6889058947563171, -0.24893666803836823, -0.2737693190574646, -0.6246696710586548, 0.48804670572280884, 0.6898450255393982, 0.3265782296657562, 1.1322559118270874, 0.5395314693450928, 0.21986684203147888, 0.10093554109334946, -0.3232225775718689, -0.5904423594474792, 0.13843533396720886, 0.030094405636191368, -0.762271523475647, -0.5500187277793884, 0.10263222455978394, 0.6700611710548401, 0.9260187149047852, -0.10381877422332764, 0.302196204662323, 0.11084620654582977, 0.55577552318573, -0.7718872427940369, -0.03793318197131157, -0.651081919670105, 0.3498697578907013, -0.2731116712093353, -0.33459144830703735, -0.1575756072998047, -0.1965928077697754, -0.10776544362306595, -0.689667820930481, 0.7333164215087891, -0.07670323550701141, 0.7546785473823547, 0.26649659872055054, -0.353741317987442, -0.05701633170247078, -0.9640676379203796, 0.8857753872871399, -0.29851245880126953, 0.19701610505580902, 0.1263720691204071, 0.28932881355285645, 0.025778211653232574, -0.1267760545015335, -0.4470781683921814, -0.007123726885765791, 0.17375504970550537, 0.1280297338962555, 0.19221198558807373, 0.28828153014183044, 0.42548710107803345, 0.5506098866462708, -0.7223494052886963, 0.28371715545654297, -0.24933677911758423, -0.059383101761341095, 0.5116064548492432, 0.30754730105400085, -0.08419832587242126, 0.4105454981327057, -0.4674999713897705, -0.08597106486558914, -0.6875865459442139, 0.18431971967220306, 0.26890236139297485, 0.22309184074401855, -0.1425970494747162, 0.38853177428245544, -0.44700199365615845, 0.9836865663528442, 0.5669217109680176, -0.008246504701673985, 0.23620201647281647, -0.33935898542404175, -0.3159927427768707, 0.19270092248916626, 0.47467485070228577, 0.5030869841575623, 0.3113371729850769, -0.49252769351005554, 0.03313874080777168, 0.05307934433221817, 0.5653586983680725, -0.7475281953811646, 0.1286984533071518, 0.08002746850252151, -0.1675337702035904, -0.4742612838745117, 0.16028156876564026, -0.4786268472671509, -0.01711839623749256, -0.727753221988678, 0.5728217959403992, -0.39579465985298157, 0.25930362939834595, 0.08188197016716003, -0.04340110346674919, 0.9645830988883972, 0.11277107894420624, -1.0801136493682861, 0.38161957263946533, 1.1726590394973755, 0.8038730025291443, -0.21817053854465485, -0.588442862033844, -0.5836932063102722, 0.4624851644039154, -0.505048930644989, 0.7965332865715027, -0.5063654780387878, -0.2505846321582794, 0.047804366797208786, 0.07349557429552078, -0.25294390320777893, -0.5400001406669617, 0.01063093263655901, -0.4000840187072754, 0.1603664755821228, -0.10236400365829468, -0.7787472009658813, -0.028767455369234085, 0.42285066843032837, -0.00932351779192686, 0.8415064215660095, 0.0448949858546257, -0.28043562173843384, 0.6107072830200195, -0.4385475814342499, -0.4889083802700043, -0.14826257526874542, -0.4849700927734375, -0.635053277015686, 0.5690791606903076, -0.13774648308753967, 0.45574700832366943, 0.1892988234758377, -0.21873289346694946, -0.5181298851966858, -0.9344400763511658, 0.013652515597641468, -0.055686093866825104, 0.25770103931427, -0.13351525366306305, -0.4857899844646454, -0.0035663535818457603, -0.44840988516807556, 0.23087894916534424, -0.09023645520210266, 0.05366085469722748, -0.2097155749797821, -0.2800790071487427, -0.5645959377288818, -0.07269864529371262, 0.2743353247642517, -0.46203428506851196, 0.649055540561676, -0.16164718568325043, -0.05841328203678131, 0.5717860460281372, 0.012701672501862049, 0.7815564870834351, -0.38649019598960876, 0.6032717823982239, 0.24004648625850677, 0.2796049118041992, -0.37215304374694824, -0.22958694398403168, -0.7311806082725525, 0.3627783954143524, 0.27367067337036133, 0.731817901134491, -0.3466785252094269, 0.4015031158924103, -0.3302193582057953, -0.26311254501342773, -0.4998430609703064, 0.12316365540027618, 0.6272623538970947, 0.59903484582901, 0.4166959226131439, -0.49040549993515015, -0.08489619940519333, -0.7888867259025574, -0.10655583441257477, 0.23365046083927155, -0.14836525917053223, 0.21516107022762299, 0.2140866070985794, -0.03777634724974632, 0.7555285692214966, -0.7399194240570068, -0.2798377275466919, 0.1676761955022812, 0.42594173550605774, 0.09400327503681183, 0.6728277802467346, 0.47158706188201904, -0.30191072821617126, -0.49001872539520264, 0.281557559967041, -0.6652786731719971, -0.09148640185594559, -0.3722056448459625, -0.355575829744339, 0.12889249622821808, 0.5992621183395386, -0.2348400056362152, 0.49922487139701843, 0.2648943066596985, -0.11139416694641113, 0.4916486144065857, -0.14967265725135803, 0.3233806788921356, -0.8596301674842834, -0.15937259793281555, -0.276068776845932, -0.1817324012517929, -0.8392711281776428, 0.04656096547842026, 0.057729557156562805, 0.007293401286005974, -0.18928462266921997, 0.0890704020857811, -0.3930821716785431, -0.31468620896339417, -0.4762841463088989, 0.07240849733352661, -0.029545070603489876, 0.5076948404312134, -0.14042331278324127, 0.8958511352539062, 0.7952593564987183, -0.5700882077217102, 0.21651875972747803, 0.14819186925888062, 0.059442874044179916, 1.0053378343582153, -0.6812910437583923, 0.4041392207145691, -0.20272931456565857, -0.09012845903635025, -0.5893466472625732, -0.09296263009309769, 0.2770043611526489, -0.39837753772735596, 0.7564572095870972, -0.3763796091079712, 0.1451185941696167, -0.0027050289791077375, -0.4721861481666565, 0.4981229305267334, 0.5109319090843201, -0.08337292075157166, 0.1072637066245079, -0.026661574840545654, 0.09129580110311508, -0.6392061710357666, -0.7249493598937988, -0.2888859510421753, -0.2751323878765106, -0.2769034802913666, 0.6486619114875793, -0.16934436559677124, 0.08394193649291992, -0.10027359426021576, -0.5759986639022827, -0.32032033801078796, 0.04798373952507973, 0.4052194654941559, 0.20519106090068817, -0.3716217279434204, 0.1253199428319931, 0.30661019682884216, -0.1822706162929535, -0.04817650839686394, -0.37982210516929626, 0.4069601595401764, -0.012272344902157784, -0.5941863656044006, -0.4981566071510315, 0.3465489447116852, 0.22932587563991547, 0.21228156983852386, 0.633934736251831, 0.7185262441635132, 0.1698092818260193, -0.09838016331195831, -0.46735212206840515, -0.21007616817951202, -0.4395696818828583, 0.17158599197864532, -0.1971369981765747, -0.8555941581726074, 0.3073498010635376, -0.04502552002668381, 0.09556799381971359, 0.10996842384338379, 0.342572420835495, -0.42005738615989685, 0.6293126344680786, 0.6709374189376831, -0.15275788307189941, 0.7596146464347839, -0.5001813173294067, -0.053583938628435135, -0.8634291291236877, -0.2656148076057434, -0.45152631402015686, -0.7927426099777222, -0.47930580377578735, -0.4374903440475464, 0.1295354813337326, 0.25004667043685913, -0.27880337834358215, 0.21412666141986847, -0.45242753624916077, 0.9031642079353333, 0.5481458902359009, 0.06174594908952713, 0.062395576387643814, 0.1507396101951599, 0.07083591818809509, 0.0771535187959671, -0.5443122386932373, -0.188045471906662, 1.1534298658370972, -0.07396560907363892, 0.6354042887687683, -0.33988896012306213, 1.1216139793395996, 0.11196675896644592, -0.07774447649717331, -1.1183147430419922, 0.3951754570007324, -0.15535114705562592, -0.2568890154361725, -0.2690531611442566, -0.4732624292373657, -1.1420193910598755, -0.0801405981183052, -0.061169080436229706, -0.6026216149330139, 0.025156009942293167, 0.2392476350069046, -0.4798063635826111, 0.13548418879508972, -0.6476390361785889, 0.8457101583480835, -0.2464708387851715, -0.40251424908638, -0.1888556182384491, -0.663143515586853, 0.23580574989318848, 0.22991739213466644, -0.03561008349061012, -0.011043855920433998, -0.14191016554832458, 0.43351981043815613, -0.17233210802078247, 0.6541008949279785, -0.21605418622493744, -0.10326554626226425, 0.1002630889415741, 0.07934288680553436, 0.0763910785317421, -0.3324442505836487, 0.21453602612018585, 0.15373598039150238, 0.04659309238195419, -0.811133861541748, -0.8655110001564026, 0.8411113619804382, -0.7801583409309387, -0.43073633313179016, -0.2548332214355469, -0.8254989385604858, -0.2633918821811676, 0.17695121467113495, 0.13388630747795105, 0.4602145254611969, -0.09556010365486145, 0.15104296803474426, 1.0053361654281616, 0.34157493710517883, 0.3859255611896515, 0.4533694088459015, 0.003708298783749342, 0.03133810684084892, 1.0463210344314575, 0.19053930044174194, 0.4277374744415283, 0.569652259349823, -0.018356120213866234, 0.08618416637182236, -0.7144428491592407, -0.3616929054260254, 0.040131282061338425, -0.22853492200374603, -0.2973635196685791, 0.072974294424057, -0.08778884261846542, -0.42988836765289307, -0.43654245138168335, -0.29211127758026123, -0.4168606698513031, -0.36624759435653687, 0.04903263598680496, 0.11447333544492722, 0.6536723375320435, 0.06037862226366997, 0.6365594863891602, -0.7788360714912415, 0.22444939613342285, 0.44367024302482605, 0.5673812627792358, -0.15184049308300018, -0.6718211770057678, -0.5317202210426331, 0.13971252739429474, -0.7359317541122437, -0.6495745182037354, -0.19333691895008087, 0.4350903034210205, 0.37231189012527466, 0.6980105042457581, -0.3530057966709137, 1.0679023265838623, -0.6530461311340332, 0.6827864646911621, 0.07528768479824066, -0.8838816285133362, 0.5640878677368164, -0.36243075132369995, 0.4090891480445862, 0.7641893625259399, 0.3482796251773834, -0.4705393612384796, -0.030301667749881744, -0.46657902002334595, -0.5916727185249329, 0.8856764435768127, -0.00031037896405905485, 0.2867380976676941, 0.3020906448364258, 0.7665557265281677, 0.3262646496295929, 0.3260372579097748, -0.21217137575149536, -0.36408981680870056, -0.06269410997629166, -0.16592681407928467, 0.003119476605206728, 0.10033965110778809, -0.36420926451683044, -0.2926996648311615, 0.41137269139289856, -0.34892934560775757, 0.524734616279602, -0.0881909504532814, -0.18888641893863678, -0.2135080248117447, 0.36251774430274963, 0.7246833443641663, 0.33468544483184814, -0.18572942912578583, -0.05822142958641052, 0.19753724336624146, -0.40667223930358887, 0.323780357837677, -0.0855318158864975, -0.4832878112792969, -0.31907638907432556, 0.47833451628685, 0.9656095504760742, 0.5080962777137756, 0.09054972976446152, 0.5089471936225891, 0.21843735873699188, -0.39035192131996155, 0.10820247232913971, 0.6060555577278137, -0.3026762008666992, 0.2520918548107147, 0.046513479202985764, -0.14484502375125885, 0.07379378378391266, -0.598824679851532, 0.20501768589019775, 0.7240787744522095, -0.4403263032436371, -0.5842248797416687, 0.3328135311603546, -0.031646937131881714, -0.34476086497306824, 0.6288937330245972, -0.25564950704574585, -0.1085321456193924, 0.6106551885604858, 0.4769434630870819, 0.9180157780647278, -0.15732207894325256, 0.5216628909111023, 0.13327324390411377, -0.015041748061776161, 0.2374260127544403, 0.20174963772296906, -0.5342524647712708, -0.6074874401092529, -0.44261544942855835, -0.43736618757247925, -0.44152605533599854, -0.10721736401319504, -1.1352964639663696, 0.17110183835029602, -0.455825537443161, 0.11731144785881042, -0.20590955018997192, 0.06004004925489426, -0.6751058101654053, -0.12184818089008331, 0.3694935142993927, 0.47320398688316345, -0.8570374846458435, 0.6941904425621033, 0.8519108295440674, -0.18974238634109497, -0.5452226996421814, 0.3362084925174713, 0.04016484320163727, -1.0018430948257446, 0.1273236870765686, 0.28621384501457214, -0.02682431973516941, -0.06367682665586472, -0.6151648163795471, -0.5932574272155762, 1.5435138940811157, 0.22367140650749207, -0.7481306791305542, -0.22838835418224335, 0.47617819905281067, 0.43650341033935547, -0.4541555941104889, 0.23244793713092804, 0.7493463754653931, 0.2869752049446106, 0.49069178104400635, -0.5967904925346375, -0.22536823153495789, 0.257414311170578, 0.028319617733359337, 0.4869903326034546, -0.6697723269462585, 0.5791181325912476, -0.06440945714712143, -0.02852722816169262, -0.09954621642827988, 0.353718638420105, -0.05788348987698555, 0.7244846224784851, 0.1690382957458496, 0.8338764309883118, 0.48741018772125244, -0.14628124237060547, 0.8502984046936035, -0.2522556185722351, 0.4312083125114441, 1.1871898174285889, -0.25165876746177673, 0.5462243556976318, 0.5780916213989258, -0.26926499605178833, 0.5072838664054871, 0.3070236146450043, -0.029061902314424515, 0.3442823588848114, 0.09538584202528, -0.18008986115455627, -0.1620197892189026, -0.10122021287679672, -0.4127655029296875, 0.515160322189331, 0.12100505083799362, -0.0734807476401329, -0.3817850649356842, -0.26071542501449585, -0.12590894103050232, -0.19867876172065735, -0.5613455772399902, 1.1228201389312744, -0.20422892272472382, -0.4664699137210846, 0.694420576095581, -0.47371554374694824, 0.5557112097740173, -0.6326464414596558, 0.0066810837015509605, -0.3367016017436981, 0.07752642035484314, -0.2097395658493042, -0.8189597129821777, 0.4686303436756134, -0.33810415863990784, -0.4294394254684448, -0.2696518003940582, 0.4262341558933258, -0.6123390793800354, -0.26841169595718384, -0.07292591780424118, 0.44648414850234985, 0.20806558430194855, -0.03338133171200752, -0.6719350814819336, -0.016835255548357964, -0.02912730909883976, -0.046223241835832596, 0.8223580121994019, 0.4919362962245941, 0.024082498624920845, 0.14336436986923218, 0.2673030495643616, 0.11015841364860535, 0.3404189348220825, 0.011559270322322845, 0.6681919097900391, -0.7240102887153625, 0.029889488592743874, -0.6758729219436646, 0.28655803203582764, 0.062365684658288956, -0.3118452727794647, 0.5305923223495483, 0.5149844288825989, 1.0285619497299194, -0.1621924638748169, 0.37558987736701965, 0.09475486725568771, 0.09693319350481033, -0.5746735334396362, 0.36293914914131165, -0.5441195964813232, -0.08517660200595856, 0.04804861545562744, -1.0462218523025513, -0.3129500150680542, 0.35130223631858826, -0.46015480160713196, 0.017110932618379593, 0.5958331227302551, 0.8442711234092712, -0.3604603707790375, -0.32514703273773193, 0.5051555037498474, -0.037663716822862625, 0.07490266859531403, 0.5437904000282288, 0.49090445041656494, -0.3903046250343323, 0.5373495221138, -0.49417662620544434, -0.3323800563812256, -0.19784300029277802, -0.6769146919250488, -0.6424769163131714, -0.2604029178619385, -0.4765288233757019, 0.3071625232696533, 0.07185936719179153, 0.5119450092315674, 0.7260196208953857, -0.9342595934867859, -0.4352119266986847, -0.38721680641174316, 0.1413602977991104, -0.4452548623085022, -0.25727686285972595, 0.07803311944007874, -0.8243593573570251, -0.6796180605888367, 0.358470618724823, 0.30005159974098206, 0.26651841402053833, 0.040327269583940506, 0.04436825215816498, 0.056570738554000854, -0.010595346800982952, 0.43316373229026794, 0.40605586767196655, -0.388543963432312, -0.33736634254455566, 0.15205129981040955, 0.1899537593126297, 0.239430233836174, 1.174957036972046, -0.776645839214325, 0.44470512866973877, 0.23946748673915863, 0.6383255124092102, 0.4021070897579193, 0.2690713703632355, 0.34780657291412354, -1.0441571474075317, 0.09649580717086792, -0.025751082226634026, -0.11163245141506195, 0.03462415188550949, -0.3673989772796631, 0.3513612151145935, 0.17713291943073273, -0.8165791630744934, -0.5693114399909973, 0.42055490612983704, -0.9832165241241455, 0.1490635871887207, 0.8081773519515991, -0.09512551873922348, -0.17357288300991058, 0.17188332974910736, -0.09085866808891296, 0.4278261661529541, -0.30622464418411255, 1.0615155696868896, 0.7024466395378113, -0.6583529114723206, 0.02714153565466404, -0.33216655254364014, 0.2873091399669647, 0.6277263164520264, -0.8325369954109192, -0.05035107582807541, 0.5022143125534058, 0.2680529057979584, 0.053116921335458755, 0.1758880913257599, 0.12450657039880753, 0.34637999534606934, -0.1584755927324295, -0.06469450891017914, -0.3178684711456299, -0.39946675300598145, -0.7391644716262817, 0.052847910672426224, -0.12065713852643967, -0.7062364816665649 ]
http://arxiv.org/abs/2406.11717v1
http://arxiv.org/pdf/2406.11717v1
Refusal in Language Models Is Mediated by a Single Direction
2024-06-17T16:36:12
2024-06-17T16:36:12
Andy Arditi, Oscar Obeso, Aaquib Syed, Daniel Paleka, Nina Rimsky, Wes Gurnee, Neel Nanda
cs.LG
cs.LG, cs.AI, cs.CL
Conversational large language models are fine-tuned for both instruction-following and safety, resulting in models that obey benign requests but refuse harmful ones. While this refusal behavior is widespread across chat models, its underlying mechanisms remain poorly understood. In this work, we show that refusal is mediated by a one-dimensional subspace, across 13 popular open-source chat models up to 72B parameters in size. Specifically, for each model, we find a single direction such that erasing this direction from the model's residual stream activations prevents it from refusing harmful instructions, while adding this direction elicits refusal on even harmless instructions. Leveraging this insight, we propose a novel white-box jailbreak method that surgically disables refusal with minimal effect on other capabilities. Finally, we mechanistically analyze how adversarial suffixes suppress propagation of the refusal-mediating direction. Our findings underscore the brittleness of current safety fine-tuning methods. More broadly, our work showcases how an understanding of model internals can be leveraged to develop practical methods for controlling model behavior.
[ -0.377926766872406, -1.1690449714660645, 0.4894087314605713, 0.14188441634178162, -0.11868897080421448, -0.013373912312090397, -0.21471765637397766, 0.05344925820827484, 0.14376282691955566, 0.8290022015571594, -1.0010344982147217, -0.32791417837142944, -0.39730292558670044, -0.3558811843395233, -0.49450942873954773, 1.1358907222747803, 0.2162831723690033, -0.1149512380361557, -0.19971135258674622, -0.12256923317909241, -0.6324049234390259, -0.41478273272514343, -0.6995949745178223, -0.21163688600063324, 0.7346788048744202, 0.7486891150474548, 1.2464011907577515, 0.5207872986793518, 0.19355714321136475, 0.34906941652297974, -0.28301605582237244, -0.2036188542842865, -0.7632768750190735, 0.1561799943447113, -0.1273668259382248, -0.5988887548446655, -0.46356475353240967, 0.2724592089653015, 0.4458698034286499, 0.8308964967727661, -0.12930108606815338, -0.04820152744650841, 0.25623059272766113, 0.8972311019897461, -0.5081174373626709, -0.22578975558280945, -1.0001686811447144, -0.10895604640245438, -0.13371220231056213, -0.11729402095079422, -0.8360650539398193, -0.10525275021791458, 0.1755901724100113, -0.4892386198043823, 0.15774592757225037, -0.20015792548656464, 0.7785314321517944, -0.12198719382286072, -0.1216268315911293, -0.3969447612762451, -0.8287370204925537, 0.5066756010055542, -0.5383890867233276, 0.4788818061351776, 0.8409072756767273, 0.18313562870025635, -0.34883931279182434, -0.41201451420783997, -0.39319801330566406, -0.5668900012969971, -0.10192083567380905, -0.3666455149650574, -0.4521768093109131, 0.4168170392513275, 0.17341727018356323, -0.2622316777706146, -0.4018666446208954, 0.3777008056640625, -1.0002362728118896, -0.011633645743131638, 0.26334330439567566, 0.13408872485160828, 0.5710874795913696, -0.0798737108707428, -0.46721941232681274, -0.05538403242826462, -1.0263357162475586, 0.09226398169994354, 0.574350118637085, 0.49073848128318787, -0.23227117955684662, 0.449865460395813, -0.22536341845989227, 0.3989272117614746, -0.08332357555627823, 0.2874946892261505, -0.19125445187091827, 0.04660638049244881, -0.3355172872543335, -0.10503985732793808, 1.0108835697174072, 0.17943280935287476, 0.05999039113521576, -0.15453366935253143, 0.07581964135169983, -0.16182968020439148, 0.6298539042472839, -0.683521032333374, -0.10415159165859222, 0.5611464977264404, -0.7434403300285339, -0.5240596532821655, -0.1822725385427475, -0.7630890011787415, -0.5443800091743469, -0.1640666276216507, 0.47462090849876404, -0.7904617786407471, -0.2649059593677521, 0.009270665235817432, -0.14550979435443878, 0.23672457039356232, 0.13465437293052673, -1.0169181823730469, 0.5400032997131348, 0.7256487011909485, 0.9035924673080444, 0.3108738362789154, -0.4484724998474121, -0.3938981592655182, -0.3452224135398865, -0.6029136776924133, 0.2533896565437317, -0.4891476035118103, -0.536846935749054, -0.35165053606033325, -0.1379171758890152, -0.006346017587929964, -0.46155619621276855, 0.4944222867488861, -0.7137245535850525, -0.2706923186779022, -0.26875847578048706, 0.017962848767638206, -0.4922157824039459, 0.07267332077026367, -0.4430440664291382, -0.012029578909277916, -0.2774411141872406, -0.48688191175460815, 0.21769878268241882, -0.41572245955467224, -0.3499322533607483, -0.21329265832901, -0.09394912421703339, -0.5102444291114807, 0.38521191477775574, -0.07288933545351028, 0.320441871881485, 0.048252541571855545, 0.2631061375141144, -0.8925963640213013, -0.13527925312519073, 0.45761507749557495, -1.1452683210372925, 1.0393747091293335, 0.4590567350387573, 0.027673989534378052, 0.3851475417613983, -0.8513801097869873, -0.22983422875404358, 0.375985324382782, 0.02156679332256317, -0.6489257216453552, 0.5151496529579163, -0.16325053572654724, 0.37511327862739563, -0.27300554513931274, -0.5330484509468079, 0.07787247747182846, -0.41234228014945984, 0.7134851217269897, 0.9537315964698792, -0.2677733600139618, 0.5153666138648987, -0.13278816640377045, 0.6417391896247864, -0.24862167239189148, 0.458394855260849, -0.0013351663947105408, -0.18099255859851837, -0.7976256012916565, -0.20109957456588745, -0.05008047819137573, 0.29807278513908386, -0.5833631753921509, -0.1233893632888794, 0.04631240665912628, -0.4718616008758545, -0.7920595407485962, 0.14281964302062988, 0.533220112323761, 0.18571306765079498, 0.10762935876846313, -0.0071130432188510895, -0.3874221444129944, -1.104181170463562, -0.03527446836233139, -0.4031009078025818, 0.1952817440032959, 0.04989572986960411, 0.10151863843202591, 0.1587606817483902, 0.6668853163719177, -0.11432188004255295, -0.19249817728996277, -0.3282468616962433, 0.0025771588552743196, 0.10773567110300064, 0.5714762806892395, 0.897085964679718, -0.940971314907074, -0.1754903495311737, -0.10760605335235596, -0.6716806888580322, 0.21985921263694763, -0.1829461306333542, -0.1021500900387764, 0.08612384647130966, 0.8883965611457825, -0.42225223779678345, 0.8570607900619507, 0.6872051954269409, -0.49067533016204834, 0.5529005527496338, -0.17099300026893616, -0.00017949672474060208, -0.6244688630104065, -0.2060295045375824, -0.27027949690818787, 0.06508440524339676, -0.9216693639755249, 0.4226888418197632, 0.014997979626059532, -0.31156331300735474, -0.8100486397743225, 0.32696712017059326, -0.2050071358680725, 0.5828424692153931, -0.48122015595436096, -0.01046918984502554, -0.2843194901943207, 0.3461432158946991, -0.09403377026319504, 0.4640393853187561, 0.828765869140625, -0.9376022815704346, 0.04171580821275711, 0.47993600368499756, 0.22357220947742462, 0.30482494831085205, -0.864088773727417, 0.16205191612243652, -0.3969951570034027, -0.04973016679286957, -1.4912018775939941, -0.05671042948961258, 0.3303528130054474, -0.523235559463501, 0.11892903596162796, -0.6178815960884094, -0.038655929267406464, -0.33837395906448364, -0.23156443238258362, 0.14797641336917877, 0.44372671842575073, -0.5383108854293823, 0.49842867255210876, 0.12526121735572815, -0.2145891934633255, -0.3039734959602356, -0.8192406892776489, 0.018296360969543457, -0.22475573420524597, -0.34582245349884033, -0.03499336540699005, -0.2737821936607361, -0.34065085649490356, -0.18826188147068024, 0.005415702238678932, -0.12816843390464783, 0.41247716546058655, 0.6886496543884277, 0.4725162982940674, 0.027026338502764702, -0.23486071825027466, 0.18131238222122192, -0.12524056434631348, 0.2778337597846985, -0.0742989331483841, 0.5151482224464417, 0.1400146782398224, -0.6611005663871765, -0.5915268659591675, 0.3545663058757782, 1.0464086532592773, -0.21234698593616486, 1.0461994409561157, 0.001785940839909017, -0.13528765738010406, -0.19520513713359833, -0.17886130511760712, -0.4250467121601105, -0.5983898639678955, 0.2258249670267105, -0.5447744727134705, -0.8070477843284607, 0.5035279393196106, 0.3823581337928772, 0.2225513756275177, -0.028730150312185287, 0.3133522868156433, 0.2631208300590515, 1.0333436727523804, 0.42908164858818054, -0.25890690088272095, 0.2918846011161804, 0.08561284840106964, 0.4641873240470886, -0.4074118137359619, -0.03343406692147255, -0.9389476180076599, -0.18588155508041382, -0.7229716777801514, 0.1155344694852829, 0.3964463174343109, 0.17938707768917084, 0.03582128882408142, 0.32501158118247986, -0.2723492980003357, 0.4594372808933258, 0.22733888030052185, 0.41787442564964294, 0.19024404883384705, 0.07773452252149582, -0.2572311460971832, -0.18150897324085236, -0.7005249857902527, -0.37815454602241516, 0.73599773645401, 0.7425277829170227, 0.8491415977478027, 0.29410451650619507, 0.34767788648605347, -0.18943260610103607, 0.2066192775964737, -0.784627377986908, 0.8822716474533081, -0.10144127160310745, -0.8189022541046143, -0.2186851054430008, -0.3787238597869873, -0.9484090209007263, 0.5755224823951721, -0.22274942696094513, -1.0768802165985107, -0.0782754123210907, 0.20547854900360107, -0.43731358647346497, 0.4436649978160858, -0.8907598257064819, 0.7126048803329468, 0.08959478884935379, -0.45856305956840515, -0.5015227794647217, -0.2825504243373871, 0.4267081022262573, 0.22031813859939575, 0.4385742247104645, -0.24752941727638245, 0.45926207304000854, 0.3880501389503479, -0.6715697050094604, 1.1556717157363892, -0.11519704014062881, -0.17566414177417755, 0.4792760908603668, 1.1361531019210815, 0.49521613121032715, 0.2090665102005005, -0.30685558915138245, 0.009976202622056007, -0.050875674933195114, -0.3427973687648773, -0.43712809681892395, 0.8147055506706238, -0.43988174200057983, -0.9161383509635925, 0.03996856510639191, -0.5000346302986145, -0.16548128426074982, 0.43815258145332336, 0.30266469717025757, 0.4917031526565552, -0.30103084444999695, 0.3278826177120209, 0.49828726053237915, -0.5243225693702698, 0.5195568203926086, 0.7167752981185913, -0.5392767786979675, 0.16973160207271576, 0.8556622266769409, 0.09529270976781845, 0.9151753783226013, -0.05258305370807648, 0.23029212653636932, 0.005151133053004742, -0.8656268119812012, -0.32617801427841187, -0.15543942153453827, -0.5196599960327148, 0.18739208579063416, -0.4664001762866974, -0.5281705856323242, -0.1627400666475296, -0.25168636441230774, -0.7298899292945862, -0.15502160787582397, -0.16887064278125763, -0.30640146136283875, 0.21765874326229095, 0.7229523062705994, 0.053783297538757324, -0.041249830275774, -0.7169928550720215, 0.2372543215751648, 0.3372664451599121, 0.6530476212501526, 0.2798709273338318, -0.6495441198348999, 0.4186375141143799, 0.20645864307880402, -0.36004942655563354, -0.7030084133148193, 0.1900862604379654, -0.24100252985954285, 0.2366190254688263, 0.613509476184845, 0.3719780743122101, 0.603290319442749, -0.7278405427932739, 0.49674031138420105, 0.12269475311040878, -0.9383681416511536, 0.7162228226661682, -0.6906561255455017, 0.020847924053668976, 0.45037955045700073, 0.48154374957084656, -0.4205533266067505, -0.8662364482879639, -0.5798725485801697, -0.8252153396606445, 0.8195642828941345, 0.33993351459503174, 0.8376973271369934, -0.010732222348451614, 0.19561725854873657, 0.2912192940711975, 0.003048430662602186, -0.7246668934822083, -0.45646536350250244, 0.09704121202230453, 0.34056976437568665, 0.2624629735946655, -0.24332749843597412, -0.20432886481285095, -0.16501760482788086, 0.5181245803833008, 0.06947226077318192, 0.13568007946014404, 0.02195172943174839, 0.236569344997406, -0.11797348409891129, 0.6425463557243347, 0.619921088218689, 0.7345871925354004, -0.16999205946922302, 0.022880326956510544, 0.031864047050476074, -0.33617275953292847, 0.14951278269290924, -0.11340106278657913, -0.5895141959190369, -0.08334635943174362, 0.04218318313360214, 0.9397290945053101, 0.12763382494449615, -0.4596261978149414, 0.3430549204349518, -0.10480450093746185, -0.4188685715198517, 0.07563643902540207, 0.18974757194519043, -0.26337188482284546, -0.017789572477340698, 0.1291763186454773, 0.25202494859695435, 0.10501659661531448, -0.6255384683609009, 0.16118891537189484, 0.9226422905921936, -0.8566926121711731, -0.4281242787837982, 0.906346321105957, -0.08444400876760483, -0.248477503657341, 0.5350900292396545, -0.3118645250797272, -0.3174377679824829, 0.3990975022315979, 0.49478426575660706, 0.8018724918365479, 0.006573040504008532, 0.7443498969078064, 0.17700207233428955, 0.44823017716407776, 0.08782124519348145, -0.05077037960290909, 0.29870155453681946, -0.744928777217865, -0.17858260869979858, -0.305862158536911, -0.2619520127773285, 0.4025126099586487, -0.7616192698478699, 0.20748871564865112, -0.996017336845398, 0.10885090380907059, 0.14587000012397766, -0.8083073496818542, -0.43603578209877014, -0.23824971914291382, 0.2842279076576233, 0.9122015237808228, -0.6610345244407654, 0.6831291913986206, 0.42206481099128723, -0.30578306317329407, -0.8979482054710388, 0.038354165852069855, 0.597892165184021, -0.550892174243927, 0.2806553244590759, -0.03266292065382004, -0.1071474701166153, -0.2729981541633606, -0.9289964437484741, -0.6144725680351257, 0.3966669738292694, 0.38092851638793945, -0.519321858882904, 0.10135620832443237, -0.1822594553232193, 0.31363722681999207, 0.2096586376428604, 0.07019708305597305, 0.5307189226150513, 0.08304472267627716, 0.15711304545402527, -0.9831407070159912, 0.2539423108100891, 0.11291812360286713, 0.026978736743330956, 0.1664157658815384, -1.0291022062301636, 0.5765469074249268, -0.4370233118534088, -0.14205016195774078, 0.3950514495372772, 0.49529170989990234, 0.3530254662036896, 0.044548217207193375, 0.6258687973022461, 0.14325375854969025, 0.18043135106563568, -0.0048771807923913, 0.9726988673210144, 0.08851592987775803, 0.21780619025230408, 0.8310683369636536, -0.09119332581758499, 0.883924126625061, 0.5413691401481628, -0.08720450848340988, 0.35604339838027954, 0.042731914669275284, 0.40536051988601685, 0.6251345872879028, 0.08358372002840042, -0.02975894697010517, -0.05081074312329292, -0.050418999046087265, 0.04737425968050957, 0.7738751769065857, 0.5945464372634888, -0.19773520529270172, -0.32196471095085144, 0.41259920597076416, 0.35942542552948, 0.24099482595920563, -0.467094361782074, 0.5016430020332336, 0.11649114638566971, -0.8250949382781982, 0.847219705581665, -0.0358867347240448, 0.24924898147583008, -0.7824829816818237, 0.08858568966388702, -0.005946891847997904, 0.08374770730733871, -0.06773579120635986, -0.7192603945732117, 0.3710569441318512, -0.17605353891849518, -0.022864772006869316, -0.20647744834423065, 0.8142688274383545, -0.13491618633270264, -0.11766120791435242, 0.6058292984962463, 0.26743972301483154, -0.2819463014602661, 0.15135815739631653, -0.6769602298736572, 0.28751125931739807, 0.010148032568395138, -0.36648234724998474, 0.5539674758911133, 0.32848235964775085, 0.033499281853437424, 0.9186916351318359, 0.6969850063323975, 0.03132821246981621, -0.22885990142822266, -0.01725243590772152, 0.9702788591384888, -0.3916155695915222, -0.6150256395339966, -1.1414180994033813, 0.5164481401443481, 0.48820945620536804, 0.01689211092889309, 0.7530264854431152, -0.06575381755828857, 0.9048687815666199, 0.15437239408493042, 0.8002430200576782, -0.3580004870891571, 0.17478546500205994, -0.7676126956939697, 0.9622461795806885, -0.457032173871994, 0.5099707841873169, -0.4835307002067566, -0.20765361189842224, -0.0740339532494545, 0.25530850887298584, -0.3271782100200653, -0.10092175006866455, 0.46550533175468445, 0.8543099164962769, -0.09623777866363525, 0.20960325002670288, 0.4954814314842224, 0.41952407360076904, 0.34629958868026733, 0.34656673669815063, 0.8738234639167786, -0.2061515599489212, 0.6496096253395081, -0.2546987533569336, -0.0647064745426178, -0.19464343786239624, -0.44842880964279175, -1.1941654682159424, -0.6200656890869141, -0.13910870254039764, -0.8827820420265198, 0.1513228416442871, 1.0284366607666016, 0.9735763072967529, -0.6509400010108948, 0.012365251779556274, -0.24350495636463165, 0.35659724473953247, -0.2828664481639862, -0.1897737681865692, -0.02969122678041458, -0.367521733045578, -0.4123530983924866, 0.5766324400901794, 0.3520619869232178, 0.13719747960567474, -0.40583375096321106, 0.08999602496623993, -0.11020008474588394, 0.2070317417383194, 0.5720886588096619, 0.637739896774292, -0.7898356318473816, -0.43906205892562866, -0.06634412705898285, -0.20547576248645782, -0.037157092243433, 0.7598522305488586, -0.4449456036090851, 0.643254280090332, 0.37652480602264404, 0.2948419153690338, -0.16500088572502136, -0.19076082110404968, 0.6004499197006226, -0.8470765352249146, 0.6499238610267639, -0.07612713426351547, 0.06368405371904373, -0.12280689179897308, -0.35489580035209656, 0.020097287371754646, 0.06606398522853851, -0.3073490262031555, -0.5704148411750793, 0.3139742910861969, -0.442670077085495, -0.704015851020813, 1.0570414066314697, 0.12023214995861053, -0.24767696857452393, -0.04380107298493385, -0.47549280524253845, -0.22350750863552094, -0.3963793218135834, 0.6633368730545044, 0.866383969783783, 0.19575612246990204, -0.3627333641052246, -1.0838689804077148, 0.4867413341999054, 0.6308258175849915, -0.12761960923671722, 0.39006462693214417, 0.3942638337612152, 0.3776485025882721, 0.09481881558895111, 0.7829556465148926, -0.2163468450307846, 0.28002458810806274, -0.10265696048736572, -0.3074515163898468, -0.13949990272521973, -0.7094263434410095, -0.6025899648666382, 0.32849425077438354, 0.4638998806476593, -0.24277792870998383 ]
http://arxiv.org/abs/2406.11715v1
http://arxiv.org/pdf/2406.11715v1
Measuring memorization in RLHF for code completion
2024-06-17T16:33:35
2024-06-17T16:33:35
Aneesh Pappu, Billy Porter, Ilia Shumailov, Jamie Hayes
cs.LG
cs.LG, cs.CL, cs.SE
Reinforcement learning with human feedback (RLHF) has become the dominant method to align large models to user preferences. Unlike fine-tuning, for which there are many studies regarding training data memorization, it is not clear how memorization is affected by or introduced in the RLHF alignment process. Understanding this relationship is important as real user data may be collected and used to align large models; if user data is memorized during RLHF and later regurgitated, this could raise privacy concerns. In this work, we analyze how training data memorization can surface and propagate through each phase of RLHF. We focus our study on code completion models, as code completion is one of the most popular use cases for large language models. We find that RLHF significantly decreases the chance that data used for reward modeling and reinforcement learning is memorized, in comparison to aligning via directly fine-tuning on this data, but that examples already memorized during the fine-tuning stage of RLHF, will, in the majority of cases, remain memorized after RLHF.
[ -0.36684074997901917, -0.5820839405059814, 0.3243517279624939, -0.03341434895992279, -0.09504581987857819, 0.11236201226711273, -0.41993457078933716, -0.4625627100467682, -0.225224107503891, 0.6229294538497925, -0.6472939252853394, -0.5663410425186157, -0.11898602545261383, -0.08652748912572861, -0.3019219934940338, 1.4033915996551514, -0.36090484261512756, -0.11969247460365295, -0.499117374420166, -0.2934435307979584, -0.503802478313446, -0.908078134059906, -0.2892927825450897, -0.8493509888648987, 0.7354004979133606, 0.5230896472930908, 0.6822461485862732, 1.1310251951217651, 0.41913560032844543, 0.2134416401386261, 0.053788721561431885, 0.026859739795327187, -0.7426509857177734, 0.18112047016620636, -0.08046616613864899, -0.6117392182350159, -0.310991108417511, -0.076040118932724, 0.7462260723114014, 0.6363474726676941, -0.5793659090995789, 0.3236598074436188, 0.0358797051012516, 1.108492136001587, -0.6590733528137207, 0.2643353044986725, -0.16380146145820618, 0.38578373193740845, 0.15260876715183258, -0.36751866340637207, -0.39281824231147766, -0.4747996926307678, 0.22817981243133545, -0.5659694075584412, 0.41998884081840515, 0.1584513783454895, 0.7175967693328857, 0.23853005468845367, -0.23308280110359192, -0.3079628050327301, -0.8680326342582703, 0.6780027747154236, -0.5078418254852295, 0.5349220633506775, 0.6364810466766357, 0.14650236070156097, -0.12823767960071564, -0.3789125680923462, -0.37813252210617065, -0.4726286828517914, -0.2394147515296936, 0.1504807025194168, 0.38415080308914185, 0.36260002851486206, 0.6818061470985413, 0.3585926294326782, -0.43288037180900574, -0.056807197630405426, -0.5060663223266602, -0.38802966475486755, 0.6162832975387573, 0.41184237599372864, 0.056286558508872986, -0.005297851283103228, -0.5827251076698303, -0.3428862690925598, -0.7680239081382751, 0.33868125081062317, 0.34396517276763916, 0.11480236053466797, -0.06863601505756378, 0.3753174841403961, -0.07217419147491455, 0.6398020386695862, -0.03681258112192154, -0.29851508140563965, 0.19583724439144135, -0.33313897252082825, -0.27402767539024353, 0.014301738701760769, 0.631979763507843, 0.37162384390830994, 0.5854756832122803, -0.23884713649749756, -0.4534311592578888, -0.23543798923492432, 0.5516765713691711, -0.7692602872848511, -0.2755681574344635, 0.1416173130273819, -0.5128841400146484, 0.04469427093863487, 0.24111437797546387, -0.271440714597702, -0.3688938021659851, -0.47723478078842163, 0.27426677942276, -0.3052197992801666, -0.16159911453723907, -0.014050769619643688, -0.08064060658216476, 0.060946524143218994, 0.14188095927238464, -0.928849995136261, 0.34803688526153564, 1.0760679244995117, 0.5040457248687744, -0.21846221387386322, -0.8135875463485718, -0.5069230794906616, 0.006210648454725742, -0.4974598288536072, 0.35766535997390747, -0.23653340339660645, -0.4668786823749542, 0.17364415526390076, 0.004502280615270138, -0.44501930475234985, -0.8972734212875366, 0.25615882873535156, -0.7426521182060242, 0.011071262881159782, -0.3401925563812256, -0.8686730265617371, -0.40762943029403687, 0.34107527136802673, -0.5211946368217468, 0.8770874738693237, 0.11411256343126297, -0.5868522524833679, 0.5944545865058899, -0.11798366159200668, -0.257089227437973, -0.2948318123817444, -0.1181696355342865, -1.0139521360397339, 0.15891313552856445, -0.2339712381362915, 0.40033191442489624, 0.17548681795597076, 0.3199218213558197, -0.38461148738861084, -0.7096286416053772, 0.6815441250801086, -0.06685636192560196, -0.10741938650608063, 0.2007714807987213, -0.204873189330101, 0.3248608708381653, -0.5225114226341248, -0.013613211922347546, -0.206697016954422, -0.7033068537712097, -0.11435629427433014, 0.044641513377428055, 0.09820906072854996, 0.18148815631866455, 0.14420214295387268, -0.18708272278308868, 0.16567036509513855, -0.0734708234667778, 0.3304148018360138, 0.6362911462783813, 0.3841334879398346, 0.4865054786205292, -0.7262819409370422, 0.7928197979927063, 0.1949586570262909, 0.0146495271474123, -0.23056259751319885, -0.10636156797409058, -0.557155966758728, 0.03049086593091488, 0.4943189024925232, 0.4207131266593933, 0.0011568334884941578, 0.19047679007053375, -0.1061750128865242, -0.21759262681007385, -0.30797892808914185, 0.3743685781955719, 0.9894005060195923, 0.442487508058548, 0.13871929049491882, -0.5045155882835388, -0.3934834599494934, -0.9311137199401855, -0.28389739990234375, -0.22732794284820557, 0.13851074874401093, 0.5655341744422913, 0.40888628363609314, -0.12484722584486008, 0.7463663220405579, -0.3029729723930359, -0.32067540287971497, -0.1525164395570755, 0.22662024199962616, -0.11463109403848648, 0.5988667011260986, 0.042765602469444275, -0.49240073561668396, -0.2570337951183319, 0.04353802651166916, -0.46501579880714417, 0.3594568967819214, -0.3575708568096161, 0.02415785938501358, 0.48516497015953064, 0.6543818712234497, -0.16134962439537048, 0.46592941880226135, 0.31917452812194824, -0.448102205991745, 0.3539072871208191, -0.6748823523521423, 0.3642304241657257, -0.4130784869194031, 0.1276770830154419, -0.2670097351074219, -0.5269152522087097, -0.49238550662994385, 0.11306370794773102, 0.3772107660770416, 0.020680993795394897, -0.18700943887233734, 0.2611089050769806, -0.40779444575309753, -0.4349415898323059, -0.18194077908992767, 0.04112701490521431, -0.2690076231956482, 0.8791900873184204, 0.22262389957904816, 0.8918652534484863, 0.031349461525678635, -0.7214788794517517, -0.12903563678264618, 0.13744598627090454, -0.4999842345714569, 0.18843287229537964, -0.5874596238136292, 0.19330286979675293, -0.09487490355968475, 0.22739386558532715, -0.9571247696876526, -0.1919715851545334, 0.01201184093952179, -0.4229942262172699, 0.1740017533302307, -0.20007427036762238, -0.3846394419670105, -0.16884881258010864, -0.18795885145664215, 0.6235723495483398, 0.5822296142578125, -0.4664708971977234, 0.2399623543024063, 0.2915533483028412, 0.353525847196579, -0.6123244762420654, -0.35250169038772583, -0.4262922704219818, -0.4510286748409271, -0.2883327305316925, 0.09812577813863754, -0.05541565269231796, 0.1283765435218811, -0.25478804111480713, -0.27482232451438904, -0.02158997394144535, 0.29156041145324707, 0.6528400778770447, 0.2449418306350708, -0.03304985165596008, 0.2227517068386078, -0.38366392254829407, -0.07675749063491821, 0.2652979791164398, 0.0072066765278577805, 0.5351994633674622, -0.10321652889251709, -0.4380973279476166, -0.5144742727279663, 0.0084828557446599, 0.5526238679885864, -0.2198694497346878, 0.6811646223068237, 0.5260604619979858, -0.22280849516391754, -0.4270956516265869, -0.4811440408229828, -0.326445072889328, -0.36024215817451477, 0.37267109751701355, -0.1889440417289734, -0.8201501965522766, 0.938785970211029, 0.1934651881456375, 0.07243143022060394, -0.02057545632123947, 0.3825203776359558, -0.2844175100326538, 1.0364277362823486, 0.6719029545783997, -0.05062589794397354, 0.7029386162757874, -0.21937498450279236, -0.11235088109970093, -0.8413691520690918, -0.3440000116825104, -0.30149900913238525, -0.5917918086051941, -0.5380821824073792, -0.12352076917886734, 0.08932602405548096, 0.535858154296875, -0.3309566378593445, 0.2981327772140503, -0.24940569698810577, 0.564666748046875, 0.6373225450515747, 0.3807990550994873, 0.44393137097358704, -0.054169200360774994, 0.10630229860544205, -0.06567337363958359, -0.5875581502914429, -0.1388539969921112, 1.123957872390747, 0.6124672889709473, 0.7873579263687134, -0.2080487310886383, 1.0569944381713867, 0.2217850387096405, 0.22327274084091187, -0.6713071465492249, 0.31004461646080017, 0.16278617084026337, -0.4050164520740509, -0.35655200481414795, -0.4979952573776245, -0.8270743489265442, 0.03868896886706352, 0.0033891114871948957, -0.4867960512638092, 0.10759257525205612, 0.7845363616943359, -0.4845845103263855, -0.008813940919935703, -0.655147910118103, 1.036808967590332, 0.12780068814754486, -0.30652564764022827, -0.5866624712944031, -0.6040599346160889, 0.4582092761993408, 0.09482632577419281, 0.20103858411312103, -0.013598318211734295, 0.05067477747797966, 1.0942363739013672, -0.43501123785972595, 0.8093608617782593, -0.28993356227874756, -0.16056381165981293, 0.18543659150600433, 0.06105677783489227, 0.5847923159599304, 0.11817491054534912, 0.2993319630622864, -0.25369930267333984, 0.17130209505558014, -0.21068121492862701, -0.4956882894039154, 0.5443113446235657, -0.7953425049781799, -0.3180027902126312, -0.3206959664821625, -0.6637780070304871, -0.24759355187416077, -0.13791652023792267, 0.07414823025465012, 0.334552526473999, -0.08987616002559662, 0.07948481291532516, 1.0280424356460571, -0.1154741495847702, 0.2793905735015869, 0.46634915471076965, -0.513034999370575, -0.39235737919807434, 1.029740571975708, 0.10537146031856537, 0.5352426171302795, 0.24764947593212128, 0.07137297093868256, -0.30393755435943604, -0.4983822703361511, -0.3404483199119568, 0.3676622807979584, -0.720402717590332, -0.10154613107442856, -0.4472324550151825, -0.26734957098960876, 0.032232627272605896, -0.00717594288289547, -0.2903910279273987, -0.33480629324913025, -0.21388418972492218, -0.2093868851661682, 0.37249186635017395, 0.7398094534873962, 0.03972678259015083, 0.18547402322292328, -0.7775495052337646, 0.33283111453056335, 0.23828282952308655, 0.7067299485206604, 0.2117282599210739, -0.6675505042076111, -0.6442265510559082, -0.12100426107645035, -0.00696870032697916, -0.5444467663764954, 0.12747010588645935, 0.08856774121522903, 0.3169531524181366, 0.24191278219223022, -0.1504153162240982, 0.9026508927345276, -0.19440947473049164, 0.4787149131298065, 0.05723999813199043, -0.763921856880188, 0.2070860117673874, -0.3999307155609131, 0.38682013750076294, 0.8258692622184753, -0.10261303931474686, -0.8712940812110901, -0.35359814763069153, -0.5085893273353577, -0.6361947655677795, 0.9437137246131897, -0.41871532797813416, -0.09246401488780975, 0.16477659344673157, 0.4921741187572479, -0.08401495218276978, 0.27363044023513794, -0.5528467297554016, -0.32648956775665283, -0.02082977630198002, 0.011500101536512375, -0.12626144289970398, -0.3518677353858948, -0.22191017866134644, -0.20738957822322845, 0.5047260522842407, 0.10329404473304749, 0.08003991842269897, 0.07393632084131241, -0.2657144069671631, -0.4064042866230011, 0.1560000628232956, 0.9481491446495056, 0.802313506603241, -0.39045336842536926, -0.2208258956670761, -0.052201446145772934, -0.5900814533233643, 0.06412141770124435, -0.2894172966480255, -0.20781859755516052, -0.34464263916015625, 0.48075369000434875, 0.8570085763931274, 0.5850411057472229, -0.8048409223556519, 0.46361884474754333, -0.03755762428045273, -0.523410439491272, -0.4731483459472656, 0.5410378575325012, 0.1922404170036316, 0.22738298773765564, 0.12623687088489532, 0.03755461424589157, -0.13685160875320435, -0.5331313014030457, 0.5312870740890503, 0.19836047291755676, -0.7160999774932861, -0.07909174263477325, 0.5890313982963562, -0.24673625826835632, -0.37823283672332764, 0.9545354843139648, 0.07948770374059677, -0.614683210849762, 0.8668919205665588, 0.4304582178592682, 0.7316059470176697, -0.09702890366315842, 0.1592639982700348, 0.7181269526481628, -0.0721588209271431, -0.43755024671554565, 0.2762850522994995, -0.49455419182777405, -0.4277600347995758, -0.2512051463127136, -0.5134243965148926, -0.37426042556762695, -0.12083455920219421, -1.1670663356781006, -0.08554494380950928, -0.6952593922615051, -0.11365843564271927, -0.38387447595596313, 0.029447069391608238, -0.6386274695396423, 0.19733010232448578, 0.15367339551448822, 0.7251332402229309, -0.6415631175041199, 0.931496798992157, 0.3796904683113098, -0.42801323533058167, -1.1264214515686035, 0.05741816386580467, -0.06972059607505798, -0.9539480209350586, 0.5796343684196472, 0.18266239762306213, 0.06260377168655396, -0.057295724749565125, -0.1641218662261963, -0.6851294040679932, 1.1908221244812012, -0.07438027113676071, -0.6286554932594299, -0.004364546854048967, 0.09032244980335236, 0.6335349082946777, -0.2105732262134552, 0.05768495425581932, 0.9236497282981873, 0.4068920314311981, -0.11322209984064102, -1.0241551399230957, -0.08605271577835083, 0.1139569953083992, 0.1171664148569107, 0.4600403904914856, -0.5167863368988037, 0.6853806972503662, -0.5033186674118042, -0.43320441246032715, -0.050744663923978806, 0.6261484622955322, 0.4065924286842346, 0.2883160710334778, 0.5614528656005859, 0.6284862756729126, 0.656275749206543, -0.010002277791500092, 0.8404746651649475, -0.22747060656547546, 0.561091959476471, 1.1893703937530518, 0.009982476010918617, 1.0501885414123535, 0.4550991654396057, -0.27263471484184265, 0.3282484710216522, 0.6074734926223755, 0.04103240743279457, 0.4276915490627289, 0.6463959217071533, 0.07387895882129669, -0.2608012855052948, 0.06575348973274231, -0.48519113659858704, 0.08310536295175552, 0.20693272352218628, -0.3858128488063812, -0.044388432055711746, 0.21251258254051208, -0.06875091046094894, 0.4104754626750946, -0.3394724428653717, 1.196048378944397, 0.018327590078115463, -1.259880781173706, 0.9244028329849243, -0.1899137794971466, 0.4061126708984375, -0.6020237803459167, 0.04300304129719734, -0.6196252703666687, 0.5957469344139099, -0.45716795325279236, -0.7687575817108154, 0.31985950469970703, -0.2579507827758789, -0.4897482395172119, -0.3176277279853821, 0.028892330825328827, -0.9547728300094604, 0.001869694795459509, 0.3891136348247528, 0.11353278905153275, -0.004450276959687471, 0.15702903270721436, -0.5280132293701172, 0.12298989295959473, 0.20999816060066223, -0.38349270820617676, 0.6874527335166931, -0.0029657871928066015, 0.019330667331814766, 0.7791032195091248, 0.4056397080421448, -0.04333377256989479, 0.24613922834396362, 0.2745145559310913, 0.4003026485443115, -0.8856685161590576, -0.5572633147239685, -0.7104048728942871, 0.30001482367515564, 0.2694805860519409, -0.44806763529777527, 0.6749905943870544, 0.6240957975387573, 1.0312293767929077, -0.20528742671012878, 0.4783380329608917, 0.3840402066707611, 0.6790672540664673, -0.677029550075531, 0.6234866976737976, -0.3554246127605438, 0.29951849579811096, 0.009453834965825081, -0.6874651908874512, -0.17812706530094147, 0.4167316257953644, -0.15163062512874603, 0.010790429078042507, 0.5706810355186462, 0.9488780498504639, -0.10499148815870285, -0.05032800883054733, 0.3372326195240021, -0.1792226880788803, 0.18621274828910828, 0.8081318140029907, 0.8664723038673401, -0.34057319164276123, 0.5479636788368225, -0.5463877320289612, -0.0831252783536911, -0.2694688141345978, -0.5940099954605103, -1.0248711109161377, -0.6475819945335388, -0.3819252550601959, -0.45424187183380127, 0.02514141984283924, 0.8742721080780029, 0.6393890380859375, -1.0090811252593994, -0.5599102973937988, -0.2627943456172943, 0.3251603841781616, -0.5715831518173218, -0.1876658946275711, 0.39404699206352234, -0.5812250971794128, -0.3432232737541199, 0.017091192305088043, 0.031100604683160782, 0.02876819297671318, -0.35008832812309265, -0.4328390657901764, 0.13806618750095367, -0.29388871788978577, 0.0698758065700531, 0.7428804636001587, -0.7165822982788086, -0.24041983485221863, 0.02747231535613537, -0.3379357159137726, 0.21693313121795654, 1.3025330305099487, -0.9006453156471252, 0.4367986023426056, 0.4959884583950043, 0.6452257037162781, 0.6404895782470703, 0.3607194125652313, 0.6852415204048157, -0.7085658311843872, -0.08090382814407349, -0.04816513881087303, 0.27226370573043823, 0.04557633772492409, -0.4092526435852051, 0.24901574850082397, -0.08414711803197861, -0.9567154049873352, -0.8326491117477417, 0.21916306018829346, -0.6796716451644897, -0.09402550011873245, 0.8463427424430847, -0.1649405062198639, -0.13706693053245544, -0.07836323976516724, 0.009027453139424324, 0.016565989702939987, -0.39793500304222107, 0.9258697628974915, 0.7919303178787231, -0.14409014582633972, -0.19211386144161224, -0.6369206309318542, 1.047531247138977, 0.6200734972953796, -0.5048608183860779, 0.6962388157844543, 0.5570587515830994, 0.36422035098075867, 0.0024639831390231848, 0.7875159382820129, 0.013449412770569324, 0.61985182762146, -0.40122756361961365, -0.17915832996368408, -0.244812473654747, -0.5256837606430054, -0.6713632345199585, 0.12636715173721313, 0.3923417031764984, -0.2561394274234772 ]
http://arxiv.org/abs/2406.11709v2
http://arxiv.org/pdf/2406.11709v2
Instruct, Not Assist: LLM-based Multi-Turn Planning and Hierarchical Questioning for Socratic Code Debugging
2024-06-17T16:28:21
2024-06-25T21:17:41
Priyanka Kargupta, Ishika Agarwal, Dilek Hakkani-Tur, Jiawei Han
cs.CL
cs.CL, cs.MA
Socratic questioning is an effective teaching strategy, encouraging critical thinking and problem-solving. The conversational capabilities of large language models (LLMs) show great potential for providing scalable, real-time student guidance. However, current LLMs often give away solutions directly, making them ineffective instructors. We tackle this issue in the code debugging domain with TreeInstruct, an Instructor agent guided by a novel state space-based planning algorithm. TreeInstruct asks probing questions to help students independently identify and resolve errors. It estimates a student's conceptual and syntactical knowledge to dynamically construct a question tree based on their responses and current knowledge state, effectively addressing both independent and dependent mistakes concurrently in a multi-turn interaction setting. In addition to using an existing single-bug debugging benchmark, we construct a more challenging multi-bug dataset of 150 coding problems, incorrect solutions, and bug fixes -- all carefully constructed and annotated by experts. Extensive evaluation shows TreeInstruct's state-of-the-art performance on both datasets, proving it to be a more effective instructor than baselines. Furthermore, a real-world case study with five students of varying skill levels further demonstrates TreeInstruct's ability to guide students to debug their code efficiently with minimal turns and highly Socratic questioning.
[ -0.09690985083580017, -0.8766265511512756, 0.5131638050079346, 0.23265787959098816, 0.01888827048242092, 0.7955907583236694, -0.03202810510993004, -0.3363417387008667, 0.10663063824176788, 0.2777509093284607, -0.5112999677658081, -0.686718225479126, -0.25928616523742676, -0.16938185691833496, -0.48001575469970703, 0.9654118418693542, -0.028779013082385063, -0.0029636744875460863, -0.5118189454078674, 0.1442384123802185, -0.38636669516563416, -0.46322691440582275, -0.7297537326812744, 0.04257309064269066, -0.076665498316288, 1.0840301513671875, 0.7618660926818848, 0.07312192022800446, 0.18891093134880066, 0.25382018089294434, -0.2022417187690735, 0.21236009895801544, -0.2546435594558716, 0.0734148770570755, 0.1868792623281479, -0.5891424417495728, -0.29648903012275696, -0.39761123061180115, 0.3498784303665161, 0.5207827091217041, -0.21851004660129547, 0.22180971503257751, 0.20680464804172516, 0.4655478298664093, -0.4993169903755188, 0.2134297788143158, -0.6994437575340271, 0.018768005073070526, 0.14516185224056244, -0.22508396208286285, -0.5999576449394226, -0.816369891166687, -0.2722582519054413, -0.4164375960826874, 0.13817939162254333, -0.24400000274181366, 0.4025757908821106, 0.5787507891654968, -0.536034882068634, -0.20117254555225372, -0.6877127289772034, 0.44671469926834106, -0.7210546135902405, -0.03464559093117714, 0.503833532333374, 0.3278007209300995, -0.4211421608924866, -0.3063104450702667, -0.31856033205986023, -0.15249285101890564, 0.08089745789766312, 0.09529048949480057, 0.04159874841570854, 0.12888102233409882, 0.270675390958786, 0.10991095751523972, -0.563058614730835, 0.16191264986991882, -0.3765949308872223, -0.13056831061840057, 0.5537375807762146, 0.1300511211156845, 0.4091094732284546, -0.29272720217704773, -0.21766893565654755, -0.06820515543222427, -0.9072564840316772, 0.4574461877346039, 0.2774509787559509, 0.03752770274877548, 0.10647212713956833, 0.2922554910182953, 0.15605199337005615, 0.5417563319206238, 0.19372951984405518, -0.3378564715385437, -0.0992530882358551, -0.17401987314224243, -0.13121028244495392, 0.38323408365249634, 0.3194173574447632, 0.3053939640522003, 0.36699771881103516, -0.19712230563163757, -0.046656958758831024, 0.14654801785945892, 0.31089892983436584, -0.7240618467330933, -0.42125967144966125, 0.3792828917503357, 0.09925761818885803, -0.3155204653739929, -0.23157650232315063, -0.8781505227088928, -0.5047114491462708, -0.18868032097816467, 0.3852293789386749, -0.5505058169364929, -0.2709622383117676, 0.031680285930633545, 0.11065073311328888, 0.27785465121269226, 0.32490408420562744, -0.45642662048339844, 0.2637292146682739, 0.57906174659729, 0.7312783002853394, 0.20789355039596558, -0.23597094416618347, -0.6592698097229004, 0.21348753571510315, -0.5306621193885803, 0.7404718995094299, -0.6879452466964722, -0.6272587180137634, -0.06938710063695908, 0.18730762600898743, -0.056690514087677, -0.6264956593513489, 0.03700028359889984, -0.12926851212978363, -0.042499709874391556, -0.008267899975180626, -0.310669869184494, -0.18851235508918762, 0.3977366089820862, -0.130471333861351, 1.2414753437042236, 0.35654500126838684, -0.5344562530517578, 0.07920854538679123, -0.5028542280197144, -0.2944677770137787, 0.22302182018756866, -0.6220290064811707, -0.4846053123474121, -0.1821613907814026, 0.3095639646053314, 0.261018306016922, 0.17264927923679352, 0.3450298011302948, -0.008036392740905285, -0.5434722304344177, -0.10877075791358948, 0.10767417401075363, 1.2425519227981567, -0.1740194708108902, -0.7363990545272827, 0.332564115524292, -0.6051661372184753, 0.4003247320652008, 0.10344699770212173, -0.1270083487033844, -0.40061381459236145, 0.2164756804704666, -0.3269151747226715, -0.060732197016477585, -0.2411656230688095, -0.5407343506813049, 0.762897253036499, -0.23875726759433746, 0.28506171703338623, 0.8614471554756165, 0.2422524392604828, 0.2873525023460388, -0.27060526609420776, 1.1528160572052002, -0.08188768476247787, 0.334377646446228, -0.019079163670539856, -0.34845736622810364, -0.7186417579650879, -0.06332679837942123, -0.15789087116718292, 0.6326932311058044, -0.9785403609275818, -0.053224798291921616, 0.19284914433956146, -0.7202367186546326, -0.3695172965526581, -0.08680790662765503, 0.42881283164024353, 0.35190579295158386, 0.436048299074173, 0.06731747835874557, -0.36126548051834106, -0.6902775764465332, 0.07923426479101181, -0.4533931314945221, 0.45475566387176514, -0.0340835340321064, 0.5276673436164856, -0.18106147646903992, 0.7922817468643188, -0.6777492761611938, -0.0001439858169760555, -0.29343512654304504, 0.022692184895277023, -0.04491998255252838, 0.5878536701202393, 0.5832882523536682, -0.3936425447463989, -0.7042034864425659, -0.25595441460609436, -0.31850704550743103, 0.021326739341020584, -0.29435065388679504, 0.024348847568035126, 0.30915436148643494, 0.6617525815963745, -0.3699995279312134, 0.564306914806366, 0.565898060798645, -0.5804165601730347, 0.801777184009552, -0.2725766599178314, 0.09614777565002441, -0.9724031686782837, -0.3397239148616791, -0.2533107399940491, -0.06143738329410553, -0.25277945399284363, 0.18127106130123138, 0.2168034166097641, -0.2605033814907074, -0.1803661584854126, -0.09568683058023453, -0.5338339805603027, -0.24075253307819366, -0.030270738527178764, 0.011130263097584248, -0.11140765249729156, 0.714993953704834, -0.42361271381378174, 0.9731290936470032, 0.6492748856544495, -0.4617108702659607, 0.25017303228378296, 0.26382172107696533, -0.5372262001037598, 0.5464040637016296, -0.5785272717475891, 0.4961993992328644, -0.32395219802856445, 0.17373032867908478, -1.2056699991226196, 0.1605423241853714, 0.28612974286079407, -0.43038761615753174, 0.30321139097213745, -0.6547775864601135, -0.6315370202064514, -0.2272031158208847, -0.4569624960422516, 0.2793637812137604, 0.30389922857284546, -0.6894966959953308, 0.20593613386154175, 0.23420993983745575, -0.1792006939649582, -0.6168355941772461, -0.31690460443496704, -0.04399283602833748, -0.2630182206630707, -0.39104533195495605, 0.3169940114021301, -0.42834582924842834, -0.30728965997695923, 0.08636141568422318, -0.5021464824676514, -0.36171114444732666, 0.4434567093849182, 0.5183662176132202, 0.21960337460041046, -0.04291040450334549, 0.2482145130634308, 0.3351466953754425, -0.00898636132478714, 0.43224889039993286, 0.127580463886261, 0.19061638414859772, -0.33524617552757263, -0.6138978600502014, -0.19933009147644043, 0.27776703238487244, 0.7726646065711975, -0.5031185150146484, 0.1580606997013092, -0.015910884365439415, -0.18027657270431519, -0.6348484754562378, -0.12057553231716156, -0.26763272285461426, -0.45737820863723755, 0.49175336956977844, -0.22322361171245575, -0.6688593029975891, 0.09411108493804932, -0.2217468023300171, 0.4263046979904175, -0.17996706068515778, -0.06747306138277054, 0.010750947520136833, 1.1441558599472046, 0.8096631765365601, -0.08111546188592911, 0.3066742420196533, -0.7003987431526184, 0.24936871230602264, -0.5604024529457092, -0.5721274614334106, -0.8177915811538696, -0.2524617314338684, -0.2647760212421417, -0.5266841650009155, 0.5607101321220398, 0.15709057450294495, -0.25970688462257385, 0.36921343207359314, -0.8680236339569092, 0.6499671339988708, 0.4446469843387604, 0.021775132045149803, 0.542015790939331, -0.15324604511260986, 0.0634608194231987, -0.0007200375548563898, -0.9515887498855591, -0.4050309360027313, 0.7473342418670654, 0.0871594101190567, 0.7838950753211975, 0.2925592362880707, 0.9483240842819214, -0.0018653505248948932, 0.21525461971759796, -1.1391249895095825, 0.7028664350509644, 0.2864252030849457, -0.5407095551490784, -0.39504194259643555, -0.1600683182477951, -0.9296888113021851, 0.23162314295768738, 0.059165116399526596, -0.7050191760063171, 0.09629412740468979, 0.25093749165534973, -0.5083521604537964, 0.5450222492218018, -0.9078937768936157, 1.0235828161239624, -0.5687857866287231, -0.17888566851615906, -0.43729984760284424, -0.32827895879745483, 0.2149437665939331, 0.0850868746638298, 0.3050147294998169, -0.002405274659395218, 0.10007370263338089, 0.6377369165420532, -0.5127483010292053, 1.0807329416275024, -0.46612873673439026, -0.11212076991796494, 0.6277068853378296, 0.5841320157051086, 0.5475566983222961, 0.26723596453666687, 0.16371546685695648, -0.4858928620815277, 0.7441670298576355, -0.4326328635215759, -0.6877065896987915, 0.6530905961990356, -0.7633126378059387, -0.7011638283729553, -0.5902720093727112, -0.31312116980552673, -0.45051705837249756, -0.12178901582956314, -0.13353322446346283, 0.7343308329582214, -0.0500514917075634, 0.13724727928638458, 0.44654425978660583, -0.3684064745903015, 0.6428915858268738, 0.631221354007721, -0.3771788775920868, -0.018293723464012146, 0.6894721388816833, 0.15436914563179016, 0.24867132306098938, -0.006970521062612534, 0.1401539146900177, 0.14448902010917664, -0.5357292890548706, -0.5392985343933105, -0.04917237162590027, -0.5714805126190186, -0.6196653246879578, -0.33559733629226685, -0.22962619364261627, -0.08967427909374237, -0.3217756152153015, -0.37121933698654175, -0.31779956817626953, 0.21709872782230377, -0.3422717750072479, 0.5189412236213684, 0.837744951248169, 0.19486242532730103, 0.3634277582168579, -0.699663519859314, -0.10759846866130829, 0.2399921417236328, 0.13394074141979218, 0.05571886897087097, -0.19277061522006989, -0.3332381248474121, -0.03961460664868355, -0.5449963808059692, -1.2711864709854126, 0.14546868205070496, -0.07497143000364304, 0.43363553285598755, 0.25061315298080444, 0.43124786019325256, 0.8769192695617676, -0.2218950092792511, 0.5734227895736694, -0.06689205765724182, -0.9267812371253967, 0.7782614827156067, 0.17413148283958435, 0.48327550292015076, 0.6283642053604126, 0.5435341000556946, -0.49691107869148254, -0.8580716848373413, -0.7532867193222046, -0.7516094446182251, 0.8467674851417542, -0.14046216011047363, -0.05947330966591835, 0.022688638418912888, 0.29213327169418335, 0.04000705108046532, -0.08950480818748474, -0.5827455520629883, -0.1745183914899826, -0.09404003620147705, -0.034577347338199615, 0.01505844946950674, -0.20193703472614288, 0.0189385823905468, -0.5416619777679443, 0.5851448178291321, -0.40952008962631226, -0.02515987679362297, 0.28423842787742615, -0.18981944024562836, -0.2610088288784027, 0.4807630777359009, 0.4508822560310364, 0.9944518804550171, -0.2051621377468109, 0.3895208537578583, 0.19069980084896088, -0.2506522536277771, 0.25889354944229126, -0.10492733120918274, -0.2408117949962616, 0.007981029339134693, 0.32696789503097534, 0.18552301824092865, 0.41765204071998596, -0.7163949608802795, 0.4628039300441742, 0.24524077773094177, -0.1692054271697998, -0.43352359533309937, 0.12359794974327087, 0.05135035887360573, 0.31312984228134155, 0.3021931052207947, -0.061119358986616135, -0.03127749636769295, -0.6436558961868286, 0.013518220745027065, 0.5183286070823669, -0.3620266616344452, -0.430778831243515, 0.20852428674697876, 0.22710591554641724, -0.37856680154800415, 0.7709478139877319, -0.26253393292427063, -0.811866044998169, 1.1855543851852417, 0.6504671573638916, 0.6667081117630005, -0.3702228367328644, 0.8411598801612854, 0.6203195452690125, 0.5540143251419067, 0.2831551730632782, 0.42030155658721924, -0.21285514533519745, -0.46712401509284973, -0.6862014532089233, 0.10202823579311371, -0.5638226270675659, 0.11439642310142517, -0.3535740375518799, 0.02635040506720543, -0.7999318242073059, 0.12026525288820267, -0.24386021494865417, 0.15050733089447021, -0.02425694465637207, -0.11985171586275101, -0.25300222635269165, 0.8447874188423157, -0.7011781334877014, 0.9160100221633911, 1.0154463052749634, -0.37096548080444336, -1.0458359718322754, 0.15441565215587616, 0.1845388561487198, -0.5694406628608704, 0.5534253120422363, 0.16016896069049835, -0.25304895639419556, 0.08596248924732208, -0.9493447542190552, -0.5845012664794922, 1.0166473388671875, 0.39717918634414673, -0.40724003314971924, -0.1693190485239029, -0.23295487463474274, 0.43069857358932495, -0.061053045094013214, 0.36510899662971497, 0.06747984141111374, 0.31783628463745117, 0.08017660677433014, -0.839271068572998, 0.06727349013090134, 0.0348513089120388, -0.40786147117614746, 0.5379757881164551, -0.7742592692375183, 0.4671157896518707, -0.6296393275260925, -0.33411094546318054, -0.25002703070640564, 0.2869085669517517, 0.04142448678612709, 0.43556249141693115, 0.7687424421310425, 0.3203813135623932, 0.8774016499519348, 0.17957937717437744, 0.6454703211784363, -0.47319161891937256, 0.2297704964876175, 1.3436704874038696, 0.20447589457035065, 0.7290851473808289, 0.5957621335983276, -0.23447218537330627, 0.7978671789169312, 0.6457733511924744, 0.17534877359867096, 0.3065837323665619, 0.36815762519836426, -0.1634007841348648, -0.412835031747818, 0.05415930971503258, -0.4501284062862396, 0.463753342628479, 0.1397431641817093, 0.3314764201641083, -0.40810316801071167, -0.25185081362724304, 0.27829283475875854, 0.22242097556591034, -0.20701254904270172, 0.45503270626068115, -0.049059029668569565, -0.8491365313529968, 0.6299710273742676, -0.12244465947151184, 0.1818309724330902, -0.43519091606140137, -0.28416919708251953, -0.6345487833023071, 0.25814929604530334, -0.5988560914993286, -0.7756021022796631, 0.5092782378196716, 0.013603226281702518, 0.2992331087589264, -0.2750925123691559, 0.21214230358600616, -0.4140206277370453, -0.25760969519615173, 0.24390241503715515, 0.4866790175437927, 0.261534184217453, -0.14676357805728912, -0.5280942916870117, -0.2631988525390625, 0.3020869195461273, 0.2459496259689331, 0.17096783220767975, 0.4563419222831726, -0.19877873361110687, 0.8224753141403198, 0.19907565414905548, -0.25479450821876526, -0.027446232736110687, -0.1399359405040741, 0.9476082921028137, -0.5310202836990356, -0.1934049427509308, -0.6243200898170471, 0.7180584669113159, 0.04204715043306351, -0.26396945118904114, 0.877103865146637, 0.7097220420837402, 0.9329140782356262, -0.005300478078424931, 0.4946349859237671, -0.13805228471755981, 0.1914271116256714, -0.3331950008869171, 0.20603178441524506, -0.4440579414367676, 0.4143611490726471, -0.3938576877117157, -0.9260702133178711, 0.0077186040580272675, 0.6054480075836182, -0.23691901564598083, -0.2833997309207916, 0.8636468648910522, 1.004845380783081, 0.10561995208263397, -0.13874509930610657, 0.12850390374660492, 0.17806820571422577, 0.5381489396095276, 0.9880024194717407, 1.168336272239685, -0.06840967386960983, 0.8789473176002502, -0.424784392118454, -0.5459356307983398, -0.12855194509029388, -0.44441092014312744, -1.0301241874694824, -0.437884658575058, -0.7450504302978516, -0.3877376317977905, 0.07506334781646729, 0.9647500514984131, 0.7111057639122009, -0.7085669636726379, -0.4307275414466858, -0.12028689682483673, 0.5661799311637878, -0.3372039794921875, -0.2585568130016327, 0.41890981793403625, -0.4426209628582001, -0.6173059940338135, 0.7244472503662109, 0.11912433803081512, 0.06950340420007706, -0.3941390812397003, -0.050504691898822784, -0.219560444355011, -0.3149285912513733, 0.5748146772384644, 0.22611796855926514, -0.45702654123306274, -0.45590463280677795, 0.23210057616233826, -0.024703310802578926, 0.04041401669383049, 0.9056737422943115, -0.7881677150726318, 0.4910801351070404, 0.20790572464466095, 0.779072105884552, 0.5731315612792969, -0.029903098940849304, 0.27062317728996277, -0.5305087566375732, 0.08989175409078598, 0.4259655773639679, -0.00468316487967968, 0.038198523223400116, -0.4852435290813446, 0.6968131065368652, 0.01538534089922905, -0.6698369383811951, -0.7531432509422302, 0.28847843408584595, -0.7386019825935364, -0.5250643491744995, 0.9837383031845093, -0.07484179735183716, 0.01235193107277155, -0.13872326910495758, -0.745133638381958, -0.0541577972471714, -0.18673403561115265, 0.9504942893981934, 0.5659173727035522, -0.3279057741165161, -0.39104196429252625, -0.37317755818367004, 0.6799192428588867, 0.6199647784233093, -0.9999933838844299, -0.06894614547491074, 0.7514609098434448, 0.14557351171970367, -0.018265262246131897, 0.5622929334640503, 0.05549580976366997, 0.13881997764110565, 0.05729036405682564, 0.02359127253293991, -0.2445407509803772, -0.6989774703979492, -0.20024807751178741, 0.1329060047864914, 0.42669323086738586, -0.43557116389274597 ]
http://arxiv.org/abs/2406.11706v1
http://arxiv.org/pdf/2406.11706v1
Prompts as Auto-Optimized Training Hyperparameters: Training Best-in-Class IR Models from Scratch with 10 Gold Labels
2024-06-17T16:25:55
2024-06-17T16:25:55
Jasper Xian, Saron Samuel, Faraz Khoubsirat, Ronak Pradeep, Md Arafat Sultan, Radu Florian, Salim Roukos, Avirup Sil, Christopher Potts, Omar Khattab
cs.IR
cs.IR, cs.CL, cs.LG
We develop a method for training small-scale (under 100M parameter) neural information retrieval models with as few as 10 gold relevance labels. The method depends on generating synthetic queries for documents using a language model (LM), and the key step is that we automatically optimize the LM prompt that is used to generate these queries based on training quality. In experiments with the BIRCO benchmark, we find that models trained with our method outperform RankZephyr and are competitive with RankLLama, both of which are 7B parameter models trained on over 100K labels. These findings point to the power of automatic prompt optimization for synthetic dataset generation.
[ -0.5489569306373596, -0.48670247197151184, 0.6049934029579163, -0.0897468701004982, 0.008118342608213425, -0.13212950527668, -0.1233736053109169, -0.23366190493106842, -0.0856030285358429, 0.40965786576271057, -0.5527181029319763, -0.24116858839988708, -0.3990694284439087, 0.48856493830680847, -0.20198866724967957, 1.2090122699737549, 0.3260710537433624, 0.2853468656539917, -0.16755877435207367, -0.13393738865852356, -0.36095911264419556, -0.4857355058193207, -0.7632318735122681, -0.21000468730926514, 0.9618375897407532, 0.5051189064979553, 0.6261249780654907, 0.8088403940200806, 0.5381781458854675, 0.3030073940753937, -0.008975593373179436, 0.3754046857357025, -0.2457975596189499, 0.36786097288131714, -0.04286868870258331, -0.475063294172287, 0.1305006593465805, 0.24906468391418457, 0.5171172022819519, 0.7539951205253601, 0.16711251437664032, 0.3298785984516144, 0.0369597002863884, 0.6774663925170898, -0.6120278835296631, -0.03755412623286247, -0.6947973370552063, -0.0577557310461998, 0.10778133571147919, -0.5875289440155029, -0.7030731439590454, -0.622359573841095, 0.24190635979175568, -0.5737030506134033, 0.45243653655052185, 0.5133034586906433, 1.1500576734542847, 0.35529452562332153, -0.27335065603256226, -0.31340301036834717, -0.6419207453727722, 0.5938588976860046, -0.4332660138607025, 0.1878521889448166, 0.46402883529663086, 0.7149389982223511, -0.14873835444450378, -1.0813030004501343, -0.34743624925613403, -0.4617157578468323, -0.15521655976772308, -0.14819324016571045, -0.15377385914325714, 0.2274896502494812, 0.570376992225647, 0.16201433539390564, -0.8635132908821106, 0.05705822631716728, -0.31680214405059814, -0.18869644403457642, 0.3906988203525543, 0.4445703625679016, 0.01282210648059845, -0.20475441217422485, -0.2547886073589325, -0.33425062894821167, -0.49253907799720764, 0.060739465057849884, 0.37444427609443665, 0.5176002383232117, 0.45119452476501465, 0.5283083319664001, -0.3229968547821045, 1.2554962635040283, 0.35580214858055115, 0.13468500971794128, -0.08449921011924744, -0.35972893238067627, -0.08964523673057556, 0.08526133000850677, 0.8627261519432068, 0.2142113745212555, 0.16605651378631592, -0.33157920837402344, -0.46381887793540955, -0.036089204251766205, 0.266762375831604, -0.8938444256782532, -0.35433751344680786, -0.01972256414592266, -0.3629523813724518, -0.2597090005874634, -0.18965132534503937, -0.5750501155853271, -0.17478607594966888, -0.7133380770683289, 0.8129312992095947, -0.2379329651594162, 0.5000948309898376, -0.009879419580101967, -0.3119230568408966, 0.13017988204956055, 0.3118192255496979, -0.9239941835403442, 0.059817444533109665, 0.23868785798549652, 0.6293680667877197, -0.0782657265663147, -0.20082740485668182, -0.8350493907928467, -0.1508917659521103, -0.5001920461654663, 1.127097725868225, -0.5012732744216919, -0.29881197214126587, -0.028088578954339027, 0.09312482178211212, -0.23176684975624084, -0.6762151718139648, 0.3088371157646179, -0.807654857635498, 0.3910629451274872, -0.40230655670166016, -0.45884355902671814, 0.14286893606185913, 0.3418216109275818, -0.543411374092102, 1.4107578992843628, 0.29901862144470215, -0.5013864040374756, 0.4635166525840759, -0.5866981148719788, 0.048409245908260345, 0.24610598385334015, 0.037972770631313324, -0.10723774135112762, -0.049451399594545364, 0.2051153928041458, 0.14071309566497803, -0.7399622201919556, 0.27249282598495483, 0.08937811106443405, -0.15989789366722107, 0.21910129487514496, -0.1422937661409378, 0.7168395519256592, 0.4605432152748108, -0.2538381814956665, 0.16321291029453278, -0.8584282398223877, 0.3902948498725891, -0.03746996074914932, -0.5774964094161987, -0.2816222608089447, -0.5066924095153809, -0.009023845195770264, 0.19963625073432922, 0.3559742867946625, -0.3697066307067871, 0.2464905083179474, -0.5150960683822632, 0.24632251262664795, 0.5800794959068298, 0.1855188012123108, 0.3268691897392273, -0.26542460918426514, 0.5545951128005981, -0.1696435809135437, 0.21688900887966156, -0.2785438299179077, -0.3333069980144501, -0.9583348631858826, 0.012245877645909786, 0.5571992993354797, 0.48004835844039917, -0.5938122272491455, 0.6515933871269226, 0.18212999403476715, -0.758101761341095, -0.6312618255615234, 0.24624985456466675, 0.40299805998802185, 0.9408116340637207, 0.40097492933273315, 0.10564065724611282, -0.45877742767333984, -1.024749994277954, -0.5493638515472412, -0.15160545706748962, 0.10080846399068832, 0.24816285073757172, 0.5463188886642456, -0.22014302015304565, 1.216132402420044, -0.41549980640411377, -0.10491450130939484, -0.2536343038082123, 0.5473061203956604, 0.2943519651889801, 0.47445714473724365, 0.5676599144935608, -0.724075973033905, -0.7649153470993042, -0.37057605385780334, -0.7220154404640198, -0.2733043432235718, -0.14995145797729492, -0.41308876872062683, 0.06683439016342163, 0.7667360305786133, -0.5136816501617432, 0.21967823803424835, 0.05375240743160248, -0.24962905049324036, 0.42457258701324463, -0.48679062724113464, 0.16583292186260223, -1.0114078521728516, 0.26561829447746277, 0.27162307500839233, 0.004288841504603624, -0.3952349126338959, -0.21741335093975067, 0.2416783571243286, -0.5799781680107117, -0.2644801437854767, 0.8722542524337769, -0.6393314599990845, -0.035121411085128784, -0.29184532165527344, -0.08623707294464111, 0.3358241319656372, 0.5483393669128418, 0.01797044835984707, 1.0059285163879395, 0.5059196949005127, -0.8288037776947021, 0.40187329053878784, 0.2360353171825409, -0.359943151473999, 0.49740171432495117, -0.9731196165084839, 0.1264553666114807, -0.3800632655620575, -0.03304457664489746, -1.4445558786392212, -0.41743889451026917, -0.0391540601849556, -0.4501742422580719, 0.2596965432167053, -0.22306156158447266, -0.7296977043151855, -0.48914220929145813, -0.053061045706272125, 0.2934017479419708, 0.5338397026062012, -0.7976200580596924, 0.35052844882011414, 0.1447034329175949, -0.16670240461826324, -0.3593389689922333, -0.3817218244075775, 0.07856860011816025, -0.20207934081554413, -0.3990419805049896, 0.2602626085281372, -0.3572205901145935, -0.0019028871320188046, -0.2537568509578705, 0.3180537819862366, 0.07978934794664383, -0.08250781893730164, 0.00867407489567995, 0.21659013628959656, -0.09476194530725479, 0.17123855650424957, -0.0018464884487912059, -0.3887256383895874, 0.036775991320610046, -0.3129633963108063, 0.5541427135467529, -0.3725777864456177, -0.14399553835391998, -0.5909331440925598, 0.2526710629463196, 0.3176608383655548, -0.2964356243610382, 0.651615560054779, 0.26204514503479004, -0.19851912558078766, -0.13838152587413788, -0.5807124376296997, -0.46153774857521057, -0.5540194511413574, 0.04491957649588585, -0.3032514154911041, -0.4748542010784149, 0.47454413771629333, -0.003454695688560605, -0.0354897603392601, 0.4710597097873688, 0.48934412002563477, -0.002905668690800667, 1.6495715379714966, 0.45038190484046936, 0.07763618230819702, 0.5458674430847168, -0.3480895161628723, -0.09101524204015732, -0.5294785499572754, -0.475669264793396, -1.017890453338623, -0.21395742893218994, -0.5543885231018066, -0.15741652250289917, 0.9011432528495789, -0.11951859295368195, -0.5002279877662659, 0.3166395425796509, -0.9142728447914124, 0.6780259013175964, 0.9989636540412903, 0.00028599720099009573, -0.06263436377048492, 0.15887866914272308, -0.30680474638938904, -0.05006588250398636, -0.9381203055381775, -0.4427606165409088, 0.9105503559112549, -0.005078795365989208, 0.9666070938110352, -0.4739626944065094, 0.621691882610321, 0.36560744047164917, 0.13252082467079163, -0.9904962778091431, 0.5272113084793091, 0.28389275074005127, -0.7369093298912048, -0.1541508585214615, -0.3364286720752716, -1.1573807001113892, -0.046738263219594955, 0.0013364391634240746, -0.42589157819747925, 0.5046603679656982, 0.22537051141262054, -0.6944365501403809, -0.22692203521728516, -0.6912599802017212, 0.8753998279571533, -0.41164547204971313, -0.2916140556335449, 0.3837156891822815, -0.8671455979347229, -0.25601574778556824, 0.08050666004419327, -0.23774132132530212, 0.07702112197875977, -0.07284967601299286, 0.9480106830596924, -0.47767719626426697, 0.4702144265174866, -0.3752031624317169, 0.29228609800338745, 0.40724411606788635, 0.05213344842195511, 0.5873368978500366, -0.1743749976158142, -0.3967106342315674, -0.37529608607292175, -0.10572806745767593, -0.37760287523269653, -0.5474339127540588, 0.4457118809223175, -0.791770875453949, -0.432955801486969, -0.5924839973449707, -0.5399392247200012, -0.45231059193611145, 0.27054843306541443, 0.7457672953605652, 0.610690176486969, 0.11352400481700897, 0.24837739765644073, 0.8472490310668945, -0.24251064658164978, 0.5078475475311279, 0.6224848031997681, 0.294971227645874, -0.5619127154350281, 0.8293711543083191, 0.18806977570056915, 0.10114505887031555, 0.22502468526363373, 0.3050350844860077, -0.42985403537750244, -0.42628371715545654, -0.5922730565071106, 0.22753748297691345, -0.8725359439849854, -0.5104691386222839, -0.7907785177230835, -0.2680108845233917, -0.42971643805503845, -0.07330537587404251, -0.17956100404262543, -0.2363162785768509, -0.42554357647895813, 0.03762374445796013, 0.5340035557746887, 0.4958934783935547, -0.10362042486667633, 0.6017856597900391, -0.8991825580596924, 0.2856537699699402, 0.3383446931838989, -0.019487105309963226, -0.22914588451385498, -0.8388212323188782, -0.49446919560432434, -0.10371709614992142, -0.1507042646408081, -0.6883485317230225, 0.7555226683616638, 0.26691097021102905, 0.7882150411605835, 0.22717811167240143, 0.163841113448143, 0.48754069209098816, -0.4296841025352478, 0.7864816188812256, -0.03738842532038689, -0.35980063676834106, 1.0330321788787842, -0.5405219197273254, 0.35332271456718445, 1.0381108522415161, 0.9431055784225464, -0.2541467249393463, -0.21633310616016388, -0.5786585807800293, -0.8136886358261108, 0.9982784390449524, -0.09935498982667923, 0.06754696369171143, -0.32610100507736206, 0.5484321713447571, 0.16996289789676666, 0.24975208938121796, -0.4103752076625824, -0.4087190330028534, 0.013426453806459904, -0.3688695430755615, 0.04690927267074585, -0.37250250577926636, -0.20660732686519623, -0.41318458318710327, 0.7147539258003235, -0.35329410433769226, 0.45926204323768616, 0.30151376128196716, -0.024239523336291313, -0.2449599951505661, -0.25026029348373413, 0.296022891998291, 0.6794365644454956, -0.35910564661026, -0.07460924983024597, -0.1985030323266983, -0.1317996382713318, 0.38722485303878784, 0.16724713146686554, -0.3580925464630127, 0.18044190108776093, -0.09784409403800964, 0.9403091669082642, -0.07464879751205444, -0.6079103350639343, 0.12069722265005112, -0.21152184903621674, -0.11357449740171432, -0.23944787681102753, 0.470684289932251, -0.285732626914978, 0.1640007644891739, 0.6011653542518616, -0.048785243183374405, 0.3214757442474365, -0.49663665890693665, 0.2033476084470749, 0.4200499951839447, -0.34648415446281433, -0.09833412617444992, 0.8391351699829102, 0.009726355783641338, -0.4070379436016083, 0.637482762336731, -0.09369051456451416, -0.4028213322162628, 0.728341281414032, 0.34591880440711975, 0.7047604322433472, -0.24612440168857574, 0.2489733248949051, 0.6863574385643005, 0.09999535977840424, -0.3052728474140167, 0.20601396262645721, -0.06661339849233627, -0.32004696130752563, 0.14937181770801544, -0.747002363204956, -0.6003940105438232, 0.12837214767932892, -0.8823204040527344, 0.4016749858856201, -0.5397481322288513, -0.3904850482940674, 0.3840257525444031, 0.16282062232494354, -0.7375856041908264, 0.628813624382019, -0.17696769535541534, 1.044872522354126, -0.6306537389755249, 0.578803300857544, 0.6762528419494629, -0.5815383195877075, -0.80792236328125, -0.3383403420448303, -0.31447634100914, -0.7570493817329407, 1.1738250255584717, 0.1530929058790207, 0.20995579659938812, 0.3481842577457428, -0.7629068493843079, -0.8955386877059937, 0.768022894859314, 0.46451663970947266, -0.3816969692707062, -0.3672598898410797, 0.1779264360666275, 0.589672327041626, -0.4714929759502411, 0.5247455835342407, 0.5088297128677368, 0.5136679410934448, -0.041120290756225586, -0.5768151879310608, -0.24448718130588531, -0.4574469029903412, 0.17067593336105347, 0.05797673016786575, -0.5632933378219604, 0.8953774571418762, -0.09758797287940979, 0.15430648624897003, 0.3265315294265747, 0.6134241819381714, 0.23233555257320404, 0.3554975986480713, 0.37921142578125, 0.3403249979019165, 0.8031522035598755, -0.12602418661117554, 1.1946916580200195, -0.6045018434524536, 0.17551428079605103, 0.9200558662414551, -0.1200261116027832, 0.37233203649520874, 0.4288863241672516, 0.11270470172166824, 0.3955937623977661, 1.1965947151184082, -0.3026796877384186, 0.8135419487953186, 0.08539417386054993, -0.19423797726631165, -0.4392760097980499, -0.2451559454202652, -0.3946290910243988, 0.23121528327465057, 0.36592212319374084, -0.7180531620979309, -0.4364487826824188, 0.28646209836006165, -0.3204421401023865, -0.07015006989240646, -0.2440713495016098, 0.9709963798522949, -0.1858922839164734, -1.1228423118591309, 1.0159828662872314, -0.043092332780361176, 0.3428370952606201, -0.7361367344856262, 0.08445189148187637, -0.5080796480178833, 0.05543699860572815, 0.03547438234090805, -0.32008522748947144, -0.2452305406332016, 0.031609177589416504, -0.34111836552619934, -0.24140627682209015, 0.7658469080924988, -0.42425811290740967, -0.511001467704773, 0.012981381267309189, 0.4280325472354889, 0.23574338853359222, -0.04537348076701164, -0.9238181114196777, -0.3120775818824768, -0.24210146069526672, -0.6838890910148621, 0.5727216005325317, 0.7057812213897705, 0.03278607502579689, 0.7714096307754517, 0.7265960574150085, 0.11160971224308014, 0.14950846135616302, -0.04204106330871582, 0.9654597043991089, -0.7749888300895691, -0.4792310297489166, -0.5405229926109314, 0.3081520199775696, 0.018332788720726967, -0.35374006628990173, 0.6919738054275513, 0.7469185590744019, 0.6419347524642944, -0.228158101439476, 0.7591978907585144, 0.14714278280735016, 0.6345533728599548, -0.43351760506629944, 0.6481592059135437, -0.7053616046905518, 0.11845242232084274, 0.1577884554862976, -1.1032224893569946, 0.020431699231266975, 0.5740827918052673, -0.21082186698913574, 0.25224214792251587, 0.5726334452629089, 1.185902714729309, 0.03776586800813675, -0.2877768576145172, 0.2237996906042099, -0.28419890999794006, 0.11051537841558456, 0.28393229842185974, 0.8553584814071655, -0.6191032528877258, 0.6117132306098938, -0.32394999265670776, 0.04383395239710808, -0.550033450126648, -0.7035625576972961, -0.9566130042076111, -0.6412003040313721, -0.32035306096076965, -0.5260291695594788, 0.1768447309732437, 1.0945903062820435, 0.7966387867927551, -0.6631214022636414, -0.20692628622055054, -0.1114460751414299, -0.2942747175693512, 0.16087931394577026, -0.29253679513931274, 0.40518319606781006, -0.9484281539916992, -0.8262124061584473, 0.5580737590789795, -0.020178673788905144, 0.28529271483421326, -0.23078615963459015, -0.180578351020813, -0.2332635223865509, 0.17054212093353271, 0.3463808596134186, 0.3416096270084381, -0.18814654648303986, -0.06079963967204094, 0.2919262647628784, -0.5847495794296265, 0.13968433439731598, 0.8478612303733826, -1.0724093914031982, 0.5668343305587769, 0.7397276759147644, 0.7320632934570312, 0.3621394634246826, 0.13987544178962708, 0.5968668460845947, -0.7139667868614197, 0.16351072490215302, 0.5036571621894836, 0.14371854066848755, 0.3233226537704468, -0.5006229281425476, 0.5593203902244568, 0.08981216698884964, -0.7957344651222229, -1.1363977193832397, -0.1025330051779747, -0.7257362604141235, -0.12235310673713684, 1.1363568305969238, 0.09996843338012695, -0.4044549763202667, -0.04281267896294594, -0.3541947901248932, 0.3108047842979431, -0.4228944182395935, 0.8005950450897217, 0.3208974599838257, -0.40490177273750305, -0.06314240396022797, -0.5975458025932312, 0.9084881544113159, 0.6287866830825806, -0.8700352907180786, -0.021281039342284203, 0.5119553208351135, 0.10385793447494507, 0.10059663653373718, 0.3643420338630676, 0.01524308044463396, 0.4323444664478302, -0.005519783589988947, -0.01841343380510807, -0.3121163547039032, -0.6573891043663025, -0.1727277636528015, 0.1164807677268982, 0.29194676876068115, -0.030006058514118195 ]
http://arxiv.org/abs/2406.11704v1
http://arxiv.org/pdf/2406.11704v1
Nemotron-4 340B Technical Report
2024-06-17T16:25:04
2024-06-17T16:25:04
Nvidia, :, Bo Adler, Niket Agarwal, Ashwath Aithal, Dong H. Anh, Pallab Bhattacharya, Annika Brundyn, Jared Casper, Bryan Catanzaro, Sharon Clay, Jonathan Cohen, Sirshak Das, Ayush Dattagupta, Olivier Delalleau, Leon Derczynski, Yi Dong, Daniel Egert, Ellie Evans, Aleksander Ficek, Denys Fridman, Shaona Ghosh, Boris Ginsburg, Igor Gitman, Tomasz Grzegorzek, Robert Hero, Jining Huang, Vibhu Jawa, Joseph Jennings, Aastha Jhunjhunwala, John Kamalu, Sadaf Khan, Oleksii Kuchaiev, Patrick LeGresley, Hui Li, Jiwei Liu, Zihan Liu, Eileen Long, Ameya Sunil Mahabaleshwarkar, Somshubra Majumdar, James Maki, Miguel Martinez, Maer Rodrigues de Melo, Ivan Moshkov, Deepak Narayanan, Sean Narenthiran, Jesus Navarro, Phong Nguyen, Osvald Nitski, Vahid Noroozi, Guruprasad Nutheti, Christopher Parisien, Jupinder Parmar, Mostofa Patwary, Krzysztof Pawelec, Wei Ping, Shrimai Prabhumoye, Rajarshi Roy, Trisha Saar, Vasanth Rao Naik Sabavat, Sanjeev Satheesh, Jane Polak Scowcroft, Jason Sewall, Pavel Shamis, Gerald Shen, Mohammad Shoeybi, Dave Sizer, Misha Smelyanskiy, Felipe Soares, Makesh Narsimhan Sreedhar, Dan Su, Sandeep Subramanian, Shengyang Sun, Shubham Toshniwal, Hao Wang, Zhilin Wang, Jiaxuan You, Jiaqi Zeng, Jimmy Zhang, Jing Zhang, Vivienne Zhang, Yian Zhang, Chen Zhu
cs.CL
cs.CL, cs.AI, cs.LG
We release the Nemotron-4 340B model family, including Nemotron-4-340B-Base, Nemotron-4-340B-Instruct, and Nemotron-4-340B-Reward. Our models are open access under the NVIDIA Open Model License Agreement, a permissive model license that allows distribution, modification, and use of the models and its outputs. These models perform competitively to open access models on a wide range of evaluation benchmarks, and were sized to fit on a single DGX H100 with 8 GPUs when deployed in FP8 precision. We believe that the community can benefit from these models in various research studies and commercial applications, especially for generating synthetic data to train smaller language models. Notably, over 98% of data used in our model alignment process is synthetically generated, showcasing the effectiveness of these models in generating synthetic data. To further support open research and facilitate model development, we are also open-sourcing the synthetic data generation pipeline used in our model alignment process.
[ -0.4830034077167511, -0.2444203943014145, 0.42087802290916443, 0.10159975290298462, -0.06017771363258362, -0.23633012175559998, 0.1809295117855072, -0.5366504192352295, -0.16009333729743958, 0.8153891563415527, -0.5507673025131226, -0.22425271570682526, -0.33376261591911316, 0.14517486095428467, -0.23300805687904358, 0.9303293228149414, -0.2128971368074417, 0.1944785863161087, -0.21370582282543182, -0.06061651185154915, -0.31032490730285645, -0.730185866355896, -0.5182714462280273, -0.40251606702804565, 0.5791589021682739, 0.4197206497192383, 0.7303462028503418, 0.8607937693595886, 0.8149771690368652, 0.20064005255699158, -0.08614018559455872, 0.05617736652493477, -0.35355615615844727, -0.06764920800924301, -0.40664637088775635, -0.06408090144395828, -1.3544176816940308, 0.09658215194940567, 0.6823847889900208, 0.3737720847129822, -0.420291930437088, 0.3408663272857666, -0.28830990195274353, 0.3896883726119995, -0.4615473747253418, 0.24187113344669342, -0.31439945101737976, -0.05912461504340172, -0.6748232841491699, 0.22148165106773376, -0.4386361837387085, -0.5974972248077393, 0.02906716614961624, -0.8762244582176208, 0.41076743602752686, 0.2368590384721756, 1.0193530321121216, 0.018089495599269867, -0.2695222496986389, -0.06827646493911743, -0.5207988023757935, 0.6446564793586731, -1.0862901210784912, 0.4154511094093323, 0.12236937135457993, 0.8090556859970093, -0.12341803312301636, -0.8905715942382812, -0.5590841770172119, -0.10433732718229294, 0.2607894241809845, 0.0679786279797554, -0.48007211089134216, 0.02226996421813965, 0.22832389175891876, 0.7368082404136658, -0.49507930874824524, 0.12532243132591248, -0.8042855858802795, -0.20357823371887207, 0.6057437062263489, 0.3856683373451233, 0.1520649939775467, -0.14534595608711243, -0.3740585744380951, -0.0641142800450325, -0.9427593946456909, -0.6454329490661621, 0.8053188323974609, 0.2092636376619339, -0.24870565533638, 0.7629444003105164, -0.26595431566238403, 0.9892047047615051, 0.19952408969402313, 0.2542646825313568, 0.6304711699485779, -0.5335916876792908, -0.32861489057540894, -0.07753671705722809, 0.6004353165626526, 0.43469005823135376, -0.10805745422840118, 0.03946434333920479, -0.4858199656009674, -0.13700927793979645, 0.5397046804428101, -0.9061135649681091, -0.04478603973984718, 0.2238764613866806, -0.3791061341762543, -0.24702641367912292, -0.002878718776628375, -1.0484161376953125, -0.170526921749115, -0.23106062412261963, 0.4172675311565399, -0.35465747117996216, -0.39903125166893005, 0.3097226321697235, -0.3543698787689209, 0.3978268504142761, 0.36058881878852844, -1.2938343286514282, 0.6819364428520203, 0.4662424325942993, 0.9043225049972534, -0.3154468834400177, -0.01811933144927025, -0.3014046549797058, 0.3199467062950134, -0.13545595109462738, 0.5180380940437317, -0.28121012449264526, -0.31611600518226624, -0.02647254802286625, 0.16512247920036316, 0.16033735871315002, -0.82942795753479, 0.5029160976409912, -0.5966898798942566, 0.22382621467113495, 0.07471175491809845, -0.47831639647483826, -0.3448614180088043, 0.17109687626361847, -1.0286399126052856, 0.7361776232719421, 0.3726782202720642, -0.45892876386642456, -0.05072867497801781, -0.8235719203948975, 0.23327723145484924, 0.308085173368454, -0.07693734019994736, -0.32586103677749634, 0.2523786127567291, -0.023658689111471176, 0.08533548563718796, -0.810283899307251, 0.24391287565231323, -0.31447523832321167, 0.06759635359048843, -0.07964767515659332, -0.17456668615341187, 0.481963187456131, 0.3900582790374756, -0.25959885120391846, 0.11118494719266891, -0.448664128780365, -0.23023372888565063, 0.16810432076454163, 0.09939233213663101, 0.32953697443008423, -0.5821431279182434, 0.01698397658765316, 0.38555407524108887, 0.3374062180519104, -0.9615166783332825, 0.15058711171150208, -0.38132065534591675, 0.31651434302330017, 0.7441913485527039, -0.018271554261446, 0.6032209396362305, -0.4873998463153839, 0.9499498009681702, -0.07642047852277756, 0.37230777740478516, -0.08800863474607468, -0.6642401814460754, -0.31801289319992065, -0.27445635199546814, 0.21649320423603058, 0.07225657254457474, -0.519707202911377, -0.132819265127182, -0.049730584025382996, -0.7072844505310059, -0.24581491947174072, -0.13525377213954926, 0.5483880043029785, 0.7051835656166077, 0.31163743138313293, -0.31189873814582825, -0.4138903021812439, -1.100942611694336, 0.11969389021396637, 0.22338083386421204, 0.10896089673042297, 0.3250047266483307, 0.6758443713188171, -0.2907310426235199, 0.6032500863075256, -0.6540383696556091, -0.12558439373970032, -0.16538073122501373, 0.09563004970550537, 0.4199998378753662, 0.6650064587593079, 0.8493593335151672, -0.46818435192108154, -0.22013577818870544, 0.2293035387992859, -0.5839371085166931, 0.06581750512123108, 0.5920162200927734, -0.42339715361595154, 0.5118651390075684, 0.24477817118167877, -0.4132760763168335, 0.46930766105651855, 0.9571999311447144, 0.0061726924031972885, 0.3169134259223938, -0.2976541221141815, -0.09143374115228653, -1.039003610610962, 0.17609630525112152, 0.055118899792432785, 0.09377593547105789, -0.5163261890411377, -0.20523856580257416, 0.32352450489997864, -0.06541847437620163, -0.5899246335029602, 0.6951792240142822, -0.38812270760536194, -0.0580330453813076, -0.26932212710380554, 0.06149324029684067, 0.03356032073497772, 0.18935130536556244, 0.09577543288469315, 0.5474674701690674, 0.36140647530555725, -0.6076658368110657, 0.5960431098937988, 0.4539511799812317, -0.00774596631526947, 0.2370927333831787, -0.9622753858566284, 0.17775318026542664, 0.05665498971939087, 0.21085353195667267, -0.39970168471336365, -0.75123131275177, 0.31775566935539246, -0.6313007473945618, 0.1541445404291153, -0.23102566599845886, -0.5267687439918518, -0.23347316682338715, 0.12105797976255417, 0.836395263671875, 0.6945522427558899, -0.6252415776252747, 0.6150729656219482, 0.6548838019371033, -0.14219459891319275, -0.2019682377576828, -0.7261653542518616, -0.542762041091919, 0.03276558220386505, -0.8722915053367615, 0.768143892288208, 0.07987143099308014, -0.19046063721179962, 0.20298892259597778, 0.004431931767612696, -0.25679439306259155, -0.3349146246910095, 0.4838930368423462, 0.7457662224769592, -0.3174351751804352, 0.032567281275987625, -0.22082944214344025, -0.16403701901435852, 0.025523517280817032, -0.30543482303619385, 0.599576473236084, -0.13292817771434784, -0.21132013201713562, -0.31723901629447937, -0.07348384708166122, 0.43135878443717957, -0.4052416682243347, 0.6482267379760742, 0.08054201304912567, -0.7847312092781067, -0.13400757312774658, -0.18882869184017181, -0.3114457130432129, -0.49576371908187866, 0.2997419238090515, -0.15782132744789124, -0.4584459960460663, 0.2238135039806366, 0.1631205976009369, 0.33555957674980164, 0.6310318112373352, 0.6437462568283081, 0.4598080813884735, 0.9155310988426208, 0.5871430039405823, 0.510216474533081, 0.3192102015018463, -0.06633853167295456, 0.009890081360936165, -0.9674399495124817, -0.5875844955444336, -0.42955878376960754, -0.07360117137432098, -0.3579534888267517, -0.5875608921051025, 0.23198936879634857, -0.447922021150589, -0.4045461118221283, 0.4568880796432495, -0.43735718727111816, 0.14812137186527252, 0.519131600856781, -0.28387755155563354, 0.05851689353585243, -0.07018834352493286, -0.12706781923770905, -0.08238158375024796, -0.4369341731071472, -0.6307222247123718, 1.247407078742981, 0.23354879021644592, 0.5533604621887207, 0.4698173403739929, 0.6830188632011414, -0.11718038469552994, 0.6752803921699524, -0.3169434368610382, 0.22240549325942993, 0.05253272503614426, -1.2817190885543823, -0.09018570184707642, -0.348685622215271, -0.8637668490409851, 0.05291588604450226, -0.004151990637183189, -0.38565996289253235, 0.028781279921531677, 0.36583268642425537, -0.4999721348285675, 0.3648969233036041, -0.6030576825141907, 1.0848252773284912, -0.11631248146295547, -0.44786307215690613, -0.04914509132504463, -0.2382066547870636, 0.625004231929779, -0.3132174015045166, 0.14371640980243683, -0.29098305106163025, 0.08409497886896133, 0.5271036624908447, -0.48693257570266724, 0.388409823179245, -0.23272639513015747, 0.010880788788199425, -0.050894610583782196, -0.17393198609352112, 0.1913347989320755, 0.12510381639003754, -0.5134528279304504, 0.43543970584869385, -0.2861141860485077, -0.369649738073349, -0.40872108936309814, 0.7357010245323181, -0.8186712265014648, -0.4406510889530182, -0.8603532314300537, -0.698277473449707, -0.1823948323726654, 0.28763800859451294, 0.2203584760427475, 0.6859816312789917, -0.10189621895551682, 0.23324571549892426, 0.4183833599090576, -0.37855687737464905, 0.42639029026031494, 0.5380830764770508, -0.5385463833808899, -0.8304078578948975, 0.7055558562278748, 0.1432216465473175, 0.7168611288070679, -0.019275542348623276, -0.21954742074012756, -0.1397767812013626, -0.6670531034469604, -0.5648413896560669, 0.6279764771461487, -0.29708918929100037, -0.26972663402557373, -0.23195452988147736, -0.4095607399940491, -0.6950313448905945, 0.0011476362124085426, -0.7063434720039368, -0.5303335189819336, -0.19801506400108337, -0.196235790848732, 0.35488614439964294, 1.3393971920013428, -0.09767864644527435, 0.5218095183372498, -0.8452136516571045, 0.34166690707206726, -0.17956984043121338, 0.48079460859298706, -0.2639821469783783, -0.749085545539856, -0.28423869609832764, 0.19257420301437378, -0.8069129586219788, -0.765101432800293, 0.9132524728775024, -0.30752211809158325, 0.8393229246139526, -0.09198574721813202, -0.14425340294837952, 0.4498918354511261, -0.5757437348365784, 0.7102446556091309, 0.28779172897338867, -1.0401521921157837, 0.3411616086959839, -0.6174622178077698, 0.325495183467865, 0.0028116959147155285, 0.41581934690475464, -0.1819831132888794, -0.08368276059627533, -0.8403133153915405, -0.7832853198051453, 1.0775359869003296, 0.3619619607925415, -0.05631052702665329, 0.022125501185655594, 0.42482274770736694, 0.2722763419151306, 0.28312310576438904, -0.6034887433052063, -0.14319714903831482, -0.4490046501159668, -0.32989707589149475, -0.13739356398582458, -0.07607827335596085, -0.22716523706912994, -0.05364646390080452, 0.8515186905860901, -0.05324646830558777, 0.2359294891357422, 0.07378587126731873, 0.16731366515159607, 0.03651099652051926, -0.2596501111984253, 0.6018037796020508, 0.5651694536209106, -0.6194818615913391, -0.14023754000663757, -0.08723536133766174, -0.6003394722938538, -0.11412656307220459, 0.33942297101020813, 0.07493234425783157, -0.12179642170667648, -0.1843579113483429, 0.5909829139709473, 0.1310155987739563, -0.48712289333343506, 0.39221084117889404, -0.10163159668445587, -0.5637308359146118, -0.40653809905052185, -0.10598514974117279, 0.2640955150127411, 0.16960780322551727, -0.09031875431537628, 0.11347389966249466, 0.08403358608484268, -0.1997065395116806, 0.3196967840194702, 0.1314917504787445, -0.2998410165309906, -0.5838537812232971, 0.8447197675704956, 0.29382601380348206, -0.03204535320401192, 0.8867940306663513, -0.19400213658809662, 0.049327630549669266, 0.6926261186599731, 0.6921919584274292, 0.8014948964118958, -0.15751273930072784, 0.15361742675304413, 0.7198710441589355, 0.21699970960617065, -0.23677708208560944, 0.33750900626182556, 0.5258713960647583, -0.7949456572532654, -0.0964813232421875, -0.5637160539627075, -0.8622668981552124, -0.23157472908496857, -0.9583487510681152, 0.39575642347335815, -0.5994035601615906, -0.33919113874435425, 0.4028521478176117, -0.3451339602470398, -0.40597668290138245, 0.15229490399360657, 0.356599897146225, 0.9840132594108582, -0.41873881220817566, 1.2337565422058105, 0.5403003096580505, -0.7263354659080505, -0.8798112869262695, -0.1895020604133606, 0.1134314313530922, -0.5673058032989502, 0.896676778793335, 0.060830019414424896, -0.05068013817071915, -0.020376503467559814, -0.5838345289230347, -1.0896351337432861, 1.4933404922485352, 0.7803570032119751, -0.2536931037902832, -0.08945835381746292, 0.0005516235833056271, 0.24391306936740875, -0.45763564109802246, 0.2945677936077118, 0.21354787051677704, 0.4996185004711151, 0.25126200914382935, -0.9750514030456543, 0.03966112807393074, -0.41650763154029846, -0.10181022435426712, 0.41746094822883606, -0.7594039440155029, 1.4626809358596802, 0.058207422494888306, 0.01964707300066948, 0.14969469606876373, 0.593662440776825, 0.6468811631202698, 0.28131183981895447, 0.022020503878593445, 0.4307800531387329, 0.7260509133338928, -0.18670281767845154, 1.3389452695846558, -0.3779549300670624, 0.166021928191185, 1.097676157951355, -0.6635003089904785, 0.6039660573005676, 0.5597533583641052, 0.36618685722351074, 0.49581995606422424, 0.3487657904624939, -0.12809236347675323, 0.3132966160774231, 0.30607736110687256, -0.16326037049293518, 0.11738071590662003, -0.1191226914525032, -0.43882033228874207, 0.02336990460753441, 0.3123493492603302, -0.33119386434555054, -0.22443750500679016, -0.41621407866477966, 0.05425866320729256, -0.19042308628559113, -0.37011778354644775, 0.3017185926437378, 0.020901165902614594, -0.8982407450675964, 0.4450080692768097, 0.19322971999645233, 0.3001961410045624, -0.6902466416358948, -0.28303414583206177, -0.08609630167484283, 0.6195222735404968, -0.40994367003440857, -0.576926589012146, 0.5384182333946228, 0.01506414357572794, -0.2979523539543152, -0.30008623003959656, 0.2154242992401123, 0.07094618678092957, -0.10934363305568695, 0.27410101890563965, 0.08103212714195251, 0.051857929676771164, 0.11094792932271957, -0.15865705907344818, 0.13263632357120514, -0.060350868850946426, -0.040778063237667084, 0.322151780128479, 0.12599240243434906, -0.16913878917694092, 0.45118388533592224, 0.5386471152305603, -0.09703298658132553, 0.5684064626693726, -0.2537256181240082, 0.8268545269966125, -0.8295723795890808, 0.12370108813047409, -0.4797223210334778, 0.5647507309913635, -0.28088241815567017, -0.7085393071174622, 1.130293846130371, 0.8588094711303711, 0.8527106046676636, -0.15437470376491547, 0.7938506007194519, -0.03139509633183479, 0.2895377278327942, -0.39080074429512024, 0.19296051561832428, -0.4463813900947571, -0.05412490665912628, 0.01844371296465397, -0.6532505750656128, -0.262298047542572, 0.17860639095306396, -0.25650086998939514, -0.009019504301249981, 0.8457875847816467, 0.9054195284843445, -0.10616635531187057, 0.49565738439559937, 0.2768740952014923, 0.04933108389377594, 0.5640245079994202, 0.5531705617904663, 0.5719608664512634, -0.36852142214775085, 0.32497069239616394, -0.44065532088279724, -0.39848023653030396, -0.20319844782352448, -0.8770914673805237, -0.5831480026245117, -0.30254149436950684, -0.25303635001182556, -0.39122411608695984, -0.03673141077160835, 0.6832228302955627, 0.7834998369216919, -0.7036885023117065, -0.5210477113723755, -0.3605106770992279, -0.21179437637329102, 0.06083247810602188, -0.14232634007930756, -0.12100642919540405, -0.23470644652843475, -1.1139041185379028, 0.33323416113853455, 0.4197913706302643, 0.19336244463920593, -0.18647366762161255, -0.4613032937049866, -0.2031908929347992, 0.34182068705558777, -0.09084013104438782, 0.33038991689682007, -0.5032879710197449, -0.02074601873755455, 0.2945764660835266, -0.354010671377182, -0.09654030203819275, 0.439799964427948, -0.3970997631549835, 0.43217793107032776, 0.7338323593139648, 0.5392698049545288, 0.7738277912139893, -0.16782552003860474, 1.279430866241455, -0.33658385276794434, 0.18134117126464844, 0.35545000433921814, 0.6632599830627441, 0.12099069356918335, -0.00540370587259531, 0.5638118386268616, 0.007358720526099205, -0.8300567865371704, -1.0191168785095215, 0.3735731244087219, -1.1219850778579712, 0.1639607697725296, 1.2399498224258423, -0.15126192569732666, -0.5007945895195007, 0.2658981382846832, -0.18859651684761047, 0.28944259881973267, -0.35538896918296814, -0.09869758784770966, 0.5322725176811218, -0.2583732306957245, 0.21851885318756104, -1.093468427658081, 0.4010511338710785, 0.16853056848049164, -0.8893139362335205, -0.21007300913333893, 0.7445738315582275, 0.22617299854755402, 0.12529322504997253, 0.2321101427078247, -0.8816788792610168, 0.43645575642585754, 0.013736831024289131, 0.7717689871788025, -0.12746721506118774, -0.06103970482945442, -0.5660101175308228, 0.24873754382133484, 0.00019873348355758935, -0.3413413465023041 ]
http://arxiv.org/abs/2406.11698v1
http://arxiv.org/pdf/2406.11698v1
Meta Reasoning for Large Language Models
2024-06-17T16:14:11
2024-06-17T16:14:11
Peizhong Gao, Ao Xie, Shaoguang Mao, Wenshan Wu, Yan Xia, Haipeng Mi, Furu Wei
cs.CL
cs.CL
We introduce Meta-Reasoning Prompting (MRP), a novel and efficient system prompting method for large language models (LLMs) inspired by human meta-reasoning. Traditional in-context learning-based reasoning techniques, such as Tree-of-Thoughts, show promise but lack consistent state-of-the-art performance across diverse tasks due to their specialized nature. MRP addresses this limitation by guiding LLMs to dynamically select and apply different reasoning methods based on the specific requirements of each task, optimizing both performance and computational efficiency. With MRP, LLM reasoning operates in two phases. Initially, the LLM identifies the most appropriate reasoning method using task input cues and objective descriptions of available methods. Subsequently, it applies the chosen method to complete the task. This dynamic strategy mirrors human meta-reasoning, allowing the model to excel in a wide range of problem domains. We evaluate the effectiveness of MRP through comprehensive benchmarks. The results demonstrate that MRP achieves or approaches state-of-the-art performance across diverse tasks. MRP represents a significant advancement in enabling LLMs to identify cognitive challenges across problems and leverage benefits across different reasoning approaches, enhancing their ability to handle diverse and complex problem domains efficiently. Every LLM deserves a Meta-Reasoning Prompting to unlock its full potential and ensure adaptability in an ever-evolving landscape of challenges and applications.
[ -0.47802621126174927, -0.7364786863327026, 0.7222219109535217, 0.2338746190071106, -0.021648727357387543, 0.15185143053531647, -0.3850821852684021, -0.22981561720371246, -0.07899100333452225, 0.27034300565719604, -0.9313658475875854, -0.4314589500427246, -0.25256845355033875, 0.4191577732563019, 0.08679216355085373, 0.4853149354457855, 0.14447703957557678, -0.17392000555992126, -0.39964738488197327, 0.019330451264977455, -0.9217332005500793, -0.24011099338531494, -0.842452347278595, -0.5171835422515869, 0.625339925289154, 0.7649837732315063, 0.4789127707481384, 0.31850966811180115, 0.1425219178199768, 0.28988024592399597, -0.11491691321134567, 0.6653605103492737, 0.0835246816277504, 0.5530280470848083, -0.6040504574775696, -0.2692925035953522, -0.4546840786933899, -0.26456859707832336, 0.5697361826896667, 0.6686744689941406, -0.38523411750793457, 0.526583194732666, 0.25423160195350647, 0.6562989950180054, -1.0278164148330688, 0.10168824344873428, -0.7469998002052307, 0.08058756589889526, -0.008066664449870586, -0.40783366560935974, -0.7433642745018005, 0.03725576773285866, 0.017280885949730873, -0.44408780336380005, -0.10769670456647873, -0.09997259080410004, 0.3984465003013611, 0.4084533751010895, -0.33018264174461365, -0.24517080187797546, -0.7624790072441101, 0.6440176963806152, -0.49938300251960754, 0.5449588298797607, 0.2826939821243286, 0.4588471055030823, -0.18875129520893097, -0.612402081489563, -0.6220166087150574, -0.1817142218351364, 0.10659033805131912, -0.06253514438867569, -0.1016516163945198, -0.07738018035888672, 0.5176159143447876, -0.16507560014724731, -0.7283031940460205, -0.12602625787258148, 0.13141052424907684, -0.046779122203588486, 0.3132321536540985, 0.34777531027793884, 0.17639562487602234, -0.277519553899765, -0.05681929364800453, 0.008210737258195877, -0.7670766711235046, 0.05056194216012955, -0.021320486441254616, 0.486652135848999, 0.24033759534358978, 0.3495001494884491, -0.3238947093486786, 0.902230441570282, 0.06654362380504608, -0.27681246399879456, -0.03117593377828598, -0.05439950153231621, -0.2955050468444824, -0.29606786370277405, 0.906486451625824, 0.1151716560125351, 0.3247126638889313, 0.2701137959957123, -0.21048443019390106, -0.37168291211128235, 0.1338975578546524, -0.37238457798957825, 0.05240410193800926, 0.2602246105670929, -0.4757891595363617, -0.08265221863985062, -0.16898655891418457, -1.1142793893814087, -0.2046635001897812, -0.29218193888664246, 0.3435182273387909, -0.4874951243400574, -0.4450261890888214, 0.3011842668056488, 0.06037920340895653, 0.1414204239845276, 0.34303411841392517, -1.2674890756607056, -0.0402025505900383, 0.7551835179328918, 0.625462532043457, 0.129990816116333, -0.2708326578140259, -0.4810326397418976, 0.45955440402030945, -0.1958874762058258, 0.846436083316803, -0.9976351261138916, -0.3684314787387848, -0.003988099284470081, -0.2241450995206833, -0.2421787679195404, -0.7905398607254028, 0.8410578966140747, -0.48032429814338684, 0.1975245624780655, -0.6201239228248596, -0.009443912655115128, -0.20950298011302948, 0.576610267162323, -0.36255761981010437, 1.1885154247283936, -0.09718164056539536, -0.689384937286377, 0.3885914385318756, -0.9312750697135925, -0.42034968733787537, 0.2443079650402069, -0.16227243840694427, -0.014617585577070713, 0.045397642999887466, 0.5358301401138306, 0.3930615782737732, -0.38428351283073425, 0.38602739572525024, -0.35549256205558777, -0.08796656876802444, 0.0861501470208168, -0.5354968905448914, 0.708400547504425, 0.504646360874176, -0.2509933412075043, 0.14554020762443542, -0.5504036545753479, 0.35360896587371826, 0.2481195330619812, -0.4503113329410553, -0.2871136963367462, 0.22750616073608398, -0.3262995779514313, 0.37988853454589844, 0.16980652511119843, -0.10313974320888519, 0.5583377480506897, -0.07589192688465118, 0.6460115313529968, 0.7260673642158508, -0.1333891898393631, 0.12425092607736588, -0.02427150309085846, 0.719836413860321, -0.2335728108882904, 0.09568533301353455, -0.6721377372741699, -0.4821518063545227, -0.4693840742111206, -0.3973192572593689, 0.31167998909950256, 0.9460220336914062, -0.8218463063240051, 0.5486820936203003, -0.19922654330730438, -0.03171061351895332, -0.2855429947376251, -0.11693823337554932, 0.23991158604621887, 0.5328109264373779, 0.4231388568878174, 0.26316991448402405, -0.6192713975906372, -0.7580554485321045, -0.5143718123435974, -0.17387279868125916, -0.09634372591972351, 0.5022768974304199, 0.5001758337020874, -0.4540906548500061, 1.099462628364563, -0.5505537986755371, 0.1411253660917282, -0.4355968236923218, 0.24708056449890137, 0.1750718653202057, 0.2941698133945465, 0.18644805252552032, -0.5161216259002686, -0.6195918321609497, -0.16920483112335205, -0.761100709438324, -0.530027449131012, -0.2062779814004898, -0.018114803358912468, 0.22591067850589752, 0.5793765187263489, -0.8425487875938416, -0.008341128006577492, 0.45705699920654297, -0.3102453947067261, 0.8072420358657837, -0.17814522981643677, 0.26865142583847046, -1.024631381034851, 0.37439849972724915, -0.38620904088020325, -0.3725644648075104, -0.34649109840393066, 0.22298072278499603, 0.04442891478538513, -0.3566758334636688, -0.13098478317260742, 0.6100287437438965, -0.46178561449050903, 0.0724439024925232, -0.3351688086986542, -0.0719694197177887, -0.04962011054158211, 0.36522722244262695, 0.2683402895927429, 0.7504986524581909, 0.5890483856201172, -0.7324884533882141, 0.5024021863937378, 0.07865429669618607, -0.0644587054848671, 0.737084686756134, -0.5003917813301086, 0.0941958799958229, -0.11536239087581635, 0.574795126914978, -0.8766499757766724, -0.16018080711364746, 0.36909806728363037, -0.44034746289253235, 0.3537859320640564, -0.14188800752162933, -0.7499479055404663, -0.6954900622367859, 0.07972036302089691, 0.46409568190574646, 0.36895307898521423, -0.5812765955924988, 0.8532980680465698, -0.045117516070604324, -0.21087318658828735, -0.8851514458656311, -0.4515860974788666, 0.4033375680446625, -0.18140743672847748, -0.6383892893791199, 0.09753371775150299, -0.029608910903334618, -0.02015177719295025, -0.17003756761550903, -0.0735054761171341, 0.08461157977581024, 0.03614876791834831, 0.03989909589290619, 0.10066186636686325, -0.1864214986562729, 0.32138338685035706, 0.16589775681495667, -0.48443683981895447, 0.2446836531162262, -0.5999167561531067, 0.6849741339683533, -0.08450287580490112, -0.654478907585144, -0.5215950012207031, 0.5095469355583191, 0.646571695804596, -0.3912259638309479, 0.5625213384628296, 0.5644597411155701, -0.37233439087867737, -0.4716319441795349, -0.5625448822975159, -0.3824799954891205, -0.4850814640522003, 0.19228950142860413, -0.7995598316192627, -0.761292040348053, 0.35265934467315674, -0.3921387791633606, 0.14819639921188354, 0.3601803183555603, 0.6857309341430664, -0.07065000385046005, 1.2121303081512451, 0.40530380606651306, 0.11169484257698059, 0.43564310669898987, -0.048899732530117035, 0.057171180844306946, -0.9300939440727234, -0.32797813415527344, -0.57093346118927, -0.21931904554367065, -0.12165582180023193, -0.6471983194351196, 0.35159605741500854, -0.0972798764705658, -0.11091950535774231, 0.1397126019001007, -0.5670384168624878, 0.6280520558357239, 0.5270477533340454, 0.014664248563349247, 0.30219781398773193, -0.1977093666791916, -0.5777696967124939, -0.0007946177502162755, -0.9225963950157166, -0.6857044100761414, 0.9461469650268555, 0.295784056186676, 0.6726400852203369, 0.020516838878393173, 0.5333313345909119, 0.2491927593946457, 0.16228744387626648, -0.6629563570022583, 0.8625370264053345, 0.244053915143013, -0.818894624710083, -0.34820863604545593, -0.5649707913398743, -0.9536074995994568, 0.48563745617866516, -0.32400035858154297, -0.6229327321052551, -0.08586284518241882, 0.49167442321777344, -0.5519241690635681, 0.39239436388015747, -0.48022863268852234, 0.9758098125457764, -0.0884137749671936, -0.3217426836490631, -0.49490538239479065, -0.6700056791305542, 0.49555161595344543, 0.1897139847278595, 0.27888160943984985, 0.05806731432676315, -0.146977037191391, 0.3985065817832947, -0.07262292504310608, 0.8320382833480835, -0.2963663637638092, -0.19318947196006775, 0.46066492795944214, 0.3464570641517639, 0.5896178483963013, 0.0295199416577816, -0.06586582213640213, -0.19464938342571259, 0.03889792412519455, -0.1723872423171997, -0.7153817415237427, 0.4668792188167572, -0.16475696861743927, -0.7685165405273438, -0.36790376901626587, -0.6235685348510742, -0.40064147114753723, 0.21759137511253357, 0.019879408180713654, 0.28074705600738525, -0.10940304398536682, 0.05425542965531349, 0.9752902984619141, -0.4786801040172577, 0.41501230001449585, 0.659027099609375, -0.29303622245788574, -0.534848690032959, 0.744823157787323, -0.22484515607357025, 0.41530007123947144, 0.6890015006065369, 0.4732862114906311, -0.3021395802497864, -0.33684042096138, -0.6210387945175171, 0.3602203130722046, -0.834684431552887, -0.17217570543289185, -0.8169567584991455, 0.037323735654354095, -0.43718090653419495, 0.04451980069279671, -0.18772928416728973, -0.34281691908836365, -0.02988566644489765, 0.14549095928668976, -0.19134581089019775, 0.5097978115081787, -0.19820044934749603, -0.02263224497437477, -1.0909550189971924, 0.42554256319999695, 0.7905001044273376, 0.22652657330036163, 0.15120267868041992, -0.5841193199157715, -0.07918877899646759, -0.0795595645904541, -0.6760633587837219, -0.8982518315315247, 0.01406046748161316, 0.13292765617370605, 0.8045468926429749, 0.6611960530281067, 0.011520223692059517, 0.6108152270317078, -0.8721166849136353, 0.7048701047897339, -0.04852099344134331, -1.0813708305358887, 0.7323858141899109, -0.6038855314254761, 0.6586634516716003, 0.5233450531959534, 0.23124828934669495, -0.8554112315177917, -0.1935594081878662, -0.5870518684387207, -0.5252626538276672, 0.5852704644203186, -0.3567436933517456, 0.024562550708651543, -0.16307590901851654, 0.4796781837940216, -0.03766268119215965, 0.15910066664218903, -0.787110447883606, -0.14206930994987488, 0.09608926624059677, -0.15600211918354034, 0.2303933948278427, -0.4376780092716217, -0.17592410743236542, -0.2780572175979614, 0.5934285521507263, -0.5074958801269531, 0.24378198385238647, 0.15919551253318787, -0.005668759811669588, -0.35491982102394104, 0.4573131501674652, 1.036234974861145, 0.9401631951332092, -0.02090536057949066, 0.2774867117404938, 0.6356595158576965, -0.1898147314786911, 0.12154484540224075, -0.3650175929069519, -0.0992865040898323, -0.10630477219820023, 0.5954954624176025, 0.4465126097202301, 0.08245697617530823, -0.8280957341194153, 0.3326667845249176, 0.15491876006126404, -0.3306482136249542, 0.08321673423051834, 0.13098439574241638, 0.3297230005264282, 0.3939588665962219, 0.44883009791374207, -0.042055606842041016, 0.05782067030668259, -0.634160578250885, 0.04746934771537781, 0.7866581678390503, -0.11880234628915787, -0.22597645223140717, 0.5650993585586548, 0.33719488978385925, -0.44870173931121826, 0.5169121026992798, -0.18946579098701477, -0.7832280993461609, 0.22677060961723328, 0.650012731552124, 1.0331746339797974, -0.5493208765983582, 0.28329744935035706, 0.6093021631240845, 0.5230684876441956, -0.2108970284461975, 0.3285433053970337, -0.4215751588344574, -0.5687312483787537, -0.8078001141548157, -0.43368616700172424, -0.57286536693573, 0.10798467695713043, -0.34531667828559875, 0.3518366813659668, -0.496891051530838, -0.09824776649475098, -0.41020530462265015, -0.3075209856033325, -0.14823968708515167, 0.21731318533420563, 0.5556895732879639, 1.274725079536438, -1.009785532951355, 0.598686695098877, 0.6358346939086914, 0.004822870716452599, -0.5751398801803589, 0.18838384747505188, 0.08668685704469681, -0.7112754583358765, 0.7651331424713135, 0.16072417795658112, -0.36330705881118774, -0.21542061865329742, -0.5595442652702332, -0.7057558298110962, 1.0379664897918701, 0.4441401958465576, -0.5030640959739685, 0.013755029998719692, 0.07916770130395889, 0.35387206077575684, -0.5085898637771606, 0.2752634584903717, 0.3828521966934204, 0.835112452507019, 0.5069940090179443, -0.9301320910453796, 0.32796329259872437, 0.16038428246974945, -0.24397537112236023, 0.3124067485332489, -0.5485981106758118, 0.5826301574707031, -0.5320248007774353, -0.2372407615184784, -0.2742326259613037, 0.6056926250457764, 0.7583321332931519, 0.4189452528953552, 0.8224200010299683, 0.6971783638000488, 0.8598195910453796, 0.07433993369340897, 0.6749916076660156, -0.15145376324653625, 0.09057948738336563, 1.0023456811904907, -0.37279212474823, 0.9385855793952942, 0.47940075397491455, -0.3044425845146179, 0.8428669571876526, 0.7857592701911926, 0.2757018208503723, 0.26796332001686096, 0.04453684389591217, -0.4053937792778015, -0.7018850445747375, 0.18805572390556335, -0.3952609896659851, 0.22621756792068481, 0.5386881232261658, -0.19941233098506927, -0.2980789244174957, 0.035426944494247437, -0.008831358514726162, -0.05316219851374626, -0.1045469343662262, 0.6489224433898926, 0.1523999720811844, -1.057340383529663, 0.6193332672119141, 0.08472814410924911, 0.45000791549682617, -0.7187055349349976, -0.05865437164902687, 0.18853619694709778, 0.05060385912656784, -0.30186107754707336, -0.7620776891708374, 0.45964252948760986, -0.06729995459318161, -0.44148045778274536, -0.6252400279045105, 0.5801161527633667, -0.4431074857711792, -0.22041593492031097, 0.13519541919231415, 0.5950025320053101, 0.0028530217241495848, -0.2785213887691498, -1.0494462251663208, -0.031265996396541595, 0.026205452159047127, -0.29682299494743347, 0.13875822722911835, 0.7885956168174744, -0.12950311601161957, 1.1694141626358032, 0.7597609162330627, -0.007538209203630686, -0.2816642224788666, 0.1540851891040802, 0.7622819542884827, -0.7766590714454651, -0.46712613105773926, -1.1507724523544312, 0.596963107585907, 0.13562457263469696, 0.007484488654881716, 0.5114752054214478, 0.34986138343811035, 0.29209625720977783, -0.162479966878891, 0.7445381283760071, -0.09987780451774597, 0.7347322702407837, -0.5547067523002625, 0.20365166664123535, -0.5977171063423157, 0.39087745547294617, -0.2552275061607361, -0.9745218753814697, -0.28148308396339417, 0.5563762187957764, -0.36326029896736145, 0.2453826367855072, 1.008272409439087, 0.6388593912124634, -0.1585552841424942, -0.0687813013792038, 0.2045847773551941, -0.1595863252878189, 0.38289496302604675, 0.760854184627533, 0.9998529553413391, 0.1850694864988327, 0.6695780158042908, 0.398117333650589, -0.43163061141967773, -0.37442561984062195, -1.19428551197052, -0.9224346876144409, -0.4737519323825836, -0.15671350061893463, -0.2485983818769455, -0.1265726536512375, 1.2773951292037964, 0.8824241161346436, -0.6688596606254578, -0.18039491772651672, -0.06541017442941666, 0.4544852375984192, -0.492738276720047, -0.27457568049430847, -0.07066726684570312, -0.5964382290840149, -0.5526468753814697, 0.5497119426727295, 0.4084022343158722, -0.303451806306839, -0.40768468379974365, 0.017803318798542023, -0.3901710510253906, 0.2781754732131958, 0.7204440832138062, 0.4385622441768646, -0.7937227487564087, -0.2099798023700714, -0.06093425303697586, -0.11844169348478317, -0.14302849769592285, 1.1553285121917725, -0.8477357029914856, 0.2945128381252289, 0.8255382180213928, 0.5539130568504333, 0.19613565504550934, -0.03435981646180153, 0.6356458067893982, -0.5706658363342285, -0.07102423906326294, 0.2371165156364441, 0.26224347949028015, 0.2591871917247772, -0.24428917467594147, 0.38057029247283936, 0.41789552569389343, -0.7023754119873047, -1.0123172998428345, 0.6762145757675171, -0.6526607275009155, -0.4874776303768158, 1.088151454925537, 0.029037147760391235, 0.01152214128524065, -0.0934596061706543, -0.25679275393486023, -0.1038755401968956, -0.4123796820640564, 0.6629501581192017, 0.8607512712478638, -0.302791565656662, -0.5108592510223389, -0.6277708411216736, 0.49899253249168396, 0.5781043767929077, -0.9364195466041565, 0.5202140212059021, 0.36944806575775146, 0.38264861702919006, 0.22875377535820007, 0.5497123003005981, 0.0722164735198021, 0.18389278650283813, -0.17690511047840118, 0.10933659970760345, -0.19587033987045288, -0.735597550868988, -0.26295071840286255, 0.2963469624519348, -0.031821634620428085, -0.04050993546843529 ]
http://arxiv.org/abs/2406.11695v1
http://arxiv.org/pdf/2406.11695v1
Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programs
2024-06-17T16:12:03
2024-06-17T16:12:03
Krista Opsahl-Ong, Michael J Ryan, Josh Purtell, David Broman, Christopher Potts, Matei Zaharia, Omar Khattab
cs.CL
cs.CL, cs.AI, cs.LG
Language Model Programs, i.e. sophisticated pipelines of modular language model (LM) calls, are increasingly advancing NLP tasks, but they require crafting prompts that are jointly effective for all modules. We study prompt optimization for LM programs, i.e. how to update these prompts to maximize a downstream metric without access to module-level labels or gradients. To make this tractable, we factorize our problem into optimizing the free-form instructions and few-shot demonstrations of every module and introduce several strategies to craft task-grounded instructions and navigate credit assignment across modules. Our strategies include (i) program- and data-aware techniques for proposing effective instructions, (ii) a stochastic mini-batch evaluation function for learning a surrogate model of our objective, and (iii) a meta-optimization procedure in which we refine how LMs construct proposals over time. Using these insights we develop MIPRO, a novel optimizer that outperforms baselines on five of six diverse LM programs using a best-in-class open-source model (Llama-3-8B), by as high as 12.9% accuracy. We will release our new optimizers and benchmark in DSPy at https://github.com/stanfordnlp/dspy
[ -0.22843438386917114, -0.734789252281189, 0.6672330498695374, 0.4476110637187958, -0.044365569949150085, 0.031223276630043983, -0.3023969829082489, 0.11858875304460526, -0.20542845129966736, 0.40288102626800537, -0.9205958843231201, -0.7028140425682068, -0.27331581711769104, -0.0007431231788359582, -0.11982674151659012, 0.9878318905830383, 0.08546770364046097, 0.0013453944120556116, -0.3767229914665222, -0.03818266838788986, -0.36993488669395447, -0.06406299769878387, -0.7567514777183533, -0.3264383375644684, 0.6666273474693298, 0.7092118859291077, 0.2865182161331177, 0.6325882077217102, 0.19063539803028107, 0.22267350554466248, -0.059459805488586426, 0.33978942036628723, -0.06067108362913132, 0.24635659158229828, -0.02002621255815029, -0.3987862765789032, -0.3184104263782501, -0.19504275918006897, 0.6100156903266907, 0.647774875164032, -0.19286344945430756, 0.3738859295845032, 0.0830974280834198, 0.595811665058136, -0.7844228744506836, 0.36565908789634705, -0.407123863697052, -0.13542287051677704, -0.012421339750289917, -0.4041875898838043, -0.717507541179657, -0.4759562611579895, -0.06539211422204971, -0.42720314860343933, -0.02128707244992256, -0.06229011341929436, 0.3876658082008362, 0.1050199344754219, -0.13005734980106354, -0.2882539629936218, -0.565161943435669, 0.9497805833816528, -0.9266065955162048, -0.13432106375694275, 0.11258403211832047, 0.33319351077079773, -0.40819382667541504, -0.5739734172821045, -0.09443122893571854, -0.70946204662323, 0.14563238620758057, 0.04451313242316246, -0.27280524373054504, 0.39229270815849304, 0.45014864206314087, 0.03819610923528671, -0.5318426489830017, 0.3725298345088959, -0.3266431391239166, -0.14743630588054657, 0.4172028601169586, 0.2550135552883148, 0.2974286675453186, -0.10431910306215286, -0.3234240710735321, -0.06054201349616051, -0.6104282736778259, 0.1932116150856018, 0.573860228061676, 0.5755947232246399, 0.07201429456472397, 0.6624211072921753, -0.42125770449638367, 0.7546887397766113, -0.0835392102599144, -0.03946487978100777, 0.014511555433273315, -0.22024589776992798, 0.044016771018505096, -0.22019904851913452, 0.7037835717201233, 0.2967764735221863, -0.06240511313080788, 0.19001658260822296, -0.4969272017478943, -0.09762857109308243, 0.2618350088596344, -0.6250748038291931, -0.01707228645682335, 0.37299418449401855, -0.405722439289093, -0.25992855429649353, -0.24508251249790192, -0.5998135209083557, -0.1335807889699936, -0.5248492956161499, 0.8322437405586243, -0.3365226089954376, 0.054100893437862396, 0.1332552134990692, -0.07473504543304443, 0.11948413401842117, 0.27299994230270386, -0.9707950949668884, 0.3173408806324005, 0.8310045599937439, 0.8314025402069092, -0.0299120731651783, -0.25384223461151123, -1.0126488208770752, -0.04286343976855278, -0.3786206543445587, 0.5755006074905396, -0.4607625901699066, -0.28892067074775696, 0.044301874935626984, -0.17532353103160858, -0.3507820665836334, -0.3456730842590332, 0.5549747347831726, -0.1297277808189392, 0.26981693506240845, 0.03303901478648186, -0.521411657333374, -0.0012937324354425073, -0.08640605211257935, -0.5865925550460815, 0.9893109798431396, 0.09647631645202637, -0.5408223271369934, -0.08796992897987366, -1.0784732103347778, -0.08825787156820297, -0.06377571821212769, -0.03887868672609329, -0.13027779757976532, 0.4213598370552063, 0.36574405431747437, 0.5013741850852966, -0.02753090113401413, 0.18310590088367462, -0.028878044337034225, -0.5151384472846985, -0.004279233515262604, -0.2988348603248596, 0.7181340456008911, 0.1191471740603447, -0.4168075919151306, 0.5498086810112, -0.6898190975189209, -0.013628543354570866, -0.0538138709962368, -0.44336727261543274, -0.12494238466024399, 0.08949518203735352, -0.2959372401237488, 0.02682807855308056, 0.08218260109424591, -0.25533822178840637, 0.563290536403656, -0.3362998068332672, 0.4469480812549591, 0.8347922563552856, -0.24957941472530365, 0.4703501760959625, -0.30776914954185486, 0.8388442993164062, -0.20033587515354156, 0.47638139128685, -0.7542575001716614, -0.5931315422058105, -0.9118794202804565, -0.19360660016536713, -0.05414056405425072, 0.4715343713760376, -0.5938631892204285, 0.15524819493293762, 0.14833597838878632, -0.42843082547187805, -0.6210131645202637, 0.024670010432600975, 0.25799259543418884, 0.5244427919387817, 0.4743446111679077, -0.04808099940419197, -0.26513293385505676, -1.2163302898406982, -0.2377225160598755, -0.08041839301586151, 0.08794151246547699, 0.016150565817952156, 0.3213854134082794, -0.06125586852431297, 0.674313485622406, -0.38957351446151733, 0.21915291249752045, -0.6429190039634705, 0.47331517934799194, 0.6565849781036377, 0.49304866790771484, 0.4057897627353668, -0.14513865113258362, -0.3587336540222168, -0.196239173412323, -0.09384064376354218, -0.6355743408203125, -0.4376544654369354, -0.06735222786664963, 0.27104616165161133, 0.3971359133720398, -0.6929876208305359, 0.06653948128223419, 0.5188116431236267, 0.07152362167835236, 0.8934822678565979, -0.4366522431373596, -0.0422365665435791, -0.8039045929908752, 0.04127618297934532, -0.0756516307592392, -0.15470236539840698, -0.672431468963623, 0.25013265013694763, 0.15953174233436584, -0.224889874458313, -0.46738865971565247, 0.48480671644210815, -0.5247622728347778, 0.055267103016376495, -0.41340795159339905, 0.1645945906639099, 0.010398578830063343, 0.6858665943145752, -0.09789419174194336, 0.7391873002052307, 0.7705519199371338, -0.5360713005065918, 0.165476456284523, -0.19476231932640076, -0.4616680145263672, 0.2460654228925705, -0.5838565230369568, 0.2904547452926636, -0.2987613081932068, 0.1958550065755844, -0.8881210684776306, 0.13597920536994934, 0.35025909543037415, -0.12435289472341537, 0.35740745067596436, -0.19776614010334015, -0.14368857443332672, -0.23181870579719543, -0.6494154334068298, 0.1269174963235855, 0.37854036688804626, -0.44485220313072205, 0.5212044715881348, -0.1301027238368988, -0.27585098147392273, -0.8676382899284363, -0.32764333486557007, -0.013390575535595417, -0.24655258655548096, -0.29584676027297974, 0.27912044525146484, -0.25134512782096863, -0.09518298506736755, -0.2604653239250183, -0.16939084231853485, 0.1702384203672409, 0.14018194377422333, 0.06350229680538177, 0.23122313618659973, -0.29541507363319397, 0.019831771031022072, 0.2961852252483368, -0.4386231303215027, 0.1386403888463974, -0.51655513048172, 0.5989093780517578, -0.022357163950800896, -0.594092845916748, -0.7498218417167664, 0.5956110954284668, 0.4190581738948822, 0.020689144730567932, 0.5596147179603577, 0.6038040518760681, -0.15059401094913483, -0.517874002456665, -0.3640477955341339, -0.19399210810661316, -0.47162944078445435, 0.39175334572792053, -0.39958691596984863, -0.6453335285186768, 0.13650116324424744, -0.13887667655944824, 0.47206342220306396, 0.16387955844402313, 0.4595959782600403, 0.15192373096942902, 1.155595064163208, 0.5810762643814087, 0.10257541388273239, 0.599997341632843, -0.2090398669242859, 0.10981573909521103, -0.754538893699646, -0.18332280218601227, -0.7796594500541687, -0.2131163477897644, -0.20745694637298584, -0.8073284029960632, 0.29183530807495117, 0.37764179706573486, -0.018096277490258217, 0.5955966114997864, -0.20949801802635193, 0.6251818537712097, 1.0238063335418701, -0.038408491760492325, 0.03877038136124611, -0.11244390904903412, -0.365010529756546, -0.1560206264257431, -0.944862425327301, -0.7670074701309204, 0.852541983127594, 0.4105720520019531, 0.7105690836906433, -0.2113504409790039, 0.7998784780502319, 0.2720943093299866, 0.09725020080804825, -0.7492516040802002, 0.608818769454956, -0.1433095484972, -0.16962595283985138, -0.11387098580598831, -0.3924965262413025, -0.5049847364425659, 0.10432978719472885, -0.01693161576986313, -0.8819606304168701, -0.20677146315574646, 0.2973536252975464, -0.4096730649471283, 0.08261688798666, -0.5693738460540771, 1.0825351476669312, -0.15911751985549927, -0.2640114426612854, -0.4822201430797577, -0.6771487593650818, 0.20947040617465973, 0.10400823503732681, 0.1874523013830185, -0.22427307069301605, -0.09123936295509338, 0.31714972853660583, -0.33411574363708496, 0.7148007154464722, -0.3901624083518982, -0.23974953591823578, 0.21499910950660706, -0.02253030613064766, 0.49260208010673523, -0.22304153442382812, -0.1462639570236206, -0.23462817072868347, -0.01593751646578312, -0.2942998707294464, -0.6620960235595703, 0.5339147448539734, -0.3656305968761444, -0.6553968787193298, 0.1340085119009018, -0.5459094047546387, -0.03932071477174759, -0.1749963015317917, -0.0906321331858635, 0.8346166610717773, -0.008741977624595165, 0.08047859370708466, 0.46563521027565, -0.8046892285346985, 0.7260066866874695, 0.18343813717365265, -0.19345179200172424, -0.2266729176044464, 0.8957882523536682, -0.284250944852829, 0.6467833518981934, 0.609313428401947, 0.538784384727478, -0.28632789850234985, -0.6986762285232544, -0.5953081846237183, 0.13889770209789276, -0.9003066420555115, -0.09656155854463577, -0.5539687871932983, 0.03609960526227951, -0.28501051664352417, -0.02583024837076664, -0.28150612115859985, -0.8774276971817017, -0.1440478414297104, -0.07716307789087296, 0.03294610232114792, 0.4740261137485504, -0.22256816923618317, 0.5353803634643555, -0.8126447200775146, 0.05211532860994339, 0.2353089451789856, -0.10967278480529785, -0.03048611618578434, -0.36707189679145813, -0.30034592747688293, -0.03732830286026001, -0.32829368114471436, -0.8058093786239624, 0.19671835005283356, 0.3262438476085663, 0.847398042678833, 0.4134749174118042, 0.016416246071457863, 0.5671752691268921, -0.5089966058731079, 0.8049524426460266, 0.06485266983509064, -1.1481802463531494, 0.9474930167198181, -0.4480615556240082, 0.39664962887763977, 0.37450382113456726, 0.28483933210372925, -0.5568585395812988, -0.6797686219215393, -0.2932366132736206, -0.8985595703125, 0.9876620769500732, 0.015582551248371601, 0.4772566556930542, -0.06417542695999146, 0.3095639646053314, 0.2845199406147003, 0.2708624005317688, -0.539366602897644, -0.18826614320278168, 0.19110043346881866, -0.3246753215789795, 0.15481850504875183, -0.31471624970436096, -0.2041725218296051, -0.027892963960766792, 0.6741910576820374, -0.4590761959552765, 0.06740062683820724, -0.12811024487018585, -0.08295249938964844, 0.19734953343868256, 0.45227891206741333, 1.098326563835144, 0.8325079083442688, -0.0550316646695137, -0.026644684374332428, 0.030239729210734367, -0.23415032029151917, -0.046175044029951096, -0.03731957823038101, -0.3287394046783447, 0.16026973724365234, 0.46350419521331787, 1.0644242763519287, 0.2024591863155365, -0.6646596193313599, 0.4679025113582611, 0.10629510134458542, -0.11328554153442383, 0.1054353341460228, 0.3238029181957245, 0.16336195170879364, 0.533839225769043, 0.3661551773548126, -0.058402277529239655, 0.11235135793685913, -0.3660312294960022, 0.09335881471633911, 0.2816076874732971, -0.11088675260543823, -0.29110825061798096, 0.6749670505523682, 0.14513660967350006, -0.5302090048789978, 0.4130486845970154, -0.013243786990642548, -0.4026755094528198, 0.5736254453659058, 0.5605380535125732, 0.972224771976471, -0.25240474939346313, 0.6582475304603577, 0.46974092721939087, 0.2835836112499237, -0.2621527910232544, 0.17398230731487274, -0.2924686372280121, -0.38320350646972656, -0.6678204536437988, -0.6134456992149353, -0.5974180102348328, -0.07334384322166443, -0.6049079895019531, 0.5535294413566589, -0.4269791841506958, -0.0777437835931778, -0.29091498255729675, 0.007528416812419891, -0.2840738594532013, -0.1518690437078476, 0.27414554357528687, 1.0944340229034424, -0.7978381514549255, 0.6778841018676758, 0.4543516933917999, -0.25452500581741333, -0.7190338373184204, -0.30689048767089844, 0.04845786467194557, -0.7243521213531494, 0.5347771644592285, 0.5621224045753479, -0.18570983409881592, 0.08683135360479355, -0.49715059995651245, -0.32994356751441956, 0.8227775692939758, 0.6020621061325073, -0.7117321491241455, -0.11663924902677536, -0.06803219765424728, 0.11984340101480484, -0.5664049386978149, 0.4947955906391144, 0.35300806164741516, 0.413551926612854, -0.10473563522100449, -0.6655498147010803, -0.10801203548908234, -0.05871632695198059, 0.015068395994603634, 0.05012693628668785, -0.38529905676841736, 0.654559850692749, -0.4181501865386963, -0.14174635708332062, 0.3094296455383301, 0.5858062505722046, 0.5601547360420227, 0.22104573249816895, 0.6350423097610474, 0.3105977177619934, 0.5506615042686462, -0.032210759818553925, 0.8875331282615662, -0.22991685569286346, 0.17571210861206055, 1.115923285484314, 0.015350026078522205, 0.733683168888092, 0.710411548614502, -0.01668006181716919, 0.5615672469139099, 0.7291373610496521, 0.10272153466939926, 0.5593886971473694, 0.5723179578781128, -0.4447556138038635, -0.18441511690616608, -0.17349423468112946, 0.05162965878844261, 0.1368212252855301, 0.2931884229183197, -0.2615702450275421, -0.290791779756546, 0.024764301255345345, -0.022513750940561295, -0.03508865833282471, -0.1712370216846466, 0.4849036931991577, 0.03559374436736107, -0.658134400844574, 0.2749464511871338, 0.18872636556625366, 0.5010415315628052, -0.8374570608139038, -0.03780562803149223, -0.46000176668167114, 0.05057337135076523, -0.07877502590417862, -0.27929505705833435, 0.2318705916404724, 0.050799839198589325, 0.04662330076098442, -0.48219984769821167, 0.46034204959869385, -0.5186991095542908, -0.2637706995010376, 0.25421142578125, 0.46136748790740967, 0.31610387563705444, 0.08489841967821121, -0.7840318083763123, 0.06872629374265671, -0.14666546881198883, -0.4429935812950134, 0.07222487032413483, 0.1964041143655777, -0.07743217796087265, 0.8816901445388794, 0.5117934942245483, 0.2686656415462494, 0.21855531632900238, 0.6680474281311035, 0.7391090393066406, -0.4927866458892822, -0.08685435354709625, -0.947989821434021, 0.8135396838188171, 0.06346047669649124, -0.16387777030467987, 0.4825408458709717, 0.4677291810512543, 0.7029844522476196, -0.2622304856777191, 0.4396999776363373, 0.14918722212314606, 0.12160185724496841, -0.8655032515525818, 0.1648813635110855, -0.5335561037063599, 0.3997836709022522, -0.3303402364253998, -1.2597020864486694, -0.2889101207256317, 0.5603487491607666, 0.0899885892868042, -0.09131874144077301, 0.7025315165519714, 1.0636345148086548, -0.010229537263512611, -0.01337543036788702, 0.13377445936203003, -0.32924509048461914, 0.2949751615524292, 0.7754508256912231, 1.1787750720977783, -0.1162816509604454, 0.44025740027427673, -0.32914087176322937, -0.33217495679855347, -0.08825991302728653, -1.1509987115859985, -0.7419663667678833, -0.34941044449806213, -0.6042877435684204, 0.12696821987628937, 0.0946987122297287, 1.2654297351837158, 0.7163681983947754, -0.6311349868774414, -0.5704135298728943, -0.0031722348649054766, 0.14122600853443146, -0.541464626789093, -0.1924823820590973, 0.24944621324539185, -0.9139142036437988, -0.9577223062515259, 0.9378576874732971, 0.48327288031578064, -0.13177582621574402, -0.3755163252353668, -0.04253095015883446, -0.14924532175064087, 0.10430437326431274, 0.5332515835762024, 0.003417776431888342, -0.6051228046417236, -0.28033676743507385, 0.16172757744789124, -0.08526186645030975, -0.019511887803673744, 1.1181851625442505, -0.3608402907848358, 0.3481854796409607, 0.5783299207687378, 0.7014164924621582, 0.24125461280345917, 0.14797362685203552, 0.8691524863243103, -0.87663334608078, -0.03753676638007164, 0.10177477449178696, 0.201820969581604, 0.34855329990386963, 0.04181136190891266, 0.3298444449901581, -0.05545691028237343, -0.5233372449874878, -0.8302071690559387, 0.23263154923915863, -0.8646551966667175, -0.36480987071990967, 1.0223942995071411, -0.3049173951148987, -0.14973747730255127, 0.13234873116016388, -0.3674890697002411, 0.13203860819339752, -0.4064160883426666, 0.5444616675376892, 0.6709995269775391, -0.401732861995697, -0.4176383316516876, -0.9487890005111694, 0.4848373830318451, 0.440846711397171, -0.6525776386260986, 0.26769089698791504, 0.6190834641456604, 0.037123218178749084, 0.013774676248431206, 0.6945933103561401, 0.11233127117156982, 0.0020700569730252028, -0.11544813215732574, -0.06807547062635422, -0.195393905043602, -0.6661914587020874, -0.5910537242889404, 0.1171911209821701, 0.15051011741161346, -0.4492758512496948 ]
http://arxiv.org/abs/2406.11687v1
http://arxiv.org/pdf/2406.11687v1
Tokenization Falling Short: The Curse of Tokenization
2024-06-17T16:05:32
2024-06-17T16:05:32
Yekun Chai, Yewei Fang, Qiwei Peng, Xuhong Li
cs.CL
cs.CL
Language models typically tokenize raw text into sequences of subword identifiers from a predefined vocabulary, a process inherently sensitive to typographical errors, length variations, and largely oblivious to the internal structure of tokens-issues we term the curse of tokenization. In this study, we delve into these drawbacks and demonstrate that large language models (LLMs) remain susceptible to these problems. This study systematically investigates these challenges and their impact on LLMs through three critical research questions: (1) complex problem solving, (2) token structure probing, and (3) resilience to typographical variation. Our findings reveal that scaling model parameters can mitigate the issue of tokenization; however, LLMs still suffer from biases induced by typos and other text format variations. Our experiments show that subword regularization such as BPE-dropout can mitigate this issue. We will release our code and data to facilitate further research.
[ -0.12150547653436661, -0.8028683662414551, 0.5615838766098022, 0.07936882227659225, -0.4417787194252014, 0.261783242225647, -0.14690786600112915, -0.5108290910720825, 0.12788137793540955, 0.5038546323776245, -0.34352973103523254, -0.0051757837645709515, -0.9294212460517883, 0.2196783721446991, -0.337248831987381, 1.266347885131836, -0.1093468964099884, 0.10560522228479385, -0.31552398204803467, -0.06872957199811935, -0.8073377013206482, -0.8688053488731384, -0.7125303745269775, -0.1635241061449051, 0.5152571797370911, 0.3439384996891022, 0.7150916457176208, 0.6791296005249023, 0.9124865531921387, 0.1552673578262329, -0.36712267994880676, -0.12280404567718506, -0.6150837540626526, 0.048104748129844666, -0.10487981140613556, -0.8215674757957458, -0.18921931087970734, 0.009245728142559528, 0.8261396884918213, 1.0201013088226318, 0.1935601681470871, 0.2985197901725769, -0.10361417382955551, 0.614232063293457, -0.4499657154083252, -0.05927552282810211, -0.7653601765632629, -0.09269034117460251, -0.6759036183357239, 0.0553605854511261, -0.4698971211910248, -0.07288151979446411, 0.04324926808476448, -0.19945184886455536, 0.2895047962665558, 0.35382455587387085, 0.9230586290359497, 0.3571622371673584, -0.31154707074165344, -0.435798317193985, -0.6749462485313416, 0.8141056895256042, -0.7975720167160034, 0.23569601774215698, 0.36813968420028687, -0.054115235805511475, -0.15181829035282135, -0.6815629601478577, -0.349368691444397, -0.3699444532394409, 0.173758402466774, -0.2680981159210205, -0.04343966394662857, 0.08489128947257996, 0.23765675723552704, 0.4833555519580841, -0.20003154873847961, 0.36788180470466614, -0.5959376096725464, -0.3147437572479248, 0.08712469786405563, 0.3701098561286926, 0.6052006483078003, -0.44755905866622925, -0.20639139413833618, 0.1852218210697174, -0.8279404640197754, -0.04998301714658737, 0.48112839460372925, 0.5415950417518616, 0.1573658287525177, 0.6988754868507385, 0.5941805243492126, 0.3300187885761261, -0.15183477103710175, -0.023160984739661217, -0.1449447125196457, -0.3390432894229889, -0.18263503909111023, -0.19959458708763123, 0.4230386018753052, 0.21666806936264038, 0.3656482994556427, -0.2299094945192337, -0.256590873003006, -0.1638563871383667, 0.17374959588050842, -0.6355763673782349, 0.030714165419340134, 0.26897040009498596, -0.6178205013275146, -0.217651829123497, -0.02307712845504284, -0.4930073022842407, -0.5369372367858887, -0.006788048893213272, 0.250787615776062, -0.41987282037734985, -0.08787419646978378, 0.05246417969465256, -0.3980078101158142, -0.10792191326618195, 0.12092547118663788, -0.9724997878074646, 0.3373431861400604, 0.7210329174995422, 1.0448122024536133, -0.34698471426963806, -0.1799747347831726, -0.3621981143951416, 0.07592152804136276, -0.39146116375923157, 0.37311530113220215, -0.5965766906738281, -0.6534806489944458, -0.1604021191596985, 0.00902410876005888, -0.1756604164838791, -0.6922895908355713, 0.5926945209503174, -0.281757652759552, -0.000055155665904749185, -0.2768288254737854, -0.7247507572174072, 0.22092726826667786, 0.10938756912946701, -0.6899794936180115, 0.783600926399231, 0.08610886335372925, -1.0155737400054932, 0.28951093554496765, -0.36164867877960205, -0.3439646363258362, 0.08118154108524323, -0.12948265671730042, -0.39097434282302856, 0.860367476940155, -0.1084451749920845, 0.17591193318367004, -0.43807828426361084, 0.06284397095441818, -0.14162346720695496, -0.4694329798221588, 0.24992406368255615, -0.47641828656196594, 0.4250190258026123, -0.06007423996925354, -0.15952368080615997, -0.12414785474538803, -0.7651455998420715, -0.14941264688968658, 0.4187471568584442, -0.508621335029602, -0.6030648350715637, -0.005244608968496323, 0.3765496611595154, 0.03783457726240158, 0.291065514087677, -0.4441751539707184, 0.33709973096847534, -0.4380398392677307, 0.6600449681282043, 0.8902663588523865, -0.10733526945114136, 0.35162612795829773, -0.24882419407367706, 0.6809497475624084, 0.24720151722431183, 0.40871015191078186, -0.04497658088803291, -0.4207287132740021, -0.7768364548683167, -0.1191369816660881, 0.6413449645042419, 0.37936294078826904, -0.5721784234046936, -0.0477636381983757, -0.37519371509552, -0.2508602738380432, -0.2782716155052185, -0.12733764946460724, 0.5046743154525757, 0.27358317375183105, 0.0577460415661335, -0.4674166440963745, -0.47068262100219727, -0.9469213485717773, -0.4152204394340515, -0.24069812893867493, 0.056552037596702576, 0.2041129767894745, 0.7512377500534058, -0.14689084887504578, 1.0804297924041748, -0.36481815576553345, -0.3823589086532593, -0.3003825545310974, 0.13459935784339905, 0.038028109818696976, 0.6164919137954712, 0.5998059511184692, -0.6181769967079163, -0.13857682049274445, -0.29594120383262634, -0.08021317422389984, -0.14928755164146423, 0.012635144405066967, 0.43742531538009644, 0.48918017745018005, 0.5850514769554138, -0.6001396775245667, 0.4847029149532318, 0.5685614347457886, -0.43507733941078186, 0.9044415950775146, -0.04678817838430405, -0.32159557938575745, -1.1253806352615356, 0.17128166556358337, -0.3730829358100891, 0.018444158136844635, -0.5893321633338928, -0.04217582195997238, -0.054937947541475296, -0.07709328085184097, -0.21705764532089233, 0.5461007952690125, -0.4576432704925537, -0.08626998215913773, -0.23999649286270142, -0.1654512584209442, 0.04237641766667366, 0.03508460521697998, -0.22024564445018768, 0.85933518409729, 0.2482985407114029, -0.36546772718429565, -0.00733971269801259, -0.09403207153081894, -0.17147310078144073, 0.20817430317401886, -0.7788435220718384, 0.13122519850730896, -0.2983250617980957, 0.20569726824760437, -0.948745846748352, -0.24241787195205688, -0.02559424564242363, -0.41050800681114197, 0.48046696186065674, -0.34397292137145996, -0.7541768550872803, -0.4900070130825043, -0.3244028389453888, 0.6859605312347412, 0.26462966203689575, -0.24665158987045288, 0.2960246205329895, 0.22635488212108612, -0.08858178555965424, -0.5298142433166504, -0.8657549023628235, 0.3957050144672394, -0.3076252341270447, -0.4951239228248596, 0.16921138763427734, -0.1888325959444046, -0.4011421799659729, -0.04991130903363228, -0.19755345582962036, 0.1384049952030182, 0.13982655107975006, 0.22904953360557556, 0.2040860950946808, -0.12929850816726685, 0.39686301350593567, -0.24171888828277588, 0.08665675669908524, 0.0973660871386528, -0.36603212356567383, 0.7719394564628601, -0.1176312044262886, -0.3130471110343933, -0.25637876987457275, 0.35228827595710754, 0.8440926671028137, -0.06385211646556854, 0.9604150056838989, 0.25547581911087036, -0.47272107005119324, -0.1316460818052292, -0.7033002376556396, -0.06799929589033127, -0.44180530309677124, 0.5178342461585999, -0.42475682497024536, -0.9788557887077332, 0.8512691855430603, 0.05111170560121536, -0.08062373101711273, 0.39761093258857727, 0.3467697203159332, 0.1632162481546402, 0.7728504538536072, 0.925462543964386, -0.0645681768655777, 0.5314458608627319, -0.00428170058876276, 0.5319337248802185, -0.7553570866584778, -0.09129540622234344, -0.4697909951210022, -0.1053178459405899, -0.5908148288726807, -0.49562421441078186, 0.26443400979042053, 0.23121997714042664, 0.18907491862773895, 0.057886961847543716, -0.2767079174518585, 0.6088446378707886, 0.43630361557006836, -0.3169378638267517, 0.20286522805690765, -0.24875997006893158, -0.24141733348369598, -0.4003812074661255, -0.5563309192657471, -0.672719419002533, 0.9768958687782288, 0.5670909285545349, 0.6304382681846619, 0.02942086197435856, 0.5555117130279541, 0.3044399619102478, 0.07856316864490509, -0.7672137022018433, 0.21791815757751465, -0.253700852394104, -0.7187689542770386, -0.3672069013118744, -0.4920479655265808, -0.8753232955932617, 0.07379728555679321, 0.010103962384164333, -0.817348062992096, 0.18650378286838531, 0.07414568960666656, -0.24940450489521027, 0.5574873685836792, -0.7559887170791626, 0.8250638842582703, -0.13747580349445343, -0.11842042952775955, 0.1778225302696228, -0.7293509840965271, 0.3431418836116791, -0.3421685993671417, 0.5183056592941284, -0.2193603515625, -0.06645368039608002, 0.8361319303512573, -0.6953309774398804, 0.9336541295051575, 0.13910338282585144, -0.29082587361335754, 0.20056509971618652, 0.23935072124004364, 0.6261935234069824, 0.02683316543698311, 0.17044469714164734, 0.037486154586076736, 0.14571768045425415, -0.7559274435043335, -0.3859070837497711, 0.4847131371498108, -0.5575634837150574, -0.5907180905342102, -0.26656320691108704, -0.4906013309955597, -0.37059032917022705, 0.18834584951400757, 0.6081143021583557, 0.5062140822410583, -0.12675027549266815, -0.00824649352580309, 0.5196159482002258, -0.32501187920570374, 0.6262081861495972, 0.08580601960420609, -0.30147865414619446, -0.3666718602180481, 0.9307280778884888, 0.4921313226222992, 0.5576834678649902, 0.03120100311934948, 0.30319657921791077, -0.08416805416345596, -0.9325513243675232, -0.10078869760036469, 0.40633144974708557, -0.76374351978302, -0.023045433685183525, -0.31357041001319885, -0.12170319259166718, -0.5842921137809753, 0.031639907509088516, -0.4757779538631439, -0.5557606220245361, -0.6415051221847534, -0.1520315706729889, 0.11227346211671829, 1.0167438983917236, 0.04344553500413895, 0.23012641072273254, -0.7824177145957947, -0.034711603075265884, 0.13128335773944855, 0.47135722637176514, 0.14043262600898743, -0.8145936727523804, -0.28258371353149414, -0.40685901045799255, 0.006011778488755226, -0.5355769395828247, 0.11438524723052979, 0.05814944580197334, 0.07351221889257431, 0.37965795397758484, -0.1299765557050705, 0.5461134910583496, -0.7633565068244934, 1.0132813453674316, 0.3302093744277954, -1.071608304977417, 0.3409002721309662, -0.42283523082733154, 0.2980120778083801, 0.46646878123283386, 0.04071224480867386, -0.8358719348907471, -0.506233811378479, -0.49672630429267883, -1.100467324256897, 0.43491244316101074, 0.22849203646183014, 0.5062772631645203, -0.3847973048686981, 0.730140209197998, 0.266523152589798, 0.10555725544691086, -0.6868833899497986, -0.25316372513771057, -0.03813067823648453, -0.03151978552341461, 0.03352423757314682, -0.78739333152771, 0.10848132520914078, -0.01578945852816105, 0.40319934487342834, -0.09670527279376984, -0.19814318418502808, 0.012197678908705711, -0.17973865568637848, -0.05023660883307457, 0.2850923538208008, 0.829292893409729, 0.7377017140388489, 0.05308734253048897, 0.19394031167030334, 0.03741300851106644, -0.6476917862892151, -0.08806367218494415, -0.24092251062393188, -0.12521857023239136, 0.11022906750440598, 0.5366026759147644, 0.8731106519699097, 0.15683674812316895, -0.8766694068908691, 0.5439099073410034, -0.0737244039773941, 0.021227559074759483, -0.2668529152870178, -0.41203224658966064, 0.09014382213354111, -0.10394039005041122, 0.5817384719848633, -0.05259857699275017, -0.044407304376363754, -0.6192062497138977, -0.10392452031373978, 0.46340641379356384, -0.3105415105819702, -0.3870328962802887, 0.6628631949424744, 0.10723435878753662, -0.3979625701904297, 0.6301877498626709, 0.18784381449222565, -0.5342850685119629, 0.8737075328826904, 0.6918432712554932, 0.7506173253059387, 0.15437500178813934, -0.0288628451526165, -0.16652807593345642, 0.7081462740898132, -0.12904614210128784, -0.012077543884515762, 0.4712669551372528, -0.5073156356811523, -0.39262083172798157, -0.8133388757705688, -0.45378708839416504, 0.25498396158218384, -0.49248018860816956, 0.06980976462364197, -0.6654319763183594, -0.5518463253974915, -0.2561562955379486, -0.098553366959095, -0.3875746726989746, 0.1236969381570816, 0.23770008981227875, 0.8089922666549683, -0.7488119602203369, 0.45056772232055664, 0.41915395855903625, -0.6050360202789307, -0.5848471522331238, 0.18322789669036865, -0.1972922533750534, -0.6963807344436646, 0.7527837753295898, 0.16817979514598846, 0.17471739649772644, -0.04512510076165199, -0.6774505972862244, -1.0941492319107056, 0.5803916454315186, 0.4665607810020447, -0.5906988978385925, -0.2373190075159073, 0.44263651967048645, 0.6044099926948547, -0.05096442624926567, -0.19047868251800537, 0.7590391635894775, 0.5399361848831177, -0.12540560960769653, -1.241834044456482, 0.1743202805519104, 0.05036424100399017, 0.412778377532959, 0.3742188513278961, -0.8639492988586426, 0.9901928305625916, -0.33064043521881104, -0.20788481831550598, 0.1954502910375595, 0.33655065298080444, -0.029786366969347, 0.04654544219374657, 0.22503766417503357, 0.7661210298538208, 0.6070016026496887, -0.04988483712077141, 1.0262807607650757, -0.17097343504428864, 0.3517613708972931, 0.890069305896759, -0.14548806846141815, 0.6439267992973328, 0.9335306882858276, -0.1604030579328537, 0.14368030428886414, 0.7553231716156006, -0.03214302286505699, 0.1360022872686386, 0.7128900289535522, -0.11687180399894714, -0.01561138965189457, -0.2762736976146698, -0.1757178008556366, 0.36847802996635437, 0.4128025472164154, -0.32103031873703003, -0.01751214824616909, 0.2364901900291443, 0.1675012856721878, 0.013129374012351036, -0.4228949546813965, 0.46966761350631714, 0.3444046080112457, -0.27228865027427673, 0.39695173501968384, 0.1382698118686676, 0.8350598812103271, -0.3958115875720978, 0.2737770080566406, -0.518094539642334, 0.07292547821998596, -0.045378491282463074, -0.20269028842449188, 0.37593308091163635, -0.1093653216958046, -0.4505937099456787, 0.038369130343198776, 0.5053444504737854, -0.1477266401052475, -0.5726027488708496, 0.1782437115907669, 0.48191797733306885, 0.22175268828868866, 0.058295104652643204, -0.3415136933326721, 0.45252615213394165, -0.48206791281700134, -0.24587076902389526, 0.4783189296722412, 0.5073912143707275, -0.3275758922100067, 0.7044617533683777, 0.4870835840702057, 0.23971782624721527, 0.4769422113895416, 0.34967321157455444, 0.659205973148346, -0.7171355485916138, -0.23427656292915344, -1.1307580471038818, 0.10167000442743301, 0.07644537836313248, -0.48263341188430786, 0.7074750661849976, 0.516353189945221, 0.6020742654800415, -0.17864593863487244, 0.6837047934532166, 0.026510750874876976, 0.3973631262779236, -0.3910299837589264, 0.8185977339744568, -0.5793138742446899, 0.2910941541194916, -0.21508172154426575, -0.7202742695808411, -0.5792133808135986, -0.13494804501533508, -0.2224738597869873, 0.07919333875179291, 0.9119638204574585, 0.39328262209892273, 0.2528952956199646, -0.5459088683128357, 0.37196633219718933, 0.159976527094841, 0.33357739448547363, 0.26287350058555603, 0.701709508895874, -0.3284832835197449, 0.7789713144302368, 0.14814764261245728, 0.15436291694641113, -0.37925752997398376, -0.7570116519927979, -0.9673181176185608, -0.5145969986915588, -0.20724451541900635, -0.3743782341480255, 0.20140136778354645, 0.6838308572769165, 0.4066466987133026, -0.7188267707824707, -0.014735442586243153, -0.29738980531692505, 0.29797670245170593, 0.22092343866825104, -0.3072049617767334, 0.4753147065639496, -0.5926650166511536, -0.8145225644111633, -0.012954911217093468, 0.3746151924133301, 0.487954705953598, -0.353855162858963, 0.3563000559806824, 0.1521419882774353, 0.5412772297859192, 0.38315343856811523, 0.24514572322368622, -0.9173080325126648, -0.5752942562103271, -0.26489710807800293, -0.2822912931442261, 0.020983057096600533, 1.0946214199066162, -0.30662187933921814, 0.1876344531774521, 0.3917267620563507, 0.7342203855514526, -0.030710630118846893, -0.11350077390670776, 0.5576063394546509, -0.9582716822624207, 0.032651834189891815, 0.3075425624847412, 0.41758763790130615, 0.4395138621330261, -0.3680494725704193, 0.31580936908721924, 0.616884171962738, -0.39755651354789734, -1.1986470222473145, 0.41474661231040955, -0.5741991996765137, -0.6354467272758484, 0.9863998293876648, 0.11034563183784485, -0.327567994594574, -0.09115170687437057, -0.19193178415298462, 0.0658888965845108, -0.0009104612399823964, 0.8962675333023071, 1.2216838598251343, 0.22849294543266296, -0.20289671421051025, -0.3499944806098938, 0.6215124130249023, 0.6571596264839172, -0.4138830602169037, 0.30714020133018494, 0.4241216480731964, 0.48820456862449646, 0.22715748846530914, 0.7378155589103699, -0.15162797272205353, -0.05131315439939499, 0.05861057713627815, -0.01557958871126175, 0.09340482205152512, -0.2460099458694458, -0.41933342814445496, 0.3159664571285248, 0.4145120084285736, -0.11597022414207458 ]
http://arxiv.org/abs/2406.11683v1
http://arxiv.org/pdf/2406.11683v1
HoLLMwood: Unleashing the Creativity of Large Language Models in Screenwriting via Role Playing
2024-06-17T16:01:33
2024-06-17T16:01:33
Jing Chen, Xinyu Zhu, Cheng Yang, Chufan Shi, Yadong Xi, Yuxiang Zhang, Junjie Wang, Jiashu Pu, Rongsheng Zhang, Yujiu Yang, Tian Feng
cs.CL
cs.CL
Generative AI has demonstrated unprecedented creativity in the field of computer vision, yet such phenomena have not been observed in natural language processing. In particular, large language models (LLMs) can hardly produce written works at the level of human experts due to the extremely high complexity of literature writing. In this paper, we present HoLLMwood, an automated framework for unleashing the creativity of LLMs and exploring their potential in screenwriting, which is a highly demanding task. Mimicking the human creative process, we assign LLMs to different roles involved in the real-world scenario. In addition to the common practice of treating LLMs as ${Writer}$, we also apply LLMs as ${Editor}$, who is responsible for providing feedback and revision advice to ${Writer}$. Besides, to enrich the characters and deepen the plots, we introduce a role-playing mechanism and adopt LLMs as ${Actors}$ that can communicate and interact with each other. Evaluations on automatically generated screenplays show that HoLLMwood substantially outperforms strong baselines in terms of coherence, relevance, interestingness and overall quality.
[ -0.11572229117155075, -0.9115810394287109, 0.7735999822616577, 0.1458018571138382, -0.08499634265899658, 0.31831732392311096, -0.1453825831413269, -0.17540724575519562, 0.0960155576467514, 1.0176705121994019, -0.6426915526390076, -0.6145904064178467, -0.44085055589675903, 0.0046495613642036915, -0.24909071624279022, 0.8078089952468872, -0.24274998903274536, -0.21530954539775848, -0.41250157356262207, 0.07258290797472, -0.34001684188842773, -0.2588440179824829, -0.4985632598400116, -0.07652203738689423, 0.7084384560585022, 0.20107688009738922, 0.7050794959068298, 0.6049695611000061, 0.4516947269439697, 0.35998037457466125, 0.3048466145992279, 0.3428177833557129, -0.47550326585769653, 0.6632559299468994, -0.1383548229932785, -0.3837244510650635, -0.4324478507041931, -0.004859726410359144, 0.5195227265357971, 0.4296162724494934, -0.15807873010635376, 0.20949748158454895, 0.2264236956834793, 0.44792792201042175, -0.3847765624523163, 0.2517023980617523, -0.701225221157074, 0.2531145513057709, -0.12822669744491577, -0.3263837993144989, -0.39526620507240295, -0.3195958435535431, -0.05533049255609512, -0.7230216264724731, 0.34171703457832336, 0.22522999346256256, 0.6339574456214905, 0.3011682331562042, -0.1455671638250351, -0.5270708799362183, -0.9503284096717834, 0.6707601547241211, -0.930755078792572, -0.5193520188331604, 0.2752244472503662, 0.25574418902397156, -0.1703394204378128, -0.4182288944721222, -0.5940868854522705, -0.5229393243789673, 0.22554433345794678, 0.18257586658000946, 0.2006043791770935, 0.16439014673233032, 0.4082171320915222, 0.6346269845962524, -0.6104885935783386, 0.2771036922931671, -0.12452248483896255, 0.012462778948247433, 0.9226046800613403, 0.34438955783843994, 0.535264253616333, -0.04184494540095329, 0.027195889502763748, 0.05421998351812363, -0.4679647386074066, 0.045640990138053894, 0.45251935720443726, -0.1869666874408722, 0.1579473316669464, 0.9254926443099976, 0.12387728691101074, 0.6155099868774414, 0.0072611793875694275, 0.010431189090013504, -0.45272794365882874, 0.22279684245586395, -0.2679048776626587, 0.1903102695941925, 0.7527125477790833, 0.6715933680534363, 0.1511605679988861, 0.21831126511096954, -0.29537075757980347, 0.15805982053279877, 0.29175686836242676, -0.6223538517951965, -0.08393413573503494, 0.22403542697429657, -0.3284667134284973, -0.5366650819778442, 0.01914331689476967, -0.6179563403129578, -1.0481868982315063, -0.25693628191947937, 0.7339112162590027, -0.16517136991024017, -0.21889528632164001, -0.20918725430965424, -0.2866862118244171, 0.13858294486999512, 0.28508201241493225, -0.9905957579612732, -0.03621181845664978, 0.3876260817050934, 0.5165260434150696, -0.18552716076374054, -0.46737784147262573, -0.5663248896598816, 0.48847678303718567, -0.6384071111679077, 0.5880724191665649, -0.28455543518066406, -0.4208487570285797, -0.0158423762768507, -0.3785555362701416, 0.05511121451854706, -0.645813524723053, 0.20886118710041046, -0.2981874346733093, 0.2814132571220398, 0.44787919521331787, -0.4004462659358978, 0.13555952906608582, 0.22258855402469635, -0.9680104851722717, 0.8273194432258606, 0.1460890769958496, -0.23083963990211487, 0.19599691033363342, -0.6462051868438721, -0.5274631977081299, 0.14975038170814514, -0.07690733671188354, -0.4412129521369934, 0.4254337251186371, 0.23335441946983337, 0.7191305160522461, -0.3794291317462921, 0.6977688670158386, -0.1783629059791565, -0.504213273525238, 0.534171998500824, -0.5329797863960266, 0.3702508211135864, 0.18738754093647003, -0.5326684713363647, 0.3569971024990082, -0.6415700912475586, 0.011500496417284012, 0.06226501986384392, -0.42978334426879883, -0.026294391602277756, -0.0892559364438057, 0.11077313125133514, 0.2390119880437851, -0.022573361173272133, -0.3663575351238251, 0.2449609339237213, -0.549313485622406, 0.6433459520339966, 0.5257578492164612, 0.05621093139052391, 0.46056750416755676, -0.8300471901893616, 0.5531619787216187, -0.3778162896633148, 0.03516693785786629, -0.2440909594297409, -0.34947776794433594, -0.69049072265625, -0.25123804807662964, -0.13602226972579956, 0.47570735216140747, -0.8102582693099976, 0.4899866580963135, 0.11537410318851471, -0.6434419751167297, -0.9018872976303101, 0.4340628385543823, 0.28478336334228516, -0.008401406928896904, 0.18613870441913605, -0.2944642901420593, -0.63983553647995, -0.6102570295333862, -0.5866026282310486, -0.026945723220705986, -0.008265279233455658, 0.050475649535655975, 0.03784508630633354, -0.2305411845445633, 0.9274417757987976, -0.3695215880870819, -0.7798590660095215, -0.7183041572570801, 0.3204755187034607, 0.4502048194408417, 0.4384644627571106, -0.030857089906930923, -0.5172016620635986, -0.8642440438270569, -0.025708559900522232, -1.1244990825653076, -0.26916375756263733, -0.5386072397232056, -0.11630212515592575, 0.5254533290863037, 0.7185664176940918, -0.8997065424919128, 0.6186864972114563, 0.6986963748931885, -0.20128296315670013, 0.554713249206543, -0.45518580079078674, 0.1222730353474617, -1.0845211744308472, 0.14632581174373627, -0.3398953974246979, 0.044278111308813095, -0.26669639348983765, 0.10987837612628937, -0.5919625759124756, -0.44802966713905334, -0.08549994230270386, 0.5884776711463928, -0.8171325922012329, 0.05547109246253967, -0.2744331359863281, 0.37248343229293823, 0.2269793599843979, 0.6061920523643494, -0.06705819070339203, 0.2363748997449875, 0.5551149249076843, -0.351025253534317, 0.7054466605186462, -0.006545310840010643, -0.6488649845123291, 0.3672715425491333, -0.5348485708236694, 0.025741394609212875, -0.483376681804657, 0.2952417731285095, -0.9655160903930664, -0.4043177664279938, -0.254439115524292, -0.06953500211238861, 0.03366489335894585, -0.12529203295707703, -0.3880777060985565, -0.2588421404361725, -0.24286575615406036, -0.1630427986383438, 0.7749258279800415, -0.20525211095809937, 1.0021536350250244, 0.5544360876083374, -0.40108004212379456, -0.23706835508346558, -0.5500363707542419, 0.3565784990787506, -0.47727707028388977, -0.48950013518333435, 0.6293776035308838, -0.25286391377449036, -0.544465184211731, -0.035474780946969986, 0.29482999444007874, 0.02620934508740902, -0.06915399432182312, 0.647085964679718, 0.3409011662006378, -0.1124466136097908, -0.2152785211801529, 0.03550206869840622, 0.09116527438163757, -0.003654163796454668, -0.1576850563287735, 0.5162039995193481, 0.21901975572109222, -0.25524505972862244, -0.386615514755249, 0.5525655150413513, 0.8083173036575317, -0.3441047668457031, 0.4246215224266052, 0.6086753010749817, -0.1541547328233719, -0.5775974988937378, -0.5302092432975769, 0.16438837349414825, -0.4610069692134857, 0.33432528376579285, -0.1949431598186493, -0.9547427892684937, 0.11296972632408142, 0.043319303542375565, 0.4055081903934479, 0.644263744354248, 0.6757562160491943, -0.33140304684638977, 1.1457947492599487, 0.491682231426239, 0.3605215549468994, 0.3601533770561218, -0.43700218200683594, 0.2780633270740509, -0.775123119354248, -0.13353756070137024, -0.044143661856651306, -0.40685927867889404, -0.3191010653972626, -0.549370288848877, 0.39570948481559753, 0.2631242275238037, 0.06535352766513824, 0.3550572693347931, -0.3936808407306671, 0.7632923126220703, 0.5421643853187561, -0.2018727958202362, 0.4289957582950592, -0.11848842352628708, -0.3537672162055969, -0.08578894287347794, -0.6369028091430664, -0.7752041220664978, 0.8413155674934387, 0.20100730657577515, 1.0573883056640625, 0.33811402320861816, 0.7737789154052734, 0.46584728360176086, 0.6162052750587463, -0.6631088256835938, 0.7608557939529419, -0.22501543164253235, -0.6441221237182617, -0.8094768524169922, 0.003469638293609023, -0.7007296085357666, 0.05783119797706604, -0.44110599160194397, -0.37747514247894287, -0.274914026260376, 0.4100291132926941, -0.5685205459594727, 0.280400812625885, -0.6909616589546204, 0.9611831903457642, -0.3125447928905487, -0.8676764369010925, -0.5657978057861328, -0.5008913278579712, 0.20611819624900818, -0.014902093447744846, 0.33045831322669983, -0.22452525794506073, 0.48274609446525574, 0.5164580345153809, -0.266992449760437, 0.9964898824691772, -0.1837996542453766, -0.2819223403930664, 0.7992224097251892, 0.6355606317520142, 0.38357144594192505, 0.08374443650245667, -0.2449345886707306, -0.23237134516239166, 0.03623122349381447, -0.06380575895309448, -0.5337147116661072, 0.8404332399368286, -0.49855896830558777, -0.7269762754440308, -0.3741971254348755, -0.7601928114891052, -0.2161300629377365, 0.14036794006824493, 0.30163198709487915, 0.6589484810829163, -0.8126383423805237, 0.1796853244304657, 0.2747133672237396, -0.335964173078537, 0.846208393573761, 0.06681044399738312, -0.5771608948707581, -0.3257896304130554, 0.8862773776054382, -0.046398308128118515, 0.19021695852279663, 0.4015785753726959, 0.005112290382385254, -0.3334014415740967, -0.37423229217529297, -0.5723574757575989, 0.14551758766174316, -0.6268004179000854, 0.14834976196289062, -0.5552580952644348, -0.3010910451412201, -0.2907997667789459, -0.5435966849327087, 0.056066833436489105, -0.35165897011756897, -0.09499482810497284, -0.033962953835725784, 0.07403264194726944, 0.9951916337013245, 0.03230766952037811, 0.2662849426269531, -0.8849835395812988, 0.2614441215991974, 0.5716633200645447, 0.22337959706783295, 0.22316323220729828, -0.34109413623809814, -0.36506742238998413, -0.13418415188789368, -0.4786411225795746, -0.3553159832954407, 0.6690297722816467, 0.36996373534202576, 0.5602001547813416, 0.22561465203762054, -0.10708588361740112, 0.49596238136291504, -0.42520660161972046, 0.8186099529266357, 0.05316943675279617, -0.9067301750183105, 0.3840865194797516, -0.45395350456237793, 0.47639337182044983, 0.5061905384063721, 0.14804479479789734, -0.6935759782791138, -0.5760251879692078, -0.5002986788749695, -0.7289385199546814, 0.4786135256290436, -0.0018749901792034507, 0.3284522294998169, 0.2731029689311981, -0.18513187766075134, 0.13786901533603668, 0.38204482197761536, -0.6958543658256531, 0.6484870314598083, -0.20219318568706512, -0.5600007772445679, -0.4064609408378601, -0.19324296712875366, -0.06421703100204468, -0.166595458984375, 0.6384661793708801, -0.13988882303237915, -0.005831447429955006, 0.27816733717918396, -0.44215789437294006, -0.3108992278575897, 0.22567933797836304, 0.46488702297210693, 0.4454170763492584, -0.044686321169137955, 0.421604186296463, -0.09406052529811859, -0.35474804043769836, 0.01915612258017063, -0.24292519688606262, -0.045474544167518616, -0.07031487673521042, 0.7486184239387512, 0.9265877604484558, 0.08654220402240753, -1.0589947700500488, 0.22369956970214844, 0.1632152497768402, -0.38308390974998474, -0.4500935673713684, 0.4593769311904907, 0.25251510739326477, 0.17235241830348969, 0.22189168632030487, 0.11619171500205994, -0.1662053018808365, -0.9815856218338013, 0.08403023332357407, 0.42772290110588074, -0.49819257855415344, -0.020846134051680565, 0.7428531646728516, 0.37563982605934143, -0.841903805732727, 0.4765174090862274, 0.002514373743906617, -0.3075900971889496, 0.6931533217430115, 0.5760672092437744, 0.9129956960678101, -0.1891539841890335, 0.42708882689476013, 0.21097353100776672, 0.1068178117275238, 0.012544899247586727, 0.03253592923283577, 0.17510977387428284, -0.6290174722671509, -0.47050827741622925, -0.7957955002784729, -0.3332584500312805, 0.09654757380485535, -0.10561223328113556, 0.23129111528396606, -0.7024497389793396, -0.09486536681652069, 0.0005351461586542428, -0.21311239898204803, -0.17478272318840027, 0.019406862556934357, 0.16299238801002502, 0.31823694705963135, -0.35622963309288025, 0.6601824164390564, 0.49827876687049866, -0.3023741543292999, -0.7088609337806702, 0.1524987816810608, 0.04909457266330719, -0.49234694242477417, 0.44779279828071594, 0.4706312417984009, -0.10819762200117111, 0.641042172908783, -0.4125974476337433, -0.4770472049713135, 1.2107737064361572, -0.037540268152952194, -0.4891388416290283, -0.2994210422039032, 0.19849416613578796, 0.7680531740188599, -0.7350380420684814, 0.09207409620285034, 0.22273977100849152, 0.29895105957984924, 0.2511354684829712, -0.7025263905525208, -0.22739998996257782, -0.37212997674942017, 0.103420190513134, -0.07852194458246231, -0.17324088513851166, 0.6881117224693298, -0.4349173903465271, -0.11212442070245743, 0.2846980690956116, 0.4326450526714325, 0.30714747309684753, 0.19371627271175385, 0.4667392671108246, 0.15646716952323914, 0.4490523338317871, 0.20086197555065155, 0.7794548869132996, -0.1268037110567093, 0.058031968772411346, 0.8744176626205444, -0.7518717646598816, 0.7443954944610596, 0.41179248690605164, 0.09376410394906998, 0.7461402416229248, 0.1342126727104187, -0.17143245041370392, 0.31177017092704773, 0.6328942179679871, -0.4744929373264313, -0.32572081685066223, -0.18122774362564087, 0.3792138397693634, 0.4140085279941559, 0.12241881340742111, -0.3884160816669464, -0.09789559245109558, 0.2697688341140747, -0.09597944468259811, 0.691525399684906, -0.3600016236305237, 0.8108215928077698, 0.21997380256652832, -1.2016505002975464, 0.3815929591655731, 0.17996680736541748, 0.5762653350830078, -0.6536902785301208, -0.44824662804603577, -0.0804775059223175, 0.39980798959732056, -0.17172887921333313, -0.9386849999427795, 0.38603925704956055, 0.09536229074001312, -0.1495707482099533, -0.5610838532447815, 0.5592845678329468, -0.7951957583427429, -0.40237313508987427, -0.012454054318368435, 0.1453401744365692, 0.09104381501674652, -0.1615891009569168, -0.4633451998233795, 0.15485800802707672, -0.1356155425310135, 0.11835689097642899, 0.07305296510457993, 0.35336369276046753, -0.2992631494998932, 0.5544204711914062, 0.7772766947746277, 0.07270332425832748, -0.14804506301879883, 0.16308586299419403, 0.3473060131072998, -0.5500738024711609, -0.5445780158042908, -1.0485570430755615, 0.835631251335144, -0.3080008327960968, -0.33861157298088074, 0.8046780228614807, 0.5443616509437561, 0.34875819087028503, -0.6218253374099731, 0.8502959609031677, -0.17854174971580505, 0.2789047360420227, -0.8183085918426514, 1.1128705739974976, -0.19774486124515533, 0.24635997414588928, -0.2534736394882202, -1.205377221107483, -0.3243951201438904, 0.5365411639213562, -0.042435675859451294, -0.16904869675636292, 0.7605205178260803, 1.077661395072937, 0.3047270178794861, -0.27991992235183716, 0.6799665093421936, 0.3517715632915497, 0.2952444851398468, 0.6820222735404968, 1.169543743133545, -0.009033994749188423, 0.2583521008491516, 0.09677817672491074, -0.38733038306236267, -0.3197111189365387, -0.9793279767036438, -1.3527698516845703, -0.6455517411231995, -0.14751099050045013, -0.27931076288223267, -0.22355018556118011, 1.018678069114685, 0.4417059123516083, -0.47879675030708313, -0.698936402797699, -0.1935328096151352, -0.0298924557864666, -0.31065070629119873, -0.2177996039390564, 0.14592328667640686, 0.15921662747859955, -0.7264334559440613, 0.49458184838294983, 0.549767017364502, 0.06611604243516922, -0.7873976826667786, -0.0040110754780471325, -0.0597182922065258, 0.4366237223148346, 0.7964039444923401, -0.0007052881992422044, -0.6590461730957031, 0.28713536262512207, -0.03298690542578697, -0.422955721616745, -0.32990339398384094, 0.9908689856529236, -0.5178797841072083, 0.31747275590896606, 0.31652384996414185, 0.44256728887557983, 0.5742255449295044, -0.1543395221233368, 0.8953284025192261, -0.5014641284942627, -0.06772623211145401, 0.41023388504981995, -0.11202608793973923, 0.4440317451953888, -0.5629596710205078, 0.1866711527109146, 0.2434203028678894, -0.4966837763786316, -0.6468797922134399, 0.22550441324710846, -0.8390346765518188, -0.3171781003475189, 1.070027470588684, 0.09050577878952026, -0.23497000336647034, -0.1268407702445984, -0.9107024669647217, 0.08193386346101761, 0.13389542698860168, 0.9044275283813477, 0.762252151966095, -0.09151019155979156, -0.24645009636878967, -0.4080789089202881, 0.8337948322296143, 0.2839696407318115, -0.9413931965827942, 0.2982048988342285, 0.5617337822914124, -0.12720713019371033, -0.03298230096697807, 0.8463319540023804, -0.010385463945567608, -0.06186528876423836, -0.13718107342720032, 0.23159904778003693, -0.22245776653289795, -0.4180773198604584, -0.14583711326122284, 0.1931791752576828, 0.4824700653553009, 0.570403516292572 ]
http://arxiv.org/abs/2406.11682v1
http://arxiv.org/pdf/2406.11682v1
Knowledge-to-Jailbreak: One Knowledge Point Worth One Attack
2024-06-17T15:59:59
2024-06-17T15:59:59
Shangqing Tu, Zhuoran Pan, Wenxuan Wang, Zhexin Zhang, Yuliang Sun, Jifan Yu, Hongning Wang, Lei Hou, Juanzi Li
cs.CL
cs.CL, cs.AI, cs.CR
Large language models (LLMs) have been increasingly applied to various domains, which triggers increasing concerns about LLMs' safety on specialized domains, e.g. medicine. However, testing the domain-specific safety of LLMs is challenging due to the lack of domain knowledge-driven attacks in existing benchmarks. To bridge this gap, we propose a new task, knowledge-to-jailbreak, which aims to generate jailbreaks from domain knowledge to evaluate the safety of LLMs when applied to those domains. We collect a large-scale dataset with 12,974 knowledge-jailbreak pairs and fine-tune a large language model as jailbreak-generator, to produce domain knowledge-specific jailbreaks. Experiments on 13 domains and 8 target LLMs demonstrate the effectiveness of jailbreak-generator in generating jailbreaks that are both relevant to the given knowledge and harmful to the target LLMs. We also apply our method to an out-of-domain knowledge base, showing that jailbreak-generator can generate jailbreaks that are comparable in harmfulness to those crafted by human experts. Data and code: https://github.com/THU-KEG/Knowledge-to-Jailbreak/.
[ -0.26823219656944275, -0.82846999168396, 0.6909356117248535, 0.06253945827484131, -0.055866632610559464, 0.08444920182228088, -0.33675193786621094, -0.4702041745185852, -0.00009264444088330492, 0.9647321105003357, -0.3827129304409027, -0.6926832795143127, -0.7735257744789124, -0.17706745862960815, -0.5054124593734741, 1.0916863679885864, 0.010363172739744186, -0.2940904498100281, -0.16361233592033386, 0.15756577253341675, -0.7219672799110413, -0.7139738202095032, -0.21323001384735107, 0.03376569598913193, 0.4799340069293976, 0.562321126461029, 0.3279382884502411, 0.34443747997283936, 0.5742297172546387, 0.13919422030448914, -0.056538473814725876, 0.15290147066116333, -0.6234233975410461, 0.1614534556865692, -0.4842727780342102, -0.3102472424507141, -0.47113853693008423, -0.013001515530049801, -0.09292527288198471, 0.4886898398399353, -0.05808062106370926, 0.13558140397071838, -0.2629319131374359, 0.9436693787574768, -0.7083414196968079, -0.3093448579311371, -1.140969157218933, -0.2568082809448242, -0.3096327483654022, 0.05200650542974472, -0.7169709801673889, -0.5079571008682251, 0.0004077573830727488, -0.23026475310325623, -0.05928410589694977, 0.2941714823246002, 0.5756381750106812, 0.09873566776514053, -0.41945889592170715, -0.18802286684513092, -0.3645474910736084, 0.5454708933830261, -0.7231082916259766, 0.3046751320362091, 0.5421811938285828, 0.4593575596809387, -0.4134889543056488, -0.5827203989028931, -0.43417924642562866, -0.47667935490608215, 0.16434697806835175, -0.3268263339996338, -0.06685495376586914, -0.1740787923336029, 0.20432345569133759, -0.05401856452226639, -0.4638911187648773, -0.02125006914138794, -0.49063897132873535, -0.004140674136579037, 0.7281585335731506, 0.07239176332950592, 0.5864850282669067, -0.14485770463943481, -0.4867580533027649, 0.20810729265213013, -1.4077396392822266, -0.4173949360847473, 0.38360151648521423, 0.22363583743572235, 0.10625512897968292, 0.6410826444625854, 0.10795231908559799, 0.8835957646369934, 0.015150140039622784, -0.4586654007434845, 0.03725644201040268, -0.16983990371227264, -0.16771352291107178, 0.1004430279135704, 0.7623419165611267, 0.6129454374313354, 0.5054389238357544, -0.709492564201355, -0.029268154874444008, -0.23024968802928925, 0.5743407607078552, -0.8850558996200562, -0.34232473373413086, 0.1355052888393402, -0.03594695404171944, -0.6495809555053711, -0.10385886579751968, -0.5142998695373535, -0.829605758190155, 0.3155195713043213, 0.45416754484176636, -0.7831841707229614, -0.19242814183235168, 0.18884077668190002, -0.22422511875629425, -0.11368760466575623, -0.01971615105867386, -0.901002824306488, 0.25282585620880127, 0.5884135365486145, 0.60556960105896, -0.20773616433143616, -0.4756896495819092, -0.3595085144042969, 0.5057333111763, -0.23136189579963684, 0.7076240181922913, -0.09867266565561295, -0.428324431180954, -0.19620046019554138, -0.36435219645500183, -0.09890645742416382, -0.8440642952919006, 0.03326240926980972, -0.7258473634719849, -0.47353291511535645, -0.11726638674736023, -0.9087194204330444, 0.025330064818263054, 0.40222257375717163, -0.6815223097801208, 0.36629238724708557, 0.15535667538642883, -0.831617534160614, 0.4911685585975647, -0.5287858843803406, -0.7635055184364319, -0.1923476755619049, 0.11045455932617188, -0.45110055804252625, -0.05261794850230217, 0.14530010521411896, 0.5185990333557129, -0.4369536340236664, 0.6410365104675293, -0.4150206744670868, 0.02584068477153778, 0.4556552767753601, 0.04530409723520279, 0.7750527858734131, 0.15586678683757782, -0.4153878688812256, -0.3228587508201599, -0.7109398245811462, -0.04750727117061615, 0.50350022315979, -0.3354279100894928, -0.6394149661064148, 0.11925377696752548, -0.2581580579280853, 0.24590155482292175, 0.30550360679626465, -0.6868472099304199, 0.27819564938545227, -0.39292582869529724, 0.5424789190292358, 0.5889467597007751, 0.4651910662651062, 0.18714290857315063, -0.23662069439888, 0.29832181334495544, -0.017290674149990082, 0.2960893511772156, 0.03361251950263977, -0.43474870920181274, -0.24688304960727692, -0.042240824550390244, 0.39806491136550903, 0.5279949903488159, -0.5731475353240967, 0.6060472130775452, -0.12038075923919678, -0.621483564376831, -0.19885988533496857, 0.4563911259174347, 0.5403218865394592, 0.6325964331626892, 0.43098336458206177, -0.2992294728755951, -0.4695487916469574, -0.5822635293006897, -0.7403756976127625, -0.27391162514686584, 0.19676604866981506, 0.2095169872045517, 0.5929179787635803, -0.38412246108055115, 0.9514546394348145, -0.712953507900238, -0.2474549114704132, -0.333883136510849, -0.3461112976074219, -0.03785521164536476, 0.5489594340324402, 0.7683865427970886, -0.42434772849082947, -0.2537110447883606, -0.2074056714773178, -0.8567529320716858, 0.03460804000496864, 0.2620505392551422, -0.002928805770352483, -0.1301557570695877, 0.6250963807106018, -0.6265931129455566, 0.2662239670753479, 0.4102931022644043, -0.6499970555305481, 0.8707312941551208, 0.04209163412451744, 0.07683578133583069, -1.099339246749878, 0.08403705805540085, -0.0826944038271904, -0.0496269091963768, -0.8184763789176941, 0.43753916025161743, 0.20542806386947632, -0.06548397243022919, -0.6568623185157776, 0.5037558674812317, -0.03938618302345276, 0.1975255310535431, -0.12580852210521698, 0.14904871582984924, -0.009208538569509983, 0.055174436420202255, -0.28894561529159546, 0.7845419049263, 0.32544782757759094, -0.2821033000946045, 0.2999260425567627, 0.35031381249427795, -0.8075933456420898, 0.0769268199801445, -0.44192183017730713, 0.4316825270652771, 0.3266771137714386, -0.17787817120552063, -0.6828243732452393, -0.29290908575057983, -0.10188092291355133, -0.4798034429550171, 0.2000139057636261, -0.415569931268692, -0.5693751573562622, -0.22851265966892242, -0.1402130126953125, 0.3923432528972626, 0.599787712097168, -0.676020085811615, 0.10341725498437881, 0.8662492632865906, -0.256070613861084, -0.5876820087432861, -0.5929241180419922, 0.2899620532989502, -0.4952002465724945, -0.905773937702179, 0.10020466893911362, -0.023009266704320908, -0.5827203989028931, -0.15330149233341217, -0.01556958258152008, -0.10965225100517273, 0.47025689482688904, 0.4381990432739258, 0.35514864325523376, 0.17374597489833832, 0.046359315514564514, 0.14029650390148163, 0.06554517149925232, 0.5221287608146667, -0.5825802087783813, 0.39400017261505127, 0.10529542714357376, -0.3601204752922058, 0.13879872858524323, 0.20643013715744019, 0.5530543327331543, -0.32533809542655945, 0.8602970838546753, -0.1818540245294571, -0.26609665155410767, -0.49809524416923523, -0.6053498387336731, -0.1303611844778061, -0.473168283700943, 0.33339646458625793, -0.28882458806037903, -1.0383459329605103, 0.1898006945848465, -0.7191770672798157, 0.07021676003932953, 0.2057904750108719, 0.5477615594863892, 0.03754030168056488, 0.6505668759346008, 0.8034952878952026, -0.4483819603919983, 0.0860968679189682, -0.10040920227766037, 0.5820146203041077, -0.5061050057411194, -0.3734254539012909, -0.38870832324028015, 0.04680797830224037, -0.047609493136405945, -0.3256611227989197, 0.44360458850860596, 0.3778480291366577, -0.368238627910614, 0.6664300560951233, -0.1336057484149933, 0.662614107131958, 0.2796557545661926, 0.29906633496284485, 0.41296571493148804, -0.08604263514280319, -0.2711555063724518, 0.1353592425584793, -0.5049591064453125, -0.4378581941127777, 1.5621755123138428, 0.2302146703004837, 0.8637920022010803, 0.17735689878463745, 0.9567583799362183, 0.47668540477752686, 0.45206719636917114, -0.7207866311073303, 0.5053924918174744, -0.2050400674343109, -0.7548631429672241, -0.2240070402622223, -0.41705936193466187, -0.6135125160217285, -0.21918775141239166, 0.008156840689480305, -0.9265025854110718, -0.2720188796520233, 0.22084689140319824, -0.3285774886608124, 0.5241702198982239, -0.8256286978721619, 1.014641284942627, -0.4775735139846802, -0.19903557002544403, -0.2228364646434784, -0.6809995174407959, 0.9091838598251343, -0.5887901186943054, 0.5521886348724365, -0.17786532640457153, 0.5582636594772339, 0.8572373986244202, -0.8104857206344604, 0.8457143902778625, -0.38123825192451477, -0.21643269062042236, 0.3264278769493103, 0.45565927028656006, 0.5042970776557922, 0.2371062934398651, -0.15189877152442932, 0.052355922758579254, -0.4170853793621063, -0.2075616866350174, -0.5058149099349976, 0.7523260116577148, -0.7607002258300781, -0.9493849277496338, 0.111917644739151, -0.679988443851471, -0.5654278993606567, 0.21569858491420746, 0.24257473647594452, 0.12410364300012589, -0.222652405500412, -0.3141810894012451, 0.9007371068000793, -0.3967597186565399, 0.023895908147096634, 0.5983337759971619, -0.35591381788253784, -0.31927573680877686, 1.010731816291809, -0.1823194921016693, 0.42174044251441956, 0.08780393749475479, 0.157095268368721, -0.042162276804447174, -0.9695541262626648, -0.4656197130680084, 0.011377152986824512, -0.6735730171203613, -0.5517793893814087, -0.40101373195648193, -0.4206238389015198, -0.4694260060787201, -0.2966814935207367, -0.4999791085720062, -0.36564943194389343, 0.16957688331604004, -0.35963737964630127, 0.825977623462677, 0.8230183124542236, -0.03617386519908905, 0.12270057201385498, -0.9597364068031311, 0.3516347408294678, 0.49826011061668396, 0.20427778363227844, -0.29964229464530945, -0.5166603922843933, -0.29262635111808777, -0.2992042899131775, -0.1586431860923767, -0.997585117816925, 0.35595694184303284, 0.05121682584285736, 0.332123339176178, 0.43643245100975037, 0.2636815905570984, 0.4765530228614807, -0.9024187922477722, 0.6652766466140747, 0.5040183067321777, -0.9217446446418762, 1.0506881475448608, -0.3331875503063202, -0.23312602937221527, 0.8417635560035706, 0.19159390032291412, -0.3182852566242218, -0.8060826063156128, -0.4935687184333801, -1.013798713684082, 0.23854149878025055, -0.02406761422753334, 0.06159451976418495, -0.14616142213344574, 0.47833067178726196, 0.3486180603504181, 0.14547200500965118, -0.49691927433013916, -0.287784606218338, 0.019850797951221466, 0.024899238720536232, 0.18440687656402588, -0.12596862018108368, -0.37598830461502075, -0.17220821976661682, 0.6034669876098633, 0.1752457469701767, 0.02308053895831108, -0.19315142929553986, -0.4731694161891937, -0.16355280578136444, 0.3568742871284485, 0.3049524128437042, 0.749565064907074, -0.3083316683769226, 0.26222312450408936, 0.07250794023275375, -0.717954158782959, 0.4090889096260071, 0.016033506020903587, -0.16740216314792633, -0.3294943571090698, 0.24942710995674133, 0.5432438254356384, -0.10175256431102753, -1.2277854681015015, 0.7601510286331177, 0.028879493474960327, -0.2954821288585663, -0.2514559030532837, 0.3921545445919037, 0.22013065218925476, 0.2187531441450119, 0.17218364775180817, 0.20131802558898926, -0.19325178861618042, -0.5157849192619324, 0.5821413397789001, 0.29037192463874817, -0.05908186733722687, -0.18222257494926453, 0.7948771119117737, 0.17507629096508026, -0.1502779871225357, 0.5865805745124817, -0.17262975871562958, -0.5601692795753479, 0.6100670099258423, 0.7758672833442688, 0.6194755434989929, -0.18562553822994232, -0.013687258586287498, 0.12931042909622192, 0.48281463980674744, 0.022186024114489555, 0.12724818289279938, 0.3733087182044983, -0.8666549324989319, -0.4561804234981537, -0.4127369821071625, -0.370945006608963, 0.3381516933441162, -0.5005584359169006, 0.07970055192708969, -0.6134135127067566, -0.25320714712142944, -0.02838870882987976, -0.22404693067073822, -0.3158610165119171, 0.23084494471549988, -0.02966579608619213, 1.3194036483764648, -0.746938943862915, 1.234607219696045, 0.6088181734085083, -0.049620822072029114, -0.8525711297988892, 0.14276915788650513, -0.011424432508647442, -0.8146879076957703, 0.807057797908783, 0.08295207470655441, 0.004600029904395342, -0.11007604748010635, -0.7498420476913452, -0.6781500577926636, 0.9867550134658813, 0.5850615501403809, -0.8881101012229919, 0.03739655017852783, 0.2196052074432373, 0.0538238063454628, -0.19725053012371063, -0.5996810793876648, 1.0626922845840454, 0.5105038285255432, -0.3657744824886322, -0.7952735424041748, 0.28232690691947937, -0.21873614192008972, -0.39344820380210876, 0.552143394947052, -0.3308700919151306, 0.5805796980857849, -0.8516792058944702, 0.3091132938861847, -0.016188694164156914, 0.3203124701976776, 0.6957279443740845, 0.1516287624835968, 0.48487383127212524, 0.8910653591156006, 0.6340284943580627, 0.10473884642124176, 0.9006075859069824, -0.619049072265625, 0.20765352249145508, 1.138855218887329, -0.4406674802303314, 0.7567286491394043, 0.5961936712265015, 0.011152811348438263, 0.35435980558395386, 0.0524013489484787, -0.13916411995887756, 0.9887734055519104, 0.6002345085144043, -0.4034253656864166, -0.1914912909269333, 0.3272586166858673, -0.20775017142295837, 0.1941070556640625, 0.5613806247711182, -0.4106447696685791, -0.160522922873497, 0.3412632942199707, 0.4783831834793091, -0.000039459060644730926, -0.2936360239982605, 0.7605236768722534, 0.3665056526660919, -0.60687255859375, 0.6632227301597595, 0.38658249378204346, 0.379800409078598, -0.5861161351203918, 0.23165877163410187, -0.0797501727938652, 0.19660988450050354, -0.13578464090824127, -0.6988829374313354, 0.25173506140708923, 0.5975099802017212, -0.094479501247406, 0.0868302583694458, 1.2776223421096802, -0.15318042039871216, -0.13487279415130615, 0.6367164850234985, 0.6399259567260742, 0.06712467223405838, -0.33115920424461365, -0.28718653321266174, -0.14933069050312042, -0.08192981034517288, -0.36859065294265747, 0.7700350284576416, 0.16362589597702026, -0.016456108540296555, 0.600042462348938, 0.4998467266559601, 0.27555787563323975, 0.2383897304534912, 0.04345422983169556, 1.2434422969818115, -0.8753823041915894, -0.1592794954776764, -1.0175987482070923, 0.3249734044075012, 0.03899388015270233, -0.2182665467262268, 0.7583763599395752, 0.3936942517757416, 0.7265040874481201, -0.1457822024822235, 1.3585572242736816, -0.42689329385757446, 0.32898104190826416, -0.5624918341636658, 1.2417861223220825, -0.332269549369812, 0.5245454907417297, -0.2987673878669739, -0.30300840735435486, -0.3243386447429657, 0.22986823320388794, -0.5316586494445801, -0.35281938314437866, 0.7040546536445618, 0.6952813267707825, 0.2941543757915497, -0.12382220476865768, 0.45554882287979126, 0.28103020787239075, 0.196894109249115, 0.8504736423492432, 1.0285158157348633, -0.3704279363155365, 0.5520740151405334, -0.362727552652359, -0.19225440919399261, -0.04331216588616371, -0.8419098854064941, -1.3144491910934448, -0.24468228220939636, -0.15235286951065063, -0.6681414246559143, 0.5414084792137146, 0.6516377925872803, 0.6451333165168762, -0.7953262329101562, -0.1582231968641281, -0.20633721351623535, 0.24226820468902588, -0.10702680796384811, -0.13438530266284943, 0.2751043736934662, -0.3958844542503357, -0.07298243045806885, 0.8983739614486694, 0.24509868025779724, -0.23265020549297333, 0.02763230726122856, -0.06999661028385162, 0.1284114420413971, -0.06712556630373001, 0.7062440514564514, 0.19421999156475067, -0.34187182784080505, -0.3238506317138672, -0.106173574924469, -0.09354034811258316, -0.18714596331119537, 1.0296865701675415, -0.7162753343582153, 0.07713889330625534, 0.19619342684745789, 0.810173511505127, 0.23446951806545258, -0.07833558320999146, 0.6487922072410583, -0.9368188977241516, -0.11622003465890884, 0.04935097694396973, 0.41150104999542236, 0.060093048959970474, -0.39588719606399536, 0.4333995580673218, 0.2753413915634155, -0.5439315438270569, -0.7825815081596375, 0.34706032276153564, -0.6835771799087524, -0.7397639155387878, 1.223554015159607, -0.4638117551803589, -0.2807956635951996, -0.41121333837509155, 0.11950045824050903, 0.00034331512870267034, -0.26533108949661255, 1.1248992681503296, 0.3246172070503235, 0.21495112776756287, 0.20009204745292664, -0.5884539484977722, 0.6515617370605469, 0.02317877858877182, -1.205524206161499, 0.36372438073158264, 0.1436007171869278, 0.9180920124053955, 0.03840978071093559, 0.4815210998058319, -0.37883448600769043, 0.33032068610191345, -0.1371389478445053, 0.2118268460035324, -0.27698442339897156, -0.5745661854743958, 0.12847478687763214, 0.42473360896110535, 0.48000144958496094, 0.2621748447418213 ]
http://arxiv.org/abs/2406.11681v1
http://arxiv.org/pdf/2406.11681v1
R-Eval: A Unified Toolkit for Evaluating Domain Knowledge of Retrieval Augmented Large Language Models
2024-06-17T15:59:49
2024-06-17T15:59:49
Shangqing Tu, Yuanchun Wang, Jifan Yu, Yuyang Xie, Yaran Shi, Xiaozhi Wang, Jing Zhang, Lei Hou, Juanzi Li
cs.CL
cs.CL, cs.AI
Large language models have achieved remarkable success on general NLP tasks, but they may fall short for domain-specific problems. Recently, various Retrieval-Augmented Large Language Models (RALLMs) are proposed to address this shortcoming. However, existing evaluation tools only provide a few baselines and evaluate them on various domains without mining the depth of domain knowledge. In this paper, we address the challenges of evaluating RALLMs by introducing the R-Eval toolkit, a Python toolkit designed to streamline the evaluation of different RAG workflows in conjunction with LLMs. Our toolkit, which supports popular built-in RAG workflows and allows for the incorporation of customized testing data on the specific domain, is designed to be user-friendly, modular, and extensible. We conduct an evaluation of 21 RALLMs across three task levels and two representative domains, revealing significant variations in the effectiveness of RALLMs across different tasks and domains. Our analysis emphasizes the importance of considering both task and domain requirements when choosing a RAG workflow and LLM combination. We are committed to continuously maintaining our platform at https://github.com/THU-KEG/R-Eval to facilitate both the industry and the researchers.
[ -0.41751763224601746, -0.876529335975647, 0.3640807569026947, 0.2336561530828476, -0.03450851887464523, 0.4592426121234894, -0.5682425498962402, -0.3405151665210724, 0.08542605489492416, 0.7360098958015442, -0.3158584535121918, -0.5013811588287354, -0.5898495316505432, 0.2635681927204132, -0.30766817927360535, 1.1292437314987183, -0.16561396420001984, -0.18633027374744415, -0.48677632212638855, -0.14144620299339294, -0.5870518684387207, -0.2841856777667999, -0.3343532681465149, -0.8037778735160828, 0.7075247168540955, 0.27336636185646057, 0.5176877379417419, 0.1388513594865799, 0.8245990872383118, 0.19554951786994934, -0.0725148469209671, 0.2970159649848938, -0.33387574553489685, 0.6096546053886414, -0.5414872169494629, -0.16711412370204926, -0.550791323184967, -0.15603046119213104, 0.46938079595565796, 0.6919575929641724, -0.3667660057544708, 0.6010796427726746, 0.16282771527767181, 0.7380484342575073, -0.9861957430839539, -0.008963318541646004, -0.5472095608711243, -0.024952629581093788, -0.09261191636323929, -0.34671828150749207, -0.5486255288124084, -0.14325931668281555, 0.07874633371829987, -0.3144589066505432, -0.05848002806305885, 0.25868114829063416, 0.7116267085075378, 0.24294552206993103, -0.18334273993968964, -0.1546003371477127, -0.743050754070282, 1.0132017135620117, -0.6493191719055176, 0.4492424726486206, 0.47909823060035706, 0.27502700686454773, -0.24622602760791779, -0.8111637234687805, -0.23042549192905426, -0.3253759443759918, -0.20013932883739471, -0.02855403907597065, -0.32947635650634766, 0.047014061361551285, 0.1956309825181961, 0.3922021985054016, -0.9348340034484863, 0.02641519159078598, -0.25737664103507996, -0.06734734028577805, 0.5265611410140991, 0.3671755790710449, 0.32233095169067383, -0.1045069620013237, -0.44371581077575684, -0.11955022066831589, -0.6643450260162354, -0.28861117362976074, 0.11863522231578827, 0.25892218947410583, 0.06911192834377289, 0.668878436088562, -0.04160790145397186, 0.8251028656959534, -0.3805067837238312, -0.17863966524600983, 0.2987750768661499, -0.07166460901498795, -0.3224043846130371, -0.4971607029438019, 0.7888999581336975, 0.060494277626276016, 0.14330244064331055, -0.21280230581760406, -0.5394702553749084, -0.10915469378232956, 0.508679986000061, -0.7044447660446167, -0.09037496894598007, 0.26675814390182495, -0.3193216323852539, -0.06414948403835297, -0.022103212773799896, -0.9236190319061279, -0.30838969349861145, -0.34106287360191345, 0.5977370738983154, -0.2752898633480072, -0.43156927824020386, 0.16334983706474304, -0.08931121230125427, 0.17382122576236725, 0.3845701813697815, -0.38692113757133484, 0.353446364402771, 1.1227613687515259, 0.7511882185935974, -0.5149410367012024, -0.401157021522522, -0.7948576211929321, -0.36531901359558105, -0.3306141197681427, 0.812179446220398, -0.9550603032112122, -0.28313034772872925, 0.06628943234682083, -0.1841573864221573, -0.2630904018878937, -0.7701526284217834, 0.5980589985847473, -0.8656201958656311, -0.00495940400287509, 0.2212650328874588, -0.5327030420303345, -0.1845211684703827, 0.33663830161094666, -0.5921462774276733, 1.2648338079452515, 0.3074953854084015, -0.631466805934906, 0.10470395535230637, -0.6219858527183533, -0.4746358096599579, 0.47339877486228943, 0.054412841796875, -0.39567744731903076, 0.08327313512563705, -0.022345084697008133, 0.6147280931472778, -0.5276591181755066, 0.1774328351020813, -0.34199440479278564, -0.39444684982299805, 0.2515290379524231, -0.26201894879341125, 0.5964913964271545, 0.3546953499317169, -0.033977676182985306, 0.11996817588806152, -0.5735988616943359, 0.4197527766227722, -0.08896759897470474, -0.40145793557167053, -0.4572894275188446, -0.28975486755371094, 0.34082844853401184, -0.019927112385630608, 0.12332501262426376, -0.27313655614852905, 0.2230299413204193, -0.32868054509162903, 0.21324287354946136, 0.4918361008167267, 0.02617586776614189, 0.3585813045501709, -0.2356412559747696, 1.1589734554290771, -0.5513960719108582, -0.03244473785161972, -0.1876082867383957, -0.45586028695106506, -0.5635334253311157, -0.34066715836524963, 0.4628700613975525, 0.5097173452377319, -0.5770571231842041, 0.5148304104804993, -0.22521045804023743, -0.598105251789093, -0.5858902931213379, 0.3420119285583496, 0.6555557250976562, 0.0639863908290863, 0.25007519125938416, -0.16714009642601013, -0.5458469986915588, -0.7943565845489502, -0.31500282883644104, 0.050833769142627716, 0.016776403412222862, 0.4642608165740967, 0.8555049300193787, -0.5724172592163086, 0.9855123162269592, -0.5209384560585022, -0.5181617736816406, -0.61756432056427, 0.27562302350997925, 0.2889808118343353, 0.18459904193878174, 0.2031007558107376, -0.6769225001335144, -0.5765476822853088, 0.2738953232765198, -0.3347415626049042, -0.302791953086853, 0.33612045645713806, 0.07652222365140915, 0.33872708678245544, -0.01296191941946745, -0.6204487085342407, 0.46571576595306396, 0.6966680288314819, -0.12319209426641464, 0.8322288393974304, -0.28244954347610474, 0.2426173985004425, -0.7661581635475159, 0.37569621205329895, 0.10740246623754501, -0.245218887925148, -0.5595872402191162, 0.3757912814617157, 0.30176204442977905, -0.056685999035835266, -0.33505508303642273, 1.0095329284667969, -0.39825108647346497, -0.2897129952907562, -0.31469935178756714, 0.15204761922359467, 0.41932910680770874, 0.2549051344394684, 0.0461277961730957, 1.0261770486831665, 0.40454256534576416, -0.5495254397392273, 0.35884979367256165, 0.08996302634477615, -0.5189096331596375, 0.4025888442993164, -0.4710001051425934, 0.3743450939655304, 0.2415996491909027, 0.208856999874115, -0.5531679391860962, -0.19942732155323029, -0.02171831578016281, -0.4436516761779785, 0.40653249621391296, -0.36414310336112976, -0.38633713126182556, -0.4132278561592102, -0.31363728642463684, 0.3827279508113861, 0.69142085313797, -0.6473987698554993, 0.8767127394676208, 0.4424455761909485, -0.20360709726810455, -1.117971658706665, -0.28158122301101685, 0.30767109990119934, -0.44431251287460327, -0.4753870666027069, 0.13609188795089722, -0.06304295361042023, -0.5601440668106079, 0.08164780586957932, -0.13643477857112885, -0.2151230275630951, 0.099805548787117, 0.17753052711486816, 0.285332590341568, -0.14397406578063965, -0.06953062862157822, -0.3367757797241211, -0.09823589026927948, 0.06853152811527252, 0.04266733303666115, 0.5200725793838501, -0.2246442288160324, -0.38298678398132324, -0.17735998332500458, -0.013246099464595318, 0.37736478447914124, -0.4911843538284302, 0.2941148579120636, 0.6205448508262634, -0.2536727786064148, -0.9956445097923279, -0.6630138754844666, 0.013382973149418831, -0.4279974102973938, 0.5195247530937195, -0.31919384002685547, -0.8617114424705505, 0.400250643491745, -0.23036780953407288, 0.02045081928372383, 0.24216043949127197, 0.7333991527557373, 0.10818836092948914, 0.6873579025268555, 0.48682940006256104, -0.013064202852547169, 0.01605350896716118, -0.4076547920703888, 0.3880268931388855, -1.2416731119155884, -0.2074827253818512, -0.6461277604103088, 0.08011233061552048, 0.06969024986028671, -0.7135486602783203, 0.345759779214859, 0.08685602992773056, -0.004808847326785326, 0.32875195145606995, -0.42151668667793274, 0.6226563453674316, 0.1371116042137146, -0.23997047543525696, 0.3313977122306824, -0.0973755344748497, 0.04216049239039421, 0.028468169271945953, -0.6191914081573486, -0.5899839401245117, 1.2378400564193726, 0.19438280165195465, 1.2810736894607544, -0.16350845992565155, 0.6517091393470764, 0.753991425037384, 0.45851215720176697, -0.9526482224464417, 0.586966335773468, 0.0067923483438789845, -0.3367019295692444, -0.11119072884321213, -0.36548593640327454, -1.2040451765060425, 0.48288804292678833, -0.09786771237850189, -0.5859112739562988, -0.31600725650787354, -0.05878937616944313, -0.3596149682998657, 0.2839004397392273, -0.44294047355651855, 0.8097332715988159, -0.14190728962421417, -0.3493010997772217, -0.3909083604812622, -0.1754530966281891, 0.4485528767108917, -0.2973937392234802, 0.42158040404319763, -0.06996988505125046, 0.013960251584649086, 0.7401503324508667, -0.2876543402671814, 0.5225573778152466, 0.048118893057107925, -0.12701480090618134, 0.27966824173927307, 0.29285261034965515, 0.38652291893959045, 0.03752267360687256, 0.014149846509099007, 0.18448495864868164, 0.0929686650633812, 0.0960320457816124, -0.7569137811660767, 0.8196960091590881, -0.4388852119445801, -0.5344436168670654, -0.6093976497650146, -0.6271547079086304, -0.20620204508304596, 0.08677276968955994, -0.35072070360183716, 0.5656414031982422, -0.23852607607841492, 0.38919737935066223, 0.5986447334289551, -0.4317217767238617, 0.10646522790193558, 0.6130089163780212, -0.6978207230567932, -0.3449648916721344, 0.861176073551178, -0.3041497766971588, 0.3081580102443695, 0.3027130663394928, 0.3146919906139374, -0.3340930640697479, -0.4731035530567169, -0.35141485929489136, 0.12509110569953918, -0.7927504181861877, -0.6055402159690857, -0.6664490699768066, -0.1907453089952469, -0.21712608635425568, -0.0026533533819019794, -0.39934587478637695, -0.22321994602680206, -0.02621467597782612, 0.22776176035404205, 0.4590848982334137, 1.020136833190918, -0.0818718746304512, -0.2284563183784485, -0.7905707359313965, 0.4091021418571472, 0.11424864083528519, 0.46446216106414795, 0.11038831621408463, -0.734771728515625, -0.33549514412879944, -0.19819718599319458, -0.0957472175359726, -0.42429298162460327, 0.6155803799629211, 0.29214686155319214, 0.5263509154319763, 0.036345191299915314, 0.11445126682519913, 0.5966634750366211, -0.670732855796814, 0.675613284111023, -0.07822836935520172, -0.6904293298721313, 0.40123626589775085, -0.057813048362731934, -0.1680128574371338, 0.3017118275165558, 0.2042541205883026, -0.5570412278175354, -0.3762747049331665, -0.5007105469703674, -1.0021369457244873, 0.6045973896980286, 0.020301049575209618, 0.09376506507396698, 0.13764114677906036, 0.26601964235305786, 0.2900899052619934, -0.06953727453947067, -0.43907010555267334, -0.2734973132610321, 0.3700309097766876, 0.0014265654608607292, 0.11537956446409225, -0.1617467850446701, -0.21494761109352112, -0.13592718541622162, 0.8503509163856506, 0.06730461120605469, -0.10176025331020355, -0.020695172250270844, -0.38897061347961426, -0.1154920756816864, 0.6048761010169983, 0.30892103910446167, 1.1090061664581299, -0.34526732563972473, 0.08384387940168381, 0.22445262968540192, -0.49752748012542725, 0.07622906565666199, -0.06666716188192368, 0.1371716558933258, 0.020128261297941208, 0.5361620187759399, 0.6141582131385803, 0.3124152719974518, -1.0851141214370728, 0.49762746691703796, -0.02811349555850029, -0.1422901600599289, -0.3405214846134186, 0.34450477361679077, -0.03603460639715195, 0.18441325426101685, 0.5559847950935364, -0.024576319381594658, 0.038636285811662674, -0.30150964856147766, 0.4124584197998047, 0.6078786849975586, -0.03250332921743393, -0.20009064674377441, 0.3659423887729645, -0.03276576101779938, -0.8234604597091675, 0.20977038145065308, -0.23609551787376404, -0.6186876893043518, 0.5431416630744934, 0.5170379877090454, 0.9525114297866821, -0.20590204000473022, 0.20762772858142853, 0.3248610496520996, 0.18153847754001617, -0.09439972788095474, 0.04141566902399063, 0.12363918870687485, -0.5107596516609192, -0.8816381096839905, -0.9355067610740662, -0.7090404629707336, 0.4711155593395233, -0.9302651286125183, 0.21066731214523315, -0.055872559547424316, -0.018562383949756622, -0.12402234226465225, 0.1357518434524536, -0.8535135984420776, 0.06985340267419815, -0.22277803719043732, 0.863806962966919, -0.5924400091171265, 0.8650444149971008, 0.8858928680419922, -0.20997528731822968, -0.5502259731292725, -0.2358063906431198, -0.24594365060329437, -0.968113124370575, 0.9901662468910217, -0.052414149045944214, -0.2621486485004425, -0.0931694284081459, -0.14655163884162903, -0.740085244178772, 0.9312002062797546, -0.06331117451190948, -0.42855218052864075, 0.36159586906433105, 0.12923891842365265, 0.5514802932739258, -0.43655091524124146, 0.33139732480049133, 0.678098738193512, 0.6270070672035217, -0.12109058350324631, -1.144546627998352, -0.14065931737422943, -0.22726815938949585, 0.10032075643539429, 0.21364279091358185, -0.0869634598493576, 0.5357454419136047, -0.2978852689266205, -0.1781398355960846, 0.11833467334508896, 0.318911612033844, 0.3741087317466736, 0.24009132385253906, 0.45704200863838196, 0.7686603665351868, 0.470059871673584, 0.058035269379615784, 1.081192970275879, -0.3540785610675812, 0.7264644503593445, 1.0529667139053345, -0.6242817044258118, 1.099186897277832, 0.27946120500564575, -0.46748417615890503, 0.2723272442817688, 0.16501006484031677, 0.08210820704698563, 0.15420086681842804, 0.3064269423484802, -0.1981610506772995, -0.35549435019493103, -0.007958775386214256, -0.22205409407615662, 0.3753930926322937, 0.501720666885376, 0.04970839247107506, -0.5497377514839172, 0.24607384204864502, -0.14185482263565063, 0.1977972388267517, -0.23095285892486572, 0.636206865310669, 0.2421848177909851, -0.759366512298584, 0.7643376588821411, -0.011991099454462528, 0.7667896151542664, -0.7136653661727905, -0.2877850830554962, -0.1440383940935135, 0.3267972469329834, -0.2533194422721863, -1.1218870878219604, 0.2846270203590393, 0.2829515337944031, 0.0091169448569417, -0.35381466150283813, 1.0555521249771118, -0.3411049246788025, -0.26732137799263, 0.6089574098587036, 0.6480699777603149, 0.24434681236743927, -0.10658246278762817, -0.9916616082191467, 0.4605531394481659, -0.19024977087974548, -0.7038880586624146, 0.59528648853302, 0.14666156470775604, 0.14883539080619812, 0.8932811617851257, 0.6230334639549255, 0.3101353347301483, -0.21795517206192017, 0.33265817165374756, 0.6733989715576172, -0.5215833187103271, 0.0867123082280159, -0.7969356179237366, 0.45423033833503723, 0.24587877094745636, -0.14865174889564514, 0.8580878973007202, 0.6564599275588989, 0.6311537027359009, -0.013378314673900604, 0.9049208164215088, -0.16307778656482697, 0.7701662182807922, -0.3703615665435791, 0.7421057820320129, -0.6839010715484619, 0.3479050099849701, -0.1802062839269638, -1.1811476945877075, -0.3915904462337494, 0.6959241032600403, -0.14979803562164307, 0.05851458013057709, 0.7615054845809937, 0.8920965194702148, -0.09754425287246704, -0.17798377573490143, 0.40107837319374084, 0.05434408411383629, 0.3259446918964386, 0.27287763357162476, 1.0103206634521484, -0.15855836868286133, 0.43770694732666016, -0.25015774369239807, -0.137641042470932, -0.23064443469047546, -1.0376266241073608, -0.9055538773536682, -0.5946553349494934, -0.2837142050266266, -0.5010393261909485, 0.10186824202537537, 1.0089987516403198, 0.47253283858299255, -0.5851672291755676, -0.3789516091346741, 0.34178799390792847, 0.2663561701774597, -0.1707151234149933, -0.32319268584251404, 0.48040926456451416, -0.7125689387321472, -0.6142411828041077, 0.6608211398124695, 0.5263068079948425, -0.6196632981300354, -0.4809175431728363, -0.2263602614402771, -0.10178929567337036, -0.09232138097286224, 0.6570072174072266, 0.2908472716808319, -0.850598931312561, -0.2396283596754074, -0.08843091130256653, 0.05269363522529602, 0.023272888734936714, 0.8179900646209717, -0.83836829662323, 0.3269718587398529, 0.39139309525489807, 0.9144691228866577, 0.28950387239456177, -0.010612774640321732, 0.41848739981651306, -0.5888774991035461, -0.26895809173583984, 0.4990901052951813, 0.4152090847492218, 0.22947315871715546, -0.03714030608534813, 0.757166862487793, -0.09334056079387665, -0.9035194516181946, -1.2000433206558228, -0.011651619337499142, -0.9410209059715271, -0.33891233801841736, 1.5994704961776733, -0.29039591550827026, -0.25567808747291565, -0.24171596765518188, -0.1158306747674942, -0.3314904570579529, -0.15147154033184052, 0.548865020275116, 0.6192117929458618, -0.04616386443376541, 0.031700097024440765, -0.8843470215797424, 0.46141257882118225, 0.3122285306453705, -0.7458049654960632, 0.41560104489326477, 0.38112950325012207, 0.6017731428146362, 0.10271835327148438, 0.4905516505241394, 0.11375481635332108, 0.18849501013755798, -0.434166818857193, 0.2910906970500946, -0.08364953100681305, -0.45685866475105286, -0.45389795303344727, 0.10807628184556961, 0.10317131876945496, 0.3537837564945221 ]
http://arxiv.org/abs/2406.11678v1
http://arxiv.org/pdf/2406.11678v1
TourRank: Utilizing Large Language Models for Documents Ranking with a Tournament-Inspired Strategy
2024-06-17T15:58:22
2024-06-17T15:58:22
Yiqun Chen, Qi Liu, Yi Zhang, Weiwei Sun, Daiting Shi, Jiaxin Mao, Dawei Yin
cs.IR
cs.IR, cs.CL
Large Language Models (LLMs) are increasingly employed in zero-shot documents ranking, yielding commendable results. However, several significant challenges still persist in LLMs for ranking: (1) LLMs are constrained by limited input length, precluding them from processing a large number of documents simultaneously; (2) The output document sequence is influenced by the input order of documents, resulting in inconsistent ranking outcomes; (3) Achieving a balance between cost and ranking performance is quite challenging. To tackle these issues, we introduce a novel documents ranking method called TourRank, which is inspired by the tournament mechanism. This approach alleviates the impact of LLM's limited input length through intelligent grouping, while the tournament-like points system ensures robust ranking, mitigating the influence of the document input sequence. We test TourRank with different LLMs on the TREC DL datasets and the BEIR benchmark. Experimental results show that TourRank achieves state-of-the-art performance at a reasonable cost.
[ -0.2549724280834198, -0.8049052357673645, 0.6593680381774902, 0.05059509724378586, -0.1986066997051239, 0.4810727834701538, -0.399381548166275, -0.3725477159023285, 0.2763236463069916, 0.35770756006240845, -0.4276483356952667, -0.8365296125411987, -0.9457598924636841, 0.16513673961162567, -0.428237646818161, 0.8821765780448914, 0.12224774062633514, 0.013541970402002335, -0.23476523160934448, -0.17504681646823883, -0.2717568874359131, -0.5213363766670227, -0.6771078109741211, -0.41849586367607117, 0.9441996812820435, 0.4701031744480133, 0.5789047479629517, 0.7075892686843872, 0.9980025291442871, 0.34819379448890686, -0.06896371394395828, 0.2764856219291687, -0.9409417510032654, 0.4178503751754761, 0.05611831322312355, -0.6111843585968018, -0.35506439208984375, 0.056807707995176315, 0.9083653688430786, 0.6364720463752747, -0.08978581428527832, 0.02574414573609829, 0.07491137087345123, 0.4147659242153168, -0.42805400490760803, 0.19853800535202026, -0.7262908220291138, -0.13785310089588165, -0.7160833477973938, -0.579017698764801, -0.7631469964981079, -0.5508135557174683, -0.10935414582490921, -0.34823837876319885, 0.09672638028860092, 0.14312586188316345, 0.8321424722671509, -0.03925653174519539, -0.286917507648468, -0.23670285940170288, -0.6415813565254211, 0.5699106454849243, -0.5327811241149902, 0.26677948236465454, 0.05207139626145363, 0.3877076208591461, -0.2208067625761032, -0.3913780748844147, -0.3487866520881653, -0.015218591317534447, 0.3933873474597931, 0.1706819385290146, 0.041675809770822525, 0.11096494644880295, 0.15476402640342712, 0.20713506639003754, -1.0318522453308105, 0.4298970401287079, -0.20190683007240295, 0.16293756663799286, 0.6616123914718628, 0.03916555270552635, 0.36266958713531494, 0.18578490614891052, -0.05757683888077736, -0.24335134029388428, -0.7751715183258057, 0.08974522352218628, 0.4595975875854492, 0.5136294960975647, 0.40007832646369934, 0.6745752692222595, -0.3631915748119354, 0.6879849433898926, -0.030778858810663223, -0.2198304533958435, 0.026752173900604248, 0.09414742141962051, -0.12136993557214737, 0.2878979444503784, 0.7136976718902588, 0.4653933048248291, 0.27827274799346924, -0.5829335451126099, -0.32997992634773254, -0.09414523839950562, 0.0035535329952836037, -0.8906378149986267, -0.13102510571479797, -0.10860602557659149, -0.2381085604429245, -0.5175143480300903, 0.18831512331962585, -0.6854815483093262, -0.21957328915596008, 0.12143641710281372, 0.8371754884719849, -0.34595492482185364, 0.003220881801098585, -0.0627410039305687, -0.18234014511108398, 0.3928039073944092, 0.5319451689720154, -0.8360783457756042, 0.2764440178871155, 0.8459346294403076, 1.222420573234558, -0.37326475977897644, -0.37495166063308716, -0.8692871332168579, 0.28199151158332825, -0.4207150936126709, 1.1010105609893799, -0.8847163319587708, -0.8436779379844666, 0.1389714479446411, -0.3032093048095703, -0.21918514370918274, -0.5347509980201721, 0.48931989073753357, -0.7792494297027588, 0.15777020156383514, -0.1633874922990799, -0.8437292575836182, 0.08100152760744095, 0.36266571283340454, -0.5251086354255676, 1.089504361152649, -0.04721589386463165, -0.38249915838241577, 0.2500710189342499, -0.6491255164146423, -0.5939644575119019, 0.49518200755119324, -0.07468779385089874, -0.3186229169368744, 0.18142378330230713, 0.08178791403770447, 0.23337703943252563, -0.24517366290092468, 0.2240031659603119, -0.5278847813606262, -0.7386080026626587, -0.11108488589525223, -0.3777676820755005, 0.582826554775238, 0.07293210923671722, -0.068484365940094, 0.10466035455465317, -0.39719435572624207, -0.02826107293367386, 0.28715813159942627, -0.5025084018707275, -0.45506566762924194, -0.0732451006770134, -0.2021159678697586, 0.13179631531238556, 0.22317908704280853, -0.5711319446563721, 0.8161051273345947, -0.5197604894638062, 0.2844369113445282, 0.9051717519760132, 0.1393599510192871, 0.5548198223114014, -0.4572138786315918, 0.5649401545524597, -0.3968636095523834, 0.13355331122875214, 0.060159582644701004, -0.544049084186554, -0.7883976697921753, -0.0902940183877945, 0.642196536064148, 0.2746818959712982, -0.5590598583221436, 0.2900847792625427, -0.7829033732414246, -0.7352672219276428, -0.47394394874572754, 0.1462036520242691, 0.10695794224739075, 0.20527727901935577, 0.06699245423078537, -0.2404199242591858, -0.07496125996112823, -0.6126028299331665, -0.11022577434778214, -0.20803698897361755, 0.052034471184015274, 0.3106479346752167, 0.27525264024734497, 0.1946432888507843, 0.5452444553375244, -0.723507821559906, -0.5256787538528442, -0.4417955279350281, 0.3045252859592438, 0.21214601397514343, 0.21977439522743225, 0.41973525285720825, -0.5258453488349915, -0.35625341534614563, -0.29416465759277344, -0.5143733620643616, -0.14417053759098053, 0.24726329743862152, -0.18631042540073395, 0.4561617374420166, 0.5645885467529297, -0.40241116285324097, 0.2124161273241043, 0.41987159848213196, -0.036405373364686966, 0.2135503739118576, -0.25843778252601624, 0.3163718283176422, -0.8393846154212952, -0.309139221906662, 0.05620673671364784, -0.25469720363616943, -0.13595452904701233, 0.28312811255455017, -0.19521179795265198, -0.32051515579223633, -0.22529727220535278, 0.5683374404907227, -0.137393057346344, 0.09772804379463196, -0.26166200637817383, 0.4495648443698883, 0.0007184722926467657, 0.474515438079834, 0.05478186532855034, 0.678509533405304, 0.40100255608558655, -0.33286353945732117, 0.21484839916229248, 0.13207374513149261, -0.3124871551990509, 0.5422013401985168, -0.5207237005233765, 0.02672802098095417, 0.011376303620636463, 0.3407779932022095, -1.1345208883285522, 0.1097898855805397, -0.316319078207016, -0.4489290416240692, 0.6557066440582275, -0.34988510608673096, -0.7822535037994385, -0.3467506170272827, -0.5133094787597656, 0.3422074317932129, 0.3400249779224396, -0.5008707046508789, 0.3426365554332733, 0.46364277601242065, -0.377348929643631, -0.14696022868156433, -0.2940920889377594, 0.39645853638648987, -0.2320350706577301, -0.775708794593811, 0.4558870196342468, -0.28086960315704346, -0.002016994636505842, -0.20756272971630096, -0.07894724607467651, 0.33865833282470703, 0.12508587539196014, 0.24232928454875946, 0.16106745600700378, -0.1720954328775406, 0.22922517359256744, -0.10408314317464828, -0.07637351006269455, -0.20179149508476257, -0.43519315123558044, 0.7660932540893555, -0.02622743882238865, -0.352765828371048, -0.06997736543416977, 0.4098399877548218, 0.5523468255996704, -0.5064661502838135, 0.6568549871444702, 0.17998726665973663, -0.20373384654521942, -0.44753578305244446, -0.6545847654342651, -0.022411564365029335, -0.4717857539653778, 0.19125735759735107, -0.49387484788894653, -1.0102148056030273, 0.36710426211357117, -0.2609219253063202, 0.09569696336984634, 0.5381799936294556, 0.5542863011360168, -0.26329225301742554, 1.1013420820236206, 0.6750691533088684, -0.3209854066371918, 0.4537895619869232, -0.41835644841194153, 0.3361802399158478, -0.617658257484436, -0.2890251576900482, -0.935976505279541, -0.5897607207298279, -0.9363526105880737, -0.4206657111644745, 0.541141152381897, -0.08340547233819962, -0.17804567515850067, 0.19409692287445068, -0.37869399785995483, 0.6474034190177917, 0.9406554102897644, 0.06769532710313797, 0.5108830332756042, -0.05655433610081673, -0.34473323822021484, 0.23491992056369781, -0.7601177096366882, -0.2656068205833435, 1.1456750631332397, -0.029550300911068916, 0.8208460211753845, 0.4998476803302765, 1.2212311029434204, 0.5498184561729431, 0.04989233613014221, -0.9252976775169373, 0.7972384095191956, -0.24397188425064087, -0.1859935224056244, -0.6048405170440674, -0.43061190843582153, -0.9389082193374634, 0.15469223260879517, -0.09077335894107819, -0.7825416326522827, -0.12206634879112244, -0.5523033738136292, -0.17980331182479858, 0.326621949672699, -0.3502178490161896, 0.5746077299118042, -0.19792859256267548, -0.4038705825805664, -0.10122710466384888, -0.37384697794914246, 0.2364051640033722, 0.000284479494439438, 0.056932222098112106, 0.07070101052522659, 0.25644057989120483, 0.9540857076644897, -0.47138217091560364, 0.2455611526966095, 0.013049541041254997, 0.0586075596511364, -0.03372073173522949, 0.42977026104927063, 0.6289675831794739, 0.057752832770347595, -0.3669758439064026, 0.14970573782920837, -0.16082227230072021, -0.33389580249786377, -0.6173149347305298, 1.283634901046753, -0.8236002326011658, -0.9645253419876099, -0.5905545353889465, -0.4887630343437195, -0.23655247688293457, 0.5419902801513672, 0.24925565719604492, 0.7001824975013733, -0.15560594201087952, 0.3876159191131592, 0.8780077695846558, -0.02994970977306366, 0.6875513195991516, 0.5460562705993652, -0.3026953935623169, -0.22506657242774963, 1.1377915143966675, 0.48656901717185974, 0.07581216841936111, 0.7750511765480042, 0.14673075079917908, -0.4802497327327728, -0.9486759901046753, -0.28643569350242615, 0.24836397171020508, -0.5131354928016663, -0.2307634800672531, -0.6210530400276184, -0.42082589864730835, -0.6625438928604126, -0.3832594156265259, -0.16959203779697418, -0.5206426382064819, 0.14892706274986267, -0.240987628698349, 0.11375249177217484, 0.7807568907737732, 0.16855289041996002, 0.10052938759326935, -0.5991095900535583, 0.06934783607721329, 0.17047424614429474, 0.7035983800888062, -0.03447377309203148, -0.6103378534317017, -0.19974637031555176, -0.4516633152961731, -0.4363258183002472, -0.6543058156967163, 0.2156924456357956, 0.0960025042295456, 0.7658095955848694, 0.5144711136817932, 0.1812453269958496, 0.5414624214172363, -0.6722455620765686, 0.5965398550033569, -0.21301144361495972, -0.6170774102210999, 0.6094229221343994, -0.6115850806236267, 0.38548532128334045, 0.7261441349983215, 0.1642056554555893, -0.4159717857837677, -0.7229284048080444, -0.6552029252052307, -0.7147170901298523, 0.6573235392570496, 0.1395363062620163, -0.06860410422086716, -0.08586114645004272, 0.0463784784078598, -0.16394007205963135, -0.014398960396647453, -0.5791552662849426, -0.11518498510122299, 0.21242943406105042, -0.2880632281303406, -0.2433186173439026, -0.32408806681632996, -0.0014102186542004347, 0.09861879795789719, 0.8886260986328125, 0.11626356095075607, -0.015047059394419193, 0.03168977424502373, -0.23275336623191833, -0.225570946931839, 0.07950058579444885, 0.7007543444633484, 0.41438376903533936, -0.44729018211364746, -0.004405816551297903, -0.16723139584064484, -0.1959444284439087, 0.21589896082878113, 0.060321737080812454, -0.4893428087234497, 0.035798925906419754, 0.3959534764289856, 0.3313431143760681, 0.317338228225708, -0.4833236634731293, 0.5368809103965759, -0.10167479515075684, -0.24258185923099518, 0.1436207890510559, 0.13730353116989136, 0.11492472887039185, 0.18828131258487701, 0.4437221884727478, -0.30080440640449524, 0.20156604051589966, -0.36805105209350586, 0.17547842860221863, 0.618018388748169, -0.37413254380226135, 0.06973472237586975, 0.6100282669067383, 0.48556768894195557, -0.6456940770149231, 0.5868579745292664, -0.2080787718296051, -0.4668178856372833, 0.3917674422264099, 0.2812146246433258, 0.6912196278572083, -0.1280478686094284, 0.4715193212032318, 0.16612429916858673, 0.41985610127449036, -0.28015434741973877, -0.09844715893268585, 0.045722126960754395, -0.41357889771461487, -0.15963256359100342, -0.843148946762085, -0.5122901201248169, -0.0005122325383126736, -0.35944586992263794, 0.5047973990440369, -0.29446449875831604, 0.001926179975271225, -0.12967851758003235, 0.4978180229663849, -0.5542532801628113, -0.033725637942552567, 0.3443320095539093, 1.1074697971343994, -0.5333933234214783, 0.7999563813209534, 0.288316011428833, -0.5277107357978821, -0.6857847571372986, 0.09793619811534882, 0.14015784859657288, -0.6928284764289856, 0.5406509637832642, 0.22251197695732117, -0.2118292897939682, 0.3423265218734741, -0.2570560574531555, -0.8896413445472717, 1.0805736780166626, 0.13571347296237946, -0.611633837223053, -0.3232966363430023, 0.18034711480140686, 0.30365458130836487, -0.1773170530796051, 0.30704477429389954, 0.14341746270656586, 0.4484501779079437, 0.45214375853538513, -0.669239342212677, -0.22513091564178467, -0.10175174474716187, 0.04414515197277069, 0.4376625716686249, -0.9135659337043762, 0.36167702078819275, -0.14445693790912628, -0.14284536242485046, 0.07568686455488205, 0.5042113661766052, 0.2987354099750519, 0.2679848372936249, 0.3333519399166107, 0.7703341245651245, 0.8396651148796082, -0.3590551018714905, 0.9416274428367615, -0.2191510796546936, 0.4165063798427582, 1.0737406015396118, -0.7372465133666992, 0.9351591467857361, 0.031714145094156265, -0.014624975621700287, 0.49873921275138855, 0.6980739235877991, -0.21014271676540375, 0.6300938129425049, 0.4781947731971741, -0.12042679637670517, -0.45370563864707947, -0.3047351837158203, -0.23640112578868866, 0.8519238829612732, -0.009893565438687801, -0.15839163959026337, -0.6800273060798645, -0.13867615163326263, -0.03814387694001198, 0.057873886078596115, -0.34539592266082764, 0.9872955083847046, -0.15914852917194366, -0.6481661200523376, 0.24086138606071472, 0.1833718717098236, 0.5863363742828369, -0.7414844036102295, -0.021278217434883118, -0.45162850618362427, 0.07729041576385498, 0.367813378572464, -0.7083883285522461, -0.29907554388046265, 0.004067596048116684, -0.13574820756912231, -0.42694807052612305, 0.5716679096221924, -0.4629073739051819, -0.9198336005210876, 0.2302016317844391, 0.3999917507171631, 0.10488791018724442, -0.11060014367103577, -0.28987565636634827, 0.2300708144903183, -0.3936939537525177, -0.24461451172828674, 0.6913977861404419, 0.5777630805969238, -0.1626468002796173, 0.6806631088256836, 0.5410560369491577, 0.15383556485176086, -0.1629866361618042, 0.34927040338516235, 0.6317684650421143, -0.5151965618133545, -0.4841412901878357, -0.9382895231246948, -0.15427732467651367, -0.15601769089698792, 0.010565240867435932, 0.7116966247558594, 0.9118014574050903, 0.9043712019920349, 0.34324178099632263, 0.6147664189338684, 0.43239644169807434, 0.13966849446296692, -0.436689168214798, 0.9183699488639832, -0.6236974596977234, 0.20125579833984375, -0.3223145306110382, -1.0225615501403809, -0.5473823547363281, 0.1819763332605362, -0.31128716468811035, -0.05563120171427727, 0.5258710980415344, 0.7662807106971741, 0.24851398169994354, -0.18727126717567444, 0.5760329365730286, 0.17721359431743622, 0.7149981260299683, 0.7080052495002747, 0.41646796464920044, -0.2115018665790558, 0.9286079406738281, 0.0424196794629097, -0.20975452661514282, -0.556903064250946, -0.8177230358123779, -0.8157980442047119, -0.39595556259155273, -0.30683663487434387, -0.21059539914131165, 0.2919836640357971, 0.6794577240943909, 0.5933537483215332, -0.47782859206199646, -0.23685322701931, 0.2520528733730316, 0.44037753343582153, -0.07985477149486542, -0.25650912523269653, 0.42116284370422363, -0.32499149441719055, -0.9576016068458557, 0.4448445737361908, 0.774167001247406, -0.15306362509727478, -0.2678578794002533, 0.04040474817156792, -0.5134890675544739, 0.2891705632209778, 0.54331374168396, -0.048966556787490845, -0.6428663730621338, -0.2563084661960602, 0.26270952820777893, -0.2957864999771118, -0.047240789979696274, 0.6809688210487366, -0.6201511025428772, 0.3844848871231079, 0.5501875281333923, 0.6285939812660217, 0.43260011076927185, -0.015036155469715595, 0.49775514006614685, -0.5271158218383789, -0.4490593671798706, 0.14214912056922913, 0.3514295518398285, 0.18351426720619202, -0.28111663460731506, 0.6298108696937561, 0.2372458577156067, -0.6244011521339417, -0.9536565542221069, -0.10563574731349945, -1.2183237075805664, -0.21125845611095428, 1.1538339853286743, 0.01281383540481329, 0.0380975715816021, 0.29859113693237305, 0.03562006726861, 0.18317650258541107, -0.521077036857605, 0.9989238381385803, 0.9834648966789246, 0.0372040718793869, -0.10600084811449051, -0.21518032252788544, 0.09360579401254654, 0.014689430594444275, -0.5150526165962219, -0.0640733614563942, 0.310564249753952, 0.20665228366851807, 0.11391191929578781, 0.5832887887954712, -0.1898341327905655, -0.12671081721782684, -0.32085201144218445, -0.24814653396606445, -0.2693561017513275, -0.6236881613731384, -0.09173696488142014, 0.6364665627479553, 0.3132490813732147, 0.013125751167535782 ]
http://arxiv.org/abs/2406.11675v2
http://arxiv.org/pdf/2406.11675v2
BLoB: Bayesian Low-Rank Adaptation by Backpropagation for Large Language Models
2024-06-17T15:55:38
2024-06-18T15:15:04
Yibin Wang, Haizhou Shi, Ligong Han, Dimitris Metaxas, Hao Wang
cs.LG
cs.LG, cs.AI, cs.CL, stat.ML
Large Language Models (LLMs) often suffer from overconfidence during inference, particularly when adapted to downstream domain-specific tasks with limited data. Previous work addresses this issue by employing approximate Bayesian estimation after the LLMs are trained, enabling them to quantify uncertainty. However, such post-training approaches' performance is severely limited by the parameters learned during training. In this paper, we go beyond post-training Bayesianization and propose Bayesian Low-Rank Adaptation by Backpropagation (BLoB), an algorithm that continuously and jointly adjusts both the mean and covariance of LLM parameters throughout the whole fine-tuning process. Our empirical results verify the effectiveness of BLoB in terms of generalization and uncertainty estimation, when evaluated on both in-distribution and out-of-distribution data.
[ -0.21854332089424133, -0.8065008521080017, 0.605166494846344, 0.1843709647655487, -0.15118175745010376, 0.07624892890453339, -0.5461210608482361, -0.13715068995952606, -0.1321413516998291, 0.44218528270721436, -0.4685071110725403, -0.7467128038406372, -1.0091636180877686, -0.4007132351398468, 0.0662817656993866, 0.9276402592658997, 0.2548321485519409, -0.00029545454890467227, -0.005063832737505436, -0.06709901243448257, -0.5272703170776367, -0.3229486644268036, -0.5765630602836609, -0.20027905702590942, 0.601302444934845, 0.4593663215637207, 0.9635843634605408, 0.1598496437072754, 0.4105624258518219, 0.07958916574716568, 0.10527174919843674, 0.048413053154945374, -0.7382862567901611, 0.08938948810100555, -0.6492804288864136, -0.6476700901985168, -0.43888354301452637, -0.10620424151420593, 1.0406622886657715, 1.1229747533798218, -0.25937530398368835, 0.2695375382900238, 0.04157666862010956, 0.6869401931762695, -1.149279236793518, 0.1329343467950821, -0.8816317319869995, -0.25073376297950745, 0.1799720823764801, 0.011050504632294178, -0.49934887886047363, -0.5360656976699829, -0.046483226120471954, -0.44338279962539673, 0.02347433753311634, 0.1867842972278595, 0.6638598442077637, 0.6120287179946899, -0.12629051506519318, -0.17583361268043518, -0.722851037979126, 0.8621272444725037, -0.8406034708023071, 0.6445110440254211, 0.49241647124290466, 0.2418418824672699, -0.5918448567390442, -0.15273500978946686, -0.3492865264415741, -0.13029859960079193, 0.10976976156234741, 0.2871050536632538, -0.20534636080265045, 0.1656493842601776, 0.13602383434772491, 0.1256803721189499, -0.6550285816192627, 0.5031304955482483, -0.1350354254245758, 0.041714444756507874, 0.6690660715103149, -0.3067448139190674, -0.15662285685539246, 0.3658522367477417, -0.044850945472717285, -0.2696016728878021, -0.6496023535728455, 0.01974610984325409, 0.23946145176887512, 0.2967856228351593, -0.19304370880126953, 0.3793843686580658, -0.2532127797603607, 0.8081056475639343, 0.21152348816394806, -0.07247874140739441, 0.06754333525896072, 0.2103903889656067, -0.21200722455978394, 0.20384958386421204, 0.3118477463722229, 0.20856355130672455, 0.1601373255252838, -0.21271078288555145, -0.09246406704187393, -0.20741164684295654, 0.16614004969596863, -0.7181089520454407, -0.26733407378196716, 0.38304513692855835, -0.3691703677177429, 0.057906635105609894, -0.09643790870904922, -0.9085146188735962, -0.3420586884021759, 0.12182850390672684, 0.915789008140564, -0.06507501006126404, -0.08355643600225449, 0.07999689877033234, -0.011659682728350163, 0.16229596734046936, 0.4379623532295227, -1.0348705053329468, 0.3613402247428894, 0.6668663024902344, 0.9191834926605225, -0.29807138442993164, -0.4976314306259155, -0.8008167743682861, 0.5212620496749878, -0.688087522983551, 0.6128526329994202, -0.5464991927146912, -0.2706963121891022, -0.20853155851364136, 0.08986324071884155, -0.3825703263282776, -0.5497714877128601, 0.10949872434139252, -0.4644330143928528, -0.2056136578321457, 0.27858155965805054, -0.5974342226982117, -0.17750203609466553, 0.0211434755474329, -0.24716408550739288, 0.8662279844284058, 0.28368741273880005, -0.43594539165496826, 0.5278791189193726, -0.2988455891609192, -0.16611209511756897, -0.09086199104785919, 0.19202840328216553, -0.6949641108512878, 0.5680932402610779, 0.29916268587112427, 0.630812406539917, -0.2930643856525421, 0.20338928699493408, -0.8426659107208252, -0.44546085596084595, 0.22084420919418335, -0.15006090700626373, 0.4769704043865204, -0.13027305901050568, 0.06898313760757446, -0.013086056336760521, -0.7714536786079407, -0.05065566673874855, -0.28368067741394043, -0.3176247775554657, -0.48104360699653625, 0.08553237468004227, -0.4703871011734009, 0.07011519372463226, 0.36500078439712524, -0.5073278546333313, 0.45652875304222107, -0.4776969254016876, 0.07945764064788818, 0.6388373374938965, 0.14773045480251312, 0.5771929025650024, -0.25324925780296326, 0.3183562755584717, -0.19020046293735504, 0.01582249440252781, 0.23544543981552124, -0.5067830085754395, -0.5853720903396606, -0.33054760098457336, 0.47146502137184143, 0.5814716219902039, -0.35528165102005005, 0.6684905886650085, -0.5960806608200073, -0.7182145118713379, -0.5106115341186523, 0.28539761900901794, 0.22198604047298431, 0.15505890548229218, 0.5894436836242676, -0.36865949630737305, -0.09609675407409668, -0.612699031829834, -0.05124739930033684, -0.30232223868370056, -0.223672553896904, 0.10621443390846252, 0.6191886067390442, -0.24434621632099152, 0.5853474736213684, -0.6402075886726379, -0.09514819830656052, -0.15458820760250092, 0.36583638191223145, 0.32204222679138184, 0.5791949033737183, 0.3470744788646698, -0.3637356758117676, -0.25768524408340454, -0.0023510518949478865, -0.3738758862018585, -0.2444571852684021, -0.25462159514427185, -0.3008381128311157, 0.4336388409137726, 0.5420109629631042, -0.39226073026657104, 0.4050343930721283, 1.2363803386688232, -0.07400359958410263, 0.3935900628566742, -0.6449780464172363, -0.16861331462860107, -0.9272661209106445, -0.04594944044947624, -0.059737998992204666, -0.19683171808719635, -0.27663949131965637, 0.0036347429268062115, 0.011077840812504292, -0.19146254658699036, 0.11128434538841248, 0.7765798568725586, -0.5075581669807434, -0.5459496378898621, -0.3977976143360138, -0.016136199235916138, -0.2131454050540924, 0.6546304821968079, 0.15861876308918, 0.4924922585487366, 0.5983264446258545, -0.414913147687912, 0.22243425250053406, 0.21980199217796326, -0.33016344904899597, 0.5154926180839539, -0.3060174286365509, 0.030933115631341934, -0.033298615366220474, 0.39712637662887573, -1.1963660717010498, -0.21306027472019196, 0.17233490943908691, -0.3277014195919037, 0.4532148838043213, -0.8124036192893982, -0.34029221534729004, -0.0326489582657814, -0.08986459672451019, 0.06810010969638824, 0.6142637133598328, -0.5494275093078613, 0.3382391631603241, 0.28070539236068726, -0.5353564620018005, -0.31929370760917664, -0.7251682877540588, 0.029615823179483414, 0.022187575697898865, -0.2753894329071045, 0.3450961709022522, -0.11895257234573364, 0.08714835345745087, -0.20137706398963928, -0.23236243426799774, -0.26374176144599915, 0.2033633440732956, 0.4037300944328308, -0.10813841968774796, -0.32349687814712524, 0.17799119651317596, 0.6631525158882141, 0.025112075731158257, -0.12494594603776932, -0.2812909185886383, 0.28052762150764465, 0.23807963728904724, -0.38244757056236267, -0.2411673665046692, 0.26401466131210327, 0.3345712125301361, 0.13361580669879913, 1.0035529136657715, 0.5400631427764893, -0.26598840951919556, -0.574856162071228, -0.5332179665565491, -0.18913623690605164, -0.3771386444568634, 0.48233917355537415, -0.3071124851703644, -0.7041516900062561, 0.44848066568374634, -0.22555910050868988, -0.27629193663597107, -0.027524299919605255, 0.7407851219177246, -0.21177402138710022, 0.757283627986908, 0.8378487229347229, -0.14505773782730103, 0.41559872031211853, -0.017472781240940094, -0.016396906226873398, -0.6951676607131958, 0.13513235747814178, -0.41835877299308777, -0.3377994894981384, -0.9220151305198669, -0.41395750641822815, 0.29686376452445984, 0.4303753674030304, -0.23366707563400269, 0.0026080464012920856, -0.04012465476989746, 0.07866791635751724, 0.522933304309845, 0.381701797246933, 0.15359358489513397, -0.02881012298166752, 0.32444214820861816, 0.11451065540313721, -0.7675266861915588, -0.0240302886813879, 1.0722624063491821, 0.372310608625412, 0.9740243554115295, 0.3273584544658661, 0.6803723573684692, 0.1179797425866127, 0.37605395913124084, -0.824470579624176, 0.16333797574043274, -0.3592982888221741, -0.5585519075393677, -0.6770381331443787, -0.40611085295677185, -0.9319966435432434, 0.2886057198047638, -0.26696714758872986, -1.101866364479065, 0.5855569243431091, 0.36112672090530396, -0.40863707661628723, -0.02980431728065014, -0.7598233222961426, 1.0068976879119873, -0.059507325291633606, -0.5323601961135864, -0.4533625543117523, -0.6729843020439148, -0.013924225233495235, -0.4391711950302124, 0.23037473857402802, -0.11013311892747879, -0.17389214038848877, 0.5919622778892517, -0.18136067688465118, 0.8399430513381958, -0.39737817645072937, -0.11945907026529312, -0.08494329452514648, 0.11343750357627869, 0.6956939101219177, 0.12124428153038025, -0.25631386041641235, 0.35467350482940674, 0.13859525322914124, -0.8120474219322205, -0.8779765963554382, 0.5008512735366821, -0.7266151905059814, -0.6774420142173767, -0.3149695098400116, -0.8335953950881958, -0.6489603519439697, 0.06290242820978165, 0.09841027855873108, 0.042755480855703354, 0.026951763778924942, 0.3596971333026886, 0.44767922163009644, -0.5351037979125977, 0.47660258412361145, 0.37366098165512085, -0.03781859949231148, -0.31961143016815186, 0.8204930424690247, 0.31682515144348145, 0.5547005534172058, 0.6053162217140198, 0.36353468894958496, -0.22549442946910858, -1.1783292293548584, -0.39836281538009644, 0.2800356447696686, -0.43612807989120483, -0.022017179057002068, -0.22181165218353271, -0.17703621089458466, -0.3944278657436371, -0.42535072565078735, -0.4349867105484009, -0.3337882161140442, -0.013705695047974586, 0.20823214948177338, 0.32768410444259644, 0.32890042662620544, -0.14778386056423187, 0.8521467447280884, -0.7906618714332581, 0.171715646982193, 0.2707505226135254, 0.34462153911590576, -0.28513044118881226, -1.0638893842697144, -0.5773154497146606, 0.16802260279655457, -0.09224678575992584, -0.6671595573425293, 0.4549076557159424, 0.5538133382797241, 0.5837854146957397, -0.11239387840032578, -0.11357583105564117, 0.7486160397529602, -0.2910853326320648, 0.4088354706764221, -0.09072206169366837, -0.7714803218841553, 0.49267342686653137, -0.3807758092880249, 0.3966716527938843, 0.432210773229599, 0.4863767623901367, -0.135236456990242, -0.4400823712348938, -0.35776564478874207, -0.6609726548194885, 0.5254313349723816, 0.03691701963543892, 0.03891146555542946, 0.5683115720748901, 0.5238675475120544, 0.26177650690078735, 0.44173532724380493, -0.42119812965393066, 0.14452269673347473, -0.06162493675947189, -0.24526488780975342, -0.5169647336006165, -0.30134984850883484, 0.15497690439224243, -0.13351082801818848, 0.6267957091331482, -0.3998958170413971, 0.142711341381073, -0.18302097916603088, -0.5745688676834106, -0.14191806316375732, 0.3142770528793335, 0.5372048616409302, 0.9927363991737366, -0.6797463297843933, 0.04553709179162979, 0.503235936164856, -0.38884663581848145, 0.028233420103788376, 0.14428898692131042, 0.052854184061288834, -0.18992887437343597, 0.43681254982948303, 0.7778601050376892, 0.43651726841926575, -0.32951682806015015, 0.5780406594276428, 0.457638144493103, 0.08771104365587234, -0.07504355907440186, 0.19278374314308167, -0.028592901304364204, 0.5383328199386597, 0.46312522888183594, -0.010556411929428577, -0.11234436184167862, -0.647456705570221, 0.2203652560710907, 0.2902028262615204, -0.26995372772216797, -0.2914433777332306, 0.3530178666114807, -0.1345185935497284, -0.027925120666623116, 0.021927863359451294, -0.1624658852815628, -0.09659469127655029, 0.2541316747665405, 0.5698277354240417, 0.6064948439598083, -0.3981892764568329, 0.22019627690315247, 0.150339737534523, 0.21662773191928864, -0.39977729320526123, 0.17038434743881226, 0.14371056854724884, -0.935382068157196, -0.6800997257232666, -0.9148527383804321, -0.7839155793190002, 0.07110189646482468, -0.7046351432800293, 0.1507604420185089, -0.6802541613578796, -0.04085680469870567, -0.04233723133802414, 0.11019424349069595, -0.27492755651474, 0.3423556387424469, 0.1568770855665207, 0.6400018930435181, -0.8855421543121338, 1.1486657857894897, 0.5653478503227234, -0.3151080310344696, -0.3306337296962738, 0.31505823135375977, -0.37166357040405273, -0.8131176233291626, 0.6282864212989807, -0.30020925402641296, -0.11436103284358978, 0.4251304864883423, -0.6260284185409546, -0.9843952059745789, 0.7625491619110107, 0.6915138959884644, -0.6250617504119873, -0.04535011947154999, -0.1240265741944313, 0.5767063498497009, -0.30348530411720276, -0.049371831119060516, 0.5725975036621094, 0.40286311507225037, 0.035366225987672806, -0.8896611332893372, 0.08818075060844421, 0.4020518958568573, 0.04872838407754898, 0.12482355535030365, -0.7379112243652344, 0.6524257063865662, -0.14647124707698822, 0.2895745038986206, 0.11767727136611938, 0.6388850808143616, 0.42236295342445374, 0.25517967343330383, 0.36484313011169434, 0.40005189180374146, 0.646710216999054, 0.04492417722940445, 0.8410497307777405, -0.11470402777194977, 0.5096889138221741, 1.3400542736053467, -0.12108245491981506, 1.1512024402618408, 0.4541928470134735, -0.19141513109207153, 0.544605553150177, 0.6289232969284058, -0.24843135476112366, 0.687760055065155, 0.15467311441898346, 0.11165320128202438, -0.37732642889022827, 0.1842179000377655, -0.2050875872373581, 0.36137446761131287, 0.6832402944564819, -0.23728372156620026, -0.1874760240316391, -0.04149792343378067, 0.006334151141345501, -0.12552741169929504, -0.6190564036369324, 0.6347000002861023, 0.2259276658296585, -0.6286592483520508, 0.9120367169380188, -0.12661410868167877, 0.4661138355731964, -0.28921273350715637, 0.07681084424257278, -0.17253389954566956, 0.26964807510375977, -0.22994475066661835, -0.6730818748474121, 0.19642600417137146, -0.36295318603515625, -0.062101833522319794, -0.03126738220453262, 0.4445250630378723, -0.4954664707183838, -0.7467151880264282, 0.4182635247707367, 0.5029316544532776, 0.29414278268814087, -0.27028632164001465, -0.674273669719696, 0.06493107229471207, -0.40983521938323975, -0.3826906979084015, 0.46225735545158386, 0.43507635593414307, -0.1817343384027481, 0.8159084320068359, 0.47871294617652893, 0.6777665019035339, 0.29386410117149353, 0.030704135075211525, 0.49699822068214417, -0.5374634265899658, -0.3142838180065155, -0.6717621088027954, 0.21068818867206573, 0.228700652718544, -0.2073921263217926, 0.40443819761276245, 0.33100390434265137, 0.9331532120704651, -0.0013341865269467235, 0.8043992519378662, 0.22193516790866852, 0.45480889081954956, -0.8378159999847412, 0.664603054523468, -0.6534860730171204, -0.0020857842173427343, -0.3739241361618042, -1.0120184421539307, -0.546999990940094, 0.7291969656944275, -0.7844662070274353, -0.007037442643195391, 0.6033096313476562, 1.0281147956848145, -0.24628004431724548, -0.4851562976837158, 0.7475264072418213, 0.45217278599739075, -0.07776693999767303, 0.7394781112670898, 0.4258381128311157, -0.36516913771629333, 0.39241719245910645, -0.15649090707302094, -0.2872523367404938, -0.6679111123085022, -0.8352867960929871, -0.9118062257766724, -0.2755735218524933, -0.38010329008102417, -0.2013242542743683, 0.6606045961380005, 0.8359684348106384, 0.7925037145614624, -1.105518102645874, -0.38663560152053833, 0.047840602695941925, 0.17988288402557373, -0.28880196809768677, -0.04205970838665962, 0.5331368446350098, -0.2980157434940338, -0.6596227288246155, 0.328579843044281, 0.30278924107551575, 0.013292832300066948, -0.07286801189184189, 0.016285710036754608, -0.3024522364139557, -0.02146817184984684, 0.5123322606086731, 0.1968158334493637, -0.4106791317462921, -0.832233726978302, -0.5602533221244812, -0.018414240330457687, 0.1578451544046402, 0.329694002866745, -0.3763842284679413, 0.29943767189979553, 0.35203325748443604, 0.7673197984695435, 0.7566318511962891, 0.23054522275924683, 0.7393122315406799, -0.7912456393241882, 0.43785005807876587, -0.10497412830591202, 0.19141514599323273, 0.26179030537605286, -0.24770674109458923, 0.39348629117012024, 0.1456717699766159, -0.6209419369697571, -0.9217627048492432, 0.21638771891593933, -1.0114389657974243, -0.5571139454841614, 1.2792491912841797, -0.3506237268447876, -0.20371273159980774, -0.11034006625413895, 0.11598800867795944, 0.4752863645553589, -0.5185041427612305, 0.8880817890167236, 0.7118183970451355, -0.03405735641717911, -0.4233907163143158, -0.6585612893104553, 0.2960449159145355, 0.3456476926803589, -0.7143358588218689, 0.1579526960849762, 0.308957040309906, 0.43146347999572754, -0.1591504067182541, 0.14516952633857727, 0.40496382117271423, 0.18786440789699554, 0.026010563597083092, 0.07619695365428925, 0.2730090916156769, -0.38748177886009216, -0.48804542422294617, 0.1792667806148529, 0.4427056312561035, -0.1375192105770111 ]
http://arxiv.org/abs/2406.11674v1
http://arxiv.org/pdf/2406.11674v1
Endor: Hardware-Friendly Sparse Format for Offloaded LLM Inference
2024-06-17T15:55:08
2024-06-17T15:55:08
Donghyeon Joo, Ramyad Hadidi, Soheil Feizi, Bahar Asgari
cs.CL
cs.CL
The increasing size of large language models (LLMs) challenges their usage on resource-constrained platforms. For example, memory on modern GPUs is insufficient to hold LLMs that are hundreds of Gigabytes in size. Offloading is a popular method to escape this constraint by storing weights of an LLM model to host CPU memory and SSD, then loading each weight to GPU before every use. In our case study of offloaded inference, we found that due to the low bandwidth between storage devices and GPU, the latency of transferring large model weights from its offloaded location to GPU memory becomes the critical bottleneck with actual compute taking nearly 0% of runtime. To effectively reduce the weight transfer latency, we propose a novel sparse format that compresses the unstructured sparse pattern of pruned LLM weights to non-zero values with high compression ratio and low decompression overhead. Endor achieves this by expressing the positions of non-zero elements with a bitmap. Compared to offloaded inference using the popular Huggingface Accelerate, applying Endor accelerates OPT-66B by 1.70x and Llama2-70B by 1.78x. When direct weight transfer from SSD to GPU is leveraged, Endor achieves 2.25x speedup on OPT-66B and 2.37x speedup on Llama2-70B.
[ -0.2697325646877289, -0.8330575823783875, 0.4707917869091034, 0.18198971450328827, -0.5766136050224304, -0.12808716297149658, -0.31465867161750793, -0.27990594506263733, 0.39111873507499695, 0.5272157192230225, -0.32108283042907715, 0.0772746205329895, -0.5190009474754333, -0.18631456792354584, -0.45989149808883667, 0.8808194398880005, -0.19083081185817719, -0.3195950388908386, -0.5069038271903992, -0.25558599829673767, -0.0432574488222599, -0.44464215636253357, -0.779608428478241, -0.16133348643779755, 0.2864212989807129, 0.1387520730495453, 0.8923223614692688, 0.8673639297485352, 0.3846375346183777, 0.41339606046676636, -0.1569143384695053, -0.0761033147573471, -0.6642851829528809, 0.09617377817630768, 0.2896406948566437, -0.3481614291667938, -0.4854532480239868, -0.2808689475059509, 0.7164533138275146, 0.6916170716285706, -0.5303001999855042, 0.3554219603538513, -0.010404705069959164, 0.5224757194519043, -0.8183426260948181, 0.05941867455840111, -0.31266623735427856, -0.136448472738266, -0.322441041469574, -0.2646189033985138, -0.4193340837955475, -0.19515691697597504, -0.4106810986995697, -1.0581814050674438, 0.23515364527702332, 0.4111890196800232, 0.7261025309562683, 0.8309687376022339, -0.008929388597607613, 0.0967058315873146, -0.7023341059684753, 0.7377757430076599, -0.4656532108783722, 0.37829694151878357, 0.2353598177433014, 0.38967040181159973, -0.28838884830474854, -0.6419007778167725, -0.6553706526756287, 0.31117913126945496, 0.14656101167201996, 0.10566013306379318, -0.2989608943462372, 0.24512065947055817, 0.27351638674736023, 0.3943767845630646, -0.6106836795806885, 0.05194681137800217, -0.17597883939743042, 0.052473507821559906, 0.4762815833091736, -0.24055448174476624, 0.12422578036785126, 0.3079046308994293, -0.3139759302139282, -0.08003053814172745, -0.8440847992897034, -0.3600044846534729, 0.40207886695861816, 0.03608107939362526, -0.33908289670944214, 0.41859370470046997, 0.09884386509656906, 1.08192777633667, -0.04877755418419838, -0.060839928686618805, -0.020699767395853996, -0.012234180234372616, -0.4397450387477875, 0.32601889967918396, 0.5513585805892944, 0.4892684519290924, 0.05713580921292305, -0.3532468378543854, -0.3245958089828491, -0.06415480375289917, -0.00492652365937829, -1.3463085889816284, -0.19251516461372375, 0.13450610637664795, -0.7582064270973206, -0.028355322778224945, -0.3965625762939453, -1.0311371088027954, -0.25055715441703796, 0.049036331474781036, 0.37965428829193115, 0.036213308572769165, -0.1065090075135231, 0.23753200471401215, 0.09746551513671875, 0.16645057499408722, 0.437250554561615, -1.059545636177063, 0.7645794749259949, 0.4169667959213257, 1.131580114364624, -0.30646491050720215, 0.4733853340148926, -0.8959888219833374, 0.2614893317222595, -0.21521703898906708, 0.8452339172363281, -0.493408203125, -0.34496912360191345, -0.31760692596435547, 0.05895077809691429, 0.08979541063308716, -0.6685546636581421, 0.44328150153160095, -0.49272871017456055, -0.04995414614677429, -0.18451064825057983, -0.40673068165779114, -0.28499138355255127, -0.025038447231054306, -0.7707085013389587, 1.3397315740585327, 0.4555181562900543, -0.5396621823310852, 0.31450387835502625, -0.1666969358921051, -0.30310487747192383, 0.18666474521160126, -0.2991124391555786, -0.6043487787246704, 0.36394935846328735, -0.04550209268927574, 0.3208675682544708, -0.5914113521575928, 0.24302390217781067, -0.5495105385780334, -0.7593370079994202, 0.009413151070475578, -0.3061952590942383, 0.5180565714836121, 0.3617854416370392, -0.15376077592372894, 0.12290073931217194, -0.957460880279541, -0.12585976719856262, 0.2011444866657257, -0.3020019233226776, -0.34144076704978943, 0.008340518921613693, 0.22769272327423096, 0.18058288097381592, 0.35155200958251953, -0.9719826579093933, 0.13167154788970947, -0.10055514425039291, 0.47914978861808777, 0.7235656380653381, -0.5347006320953369, 0.36708492040634155, -0.36981722712516785, 0.5302181839942932, -0.40028491616249084, -0.06461282819509506, 0.08113893866539001, -0.42029833793640137, -0.8047329187393188, -0.7284101843833923, 0.02298181876540184, 0.5956369042396545, -0.5437917709350586, 0.2915132939815521, -0.15780560672283173, -0.2824546694755554, -0.5276121497154236, 0.3361862599849701, 0.3410692512989044, 0.5885836482048035, 0.4566137492656708, -0.22460003197193146, -0.5533391833305359, -0.5815013647079468, 0.3056018352508545, -0.1406654566526413, -0.01660931669175625, 0.5193161964416504, 0.16322684288024902, 0.23000071942806244, 0.7344934344291687, -0.6034205555915833, -0.20867905020713806, -0.35538801550865173, -0.005556238815188408, 0.22884395718574524, 0.5484256744384766, 0.6878683567047119, -0.5334423780441284, -0.2948462665081024, -0.04144800081849098, -0.6086338758468628, -0.5227845907211304, -0.34389159083366394, -0.3613892197608948, 0.22928458452224731, 0.6247243881225586, -0.6581125259399414, 0.24930471181869507, 0.8009743094444275, -0.32347729802131653, 0.3048449456691742, -0.6487395167350769, -0.17206303775310516, -1.0369954109191895, 0.07025686651468277, -0.023642323911190033, -0.423633873462677, -0.30652132630348206, -0.21410399675369263, -0.02314096875488758, 0.06117209419608116, -0.22815945744514465, 0.6395365595817566, -0.5034460425376892, -0.46395376324653625, -0.20644481480121613, -0.09704669564962387, 0.06474573910236359, 0.3417501151561737, 0.191008061170578, 0.9955417513847351, 0.40881139039993286, -0.37303951382637024, 0.3433780372142792, 0.12779775261878967, -0.023369980975985527, 0.3966235816478729, -1.0095622539520264, 0.02076917141675949, -0.32655811309814453, 0.053222350776195526, -1.205932378768921, 0.09599313884973526, 0.15331244468688965, -0.07820522040128708, 0.8415476679801941, -0.3353216052055359, -0.5656144618988037, 0.013348530977964401, -0.2980344593524933, 0.5666398406028748, 0.7929554581642151, -0.5984972715377808, 0.49572163820266724, 0.2532256841659546, -0.316249281167984, -0.4001559913158417, -0.824640154838562, 0.006615273654460907, -0.3375995457172394, -0.4855431616306305, 0.6116861701011658, -0.313648521900177, -0.26655837893486023, 0.11729417741298676, -0.06659387797117233, -0.1394224613904953, 0.07684413343667984, 0.5042780041694641, 0.5501095652580261, -0.4331367313861847, -0.39829012751579285, 0.1469670832157135, -0.1861945241689682, -0.16677209734916687, -0.27199646830558777, 0.4351218044757843, 0.11368747055530548, -0.3700660467147827, -0.14888377487659454, 0.42345088720321655, 0.3987102508544922, 0.3794163763523102, 0.837632954120636, 0.36909982562065125, -0.4258362352848053, -0.06999295949935913, -0.5529015064239502, 0.056009918451309204, -0.4768175780773163, 0.4289139211177826, -0.14842119812965393, -0.8105562925338745, 0.501986563205719, -0.08429235219955444, 0.12099543958902359, 0.133571058511734, 0.5682864189147949, 0.1563699096441269, 0.8103995323181152, 0.7835536599159241, 0.08409500122070312, 0.45988935232162476, -0.1832914501428604, 0.1150132566690445, -0.6719411015510559, -0.21813736855983734, -0.47201934456825256, -0.6146653890609741, -0.2682444453239441, -0.886585533618927, 0.013052800670266151, 0.3147377371788025, -0.10832887887954712, 0.21539165079593658, -0.6046168208122253, 0.34837520122528076, 0.10933854430913925, -0.19320446252822876, 0.2878780663013458, 0.3041987717151642, 0.12005890905857086, -0.12764565646648407, -0.5410094857215881, -0.2999557554721832, 0.8709078431129456, 0.015094982460141182, 1.2118803262710571, 0.27604997158050537, 0.4121381938457489, 0.20533302426338196, 0.5030249953269958, -0.622675895690918, 0.6264774799346924, -0.3847520351409912, -0.2641715407371521, -0.13432727754116058, -0.5329639315605164, -0.556462287902832, 0.2281048744916916, 0.0624508298933506, -0.8281937837600708, 0.09378338605165482, 0.2819039821624756, -0.5535539984703064, 0.5926007032394409, -0.5871405601501465, 0.6567861437797546, -0.324729859828949, -0.8513529300689697, -0.025487061589956284, -0.4391489028930664, 0.20112714171409607, -0.08321493864059448, 0.026248160749673843, -0.17171910405158997, -0.41042518615722656, 0.870596706867218, -0.7863026261329651, 0.6632141470909119, -0.3414361774921417, -0.0474327951669693, 0.4113178849220276, 0.31284233927726746, 0.6179888844490051, -0.12840639054775238, -0.11196424812078476, 0.2671847939491272, 0.017059406265616417, -0.26500633358955383, -0.7179707288742065, 0.6791783571243286, -0.8511409163475037, -0.21941646933555603, -0.35301703214645386, -0.7712721228599548, 0.15788376331329346, 0.07737017422914505, 0.15796515345573425, 0.3894924819469452, 0.10549214482307434, 0.034510962665081024, 0.8834750652313232, -0.2810494601726532, 0.7212971448898315, 0.5158394575119019, -0.018794335424900055, -0.19502954185009003, 1.1770892143249512, 0.2515026032924652, 0.2662476897239685, 0.3792763948440552, -0.04086758941411972, -0.4958205223083496, -0.777910590171814, -1.046918272972107, 0.22495153546333313, -0.31594595313072205, -0.30537691712379456, -0.5364243388175964, -0.11674871295690536, 0.010411255992949009, -0.6310216784477234, -0.6988987326622009, -0.7286527156829834, -0.4196496605873108, 0.18605199456214905, 0.6299393177032471, 0.5097590684890747, -0.09130465239286423, 0.8072508573532104, -0.3842920660972595, 0.3329593539237976, -0.2059367448091507, 0.45077642798423767, -0.1496865302324295, -0.9289202690124512, 0.07462172955274582, -0.4105929434299469, -0.12802430987358093, -0.4869774580001831, 0.6184254288673401, 0.5818226337432861, 0.45905202627182007, 0.7985978126525879, 0.06269387155771255, 1.0202561616897583, -0.1426406353712082, 0.3557935953140259, 0.349790096282959, -0.6031330227851868, 0.03252677619457245, 0.009985838085412979, -0.22503934800624847, 0.3319716453552246, 0.4714570641517639, -0.3356020748615265, 0.14250552654266357, -0.24506643414497375, -0.909720778465271, 0.5854101777076721, -0.055190183222293854, -0.08941666781902313, -0.022831162437796593, 0.5683226585388184, 0.29579102993011475, 0.20624595880508423, -0.4454847574234009, -0.3349391222000122, -0.21692702174186707, -0.30386340618133545, -0.0667998418211937, -0.4862387180328369, 0.09946224838495255, -0.03879551962018013, 0.529968798160553, -0.38247671723365784, 0.41708046197891235, 0.2981598377227783, -0.35346201062202454, -0.25279930233955383, 0.117206871509552, 0.41342154145240784, 0.34052276611328125, -0.5820154547691345, 0.3263839781284332, 0.04055234417319298, -0.4948277175426483, 0.2088872492313385, 0.4401243031024933, -0.48103412985801697, -0.179239422082901, -0.09516642242670059, 0.6375243067741394, 0.26594504714012146, -0.7790148258209229, 0.2861124873161316, -0.19077003002166748, -0.09953591227531433, -0.1512780785560608, -0.2035769671201706, -0.007512890733778477, 0.010327816009521484, 0.12528389692306519, -0.07115922123193741, 0.09631802141666412, -0.033014532178640366, 0.15138988196849823, 0.5466040968894958, -0.42796623706817627, -0.45701712369918823, 1.230969786643982, 0.0434822216629982, 0.3005165457725525, 0.54050213098526, -0.46554237604141235, 0.051780782639980316, 0.4645850956439972, 1.0538657903671265, 0.6277554035186768, -0.012403832748532295, -0.0967162474989891, 0.3713494837284088, 0.2736205458641052, -0.18580982089042664, 0.5684594511985779, -0.4435908794403076, -0.6419336795806885, -0.9405384659767151, -1.1981467008590698, -0.15072251856327057, -0.07159965485334396, -0.49962225556373596, 0.0548061728477478, -0.7737917900085449, 0.06821627169847488, -0.4012490510940552, -0.023992756381630898, -0.10986387729644775, -0.1352759301662445, 0.47731226682662964, 0.9376494884490967, -0.8293048739433289, 0.7276288270950317, 0.4810788035392761, -0.12868450582027435, -0.3247520625591278, -0.7059406638145447, 0.19380062818527222, -0.9104761481285095, 0.5733308792114258, 0.15832649171352386, -0.12829433381557465, 0.09049275517463684, -0.2192017287015915, -1.0357500314712524, 0.9436807632446289, 0.7672604918479919, -0.7602043747901917, 0.05450701713562012, 0.09766864776611328, 0.035502854734659195, -0.24810895323753357, 0.6363856196403503, 0.4045700430870056, 0.36023542284965515, 0.6363170742988586, -0.5540801286697388, 0.58765709400177, -0.3907190263271332, 0.06728360801935196, 0.31952348351478577, -0.9031507968902588, 0.980235755443573, -0.48190033435821533, -0.0595192052423954, 0.37665849924087524, 0.9173992276191711, 0.23606805503368378, 0.17616045475006104, 0.47751545906066895, 1.0037841796875, 0.7596330046653748, -0.1026521772146225, 0.8977116346359253, -0.45500725507736206, 0.0930732861161232, 0.9488552212715149, -0.4909326434135437, 0.8342248201370239, 0.6794567704200745, -0.21928338706493378, 0.27013787627220154, 0.8466951847076416, 0.046409789472818375, 0.44378533959388733, 0.5169028639793396, -0.4003659784793854, -0.3439203202724457, -0.3626193106174469, -0.2783503830432892, 0.27919337153434753, 0.3979935646057129, -0.05833398923277855, -0.4347829818725586, -0.2958790957927704, 0.42542731761932373, -0.2350730448961258, -0.393045037984848, 0.3347170948982239, -0.026338255032896996, -0.40072712302207947, 0.5888102054595947, 0.001638279645703733, 0.9506043791770935, -0.6114351749420166, -0.2517225444316864, -0.2200419306755066, 0.3534836769104004, -0.33823657035827637, -0.4576300084590912, 0.51189124584198, -0.08842743933200836, -0.18311230838298798, -0.4947643578052521, 0.7860610485076904, -0.4486042261123657, -0.6336629390716553, 0.33192315697669983, 0.3681621253490448, 0.5295201539993286, -0.23441654443740845, -0.4536573588848114, 0.3859061896800995, -0.22185446321964264, -0.4753881096839905, 0.6931871175765991, 0.19346143305301666, -0.2430928349494934, 0.7842376232147217, 0.9266571402549744, 0.4776873290538788, 0.2807702422142029, -0.012385948561131954, 1.0488113164901733, -0.4751724600791931, -0.36919528245925903, -0.6973589062690735, -0.001459138817153871, 0.026768097653985023, -0.08916983008384705, 0.5271942615509033, 0.9103081226348877, 0.4791117012500763, 0.49456140398979187, 0.5540943145751953, -0.42348504066467285, -0.03547293692827225, -0.4055890142917633, 0.7266085147857666, -0.6507665514945984, 0.08638665080070496, 0.17787283658981323, -0.8015173077583313, -0.2198631465435028, 0.6233328580856323, 0.05639776587486267, 0.17497389018535614, 0.3157973289489746, 0.882786750793457, -0.11645197123289108, -0.167361781001091, 0.5009512305259705, 0.1309380978345871, 0.07854527235031128, 0.628477931022644, 0.24518761038780212, -0.269540011882782, 0.7557243704795837, -0.23780018091201782, -0.4823888838291168, -0.24063390493392944, -0.9728878736495972, -0.6570162177085876, -0.18824510276317596, -0.5029725432395935, -0.2945041358470917, 0.037858664989471436, 0.5856276154518127, 0.939449667930603, -0.5605051517486572, -0.27741628885269165, -0.06317184120416641, -0.13730160892009735, -0.10516710579395294, -0.17456185817718506, 0.3050699532032013, -0.02937014028429985, -0.5173933506011963, 0.26360368728637695, 0.5043905377388, 0.13431961834430695, -0.1574242264032364, -0.31296858191490173, 0.0565161257982254, -0.045181017369031906, 0.5827003121376038, 0.5299491882324219, -0.32129520177841187, 0.0013185315765440464, -0.07871056348085403, 0.2524969279766083, 0.11907672137022018, 0.8687304854393005, -0.9338632225990295, 0.30754879117012024, 0.4606230854988098, 0.7924606800079346, 0.6376885771751404, 0.03791239857673645, 0.38645997643470764, -0.662882924079895, 0.5729081630706787, -0.10955464094877243, 0.6580951809883118, 0.40850839018821716, -0.45262405276298523, 0.3267311453819275, 0.5240803360939026, -0.4758983254432678, -0.8260678052902222, -0.24530275166034698, -1.3419139385223389, -0.09017478674650192, 1.0837438106536865, -0.283184289932251, -0.6979795098304749, -0.18209190666675568, 0.041137807071208954, 0.39746320247650146, -0.47869986295700073, 0.5259297490119934, 0.34613946080207825, -0.3665724992752075, -0.42173877358436584, -0.9131767153739929, 0.30809134244918823, 0.47370395064353943, -0.7249179482460022, 0.25240612030029297, 0.3933195471763611, 0.03046688437461853, -0.09708663821220398, 0.6224637627601624, -0.1679752767086029, 0.008112783543765545, 0.34326475858688354, 0.27628007531166077, -0.40910211205482483, -0.10912639647722244, -0.16873681545257568, 0.05706767365336418, -0.15083517134189606, -0.3126489222049713 ]
http://arxiv.org/abs/2406.11670v1
http://arxiv.org/pdf/2406.11670v1
Benchmarking of LLM Detection: Comparing Two Competing Approaches
2024-06-17T15:51:46
2024-06-17T15:51:46
Thorsten Pröhl, Erik Putzier, Rüdiger Zarnekow
cs.CL
cs.CL, cs.AI
This article gives an overview of the field of LLM text recognition. Different approaches and implemented detectors for the recognition of LLM-generated text are presented. In addition to discussing the implementations, the article focuses on benchmarking the detectors. Although there are numerous software products for the recognition of LLM-generated text, with a focus on ChatGPT-like LLMs, the quality of the recognition (recognition rate) is not clear. Furthermore, while it can be seen that scientific contributions presenting their novel approaches strive for some kind of comparison with other approaches, the construction and independence of the evaluation dataset is often not comprehensible. As a result, discrepancies in the performance evaluation of LLM detectors are often visible due to the different benchmarking datasets. This article describes the creation of an evaluation dataset and uses this dataset to investigate the different detectors. The selected detectors are benchmarked against each other.
[ -0.20172381401062012, -0.3610776960849762, 0.6688665747642517, -0.06336989253759384, -0.34257185459136963, 0.29957789182662964, -0.20005278289318085, -0.703943133354187, -0.061201661825180054, 0.26475009322166443, -0.33049526810646057, -0.5569499731063843, -0.8222580552101135, 0.44150689244270325, -0.41153037548065186, 0.6615071296691895, -0.27218326926231384, 0.24519549310207367, -0.25808992981910706, -0.17280608415603638, -0.4001240134239197, -0.5399438142776489, -0.8826873302459717, -0.595723569393158, 0.21379797160625458, 0.06308649480342865, 0.10634786635637283, 0.5642017126083374, 0.8645777106285095, 0.32532796263694763, -0.3231566548347473, 0.14698804914951324, -0.47761270403862, 0.14105883240699768, 0.1176946684718132, -0.5016916394233704, -0.008188261650502682, 0.13548988103866577, 0.8809986114501953, -0.05536976456642151, 0.09340518712997437, 0.006671581882983446, 0.038189832121133804, 0.5590331554412842, -0.6992286443710327, -0.08062895387411118, -0.785306990146637, 0.26451900601387024, -0.6186358332633972, -0.36891674995422363, -0.4279717803001404, -0.3834444582462311, -0.11981271952390671, -0.040912479162216187, 0.42400938272476196, 0.08438922464847565, 0.5368237495422363, 0.05296899378299713, -0.32409313321113586, -0.8876418471336365, -0.6941249966621399, 0.8556740880012512, -0.6489077210426331, 0.27543240785598755, 0.1343388706445694, 0.64960777759552, -0.0941343903541565, -0.6741788387298584, -0.4818691909313202, -0.30218392610549927, 0.14082221686840057, 0.413649320602417, -0.3790683448314667, -0.34399232268333435, 0.2785467505455017, 0.6347346901893616, -0.8142759203910828, 0.3813062310218811, -0.1369989663362503, -0.5067590475082397, 0.622077226638794, 0.3831443190574646, -0.052815210074186325, -0.10945484042167664, -0.4565392732620239, -0.1983165442943573, -0.8050315380096436, -0.1522277295589447, 0.5267521142959595, -0.04726049676537514, 0.10727622359991074, 0.566677451133728, -0.3415328562259674, 0.47026097774505615, -0.34591302275657654, -0.32650497555732727, 0.45208775997161865, -0.2504083216190338, -0.22560277581214905, 0.05886067822575569, 1.0070958137512207, 0.5098311305046082, 0.2187768816947937, -0.07336188107728958, -0.663805365562439, 0.29468533396720886, 0.09413517266511917, -0.8322706818580627, -0.1235017478466034, -0.013614124618470669, -0.8286236524581909, -0.6269049644470215, -0.07978412508964539, -0.49202224612236023, -0.6167020797729492, 0.007437680847942829, 0.49676838517189026, -0.1509515792131424, -0.1498514860868454, 0.1203070729970932, -0.1627044677734375, 0.3825550973415375, 0.22923271358013153, -0.6757599711418152, 0.4356161653995514, 0.7384089231491089, 0.8041821122169495, -0.5512434244155884, -0.01158806774765253, -0.2357185035943985, -0.19866912066936493, -0.19281809031963348, 1.3128561973571777, -0.23422656953334808, -0.5341684222221375, -0.01932450383901596, -0.1968122124671936, 0.1004493236541748, -1.0197125673294067, 0.9312517046928406, -0.46959659457206726, 0.07441616803407669, -0.23993206024169922, -0.8384676575660706, -0.008723658509552479, 0.44869041442871094, -0.7259917855262756, 1.3162177801132202, -0.06427261233329773, -0.9569634199142456, 0.6348496675491333, -0.20232267677783966, -0.22730045020580292, 0.2887016832828522, -0.24154500663280487, -0.7952219843864441, 0.1463371366262436, 0.13238288462162018, 0.35302281379699707, -0.39993566274642944, -0.08513376861810684, -0.1196829229593277, -0.6441657543182373, 0.6658321022987366, -0.7539800405502319, 0.5876384973526001, 0.4243018925189972, -0.07233747094869614, -0.1661866456270218, -0.9323415756225586, 0.00385274738073349, 0.2668056786060333, -0.6272932887077332, -0.046604257076978683, 0.2744377553462982, 0.24742066860198975, -0.2029186636209488, 0.42881396412849426, -0.6346574425697327, -0.05367323383688927, -0.13864177465438843, 0.3083718419075012, 0.6063253879547119, 0.0679788589477539, -0.02297455258667469, -0.5013130307197571, 0.2537413537502289, -0.03971754014492035, 0.03917090222239494, -0.14123791456222534, -0.38082820177078247, -0.7193734049797058, -0.13595809042453766, 0.3635655343532562, 0.6517024636268616, -0.6624805927276611, 0.21680065989494324, 0.06081405654549599, -0.5648787617683411, -0.239198237657547, 0.09700528532266617, 0.5793977975845337, 0.398843377828598, 0.1068001538515091, -0.4735209047794342, -0.7365756034851074, -0.805131196975708, -0.5876752138137817, -0.3451431095600128, -0.19578367471694946, 0.5402371883392334, 0.48540928959846497, 0.018523508682847023, 0.6183227896690369, -0.5814580321311951, -0.028904451057314873, -0.22060588002204895, 0.13182933628559113, 0.39689385890960693, 0.25371360778808594, 0.5125240087509155, -0.5874832272529602, -0.6145846843719482, -0.03872621804475784, -0.9503783583641052, -0.45943892002105713, 0.16572466492652893, 0.30028966069221497, 0.029452204704284668, 0.7603799700737, -0.08150548487901688, 0.4394058287143707, 0.4876164197921753, 0.18588948249816895, 0.7352519035339355, -0.03364886716008186, 0.3045985996723175, -0.9736158847808838, -0.2976345419883728, 0.07637154310941696, -0.4281524121761322, -0.569423496723175, -0.044189780950546265, 0.16982129216194153, 0.12123151868581772, -0.6148120760917664, 0.33701640367507935, -0.4644223153591156, -0.5562599897384644, -0.7398852705955505, 0.2622649371623993, -0.1322723627090454, 0.1486934870481491, 0.048035867512226105, 1.0600827932357788, 0.33568403124809265, -0.43210357427597046, 0.43392854928970337, 0.012709681876003742, -0.7212764620780945, 0.6762648224830627, -0.7571108341217041, 0.21093297004699707, 0.19359232485294342, 0.1577879637479782, -1.0666013956069946, 0.1492704451084137, 0.5726599097251892, -0.4654402434825897, 0.21509526669979095, -0.22663526237010956, -0.8479767441749573, -0.3408643901348114, -0.5501364469528198, 0.410854309797287, 0.6581546068191528, -0.6709852814674377, 0.12453316897153854, 0.35162293910980225, 0.08487491309642792, -0.36728420853614807, -0.6370730996131897, 0.17413514852523804, -0.4195941388607025, -0.23271620273590088, 0.40786245465278625, -0.12265866249799728, -0.17986391484737396, -0.21405605971813202, -0.11161544173955917, 0.09092419594526291, 0.08933992683887482, 0.10977856814861298, 0.1278230845928192, -0.2802804112434387, 0.12235774844884872, -0.4077080190181732, -0.40997374057769775, 0.11495918035507202, -0.05204545333981514, 0.41560274362564087, 0.08800958096981049, -0.5068531632423401, -0.4514760673046112, 0.05068831145763397, 0.05431118607521057, 0.07808104902505875, 0.25592145323753357, 0.6287530064582825, -0.3552042245864868, 0.054769616574048996, -0.7228500247001648, 0.10484056174755096, -0.4986076056957245, 0.03442814201116562, -0.44886526465415955, -0.6479589939117432, 0.3919965624809265, -0.28122881054878235, -0.2682218849658966, 0.46261096000671387, 0.9231085181236267, -0.22669926285743713, 0.6648745536804199, 0.392019659280777, -0.198188915848732, 0.5298563241958618, 0.1884196251630783, 0.023768149316310883, -0.9417682886123657, -0.08520044386386871, -0.787671685218811, -0.1598486602306366, -0.85612952709198, -0.2520895004272461, 0.09883254021406174, 0.019187146797776222, 0.0483749695122242, 0.6222020387649536, -0.6455844640731812, 0.6948400139808655, 0.32402196526527405, 0.36379724740982056, 0.5931207537651062, -0.007220315281301737, -0.23870694637298584, -0.0021964097395539284, -0.4849947392940521, -0.9831550121307373, 1.4870500564575195, 0.16111153364181519, 0.8582260012626648, -0.08350542932748795, 0.8723620176315308, 0.5539773106575012, 0.579322099685669, -0.7347053289413452, 0.6202663779258728, -0.27467137575149536, -0.32365694642066956, 0.2184773087501526, -0.4783443808555603, -1.0800490379333496, 0.2420407235622406, -0.4218680262565613, -0.8073456287384033, -0.06659084558486938, -0.23861514031887054, 0.3366033136844635, 0.2825877070426941, -0.6584510207176208, 0.5947961211204529, -0.11937102675437927, -0.10191367566585541, -0.061697978526353836, -0.23836709558963776, 0.30057913064956665, -0.03976351022720337, -0.1282666176557541, -0.5406480431556702, 0.08741343021392822, 0.7702486515045166, -0.049991898238658905, 0.567990243434906, 0.11299268901348114, -0.08727128058671951, 0.4463220238685608, -0.22491130232810974, 0.3265327513217926, 0.01831880584359169, -0.2612000107765198, 0.11218547075986862, -0.1804308295249939, -0.19481252133846283, -0.052447061985731125, 0.5581732988357544, -0.6286318302154541, -0.2874239385128021, -0.6220851540565491, -0.4229108691215515, 0.061603330075740814, 0.12295498698949814, 0.641749382019043, 0.545111358165741, -0.7053002715110779, -0.1633785218000412, 0.5631738305091858, -0.1491919904947281, 0.5658451318740845, 0.6796057224273682, -0.18966668844223022, -0.5034798383712769, 0.7850697636604309, -0.1324850618839264, 0.06435626745223999, 0.7773443460464478, -0.006121678277850151, -0.3942384719848633, -0.9688184857368469, -0.22479160130023956, -0.04500843957066536, -0.9180911779403687, -0.4139293432235718, -0.34577396512031555, -0.5314215421676636, -0.19264379143714905, 0.0807357057929039, -0.12791745364665985, -0.14463092386722565, -0.2275318056344986, 0.2237066775560379, 0.3986273407936096, 0.8453899025917053, 0.116236113011837, 0.5236607789993286, -0.47153085470199585, 0.33401158452033997, 0.14614881575107574, 0.4088498651981354, -0.12450596690177917, -0.3672540783882141, -0.30846258997917175, -0.2569226920604706, -0.6144146919250488, -0.6820119023323059, 0.1628328263759613, -0.11010552197694778, 0.776636004447937, 0.30044975876808167, -0.22124995291233063, 0.2234046310186386, -0.4747122824192047, 0.42837539315223694, 0.04998309537768364, -0.9364913105964661, 0.5638461112976074, 0.15999425947666168, 0.27611061930656433, 0.5248643159866333, 0.23543190956115723, -0.4579354226589203, -0.3711780309677124, -0.2768111526966095, -0.36413609981536865, 0.4405277371406555, 0.5186644196510315, -0.2087683081626892, 0.17650499939918518, 0.23102730512619019, 0.2157982587814331, 0.04783971235156059, -0.7615746855735779, -0.017770258709788322, 0.23518268764019012, -0.21116583049297333, -0.1931317299604416, -0.40696293115615845, -0.14081905782222748, 0.32335349917411804, 0.33819523453712463, 0.0911819264292717, 0.45491713285446167, 0.11672903597354889, -0.4689849317073822, 0.2853185832500458, 0.09004385769367218, 0.4344789385795593, 0.33505499362945557, -0.2172260731458664, 0.19116319715976715, 0.3006936311721802, -0.7832177877426147, 0.2604874074459076, -0.07670144736766815, -0.08484654873609543, 0.21421796083450317, 0.7686729431152344, 0.5918741822242737, 0.038031160831451416, -0.5430814027786255, 0.48205333948135376, -0.3361131250858307, -0.3613382875919342, -0.1520071029663086, 0.21926221251487732, 0.08218812197446823, 0.43663838505744934, 0.35523244738578796, -0.07661087065935135, 0.4006260335445404, -0.37198373675346375, 0.2088441401720047, 0.5402108430862427, -0.05518070608377457, -0.015494560822844505, 0.6326811909675598, 0.0937805250287056, -0.5907561182975769, 0.43729570508003235, -0.3420967161655426, -0.7254984974861145, 0.9339611530303955, 0.45149853825569153, 1.078810214996338, -0.07087014615535736, -0.20118239521980286, 0.33761492371559143, 0.1771363914012909, 0.061141036450862885, 0.3366851210594177, -0.27944958209991455, -1.0233091115951538, -0.03626815602183342, -0.4645049273967743, -0.8671939373016357, 0.030341651290655136, -0.5687898397445679, 0.44724932312965393, -0.19655567407608032, -0.2523290514945984, 0.3527345061302185, 0.4056897461414337, -0.6005387902259827, 0.11588448286056519, 0.16325171291828156, 0.9066708087921143, -0.8844048976898193, 0.6974452137947083, 0.38165658712387085, 0.10049563646316528, -0.15892824530601501, 0.20929943025112152, 0.2794105112552643, -1.053141713142395, 0.38270410895347595, 0.4095464050769806, -0.2335858941078186, -0.22991497814655304, -0.3253975212574005, -0.33641317486763, 1.2562670707702637, -0.06241590902209282, -0.5287739038467407, 0.7422646880149841, 0.1987675279378891, 0.6779803037643433, -0.38875812292099, 0.4817940294742584, 0.5971508026123047, 0.28719526529312134, 0.07072226703166962, -0.7766586542129517, -0.07166026532649994, -0.11565365642309189, 0.1705068200826645, 0.09470568597316742, -0.5210049152374268, 0.7877399325370789, 0.25510236620903015, -0.6155155301094055, 0.4385363459587097, 0.29024431109428406, 0.5629174709320068, 0.8106797337532043, 0.25693604350090027, 0.592965304851532, 0.4368072748184204, -0.24326427280902863, 0.7814383506774902, -0.19256195425987244, 0.515561580657959, 0.8667710423469543, -0.6524132490158081, 0.8742601871490479, 0.2686852216720581, -0.7376973032951355, 0.13135798275470734, 0.8814246654510498, -0.43350449204444885, 0.5230096578598022, 0.4730786383152008, -0.7095750570297241, 0.20997019112110138, -0.033280450850725174, -0.45073172450065613, 0.3500922620296478, 0.267656534910202, -0.43426597118377686, -0.4635432958602905, -0.276636004447937, -0.3182869851589203, 0.08065265417098999, -0.3605109453201294, 0.8714689016342163, 0.06831211596727371, -0.3685782849788666, 0.5534575581550598, 0.17920169234275818, 0.9217193126678467, -0.3767586648464203, 0.28085556626319885, -0.11378112435340881, 0.2714288830757141, -0.25591886043548584, -1.0530470609664917, 0.2802298963069916, 0.3461494743824005, -0.14303824305534363, -0.22369854152202606, 1.2354389429092407, -0.10623749345541, -0.3104848861694336, 0.21263572573661804, 0.6488828063011169, 0.6026797294616699, 0.24800452589988708, -0.6770151257514954, 0.4899265468120575, -0.12277954071760178, -0.11563149839639664, 0.3346826434135437, 0.42270880937576294, 0.17545558512210846, 0.4925684928894043, 0.5745786428451538, -0.05960313230752945, -0.03598300367593765, 0.23863394558429718, 0.7612366080284119, -0.6499330997467041, -0.10406792908906937, -1.026921272277832, -0.16548676788806915, -0.12947161495685577, -0.26375195384025574, 0.7951021790504456, 0.9839640259742737, 0.7863854765892029, -0.13501599431037903, 0.5411551594734192, 0.1837129443883896, 0.5216533541679382, -0.8393336534500122, 0.44639402627944946, -0.3545307517051697, 0.5713185667991638, -0.27726516127586365, -0.9618473052978516, -0.2865440249443054, 0.6956765651702881, -0.10906398296356201, 0.07147958874702454, 0.7620749473571777, 0.8258315920829773, 0.06234832480549812, 0.0659882053732872, 0.3313491642475128, -0.06263680756092072, 0.35083281993865967, 0.8659953474998474, 1.1679613590240479, -0.7286376953125, 0.6196247339248657, 0.05931061878800392, -0.10233044624328613, -0.2906917929649353, -1.3060827255249023, -0.793805718421936, -0.46992120146751404, -0.29305651783943176, -0.11733002960681915, 0.08206909149885178, 0.2057371437549591, 0.46236616373062134, -0.7272260785102844, -0.32188478112220764, -0.21351532638072968, 0.24530057609081268, -0.14775434136390686, -0.2108134627342224, 0.2004268914461136, -0.08376803249120712, -0.8334396481513977, 0.42670103907585144, 0.44990915060043335, 0.34940028190612793, -0.16914404928684235, 0.05925377085804939, 0.09007947146892548, 0.04667268693447113, 0.4704815149307251, 0.23756107687950134, -0.3831459581851959, -0.17427761852741241, -0.3370756506919861, -0.47415491938591003, 0.4487677812576294, 0.8916994333267212, -0.9401979446411133, 0.1910575032234192, 0.780876874923706, 0.5173366069793701, 0.988884687423706, -0.31968238949775696, 0.17366793751716614, -0.5738308429718018, 0.030621787533164024, 0.1305122971534729, 0.382792204618454, 0.35654890537261963, -0.2279948741197586, 0.7944337129592896, 0.3544268012046814, -0.9066482186317444, -0.8717804551124573, 0.4185003638267517, -1.0618109703063965, -0.09296905249357224, 0.8794023990631104, -0.163255512714386, -0.054765213280916214, 0.03186585381627083, -0.22117389738559723, 0.1396321952342987, -0.1448024958372116, 0.5721011161804199, 0.9369375705718994, -0.37512823939323425, 0.008217155933380127, -0.5867917537689209, 0.25580453872680664, 0.007176827639341354, -0.8949068784713745, -0.20284341275691986, 0.07575224339962006, 0.5357428193092346, -0.20480741560459137, 0.9081414937973022, -0.2633814513683319, 0.1529501974582672, 0.3317796289920807, -0.04244939982891083, 0.20395968854427338, 0.15947258472442627, -0.40713760256767273, -0.10094442963600159, 0.1399906724691391, -0.44125351309776306 ]
http://arxiv.org/abs/2406.11668v1
http://arxiv.org/pdf/2406.11668v1
"Not Aligned" is Not "Malicious": Being Careful about Hallucinations of Large Language Models' Jailbreak
2024-06-17T15:51:01
2024-06-17T15:51:01
Lingrui Mei, Shenghua Liu, Yiwei Wang, Baolong Bi, Jiayi Mao, Xueqi Cheng
cs.CL
cs.CL
"Jailbreak" is a major safety concern of Large Language Models (LLMs), which occurs when malicious prompts lead LLMs to produce harmful outputs, raising issues about the reliability and safety of LLMs. Therefore, an effective evaluation of jailbreaks is very crucial to develop its mitigation strategies. However, our research reveals that many jailbreaks identified by current evaluations may actually be hallucinations-erroneous outputs that are mistaken for genuine safety breaches. This finding suggests that some perceived vulnerabilities might not represent actual threats, indicating a need for more precise red teaming benchmarks. To address this problem, we propose the $\textbf{B}$enchmark for reli$\textbf{AB}$ilit$\textbf{Y}$ and jail$\textbf{B}$reak ha$\textbf{L}$l$\textbf{U}$cination $\textbf{E}$valuation (BabyBLUE). BabyBLUE introduces a specialized validation framework including various evaluators to enhance existing jailbreak benchmarks, ensuring outputs are useful malicious instructions. Additionally, BabyBLUE presents a new dataset as an augmentation to the existing red teaming benchmarks, specifically addressing hallucinations in jailbreaks, aiming to evaluate the true potential of jailbroken LLM outputs to cause harm to human society.
[ -0.09203989058732986, -0.5924167633056641, 0.21558497846126556, 0.45704641938209534, -0.23041598498821259, 0.29772597551345825, -0.37706345319747925, -0.8188115954399109, 0.4062478840351105, 0.5742257237434387, -0.45770493149757385, -0.436943918466568, -0.5521328449249268, -0.04458719864487648, -0.5458778738975525, 0.9841981530189514, 0.1338021159172058, -0.1411149501800537, -0.08511194586753845, -0.21427202224731445, -0.8367729783058167, -0.2930983603000641, -0.26369708776474, -0.14249703288078308, 0.28144800662994385, 0.33724668622016907, 0.7591748833656311, 0.47633227705955505, 0.746863842010498, 0.26315033435821533, 0.007484763860702515, -0.029287761077284813, -0.5899317264556885, 0.6284579634666443, -0.08768990635871887, -0.1457105129957199, -0.2274962067604065, 0.0614643320441246, 0.14450617134571075, 0.39024630188941956, -0.26679182052612305, 0.05623573809862137, -0.2888738214969635, 0.9038848876953125, -1.0560401678085327, -0.40262478590011597, -0.8570249676704407, 0.12856006622314453, -0.2251330465078354, 0.1852550506591797, -0.8006119132041931, -0.4607500731945038, -0.08523192256689072, -0.2970176935195923, -0.12896563112735748, 0.4490436017513275, 1.0001435279846191, 0.623678982257843, -0.11505082249641418, -0.05811620503664017, -0.6273261308670044, 0.8076125979423523, -0.6359086036682129, 0.4275825023651123, 0.3611248731613159, 0.5231981873512268, -0.38271865248680115, -0.27591773867607117, -0.13424287736415863, -0.4776366651058197, 0.06589072942733765, 0.053594689816236496, -0.3499959409236908, -0.043578680604696274, 0.326070100069046, 0.01985056884586811, -0.6243792772293091, 0.43681633472442627, -0.49066391587257385, -0.39364397525787354, 1.042075753211975, 0.1429729163646698, 0.4691777229309082, 0.12437861412763596, -0.5262435674667358, -0.017705682665109634, -0.82414311170578, -0.25483453273773193, 0.5359265208244324, 0.2915325164794922, -0.48547786474227905, 0.5952969789505005, 0.18236619234085083, 0.7379465103149414, 0.13809695839881897, 0.09081614017486572, 0.4449693262577057, -0.0735045075416565, -0.3342336416244507, 0.43454962968826294, 0.961397647857666, 0.7940633893013, 0.4948822259902954, -0.6645389795303345, -0.2373475879430771, 0.4050410985946655, 0.7796448469161987, -0.7403907775878906, -0.4426378011703491, 0.308604896068573, -0.30811676383018494, -0.43313726782798767, 0.13031773269176483, -1.1015375852584839, -0.9214134812355042, 0.27627691626548767, 0.44918468594551086, -0.37057632207870483, -0.26895973086357117, -0.05534323677420616, -0.13088048994541168, 0.21503838896751404, 0.05577909201383591, -0.9265077114105225, 0.3033085763454437, 0.795589029788971, 0.6049704551696777, -0.26410627365112305, -0.2812034487724304, -0.37479469180107117, 0.09146985411643982, -0.4421158730983734, 0.6960388422012329, -0.508568286895752, -0.39418870210647583, -0.05467519909143448, -0.10776075720787048, -0.15872463583946228, -0.8591942191123962, 0.42552295327186584, -0.3596764802932739, -0.2592184543609619, -0.11587204039096832, -0.40631136298179626, 0.07029254734516144, 0.28262031078338623, -0.6764791011810303, 0.7662857174873352, 0.05790359154343605, -0.6892490386962891, 0.6546292304992676, -0.337114542722702, -0.709992527961731, 0.0766807273030281, -0.13260430097579956, -0.6757541298866272, 0.06157197430729866, -0.035704806447029114, -0.001686770934611559, -0.20814664661884308, 0.41384077072143555, -0.4562015235424042, -0.48531374335289, 0.3361242711544037, -0.2095111608505249, 0.8293746709823608, 0.1664859652519226, -0.6148693561553955, 0.17544417083263397, -0.7473751902580261, 0.2314922958612442, 0.019083941355347633, -0.081941157579422, -0.4278782308101654, -0.005668767727911472, -0.02342996373772621, -0.021923432126641273, 0.33873963356018066, -0.6503937244415283, 0.014375428669154644, -0.4387437701225281, 0.3890828490257263, 0.6750271320343018, -0.07049934566020966, 0.32229071855545044, -0.40234917402267456, 0.5570574402809143, -0.07357775419950485, 0.3680168390274048, 0.33340826630592346, -0.44348835945129395, -0.5072305798530579, -0.3249037265777588, 0.23452360928058624, 0.6046459674835205, -0.3577812612056732, 0.6426718235015869, 0.020082857459783554, -0.7903953194618225, -0.5557259321212769, -0.021622760221362114, 0.7872368097305298, 0.32047271728515625, 0.48554864525794983, -0.22905860841274261, -1.0080456733703613, -1.186506986618042, -0.5224761366844177, -0.4553475081920624, 0.5180692672729492, 0.00010921894863713533, 0.5979569554328918, -0.35453152656555176, 0.6268613338470459, -0.10324636846780777, -0.13976117968559265, -0.26873400807380676, -0.02207871712744236, 0.14092805981636047, 0.6318079233169556, 0.3757632374763489, -0.507888913154602, -0.4447617530822754, -0.18957361578941345, -0.7813035249710083, -0.4287340044975281, -0.008375908248126507, -0.03841809928417206, 0.4260566830635071, 0.5336657166481018, -0.5154201984405518, 0.30722036957740784, 0.8907211422920227, -0.5928294062614441, 0.7835387587547302, -0.014080578461289406, 0.10753972083330154, -0.766363799571991, -0.00012387119932100177, 0.059202708303928375, 0.03576714172959328, -0.6472933888435364, 0.2660213112831116, 0.25216493010520935, 0.10086698830127716, -0.5047948956489563, 0.48433560132980347, -0.3236033022403717, -0.12614208459854126, -0.11531972885131836, 0.19896137714385986, -0.05383249744772911, -0.043337274342775345, -0.4434196949005127, 0.9007638692855835, 0.36286410689353943, -0.05834244191646576, 0.3910510838031769, -0.009962329640984535, -0.49666163325309753, 0.4377955198287964, -0.4613870084285736, 0.17363712191581726, 0.25890323519706726, -0.1245204508304596, -0.6758308410644531, -0.13832634687423706, 0.24018222093582153, -0.42282921075820923, 0.4108610451221466, -0.187080979347229, -0.681938111782074, -0.3456469774246216, -0.40416833758354187, 0.5231654047966003, 0.5865602493286133, -0.3762225806713104, 0.1356247365474701, 0.6966791152954102, 0.4767039120197296, -0.8410502672195435, -0.775822103023529, 0.18157199025154114, -0.5564954876899719, -0.7547639012336731, 0.4149981439113617, 0.22279398143291473, -0.6351243257522583, 0.10613206028938293, -0.28910204768180847, -0.10670797526836395, 0.40249139070510864, 0.5369214415550232, 0.5095420479774475, -0.09333789348602295, -0.15386252105236053, -0.13931207358837128, -0.17055678367614746, 0.26380035281181335, 0.15672162175178528, 0.44302618503570557, -0.13992494344711304, -0.304292768239975, -0.11368543654680252, 0.007909787818789482, 0.6356160640716553, -0.16088244318962097, 0.8693564534187317, 0.12997406721115112, -0.5363006591796875, -0.3296692669391632, -0.7729569673538208, -0.1521005630493164, -0.46788716316223145, 0.21296188235282898, -0.024987248703837395, -0.9160999655723572, 0.6033897995948792, 0.3947947025299072, 0.017689339816570282, 0.19808004796504974, 0.4801139533519745, -0.012325793504714966, 0.7883381247520447, 0.5229765772819519, -0.2806544601917267, 0.16908161342144012, 0.223428875207901, 0.49008485674858093, -0.8411287665367126, -0.5276554226875305, -0.5053346753120422, -0.45572465658187866, -0.7572693824768066, -0.0957820788025856, 0.028710532933473587, 0.1094641387462616, -0.48338010907173157, 0.8269166946411133, -0.7098909616470337, 0.6617123484611511, 0.3060460686683655, -0.1493331342935562, 0.023128729313611984, -0.2524370849132538, -0.1859140396118164, -0.24333058297634125, -0.3801737427711487, -0.32874685525894165, 1.0868854522705078, 0.34445542097091675, 1.101219892501831, 0.2774221897125244, 0.9320312142372131, 0.2176729142665863, 0.35282111167907715, -0.6102184653282166, 0.7040233016014099, -0.10853147506713867, -0.8807811737060547, -0.17491133511066437, -0.3778938055038452, -1.1405435800552368, 0.2017218917608261, -0.30908432602882385, -1.3264052867889404, -0.0024836265947669744, 0.06661505997180939, -0.44923102855682373, 0.13233597576618195, -0.8414931297302246, 1.0265446901321411, -0.4194434881210327, -0.579823911190033, -0.24818947911262512, -0.6186093688011169, 0.5346336364746094, -0.1951403170824051, 0.25721341371536255, -0.23919717967510223, 0.16849544644355774, 0.8444748520851135, -0.42579618096351624, 0.6949925422668457, -0.24721558392047882, 0.12851768732070923, 0.24043874442577362, 0.43561020493507385, 0.34197095036506653, -0.10538223385810852, -0.11989276856184006, 0.11992114037275314, -0.19586670398712158, -0.1143948882818222, -0.38484176993370056, 0.9065805077552795, -0.6632697582244873, -0.8170762658119202, -0.5451288819313049, -0.6015521883964539, -0.26647263765335083, 0.19345872104167938, 0.2186203896999359, 0.02832053415477276, 0.01754923351109028, 0.22620269656181335, 0.46313631534576416, -0.3725212812423706, 0.371633380651474, 0.42137324810028076, -0.28060182929039, -0.541264533996582, 0.7252063751220703, -0.032689597457647324, 0.20702186226844788, -0.07255334407091141, 0.06080041453242302, -0.2272689938545227, -0.7922730445861816, -0.419976145029068, 0.39009174704551697, -0.5501261353492737, -0.40700608491897583, -0.3040850758552551, -0.4330253005027771, -0.3602525591850281, -0.3724284768104553, -0.5435698628425598, -0.06659849733114243, 0.15583784878253937, -0.21065238118171692, 0.3444681763648987, 0.5149692296981812, -0.0894627794623375, 0.053985632956027985, -0.7572581171989441, 0.08240357041358948, -0.11999715864658356, 0.4394787549972534, -0.16237735748291016, -0.5625203251838684, -0.38060957193374634, -0.22550280392169952, -0.38344988226890564, -1.0830318927764893, 0.3168867528438568, -0.34467723965644836, 0.7079190015792847, 0.3640967607498169, 0.4004197120666504, 0.9349080324172974, -0.44895651936531067, 0.6394482254981995, 0.3582663834095001, -0.9552518129348755, 0.612463116645813, -0.24242810904979706, -0.22305230796337128, 1.0603892803192139, -0.09788388758897781, -0.30452314019203186, -0.7209736108779907, -0.7306957840919495, -0.983852744102478, 0.5118672847747803, 0.29032519459724426, -0.052575819194316864, -0.09111310541629791, 0.06260766088962555, -0.09388509392738342, 0.37959590554237366, -0.9365437626838684, -0.20555689930915833, 0.02262481115758419, -0.16403703391551971, 0.25881078839302063, -0.23257756233215332, -0.12063781172037125, -0.11473935097455978, 0.6077762842178345, 0.4603404998779297, 0.003759132232517004, -0.07193607091903687, -0.2172217220067978, -0.4758506119251251, 0.1475498527288437, 0.6240604519844055, 0.5042056441307068, -0.3410448133945465, 0.09798944741487503, 0.05683792009949684, -0.46690669655799866, 0.2493356615304947, -0.11165178567171097, -0.06769762188196182, -0.24691477417945862, 0.6563316583633423, 0.675905168056488, 0.24886609613895416, -1.0040994882583618, 0.6316103339195251, 0.16672666370868683, -0.0816490650177002, -0.4259672462940216, 0.34304872155189514, -0.11447037756443024, 0.34284064173698425, -0.006534732412546873, 0.1745709776878357, -0.10144411027431488, -0.589512050151825, 0.2692962884902954, 0.6843938231468201, -0.5561390519142151, -0.29031702876091003, 0.7526187896728516, 0.2351963371038437, -0.5355857014656067, 0.9287987351417542, -0.23199640214443207, -0.5593375563621521, 0.8778867721557617, 0.7426234483718872, 1.1339749097824097, -0.31832242012023926, -0.037733640521764755, 0.49723565578460693, 0.8103856444358826, -0.15174172818660736, 0.15395189821720123, 0.30830666422843933, -0.8501118421554565, -0.3727928400039673, -0.5199992656707764, -0.32568231225013733, 0.2477673888206482, -0.7740607261657715, 0.3487589359283447, -0.6789527535438538, -0.23472686111927032, -0.19214577972888947, -0.18187113106250763, 0.02648833394050598, 0.10533036291599274, 0.27556276321411133, 1.0173383951187134, -0.9714263081550598, 0.8765167593955994, 0.5320115685462952, -0.12102335691452026, -0.752027690410614, 0.17306914925575256, 0.0886039212346077, -0.7453528642654419, 0.552493691444397, 0.7039597034454346, -0.026641104370355606, -0.4329075813293457, -0.3770800530910492, -0.5441805124282837, 0.7042761445045471, 0.44624876976013184, -0.8940469026565552, 0.11483658850193024, -0.13222788274288177, 0.5412286520004272, -0.33584392070770264, -0.07494595646858215, 0.7822668552398682, 0.7311433553695679, -0.09294796735048294, -0.980135440826416, 0.32522836327552795, -0.31142738461494446, -0.3935025632381439, 0.7046434879302979, -0.5556341409683228, 0.6393721103668213, -0.5921626091003418, -0.31974196434020996, 0.09692589193582535, 0.14171886444091797, 0.5936176776885986, 0.42329829931259155, 0.5027933716773987, 0.9865150451660156, 0.4380311667919159, -0.24649906158447266, 0.8245812058448792, -0.337354451417923, 0.21112705767154694, 1.2120192050933838, -0.5819587111473083, 0.7792407870292664, 0.8128234148025513, -0.11017715185880661, 0.4871664345264435, 0.3703143298625946, -0.6402461528778076, 0.7769442200660706, 0.427507609128952, -0.007849358953535557, -0.28938332200050354, 0.15435029566287994, -0.294278085231781, 0.2704695165157318, 0.3056122660636902, -0.3850439190864563, -0.05841626971960068, -0.2861464023590088, 0.2427985966205597, 0.3762394189834595, -0.018650181591510773, 0.7535092830657959, 0.1302955448627472, -0.933096170425415, 0.5957762598991394, 0.015584318898618221, 0.5823309421539307, -0.23493726551532745, 0.1804417371749878, -0.1013091430068016, 0.13585683703422546, -0.46466606855392456, -0.6630789637565613, 0.6184170842170715, 0.26692768931388855, 0.1011698767542839, 0.11200200766324997, 0.5745205879211426, -0.03359358385205269, -0.3247813880443573, 0.8297320604324341, 0.17363621294498444, 0.05070120096206665, 0.14551138877868652, -0.740658164024353, 0.4043653905391693, 0.011239999905228615, 0.0653785988688469, 0.26598966121673584, 0.04987145587801933, -0.1352313756942749, 0.7903777360916138, 0.4551074802875519, 0.2632817327976227, 0.15312455594539642, 0.1438681185245514, 0.7390454411506653, -0.7737073302268982, -0.24108655750751495, -1.3538323640823364, 0.5565686225891113, -0.07702666521072388, -0.3107323944568634, 0.7734047174453735, 0.7484084367752075, 0.7170994877815247, 0.17818203568458557, 0.4921058416366577, -0.14833952486515045, 0.13522247970104218, -0.4069838523864746, 1.0380216836929321, -0.4418160319328308, 0.47698619961738586, -0.40588417649269104, -1.019039511680603, -0.45017343759536743, 0.8408923745155334, -0.4314160645008087, -0.03503507748246193, 0.8472804427146912, 0.9888678789138794, 0.3060639202594757, 0.07482894510030746, 0.41732633113861084, 0.342194139957428, 0.13522212207317352, 0.713371992111206, 1.1447852849960327, -0.34652113914489746, 0.44298890233039856, -0.35267820954322815, -0.13318932056427002, -0.3285538852214813, -0.9095025062561035, -1.0411542654037476, -0.21344439685344696, -0.4820292592048645, -0.7055209875106812, 0.4244263768196106, 0.9693037271499634, 0.5287377834320068, -0.8856759667396545, -0.2921942472457886, -0.18023693561553955, 0.09569870680570602, -0.1693444848060608, -0.18931220471858978, -0.04559459909796715, -0.23019416630268097, -0.31958481669425964, 0.5338940024375916, 0.42428573966026306, 0.02259814739227295, -0.3291245400905609, -0.05606166645884514, 0.11297127604484558, -0.06808823347091675, 0.19467122852802277, 0.1968679577112198, -0.7693100571632385, -0.5750738978385925, -0.1399121731519699, -0.22961822152137756, 0.12025542557239532, 0.5421223044395447, -0.6464033722877502, 0.333833783864975, 0.1661282628774643, 0.6669225096702576, 0.06373536586761475, -0.035685550421476364, 0.43881282210350037, -0.5786424279212952, 0.348810613155365, 0.4345046281814575, 0.4140889346599579, 0.33674681186676025, -0.3234720230102539, 0.5653616786003113, 0.002195213921368122, -0.5877261161804199, -1.3143582344055176, 0.24316389858722687, -0.8846853971481323, -0.22245748341083527, 1.2224524021148682, -0.2194642871618271, -0.35832926630973816, -0.14496475458145142, 0.3142108917236328, 0.12460438907146454, -0.5018801689147949, 1.1495376825332642, 0.6247759461402893, 0.07813947647809982, -0.0003075599670410156, -0.4545222222805023, 0.3684806525707245, 0.47087547183036804, -0.7464147806167603, 0.23937129974365234, 0.40947622060775757, 0.12470197677612305, 0.2431303709745407, 0.11220921576023102, -0.29073566198349, 0.4189497232437134, 0.10123956948518753, 0.023094477131962776, -0.15536488592624664, -0.5360414385795593, -0.17447856068611145, 0.03173687309026718, 0.1768341213464737, -0.19129230082035065 ]
http://arxiv.org/abs/2406.11665v1
http://arxiv.org/pdf/2406.11665v1
See It from My Perspective: Diagnosing the Western Cultural Bias of Large Vision-Language Models in Image Understanding
2024-06-17T15:49:51
2024-06-17T15:49:51
Amith Ananthram, Elias Stengel-Eskin, Carl Vondrick, Mohit Bansal, Kathleen McKeown
cs.CL
cs.CL, cs.AI, cs.CV
Vision-language models (VLMs) can respond to queries about images in many languages. However, beyond language, culture affects how we see things. For example, individuals from Western cultures focus more on the central figure in an image while individuals from Eastern cultures attend more to scene context. In this work, we present a novel investigation that demonstrates and localizes VLMs' Western bias in image understanding. We evaluate large VLMs across subjective and objective visual tasks with culturally diverse images and annotations. We find that VLMs perform better on the Western subset than the Eastern subset of each task. Controlled experimentation tracing the source of this bias highlights the importance of a diverse language mix in text-only pre-training for building equitable VLMs, even when inference is performed in English. Moreover, while prompting in the language of a target culture can lead to reductions in bias, it is not a substitute for building AI more representative of the world's languages.
[ -0.609323263168335, -0.42703691124916077, 0.4066835343837738, 0.17868009209632874, -0.30917561054229736, -0.16389870643615723, -0.4238760769367218, -1.0020159482955933, 0.05715973302721977, 0.5153726935386658, -0.663057267665863, -0.3323197364807129, -0.6290112733840942, 0.01429655309766531, -0.0992538332939148, 0.6522184014320374, -0.10194046795368195, 0.6486459970474243, -0.17650221288204193, -0.5697665214538574, -0.322387158870697, -0.5241571068763733, -0.3456718921661377, -0.2378108948469162, 0.3488764464855194, 0.06174929067492485, 0.6685769557952881, 0.5014210939407349, 0.4743017554283142, 0.26344606280326843, -0.079355388879776, 0.04996061697602272, -0.4684993028640747, -0.037088070064783096, -0.1580294966697693, -0.6842135190963745, 0.22091539204120636, 0.06413881480693817, 0.35076695680618286, 0.8187075853347778, 0.2459145486354828, 0.555785596370697, 0.007129061035811901, 0.5642390847206116, -0.9836509227752686, 0.046242449432611465, -0.5617697834968567, 0.3863120675086975, -0.09189542382955551, 0.07476967573165894, -0.5140470266342163, 0.22032688558101654, 0.5319279432296753, -0.5465947985649109, 0.21300160884857178, 0.025315457955002785, 1.0423846244812012, 0.3273473381996155, -0.6137027740478516, 0.1728319525718689, -0.7975170612335205, 0.9434897303581238, -0.13396096229553223, 0.5372986197471619, 0.3724818527698517, 0.368846595287323, 0.29217270016670227, -0.3855310380458832, -0.43477845191955566, 0.02646060846745968, -0.2680109739303589, 0.13440322875976562, -0.15337422490119934, -0.33523496985435486, 0.4370407164096832, 0.14797210693359375, -0.4250156879425049, -0.0033173400443047285, -0.5279644131660461, -0.46337875723838806, 0.5944488048553467, -0.11738904565572739, 0.4656808376312256, 0.13734273612499237, -0.32210758328437805, 0.026497988030314445, -0.6167988181114197, 0.16865681111812592, 0.03138121962547302, -0.10804232209920883, -0.2745087742805481, 0.3349463641643524, -0.2624916732311249, 1.099916934967041, -0.3222258985042572, -0.22487443685531616, 0.07419226318597794, -0.20403726398944855, -0.3620888292789459, -0.10396924614906311, 0.3754321038722992, 0.8646553754806519, 0.6877740621566772, 0.0935012474656105, -0.01329806074500084, 0.2794075310230255, 0.20977254211902618, -0.6178374886512756, 0.009612886235117912, -0.38817527890205383, -0.8423639535903931, -0.14325816929340363, -0.13044993579387665, -0.3150613009929657, -0.6177722215652466, -0.4474036395549774, 0.2872175872325897, -0.07713860273361206, -0.19003789126873016, -0.22375454008579254, -0.305975079536438, 0.641293466091156, 0.4750857949256897, -0.5818226933479309, -0.10415852069854736, 0.22873833775520325, 0.5777769088745117, 0.14751051366329193, -0.4952903687953949, -0.5331254005432129, 0.03679213672876358, -0.5150654911994934, 0.8147729635238647, -0.6680474281311035, -0.26737263798713684, 0.23296242952346802, 0.10820122063159943, 0.31738096475601196, -0.5123985409736633, 0.19816315174102783, -0.44840583205223083, 0.3579956889152527, -0.7251947522163391, 0.32428643107414246, -0.3106415271759033, 0.39269745349884033, -0.431629478931427, 0.5838527679443359, -0.138226717710495, -0.8432691097259521, 0.9924054145812988, -0.23521512746810913, -0.569769024848938, -0.005836627911776304, -0.529444694519043, 0.1664767563343048, 0.3774758577346802, 0.5758987069129944, 0.17402540147304535, -0.16232115030288696, 0.0023785450030118227, -0.29481732845306396, -0.4166141450405121, 0.13175424933433533, -0.316803902387619, 0.7205474972724915, 0.3885926604270935, -0.32488223910331726, 0.1204189583659172, -0.6753561496734619, -0.16133137047290802, 0.3841930329799652, 0.06741530448198318, -0.9778508543968201, 0.12009711563587189, 0.21798504889011383, 0.3639272451400757, 0.0742153525352478, -0.40963903069496155, -0.0927734449505806, -0.052347347140312195, 0.1926274299621582, 0.7362716794013977, -0.5353250503540039, 0.6288754343986511, -0.012584298849105835, 0.3052525520324707, 0.2949914038181305, 0.33825570344924927, -0.323204904794693, -0.3430582284927368, -0.8863152861595154, -0.22310613095760345, -0.2229519784450531, 0.35479941964149475, -1.072544813156128, -0.3451787233352661, -0.0597364567220211, -0.2157740592956543, -0.7037352919578552, 0.07616505771875381, 0.4772403836250305, 0.591966450214386, 0.13157886266708374, -0.6120269894599915, -0.5190495848655701, -1.3090790510177612, -0.47978946566581726, -0.20894227921962738, -0.17683875560760498, 0.377677321434021, 0.25808200240135193, -0.15169695019721985, 0.7065156698226929, -0.5332986116409302, -0.3761623501777649, -0.21833489835262299, -0.17097207903862, -0.04592623561620712, 0.13963931798934937, 0.7115151882171631, -0.8824643492698669, -0.551095724105835, 0.12178247421979904, -0.9379584193229675, -0.05246312543749809, 0.03032713010907173, -0.38241708278656006, 0.3430017828941345, 0.44506368041038513, 0.08680079132318497, 0.6893911361694336, 0.5183767676353455, -0.6742756962776184, 0.2248639315366745, -0.3076339662075043, 0.2399740219116211, -0.6222766637802124, -0.16118580102920532, 0.5240930914878845, -0.25650861859321594, -0.3712722659111023, 0.22305001318454742, 0.14614497125148773, 0.14369544386863708, -0.49811530113220215, 0.3702854514122009, -0.6167714595794678, -0.38763368129730225, -0.09660396724939346, 0.10060484707355499, 0.05762701481580734, 0.2677081227302551, 0.7044461965560913, 0.5139633417129517, 0.8206087946891785, -0.40369948744773865, -0.1438797414302826, 0.07457375526428223, -0.628805935382843, 1.0149757862091064, -0.362975150346756, -0.03487522527575493, -0.6979852914810181, 0.2251991182565689, -0.7718405723571777, -0.09966647624969482, 0.16135917603969574, -0.22301368415355682, 0.15567584335803986, -0.35984835028648376, -0.05333075672388077, -0.41684097051620483, -0.011984743177890778, 0.5994812846183777, 0.7652906775474548, -0.7192946076393127, 0.5082924962043762, 0.3068176209926605, 0.27492350339889526, -0.916674017906189, -1.0174013376235962, 0.0027747389394789934, -0.1325400471687317, -0.846173882484436, -0.0905308723449707, 0.1709441989660263, -0.8416555523872375, -0.09643305093050003, -0.12626373767852783, -0.1888159066438675, 0.12874221801757812, 0.17587071657180786, 0.39863917231559753, -0.45238426327705383, -0.1852332353591919, -0.30741259455680847, 0.1969517022371292, 0.05140340328216553, -0.5585263967514038, 0.3556305468082428, 0.04488435760140419, -0.3541557490825653, -0.23129861056804657, 0.4641256630420685, 0.6890596151351929, -0.7163015604019165, 0.8229857087135315, 0.7159084677696228, -0.18373803794384003, -0.09588723629713058, -0.5639694333076477, -0.06872647255659103, -0.3935694396495819, 0.5264047384262085, -0.39409759640693665, -0.5781182646751404, 0.5166483521461487, 0.33989670872688293, 0.1175483763217926, 0.22943609952926636, 0.4801377058029175, -0.14613527059555054, 1.0230193138122559, 0.989825427532196, 0.0002662675688043237, 0.6370542645454407, -0.25578200817108154, 0.26157134771347046, -0.6646462082862854, -0.3391956686973572, -0.4062965512275696, -0.47266438603401184, -0.46126648783683777, -0.5446137189865112, 0.3872009515762329, -0.33192551136016846, -0.08090031892061234, -0.31948333978652954, -0.4459167718887329, 0.8113985657691956, 0.505304217338562, 0.045167695730924606, 0.43721261620521545, 0.22344471514225006, 0.022301994264125824, -0.42194923758506775, -0.5177888870239258, -0.45255109667778015, 0.8842754364013672, 0.27949485182762146, 0.8177866339683533, -0.11101037263870239, 0.39671698212623596, 0.057582076638936996, 0.591023862361908, -0.8235552310943604, 0.3707813322544098, -0.15393607318401337, -0.6648329496383667, 0.042453065514564514, -0.0089570926502347, -0.6481893062591553, 0.8668755888938904, -0.13301591575145721, -0.7974902987480164, 0.15533387660980225, 0.2624817490577698, 0.12754955887794495, 0.2318374216556549, -0.8399305939674377, 0.8379594683647156, -0.2054053097963333, -0.46047088503837585, -0.2028409093618393, -0.7372504472732544, 0.6239447593688965, 0.20453397929668427, 0.7808435559272766, 0.11436289548873901, 0.035971932113170624, 0.45059382915496826, -0.24279017746448517, 0.8474857807159424, -0.3489739000797272, -0.22559335827827454, 0.0611378438770771, 0.17160747945308685, 0.024820463731884956, -0.04793757200241089, 0.2778593599796295, 0.34025242924690247, 0.05618515610694885, -0.7772981524467468, -0.41959118843078613, 0.5323584675788879, -0.8783255815505981, -0.6625948548316956, -0.33370712399482727, -0.5939008593559265, -0.22126026451587677, 0.09940294176340103, 0.4296570420265198, 0.5898024439811707, -0.13259820640087128, -0.11107712239027023, 0.4999271333217621, -0.4527236521244049, 0.4042704701423645, 0.6445372104644775, -0.5517216324806213, 0.218753844499588, 0.6239064335823059, 0.21811991930007935, 0.4204806983470917, 0.11618557572364807, 0.056436214596033096, 0.0868382528424263, -0.36180639266967773, -0.604335606098175, 0.09069831669330597, -1.1679890155792236, 0.396302729845047, -0.4780395030975342, 0.17119455337524414, -0.055704694241285324, -0.3440791666507721, -0.19508372247219086, 0.07605823874473572, 0.31054428219795227, 0.059622932225465775, 0.06427904218435287, 0.8652492761611938, 0.05803268402814865, 0.20679979026317596, -0.5526208281517029, 0.2316513955593109, 0.3047420382499695, 0.28874096274375916, 0.12002160400152206, -0.46208661794662476, -0.39636898040771484, 0.08034276217222214, 0.032720740884542465, -0.7011178135871887, 0.4464913010597229, 0.038094837218523026, 0.5952587723731995, 0.49399447441101074, -0.0848260223865509, 0.8131108283996582, -0.552945077419281, 1.0309702157974243, 0.1175645962357521, -0.825931966304779, 0.5307024717330933, -0.09270190447568893, 0.5445191264152527, 0.2533946633338928, 0.32047972083091736, -0.7383341193199158, -0.6911837458610535, -0.31281179189682007, -0.6952967047691345, 0.7499749064445496, -0.22207921743392944, 0.2771245241165161, 0.158904567360878, -0.11135454475879669, 0.15490667521953583, 0.007611069828271866, -1.0553497076034546, -0.4353327453136444, -0.2920326590538025, -0.04643069952726364, -0.21211478114128113, -0.09435958415269852, -0.3465977609157562, -0.4004816710948944, 0.24938514828681946, -0.29523512721061707, 0.024506090208888054, 0.5920154452323914, -0.75408536195755, -0.2975281774997711, -0.08268367499113083, 0.5895196199417114, 0.9451152086257935, 0.21323487162590027, 0.26840829849243164, 0.26171284914016724, -0.5814873576164246, -0.18767149746418, -0.20400778949260712, -0.36204105615615845, 0.07961048185825348, 0.6714836955070496, 0.9736014008522034, -0.24273504316806793, -0.7676450610160828, 0.402398943901062, -0.5513397455215454, -0.04745092988014221, -0.3249613046646118, -0.24964454770088196, -0.2719058692455292, 0.45062851905822754, 0.5801724195480347, 0.33197247982025146, 0.14190642535686493, -0.8085991144180298, -0.24610935151576996, 0.6263090372085571, -0.749061644077301, -0.22179251909255981, 0.5488222241401672, 0.16215723752975464, -0.05318829044699669, 0.42543673515319824, 0.0804869681596756, -0.7490891218185425, 0.7715462446212769, 0.4876934587955475, 0.4684739112854004, 0.1767747849225998, 0.2622523307800293, 0.1765758991241455, 0.5770943760871887, 0.16588544845581055, 0.21525900065898895, -0.27259406447410583, -0.9093102216720581, -0.6723656058311462, -0.5711160898208618, 0.027368687093257904, -0.11483718454837799, -0.6624734401702881, 0.1721542626619339, -0.20961587131023407, 0.14221496880054474, -0.03331323713064194, -0.48616135120391846, -1.0637377500534058, 0.4692225754261017, 0.8384096026420593, 0.7686647176742554, -1.0713468790054321, 0.8463671207427979, 1.006173014640808, -0.22327187657356262, -0.7065923810005188, 0.3088185489177704, 0.01494240015745163, -1.1859716176986694, 1.1147947311401367, 0.3972826600074768, -0.033703044056892395, -0.43531495332717896, -0.6731007695198059, -0.6848766803741455, 0.6987484693527222, 0.2629934549331665, -0.35173165798187256, 0.24927765130996704, -0.2216617465019226, 0.6137228608131409, -0.45837879180908203, 0.40096962451934814, 0.563670814037323, 0.346475750207901, 0.08527597784996033, -1.0414299964904785, -0.12229282408952713, -0.1755267083644867, 0.08742129057645798, 0.17191557586193085, -0.673579216003418, 0.4493890404701233, -0.4892739951610565, 0.1310848593711853, -0.3136788308620453, 0.5590673089027405, -0.04999682679772377, 0.44304147362709045, 0.5531992316246033, 0.07994341850280762, 0.5242482423782349, -0.1387895941734314, 1.3153507709503174, -0.06705503910779953, -0.02537575550377369, 0.8101394772529602, -0.2021263986825943, 0.5250287055969238, 0.7682856321334839, -0.032300323247909546, 0.4375965893268585, 0.6220418214797974, 0.21916179358959198, 0.6895013451576233, 0.2317202240228653, -0.11711635440587997, -0.3484715223312378, -0.5007542371749878, -0.3829900920391083, 0.6839277744293213, 0.13922323286533356, -0.5553721785545349, -0.08423366397619247, 0.26741865277290344, -0.13443779945373535, 0.22092372179031372, -0.6245797872543335, 0.6828078627586365, 0.034308258444070816, -0.7796546220779419, 0.6222253441810608, -0.3071933686733246, 0.8181207180023193, -0.4296722114086151, 0.21988412737846375, -0.21623548865318298, -0.005327652208507061, -0.1885039210319519, -0.683182418346405, 0.26572689414024353, 0.08159498870372772, -0.2805388867855072, -0.2912691831588745, 0.6555636525154114, -0.37350285053253174, -0.5115236043930054, 0.40560203790664673, 0.5558120012283325, 0.053977470844984055, 0.05873364582657814, -0.27683088183403015, 0.2619800269603729, 0.3020748496055603, -0.1666843146085739, 0.3720012307167053, 0.43271100521087646, -0.5244560241699219, 0.42996326088905334, 0.34994977712631226, 0.08173337578773499, 0.026446586474776268, 0.2227654904127121, 0.41873830556869507, -0.5013593435287476, -0.48451924324035645, -0.9342195391654968, 0.533070981502533, -0.2778186500072479, -0.13049601018428802, 0.4395599663257599, 0.14000138640403748, 1.3045682907104492, -0.34294456243515015, 0.9523643851280212, -0.03077063523232937, -0.1572108119726181, -0.42639821767807007, 0.8095228672027588, -0.9770985245704651, -0.1348528265953064, -0.19676606357097626, -0.8716297745704651, -0.24592331051826477, 0.90843266248703, -0.6751280426979065, -0.2790778875350952, 0.6188527345657349, 0.3927226662635803, 0.11761156469583511, -0.06923288106918335, 0.5449818968772888, 0.25474703311920166, 0.09373440593481064, 0.27538904547691345, 1.2608044147491455, 0.06991167366504669, 0.45845845341682434, -0.3696083426475525, -0.27743586897850037, 0.10071921348571777, -0.7477688789367676, -0.8980754017829895, -0.4940432608127594, -0.16930697858333588, -0.20833608508110046, -0.29767078161239624, 0.8487932682037354, 0.8690449595451355, -0.4323613941669464, -0.13060972094535828, 0.4751831889152527, 0.21686162054538727, -0.06468219310045242, -0.14895562827587128, -0.13640747964382172, -0.20189911127090454, -0.8602600693702698, -0.1300375759601593, 0.37374603748321533, -0.012644889764487743, -0.44864562153816223, 0.050002433359622955, 0.355167031288147, -0.11505953222513199, 0.8200772404670715, 0.06517362594604492, -0.9313761591911316, -0.27889513969421387, 0.04297351464629173, -0.06708461791276932, 0.10468084365129471, 0.7895824909210205, -0.7666208148002625, 0.7639117240905762, 0.3633275330066681, 0.36411595344543457, 0.5174574851989746, -0.48987531661987305, 0.9732955694198608, -0.45989513397216797, 0.8226412534713745, -0.06467334926128387, 0.6733158230781555, 0.4613068997859955, -0.29765430092811584, 0.38442206382751465, 0.32404598593711853, -0.17746363580226898, -0.7643337249755859, 0.4398964047431946, -0.6571415662765503, -0.5038947463035583, 0.9224134087562561, -0.013268900103867054, -0.53404301404953, 0.031946614384651184, -0.6945782899856567, 0.04818861186504364, 0.03469470143318176, 0.534331202507019, 0.7967987060546875, 0.24743084609508514, -0.10619903355836868, -0.8418161869049072, 0.31081196665763855, 0.6944852471351624, -0.32404252886772156, -0.18392609059810638, 0.8221904039382935, 0.2591501772403717, 0.04837258532643318, 0.49881938099861145, 0.041134875267744064, 0.29231327772140503, -0.22212299704551697, 0.06690330058336258, 0.39114144444465637, -0.1396031379699707, -0.28415730595588684, -0.07906452566385269, 0.4011242687702179, -0.19635024666786194 ]
http://arxiv.org/abs/2406.11661v2
http://arxiv.org/pdf/2406.11661v2
Cultural Conditioning or Placebo? On the Effectiveness of Socio-Demographic Prompting
2024-06-17T15:43:45
2024-06-20T08:25:08
Sagnik Mukherjee, Muhammad Farid Adilazuarda, Sunayana Sitaram, Kalika Bali, Alham Fikri Aji, Monojit Choudhury
cs.CL
cs.CL
Socio-demographic prompting is a commonly employed approach to study cultural biases in LLMs as well as for aligning models to certain cultures. In this paper, we systematically probe four LLMs (Llama 3, Mistral v0.2, GPT-3.5 Turbo and GPT-4) with prompts that are conditioned on culturally sensitive and non-sensitive cues, on datasets that are supposed to be culturally sensitive (EtiCor and CALI) or neutral (MMLU and ETHICS). We observe that all models except GPT-4 show significant variations in their responses on both kinds of datasets for both kinds of prompts, casting doubt on the robustness of the culturally-conditioned prompting as a method for eliciting cultural bias in models or as an alignment strategy. The work also calls rethinking the control experiment design to tease apart the cultural conditioning of responses from "placebo effect", i.e., random perturbations of model responses due to arbitrary tokens in the prompt.
[ -0.2175343781709671, -0.7158931493759155, 0.29864683747291565, 0.44171422719955444, -0.25627249479293823, 0.18394151329994202, -0.15193745493888855, -0.17843028903007507, 0.45062267780303955, 0.060031626373529434, -0.5970375537872314, -0.3744630217552185, -0.3528720736503601, 0.2942380905151367, 0.2301660180091858, 0.9590938091278076, -0.14675165712833405, 0.5549108386039734, -0.017644274979829788, -0.16073450446128845, -0.6150184273719788, -0.7916247844696045, -0.41762110590934753, -0.5366942286491394, 0.6414734125137329, 0.5188510417938232, 0.5907843708992004, -0.02522294595837593, 0.1726304590702057, 0.10849491506814957, -0.21202483773231506, -0.06639211624860764, -0.7264359593391418, -0.0734550729393959, -0.017892831936478615, -0.6778591275215149, -0.2029661387205124, 0.2952321767807007, 0.13165579736232758, 0.5813865661621094, -0.22974804043769836, 0.5269755125045776, 0.19131533801555634, 0.3138837218284607, -0.557979166507721, -0.41472265124320984, -0.38025200366973877, 0.11686099320650101, -0.09870164841413498, -0.5155048966407776, -0.30723729729652405, -0.6496778130531311, -0.15582656860351562, -0.5362878441810608, 0.4969320595264435, 0.07306014001369476, 0.5742313265800476, 0.47843778133392334, -0.8365105390548706, 0.047054074704647064, -0.9117124676704407, 0.6408939361572266, -0.42464789748191833, -0.016939034685492516, 0.7284016609191895, -0.02336128242313862, -0.27479302883148193, -0.2660122513771057, -0.4413996636867523, -0.30449363589286804, 0.1577160656452179, 0.5974292159080505, 0.26647916436195374, -0.35141244530677795, 0.5941371917724609, 0.07180247455835342, -0.42537274956703186, 0.2211942821741104, -0.7441540360450745, -0.428544282913208, 0.39141032099723816, 0.3333342671394348, 0.17805613577365875, -0.14547619223594666, -0.582728922367096, 0.06707396358251572, -1.0174975395202637, 0.3577139973640442, 0.5058278441429138, 0.18439310789108276, -0.393041729927063, 0.5387794971466064, -0.1279774308204651, 0.3226171135902405, 0.4465560019016266, 0.05839649960398674, -0.09322817623615265, -0.4506095051765442, 0.0986824631690979, 0.19064828753471375, 0.43319252133369446, 0.8323954939842224, 0.6382996439933777, 0.22067731618881226, 0.09236065298318863, 0.44289490580558777, 0.2223830670118332, -0.7006561160087585, 0.026331085711717606, 0.03676648810505867, -0.45288118720054626, -0.5561783909797668, -0.09706512093544006, -0.4602217972278595, -0.3939840793609619, -0.3038921654224396, 0.13896900415420532, -0.11189016699790955, -0.13806073367595673, -0.23124048113822937, -0.25895822048187256, 0.6542755365371704, 0.24376851320266724, -0.8905479311943054, -0.09127101302146912, 0.42029720544815063, 0.7337866425514221, -0.26405343413352966, -0.06717530637979507, -0.09937316179275513, 0.0859755277633667, -0.6110778450965881, 0.8184064626693726, -0.7339451313018799, -0.9698873162269592, -0.1370595246553421, 0.0939585268497467, -0.05399799346923828, -0.395786851644516, 0.4348474144935608, -0.5057867765426636, 0.23787295818328857, -1.0960657596588135, -0.09542673081159592, 0.1426021307706833, 0.25461626052856445, -0.4292798936367035, 1.0180339813232422, 0.16436222195625305, -0.5509752631187439, 0.978243887424469, -0.009093839675188065, -0.4297758936882019, 0.12748318910598755, -0.3795461058616638, -0.015165748074650764, 0.07693720608949661, 0.18312335014343262, -0.09247224032878876, -0.2588278353214264, 0.3336539566516876, -0.8323609828948975, -0.7978307008743286, 0.42154741287231445, -0.4059038460254669, 0.8311077952384949, 0.48983243107795715, -0.39770081639289856, -0.03805139288306236, -0.11160795390605927, -0.3721354305744171, 0.22234347462654114, -0.3043617606163025, -0.30140167474746704, -0.09635933488607407, -0.34423714876174927, 0.23185288906097412, 0.0896570160984993, -0.47769877314567566, 0.26877495646476746, 0.15012632310390472, 0.4700888395309448, 0.7745885848999023, 0.16455256938934326, 0.5189635753631592, -0.696765124797821, 1.064599633216858, 0.03382575884461403, 0.29026585817337036, 0.1356378197669983, -0.4511432647705078, -0.28502562642097473, -0.004196971654891968, 0.2527676224708557, 0.6712738275527954, -0.9116071462631226, -0.07957968860864639, 0.19483377039432526, -0.5476632118225098, -0.45569878816604614, -0.08143697679042816, 0.08923040330410004, 0.8118333220481873, -0.08981023728847504, -0.203823521733284, -0.19820906221866608, -0.8456204533576965, -0.33248311281204224, -0.20756837725639343, -0.05426368862390518, 0.23105302453041077, 0.542218804359436, 0.2452724725008011, 0.8151787519454956, -0.29926368594169617, 0.09031225740909576, 0.09336300939321518, -0.027621867135167122, 0.1649431437253952, 0.39281877875328064, 0.8632820844650269, -0.7424164414405823, -0.30165621638298035, -0.3941437005996704, -0.5793337225914001, -0.4510408937931061, 0.2341422587633133, -0.15409770607948303, 0.062114063650369644, 0.33191555738449097, -0.3078290522098541, 0.675203800201416, 0.45151227712631226, -0.20394816994667053, 0.780189037322998, 0.02715202048420906, 0.5651277899742126, -0.8581428527832031, -0.012215269729495049, 0.13984350860118866, 0.24438729882240295, -0.7553773522377014, -0.34171634912490845, 0.31551074981689453, -0.22079052031040192, -0.5167366862297058, 0.5560805797576904, -0.23865236341953278, 0.12836115062236786, -0.060635484755039215, -0.03632573410868645, -0.0749027207493782, 0.27643948793411255, 0.13099096715450287, 0.9253334403038025, 0.19999925792217255, -0.7689463496208191, 0.004388852976262569, 0.1767498254776001, -0.12509892880916595, 1.012019395828247, -0.7072656154632568, 0.4375455379486084, -0.44331464171409607, 0.9694329500198364, -1.0758644342422485, -0.44307661056518555, 0.4986979365348816, -0.48243382573127747, -0.2632898688316345, -0.1628088653087616, -0.0191141739487648, -0.5832768082618713, -0.49474576115608215, 0.6124666333198547, 0.679133415222168, -0.2572673261165619, 0.41598522663116455, -0.04847161844372749, -0.1848461925983429, -0.5370784401893616, -0.6514057517051697, -0.17008697986602783, -0.883297860622406, -0.4803116023540497, 0.26717323064804077, -0.2198614776134491, -0.4044141173362732, -0.4462866187095642, -0.2554561495780945, 0.4295780658721924, 0.27913111448287964, 0.11141616106033325, 0.3907513916492462, -0.011464698240160942, -0.16306659579277039, -0.10999098420143127, -0.04715641215443611, 0.018712623044848442, 0.05002521350979805, 0.44094762206077576, 0.366561621427536, -0.5578891634941101, -0.39939579367637634, 0.18422211706638336, 0.263927698135376, -0.10782968252897263, 0.56026691198349, 0.46754521131515503, -0.1848309189081192, 0.2169550061225891, -0.5700746774673462, -0.5392624735832214, -0.4499848484992981, -0.33447694778442383, -0.3261176347732544, -0.9949184060096741, 0.9220914840698242, 0.0619429312646389, -0.18373705446720123, 0.13734473288059235, 0.895703136920929, -0.13619522750377655, 1.034900188446045, 0.11240372806787491, -0.06496662646532059, 0.6886297464370728, 0.05655137449502945, 0.12143918871879578, -0.781477153301239, -0.34110352396965027, -0.6420686841011047, -0.7575951814651489, -0.7026153802871704, -0.2413415163755417, 0.3818912208080292, -0.08273013681173325, -0.40282735228538513, -0.36612561345100403, -0.3254392147064209, 0.40906059741973877, 0.5000998973846436, 0.20314764976501465, -0.07848436385393143, -0.027413636445999146, -0.1803092509508133, -0.13880915939807892, -0.8566350936889648, -0.38658255338668823, 0.7879403233528137, 0.11138331145048141, 1.1879246234893799, 0.15877752006053925, 0.4432626962661743, 0.23869627714157104, 0.7887889742851257, -0.6061626672744751, 0.15341414511203766, 0.06241905689239502, -0.9993489384651184, 0.1529240757226944, -0.12392723560333252, -0.9286539554595947, 0.2935240864753723, -0.0015211299760267138, -0.7102360129356384, 0.7651486992835999, 0.5494794249534607, -0.6553350687026978, -0.2046252191066742, -0.8867949843406677, 0.3428160846233368, -0.45650699734687805, -0.5752691626548767, 0.2142646610736847, -0.7307466268539429, 0.503507673740387, -0.13115686178207397, 0.34849345684051514, -0.37224918603897095, 0.14383788406848907, 0.5824177265167236, -0.15569700300693512, 1.224956750869751, -0.6145090460777283, -0.23720507323741913, 0.17097371816635132, 0.14484161138534546, 0.28921884298324585, 0.15086577832698822, -0.293377548456192, 0.05106280371546745, 0.21114444732666016, -0.5978263020515442, -0.3520979881286621, 0.5065896511077881, -0.8458454012870789, -0.9461570978164673, -0.364901065826416, -0.41057902574539185, -0.12148375064134598, -0.2718820571899414, 0.5338794589042664, 0.41388648748397827, -0.2992526590824127, 0.13792647421360016, 0.46983543038368225, -0.40088823437690735, -0.05817204341292381, 0.7150309681892395, -0.03187711909413338, -0.3938025236129761, 0.15897826850414276, 0.18702244758605957, 0.4821789860725403, -0.2512562870979309, 0.29532381892204285, -0.22660475969314575, -0.0046310569159686565, -0.17781275510787964, 0.18624860048294067, -0.6096760630607605, -0.07643686980009079, -0.014561166986823082, 0.1604371964931488, -0.912889301776886, -0.31017565727233887, 0.3702837824821472, -0.10854154825210571, -0.225021094083786, -0.2701966166496277, 0.4404219388961792, 0.7049345374107361, -0.00955955870449543, 0.4408489465713501, -0.274645060300827, 0.11804277449846268, -0.01988660730421543, 0.011898037046194077, -0.033023685216903687, -0.765415608882904, 0.1502525508403778, 0.09128094464540482, -0.023818785324692726, -1.1052076816558838, 0.07184424251317978, -0.19448359310626984, 0.5559967756271362, 0.5839980244636536, 0.3703248202800751, 0.8165929317474365, -0.2509789764881134, 1.1124787330627441, -0.23395249247550964, -0.4615947902202606, 0.5158129930496216, -0.5287706255912781, 0.5783362984657288, 0.48648136854171753, 0.5777267813682556, -0.685442328453064, -0.4822281002998352, -0.6626958847045898, -0.7619819045066833, 0.6948420405387878, -0.15897640585899353, 0.22662070393562317, -0.32429173588752747, 0.6314499378204346, 0.12208203226327896, 0.19837403297424316, -0.5898658037185669, -0.12968920171260834, -0.263214111328125, -0.0737152025103569, -0.05139820650219917, -0.42485475540161133, -0.6265413761138916, 0.021286217495799065, 0.24318546056747437, -0.043640583753585815, -0.07362105697393417, 0.46236199140548706, -0.19475987553596497, -0.26641443371772766, 0.17932939529418945, 0.7953316569328308, 0.7576937079429626, -0.1744728535413742, 0.07806967943906784, 0.6320764422416687, -0.34533536434173584, 0.5868512392044067, -0.2600431442260742, -0.38373857736587524, -0.48515647649765015, 0.3845776319503784, 0.5609986782073975, 0.14915668964385986, 0.1433514952659607, 0.16778399050235748, -0.2364458590745926, -0.353922963142395, -0.4278516173362732, 0.10486926138401031, -0.06227599084377289, 0.027338458225131035, 0.22121989727020264, -0.33686164021492004, -0.17423789203166962, -0.5041899681091309, -0.2799853980541229, 0.4367041289806366, -0.39870646595954895, -0.39447271823883057, 1.0658801794052124, 0.3592671751976013, -0.4008929431438446, 0.6927003264427185, 0.16129682958126068, -0.5895195603370667, 0.7889500856399536, 0.7324740290641785, 0.26697036623954773, -0.6548556089401245, 0.3927817940711975, 0.30532023310661316, 0.3875819146633148, 0.03758746013045311, 0.45814138650894165, -0.20246127247810364, -1.279393196105957, -0.5508630275726318, -0.3307940661907196, -0.3361380994319916, -0.07250028103590012, -0.9817782044410706, 0.08723382651805878, -0.2643106281757355, -0.6504936218261719, -0.3300720453262329, -0.17091520130634308, -0.8054218888282776, 0.06780718266963959, 0.20257742702960968, 0.9778873324394226, -1.3490217924118042, 0.6201842427253723, 0.8426308035850525, -0.2890871465206146, -0.9766502380371094, 0.06258131563663483, 0.5354560613632202, -1.0221171379089355, 0.6650296449661255, 0.015118120238184929, -0.1099601536989212, -0.1820836365222931, -0.7132250666618347, -0.9230939149856567, 1.00627601146698, 0.2668212950229645, -0.16036666929721832, 0.3528980314731598, -0.0673835426568985, 0.4559571146965027, -0.14497709274291992, 0.3356797397136688, 1.0000061988830566, 0.7371706366539001, 0.19345633685588837, -0.6772348880767822, 0.1312635838985443, -0.30707848072052, 0.17199017107486725, -0.09336217492818832, -0.9965941905975342, 0.5650142431259155, -0.30866768956184387, -0.08010946959257126, -0.0780651867389679, 0.479291170835495, 0.9319910407066345, 0.43907713890075684, 0.7681151032447815, 0.11507795006036758, 0.7740257978439331, -0.34026670455932617, 1.401585340499878, -0.3560190796852112, -0.02657957747578621, 0.5375670790672302, -0.8940697312355042, 0.27025002241134644, 0.6254755854606628, -0.21634572744369507, 0.2737981379032135, 1.5365992784500122, 0.12207061797380447, 0.4382140636444092, 0.2232223004102707, -0.11712481081485748, -0.07671714574098587, -0.4316084086894989, -0.41177406907081604, 0.3602837920188904, 0.3828940689563751, 0.1532774269580841, 0.11750796437263489, -0.07917521893978119, 0.39050254225730896, -0.26244261860847473, -0.06193505600094795, 0.5996021032333374, 0.2982998192310333, -0.9687341451644897, 0.40913358330726624, -0.21629434823989868, 0.683899462223053, -0.733532726764679, 0.3601905405521393, -0.7940049767494202, -0.2631092071533203, -0.34265753626823425, -0.30711719393730164, -0.10733822733163834, -0.033369556069374084, -0.12415450811386108, -0.2825530767440796, 0.7335447669029236, -0.34473979473114014, -0.22109590470790863, 0.15194590389728546, 0.43131792545318604, 0.10921995341777802, 0.3708610236644745, -0.5238288640975952, -0.1327267289161682, 0.11235778778791428, -0.47858285903930664, 0.21564827859401703, 0.4984457790851593, -0.5058819055557251, 0.5300349593162537, 0.8271441459655762, 0.39447322487831116, -0.15852993726730347, 0.5951852798461914, 0.41786569356918335, -0.703031599521637, -0.610785961151123, -0.8573077917098999, 0.381198525428772, -0.00014271157851908356, -0.31833338737487793, 0.8890597224235535, -0.10299476236104965, 0.5044671297073364, 0.0483909472823143, 0.6983384490013123, -0.08800069987773895, -0.07119305431842804, -0.6234569549560547, 0.3799540102481842, -0.42171961069107056, 0.11811741441488266, 0.0037516190204769373, -0.8678179383277893, 0.061436377465724945, 0.4035140872001648, -0.7721081376075745, 0.622013509273529, 0.7282282114028931, 0.9540480971336365, 0.43040791153907776, 0.1366252303123474, 0.043679129332304, 0.02190326899290085, 0.24366243183612823, 0.044955622404813766, 1.4126167297363281, 0.5718281865119934, 0.13063542544841766, -0.07411735504865646, -0.48731040954589844, -0.18683229386806488, -0.8303861618041992, -0.5175423622131348, -0.20422638952732086, 0.0011652300599962473, -0.41786155104637146, -0.14229649305343628, 0.9545240998268127, 0.325192928314209, -0.6163334250450134, -0.19532620906829834, 0.9077327847480774, 0.012996705248951912, -0.2740103304386139, -0.20140761137008667, 0.14703279733657837, 0.020152244716882706, -0.6759451627731323, 0.16522732377052307, -0.0005175904952920973, 0.1906149685382843, -0.24394075572490692, 0.1325063854455948, 0.0930248573422432, 0.05217446759343147, 0.3826540410518646, 0.005093997810035944, -0.6619532704353333, -0.3748423457145691, 0.08733849972486496, 0.10804158449172974, -0.11045458912849426, 1.0800422430038452, -0.556757390499115, 0.04183151200413704, 0.4285612106323242, 0.030381647869944572, 0.25880199670791626, 0.6051962971687317, 0.8748924136161804, -0.699653148651123, 0.5008122324943542, 0.05173090845346451, 0.4829167425632477, 0.40292543172836304, -0.6089423298835754, 0.5900557041168213, 0.211805060505867, -0.7808945775032043, -0.6489296555519104, 0.3592757284641266, -0.5453399419784546, -0.16181689500808716, 1.444334626197815, 0.26677125692367554, -0.3057945966720581, -0.0017571779899299145, -0.3438650965690613, 0.32034432888031006, -0.49900850653648376, 0.9861761331558228, 1.0012187957763672, -0.13576103746891022, 0.20141400396823883, -0.8653669953346252, 0.3900952637195587, 0.7662827372550964, -0.33578699827194214, -0.2741321921348572, 0.48841601610183716, 0.539267361164093, -0.1805856078863144, 0.9493995904922485, -0.07575595378875732, 0.22842656075954437, -0.32197245955467224, -0.06794419884681702, 0.3420608639717102, 0.13184019923210144, -0.714383602142334, -0.284281849861145, 0.11541537195444107, 0.2293541580438614 ]
http://arxiv.org/abs/2406.11657v1
http://arxiv.org/pdf/2406.11657v1
Can LLM be a Personalized Judge?
2024-06-17T15:41:30
2024-06-17T15:41:30
Yijiang River Dong, Tiancheng Hu, Nigel Collier
cs.CL
cs.CL, cs.CY
Ensuring that large language models (LLMs) reflect diverse user values and preferences is crucial as their user bases expand globally. It is therefore encouraging to see the growing interest in LLM personalization within the research community. However, current works often rely on the LLM-as-a-Judge approach for evaluation without thoroughly examining its validity. In this paper, we investigate the reliability of LLM-as-a-Personalized-Judge, asking LLMs to judge user preferences based on personas. Our findings suggest that directly applying LLM-as-a-Personalized-Judge is less reliable than previously assumed, showing low and inconsistent agreement with human ground truth. The personas typically used are often overly simplistic, resulting in low predictive power. To address these issues, we introduce verbal uncertainty estimation into the LLM-as-a-Personalized-Judge pipeline, allowing the model to express low confidence on uncertain judgments. This adjustment leads to much higher agreement (above 80%) on high-certainty samples for binary tasks. Through human evaluation, we find that the LLM-as-a-Personalized-Judge achieves comparable performance to third-party humans evaluation and even surpasses human performance on high-certainty samples. Our work indicates that certainty-enhanced LLM-as-a-Personalized-Judge offers a promising direction for developing more reliable and scalable methods for evaluating LLM personalization.
[ -0.2829669117927551, -0.5442960858345032, 1.135601282119751, 0.32124093174934387, -0.0685189887881279, 0.20310018956661224, -0.6568007469177246, -0.40167292952537537, 0.2119748443365097, 0.32711365818977356, -0.22607210278511047, -0.707464873790741, -0.8324491381645203, 0.15382704138755798, -0.12935517728328705, 0.6558986902236938, 0.29374927282333374, 0.22035235166549683, -0.35576173663139343, -0.037751276046037674, -0.42981189489364624, -0.6993387341499329, -0.4044584035873413, -0.604071319103241, 0.7445441484451294, 0.4859376549720764, 0.8400143980979919, 0.2909388542175293, 0.35451266169548035, 0.3405148983001709, -0.3488163948059082, 0.08785725384950638, -0.16776911914348602, 0.11650623381137848, -0.44427353143692017, -0.6923097372055054, -0.6467090845108032, 0.16068068146705627, 0.26687029004096985, 0.8106627464294434, -0.26205718517303467, -0.019565323367714882, -0.019139623269438744, 0.5390068292617798, -0.5749958157539368, -0.013199525885283947, -0.631322979927063, 0.05043274909257889, -0.21871940791606903, -0.018593238666653633, -0.6617097854614258, -0.5637917518615723, 0.1066557765007019, -0.5764384269714355, -0.2107284665107727, 0.26639267802238464, 0.6405272483825684, 0.2656826078891754, -0.7137176990509033, -0.22950275242328644, -0.9862387776374817, 0.7411454319953918, -0.8180814981460571, 0.26781776547431946, 0.6486419439315796, 0.552525520324707, -0.0902218148112297, -0.6127684712409973, -0.46794092655181885, -0.6467374563217163, -0.07207319885492325, 0.1802419126033783, -0.13962562382221222, 0.09339910000562668, 0.08903863281011581, 0.04434383288025856, -0.15863843262195587, 0.517030656337738, 0.24644818902015686, -0.2004796415567398, 0.6165965795516968, 0.139001727104187, -0.08693943917751312, -0.30210933089256287, -0.3612135648727417, 0.24674594402313232, -0.4055019021034241, 0.2865860164165497, 0.6440353989601135, 0.1500692218542099, 0.08229020982980728, 0.6516620516777039, -0.6624608039855957, 0.6651774644851685, 0.43935567140579224, -0.31588149070739746, 0.22294341027736664, 0.05687525495886803, -0.06577686220407486, -0.16412898898124695, 0.9594693183898926, 0.6095241904258728, 0.4365035891532898, -0.3494456112384796, -0.23641866445541382, -0.2564023733139038, 0.4535238444805145, -0.5794828534126282, 0.006817350164055824, 0.4533413052558899, -0.34360045194625854, -0.37843048572540283, 0.31405484676361084, -0.46313920617103577, -0.7057649493217468, -0.4548216462135315, 0.3666025996208191, -0.32094666361808777, 0.3418996334075928, 0.2813358008861542, 0.29081571102142334, -0.24817384779453278, 0.728350818157196, -0.8508972525596619, 0.3066045939922333, 0.7149413824081421, 0.4774557948112488, -0.3612612783908844, -0.36080998182296753, -0.6829931139945984, 0.017192739993333817, -0.17435571551322937, 0.8442032933235168, -0.6477475762367249, -0.4665892720222473, -0.22405613958835602, -0.3793153464794159, 0.15244537591934204, -0.6131784915924072, 0.6648215055465698, -0.6328544616699219, 0.07003256678581238, -0.5657275915145874, -0.6027134656906128, 0.05360088124871254, 0.3443925380706787, -0.1674005389213562, 0.44855108857154846, 0.0897211879491806, -0.65262770652771, 0.576724648475647, -0.08915147185325623, -0.18859660625457764, 0.1385003626346588, -0.3637770712375641, -0.24267011880874634, 0.2636911869049072, 0.2037254273891449, 0.5683753490447998, -0.27280715107917786, 0.6598186492919922, -0.8251919150352478, -0.7075830698013306, 0.6538951992988586, -0.41082513332366943, 0.2724255919456482, 0.2386961132287979, -0.3339725136756897, 0.1819681078195572, -0.6732885837554932, 0.010690185241401196, -0.1359233260154724, -0.7545861005783081, -0.11981303244829178, 0.14041021466255188, 0.09748232364654541, 0.0718584954738617, 0.5348058342933655, -0.8518546223640442, 0.04613673686981201, -0.535178005695343, 0.03652907535433769, 1.1660821437835693, -0.1659993976354599, 0.41967639327049255, -0.37732014060020447, 0.5102801322937012, -0.19600556790828705, -0.00947724562138319, 0.14522548019886017, -0.5920277833938599, -0.7417242527008057, -0.07427185028791428, 0.6120924949645996, 0.5818303823471069, -0.20117361843585968, 0.8943920731544495, -0.506710410118103, -0.41510453820228577, -0.217469722032547, 0.32170379161834717, 0.5037063956260681, 0.38848477602005005, 0.04838254302740097, -0.5586002469062805, -0.3330848515033722, -0.9991623759269714, -0.5811424851417542, -0.33241021633148193, -0.3499385118484497, 0.6340430974960327, 0.22329922020435333, -0.48747798800468445, 1.2018362283706665, -0.40307560563087463, -0.0309249609708786, -0.1146976426243782, -0.13896462321281433, 0.2515050172805786, 0.1907939910888672, 0.43756821751594543, -0.5917303562164307, -0.6290537714958191, 0.2270580381155014, -0.7040175795555115, -0.2169962227344513, 0.01703498885035515, -0.06991583108901978, -0.17271240055561066, -0.05225827917456627, -0.536957859992981, 0.333579421043396, 0.3576473593711853, -0.5742972493171692, 0.6519160866737366, -0.42855754494667053, 0.19269929826259613, -0.7531713843345642, 0.10759161412715912, 0.11767192929983139, -0.6332563757896423, -0.4591647982597351, -0.008163036778569221, -0.012504102662205696, 0.41435542702674866, -0.2227034866809845, 0.8251557350158691, 0.1101287305355072, -0.2770400941371918, -0.4526834487915039, 0.2351708561182022, -0.01800338551402092, 0.3678106367588043, -0.17331190407276154, 0.3881244361400604, 0.1965712457895279, -0.48510465025901794, 0.3810496926307678, 0.357666939496994, -0.4938983619213104, 1.073531150817871, -0.6376175284385681, 0.4141863286495209, -0.024659601971507072, 0.34675654768943787, -0.6767902374267578, -0.48634445667266846, 0.2538214325904846, -0.39214515686035156, 0.1821993589401245, -0.16516876220703125, -0.4932149052619934, -0.14971515536308289, -0.25338634848594666, -0.1802571713924408, 0.35900524258613586, -0.6519747972488403, 0.6068865656852722, 0.22316552698612213, -0.19648197293281555, -0.5177605152130127, -0.5935078859329224, 0.2930455803871155, -0.09043683111667633, -0.7848859429359436, 0.31832587718963623, -0.5067877173423767, -0.5976611971855164, -0.3217805325984955, -0.2069622129201889, 0.19569464027881622, 0.44793403148651123, 0.5763183832168579, -0.048197872936725616, 0.0772465243935585, -0.052747346460819244, -0.06974520534276962, -0.19881407916545868, 0.02787339687347412, 0.007758399471640587, 0.4714401960372925, -0.3006666302680969, -0.7493479251861572, -0.6135562062263489, 0.03141547366976738, 0.40960294008255005, 0.0923454686999321, 0.5519217848777771, 0.43433648347854614, -0.17975080013275146, 0.023200564086437225, -0.940710186958313, -0.005040829535573721, -0.490253210067749, 0.017955724149942398, -0.6013658046722412, -1.1269441843032837, 0.4612671434879303, -0.16268211603164673, -0.07187770307064056, 0.1656455546617508, 0.7421607375144958, -0.5945354700088501, 0.8630126714706421, 0.2874439060688019, -0.18690283596515656, 0.25412219762802124, 0.3521605432033539, -0.09044525027275085, -0.913926362991333, -0.4112282693386078, -0.4793909788131714, -0.47137385606765747, -0.5076528787612915, -0.1468600332736969, 0.26263725757598877, -0.2052638828754425, -0.5022409558296204, -0.11864494532346725, -0.05587688833475113, 0.22175021469593048, 0.6777547597885132, 0.49326151609420776, 0.5982402563095093, -0.13098829984664917, -0.288862407207489, -0.12817813456058502, 0.004494303837418556, -0.9241912961006165, 1.152264952659607, 0.4644773304462433, 0.8841316103935242, 0.23353198170661926, 0.7522580623626709, 0.41057246923446655, 0.36090120673179626, -0.7286686897277832, 0.46665671467781067, -0.25889667868614197, -0.41359978914260864, -0.1841297596693039, -0.3870352506637573, -0.706275999546051, 0.5753938555717468, -0.27316373586654663, -1.1299879550933838, 0.2769925594329834, 0.3881992995738983, -0.6771842241287231, 0.24111594259738922, -0.6811389327049255, 0.5888162851333618, -0.5204917788505554, -0.29795321822166443, -0.13865789771080017, -0.6961581707000732, 0.3458743393421173, -0.4066142737865448, 0.38041409850120544, -0.29579871892929077, -0.1803552806377411, 0.37321844696998596, -0.4164503514766693, 0.9874439239501953, -0.22436468303203583, 0.15524865686893463, -0.2491864264011383, 0.254577100276947, 0.7461972832679749, 0.3753700256347656, -0.4723036289215088, 0.01561472937464714, -0.31802013516426086, -0.22883914411067963, -0.7816491723060608, 0.9107307195663452, -0.8238837718963623, -1.001123070716858, -0.414141982793808, -0.2439095675945282, -0.633341908454895, 0.031188488006591797, 0.09027275443077087, -0.19169653952121735, -0.3221837282180786, 0.29759275913238525, 0.4473781883716583, -0.2816036641597748, -0.021193435415625572, 0.6566034555435181, -0.3035833537578583, -0.3756815791130066, 0.6889440417289734, -0.21527425944805145, 0.05404190719127655, 0.4062609076499939, 0.6330570578575134, -0.1246289610862732, -0.7836719155311584, -0.32751551270484924, 0.05276721343398094, -0.6960421800613403, 0.11107068508863449, -0.6275863647460938, 0.182392880320549, -0.017298433929681778, -0.2692970037460327, -0.4186290204524994, -0.26569387316703796, -0.35063573718070984, -0.15044598281383514, 0.08807580173015594, 0.6669063568115234, 0.31460604071617126, 0.5534070134162903, -0.4545349180698395, 0.37985527515411377, 0.5975407958030701, 0.4652999937534332, -0.3609354794025421, -0.8708418011665344, 0.06273917853832245, -0.06411601603031158, -0.04719926044344902, -0.5924071073532104, 0.2018435299396515, -0.016192849725484848, 0.6600572466850281, 0.5002673864364624, -0.1784229725599289, 0.4682808220386505, -0.49066221714019775, 0.5729933977127075, 0.06881015002727509, -0.9082240462303162, 0.5857693552970886, -0.344885915517807, 0.3133598566055298, 0.8967222571372986, -0.005841309670358896, -0.5523676872253418, -0.3521600067615509, -0.44319573044776917, -0.5725244879722595, 0.6860135197639465, 0.05451769381761551, 0.26807013154029846, 0.3240179717540741, 0.7165783643722534, 0.1947188526391983, 0.5419377088546753, -0.5701354146003723, -0.24694377183914185, 0.053036198019981384, 0.0021796415094286203, -0.4006843566894531, -0.558282732963562, 0.08733534067869186, -0.11811113357543945, 0.388752281665802, -0.27099838852882385, -0.05141003802418709, -0.04341252148151398, -0.02742498368024826, -0.06682337075471878, 0.5654734373092651, 0.39163729548454285, 0.6768835186958313, -0.5904879570007324, 0.1615470051765442, 0.22489212453365326, -0.20569773018360138, 0.29969164729118347, -0.02820783667266369, -0.41683319211006165, -0.2590775489807129, 0.20229826867580414, 0.808682918548584, 0.503993809223175, -0.7138925790786743, 0.8003193140029907, -0.29146212339401245, 0.0044555505737662315, -0.5057454705238342, 0.10118896514177322, 0.3418531119823456, 0.3050033450126648, 0.05769873782992363, 0.4955333173274994, 0.11232014745473862, -0.26162925362586975, 0.09792979806661606, 0.39436283707618713, -0.38181790709495544, -0.3814605176448822, 0.8982678055763245, 0.11791832745075226, -0.35696592926979065, 0.2942144274711609, -0.2340620458126068, -0.18858778476715088, 0.237732395529747, 0.12318304181098938, 0.8307840824127197, -0.21181491017341614, 0.15201589465141296, -0.003273715265095234, 0.10611459612846375, -0.2004138082265854, 0.112538181245327, 0.10295488685369492, -0.9614259600639343, -0.1396416574716568, -0.9253011345863342, -0.835925817489624, -0.22428889572620392, -0.470691442489624, 0.16900774836540222, -0.8042755126953125, -0.6265488266944885, -0.11589550226926804, 0.03710517659783363, -0.6911188364028931, 0.4434299170970917, 0.1783270388841629, 0.6651555299758911, -0.4208446443080902, 0.7946266531944275, 0.7697669267654419, 0.1110793873667717, -0.5518118739128113, 0.10898680984973907, 0.1287081390619278, -0.6444632411003113, 0.6874307990074158, 0.07184014469385147, -0.1918293982744217, -0.4350624978542328, -0.2860630452632904, -0.6215000152587891, 1.2589143514633179, 0.784299910068512, -0.8915379047393799, 0.14277450740337372, -0.008265110664069653, 0.7424235939979553, -0.3705149292945862, 0.44476956129074097, 0.6246575117111206, 0.7494691610336304, 0.3095448613166809, -0.910434365272522, -0.07078225165605545, -0.09441182762384415, 0.24522925913333893, -0.48924094438552856, -0.8567246198654175, 0.5526068210601807, -0.32200828194618225, 0.21964728832244873, 0.03937828168272972, 0.7093430161476135, 0.5017850399017334, 0.3096453547477722, 0.6594609618186951, 0.46112191677093506, 1.0187056064605713, 0.08188237249851227, 1.4173448085784912, -0.3049018681049347, 0.19581523537635803, 1.5691930055618286, -0.5096870064735413, 0.8371024131774902, 0.3500834107398987, -0.3987831771373749, 0.5461656451225281, 0.6626356840133667, 0.0008804498356766999, 0.1702367216348648, 0.13984645903110504, -0.31208112835884094, -0.6443018913269043, -0.06654420495033264, 0.2470187544822693, 0.5527503490447998, 0.051630474627017975, -0.47346562147140503, 0.16506700217723846, -0.1429564356803894, 0.0433531180024147, 0.4953911006450653, -0.11430055648088455, 0.4927575886249542, 0.2667846083641052, -0.6235952973365784, -0.018047383055090904, 0.5979728698730469, 1.0102256536483765, -0.5271028280258179, 0.567795991897583, -0.17092539370059967, 0.07110709697008133, -0.3418598473072052, -0.7391415238380432, -0.02968270517885685, 0.13388089835643768, -0.08289861679077148, -0.28432002663612366, 0.8010845184326172, 0.1255219578742981, -0.5129115581512451, 0.37642499804496765, 0.6991631388664246, 0.05546644330024719, -0.3135090470314026, -0.4306015074253082, 0.021768156439065933, 0.09012209624052048, -0.7277345657348633, 0.569943368434906, -0.14226458966732025, 0.023142213001847267, 1.0885847806930542, 0.5572671890258789, 0.22594507038593292, 0.0021499088034033775, 0.38249385356903076, 0.7259087562561035, -0.5467431545257568, -0.2867833971977234, -0.9507851600646973, 0.3630047142505646, 0.11107751727104187, -0.24712814390659332, 0.7362138032913208, 0.520412027835846, 0.7249534726142883, -0.11690042167901993, 0.9332726001739502, 0.14260455965995789, 0.44439488649368286, -0.39543506503105164, 0.5780711770057678, -0.39005768299102783, 0.6931523084640503, -0.10515471547842026, -0.7407112121582031, -0.22819072008132935, 0.4591625928878784, -0.5237419605255127, 0.4236210584640503, 0.3266811668872833, 0.4593479633331299, -0.019764408469200134, -0.16649526357650757, 0.7222049832344055, 0.24414105713367462, 0.3693527281284332, 0.4463711678981781, 0.7738240957260132, 0.056825190782547, 0.23607340455055237, -0.5295109748840332, -0.1730925738811493, -0.3548853397369385, -0.5457912683486938, -0.9590369462966919, -0.133295476436615, -0.1474996954202652, -0.22140350937843323, -0.09017195552587509, 1.100843071937561, 0.7631986737251282, -0.7490962147712708, -0.24774132668972015, 0.339976042509079, 0.1367366909980774, 0.22123464941978455, -0.11955694854259491, -0.008916686289012432, -0.1899903565645218, -0.9251871705055237, 0.523452639579773, 0.34113430976867676, -0.12858235836029053, -0.27736610174179077, -0.3529990017414093, 0.2762196660041809, 0.019010987132787704, 0.47477051615715027, -0.05934702605009079, -1.1071504354476929, -0.7290927767753601, -0.17670471966266632, -0.303772896528244, 0.3352062404155731, 0.4511975944042206, -0.7314636707305908, 0.7381235361099243, 0.15223513543605804, 0.44105470180511475, 0.662868082523346, 0.5120344758033752, 0.6365679502487183, -0.6576278209686279, -0.12448644638061523, 0.2853127717971802, 0.4998781383037567, 0.4347864091396332, -0.6668951511383057, 0.2996363341808319, 0.18835225701332092, -0.610609233379364, -0.39775872230529785, 0.3593357801437378, -1.2808314561843872, 0.06242602318525314, 1.365005373954773, -0.5132195949554443, 0.03199794515967369, -0.1307002156972885, -0.24746310710906982, -0.30614209175109863, -0.6568170785903931, 0.7115435600280762, 0.8021647930145264, -0.3117494583129883, 0.014332630671560764, -0.5042468309402466, 0.13038498163223267, 0.300037145614624, -0.8093115091323853, -0.23519715666770935, 0.3175957500934601, 0.6864728331565857, 0.09290697425603867, 0.7618149518966675, 0.10513870418071747, 0.10307985544204712, -0.46365538239479065, 0.058001283556222916, 0.0005628636572510004, -0.001344396616332233, -0.5232037901878357, 0.25520238280296326, 0.8447890877723694, 0.3573259711265564 ]
http://arxiv.org/abs/2406.11654v1
http://arxiv.org/pdf/2406.11654v1
Ruby Teaming: Improving Quality Diversity Search with Memory for Automated Red Teaming
2024-06-17T15:36:14
2024-06-17T15:36:14
Vernon Toh Yan Han, Rishabh Bhardwaj, Soujanya Poria
cs.CL
cs.CL
We propose Ruby Teaming, a method that improves on Rainbow Teaming by including a memory cache as its third dimension. The memory dimension provides cues to the mutator to yield better-quality prompts, both in terms of attack success rate (ASR) and quality diversity. The prompt archive generated by Ruby Teaming has an ASR of 74%, which is 20% higher than the baseline. In terms of quality diversity, Ruby Teaming outperforms Rainbow Teaming by 6% and 3% on Shannon's Evenness Index (SEI) and Simpson's Diversity Index (SDI), respectively.
[ -0.6583872437477112, -0.24191325902938843, 0.336189329624176, 0.5540937781333923, 0.0682711973786354, 0.7764111161231995, 0.18373700976371765, -0.42823275923728943, 0.4321611821651459, -0.006511391140520573, -0.5359595417976379, -0.10820919275283813, -0.6073560118675232, -0.04298361763358116, -0.18786005675792694, 1.2386130094528198, 0.09007657319307327, 0.08789844810962677, 0.21121029555797577, -0.5267475843429565, -0.9710337519645691, -0.37674951553344727, -0.8238033056259155, -0.20308713614940643, 0.6387607455253601, 0.8668042421340942, 0.8082439303398132, 0.41965919733047485, 0.8918940424919128, 0.38534069061279297, -0.03921167925000191, -0.06917460262775421, -0.7153928875923157, 0.3332659900188446, -0.05540001392364502, -0.5592619776725769, -0.3958401381969452, 0.1688353419303894, 0.8078207969665527, 0.27509185671806335, -0.3234597146511078, 0.09769677370786667, -0.12451376765966415, 0.8621628284454346, -0.783348560333252, -0.6035523414611816, -0.7076411247253418, 0.10772106796503067, -0.30453070998191833, -0.6397720575332642, -0.10651383548974991, -0.43819162249565125, 0.17731134593486786, -0.3441348671913147, 0.7485383749008179, 0.4929724335670471, 0.8132109642028809, 0.025745125487446785, -0.06683489680290222, -0.21559132635593414, -0.7326027154922485, 1.0911229848861694, 0.043842609971761703, 0.059974782168865204, 0.2947792410850525, 0.5994098782539368, 0.06460516899824142, -0.22434298694133759, -0.5382011532783508, 0.1966269612312317, 0.18717607855796814, 0.3831586241722107, -0.42399269342422485, -0.14886704087257385, 0.1792452484369278, 0.8345339298248291, -0.8970996737480164, 0.0003587007522583008, -0.7166762948036194, 0.10935303568840027, 0.6980000138282776, 0.6764332056045532, 0.6561521291732788, 0.22441677749156952, -0.49364224076271057, -0.38629427552223206, -0.05724349245429039, 0.1752331405878067, 0.4548646807670593, -0.09287887066602707, 0.08001283556222916, 0.25759589672088623, -0.16291090846061707, 0.4407375454902649, 0.18245810270309448, 0.1774369776248932, 0.44711482524871826, -0.696471631526947, -0.04426328092813492, -0.2125232219696045, 0.5647292137145996, 0.6532667279243469, -0.3212850093841553, -0.2038147896528244, -0.641625702381134, 0.2834692597389221, 0.45242416858673096, -0.5696723461151123, -0.7637701630592346, 0.3939182460308075, -0.6095473766326904, 0.1309567540884018, 0.07267556339502335, -0.7927110195159912, -0.16325126588344574, 0.21851015090942383, 0.8122668862342834, -0.9796600341796875, -0.20148949325084686, -0.05915551260113716, -1.169392704963684, 0.4388081729412079, 0.23333927989006042, -0.977798581123352, 0.42983466386795044, 0.5181209444999695, 0.880502462387085, -0.5088151693344116, -0.7308205962181091, -0.780360758304596, 0.11182419210672379, -0.09540706872940063, 1.0628061294555664, -0.5512886643409729, -0.3666873276233673, -0.6528761386871338, -0.5409680008888245, 0.2383684664964676, -0.6180041432380676, -0.2296314835548401, -0.7061339020729065, 0.2863280773162842, -0.5270206332206726, -0.10723672062158585, -0.05710048973560333, 0.23553046584129333, -0.8124837279319763, 1.0836360454559326, 0.2618873119354248, -0.29950961470603943, 0.9997707009315491, -0.9803066253662109, -0.33522164821624756, 0.4938865303993225, 0.16231907904148102, -0.4583652913570404, -0.14263686537742615, 0.1344771683216095, 0.059312496334314346, -0.21607957780361176, -0.17319175601005554, -0.18313099443912506, -0.39998558163642883, 0.3790343999862671, 0.06950362026691437, 0.7520851492881775, 0.40653738379478455, -0.28746098279953003, 0.27806830406188965, -0.6013892889022827, 0.3320939540863037, -0.1288447380065918, -0.4797791838645935, -0.2183164656162262, -0.13256782293319702, -0.007631977554410696, -0.04246053472161293, 0.08980968594551086, -0.46007412672042847, -0.10662247985601425, 0.03516554459929466, 0.16883531212806702, 0.7543033361434937, 0.053699467331171036, 0.7376477718353271, -0.8985897302627563, 0.5165645480155945, -0.024622568860650063, 0.5898013114929199, 0.19231919944286346, -0.7132713198661804, -0.7145221829414368, -0.5331873893737793, 0.04020806774497032, 0.6222333908081055, -0.6882377862930298, 0.38810014724731445, -0.17975173890590668, -0.364860862493515, -0.5872292518615723, 0.38616594672203064, 0.6238757371902466, -0.3144960403442383, 0.5621635913848877, -0.6583808660507202, -0.8048756122589111, -0.919238269329071, -0.252214640378952, -0.18571080267429352, -0.06055697798728943, 0.12820161879062653, 0.7210901379585266, -0.2797706425189972, 0.9220514893531799, -0.2440931349992752, -0.373223215341568, -0.5602681636810303, 0.5058268308639526, 0.34702619910240173, 0.7029039263725281, 0.4618319571018219, -0.9020309448242188, -0.7727698087692261, -0.5077322125434875, -0.3839075267314911, 0.22759631276130676, 0.012217599898576736, -0.3220589756965637, 0.46534043550491333, -0.29055270552635193, -0.2479771375656128, 0.1840142011642456, 0.703504204750061, -0.5082810521125793, 0.18752697110176086, -0.2780376076698303, 0.7556498646736145, -0.896748960018158, 0.012383297085762024, 0.03955690562725067, 0.08100691437721252, -0.7614635825157166, 0.29645034670829773, 0.10763753205537796, -0.026050511747598648, -0.11938337236642838, 0.16335566341876984, -0.912649393081665, -0.33284953236579895, -0.002638401696458459, 0.21547801792621613, -0.0357942096889019, 0.14131048321723938, -0.31919634342193604, 0.9975932836532593, 0.3911469578742981, -0.7377246618270874, 0.5361685752868652, 0.11814352124929428, -0.24784845113754272, 0.7021313309669495, -0.5219107866287231, 0.000023677728677284904, -0.10719399154186249, 0.16445781290531158, -1.055349588394165, -0.08571057766675949, -0.3510725796222687, -0.8816213011741638, 0.2750377058982849, 0.1484622061252594, -0.7105306386947632, -0.5146372318267822, -0.7671727538108826, 0.7209104895591736, 0.7632186412811279, -0.5567174553871155, 0.26426443457603455, 0.5954186320304871, 0.2563753128051758, -0.6433841586112976, -0.8369882106781006, 0.02707008831202984, -0.28934726119041443, -0.8783085346221924, 0.3125205636024475, -0.3809727132320404, -0.3667854070663452, 0.017463792115449905, -0.13519197702407837, -0.4148101508617401, 0.129045307636261, -0.015817075967788696, 0.3892822563648224, -0.3741479516029358, -0.1956590861082077, -0.7175521850585938, -0.26104697585105896, -0.3264349102973938, 0.03356126695871353, 0.7775318026542664, -0.24919924139976501, -0.07642380893230438, -0.17321069538593292, 0.7846356630325317, 0.18671180307865143, -0.18560335040092468, 1.1330162286758423, 0.6412209272384644, 0.015436138026416302, -0.24379688501358032, -0.9889788627624512, -0.1498154103755951, -0.5395420789718628, 0.004218008369207382, -0.24950437247753143, -1.076977252960205, 0.8102520704269409, 0.8393546938896179, -0.1062375083565712, 0.37233948707580566, 0.1795826256275177, -0.5112449526786804, 1.0170449018478394, 0.5950809717178345, -0.28955841064453125, 0.5010112524032593, -0.3010461926460266, -0.03025948815047741, -0.8526911735534668, -0.25917166471481323, -0.4169122576713562, -0.8423337936401367, -0.37875884771347046, -0.5999686121940613, 0.618141770362854, 0.24358992278575897, -0.517096757888794, 0.40776270627975464, -0.7781211733818054, 0.6878639459609985, 1.0160950422286987, 0.22146615386009216, -0.03522830083966255, -0.1780698150396347, 0.4337562322616577, -0.21437036991119385, -0.6787172555923462, 0.1930302232503891, 0.7531711459159851, 0.28006476163864136, 0.69527268409729, 0.786054790019989, 0.8794025182723999, 0.30823272466659546, -0.05404609814286232, -0.3325464427471161, 0.5554969906806946, 0.008160713128745556, -0.9022654891014099, -0.5231413841247559, -0.6023269295692444, -1.0751136541366577, -0.00022862527112010866, -0.3745698928833008, -0.586944580078125, 0.06332665681838989, 0.1852317750453949, -0.7737983465194702, 0.31663092970848083, -0.625723123550415, 0.3890741765499115, -0.2663081884384155, -0.09404090791940689, -0.5692425966262817, -0.5606721043586731, 0.4318273961544037, 0.12096182256937027, -0.24628578126430511, 0.042112693190574646, -0.13489475846290588, 0.8547078371047974, -0.31558793783187866, 0.4330516457557678, -0.0980968102812767, 0.47708117961883545, 0.09439071267843246, 0.1802448183298111, 0.34423598647117615, -0.04601036384701729, -0.017271937802433968, -0.0807667225599289, -0.4925232529640198, -0.6742069125175476, -0.597797691822052, 0.4886755049228668, -0.9481131434440613, -0.673308789730072, -0.4142844080924988, -0.7648691534996033, 0.07616998255252838, -0.15818998217582703, 0.23845529556274414, 0.43706944584846497, 0.18952657282352448, 0.4724946916103363, 1.0083028078079224, -0.4779067039489746, 0.5438180565834045, 0.7667689919471741, 0.23819348216056824, -0.645469605922699, 1.1949002742767334, 0.04096462205052376, 0.6440384984016418, 0.5338521599769592, -0.07201356440782547, -0.06606537103652954, -0.7106730937957764, -0.1803753674030304, -0.02430027723312378, -0.6903399229049683, -0.39817219972610474, -0.8880340456962585, -0.24609413743019104, -0.20294465124607086, -0.47003793716430664, -0.2443302571773529, -0.2886677384376526, 0.09232393652200699, 0.3116930425167084, 0.7591394782066345, 0.5895652770996094, -0.3760591447353363, 0.21153725683689117, -0.9413846731185913, 0.45414018630981445, 0.5204337239265442, 0.5947979688644409, -0.35308802127838135, -0.45693275332450867, -0.12937679886817932, -0.36912843585014343, -0.4123017191886902, -0.8830749988555908, 0.4361001253128052, -0.10014484077692032, 1.0495104789733887, 0.040188152343034744, -0.13768227398395538, 1.0424860715866089, -0.0006502015748992562, 1.0033246278762817, 0.624442994594574, -1.071934461593628, 0.9637888073921204, -0.5363661646842957, 0.2444111406803131, 0.628482460975647, 0.2625499963760376, -0.2345731109380722, -0.7319072484970093, -0.8575589060783386, -0.7219256162643433, 0.8937378525733948, 0.3814832270145416, -0.38214364647865295, -0.05171104893088341, -0.1734510064125061, -0.30906590819358826, -0.11217551678419113, -0.6956331133842468, -0.6024591326713562, -0.05441915616393089, 0.19124934077262878, -0.296630322933197, -0.38120782375335693, -0.07450351864099503, -0.07371379435062408, 0.43286657333374023, 0.24713106453418732, 0.5088443756103516, 0.04845493286848068, -0.059731364250183105, -0.34016284346580505, 0.13324734568595886, 0.5026786923408508, 0.5017795562744141, -0.3174312710762024, 0.07951158285140991, 0.8054131269454956, -0.3400897681713104, 0.18763934075832367, -0.38584309816360474, 0.2661973834037781, -0.23653870820999146, 0.17316393554210663, 0.45585814118385315, 0.0236604493111372, -0.3049682676792145, 0.5294808745384216, -0.15255670249462128, -0.1155569851398468, -0.0461113266646862, 0.6617640256881714, -0.2829771041870117, 0.5067974925041199, 0.6626894474029541, 0.44842758774757385, 0.43406182527542114, -1.0293149948120117, 0.29578641057014465, 0.8896671533584595, -0.24489538371562958, 0.013473369181156158, 0.5372295379638672, 0.2733418047428131, -0.46448832750320435, 0.6427944302558899, -0.3612940013408661, -0.8028425574302673, 0.6591576933860779, 0.6484162211418152, 0.6539893746376038, -0.6046291589736938, 0.029208805412054062, 0.555045485496521, 0.49440306425094604, -0.43231332302093506, 0.44833609461784363, -0.0235415231436491, -0.7493271827697754, -0.08936178684234619, -0.3574845492839813, -0.5339781641960144, -0.10921421647071838, -0.8236894011497498, 0.18494939804077148, -0.5112864971160889, 0.0427541509270668, -0.2957440912723541, 0.3277224600315094, -0.521232545375824, 0.24928002059459686, 0.009006083942949772, 0.8378768563270569, -0.5171934366226196, 0.7709497213363647, 0.6482006311416626, -0.630649209022522, -0.5928711891174316, -0.10121320188045502, 0.05041756108403206, -0.8393505215644836, 0.900115430355072, 0.03699900209903717, -0.2336689978837967, -0.1823931634426117, -0.4854208827018738, -1.0780338048934937, 1.4743140935897827, -0.20848649740219116, -0.1005258858203888, 0.3200454115867615, -0.2144438475370407, 0.32788047194480896, -0.17506490647792816, 0.6050357818603516, 0.5169973373413086, 0.4487816393375397, 0.13546131551265717, -0.7899881601333618, 0.006085608154535294, -0.6593822836875916, 0.36481431126594543, 0.40759146213531494, -0.7198734283447266, 1.3592009544372559, -0.35699763894081116, -0.6689496040344238, -0.031622231006622314, 0.7113763093948364, 0.8259811401367188, 0.15753315389156342, 0.5844359993934631, 0.4262213706970215, 0.8383288383483887, -0.04542290046811104, 1.1227651834487915, -0.06155896559357643, -0.06280503422021866, 0.7572468519210815, -0.02797045186161995, 0.8349468111991882, 0.38585975766181946, -0.2777308523654938, 0.4886036813259125, 0.26759541034698486, -0.3364967703819275, 0.5130007266998291, 0.13354960083961487, -0.34840816259384155, -0.20056188106536865, 0.6457657814025879, -0.2701740562915802, 0.0075613269582390785, 0.2822774648666382, -0.08533524721860886, 0.014629346318542957, -0.15656748414039612, -0.4641728103160858, 0.036200594156980515, -0.32193976640701294, 0.8465992212295532, -0.46798381209373474, -0.9365318417549133, 0.508629560470581, -0.2965311110019684, 1.2474031448364258, -0.27922502160072327, -0.05437732860445976, -0.4686080813407898, 0.26498886942863464, -0.3456028401851654, -1.4523377418518066, 0.3554092347621918, -0.13214978575706482, -0.9301357269287109, -0.14261746406555176, 0.45889657735824585, -0.1869799941778183, 0.11192724853754044, 0.504391074180603, 0.2251739650964737, 0.16885654628276825, 0.21516573429107666, -0.7097695469856262, 0.1947602778673172, -0.05017975717782974, 0.22516222298145294, 0.5580349564552307, 0.4932158589363098, 0.37403392791748047, 1.022748589515686, 0.6383691430091858, 0.05606701225042343, 0.28908324241638184, -0.17308396100997925, 0.8326950073242188, -0.9518723487854004, -0.5480756759643555, -0.8816049695014954, 0.5340328216552734, -0.4071306884288788, -0.3107560873031616, 1.0998663902282715, 0.8264878988265991, 0.44404157996177673, 0.06758459657430649, 0.5700251460075378, -0.09508144855499268, 0.5585932731628418, -0.3033308684825897, 0.8229458928108215, -0.42127805948257446, 0.24065282940864563, -0.3186936676502228, -0.7974042892456055, -0.4079494774341583, 0.6439850330352783, 0.09105511754751205, 0.04306624457240105, 0.9876681566238403, 0.9565181732177734, -0.06044156849384308, 0.2435215413570404, 0.28748685121536255, -0.10586965829133987, 0.2893069088459015, 0.8477838635444641, 1.2661570310592651, -0.4996069669723511, 0.8913735151290894, 0.1386789232492447, -0.4830804765224457, -0.14626732468605042, -0.5350456833839417, -0.9709296822547913, -0.6854096055030823, -0.18589729070663452, -0.575631320476532, 0.2026774287223816, 0.5850613117218018, 0.6431455612182617, -0.8356403112411499, -0.3152464032173157, -0.05187225341796875, -0.00958087295293808, -0.2355431765317917, -0.2997516691684723, -0.4220154583454132, -0.8344340920448303, -0.2940202057361603, 0.39819422364234924, 0.3591637909412384, -0.2224915474653244, -0.13820144534111023, -0.3643259108066559, -0.1747606247663498, -0.14167797565460205, 0.4458610415458679, 0.21836715936660767, -0.47946178913116455, -0.46768105030059814, -0.12271607667207718, -0.4011726975440979, 0.17531101405620575, 0.6783332824707031, -0.6598631739616394, 0.12157076597213745, 0.7434157729148865, 0.3919821083545685, 0.3386877477169037, -0.10729527473449707, 0.8702830076217651, -0.6165736317634583, -0.327587753534317, 0.2740038335323334, 0.21024450659751892, 0.1602100282907486, -0.22635409235954285, 0.5889579653739929, 0.1562463492155075, -0.8828158974647522, -0.7139008045196533, -0.15846720337867737, -0.9895572662353516, -0.1771615594625473, 1.3633530139923096, 0.16344976425170898, -0.21921630203723907, -0.41656187176704407, 0.005800691898912191, 0.020345617085695267, -0.732502281665802, 0.7702927589416504, 0.2647993862628937, -0.22720815241336823, -0.39717787504196167, -0.3514634668827057, 0.5755700469017029, 0.49422454833984375, -0.6505239605903625, -0.4497465193271637, 0.421861469745636, 0.3968208134174347, 0.539352297782898, 0.9184257388114929, 0.028119051828980446, 0.7715736627578735, 0.3942568600177765, 0.3727738559246063, 0.4035470485687256, -0.4171505570411682, -0.2193826287984848, 0.3170086443424225, -0.17070075869560242, -0.37459486722946167 ]
http://arxiv.org/abs/2406.11651v1
http://arxiv.org/pdf/2406.11651v1
A Two-dimensional Zero-shot Dialogue State Tracking Evaluation Method using GPT-4
2024-06-17T15:32:17
2024-06-17T15:32:17
Ming Gu, Yan Yang
cs.CL
cs.CL
Dialogue state tracking (DST) is evaluated by exact matching methods, which rely on large amounts of labeled data and ignore semantic consistency, leading to over-evaluation. Currently, leveraging large language models (LLM) in evaluating natural language processing tasks has achieved promising results. However, using LLM for DST evaluation is still under explored. In this paper, we propose a two-dimensional zero-shot evaluation method for DST using GPT-4, which divides the evaluation into two dimensions: accuracy and completeness. Furthermore, we also design two manual reasoning paths in prompting to further improve the accuracy of evaluation. Experimental results show that our method achieves better performance compared to the baselines, and is consistent with traditional exact matching based methods.
[ -0.1455635279417038, -0.9227077960968018, 1.212396502494812, -0.02756422758102417, -0.565789520740509, 0.2681463062763214, -0.0696539431810379, -0.24251335859298706, 0.031908463686704636, 0.40149983763694763, -0.7327519655227661, -0.5799859166145325, -0.5314172506332397, 0.0063794259913265705, -0.038598597049713135, 1.0889052152633667, -0.31444016098976135, -0.03029884397983551, 0.0037005769554525614, 0.05257822945713997, -0.7125314474105835, -0.2952975332736969, -0.6072701215744019, -0.09015266597270966, 0.060889750719070435, 0.017107339575886726, 0.3861866593360901, 0.5194821953773499, 0.3812604248523712, 0.22628577053546906, -0.1211744025349617, -0.00858207605779171, -0.36120352149009705, 0.18682321906089783, -0.11611572653055191, -0.2925589382648468, -0.541315495967865, 0.22752928733825684, 0.7527603507041931, 0.030589917674660683, -0.007386747281998396, 0.27796798944473267, -0.14238452911376953, 0.4275619685649872, -0.48967140913009644, 0.530841588973999, -0.38795554637908936, 0.07827814668416977, -0.04438786953687668, -0.43371710181236267, -0.004723624791949987, -0.7986631989479065, 0.35376662015914917, -0.43016213178634644, 0.13347159326076508, -0.3081474006175995, 0.4777758717536926, 0.3031262755393982, -0.7542982697486877, -0.39535900950431824, -0.6799542903900146, 0.6340277791023254, -0.8854084610939026, 0.21979576349258423, 0.4936085641384125, 0.4740440845489502, 0.06235458329319954, -0.3449472486972809, -0.7496584057807922, -0.331165611743927, 0.2348485141992569, 0.3106585144996643, -0.14250241219997406, 0.1717035323381424, 0.45860782265663147, 0.24764062464237213, -0.62137770652771, -0.035253651440143585, -0.17637860774993896, -0.31842294335365295, 0.42932674288749695, 0.36061668395996094, 0.4260720908641815, -0.1921290159225464, -0.4336417019367218, 0.11873526126146317, -0.2313462197780609, -0.0690770149230957, 0.22490616142749786, 0.34339454770088196, -0.11003680527210236, 0.5418058037757874, -0.2621678113937378, 0.8679435849189758, 0.10291153937578201, -0.253652423620224, 0.15007327497005463, -0.9295105338096619, -0.25078004598617554, -0.06995417922735214, 0.8098322153091431, 0.8059995174407959, -0.03671629726886749, -0.13228224217891693, -0.046424027532339096, 0.27526238560676575, 0.2504574656486511, -0.977214515209198, 0.12341243028640747, 0.10650520771741867, 0.07385991513729095, -0.10368627309799194, -0.4906482696533203, -0.9464554786682129, -0.20918706059455872, -0.49790239334106445, 0.7163447737693787, -0.5051180124282837, -0.30336064100265503, 0.12152009457349777, 0.04771558940410614, 0.4813145399093628, 0.609898030757904, -0.9046210646629333, 0.314850777387619, 1.0197464227676392, 1.279462456703186, -0.05465797334909439, 0.16945140063762665, -0.5208199620246887, -0.05512216314673424, -0.48828473687171936, 0.9677438139915466, -0.44056645035743713, -0.010397490113973618, -0.14907990396022797, -0.37720370292663574, -0.26935550570487976, -0.03603394702076912, 0.7523545622825623, -0.4205447733402252, 0.5111521482467651, -0.45225590467453003, -0.6872404217720032, -0.31618842482566833, 0.6310349702835083, -0.3325420320034027, 0.8959491848945618, 0.24181212484836578, -0.5803400874137878, 0.38768985867500305, -0.7357171773910522, -0.18000014126300812, 0.22412458062171936, -0.39491820335388184, -0.32841721177101135, -0.07185162603855133, 0.2723221182823181, -0.012932426296174526, -0.20037725567817688, 0.06681063771247864, -0.24587740004062653, -0.8266720175743103, -0.28897973895072937, -0.7007624506950378, 0.7218164205551147, 0.01735919900238514, -0.562375009059906, -0.17766904830932617, -0.49599266052246094, 0.3015120327472687, 0.05054539814591408, -0.2647344470024109, -0.05200646072626114, -0.2947099506855011, -0.33759263157844543, 0.38630032539367676, 0.3278871178627014, -1.004747748374939, 0.344407320022583, -0.4216625690460205, 0.3087775409221649, 0.5647608637809753, 0.31030890345573425, 0.3658372163772583, -0.019305335357785225, 0.7871646881103516, -0.2672545909881592, 0.03947170823812485, -0.1691732406616211, -0.5728046894073486, -0.46648359298706055, -0.36312204599380493, 0.012659055180847645, 0.7597570419311523, -0.6671165823936462, 0.4804321527481079, -0.10337918996810913, -0.42480745911598206, -0.47064098715782166, -0.2529808580875397, 0.650111973285675, 0.4191969931125641, 0.2620338201522827, -0.2725768983364105, -0.30690279603004456, -0.6441370844841003, -0.2629064619541168, -0.14134414494037628, -0.23155894875526428, 0.15821297466754913, 0.30000728368759155, 0.00009176117600873113, 1.0619356632232666, -0.6470433473587036, -0.4142453372478485, -0.20888470113277435, 0.2722104787826538, 0.17515811324119568, 0.158476322889328, 0.5597749948501587, -0.04614054039120674, -0.6637818217277527, -0.0823923870921135, -0.7404136061668396, -0.1783122569322586, -0.011241056956350803, -0.07792872935533524, 0.41720524430274963, -0.0148439547047019, -0.7771759629249573, 0.8656803369522095, 0.37625813484191895, -0.42895156145095825, 0.3611387312412262, -0.11533023416996002, 0.549868106842041, -0.9605640769004822, -0.18856684863567352, 0.23699983954429626, -0.3719470500946045, -0.8283690810203552, -0.3303835988044739, 0.11698289215564728, -0.2134426385164261, -0.07699065655469894, 0.4417939782142639, -0.39464130997657776, -0.3852299153804779, -0.3314487934112549, 0.6050865650177002, 0.031772714108228683, 0.6434768438339233, -0.055874936282634735, 0.7418621778488159, 0.5127408504486084, -0.06117333471775055, 0.6482903361320496, 0.33862921595573425, -0.6766074299812317, 1.0191293954849243, -0.43997639417648315, 0.6577194333076477, -0.1601501852273941, 0.7480185627937317, -1.374463677406311, 0.28568509221076965, 0.29835739731788635, -0.2861155569553375, 0.3019747734069824, -0.3766740560531616, -0.5055491328239441, -0.36563602089881897, -0.48213350772857666, 0.30848273634910583, 0.3886837959289551, -0.25079306960105896, 0.20406629145145416, 0.01352484617382288, -0.3845099210739136, -0.10533927381038666, -0.3918780982494354, 0.28058645129203796, -0.1253511756658554, -0.5172067284584045, -0.009667705744504929, -0.10129599273204803, 0.2219206541776657, -0.36216047406196594, -0.6976677775382996, -0.16999508440494537, -0.28058597445487976, -0.06731169670820236, 0.4069594442844391, -0.11146548390388489, -0.31619977951049805, -0.1308116614818573, -0.4278136193752289, -0.07773624360561371, -0.3298433721065521, 0.4953089952468872, -0.04832816496491432, -0.4737969636917114, -1.2752001285552979, 0.2005734145641327, 0.5844489336013794, -0.02920691668987274, 0.1015622541308403, 0.6349368095397949, -0.27781423926353455, 0.12333032488822937, -0.6354300379753113, -0.13903644680976868, -0.37076568603515625, 0.40647760033607483, -0.49338191747665405, -0.823712170124054, 0.0648140236735344, 0.1565553843975067, 0.17254294455051422, 0.13096031546592712, 0.48433831334114075, 0.06220996752381325, 1.3108445405960083, 0.3326855003833771, 0.0507805235683918, 0.2508097290992737, 0.020041320472955704, 0.7492551803588867, -1.0736712217330933, -0.24861524999141693, -0.4724903106689453, -0.09642413258552551, -0.19286145269870758, -0.5264008045196533, 0.3616279363632202, 0.21692252159118652, -0.3200265169143677, 0.6733698844909668, -0.4961940050125122, 0.36757007241249084, 0.2951223850250244, -0.044104184955358505, 0.5273064374923706, 0.09260648488998413, -0.22095070779323578, -0.279058039188385, -0.1256144493818283, -0.6116883754730225, 0.8547866344451904, 0.5431848764419556, 0.4428376257419586, 0.3894953727722168, 0.35310739278793335, 0.2456613928079605, -0.10449836403131485, -1.0304019451141357, 0.5058246850967407, 0.0917474776506424, -0.4774778485298157, -0.5030606985092163, -0.5138044953346252, -0.4102001488208771, 0.4761698842048645, 0.2012430876493454, -1.1965534687042236, -0.4784695506095886, -0.11380229145288467, -0.6713476777076721, 0.1737290620803833, -0.6398257613182068, 0.7141687273979187, -0.2445247769355774, 0.095669224858284, -0.18143753707408905, -0.34699222445487976, 0.37245869636535645, -0.31211480498313904, -0.2536154091358185, -0.4117867946624756, 0.206927090883255, 0.6851415038108826, -0.4424077570438385, 0.6564258933067322, -0.4071098864078522, -0.3751775324344635, 0.28920379281044006, 0.3161364197731018, 0.4508689343929291, 0.003924333490431309, -0.10779133439064026, 0.18953700363636017, 0.542868435382843, -0.39971986413002014, -1.021500587463379, 0.680899977684021, -0.5307063460350037, -0.5426076650619507, -0.689606249332428, -0.5504152178764343, -0.40740975737571716, 0.08640801161527634, 0.1349378377199173, 0.6511442065238953, -0.11073961108922958, -0.23652809858322144, 0.15563692152500153, -0.1108839213848114, 0.40910986065864563, 0.9566517472267151, -0.19643482565879822, -0.29016950726509094, 0.5925517082214355, 0.15123121440410614, 0.2922675907611847, 0.22333848476409912, 0.11522537469863892, -0.8239921927452087, -0.26951146125793457, -0.8342218995094299, 0.19490018486976624, -0.3191911280155182, -0.2901211082935333, -0.6015403866767883, -0.26660484075546265, -0.5858994722366333, 0.009134518913924694, -0.3007681369781494, -0.34997597336769104, 0.14388355612754822, -0.24299311637878418, 0.34683388471603394, 0.8925639986991882, 0.0713263526558876, 0.1263815015554428, -0.4239070415496826, 0.48438596725463867, 0.49993306398391724, 0.8313160538673401, -0.25342050194740295, -0.7383134365081787, 0.09686748683452606, 0.38012877106666565, -0.539157509803772, -0.7672141194343567, -0.10127352178096771, 0.0031377538107335567, 0.40183931589126587, 0.13130828738212585, -0.16556786000728607, 0.7882853746414185, -0.6783048510551453, 0.9180281758308411, 0.4380229115486145, -1.1234380006790161, 0.7223420143127441, -0.41062498092651367, 0.6575443148612976, 0.4899558424949646, -0.028462672606110573, -0.5636675357818604, -0.19674310088157654, -0.2237515151500702, -0.3215709924697876, 1.1476154327392578, 0.4463728070259094, 0.04698925092816353, -0.048964183777570724, 0.32291486859321594, -0.31666499376296997, -0.11792736500501633, -0.15136565268039703, 0.06282123923301697, -0.2444593459367752, -0.025324899703264236, 0.0904960036277771, -0.43192845582962036, 0.012150461785495281, -0.1092011108994484, 0.44498589634895325, -0.13338813185691833, 0.45908814668655396, 0.03269941359758377, 0.1504409909248352, -0.23370303213596344, 0.3954720199108124, 0.6370893120765686, 0.6666877865791321, -0.5705736875534058, -0.25764140486717224, 0.2869437038898468, -0.3783450722694397, 0.33474624156951904, 0.08836600929498672, -0.39062967896461487, 0.18675865232944489, 0.08237288892269135, 1.038789987564087, -0.0021582513581961393, -0.20622050762176514, 1.0372579097747803, -0.17624440789222717, -0.3234449326992035, -0.2907938063144684, -0.1331510990858078, -0.0743827298283577, 0.3746996521949768, 0.053245048969984055, -0.08581531792879105, 0.16523486375808716, -0.5265545845031738, 0.25621259212493896, 0.5039467811584473, -0.7686111927032471, -0.49900680780410767, 0.422117680311203, 0.0911480039358139, -0.44130948185920715, 0.6766173839569092, -0.47513142228126526, -0.6138262152671814, 0.4584236443042755, 0.7606571316719055, 0.9978890419006348, -0.4313424527645111, 0.5170696973800659, 0.5323119163513184, 0.11064697802066803, -0.16047000885009766, 0.31614068150520325, -0.36602309346199036, -0.5251083970069885, -0.858757495880127, -0.7489424347877502, -0.3742094337940216, 0.26970338821411133, -0.7635942697525024, 0.3355460464954376, -0.5155840516090393, -0.23630188405513763, 0.002061686012893915, 0.27246564626693726, -0.6218611598014832, 0.07630930840969086, 0.25840404629707336, 0.7176411747932434, -0.7300516366958618, 0.8345548510551453, 0.3020906448364258, -0.31033623218536377, -0.5615682601928711, 0.22215934097766876, 0.7295362949371338, -0.7115323543548584, 0.3818496763706207, 0.40492260456085205, -0.4745078384876251, -0.17851752042770386, -0.17868328094482422, -0.9089211821556091, 1.0377501249313354, 0.3028189241886139, -0.7054632306098938, 0.18295027315616608, 0.0360647477209568, 0.8640027642250061, -0.04793306440114975, 0.6368284225463867, 1.237147569656372, 0.4032594561576843, 0.4770589768886566, -1.2321105003356934, 0.0788794755935669, 0.034095101058483124, 0.23552177846431732, 0.4034707546234131, -0.5125625133514404, 0.24635247886180878, -0.09950847178697586, -0.5477343797683716, 0.3056829273700714, 0.12763260304927826, 0.2748948633670807, 0.36066582798957825, 0.510284423828125, 0.758505642414093, 0.4212343096733093, -0.10216371715068817, 0.7588102221488953, -0.009137117303907871, 0.8343658447265625, 1.2805116176605225, -0.7924531698226929, 0.6386106610298157, -0.013377967290580273, -0.3744274973869324, 0.23972012102603912, 0.2819370627403259, -0.061861976981163025, 0.6952486038208008, 0.33658167719841003, -0.5092282891273499, 0.08056239038705826, -0.0001239846315002069, -0.09766489267349243, 0.6657935976982117, 0.26227015256881714, 0.20559139549732208, -0.7465015649795532, -0.287471204996109, 0.36153310537338257, -0.04852094128727913, -0.013287213630974293, 1.0128406286239624, -0.13711534440517426, -0.7896152138710022, 0.5730709433555603, -0.03851209208369255, 0.3694021999835968, -0.4494193494319916, -0.18758352100849152, -0.33871638774871826, -0.021502984687685966, -0.01982206106185913, -1.0299243927001953, 0.4070061445236206, 0.5001986026763916, 0.1830502599477768, -0.18071217834949493, 0.2346496433019638, -0.4598393142223358, -0.3716703951358795, 0.4137941300868988, 0.144304558634758, 0.43120378255844116, -0.21051909029483795, -0.6379325985908508, -0.08269470930099487, 0.42787280678749084, -0.14754100143909454, 0.2548353970050812, 0.433730810880661, -0.10903513431549072, 0.2812223732471466, 0.5032740235328674, 0.052308496087789536, -0.22988425195217133, 0.34691619873046875, 0.5281737446784973, -0.6724663376808167, -0.344760924577713, -0.9199087619781494, 0.19521331787109375, -0.17149177193641663, -0.3754425048828125, 0.6136837601661682, 0.6857793927192688, 0.34492358565330505, 0.39253729581832886, 1.0116256475448608, 0.00011156734399264678, 0.9211133122444153, -0.42545005679130554, 0.270323246717453, -0.09381282329559326, 0.306418776512146, -0.40413162112236023, -1.3769539594650269, -0.23828834295272827, 0.6747249960899353, -0.4825051724910736, -0.0030437526293098927, 0.8306967616081238, 0.6860756278038025, -0.11622438579797745, 0.2616299092769623, 0.6034525632858276, 0.32372891902923584, 0.519589900970459, 0.6489951014518738, 0.7519692778587341, -0.505647599697113, 0.484874427318573, -0.10791274160146713, -0.6971724629402161, 0.0358804389834404, -0.8589633703231812, -0.8942475914955139, -0.491700142621994, -0.4586329758167267, -0.24906839430332184, -0.01126422081142664, 0.6991223096847534, 0.5626466870307922, -0.6461034417152405, 0.08637405186891556, 0.058391861617565155, -0.46739432215690613, -0.07276306301355362, -0.20903939008712769, 0.46508240699768066, -0.25810322165489197, -0.8486272096633911, 0.6225743889808655, 0.8750702142715454, -0.06543489545583725, -0.27185606956481934, 0.24476327002048492, -0.13278062641620636, 0.07725470513105392, 0.7759097814559937, 0.057624299079179764, -0.8928130865097046, -0.6351040601730347, -0.2558292746543884, -0.1981791853904724, -0.047236327081918716, 0.7060398459434509, -0.5855166912078857, 0.8314679861068726, 0.5252326130867004, 0.37420904636383057, 0.9689735174179077, 0.41470345854759216, 0.6784935593605042, -0.44124898314476013, -0.02191340923309326, 0.1753917634487152, 0.07946441322565079, 0.38900354504585266, -0.36419549584388733, 0.5409719944000244, 0.013165025971829891, -0.7448680400848389, -0.41669511795043945, 0.33812007308006287, -1.0326021909713745, 0.057325590401887894, 1.196136236190796, -0.3337692320346832, 0.2991389334201813, -0.36900806427001953, -0.3380678594112396, 0.3683514893054962, -0.4678485691547394, 0.7975898385047913, 0.7302286028862, -0.301029235124588, -0.2585938274860382, -0.9676612019538879, 0.48530325293540955, 0.21027512848377228, -0.6292756199836731, -0.1997966468334198, 0.5346270799636841, 0.6376705765724182, 0.06659071892499924, 1.0407007932662964, -0.27111580967903137, 0.041216328740119934, -0.1912761777639389, -0.3311043977737427, 0.16970178484916687, 0.04622483253479004, -0.6665157079696655, -0.38460278511047363, -0.2955423593521118, -0.39777156710624695 ]
http://arxiv.org/abs/2407.00066v1
http://arxiv.org/pdf/2407.00066v1
Compress then Serve: Serving Thousands of LoRA Adapters with Little Overhead
2024-06-17T15:21:35
2024-06-17T15:21:35
Rickard Brüel-Gabrielsson, Jiacheng Zhu, Onkar Bhardwaj, Leshem Choshen, Kristjan Greenewald, Mikhail Yurochkin, Justin Solomon
cs.DC
cs.DC, cs.AI, cs.CL, cs.LG
Fine-tuning large language models (LLMs) with low-rank adapters (LoRAs) has become common practice, often yielding numerous copies of the same LLM differing only in their LoRA updates. This paradigm presents challenges for systems that serve real-time responses to queries that each involve a different LoRA. Prior works optimize the design of such systems but still require continuous loading and offloading of LoRAs, as it is infeasible to store thousands of LoRAs in GPU memory. To mitigate this issue, we investigate the efficacy of compression when serving LoRA adapters. We consider compressing adapters individually via SVD and propose a method for joint compression of LoRAs into a shared basis paired with LoRA-specific scaling matrices. Our experiments with up to 500 LoRAs demonstrate that compressed LoRAs preserve performance while offering major throughput gains in realistic serving scenarios with over a thousand LoRAs, maintaining 75% of the throughput of serving a single LoRA.
[ -0.6028860807418823, -0.5765376091003418, 0.39246582984924316, 0.21699203550815582, -0.3591783046722412, -0.13219600915908813, -0.26242202520370483, -0.541486382484436, 0.6435953378677368, 0.7618088722229004, -0.39773818850517273, 0.016382092610001564, -0.5339186191558838, -0.032723963260650635, -0.16118723154067993, 0.5220375061035156, 0.24629570543766022, -0.24391254782676697, -0.14737266302108765, -0.546642541885376, -0.7164931893348694, -0.38998743891716003, -0.8322212100028992, -0.1068950742483139, 0.6295097470283508, 0.7559285759925842, 0.8195104002952576, 0.6680097579956055, 0.6787244081497192, 0.3450871706008911, -0.08024128526449203, 0.24753542244434357, -0.8369127511978149, 0.6030278205871582, 0.12337657064199448, -0.6948102116584778, -0.48504209518432617, -0.3747619688510895, 0.5493031740188599, 0.8001487255096436, -0.5483717918395996, 0.4405171871185303, 0.1595652848482132, 0.7789908647537231, -0.6796610355377197, -0.26321813464164734, -0.6893985271453857, -0.06923191994428635, -0.1791827380657196, -0.09116297960281372, -0.6003386378288269, -0.6588196754455566, -0.2742142081260681, -0.615336537361145, -0.17990277707576752, 0.2642451226711273, 0.7656428217887878, 0.762306809425354, 0.12315280735492706, 0.3301880657672882, -0.7333239316940308, 0.5202305912971497, -0.6052803993225098, 0.0769578069448471, 0.047964174300432205, 0.6890048384666443, -0.39667999744415283, -0.5164970755577087, -0.42306825518608093, 0.4898677468299866, 0.12448924779891968, -0.3140328526496887, -0.47141966223716736, -0.16869628429412842, 0.46502894163131714, 0.45825961232185364, -0.3297586441040039, 0.5024070143699646, -0.22929081320762634, 0.302669882774353, 0.17921368777751923, 0.03687802329659462, 0.016974270343780518, 0.18282195925712585, -0.2146466076374054, -0.09548831731081009, -1.1361095905303955, -0.08193253725767136, 0.15353181958198547, 0.5343945026397705, 0.046852387487888336, 0.7074675559997559, -0.2674935758113861, 1.0321080684661865, 0.05537886917591095, 0.05168057605624199, -0.15791575610637665, -0.00778095331043005, -0.4084697663784027, -0.12203977257013321, 0.7433987259864807, 0.2511630654335022, 0.12864480912685394, -0.18827688694000244, -0.14078456163406372, 0.43640053272247314, 0.3981756269931793, -0.8509293794631958, 0.10173504054546356, 0.12567447125911713, -0.4247746467590332, -0.3414340615272522, -0.23842178285121918, -0.8928288817405701, -0.4880094528198242, -0.11458916962146759, 0.7966540455818176, 0.11459115147590637, 0.2654227912425995, 0.251235693693161, -0.0696989968419075, -0.0068130469880998135, 0.26593470573425293, -1.0885308980941772, 0.7944542169570923, 0.5147097110748291, 0.8854251503944397, -0.07511863857507706, -0.005002747289836407, -1.3607882261276245, 0.08960871398448944, 0.08128750324249268, 1.2739545106887817, -0.34835079312324524, -0.37508440017700195, 0.06610780209302902, 0.13415952026844025, 0.32306134700775146, -0.8442228436470032, 0.6520145535469055, -0.6433355212211609, -0.3855164349079132, -0.517854630947113, -0.25816643238067627, 0.4486648440361023, 0.17068056762218475, -0.9234029054641724, 0.9208682179450989, 0.20587390661239624, -0.4113456904888153, 0.10382592678070068, -0.48914316296577454, -0.47786054015159607, 0.0956963524222374, -0.3650735914707184, -0.29620954394340515, 0.5935974717140198, 0.3761288523674011, 0.29695168137550354, -0.5490710735321045, -0.520481526851654, -0.3140767514705658, -0.6400856375694275, -0.058303315192461014, 0.001053444342687726, 0.25294029712677, 0.21448025107383728, 0.12249505519866943, -0.04819851368665695, -0.4829407036304474, 0.18980517983436584, 0.16151714324951172, -0.9150468707084656, -0.33322641253471375, 0.17673493921756744, -0.08306014537811279, 0.024775013327598572, 0.27629074454307556, -0.6175130009651184, 0.9693250060081482, -0.346265584230423, 0.6110929846763611, 0.7711892127990723, -0.31432464718818665, 0.2310507893562317, -0.4167017936706543, 0.5002691745758057, -0.17978350818157196, 0.39730527997016907, 0.14613549411296844, -0.39050060510635376, -1.0996745824813843, -0.06803186982870102, 0.18157412111759186, 0.1699105203151703, -0.8801475763320923, 0.36144307255744934, -0.7916387915611267, -0.6394255757331848, -0.8455478549003601, 0.1361197531223297, 0.07977605611085892, 0.22587107121944427, 0.2530749440193176, -0.22622810304164886, -0.47284868359565735, -0.9331190586090088, -0.2863326668739319, 0.23741629719734192, 0.19322818517684937, 0.38309943675994873, -0.05434809997677803, -0.014769431203603745, 0.9249725341796875, -0.8727312684059143, -0.4204441010951996, -0.1912023425102234, -0.1395435780286789, 0.6594066619873047, 0.32653117179870605, 0.5811264514923096, -0.5422891974449158, -0.5665796399116516, -0.02352237142622471, -0.4948265552520752, -0.0429353229701519, 0.4952929615974426, 0.045802850276231766, 0.12122806161642075, 0.4582352042198181, -0.45675259828567505, 0.11178649961948395, 1.0916398763656616, -0.28912249207496643, 0.1291400045156479, -0.7722886800765991, 0.14608877897262573, -1.0193876028060913, -0.15639467537403107, -0.38573431968688965, -0.487606406211853, -0.2960752248764038, 0.10110630095005035, -0.2830599844455719, -0.42768219113349915, -0.43525224924087524, 0.35691964626312256, -0.33294373750686646, -0.4915231764316559, -0.27738937735557556, 0.08872970193624496, 0.07211894541978836, 0.2831100821495056, -0.24761776626110077, 0.9827836155891418, 0.369483083486557, -0.9002406001091003, 0.2941591143608093, 0.11104068160057068, -0.4095720052719116, 0.5783596634864807, -0.9673541188240051, 0.23624669015407562, -0.10261639207601547, 0.3126750588417053, -0.7901196479797363, -0.0931297168135643, -0.025977211073040962, 0.060735080391168594, -0.14363816380500793, -0.6827077865600586, -0.719610869884491, -0.2957342863082886, -0.2803187966346741, 0.4159735441207886, 0.6954575777053833, -0.9758231043815613, 0.6730619668960571, 0.5478717684745789, -0.028966132551431656, -0.51788330078125, -0.8041350245475769, -0.06322960555553436, -0.2339787781238556, -0.5516368746757507, 0.32340604066848755, -0.4807507395744324, -0.19790761172771454, 0.018495788797736168, -0.0204672459512949, 0.11605622619390488, 0.1772848516702652, 0.6270076632499695, 0.11989738792181015, -0.3349032998085022, -0.2268795520067215, 0.12559780478477478, -0.22539006173610687, -0.4959487020969391, -0.5359489321708679, 0.9388111233711243, -0.017159240320324898, -0.538351833820343, -0.22194020450115204, 0.49523982405662537, 0.820499062538147, 0.2600906491279602, 1.0015299320220947, 0.2823040783405304, -0.32405808568000793, -0.04379415884613991, -0.6282321810722351, 0.12356430292129517, -0.5574394464492798, -0.13148193061351776, -0.6200112104415894, -0.7579777240753174, 0.513264536857605, -0.1880222111940384, 0.24558866024017334, 0.34381240606307983, 0.32359620928764343, -0.18051345646381378, 0.5326622724533081, 0.6935311555862427, -0.32644233107566833, 0.6467463374137878, -0.24406208097934723, 0.2435687631368637, -0.7672566771507263, 0.21705767512321472, -0.9271571040153503, -0.7155927419662476, -0.5945407152175903, -0.6959320306777954, 0.6486566066741943, 0.026922475546598434, 0.06603831052780151, 0.5335193872451782, -0.7366612553596497, 1.0287269353866577, 0.2844461500644684, 0.043347977101802826, 0.5061286687850952, 0.2804659903049469, 0.23026441037654877, 0.0602114200592041, -0.7274527549743652, -0.23385582864284515, 0.7561740279197693, -0.04490983113646507, 1.2457656860351562, 0.6259595155715942, 0.6708366870880127, 0.4826376438140869, -0.006299788597971201, -0.8055691719055176, 0.5548131465911865, -0.6878992319107056, 0.0305950865149498, -0.22959907352924347, -0.3748033940792084, -1.132185935974121, 0.3915369510650635, -0.19897405803203583, -0.6972970366477966, 0.32145029306411743, 0.19084471464157104, -0.7202031016349792, 0.34197625517845154, -0.7676887512207031, 0.32327407598495483, 0.08947276324033737, -0.3178490400314331, -0.4653788208961487, -0.3073938190937042, -0.12375335395336151, 0.14452101290225983, 0.13808782398700714, 0.2072354257106781, -0.03167874738574028, 0.7368679642677307, -0.5347141027450562, 0.60368812084198, -0.19191677868366241, -0.13221518695354462, -0.24699530005455017, 0.08493280410766602, 0.7366684675216675, 0.0466730110347271, -0.19807638227939606, -0.15537908673286438, 0.20779593288898468, -0.5924616456031799, -0.7752540111541748, 1.2483747005462646, -0.8843117952346802, -0.48842212557792664, -0.3154503107070923, -0.37138330936431885, -0.09862535446882248, 0.17199116945266724, 0.19968146085739136, 0.537327229976654, -0.1445390284061432, 0.10031507909297943, 1.0588089227676392, 0.02093096263706684, 0.4149363338947296, 0.42111876606941223, -0.2646832764148712, -0.10651996731758118, 0.8783949613571167, 0.28994905948638916, 0.5494383573532104, 0.37829941511154175, 0.10304904729127884, 0.20257550477981567, -0.404334157705307, -0.47302132844924927, 0.2682034373283386, -0.7783164381980896, -0.38397660851478577, -0.40540677309036255, 0.08864861726760864, -0.3939782381057739, -0.21723848581314087, -0.7093728184700012, -0.5438995957374573, -0.18336080014705658, 0.6130497455596924, 0.4697023034095764, 0.9574713110923767, 0.0927710235118866, 0.6089644432067871, -0.688471794128418, 0.7015904784202576, 0.30261141061782837, 0.4885927736759186, -0.16839641332626343, -0.45148468017578125, -0.24865871667861938, -0.16184750199317932, 0.15087279677391052, -0.3297942280769348, 0.3512011170387268, 0.1955387443304062, 0.37165242433547974, 0.5398144721984863, 0.1983949989080429, 0.9125309586524963, -0.6462046504020691, 0.7429180145263672, -0.13051837682724, -0.4592876732349396, 0.5006783604621887, -0.07090462744235992, 0.44159048795700073, 0.7877882122993469, 0.2216109335422516, -0.4905630946159363, 0.24350251257419586, -0.3301018178462982, -0.7258313298225403, 0.5125166773796082, -0.362820029258728, 0.14858558773994446, 0.19679546356201172, 0.5532922744750977, 0.2536255419254303, -0.05388624966144562, -0.416705846786499, -0.44516390562057495, 0.26429152488708496, 0.08896379917860031, 0.01568267121911049, -0.24600642919540405, -0.41439783573150635, -0.03708837181329727, 0.4438876211643219, -0.3546551465988159, 0.5491039752960205, -0.1483306586742401, -0.05141304060816765, -0.07608145475387573, 0.40629133582115173, 0.5364154577255249, 0.25815293192863464, -0.30139151215553284, 0.3366886079311371, 0.04630323126912117, -0.33219006657600403, 0.15122847259044647, -0.031004661694169044, -0.025479499250650406, -0.09684263169765472, -0.1594988852739334, 0.865536630153656, 0.27417394518852234, -0.7010964155197144, 0.22852443158626556, -0.6959101557731628, 0.32220184803009033, -0.09698542952537537, 0.2435130774974823, 0.0976829081773758, 0.1353561282157898, 0.02549578808248043, 0.36495158076286316, -0.33032554388046265, -0.475002259016037, -0.3759695887565613, 0.4316132962703705, -0.15850047767162323, -0.07402448356151581, 0.3514673113822937, 0.18344832956790924, -0.4043116569519043, 0.3953905403614044, 0.13900478184223175, -0.27783554792404175, 0.0843096449971199, 0.5801777839660645, 0.3520471155643463, 0.04665827006101608, -0.3811119496822357, 0.028057973831892014, 0.1540539562702179, -0.44295594096183777, 0.28023040294647217, -0.08984357863664627, -0.6211652755737305, -0.4067099094390869, -0.7088351249694824, -0.46698975563049316, -0.053750179708004, -0.820661723613739, 0.5221302509307861, -0.37980613112449646, -0.11979237198829651, -0.09970176219940186, -0.027424413710832596, -0.6057013869285583, -0.28189924359321594, 0.009354068897664547, 1.160632848739624, -0.8131455183029175, 1.0842119455337524, 0.44831234216690063, -0.33042454719543457, -0.5064566135406494, -0.306485116481781, -0.2584986686706543, -0.7320896983146667, 0.5632144212722778, -0.3905957341194153, -0.44082048535346985, 0.1039237231016159, -0.2068306803703308, -0.9985821843147278, 0.99382483959198, 0.615097165107727, -0.7267597317695618, -0.1889399290084839, 0.23424392938613892, 0.31717073917388916, -0.23635892570018768, 0.009393795393407345, 0.4712466895580292, 0.33209535479545593, 0.10949327051639557, -0.8435424566268921, 0.060063038021326065, -0.03084760159254074, -0.217501699924469, 0.23660656809806824, -0.7141543030738831, 0.7201757431030273, -0.10677266120910645, -0.007814344018697739, 0.18246866762638092, 0.5855066776275635, 0.1858307123184204, -0.4809059798717499, 0.7611250281333923, 0.9183487892150879, 0.8578565716743469, 0.026339780539274216, 1.2535027265548706, -0.04837485030293465, 0.09498316794633865, 1.1473075151443481, -0.2813045382499695, 1.248654842376709, 0.9381399154663086, -0.035636160522699356, 0.3408089578151703, 0.3521956503391266, 0.19590073823928833, 0.5939109325408936, 0.26461461186408997, -0.3460831344127655, -0.2375195324420929, -0.46934157609939575, -0.4437112808227539, 0.16312368214130402, 0.18484388291835785, 0.045530762523412704, -0.22722584009170532, 0.015126287005841732, 0.059625670313835144, -0.012668072246015072, -0.21105659008026123, 0.6200700402259827, -0.0037356577813625336, -0.876825749874115, 0.9632381200790405, -0.316184937953949, 0.8922138214111328, -0.4733675420284271, 0.06447724252939224, -0.3814285695552826, 0.24017934501171112, -0.16828222572803497, -0.49943941831588745, 0.2016981542110443, -0.054516009986400604, -0.6436487436294556, -0.28030773997306824, 0.5380273461341858, -0.12196564674377441, -0.22013725340366364, 0.2344370037317276, 0.3641119599342346, 0.15516629815101624, 0.0719628557562828, -0.02590620331466198, 0.8372954726219177, -0.2661830484867096, -0.0761273130774498, 0.8861955404281616, 0.04921600967645645, 0.13846564292907715, 0.9041882753372192, 0.5876895785331726, 0.5621232390403748, 0.16806542873382568, 0.20801500976085663, 1.4397798776626587, -0.27488356828689575, -0.4798792898654938, -0.573843777179718, -0.021509135141968727, -0.04379255697131157, 0.08365080505609512, 0.2692428231239319, 0.46693676710128784, 0.33980122208595276, -0.017959296703338623, 0.7029430270195007, -0.2584457993507385, 0.3143766224384308, -0.6196863055229187, 0.782135546207428, -0.5570642352104187, 0.4705612361431122, 0.21487891674041748, -0.8796277642250061, -0.1958320587873459, 0.4064394533634186, 0.061813727021217346, -0.6083534955978394, 0.4252322316169739, 0.6152008175849915, -0.3554241359233856, -0.3551281690597534, 0.419143408536911, 0.2834000885486603, 0.5749616622924805, 0.5527977347373962, 0.39148056507110596, -0.7416727542877197, 0.628973126411438, -0.0024576608557254076, -0.0019463516073301435, -0.47035977244377136, -0.8652910590171814, -0.550847053527832, -0.3444291055202484, -0.16608309745788574, -0.5291191339492798, 0.016071826219558716, 0.9137277603149414, 0.8787610530853271, -0.44731006026268005, -0.19749370217323303, 0.30895546078681946, 0.06294384598731995, -0.35538727045059204, -0.10930965095758438, 0.2432629019021988, -0.2332640141248703, -0.707403302192688, 0.7424569725990295, 0.16624262928962708, -0.25663748383522034, -0.3504863381385803, 0.007123313844203949, -0.05048070102930069, 0.199090376496315, 0.5701009631156921, 0.46304717659950256, -0.5209586024284363, -0.41389167308807373, -0.1836462914943695, -0.1809299737215042, 0.21318741142749786, 0.7819912433624268, -1.3731211423873901, 0.15537390112876892, 0.6661214828491211, 0.7900992035865784, 0.49945610761642456, -0.08599712699651718, 0.3785160779953003, -0.7573920488357544, 0.22572335600852966, -0.1323813945055008, 0.5546810626983643, 0.07470327615737915, -0.3700646758079529, 0.5337545275688171, -0.10683271288871765, -0.8201681971549988, -0.9618565440177917, 0.33862024545669556, -1.4988733530044556, -0.07202062010765076, 0.9281019568443298, -0.28561192750930786, -0.23511523008346558, 0.034508801996707916, -0.1048489660024643, -0.013574863784015179, -0.4467339515686035, 0.6433053016662598, 0.2889355421066284, -0.3223748803138733, -0.057815421372652054, -0.5213003158569336, 0.41569095849990845, 0.2754440903663635, -0.9940500259399414, 0.31448763608932495, 0.16009481251239777, 0.179384246468544, 0.13274995982646942, 0.516786515712738, 0.22054104506969452, -0.15342570841312408, -0.2502065896987915, -0.1430654227733612, 0.0882151871919632, -0.07513277232646942, -0.4886334240436554, 0.4185792803764343, 0.47998693585395813, -0.15881851315498352 ]
http://arxiv.org/abs/2406.11634v1
http://arxiv.org/pdf/2406.11634v1
The Base-Rate Effect on LLM Benchmark Performance: Disambiguating Test-Taking Strategies from Benchmark Performance
2024-06-17T15:14:10
2024-06-17T15:14:10
Kyle Moore, Jesse Roberts, Thao Pham, Oseremhen Ewaleifoh, Doug Fisher
cs.CL
cs.CL, cs.AI
Cloze testing is a common method for measuring the behavior of large language models on a number of benchmark tasks. Using the MMLU dataset, we show that the base-rate probability (BRP) differences across answer tokens are significant and affect task performance ie. guess A if uncertain. We find that counterfactual prompting does sufficiently mitigate the BRP effect. The BRP effect is found to have a similar effect to test taking strategies employed by humans leading to the conflation of task performance and test-taking ability. We propose the Nvr-X-MMLU task, a variation of MMLU, which helps to disambiguate test-taking ability from task performance and reports the latter.
[ -0.619622528553009, -0.9650719165802002, 0.08027057349681854, 0.05521288141608238, -0.13455189764499664, -0.1853722780942917, -0.12758027017116547, -0.5165287852287292, -0.011937404982745647, 0.04714665561914444, -0.5957126617431641, -0.04849405214190483, -0.5942301750183105, 0.12784506380558014, -0.1255628913640976, 0.6052126884460449, 0.006450321059674025, 0.08454590290784836, -0.28453853726387024, -0.15343591570854187, -0.8717771172523499, -0.5792222023010254, -0.5501925945281982, -0.5833999514579773, 0.6395732164382935, 0.5122590065002441, 0.5320161581039429, 0.35200780630111694, 0.37160444259643555, 0.12931634485721588, -0.07197588682174683, -0.25362834334373474, -0.5873591899871826, 0.19833263754844666, -0.21331840753555298, -1.2981629371643066, -0.39290544390678406, 0.26722294092178345, 0.60488361120224, 0.6294910311698914, -0.23101267218589783, 0.4228174686431885, 0.1642410010099411, 0.7044689655303955, -0.7012394070625305, -0.03898071497678757, -0.7042165398597717, -0.15069782733917236, -0.21555806696414948, -0.41680213809013367, -0.599097490310669, -0.10165008902549744, -0.0009712135652080178, -0.19541096687316895, 0.5716858506202698, 0.19873857498168945, 0.5164183974266052, 0.22051462531089783, -0.13089676201343536, -0.2622423470020294, -0.2678717076778412, 0.8321212530136108, -0.6430761218070984, 0.6057990193367004, 0.2843814194202423, 0.0031698502134531736, -0.23011454939842224, -0.2309153527021408, -0.6105347275733948, -0.5400934219360352, -0.09917949885129929, -0.0017941095866262913, -0.2039051651954651, -0.10483852028846741, 0.938305675983429, 0.4619898498058319, -0.837520956993103, 0.11316215246915817, -0.42488834261894226, -0.06298030912876129, 0.4817095100879669, 0.23185503482818604, 0.1737583875656128, 0.13977783918380737, -0.28012216091156006, -0.16984261572360992, -1.0739513635635376, 0.5685332417488098, 0.2706017792224884, 0.20835508406162262, 0.26275476813316345, 0.6581913828849792, -0.5546013116836548, 0.7512335777282715, 0.1274360865354538, -0.14888450503349304, 0.4696158766746521, -0.3546586036682129, -0.5202000737190247, 0.12137803435325623, 0.1698695868253708, 0.4651404917240143, 0.31206533312797546, -0.039082061499357224, 0.014793175272643566, 0.45209038257598877, -0.019849546253681183, -0.8986611366271973, 0.08482249081134796, 0.18813957273960114, -0.24613803625106812, -0.06485812366008759, -0.260537713766098, -0.8394684195518494, -0.2363481968641281, -0.2059379369020462, 0.4609230160713196, -0.33914995193481445, -0.0394393727183342, 0.11880790442228317, -0.43526700139045715, 0.3253559172153473, -0.10762477666139603, -0.7901240587234497, 0.5345219969749451, 0.42331334948539734, 0.7595986127853394, -0.3430453836917877, -0.4074482321739197, -0.9765912294387817, -0.22874309122562408, -0.16066595911979675, 0.5867334008216858, -0.36884018778800964, -0.8666958808898926, -0.25134116411209106, -0.08391225337982178, -0.3631645739078522, -0.9506092071533203, 0.34447529911994934, -0.48742374777793884, -0.007716500665992498, -0.6982724070549011, -0.6601437926292419, -0.19621403515338898, 0.3047693073749542, -0.6503577828407288, 1.1256310939788818, 0.04216300696134567, -0.5864608883857727, 0.7420417070388794, -0.6090885996818542, -0.5998281240463257, -0.03420272469520569, -0.137262225151062, -0.14750982820987701, 0.08423685282468796, 0.033981721848249435, 0.3134412467479706, -0.07607832551002502, -0.34182223677635193, -0.21733836829662323, -0.656895101070404, 0.3626047670841217, -0.36600014567375183, 0.7241012454032898, -0.06900523602962494, -0.812487781047821, -0.3060735762119293, -0.680933952331543, 0.2265140563249588, 0.15082770586013794, -0.406515896320343, -0.4707036316394806, -0.06289353221654892, -0.3651655912399292, 0.24670207500457764, 0.08932992815971375, -0.6027013659477234, 0.28158748149871826, -0.3143649697303772, -0.0269983671605587, 0.541221559047699, 0.06768517196178436, 0.18579313158988953, -0.7003657221794128, 0.4807957410812378, -0.0749412253499031, 0.14578676223754883, 0.04912300035357475, -0.765465259552002, -0.5714913010597229, -0.07097741216421127, 0.13107550144195557, 0.7678177952766418, -0.20825450122356415, -0.16022656857967377, 0.11136388778686523, -0.47596633434295654, -0.4872143268585205, 0.5232512354850769, 0.5763241648674011, 0.6444463729858398, 0.36350440979003906, -0.595272421836853, -0.36236536502838135, -0.8189882040023804, -0.28931719064712524, -0.20243389904499054, 0.003229934023693204, 0.2546757757663727, 0.45577460527420044, 0.07125566899776459, 0.8592631816864014, -0.7001379132270813, -0.05241386964917183, -0.2938685119152069, 0.44159096479415894, 0.2571268379688263, 0.3815542161464691, 0.5450882911682129, -0.7893004417419434, -0.4479081630706787, -0.3833836317062378, -0.23536325991153717, -0.6386348605155945, 0.13558833301067352, 0.06215311586856842, 0.424998015165329, 0.43925705552101135, -0.7482713460922241, 0.6288796067237854, 0.3132368326187134, -0.09585904330015182, 0.992563784122467, -0.12655571103096008, 0.3812335729598999, -0.49385595321655273, 0.18067404627799988, -0.014377227984368801, -0.007703032344579697, -0.6305835843086243, 0.2505653202533722, 0.22291995584964752, 0.36250239610671997, -0.6704206466674805, 0.4808809161186218, -0.30220454931259155, -0.19347788393497467, -0.28169500827789307, 0.12720072269439697, -0.016844891011714935, 0.3625863790512085, -0.13008368015289307, 1.2086037397384644, 0.337213933467865, -0.8606569170951843, -0.03269220143556595, 0.149775430560112, -0.22724761068820953, 0.6402603387832642, -0.5771905183792114, 0.08161856979131699, 0.011200825683772564, 0.006449032109230757, -1.1789637804031372, 0.3167218565940857, -0.027635984122753143, -0.4471791088581085, 0.21393893659114838, -0.009918203577399254, -0.6198080778121948, -0.3539341390132904, -0.30021750926971436, 0.34199532866477966, 0.7536382079124451, -0.2910142242908478, 0.13924583792686462, -0.24784362316131592, -0.1551445871591568, -1.0159456729888916, -0.7452203035354614, -0.33795157074928284, -0.33190494775772095, -0.399703711271286, 0.27853405475616455, -0.44011855125427246, -0.48689889907836914, -0.48874324560165405, -0.22393128275871277, -0.1103222593665123, 0.376804381608963, 0.6331878304481506, 0.27476122975349426, -0.1772674173116684, -0.02377159520983696, -0.32221290469169617, -0.0016680684639140964, 0.2828923463821411, 0.3434816300868988, 0.7274965047836304, -0.02461489662528038, -0.3259703516960144, -0.25728216767311096, 0.20688538253307343, 0.47460997104644775, -0.27252069115638733, 0.555536687374115, 0.408038467168808, -0.04328342527151108, -0.32136815786361694, -0.5970174670219421, -0.35382676124572754, -0.4487898647785187, 0.13932287693023682, -0.4857765734195709, -0.71416836977005, 0.5277034044265747, 0.05177568271756172, 0.16106662154197693, 0.10821687430143356, 0.9089649319648743, -0.1865573674440384, 0.7422638535499573, 0.2922248840332031, -0.12727127969264984, 0.47517529129981995, -0.25962120294570923, 0.022527001798152924, -0.8666760325431824, 0.28161725401878357, -0.40897637605667114, -0.38324013352394104, -0.3075028359889984, -0.381001740694046, 0.06251855194568634, 0.08838887512683868, 0.059744421392679214, 0.3023872375488281, -0.07936812937259674, 0.4069226384162903, 0.6806173920631409, 0.18422621488571167, 0.41102486848831177, -0.4012404978275299, -0.27609649300575256, -0.019011201336979866, -0.45439666509628296, -0.07875771820545197, 1.3345892429351807, -0.07463575899600983, 0.5101768970489502, 0.05453347787261009, 0.508585512638092, 0.5848096013069153, 0.5642569065093994, -0.5290274620056152, 0.6513416767120361, 0.24463963508605957, -0.9873690009117126, -0.2648093104362488, -0.2841903567314148, -1.02191960811615, 0.4324214458465576, -0.08277277648448944, -0.8867501020431519, 0.022381644695997238, 0.26614153385162354, -0.3559437096118927, 0.08078552782535553, -0.7714853882789612, 0.6462644934654236, -0.14941467344760895, -0.42380768060684204, -0.4090352952480316, -0.38318926095962524, 0.3931126892566681, 0.026043875142931938, 0.06679853051900864, -0.32402458786964417, 0.20894402265548706, 0.45454320311546326, 0.12486711889505386, 0.8812041282653809, -0.4697374701499939, 0.33699244260787964, 0.30595606565475464, 0.4130665957927704, 0.5139289498329163, -0.14098630845546722, -0.10503968596458435, -0.06480878591537476, -0.023864801973104477, -0.5296393632888794, -0.5348933935165405, 0.5330448746681213, -0.34236031770706177, -0.7943559288978577, -0.17071957886219025, -0.8730983138084412, -0.2924703061580658, 0.0860690027475357, 0.36318668723106384, 0.5128825306892395, -0.2948289215564728, 0.08158235251903534, 0.6580166220664978, 0.13576334714889526, 0.3438878357410431, 0.7504273056983948, -0.11289702355861664, 0.1580444574356079, 0.42253586649894714, 0.39796292781829834, 0.7279475331306458, 0.3357369601726532, 0.32009053230285645, -0.4365624785423279, -0.6577115058898926, -0.20717601478099823, 0.11679146438837051, -0.7673652172088623, 0.2053905427455902, -0.319021612405777, 0.29207924008369446, -0.20698697865009308, -0.27370744943618774, 0.02784827910363674, -0.2844582796096802, 0.016387026757001877, -0.2794519066810608, 0.12317898869514465, 0.4191012978553772, -0.11297834664583206, 0.4508008658885956, -0.2663247287273407, 0.18808823823928833, 0.33685117959976196, -0.017603658139705658, 0.10121164470911026, -0.3535446524620056, 0.025048408657312393, 0.015918901190161705, -0.29133665561676025, -0.7088289260864258, 0.04681690037250519, -0.026938840746879578, 1.0054376125335693, 0.1629936546087265, 0.08085578680038452, 0.7183488607406616, -0.3749230206012726, 0.8624820113182068, 0.2308007776737213, -0.8545240163803101, 0.3501283526420593, -0.0676972046494484, 0.19427354633808136, 0.6961043477058411, 0.3160601556301117, -0.5249186158180237, -0.29076310992240906, -0.4301212430000305, -0.5018686056137085, 0.14526724815368652, 0.300331711769104, -0.18244192004203796, -0.08561650663614273, 0.2470831573009491, 0.25995826721191406, 0.4125787317752838, -0.6581542491912842, -0.5275604724884033, 0.29281532764434814, 0.21112602949142456, -0.19202332198619843, -0.22798804938793182, -0.15872742235660553, -0.22422820329666138, 0.5094007253646851, 0.03833805024623871, 0.06805668026208878, 0.6225640773773193, -0.523036539554596, -0.08050833642482758, 0.5032995343208313, 0.8743282556533813, 0.7969368100166321, -0.6681448817253113, -0.07994963228702545, 0.5343857407569885, -0.5341804623603821, 0.2822822332382202, -0.08710341900587082, -0.1392747461795807, 0.021813951432704926, 0.2340223640203476, 0.36658400297164917, 0.20967651903629303, -0.8126091361045837, 0.4003307819366455, 0.11969255656003952, -0.425461083650589, 0.014296941459178925, 0.5851699113845825, -0.02747238613665104, 0.0061252303421497345, 0.46805140376091003, -0.14601001143455505, 0.2383352518081665, -0.6216979622840881, 0.7187594175338745, 0.3758643567562103, -0.36582499742507935, -0.13380375504493713, 0.7447932362556458, 0.013207481242716312, -0.49633538722991943, 0.39109668135643005, -0.2550726532936096, -0.4583227336406708, 0.839030921459198, 0.6490272283554077, 0.3205563426017761, -0.4111007750034332, 0.06952564418315887, 0.23310630023479462, 0.3154078722000122, 0.129780575633049, 0.4776657521724701, -0.017238331958651543, -0.606821596622467, -0.6125357151031494, -0.10078763961791992, -0.5234262347221375, 0.21318116784095764, -0.7596995234489441, -0.08799371123313904, -0.2203361988067627, -0.3686986267566681, 0.09792156517505646, 0.145218625664711, -1.0369154214859009, 0.3771994709968567, 0.3864952027797699, 1.1777364015579224, -0.7893874049186707, 0.7123453617095947, 0.39845362305641174, -0.29032576084136963, -0.5340036153793335, -0.14869634807109833, -0.027267824858427048, -0.9758206605911255, 0.9258214831352234, 0.4328538179397583, 0.06713087856769562, -0.19622044265270233, -0.2566346526145935, -0.7129920125007629, 1.0888516902923584, 0.14329206943511963, -0.49459731578826904, 0.22500662505626678, 0.5513697266578674, 0.4096127152442932, -0.3539773225784302, 0.3722113370895386, 0.8910472393035889, 0.4481579065322876, -0.3360550105571747, -1.1254254579544067, 0.18524308502674103, -0.11447064578533173, -0.337758868932724, 0.22292625904083252, -0.593031644821167, 0.8748947978019714, -0.2764694392681122, -0.16074778139591217, -0.11112464219331741, 0.08913367986679077, 0.6327411532402039, 0.828301191329956, 0.7183358669281006, 0.6375490427017212, 0.7490267753601074, 0.10376981645822525, 1.05653715133667, -0.1877088099718094, 0.290899395942688, 1.10427987575531, -0.6755170822143555, 1.1158726215362549, 0.8746984601020813, -0.3561426103115082, 0.5348978638648987, 0.3758932948112488, 0.1021464392542839, 0.4510212242603302, 0.5657636523246765, -0.13544493913650513, 0.04789626598358154, 0.00039130018558353186, -0.25540632009506226, 0.2857000529766083, 0.2467881143093109, -0.27222228050231934, -0.3582766354084015, -0.08270677179098129, 0.0544295608997345, -0.13774119317531586, -0.3902134895324707, 0.15256653726100922, 0.02438722550868988, -0.7952814698219299, 0.7080633044242859, -0.42442333698272705, 0.5943193435668945, -0.5152477025985718, -0.043062712997198105, -0.19265036284923553, 0.1363203525543213, -0.06763240694999695, -0.813185453414917, 0.1666109263896942, -0.3005813658237457, -0.38539808988571167, 0.1021089255809784, 0.5833263993263245, -0.20827482640743256, -0.1000894233584404, 0.601281464099884, 0.8344149589538574, 0.06196549907326698, -0.24367807805538177, -0.7451842427253723, -0.2527580261230469, 0.025796467438340187, -0.4206603169441223, 0.5097454190254211, -0.20732763409614563, -0.07635053247213364, 0.782036542892456, 1.019256591796875, -0.0931786373257637, 0.4822530448436737, -0.051157962530851364, 0.46188846230506897, -0.5293614268302917, -0.5225924849510193, -1.0379412174224854, 0.36310702562332153, -0.05397024005651474, -0.38161584734916687, 0.7201739549636841, 0.7514362931251526, 0.889875590801239, -0.09194577485322952, 0.8069279789924622, -0.16503027081489563, 0.530327558517456, -0.3639150857925415, 0.3208885192871094, -0.49948474764823914, -0.051692333072423935, 0.07998223602771759, -0.6736632585525513, 0.14023125171661377, 0.08385954797267914, -0.39618372917175293, -0.41744646430015564, 0.9474390149116516, 0.9213998317718506, 0.07498611509799957, -0.10244299471378326, 0.5617932081222534, 0.07842765748500824, 0.25338342785835266, 0.7809311151504517, 0.6460150480270386, -0.3195193111896515, 0.4262740910053253, -0.3859761953353882, -0.12173083424568176, -0.3976905643939972, -0.7308316230773926, -1.0308748483657837, -0.4383206069469452, -0.2630811333656311, -0.2988013029098511, 0.0471179336309433, 0.6549180746078491, 0.46899229288101196, -0.6726102828979492, -0.3539871573448181, 0.027543220669031143, 0.019144415855407715, -0.7480360865592957, -0.2559393644332886, 0.13682110607624054, -0.258576899766922, -0.5121428966522217, 0.43698644638061523, -0.06952735036611557, 0.007660178933292627, -0.08769306540489197, 0.01961754821240902, -0.15888506174087524, 0.2486630231142044, 0.4660128951072693, 0.3233232796192169, -0.6761987805366516, -0.24376598000526428, 0.22002385556697845, -0.09722238779067993, 0.4770122766494751, 0.8325594663619995, -0.7911137342453003, 0.406290203332901, 0.5408785939216614, 0.45917630195617676, 0.43757620453834534, 0.1467837691307068, 0.5855585336685181, -0.6486302018165588, 0.17465327680110931, -0.18596044182777405, 0.6289728879928589, 0.033496491611003876, -0.5959455966949463, 0.6412510275840759, 0.48073792457580566, -0.5448168516159058, -0.9132636189460754, 0.29627346992492676, -1.0202572345733643, -0.1963270753622055, 1.3130699396133423, -0.11967366933822632, -0.34068745374679565, -0.1969088315963745, -0.2769209146499634, 0.1036243736743927, -0.426187664270401, 0.7074208855628967, 1.063274621963501, -0.3564687967300415, -0.14044728875160217, -1.14083993434906, 0.3167431354522705, 0.6880683898925781, -0.49577632546424866, 0.08216150104999542, 0.22728870809078217, 0.642528235912323, 0.231179878115654, 0.6342325210571289, 0.2736525535583496, 0.6298390030860901, 0.1300259530544281, 0.18640822172164917, -0.1629173755645752, 0.16988898813724518, -0.10908954590559006, 0.23188699781894684, 0.05755233392119408, -0.3554552495479584 ]
http://arxiv.org/abs/2406.11632v1
http://arxiv.org/pdf/2406.11632v1
Unveiling the Power of Source: Source-based Minimum Bayes Risk Decoding for Neural Machine Translation
2024-06-17T15:13:52
2024-06-17T15:13:52
Boxuan Lyu, Hidetaka Kamigaito, Kotaro Funakoshi, Manabu Okumura
cs.CL
cs.CL, cs.AI
Maximum a posteriori decoding, a commonly used method for neural machine translation (NMT), aims to maximize the estimated posterior probability. However, high estimated probability does not always lead to high translation quality. Minimum Bayes Risk (MBR) decoding offers an alternative by seeking hypotheses with the highest expected utility. In this work, we show that Quality Estimation (QE) reranking, which uses a QE model as a reranker, can be viewed as a variant of MBR. Inspired by this, we propose source-based MBR (sMBR) decoding, a novel approach that utilizes synthetic sources generated by backward translation as ``support hypotheses'' and a reference-free quality estimation metric as the utility function, marking the first work to solely use sources in MBR decoding. Experiments show that sMBR significantly outperforms QE reranking and is competitive with standard MBR decoding. Furthermore, sMBR calls the utility function fewer times compared to MBR. Our findings suggest that sMBR is a promising approach for high-quality NMT decoding.
[ 0.04756565019488335, -0.12117275595664978, 0.5434347987174988, 0.14909183979034424, -0.5427629351615906, 0.15366289019584656, 0.08813679963350296, 0.08556518703699112, 0.11578702181577682, 0.576033353805542, -0.48427799344062805, -0.42503413558006287, -0.8890365362167358, 0.0527513325214386, -0.22402672469615936, 0.9594021439552307, 0.22989852726459503, 0.2994706630706787, 0.01384682022035122, 0.04488791525363922, -0.46242767572402954, -0.656199038028717, -0.7158787250518799, -0.05879586189985275, 0.7989003658294678, 0.245626300573349, 0.930287778377533, 0.7919701933860779, 0.8047161102294922, 0.24088510870933533, -0.06438330560922623, 0.0232686884701252, -0.428223192691803, 0.06941688805818558, -0.3000285029411316, -0.5747154355049133, -0.23236986994743347, 0.10170333087444305, 0.8065766096115112, 0.5373126864433289, -0.2720036506652832, 0.3165639340877533, -0.006611005403101444, 0.8661528825759888, -0.8269822001457214, 0.1948424130678177, -0.7900382876396179, 0.014370148070156574, 0.039492323994636536, -0.5085427761077881, -0.8993241786956787, -0.48382923007011414, -0.20673926174640656, -0.06900312006473541, 0.2221614420413971, 0.01628873124718666, 0.7209733724594116, 0.4151589572429657, -0.6843034625053406, 0.2592378556728363, -0.4586203098297119, 0.7794135808944702, -0.642426609992981, 0.5676429867744446, 0.25091564655303955, 0.6674530506134033, -0.25292545557022095, -0.5010094046592712, -0.38581904768943787, -0.051979899406433105, -0.07649719715118408, -0.04729088023304939, -0.6125802397727966, -0.05375275760889053, 0.10256565362215042, 0.2599904537200928, -0.3139018714427948, -0.2569133937358856, -0.4587979018688202, -0.360109806060791, 0.6928370594978333, -0.1435534507036209, 0.13204802572727203, -0.5306134819984436, -0.07417751103639603, -0.36744755506515503, -0.8821859359741211, 0.04352008178830147, 0.1983269602060318, 0.1810455322265625, 0.4311354458332062, 0.7090039253234863, 0.039787374436855316, 0.5945407152175903, -0.07801415771245956, -0.09990282356739044, 0.17634107172489166, -0.2609081566333771, -0.31815212965011597, 0.11521553248167038, 0.8873823881149292, 0.47203028202056885, -0.14276748895645142, -0.46160757541656494, -0.138096421957016, -0.45729491114616394, 0.47716522216796875, -0.7107783555984497, -0.1976211667060852, -0.13440124690532684, -0.7558859586715698, -0.37391260266304016, -0.04436112940311432, -0.6539402604103088, -0.15529529750347137, -0.07219664007425308, 0.8316938281059265, -0.5250256657600403, -0.19960243999958038, -0.11737232655286789, -0.36141887307167053, 0.3249661326408386, -0.21114403009414673, -0.6922912001609802, 0.00021515117259696126, 0.3581061065196991, 1.1242436170578003, 0.043978288769721985, -0.018290262669324875, -0.6991714239120483, 0.16021156311035156, -0.4574018716812134, 0.6645912528038025, 0.0638238787651062, -0.501990556716919, -0.23559455573558807, 0.053236301988363266, 0.09518740326166153, -0.3483792543411255, 0.7073901891708374, -0.6507355570793152, -0.2122468799352646, -0.46036526560783386, -0.275147408246994, -0.19755800068378448, -0.3075571060180664, -0.6946109533309937, 0.3779236376285553, 0.3518598973751068, -0.6873752474784851, 0.33920687437057495, -0.3792235553264618, -0.5604473948478699, -0.2403765469789505, 0.026534471660852432, -0.3586295247077942, 0.5927846431732178, 0.3982057571411133, 0.4830845296382904, -0.10579860955476761, 0.42153292894363403, -0.10543479025363922, -0.18127761781215668, 0.4764302670955658, -0.916049599647522, 0.7682397365570068, 0.4694463610649109, -0.1588997095823288, 0.0031994441524147987, -0.8294535875320435, 0.06705344468355179, 0.27770528197288513, -0.23225031793117523, -0.36641260981559753, 0.354404091835022, -0.24583908915519714, 0.25815632939338684, -0.030767537653446198, -0.7336441278457642, -0.03274722024798393, -0.4567906856536865, 0.7340390682220459, 0.8741478323936462, 0.19890452921390533, 0.48328956961631775, -0.31485438346862793, 0.2846730947494507, 0.03583525866270065, 0.07412309944629669, 0.01635405421257019, -0.5511398911476135, -0.36853867769241333, -0.22408831119537354, 0.5090318918228149, 0.5053564310073853, -0.982373833656311, 0.3075591027736664, -0.5626729130744934, -0.5122737884521484, -1.1056933403015137, -0.10876316577196121, 0.4432576298713684, 0.5026403665542603, 0.5397327542304993, -0.026356225833296776, -0.4102582633495331, -1.211754560470581, -0.4913696050643921, -0.08672090619802475, -0.17510728538036346, -0.09914384037256241, -0.07272364944219589, -0.026731764897704124, 0.8802242875099182, -0.4677315354347229, -0.08988621085882187, -0.4066224694252014, -0.008906745351850986, 0.6003193855285645, 0.7647837996482849, 0.2953139543533325, -0.6996912360191345, -0.33830952644348145, -0.2784336507320404, -0.4847295880317688, -0.010556742548942566, -0.25579822063446045, -0.6441947817802429, 0.16427411139011383, 0.4131876826286316, -0.3865371346473694, 0.21350929141044617, 0.8968835473060608, -0.14351786673069, 0.19484230875968933, -0.29069703817367554, 0.23814627528190613, -1.3115174770355225, 0.19479213654994965, -0.05813508480787277, -0.1249169409275055, -0.4542040228843689, 0.27481555938720703, 0.2767845392227173, -0.17275162041187286, -0.37738505005836487, 0.08308950811624527, -0.4728996753692627, 0.024790698662400246, -0.4397387206554413, -0.2931494414806366, -0.016010576859116554, 0.2514563798904419, 0.08558713644742966, 0.8587695956230164, 0.12316499650478363, -0.4227800667285919, -0.0424068383872509, 0.20680221915245056, -0.28227606415748596, 0.2905639410018921, -0.70235276222229, 0.08794189989566803, -0.2230038344860077, -0.0036710998974740505, -0.9040855169296265, 0.16635702550411224, 0.22083859145641327, -0.7212843894958496, 0.5491414666175842, -0.48409292101860046, -0.49792274832725525, -0.18638187646865845, -0.08388988673686981, 0.28000637888908386, 0.7694151401519775, -0.6702146530151367, 0.4346812963485718, 0.4254671037197113, -0.2718052566051483, -0.7270539402961731, -1.0412517786026, 0.2384994924068451, 0.23562708497047424, -0.66062992811203, 0.44779616594314575, -0.13033846020698547, 0.22893039882183075, 0.12458038330078125, -0.5238140821456909, -0.29812487959861755, -0.11939715594053268, 0.2903425395488739, 0.30061203241348267, -0.374962717294693, -0.24631524085998535, 0.6831487417221069, -0.496058851480484, 0.2510327398777008, -0.45505374670028687, 0.02271968126296997, 0.17597846686840057, -0.33070752024650574, -0.1749839186668396, 0.594909131526947, 0.455515593290329, -0.13436472415924072, 1.0340116024017334, 0.516725480556488, -0.26880785822868347, 0.012651056051254272, -0.5580040812492371, -0.12742096185684204, -0.537082314491272, 0.1515985131263733, -0.4940348267555237, -0.7771256566047668, 0.16912753880023956, 0.1520010083913803, -0.11799323558807373, 0.5589516758918762, 0.2691735327243805, -0.15434357523918152, 1.3361808061599731, 0.7220499515533447, -0.18934805691242218, 0.39950031042099, -0.32972174882888794, 0.39112943410873413, -0.7457392811775208, -0.38220569491386414, -0.42763715982437134, -0.42134541273117065, -0.8361198902130127, -0.3904441297054291, 0.5342913269996643, 0.06922464817762375, -0.0727061778306961, 0.5916714072227478, -0.6014581918716431, 0.6741710305213928, 1.0755977630615234, 0.39956608414649963, 0.4176965355873108, 0.27379947900772095, -0.15377627313137054, -0.2407158464193344, -0.9862287044525146, -0.2704264521598816, 1.2111661434173584, 0.36815428733825684, 0.49131760001182556, 0.34239625930786133, 0.7991781234741211, 0.1414966583251953, 0.5179727673530579, -0.7959828972816467, 0.4486207067966461, -0.08777584880590439, -0.6920545101165771, -0.22193323075771332, -0.9699982404708862, -0.933674156665802, 0.4899854063987732, -0.1912989467382431, -0.28667375445365906, 0.5447271466255188, 0.12131988257169724, -0.31497472524642944, 0.37277600169181824, -0.4994889795780182, 0.9065212607383728, 0.11646517366170883, -0.1050059050321579, -0.15477126836776733, -0.7208788990974426, 0.48359349370002747, 0.15843062102794647, 0.23370806872844696, 0.15540750324726105, 0.0016623547999188304, 0.5328246355056763, -0.2756471633911133, 0.33766087889671326, -0.17904944717884064, 0.00459651043638587, 0.19741079211235046, 0.4621239900588989, 0.46387240290641785, 0.294822096824646, -0.16338753700256348, 0.459568053483963, 0.23877212405204773, -0.6849460601806641, -0.5462256073951721, 0.5394484400749207, -0.6427009105682373, -0.5577390193939209, -0.6969773769378662, -0.300071120262146, -0.1869770586490631, 0.3660915791988373, 0.6746622920036316, 0.05154512822628021, -0.07149877399206161, 0.43987423181533813, 0.6155396103858948, -0.19867242872714996, 0.3600313067436218, 0.6158734560012817, 0.26282548904418945, -0.8477440476417542, 1.2856206893920898, -0.07344499230384827, 0.2503281235694885, 0.7816154360771179, 0.21679870784282684, -0.3865385949611664, -0.9278165698051453, -0.4379394054412842, 0.2496607005596161, -0.6400914788246155, -0.6165682673454285, -0.5557148456573486, -0.5677290558815002, -0.33130818605422974, -0.207854762673378, -0.5200838446617126, -0.16413958370685577, 0.026330402120947838, -0.27147650718688965, -0.11336428672075272, 0.16020245850086212, -0.5445100665092468, 0.49441006779670715, -1.324165940284729, 0.31739357113838196, 0.14542068541049957, 0.27414971590042114, -0.3798947334289551, -0.5372370481491089, -0.3901787996292114, 0.15617156028747559, -0.3364228308200836, -1.2841802835464478, 0.8926489949226379, -0.09349194169044495, 0.8234092593193054, 0.06677868962287903, 0.05676233023405075, 0.2327929139137268, -0.8827430009841919, 0.5190927386283875, 0.3032073378562927, -0.9875667095184326, 0.5904202461242676, -0.04719626158475876, -0.049665242433547974, 0.6303505301475525, 0.48751315474510193, -0.4953097701072693, -0.19020645320415497, -0.6099124550819397, -0.7277583479881287, 0.44476306438446045, 0.3186182677745819, 0.10823357105255127, -0.20709656178951263, 0.2807367146015167, -0.0064713251776993275, 0.3195420801639557, -0.6384481191635132, -0.11720382422208786, -0.44450870156288147, -0.23164762556552887, -0.5695411562919617, -0.2534030079841614, 0.14672285318374634, -0.19010841846466064, 0.6280099153518677, 0.031460270285606384, 0.5962037444114685, 0.4255826771259308, -0.2901674807071686, -0.339174747467041, 0.35289350152015686, 0.26313352584838867, 0.10328518599271774, -0.6016288995742798, 0.19221745431423187, -0.15432722866535187, -0.35596898198127747, 0.41611942648887634, -0.03599106892943382, -0.40235957503318787, 0.3672660291194916, 0.13480380177497864, 0.5886261463165283, 0.35113006830215454, -0.4612184166908264, 0.6005080938339233, 0.09971250593662262, -0.10245434194803238, 0.12394599616527557, -0.08882726728916168, -0.04325570911169052, 0.25408852100372314, 0.42031770944595337, 0.41895759105682373, 0.39736422896385193, -0.37730634212493896, 0.34825021028518677, 0.31929367780685425, -0.27375560998916626, -0.21198956668376923, 0.5890264511108398, -0.028078366070985794, -0.06396770477294922, 0.6943526864051819, -0.23097649216651917, -0.06667084246873856, 0.3120209872722626, 0.6663400530815125, 0.9026350975036621, -0.3821110427379608, 0.2965681254863739, 0.5371561646461487, 0.787443995475769, -0.11414087563753128, 0.33519765734672546, 0.30559226870536804, -0.4810158908367157, -0.8878294229507446, -0.6171539425849915, -0.3642435371875763, -0.07689876854419708, -0.809487521648407, -0.16005869209766388, -0.35269659757614136, -0.27145737409591675, -0.15111905336380005, -0.3181532323360443, -0.3475213944911957, -0.003192722797393799, -0.18444034457206726, 0.9586705565452576, -0.44715550541877747, 0.9045203924179077, 0.21990329027175903, -0.5489944815635681, -0.6441500186920166, 0.0021243090741336346, -0.037701889872550964, -0.6686311364173889, 0.6825435161590576, -0.22454197704792023, -0.03926977887749672, 0.39749202132225037, -0.49750816822052, -1.22687566280365, 1.2036774158477783, 0.8469932675361633, -0.4118327498435974, -0.14204521477222443, -0.15021681785583496, 0.11983808875083923, -0.08469194918870926, -0.18627946078777313, 0.3459430932998657, 0.2958507835865021, -0.0031982397194951773, -0.4540354907512665, 0.2782110571861267, -0.19423748552799225, 0.31724119186401367, 0.2965329587459564, -0.32132846117019653, 0.5334831476211548, -0.4212368428707123, -0.3943578004837036, -0.09063248336315155, 0.7256911993026733, 0.0642273873090744, 0.3996220827102661, -0.09605124592781067, 0.14415989816188812, 0.23519518971443176, 0.03869754448533058, 1.1955766677856445, -0.21208669245243073, 0.10200440883636475, 0.8850794434547424, 0.4909626245498657, 1.3167272806167603, 0.5646364092826843, -0.20945890247821808, 0.36435067653656006, 0.4772849678993225, 0.0012075145496055484, 1.0124485492706299, 0.3029458522796631, 0.06399492919445038, -0.10424276441335678, 0.23862774670124054, -0.3965332806110382, 0.0978379175066948, 0.135116845369339, -0.7845180630683899, -0.15736642479896545, -0.0879245176911354, -0.2851330041885376, 0.033439651131629944, -0.29181045293807983, 0.651727557182312, 0.34051039814949036, -0.43213826417922974, 0.661943793296814, 0.30122071504592896, 0.5656265616416931, -0.5026335716247559, 0.05872417986392975, -0.2939840257167816, -0.000044131840695627034, 0.08711075782775879, -0.6241799592971802, 0.6420149803161621, -0.2652356028556824, -0.38494229316711426, -0.2536507546901703, 0.5707727074623108, -0.2990185618400574, -0.5569498538970947, -0.006092170253396034, 0.5729132294654846, 0.1319558471441269, -0.6007768511772156, -0.4426208734512329, -0.22980758547782898, -0.1485830843448639, -0.13560092449188232, 0.6244763731956482, 0.41314050555229187, 0.49136844277381897, 0.6583255529403687, 1.0495446920394897, 0.1642436683177948, 0.23241056501865387, -0.3762551248073578, 0.5470420122146606, -0.867199718952179, -0.36197343468666077, -0.9149745106697083, 0.3982730209827423, 0.05405116826295853, 0.027934055775403976, 0.6307427883148193, 0.34743621945381165, 0.7313799262046814, -0.3987436294555664, 0.6755170226097107, 0.33597704768180847, 0.15176010131835938, -0.6653428673744202, 0.9941340684890747, -0.3294402062892914, -0.09177137166261673, -0.11919257044792175, -0.8957335948944092, -0.32741379737854004, 0.7770161628723145, 0.05560321360826492, -0.42794305086135864, 0.8569852113723755, 0.6991339325904846, -0.0568697564303875, -0.12803326547145844, 0.6269881129264832, 0.09998241066932678, 0.19934752583503723, 0.7758803963661194, 0.47139772772789, -0.6300540566444397, 0.809235692024231, -0.31104159355163574, -0.3037959337234497, -0.27766478061676025, -1.070382833480835, -0.5246454477310181, -0.48878103494644165, -0.1480555385351181, -0.6148444414138794, 0.15197071433067322, 0.8724294304847717, 0.6027426719665527, -0.8371036052703857, 0.00010318667045794427, -0.10572463274002075, 0.2579054832458496, -0.655097246170044, -0.12059023976325989, 0.2814086377620697, -0.374277800321579, -0.4403351843357086, 0.7887913584709167, 0.20397931337356567, 0.024309251457452774, 0.03050221875309944, -0.1402270644903183, 0.08027692139148712, 0.24856822192668915, 0.7556852698326111, 0.1277952790260315, -0.4398238956928253, -0.035559654235839844, 0.13121147453784943, -0.25985515117645264, 0.005755117628723383, 0.9141735434532166, -0.4538669288158417, 0.0933442935347557, 0.6760280728340149, 1.0353370904922485, 0.3162335455417633, -0.29848405718803406, 0.7781498432159424, -0.6125150918960571, -0.27853092551231384, 0.2786340117454529, 0.44312524795532227, 0.03362388163805008, -0.4799077808856964, 0.47233691811561584, 0.41470593214035034, -0.5100924372673035, -0.8560300469398499, 0.23050141334533691, -1.1461745500564575, -0.391440749168396, 0.9528983235359192, -0.20228701829910278, -0.3393458127975464, 0.33752474188804626, -0.21678052842617035, 0.46000126004219055, -0.5059276223182678, 0.6415048241615295, 0.5037638545036316, 0.21604400873184204, -0.30717933177948, -0.7275184988975525, 0.3167293965816498, 0.3341958522796631, -0.2634256184101105, -0.14965489506721497, 0.4939986765384674, 0.4180045425891876, 0.17346034944057465, 0.5209792256355286, -0.29739758372306824, 0.23491311073303223, 0.21238185465335846, -0.07824882864952087, -0.4114840030670166, -0.3456510305404663, -0.5167158842086792, 0.40821871161460876, 0.0880526602268219, -0.28894492983818054 ]
http://arxiv.org/abs/2406.11629v3
http://arxiv.org/pdf/2406.11629v3
Can Many-Shot In-Context Learning Help Long-Context LLM Judges? See More, Judge Better!
2024-06-17T15:11:58
2024-06-30T13:31:24
Mingyang Song, Mao Zheng, Xuan Luo
cs.CL
cs.CL
Leveraging Large Language Models (LLMs) as judges for judging the performance of LLMs has recently garnered attention. However, this type of approach is affected by the potential biases in LLMs, raising concerns about the reliability of the evaluation results. To mitigate this issue, we propose and study two versions of many-shot in-context prompts, which rely on two existing settings of many-shot ICL for helping GPT-4o-as-a-Judge in single answer grading to mitigate the potential biases in LLMs, Reinforced ICL and Unsupervised ICL. Concretely, the former utilizes in-context examples with model-generated rationales, and the latter without. Based on the designed prompts, we investigate the impact of scaling the number of in-context examples on the consistency and quality of the judgment results. Furthermore, we reveal the symbol bias hidden in the pairwise comparison of GPT-4o-as-a-Judge and propose a simple yet effective approach to mitigate it. Experimental results show that advanced long-context LLMs, such as GPT-4o, perform better in the many-shot regime than in the zero-shot regime. Meanwhile, the experimental results further verify the effectiveness of the symbol bias mitigation approach.
[ -0.43349459767341614, -0.5147018432617188, 0.9025987982749939, 0.27080219984054565, -0.4459921717643738, -0.1979372203350067, -0.4177386462688446, -0.4866035580635071, -0.280480295419693, 0.29798996448516846, -0.253587543964386, -0.45419710874557495, -0.6544125080108643, 0.2194494605064392, 0.05087793990969658, 1.2470612525939941, -0.16896383464336395, 0.49301356077194214, -0.20470114052295685, -0.3829636573791504, -0.673365592956543, -0.5883704423904419, -0.8289911150932312, -0.5175800919532776, 0.5073531866073608, 0.4327237010002136, 0.3315260112285614, 0.09209133684635162, 0.41052326560020447, 0.191033273935318, -0.23881438374519348, 0.03751756623387337, -0.297100305557251, 0.11531934887170792, -0.09990992397069931, -0.4273102283477783, -0.39975544810295105, 0.20767764747142792, 0.7821359634399414, 0.43337854743003845, 0.031712718307971954, -0.06027495115995407, 0.3241975009441376, 0.5621841549873352, -0.6889887452125549, 0.23257854580879211, -0.4344249963760376, 0.09585870057344437, -0.11708569526672363, -0.15703481435775757, -0.7457484602928162, -0.2108001410961151, 0.011932812631130219, -0.6460877060890198, -0.23748600482940674, 0.0657125785946846, 0.4276191294193268, 0.17386463284492493, -0.9024034142494202, -0.20691148936748505, -0.43612420558929443, 0.9848239421844482, -0.8445510864257812, -0.06834662705659866, 0.4002910256385803, 0.7409356236457825, -0.13030561804771423, -0.3905501961708069, -0.3642105162143707, -0.30248236656188965, -0.06589411199092865, 0.31687721610069275, 0.16387058794498444, 0.19670222699642181, 0.6235020160675049, -0.1625485122203827, -0.31221306324005127, 0.4008369743824005, -0.01503799855709076, -0.3379914462566376, 0.30457714200019836, 0.020855775102972984, -0.1925063580274582, -0.1762848198413849, -0.4905148148536682, -0.07332981377840042, -1.1767076253890991, 0.2919253706932068, 0.31684446334838867, 0.34004661440849304, -0.0899709165096283, 0.24832454323768616, -0.2319093942642212, 0.7370678186416626, 0.11484667658805847, -0.37390896677970886, 0.13502410054206848, -0.251143217086792, -0.13856719434261322, 0.07458467781543732, 0.5920771360397339, 0.8438405990600586, 0.4454815983772278, 0.06715463846921921, -0.2318085879087448, -0.1708332598209381, -0.08307842910289764, -0.925390899181366, 0.24513161182403564, -0.06018613651394844, -0.2963382303714752, -0.07891184091567993, 0.13764306902885437, -0.7782418131828308, -0.32396814227104187, -0.46388956904411316, 0.6247871518135071, -0.16483889520168304, 0.21141809225082397, -0.0772625207901001, -0.23499859869480133, 0.33033499121665955, 0.7194169163703918, -0.6009231805801392, 0.10237078368663788, 0.5681279897689819, 0.670565128326416, -0.12402314692735672, -0.38257402181625366, -1.0319279432296753, 0.14172764122486115, -0.2968232333660126, 0.7505990862846375, -0.6672850847244263, -0.275929719209671, 0.11153432726860046, -0.3386567234992981, 0.29575303196907043, -0.6062393188476562, 0.5926660895347595, -0.4677197337150574, 0.19898077845573425, -0.5961164236068726, -0.5077970027923584, 0.09682130813598633, 0.611458957195282, -0.4540809094905853, 0.7592475414276123, 0.06380239874124527, -0.6238951086997986, 1.0463730096817017, -0.5230758786201477, -0.3613460958003998, -0.1101485937833786, -0.546183705329895, -0.47543561458587646, 0.018611418083310127, 0.5890567302703857, 0.37317851185798645, -0.19269202649593353, 0.23557986319065094, -0.49808043241500854, -0.7228460907936096, 0.10087937861680984, -0.6852315068244934, 0.44145601987838745, 0.13380971550941467, -0.4613769054412842, 0.1920565962791443, -0.5374912023544312, 0.00740817142650485, -0.28255346417427063, -0.5344890356063843, -0.22836413979530334, -0.20285606384277344, -0.03485511243343353, 0.5555624961853027, -0.43477335572242737, -0.5867753624916077, 0.25546005368232727, -0.31572023034095764, 0.34104400873184204, 1.0600663423538208, 0.029977142810821533, 0.42094171047210693, -0.3357295095920563, 0.5266132950782776, 0.22721213102340698, 0.0910915657877922, -0.5297287106513977, -0.40343356132507324, -0.5414111614227295, -0.537876307964325, 0.0045797210186719894, 0.0575961098074913, -0.910464346408844, 0.13518157601356506, -0.10751798748970032, -0.05062868073582649, -0.17924244701862335, 0.21177265048027039, 0.6328198313713074, 0.6867758631706238, 0.4416058659553528, -0.20976392924785614, -0.11056467145681381, -0.6948645710945129, -0.5410221815109253, -0.03110566735267639, -0.13532018661499023, 0.4871208071708679, 0.4824872612953186, 0.24208423495292664, 1.0518122911453247, -0.15022261440753937, -0.22702081501483917, -0.0945630744099617, 0.05020171031355858, 0.2597303092479706, 0.248588427901268, 0.7517454624176025, -0.3600049614906311, -0.5251011252403259, -0.29742521047592163, -0.8398650288581848, -0.2149660289287567, -0.0962129458785057, -0.052707333117723465, 0.0794992446899414, 0.5376013517379761, -0.5721875429153442, 0.38922587037086487, 0.1450151801109314, -0.4576371908187866, 0.7152965664863586, -0.016880741342902184, 0.3158249855041504, -0.8483105897903442, -0.2129971981048584, 0.23547740280628204, -0.4180859327316284, -0.3444908559322357, 0.16902151703834534, 0.28547266125679016, 0.1820966601371765, -0.8790197968482971, 0.8254120945930481, -0.30786752700805664, -0.0888153538107872, -0.4302927255630493, 0.13340075314044952, 0.17747263610363007, 0.3867260217666626, -0.12589745223522186, 0.7687931656837463, 0.6453816294670105, -0.6944995522499084, 0.21242548525333405, -0.05004466325044632, -0.49226391315460205, 1.1583532094955444, -0.39572644233703613, 0.1358490139245987, -0.24127331376075745, 0.9642031192779541, -0.769615888595581, -0.045562200248241425, 0.14623789489269257, -0.08121652901172638, 0.6124740242958069, -0.5193277597427368, -0.5103564262390137, -0.31668734550476074, -0.6962940096855164, 0.636139988899231, 0.05706622079014778, -1.060420036315918, 0.1876138597726822, -0.25178343057632446, 0.07913471758365631, -0.827593982219696, -0.5875832438468933, 0.16100208461284637, -0.5669949650764465, -0.3701857626438141, 0.13684678077697754, -0.37172195315361023, -0.41715672612190247, -0.5748022794723511, -0.14093546569347382, 0.291259229183197, 0.09892486035823822, 0.1507236212491989, 0.19755828380584717, -0.11746331304311752, 0.46087023615837097, 0.011457710526883602, -0.1704995036125183, 0.09691940993070602, -0.2009885311126709, 0.24753756821155548, -0.22562505304813385, -0.7309092283248901, -0.32720381021499634, 0.328217089176178, 0.702760636806488, -0.03338906913995743, 0.41660863161087036, 0.16381308436393738, -0.1210826188325882, -0.3111813962459564, -0.6202071309089661, -0.3048040270805359, -0.46165645122528076, 0.2125563621520996, -0.5013678669929504, -1.05912446975708, 0.2532055377960205, -0.20736390352249146, 0.19157153367996216, 0.31565719842910767, 0.6699912548065186, -0.19013169407844543, 0.8227173686027527, 0.28401079773902893, -0.3541254997253418, 0.6355618238449097, -0.08732114732265472, 0.1102229654788971, -1.128047227859497, 0.06321875751018524, -0.3034430742263794, -0.42193540930747986, -0.34791672229766846, -0.28675973415374756, 0.6613906621932983, 0.18794198334217072, -0.5788323879241943, -0.23826654255390167, -0.1700112670660019, 0.7631415724754333, 0.43242913484573364, 0.19307540357112885, 0.35246527194976807, -0.020800944417715073, -0.4634152352809906, 0.19294844567775726, -0.45807355642318726, -0.6163824200630188, 1.3457245826721191, 0.3594664931297302, 0.7187728881835938, 0.18456892669200897, 0.7013570070266724, -0.05017339810729027, 0.6297333240509033, -0.8717219233512878, 0.26714643836021423, 0.26510554552078247, -0.596539318561554, -0.31575605273246765, -0.3174404799938202, -0.5720932483673096, 0.5928579568862915, 0.0039976914413273335, -0.6399272084236145, -0.10000024735927582, 0.1467507928609848, -0.48359742760658264, 0.14635638892650604, -0.7155536413192749, 0.710891604423523, -0.2616667151451111, -0.6512760519981384, -0.06437403708696365, -0.6970639228820801, 0.2913043797016144, -0.20943735539913177, 0.33439916372299194, -0.06315947324037552, 0.2164052575826645, 0.4465557932853699, -0.4142894446849823, 1.0214887857437134, -0.36905327439308167, -0.0005747218965552747, 0.44382771849632263, -0.13323074579238892, 0.583812415599823, 0.3999555706977844, -0.4117668569087982, -0.05120963975787163, -0.24971111118793488, -0.39675527811050415, -0.5675771236419678, 0.830930769443512, -0.6086292862892151, -0.5855919718742371, -0.4622461497783661, -0.37177085876464844, -0.41886186599731445, -0.052312690764665604, 0.35934606194496155, 0.53800368309021, 0.026053033769130707, 0.20272080600261688, 0.2648673355579376, -0.15361502766609192, 0.7947522401809692, 0.6042773723602295, 0.019862111657857895, -0.1817864179611206, 0.24320724606513977, 0.010446706786751747, 0.4162767827510834, 0.2071343958377838, 0.36217761039733887, -0.20626339316368103, -0.459855318069458, -0.6571675539016724, 0.16747650504112244, -1.135469675064087, -0.5140405893325806, -0.08045545965433121, 0.22787868976593018, -0.22207078337669373, -0.28028494119644165, -0.07078250497579575, -0.21371237933635712, -0.2040099948644638, -0.36781200766563416, 0.2965411841869354, 0.5587366223335266, 0.2556512951850891, 0.4279502034187317, -0.4635618031024933, 0.029652876779437065, 0.4369211494922638, 0.5921507477760315, 0.07158400118350983, -0.886089026927948, -0.1415381282567978, -0.14917400479316711, -0.411620557308197, -0.532673180103302, 0.03626803681254387, 0.22031059861183167, 0.6188366413116455, 0.5566763877868652, -0.09039086103439331, 0.8295325636863708, -0.6998167037963867, 0.8728582859039307, 0.35889047384262085, -0.776948094367981, 0.6672889590263367, -0.29790347814559937, 0.5835248231887817, 0.668025016784668, 0.14714470505714417, -0.46204903721809387, -0.5612492561340332, -0.07452651113271713, -0.6599739193916321, 0.8940601944923401, -0.19805195927619934, 0.24997034668922424, -0.2827818989753723, 0.57463139295578, 0.16266308724880219, 0.15214386582374573, -1.0089609622955322, -0.010922123678028584, -0.17762728035449982, 0.042453065514564514, -0.14014896750450134, -0.35009413957595825, -0.2859114408493042, -0.21158148348331451, 0.4264620244503021, -0.5174961090087891, -0.1970651000738144, 0.20634084939956665, -0.3148682117462158, -0.045037757605314255, 0.6520251631736755, 0.5950024724006653, 0.7748495936393738, -0.07984030246734619, 0.3433559834957123, 0.39910975098609924, 0.02616940625011921, 0.07935711741447449, -0.35585442185401917, -0.14323550462722778, -0.30177217721939087, 0.5800943970680237, 0.7979311347007751, 0.35332193970680237, -0.5916681885719299, 0.8250232338905334, 0.11765787750482559, -0.14193284511566162, -0.10833106935024261, -0.23937775194644928, -0.2099389135837555, 0.34584754705429077, 0.3295091688632965, -0.14532867074012756, 0.10164017230272293, -0.7586698532104492, 0.29320842027664185, 0.5214978456497192, -0.4113679826259613, -0.03836797550320625, 0.47418662905693054, 0.20277345180511475, 0.10646476596593857, 0.6585889458656311, -0.3029506206512451, -0.46207907795906067, 0.5552747249603271, 0.7798123359680176, 0.6159912347793579, 0.03220663592219353, -0.11108018457889557, 0.34987175464630127, -0.003979660104960203, -0.31164878606796265, -0.14958395063877106, -0.20135219395160675, -0.6608335375785828, -0.44044169783592224, -0.5818781852722168, -0.4429718852043152, -0.05469219386577606, -0.4508090615272522, 0.4695650041103363, -0.5638315677642822, -0.32592305541038513, -0.23891441524028778, -0.1945398449897766, -0.7025593519210815, 0.04513014480471611, 0.37645459175109863, 0.7166574597358704, -0.9736521244049072, 0.8891682028770447, 0.483123242855072, -0.4089337885379791, -0.7417284250259399, 0.05434214696288109, 0.3525846302509308, -0.545825719833374, 0.8747798800468445, 0.5755612850189209, -0.22974789142608643, -0.3934013843536377, -0.48886838555336, -0.5968402028083801, 1.1820909976959229, 0.44600534439086914, -0.5802513360977173, 0.21953073143959045, -0.18450286984443665, 0.5916462540626526, -0.3414399027824402, 0.8944199681282043, 0.5470030307769775, 0.6232783794403076, 0.3018728494644165, -1.1822421550750732, -0.01107657328248024, 0.04943881556391716, -0.18873830139636993, 0.0071234554052352905, -0.6720917224884033, 0.5589320063591003, -0.19750910997390747, 0.0917983204126358, -0.26511436700820923, 0.35638365149497986, 0.5813531875610352, 0.572925865650177, 0.4645165503025055, 0.5070751905441284, 0.5516496300697327, -0.05865701287984848, 1.1990045309066772, 0.0070205554366111755, 0.32020533084869385, 1.4436546564102173, -0.5537487268447876, 0.6889707446098328, 0.7566971778869629, -0.11661893874406815, 0.29345080256462097, 0.4496110677719116, -0.007431019563227892, 0.35993096232414246, 0.3805321156978607, -0.4906628131866455, -0.2386762499809265, -0.04711972549557686, -0.11561020463705063, 0.3821881413459778, 0.09314585477113724, -0.27280837297439575, -0.5394195318222046, 0.23478353023529053, 0.14571928977966309, 0.118354432284832, -0.45400530099868774, 0.6579613089561462, 0.38385245203971863, -0.8324169516563416, 0.3026749789714813, 0.0645093247294426, 1.0444141626358032, -0.4540972113609314, -0.1136043593287468, -0.33739322423934937, 0.15764842927455902, -0.21956214308738708, -0.8277935981750488, -0.0444648414850235, 0.11036903411149979, -0.16657233238220215, -0.27079150080680847, 0.36416253447532654, -0.16992489993572235, -0.3541742265224457, 0.4129113554954529, 0.31123512983322144, 0.2264997363090515, -0.347534716129303, -0.47903919219970703, -0.15470334887504578, -0.3080291152000427, -0.30532217025756836, 0.6855266690254211, 0.4242815673351288, -0.5064579248428345, 0.6552731394767761, 0.37657082080841064, -0.059654898941516876, 0.060241468250751495, 0.615001380443573, 0.8966817259788513, -0.5717871785163879, -0.32938945293426514, -1.159271001815796, 0.2691963315010071, -0.1263199895620346, -0.33761703968048096, 0.7378337383270264, 0.5989722013473511, 0.9343878626823425, 0.1343151479959488, 0.5696897506713867, 0.4548937678337097, 0.19883626699447632, -0.7349591851234436, 0.5441460609436035, -0.4077436029911041, 0.5149744749069214, -0.31795522570610046, -0.8398499488830566, -0.6066197156906128, 0.5917304754257202, -0.36525070667266846, 0.3891449272632599, 0.8418822288513184, 0.6209099292755127, 0.12395145744085312, -0.40449073910713196, 0.5026478171348572, -0.1626281440258026, 0.7496305704116821, 0.7320679426193237, 0.9268304705619812, -0.2261839210987091, 0.5249013900756836, 0.0944065973162651, -0.2772004306316376, -0.3732069432735443, -1.0063899755477905, -1.0195709466934204, 0.05578150600194931, -0.1923651397228241, -0.1395404040813446, -0.026538101956248283, 1.0393214225769043, 0.7345234751701355, -0.702869713306427, -0.13694454729557037, 0.2844208776950836, 0.21256853640079498, -0.10314282774925232, -0.1707472950220108, 0.3740004003047943, -0.5878458619117737, -0.6605547666549683, 0.5095341205596924, 0.47141730785369873, -0.18610654771327972, 0.16396775841712952, -0.24830178916454315, 0.15734253823757172, -0.22580790519714355, 1.045428991317749, -0.03707257658243179, -0.965953528881073, -0.6983274221420288, -0.4014507830142975, -0.1408633440732956, 0.4337903559207916, 0.7908901572227478, -0.9355358481407166, 0.727457582950592, 0.18034221231937408, 0.32868558168411255, 0.5565709471702576, 0.06023912876844406, 0.520069420337677, -0.9913074374198914, 0.12723448872566223, 0.29499849677085876, 0.6475153565406799, 0.19135858118534088, -0.17011350393295288, 0.24703513085842133, -0.007966315373778343, -0.5007010102272034, -0.47454634308815, 0.3428133726119995, -1.0112297534942627, -0.3784191608428955, 1.4834604263305664, -0.24497506022453308, 0.2057209610939026, 0.021751826629042625, -0.34034231305122375, 0.11262952536344528, -0.5338905453681946, 0.7210351228713989, 1.1296467781066895, -0.16224098205566406, -0.15708474814891815, -0.6201496720314026, 0.3242744505405426, 0.5160936117172241, -0.7393218278884888, 0.0405229777097702, 0.7830682396888733, 0.4564213752746582, -0.24548716843128204, 0.6574241518974304, -0.393228679895401, 0.3330914080142975, -0.5257358551025391, -0.1359349638223648, -0.004036203492432833, -0.4160324037075043, -0.8349039554595947, 0.009189710952341557, 0.48140382766723633, 0.1716083437204361 ]
http://arxiv.org/abs/2406.11624v1
http://arxiv.org/pdf/2406.11624v1
Words in Motion: Representation Engineering for Motion Forecasting
2024-06-17T15:07:55
2024-06-17T15:07:55
Omer Sahin Tas, Royden Wagner
cs.LG
cs.LG, cs.CL, cs.CV
Motion forecasting transforms sequences of past movements and environment context into future motion. Recent methods rely on learned representations, resulting in hidden states that are difficult to interpret. In this work, we use natural language to quantize motion features in a human-interpretable way, and measure the degree to which they are embedded in hidden states. Our experiments reveal that hidden states of motion sequences are arranged with respect to our discrete sets of motion features. Following these insights, we fit control vectors to motion features, which allow for controlling motion forecasts at inference. Consequently, our method enables controlling transformer-based motion forecasting models with textual inputs, providing a unique interface to interact with and understand these models. Our implementation is available at https://github.com/kit-mrt/future-motion
[ -0.1947692483663559, -0.10252885520458221, 0.7402238249778748, 0.22729124128818512, -0.31199216842651367, 0.37323084473609924, 0.41446083784103394, -0.4719524085521698, 0.5097540616989136, 0.6090309619903564, -0.9274898767471313, -0.12014209479093552, -0.7283944487571716, -0.3116665184497833, -0.8249883651733398, 0.5824943780899048, -0.35134828090667725, 0.18507671356201172, -0.1028149202466011, -0.08964988589286804, -0.8681378960609436, -0.3924730122089386, -0.026895130053162575, -0.7713688015937805, 0.023022938519716263, 0.007246437482535839, 1.013453483581543, 0.6155781149864197, 0.4931550920009613, 0.3411068618297577, -0.03726288676261902, -0.08125200867652893, -0.038397278636693954, 0.3051603138446808, -0.15284258127212524, -0.43104249238967896, -0.18727876245975494, 0.09829006344079971, 0.5291760563850403, 0.4825379550457001, -0.10432726889848709, 0.026533218100667, 0.030946124345064163, 0.5935864448547363, -0.568975567817688, 0.5297992825508118, -0.0949910581111908, 0.4696475863456726, 0.11836951225996017, -0.14721490442752838, -0.09058704972267151, -0.45643091201782227, 0.0349651575088501, -0.5438937544822693, 0.18470393121242523, 0.27658364176750183, 0.9006893038749695, 0.5784214735031128, -0.23092027008533478, -0.2699988782405853, -1.075864315032959, 0.7693687081336975, -0.3711800277233124, 0.8226847052574158, 0.37465915083885193, 0.6917479038238525, -0.10181286931037903, -0.8648464679718018, -0.5503928661346436, -0.11994914710521698, -0.3832775056362152, 0.35737523436546326, -0.06068591773509979, 0.00897115096449852, 0.3193071484565735, 0.20458807051181793, -0.5760374069213867, -0.25680890679359436, -0.006025299429893494, -0.31777170300483704, 0.7751903533935547, 0.4883233308792114, 0.0018552853725850582, -0.10909689217805862, -0.3874145746231079, -0.41818493604660034, -0.3269319236278534, 0.07478774338960648, 0.06168070808053017, 0.045675504952669144, -0.3461590111255646, 0.762869119644165, -0.029247991740703583, 0.2846015691757202, 0.10292816162109375, 0.027405137196183205, 0.1284162700176239, 0.2754916548728943, -0.35943281650543213, 0.05248048156499863, 0.7168926000595093, 0.3142645061016083, 0.002078136196359992, -0.27131855487823486, -0.45332658290863037, 0.06580116599798203, 0.2617610991001129, -0.511458158493042, -0.22032250463962555, -0.04532414302229881, -0.2995670735836029, -0.17723682522773743, 0.45198532938957214, -1.0444355010986328, -0.7865432500839233, -0.6180999875068665, 0.5628801584243774, -0.517623245716095, -0.009275791235268116, 0.12743335962295532, -0.5092991590499878, 0.3437560796737671, 0.054035067558288574, -1.055355191230774, 0.3227379620075226, 0.7406324148178101, 0.7671955227851868, 0.18215566873550415, -0.11595093458890915, -0.15665163099765778, 0.3259446322917938, -0.4502179026603699, 0.7278614044189453, -0.8045997619628906, -0.7656406164169312, -0.04262286052107811, 0.15459054708480835, 0.04784448444843292, -0.24494890868663788, 0.28196951746940613, -0.5482995510101318, 0.434160053730011, 0.03297029435634613, -0.461830735206604, -0.5917482972145081, -0.15942347049713135, -0.6974210143089294, 0.9075040221214294, 0.0017195448745042086, -0.4724963903427124, 0.4634913504123688, -1.1264017820358276, -0.5148796439170837, 0.024145089089870453, -0.14189748466014862, -0.29523780941963196, 0.35500311851501465, 0.3606218099594116, 0.5396988391876221, 0.23779290914535522, 0.2861062288284302, 0.1542985886335373, -0.2691207528114319, 0.23764920234680176, -0.6377227902412415, 0.08478831499814987, 0.2703849971294403, -0.3308744430541992, 0.3828354775905609, -0.7268832921981812, -0.11983001977205276, 0.14660824835300446, 0.007848531939089298, 0.009349794127047062, 0.5567002892494202, -0.2649378180503845, 0.02388349175453186, 0.22573046386241913, -0.2551075518131256, -0.0395830012857914, -0.5646429657936096, 0.4889228045940399, 0.593535840511322, -0.01877913810312748, 0.9356577396392822, -0.19543704390525818, 1.0573642253875732, 0.004082717467099428, 0.15469282865524292, -0.47729337215423584, -0.6695151329040527, -0.6595170497894287, 0.32171696424484253, -0.035447701811790466, 0.7048760652542114, -0.927509069442749, 0.1872299164533615, -0.6111115217208862, -0.4063049554824829, -0.2133355736732483, -0.48931702971458435, 0.04475259780883789, 0.17050430178642273, 0.47226083278656006, 0.17174772918224335, -0.5708246827125549, -0.3510858118534088, -0.33955031633377075, 0.031172161921858788, -0.481784850358963, -0.19657650589942932, 0.41066399216651917, -0.19536161422729492, 1.18052077293396, -0.7780597805976868, 0.23401503264904022, -0.21372851729393005, 0.540860652923584, 0.14639288187026978, 0.28915050625801086, 0.18335871398448944, -1.0433346033096313, -0.184247687458992, -0.09737076610326767, -0.5751196146011353, 0.24929505586624146, -0.28750237822532654, -0.05448063835501671, -0.29564520716667175, 0.524850606918335, -0.4463609457015991, 0.67147296667099, 0.7836183309555054, -0.672208845615387, 0.2684130370616913, -0.09768059104681015, -0.11211556941270828, -0.8905103802680969, -0.252603143453598, 0.019787834957242012, -0.3909192979335785, -0.22251743078231812, -0.1140415221452713, 0.17371834814548492, -0.5498694777488708, -0.4079034626483917, 0.48376551270484924, -0.5021676421165466, -0.15542277693748474, -0.22373661398887634, -0.0041450937278568745, 0.108866386115551, 0.2772437036037445, 0.15002022683620453, 0.8435449004173279, 0.31564435362815857, -0.6857399940490723, 0.3379616141319275, 0.2390042245388031, -0.3808130919933319, 0.15718020498752594, -0.30800238251686096, 0.09444525837898254, -0.28904053568840027, -0.2345333695411682, -0.4067098796367645, -0.511654794216156, 0.27931082248687744, -0.47701260447502136, 0.597383975982666, 0.002491701627150178, -0.17495141923427582, -0.6476069688796997, 0.0033412210177630186, -0.2152712196111679, 0.6427419781684875, -0.35213419795036316, 1.0386018753051758, 0.4444427192211151, 0.1724880039691925, -0.33146047592163086, -0.9446020722389221, 0.09419495612382889, -0.29887649416923523, -0.22584015130996704, 0.5654783844947815, 0.0017483748961240053, -0.14904195070266724, -0.0707937628030777, -0.06195620074868202, -0.08813493698835373, 0.020441554486751556, 0.7601419687271118, 0.10240252315998077, -0.044008854776620865, 0.2041877657175064, 0.14640302956104279, -0.3800831735134125, 0.19342799484729767, -0.4015028774738312, 0.5452994704246521, 0.013250402174890041, -0.47373726963996887, -0.3435969650745392, 0.31623923778533936, 0.8676590323448181, -0.2917560338973999, 0.46411648392677307, 0.5434601306915283, -0.42978593707084656, -0.036779120564460754, 0.07678669691085815, -0.24576713144779205, -0.5773794651031494, 0.38922175765037537, -0.2188766449689865, -0.7384417057037354, 0.369503378868103, -0.2731664776802063, -0.03427734225988388, 0.442048579454422, 0.22061656415462494, -0.49029895663261414, 1.191684365272522, 1.194342851638794, -0.02307864837348461, 0.6838354468345642, -0.4101381301879883, 0.3423461318016052, -0.7039082050323486, -0.4319223463535309, -0.26510345935821533, -0.7256322503089905, -0.6502473950386047, -0.5016710758209229, 0.17360274493694305, 0.10491648316383362, -0.47978201508522034, 0.7440904378890991, -0.6547771692276001, 0.5330906510353088, 0.5291914343833923, 0.1105714961886406, -0.08542884141206741, -0.39534130692481995, -0.1353602111339569, -0.19921660423278809, -0.46693772077560425, -0.7090986371040344, 0.5662567019462585, 0.5105986595153809, 0.8721482753753662, -0.18669010698795319, 0.44990065693855286, 0.17694135010242462, 0.3526320159435272, -1.0970256328582764, 0.5839627385139465, -0.15356266498565674, -0.3379802405834198, -0.3771887719631195, -0.021596139296889305, -0.7938058972358704, -0.03420287370681763, -0.2788243293762207, -0.7920529842376709, 0.3545868992805481, 0.2512737512588501, -0.5367230772972107, 0.44572335481643677, -0.5892834663391113, 0.5753777027130127, -0.4642195999622345, 0.20904351770877838, -0.08909562230110168, -0.6604685187339783, 0.038924816995859146, 0.12007429450750351, 0.19742751121520996, -0.18840549886226654, 0.035394635051488876, 0.6734327673912048, -0.3144005239009857, 0.8381000757217407, -0.16836941242218018, 0.16451220214366913, 0.35588371753692627, 0.1106221005320549, 0.48496392369270325, -0.24650488793849945, -0.08137702941894531, 0.1460949033498764, -0.004182870965451002, -0.042961858212947845, -0.6997008919715881, 0.24017643928527832, -0.27572205662727356, -0.2915482521057129, -0.4623805284500122, -0.44501304626464844, -0.16487303376197815, 0.058508023619651794, 0.4537225067615509, 0.3847128748893738, -0.11903667449951172, -0.2710280120372772, 0.42308947443962097, -0.13058476150035858, 1.1228108406066895, 0.23487496376037598, -0.4927067458629608, -0.46854516863822937, 0.9404756426811218, 0.011128655634820461, -0.1177138015627861, 1.0269910097122192, 0.45938053727149963, -0.47446128726005554, -0.41859567165374756, -0.32298338413238525, -0.008293715305626392, -0.5275421738624573, -0.3031264543533325, -0.24769526720046997, -0.11015892028808594, -0.33979105949401855, -0.12035250663757324, -0.18472576141357422, -0.5235903859138489, -0.4797222912311554, -0.38746100664138794, 0.22517018020153046, 1.325368881225586, 0.12260563671588898, 0.8275291919708252, -0.9896228909492493, 0.25754374265670776, 0.4972935616970062, 0.46906936168670654, -0.4054616093635559, -0.32133954763412476, -0.6068150401115417, 0.0881141945719719, -0.9812353253364563, -0.8607118725776672, 0.8922504186630249, 0.16863228380680084, 0.4303150177001953, 0.5603682994842529, -0.14907115697860718, 0.8341987133026123, -0.7216513156890869, 1.180943250656128, 0.36168190836906433, -1.0812807083129883, 0.7558607459068298, -0.05404507741332054, 0.5064111351966858, -0.12703590095043182, 0.44849827885627747, -0.5210446715354919, -0.15301936864852905, -0.5619093179702759, -0.4466955363750458, 0.3185192048549652, -0.011105411686003208, 0.44091498851776123, 0.15554219484329224, 0.14148691296577454, -0.1446777880191803, 0.4131450355052948, -0.5233051776885986, -0.23961615562438965, -0.6385199427604675, -0.28304100036621094, -0.13820858299732208, -0.5387715101242065, 0.17638979852199554, -0.10260803997516632, 0.3098354935646057, -0.11427640914916992, 0.8045107126235962, -0.12743988633155823, 0.10190048813819885, -0.24637454748153687, 0.006689125671982765, 0.9165136218070984, 0.4439053237438202, -0.0012707520509138703, -0.04442768543958664, 0.09966619312763214, -0.8893799185752869, 0.08094620704650879, -0.007587627973407507, -0.11378404498100281, 0.4178188443183899, 0.42929360270500183, 0.895028829574585, 0.47084519267082214, -0.35761865973472595, 0.26273688673973083, 0.10902886837720871, 0.06472168117761612, -0.42396947741508484, 0.02653655596077442, -0.03711030259728432, 0.5188567042350769, 0.3188598155975342, 0.5546736121177673, 0.12661896646022797, -0.2816329896450043, -0.05126975476741791, 0.13884206116199493, -0.9463270306587219, -0.68137526512146, 1.206027865409851, -0.03294653818011284, -0.3958091735839844, 0.3688141703605652, -0.1843806803226471, -0.733371913433075, 0.43593910336494446, 0.28044235706329346, 1.3837916851043701, -0.3645796477794647, 0.12711475789546967, 0.2580609917640686, 0.26556625962257385, -0.2730220854282379, 0.5374064445495605, 0.23016004264354706, -0.8137271404266357, -0.6533381938934326, -0.7816087603569031, -0.4429529011249542, -0.21207036077976227, -0.5916955471038818, 0.4051152467727661, -0.36814963817596436, -0.41576433181762695, -0.2587915062904358, -0.4169872999191284, -0.6231447458267212, 0.45784786343574524, 0.45646384358406067, 0.9545621275901794, -0.8492391109466553, 0.657342791557312, 0.7907074093818665, -0.20713771879673004, -0.725117027759552, 0.18685054779052734, -0.06958090513944626, -0.6306406259536743, 0.49539801478385925, 0.15871235728263855, -0.24584631621837616, -0.18599873781204224, -0.732759416103363, -1.051269769668579, 1.346100926399231, 0.549142062664032, -0.546859622001648, -0.18200618028640747, 0.205753892660141, 0.3078857362270355, 0.0012789774918928742, -0.03172755986452103, 0.33472615480422974, 0.6423585414886475, 0.3059297800064087, -0.6175819039344788, -0.42971256375312805, 0.15686607360839844, 0.09062721580266953, 0.6729071140289307, -0.1795043647289276, 0.5640127062797546, -0.04872594773769379, -0.5427399277687073, 0.018908565863966942, 1.0484073162078857, -0.24528664350509644, 0.611348569393158, 0.14319710433483124, 0.4782618284225464, 0.849840521812439, -0.5290713906288147, 1.1803126335144043, -0.44165584444999695, 0.286131352186203, 1.2614693641662598, 0.03794620931148529, 0.8029369711875916, 0.3584432601928711, -0.5170415639877319, 0.8391276001930237, 0.40525248646736145, 0.09859979152679443, 0.8627044558525085, -0.2121158093214035, -0.24839164316654205, -0.08970994502305984, 0.31245821714401245, 0.003367104334756732, 0.6096856594085693, 0.517330527305603, -0.3044443130493164, -0.01088623609393835, 0.3916071057319641, -0.23030005395412445, 0.20516549050807953, -0.5328828692436218, 0.6228795647621155, 0.20585016906261444, -0.22967301309108734, -0.09690313041210175, -0.07869058102369308, 0.5066440105438232, -0.6906963586807251, -0.3839934170246124, -0.11819195747375488, -0.13509076833724976, -0.0082755321636796, -1.0812970399856567, 0.8098589181900024, -0.30388393998146057, -0.19191227853298187, -0.7001777291297913, 0.3902348577976227, 0.019396597519516945, -0.6725430488586426, 0.06251324713230133, 0.1339903622865677, -0.009746212512254715, -0.32264816761016846, -0.4947211444377899, -0.3263486623764038, -0.15925277769565582, -0.07795315235853195, 0.0063690380193293095, 0.5937209725379944, -0.3427671194076538, 1.1808233261108398, 0.10511961579322815, 0.08521809428930283, 0.21911711990833282, -0.15318800508975983, 0.7078725695610046, -1.0306075811386108, -0.6035511493682861, -0.6815842986106873, 0.7657765746116638, 0.18753185868263245, -0.006850279867649078, 0.4492380917072296, 0.3070642054080963, 0.5737382769584656, -0.3237050175666809, 0.468845009803772, 0.047131024301052094, 0.5424608588218689, -0.6592777371406555, 0.8009282946586609, -0.10600041598081589, 0.1340828388929367, 0.0018258866621181369, -0.6219272613525391, -0.2796365022659302, 0.40017205476760864, -0.3971850275993347, -0.06710339337587357, 0.6915866732597351, 0.4116741418838501, 0.09925961494445801, 0.28970104455947876, 0.722178041934967, -0.07078327983617783, 0.23658417165279388, 0.1600833386182785, 0.9056110382080078, -0.4325219392776489, 0.19787479937076569, -0.5579767823219299, 0.1100415512919426, 0.06455876678228378, -1.256301999092102, -0.4299148619174957, -0.6707387566566467, -0.221266970038414, -0.014446180313825607, -0.2376309484243393, 0.8588497638702393, 0.8677763342857361, -1.202256679534912, -0.13334880769252777, -0.2376871556043625, 0.16306529939174652, -0.49497729539871216, -0.24220404028892517, 0.2005690634250641, 0.03130140155553818, -0.7067636251449585, 0.848110556602478, 0.23084579408168793, 0.6183860301971436, -0.3831792175769806, -0.13465671241283417, 0.4338444471359253, -0.13608519732952118, 0.7892705798149109, 0.12134372442960739, -0.5355482697486877, -0.4240238070487976, 0.003914735745638609, 0.3459998369216919, 0.08292612433433533, 0.9604038000106812, -1.197265625, 0.4318337142467499, 0.37700554728507996, 0.04662073776125908, 0.5136350393295288, 0.08518283814191818, 0.9296867847442627, -0.7360243201255798, 0.2652930021286011, 0.44960564374923706, 0.5369890928268433, 0.2581292390823364, -0.47797679901123047, 0.45646902918815613, 0.13588806986808777, -0.40438252687454224, -0.19215360283851624, 0.22459359467029572, -0.6975895166397095, -0.07536506652832031, 0.44506046175956726, 0.10821740329265594, -0.10949642211198807, 0.09377327561378479, -0.04606405645608902, 0.30308762192726135, -0.21689406037330627, 0.6068349480628967, 0.3880511224269867, -0.3352435827255249, -0.5494531393051147, -0.7810426950454712, 0.40293216705322266, -0.3001460134983063, -0.33892622590065, -0.29858314990997314, 0.23157186806201935, -0.28307217359542847, 0.37992218136787415, -0.2837749123573303, -0.0948980525135994, -0.20724359154701233, -0.09389710426330566, 0.05543556064367294, -0.015400172211229801, -0.38450440764427185, -0.5778888463973999, -0.021399931982159615, -0.20860090851783752, -0.5465529561042786 ]
http://arxiv.org/abs/2406.11622v1
http://arxiv.org/pdf/2406.11622v1
Building Knowledge-Guided Lexica to Model Cultural Variation
2024-06-17T15:05:43
2024-06-17T15:05:43
Shreya Havaldar, Salvatore Giorgi, Sunny Rai, Thomas Talhelm, Sharath Chandra Guntuku, Lyle Ungar
cs.CL
cs.CL
Cultural variation exists between nations (e.g., the United States vs. China), but also within regions (e.g., California vs. Texas, Los Angeles vs. San Francisco). Measuring this regional cultural variation can illuminate how and why people think and behave differently. Historically, it has been difficult to computationally model cultural variation due to a lack of training data and scalability constraints. In this work, we introduce a new research problem for the NLP community: How do we measure variation in cultural constructs across regions using language? We then provide a scalable solution: building knowledge-guided lexica to model cultural variation, encouraging future work at the intersection of NLP and cultural understanding. We also highlight modern LLMs' failure to measure cultural variation or generate culturally varied language.
[ -0.529072642326355, -0.6963902115821838, 0.4662665128707886, 0.28374141454696655, -0.056702081114053726, 0.44427451491355896, -0.21301352977752686, -0.6687018871307373, 0.682726263999939, 0.28566932678222656, -0.6853264570236206, -0.5094477534294128, -0.7128885388374329, 0.08509927242994308, -0.06965895742177963, 0.6975138783454895, -0.0832708328962326, 0.19738666713237762, -0.13444587588310242, -0.5355117321014404, -0.4304462969303131, -0.5842840671539307, -0.48484164476394653, -0.4861629605293274, 0.4107505977153778, 0.5469167828559875, 0.8724506497383118, 0.505505383014679, 0.5442231893539429, 0.167438805103302, -0.6910868287086487, 0.4392472207546234, -0.3123178780078888, -0.13737794756889343, -0.28827211260795593, -0.8294936418533325, -0.11249269545078278, -0.125056654214859, 0.5157917141914368, 1.2191916704177856, -0.24711187183856964, 0.23486575484275818, -0.2297910898923874, 0.6757030487060547, -0.5332622528076172, -0.1778286248445511, -0.6523640751838684, 0.4985840320587158, -0.2655872702598572, -0.14391332864761353, 0.22031860053539276, -0.3672945201396942, 0.32048729062080383, -0.45267823338508606, 0.4173297882080078, -0.07246126234531403, 0.7670055031776428, 0.34983599185943604, -0.6626918911933899, -0.3349910378456116, -0.9383698105812073, 0.8064115643501282, -0.6327076554298401, 0.1751592457294464, 0.5109699368476868, 0.051184482872486115, -0.2257593721151352, -0.6616256237030029, -0.32856130599975586, -0.11986491084098816, 0.26662349700927734, 0.0714336484670639, 0.10411625355482101, -0.5540705919265747, 0.29664894938468933, 0.6893988847732544, -0.2831496298313141, 0.18604694306850433, -0.3706076741218567, -0.2617121636867523, 0.5016322135925293, 0.4874236583709717, 0.7319618463516235, 0.03158951923251152, -0.23066015541553497, -0.12079204618930817, -0.8023646473884583, 0.2851780951023102, 0.28320857882499695, 0.23273728787899017, -0.18559420108795166, 0.33924341201782227, -0.20944108068943024, 0.5047662258148193, -0.3091100752353668, -0.19548870623111725, 0.2511202394962311, -0.2750833034515381, 0.02065238542854786, -0.38679927587509155, 0.3348125219345093, 0.3872509002685547, -0.16760380566120148, -0.14638684689998627, 0.05081051588058472, 0.03404088318347931, -0.0044491407461464405, -0.4628252387046814, -0.09733660519123077, -0.13349418342113495, -0.3190729320049286, 0.01995491236448288, -0.19282129406929016, -0.7573914527893066, -0.7347914576530457, -0.18325944244861603, 0.005389274097979069, -0.2128525674343109, -0.5489935874938965, 0.27056461572647095, -0.3029416501522064, 0.5070897936820984, 0.07282016426324844, -1.2434065341949463, 0.3377830386161804, 0.6044567823410034, 1.0326869487762451, -0.3035452663898468, -0.37451210618019104, 0.19135782122612, -0.18513497710227966, -0.695911705493927, 0.6603112816810608, -0.47640421986579895, -0.6480393409729004, 0.09449167549610138, -0.16544705629348755, 0.34259986877441406, -0.6509720683097839, 0.26730993390083313, -0.3206794857978821, 0.13345901668071747, -0.9277116060256958, -0.5233340263366699, -0.2880614101886749, 0.3837219178676605, -0.7360159754753113, 0.9654593467712402, 0.2726207971572876, -0.98856520652771, 0.7083717584609985, -0.4128812849521637, -0.21815204620361328, 0.2978513538837433, -0.4566667675971985, -0.09564762562513351, 0.33270496129989624, 0.329074501991272, 0.1305423080921173, -0.5783149003982544, 0.18516092002391815, -0.30688926577568054, -0.31507423520088196, 0.18652604520320892, -0.18416373431682587, 1.124045491218567, 0.3500432074069977, -0.30244752764701843, -0.21869519352912903, -0.6598679423332214, -0.1430937945842743, 0.2065640091896057, -0.4412514567375183, -0.5105578303337097, 0.3611152470111847, -0.12956330180168152, 0.09275427460670471, 0.5847078561782837, -0.4387165307998657, 0.28098076581954956, -0.40611401200294495, 0.33028027415275574, 0.28491517901420593, -0.11923384666442871, 0.6128900051116943, -0.5113945007324219, 0.8341538310050964, -0.014309221878647804, 0.05056679621338844, 0.3271741271018982, -0.6070270538330078, -0.8651885390281677, 0.14839956164360046, 0.10725059360265732, 0.4047064781188965, -1.0248827934265137, 0.12535741925239563, -0.1593160629272461, -0.8277462720870972, -0.4821016192436218, 0.05709755793213844, -0.06887996941804886, 0.5113326907157898, 0.1603875607252121, -0.657646894454956, -0.47209039330482483, -0.7522733211517334, -0.022594816982746124, -0.050896428525447845, -0.2080933153629303, 0.22171743214130402, 0.310380756855011, -0.08883422613143921, 1.0244899988174438, -0.6283721327781677, -0.2675034999847412, -0.5387395024299622, 0.14782550930976868, 0.14640742540359497, 0.27444517612457275, 0.5472211241722107, -0.69765704870224, -0.3920460641384125, 0.09923219680786133, -0.5915254354476929, -0.03749993070960045, -0.037740558385849, -0.14584632217884064, 0.06435363739728928, 0.4523291289806366, 0.19984698295593262, 0.3938586711883545, 0.6863526105880737, -0.45693060755729675, 0.4606516659259796, -0.20569363236427307, 0.0647454634308815, -1.486189842224121, -0.2296099066734314, 0.013723180629312992, 0.16895362734794617, -0.6330060362815857, 0.23420286178588867, 0.08195405453443527, 0.05695955455303192, -0.4031142294406891, 0.37931883335113525, -0.29691582918167114, -0.17006830871105194, -0.13519807159900665, -0.02221454679965973, -0.19407391548156738, 0.35401150584220886, 0.3980932831764221, 0.7152602076530457, 0.6942278146743774, -0.5797064900398254, 0.16507022082805634, 0.06926713138818741, -0.7784476280212402, 0.5298544764518738, -0.4156019985675812, -0.07579907029867172, -0.10767876356840134, 0.3377465009689331, -0.49204832315444946, -0.2427682876586914, -0.22154322266578674, -0.2394052892923355, -0.1510773003101349, -0.12522706389427185, -0.5099872946739197, -0.21802379190921783, -0.01783437468111515, 0.4690675437450409, 0.5150862336158752, -0.4523319602012634, 0.5787933468818665, 0.46058353781700134, -0.0442730076611042, -0.7590409517288208, -0.9971572756767273, 0.12250012159347534, -0.5632040500640869, -0.779193103313446, 0.34538137912750244, -0.32263943552970886, -0.4490939974784851, -0.32863670587539673, -0.1403433084487915, -0.2956482172012329, 0.43639299273490906, -0.0026579187251627445, -0.09984434396028519, -0.29546618461608887, 0.31821608543395996, -0.05919673666357994, 0.3685186803340912, 0.23526962101459503, -0.19050346314907074, 0.7286707758903503, -0.24728170037269592, -0.4764534831047058, -0.07780002057552338, 0.5282898545265198, 0.3319644033908844, -0.31874486804008484, 0.8619537949562073, 0.6351107358932495, -0.32027462124824524, -0.410288542509079, -0.5429297685623169, -0.026820093393325806, -0.4615151882171631, 0.5206446051597595, -0.10144258290529251, -1.0686928033828735, 1.044690489768982, -0.20807522535324097, 0.14163082838058472, 0.3554377555847168, 0.8128682971000671, -0.029200438410043716, 0.4882703125476837, 1.1386197805404663, -0.03291668742895126, 0.474841833114624, -0.1304614543914795, 0.07644789665937424, -0.507067859172821, -0.2283942848443985, -0.5018041133880615, -0.5936672687530518, -0.9707084894180298, -0.5908862948417664, 0.4319581687450409, -0.06086600944399834, -0.22815346717834473, 0.02803841046988964, -0.1902439147233963, 0.7644195556640625, 0.7403597831726074, 0.037758465856313705, 0.3036923408508301, 0.036505602300167084, -0.34225472807884216, -0.3001778721809387, -0.8713451027870178, -0.30729037523269653, 1.098811149597168, 0.4248315095901489, 0.7987294793128967, 0.41572892665863037, 0.8735544085502625, 0.12867163121700287, 0.17231425642967224, -0.8323817849159241, 0.24094992876052856, -0.31307706236839294, -0.6043288111686707, -0.33940693736076355, -0.3722405731678009, -0.8206502795219421, 0.25740548968315125, -0.22608545422554016, -0.566717803478241, 0.2524676024913788, 0.013443325646221638, -0.11497075855731964, 0.672796905040741, -0.47097331285476685, 0.4399709701538086, -0.09956914931535721, 0.07958896458148956, 0.050881050527095795, -0.6816235780715942, 0.31327611207962036, -0.059073206037282944, 0.30320557951927185, -0.2265583872795105, 0.06850109994411469, 0.6334248781204224, -0.3741630017757416, 1.059962511062622, 0.1823505461215973, -0.3786730468273163, 0.335761159658432, 0.4223368465900421, -0.07325350493192673, 0.1764138787984848, -0.0124795101583004, 0.23232245445251465, 0.022648677229881287, -0.5503109097480774, -0.47288212180137634, 0.5171830654144287, -1.0104256868362427, -0.5204856395721436, -0.18829959630966187, -0.9896420240402222, -0.343856543302536, -0.2921586036682129, 0.45219942927360535, 0.18319562077522278, -0.2601225674152374, 0.2715784013271332, 0.8089631795883179, -0.34573036432266235, 0.5826415419578552, 0.656471312046051, 0.0039881933480501175, -0.17554959654808044, 0.7125717997550964, 0.29151225090026855, 0.23710010945796967, 0.3948534429073334, 0.4807015061378479, -0.003130272263661027, -0.3375774025917053, -0.13692250847816467, 0.07874713093042374, -0.9210054278373718, 0.21989837288856506, -0.22413890063762665, -0.04374010115861893, -0.23829980194568634, -0.35289204120635986, -0.29422467947006226, -0.32827886939048767, -0.2733817994594574, -0.12401672452688217, 0.22695772349834442, 0.9288106560707092, -0.35951000452041626, 0.3713850975036621, -0.5114539861679077, -0.16795490682125092, 0.4590122699737549, 0.3161829113960266, 0.07348952442407608, -0.6004830002784729, -0.30440834164619446, -0.05544639378786087, -0.16752062737941742, -1.029213309288025, 0.552717924118042, -0.07426205277442932, 0.45323386788368225, 0.1718805879354477, 0.04266265407204628, 0.686859667301178, -0.2882649302482605, 1.1143064498901367, 0.07634668797254562, -0.9016683101654053, 0.47652965784072876, -0.15032197535037994, 0.695900022983551, 0.4033293128013611, 0.5624285936355591, -1.0553135871887207, -0.5503445863723755, -0.5889228582382202, -0.9786108136177063, 0.3051048517227173, -0.10983288288116455, 0.3532639741897583, -0.11958976835012436, 0.19229541718959808, 0.07960628718137741, -0.15250274538993835, -0.9973598718643188, -0.3752167224884033, -0.0010961330262944102, 0.10051988810300827, -0.09906776249408722, -0.23943285644054413, -0.4836302399635315, -0.1283789724111557, 0.3293931186199188, -0.09429431706666946, -0.149827778339386, 0.20492412149906158, -0.07922239601612091, -0.029918765649199486, 0.15191397070884705, 0.6076618432998657, 0.8554121851921082, 0.12666462361812592, 0.12745675444602966, 0.5578787922859192, -0.436781644821167, -0.09916074573993683, -0.2459964156150818, -0.19710040092468262, -0.11559157818555832, 0.4734500050544739, 0.670013964176178, -0.2288697212934494, -0.4854702651500702, 0.16538488864898682, -0.27498388290405273, -0.34712710976600647, -0.4622352421283722, 0.04429684579372406, 0.4864185154438019, 0.39151087403297424, 0.31719619035720825, -0.31279146671295166, -0.08632740378379822, -0.5184942483901978, 0.038288868963718414, 0.33304715156555176, -0.2687598764896393, 0.040977105498313904, 0.43070828914642334, 0.15563973784446716, -0.32865139842033386, 0.7061870098114014, -0.21991561353206635, -0.38732072710990906, 1.136947751045227, 0.5711483955383301, 0.49343299865722656, -0.04255475103855133, 0.3604275584220886, 0.19651645421981812, 0.5197678208351135, -0.15677306056022644, 0.5134789347648621, -0.1421598196029663, -1.01776921749115, -0.48540014028549194, -0.636108934879303, -0.7883615493774414, 0.017427733168005943, -0.7351379990577698, 0.19978955388069153, -0.3827170729637146, -0.21302220225334167, -0.35523921251296997, 0.0976848304271698, -0.9083452224731445, 0.30009791254997253, 0.3089018166065216, 0.9135379195213318, -1.2632497549057007, 0.6756795048713684, 0.7567355036735535, -0.2776186764240265, -0.9937920570373535, 0.1967252939939499, -0.015586533583700657, -0.8036172986030579, 0.6018012166023254, -0.1543455868959427, -0.08569147437810898, -0.3661414086818695, -0.820980429649353, -1.234853744506836, 1.2015401124954224, 0.04927957430481911, -0.2478625476360321, 0.26153483986854553, 0.30152565240859985, 0.9296404123306274, -0.39576664566993713, -0.037459585815668106, 0.5973289608955383, -0.037822164595127106, 0.2840460538864136, -0.732607364654541, -0.2976570427417755, 0.02744753286242485, 0.2457803636789322, 0.0995822623372078, -0.629437267780304, 0.9702625870704651, -0.1277957260608673, -0.08438494801521301, -0.20533284544944763, 0.8875442743301392, 0.22915765643119812, 0.2173847258090973, 0.46019986271858215, 0.5694528818130493, 1.037903070449829, -0.1696883589029312, 0.8196215629577637, -0.2628650665283203, 0.3630015552043915, 1.224938154220581, -0.101834736764431, 0.6030625104904175, 0.34796255826950073, -0.31132227182388306, 0.6852123737335205, 0.9825485348701477, -0.08998745679855347, 0.11177876591682434, 0.5800387859344482, -0.4980400502681732, -0.196493461728096, -0.3436949849128723, -0.41392064094543457, 0.8366947770118713, 0.7456972599029541, -0.26926496624946594, -0.1918300837278366, -0.29837357997894287, 0.2450195848941803, 0.11984018236398697, -0.32322806119918823, 0.5894966125488281, -0.09687208384275436, -0.598793089389801, 0.581866443157196, 0.054977573454380035, 0.9516012668609619, -0.722132682800293, 0.27801641821861267, -0.8816865682601929, -0.523541271686554, -0.2230525016784668, -0.6220384836196899, 0.4578891098499298, -0.057182688266038895, -0.21275310218334198, -0.013269225135445595, 0.2181476652622223, -0.44770824909210205, -0.5333272814750671, 0.20527435839176178, 0.882486879825592, 0.23174016177654266, 0.4093279242515564, -0.36857229471206665, -0.18991759419441223, 0.1820305436849594, -0.12162531912326813, 0.4811382293701172, 0.6515569090843201, -0.30581361055374146, 0.8426644802093506, 0.4445207118988037, 0.2286161631345749, 0.24491828680038452, 0.2700037956237793, 0.4200112819671631, -0.5564457178115845, -0.6332864761352539, -0.6658865809440613, 0.162413090467453, -0.10088308155536652, -0.6197036504745483, 0.41567954421043396, 0.038875143975019455, 1.0120110511779785, 0.06196478381752968, 0.6021305918693542, -0.44724535942077637, 0.3103841245174408, -0.3866719901561737, 0.6631707549095154, -0.8752138614654541, 0.2962836027145386, 0.10349037498235703, -0.8095896244049072, -0.48160862922668457, 0.4701001048088074, -0.0653097927570343, -0.10051118582487106, 0.8788511753082275, 0.7459991574287415, 0.31281447410583496, 0.00030976097332313657, 0.4837968349456787, 0.08440211415290833, 0.3714641034603119, 0.44828101992607117, 0.6481150984764099, 0.3082868158817291, 0.4659629464149475, -0.6623386740684509, -0.2636784017086029, 0.26389405131340027, -1.1268960237503052, -0.5843478441238403, -0.7501024007797241, -0.22110065817832947, -0.2796189486980438, -0.4631789028644562, 0.9395790696144104, 0.46223118901252747, -0.5374252200126648, -0.5933963656425476, 0.0785006731748581, 0.29744234681129456, -0.38493412733078003, -0.22784475982189178, 0.2540932893753052, -0.3994015157222748, -0.9519016146659851, 0.31253764033317566, 0.02181142382323742, 0.2769547998905182, -0.6751248836517334, 0.4207463562488556, -0.003334812819957733, 0.16560101509094238, 0.4232029318809509, 0.4291688799858093, -0.8041356205940247, -0.18027876317501068, -0.15852950513362885, -0.005639815237373114, 0.013228020630776882, 0.9414371848106384, -0.4961581826210022, 0.5229691863059998, 0.5877974033355713, 0.8461285829544067, 0.2983909845352173, -0.4053123891353607, 0.7889915704727173, -1.0519973039627075, 0.08801606297492981, 0.18461646139621735, 0.5362963676452637, 0.5602197647094727, -0.2479797601699829, 0.740074098110199, 0.2431146502494812, -0.686804473400116, -0.2011469602584839, 0.6879964470863342, -0.8532299995422363, -0.41586774587631226, 1.2104394435882568, -0.11055589467287064, 0.09201253205537796, -0.16836394369602203, 0.12753033638000488, 0.1193942129611969, 0.00939234346151352, 1.303620457649231, 1.0744930505752563, -0.08037038892507553, 0.23168867826461792, -0.6002709865570068, 0.597920298576355, 0.6460000276565552, -0.7605440020561218, -0.2602842152118683, 0.4395526647567749, 0.5761095285415649, 0.23328708112239838, 0.5614758133888245, 0.08594617247581482, 0.070390485227108, 0.03800549358129501, 0.25188082456588745, 0.4743525981903076, -0.05067930743098259, -0.2979223132133484, 0.19215136766433716, 0.08141018450260162, 0.15135706961154938 ]
http://arxiv.org/abs/2406.11617v1
http://arxiv.org/pdf/2406.11617v1
DELLA-Merging: Reducing Interference in Model Merging through Magnitude-Based Sampling
2024-06-17T15:02:45
2024-06-17T15:02:45
Pala Tej Deep, Rishabh Bhardwaj, Soujanya Poria
cs.CL
cs.CL
With the proliferation of domain-specific models, model merging has emerged as a set of techniques that combine the capabilities of multiple models into one that can multitask without the cost of additional training. In this paper, we propose a new model merging technique, Drop and rEscaLe via sampLing with mAgnitude (DELLA-Merging), that employs a novel pruning technique, MAGPRUNE, which shows significant advantages over DARE and TIES. MAGPRUNE first ranks the parameters in order of their magnitude and assigns higher dropout probabilities (p) to parameters with lower ranks corresponding to lower magnitudes. To approximate the original embeddings, MAGPRUNE employs a rescaling operation on the parameters that survive the random dropping by 1/(1 - p). On three different expert models considered for merging (LM, Math, Code) and corresponding benchmark datasets (AlpacaEval, GSM8K, MBPP), DELLA shows an average improvement of 2.4 points over baseline methods employing delta parameter pruning (an improvement of 3.6 points over TIES, 1.2 points over DARE), and 11.1 points over the no-pruning baseline (TA). We release the source code at: https://github.com/declare-lab/della.
[ -0.9630799293518066, -0.4060121178627014, 0.1776597648859024, -0.06227407231926918, -0.10071668028831482, -0.2945753037929535, -0.03716827183961868, -0.4046085774898529, 0.07835278660058975, 0.40843674540519714, -0.9358363747596741, -0.1776174157857895, -0.33883070945739746, -0.08434360474348068, -0.7211484313011169, 1.0473833084106445, 0.23153044283390045, 0.17884384095668793, -0.3213590979576111, 0.13072307407855988, -0.23909904062747955, -0.5391915440559387, -0.5553889274597168, -0.07199431210756302, 0.6712421774864197, 0.3469361960887909, 0.5464804768562317, 0.2826988399028778, 1.0035287141799927, 0.26430800557136536, -0.29569536447525024, 0.8441406488418579, -0.6931126117706299, -0.1291026920080185, -0.17332473397254944, -0.5384176969528198, -0.7019147872924805, 0.548180341720581, 0.7996415495872498, 0.7846128344535828, -0.1501418501138687, 0.2640850841999054, 0.14959077537059784, 0.6597058176994324, -0.9035988450050354, -0.2677973806858063, -0.3821133077144623, 0.2652050852775574, 0.03980764001607895, -0.16565607488155365, -0.6384499669075012, -0.627273440361023, 0.04137137904763222, -0.3797610402107239, 0.5910475254058838, -0.18053889274597168, 1.0379480123519897, 0.5009695887565613, -0.5854915976524353, 0.5485363006591797, -0.948599636554718, 1.0578910112380981, -0.681544840335846, 0.3615134060382843, 0.3648965656757355, 0.24667634069919586, -0.15052519738674164, -0.4313887059688568, -0.31836357712745667, 0.025694523006677628, 0.08093636482954025, -0.012970269657671452, 0.039182331413030624, -0.1625576615333557, 0.012485413812100887, 0.5493119955062866, 0.10690254718065262, 0.10642470419406891, -0.8258687257766724, -0.15355077385902405, 0.9551150798797607, 0.13623535633087158, -0.14114262163639069, 0.09459492564201355, -0.3468741774559021, -0.17000725865364075, -0.9047384262084961, -0.16331613063812256, 0.44282543659210205, 0.36079642176628113, 0.13086910545825958, 0.6802964210510254, -0.16504572331905365, 0.8478319048881531, 0.509198784828186, -0.1342078447341919, 0.3791980445384979, -0.618828535079956, -0.2742244303226471, -0.5687707662582397, 0.5987721681594849, 0.8586760759353638, 0.043404605239629745, 0.09785506129264832, 0.07950913161039352, -0.6961802840232849, 0.46856021881103516, -0.9535226821899414, -0.5754886269569397, 0.19553525745868683, -0.5410887598991394, -0.6388318538665771, 0.13080748915672302, -0.6265021562576294, -0.35555365681648254, -0.41829243302345276, 0.47399723529815674, -0.31274929642677307, -0.3859657943248749, -0.125905379652977, -0.05676442012190819, 0.030970539897680283, 0.5201559066772461, -0.40260618925094604, 0.017745058983564377, 0.7127121090888977, 0.777320384979248, -0.11606802046298981, -0.31373316049575806, -0.9016398191452026, -0.14740917086601257, -0.4425545632839203, 0.4973558485507965, -0.25161969661712646, -1.0123540163040161, -0.26468625664711, -0.09306813031435013, -0.15032482147216797, -0.6253882646560669, 0.7266354560852051, -0.431244432926178, 0.38434964418411255, -0.36330458521842957, -0.5564489364624023, -0.7122988104820251, 0.11404100805521011, -0.8256988525390625, 0.8325182795524597, 0.05711570754647255, -0.6445197463035583, 0.5733561515808105, -0.16778765618801117, -0.033727195113897324, -0.17316974699497223, -0.01873951405286789, -0.7158862948417664, 0.39059507846832275, 0.22228491306304932, 0.4069676697254181, -0.468963623046875, 0.040974635630846024, -0.3945506513118744, -0.3262878358364105, 0.1376635730266571, -0.40793493390083313, 0.5632025003433228, 0.28360870480537415, 0.2253870964050293, 0.13902118802070618, -0.6289475560188293, 0.35561859607696533, -0.3888304829597473, -0.12877625226974487, -0.06563140451908112, -0.07070410251617432, 0.050892554223537445, 0.15850113332271576, 0.22099937498569489, -0.16646812856197357, 0.577335774898529, -0.32067418098449707, 0.18434615433216095, 0.3101133406162262, 0.23827224969863892, 0.8852563500404358, -0.8448216915130615, 0.3068769872188568, 0.06724318116903305, 0.5124276280403137, 0.2409662902355194, -0.5286881923675537, -0.6528228521347046, -0.8445576429367065, 0.8859885334968567, 0.2742798626422882, -0.4311702251434326, 0.7101190090179443, -0.36887526512145996, -0.8883917331695557, -0.6539146304130554, -0.209246426820755, 0.24049706757068634, 0.5570977330207825, 0.3627336025238037, -0.4352560043334961, -0.15629996359348297, -1.150359869003296, 0.059886571019887924, -0.044590964913368225, -0.4575936198234558, 0.2889271080493927, 0.08426687121391296, 0.287654846906662, 1.2951440811157227, -0.7416267991065979, -0.5808277130126953, 0.0061698188073933125, 0.3704095780849457, 0.18503910303115845, 0.7829389572143555, 0.6846616268157959, -1.010374903678894, -0.3875672519207001, -0.0661979541182518, -0.3982081711292267, -0.09362569451332092, 0.11501044034957886, 0.06242559477686882, -0.14262127876281738, -0.03265676274895668, -0.6536717414855957, 0.678040623664856, 0.5118542909622192, 0.03628827631473541, 0.7790444493293762, -0.17275471985340118, 0.8819413185119629, -1.3987747430801392, -0.012050497345626354, 0.026429645717144012, 0.11416619271039963, -0.9473118185997009, 0.23513075709342957, 0.37880653142929077, -0.09423046559095383, -0.7806121110916138, 0.20781299471855164, -0.5561485290527344, 0.08303367346525192, -0.22596503794193268, -0.26521772146224976, 0.1871315836906433, 0.2662661075592041, -0.08350368589162827, 0.8138787746429443, 0.32274460792541504, -0.6076763272285461, 0.1312585026025772, 0.2144189178943634, -0.07118339836597443, 0.39772674441337585, -0.3041446805000305, -0.06269782036542892, 0.06875914335250854, 0.1406000852584839, -0.718231737613678, -0.05799928680062294, 0.11672284454107285, -0.5110664963722229, 0.2111322283744812, -0.526712954044342, -0.3700355887413025, -0.20482011139392853, -0.6886425018310547, 0.4589819610118866, 0.5830569267272949, -0.43814241886138916, 0.8403764367103577, 0.2724337875843048, -0.10387659072875977, -0.4930807650089264, -0.6329007148742676, -0.3333337903022766, -0.5253163576126099, -0.7552124261856079, 0.5733652114868164, -0.1621761918067932, -0.03074871562421322, 0.0730060487985611, -0.16836097836494446, -0.6322172284126282, -0.2005486786365509, 0.24553649127483368, 0.7523325085639954, 0.3242768943309784, 0.3990795910358429, 0.25393083691596985, -0.0017719647148624063, -0.2223934531211853, 0.10735564678907394, 0.36447638273239136, 0.2903839647769928, -0.3769363760948181, -0.8439546227455139, 0.27439579367637634, 0.9161249399185181, -0.3736816346645355, 0.9695519804954529, 0.6197770237922668, -0.10158541798591614, -0.13351865112781525, -0.7715182304382324, -0.6658490896224976, -0.40814197063446045, 0.29388996958732605, -0.6727680563926697, -0.6309269070625305, 0.6694808602333069, -0.41229644417762756, 0.5875809192657471, 0.29390978813171387, 0.2415487915277481, 0.16067376732826233, 0.8924772143363953, 0.9489763975143433, -0.18250061571598053, 0.4392184615135193, -0.5464642643928528, 0.6563543677330017, -0.8629397749900818, -0.28890329599380493, -0.6098702549934387, -0.572875440120697, -0.20844855904579163, -0.904335618019104, 0.27330973744392395, 0.2954615652561188, 0.17516367137432098, 0.30637526512145996, -0.7795729637145996, 0.4152229130268097, 0.5157396793365479, 0.10432173311710358, 0.3867110013961792, 0.3166169226169586, 0.1814592480659485, -0.33864784240722656, -0.7625738978385925, 0.172906756401062, 1.101045846939087, 0.09244945645332336, 0.5390496850013733, -0.09859900921583176, 1.0014108419418335, -0.043244291096925735, 0.33093157410621643, -1.0483793020248413, 0.7170993685722351, -0.09924498200416565, -0.41530925035476685, -0.24046173691749573, -0.7910935878753662, -0.47373077273368835, 0.637201189994812, -0.5991187691688538, -0.3655143976211548, 0.7059029936790466, 0.12025700509548187, -0.6974392533302307, 0.44362136721611023, -0.7859102487564087, 0.19880220293998718, 0.5460976958274841, -0.2591530680656433, -0.4586951434612274, -0.10644212365150452, 0.570036768913269, -0.5397167205810547, 0.29291388392448425, -0.37235012650489807, -0.2608069181442261, 0.5257074236869812, -0.7734802961349487, 0.5602222681045532, 0.08013644069433212, -0.18790502846240997, 0.20374158024787903, 0.39475569128990173, 0.6078568696975708, -0.17912960052490234, -0.2113897055387497, 0.37169769406318665, -0.14140921831130981, 0.00500466488301754, -0.7775583863258362, 0.8132362961769104, -0.581753671169281, -0.4037282466888428, 0.046104151755571365, -1.0132020711898804, -0.15106560289859772, -0.15537314116954803, 0.3894341289997101, 0.6981456875801086, 0.2619483768939972, 0.3308885395526886, 0.18540321290493011, 0.37905436754226685, 0.14025993645191193, 0.6185118556022644, -0.3982127606868744, -0.6703982353210449, 0.6983442902565002, 0.41528981924057007, 0.21698014438152313, -0.01518626231700182, -0.060818515717983246, -0.2500096559524536, -0.5412013530731201, 0.09064466506242752, 0.3271578848361969, -0.2983238101005554, -0.5302118062973022, -0.3323267996311188, -0.48259231448173523, -0.20133820176124573, -0.23430688679218292, -0.4967513084411621, -0.6025030016899109, -0.15972596406936646, 0.1577601432800293, 0.488409161567688, 0.2863515019416809, -0.4415951371192932, 0.28677764534950256, -1.3419049978256226, -0.16801342368125916, 0.13121870160102844, -0.16092915832996368, -0.017432114109396935, -0.7239688038825989, -0.1739034205675125, 0.09932363778352737, -0.09062642604112625, -0.9824551343917847, 0.7517648935317993, 0.1794171780347824, 0.38206198811531067, 0.3777705132961273, 0.41501402854919434, 0.9655817747116089, -0.2720274329185486, 0.5863251686096191, 0.537416398525238, -0.7319265007972717, 0.4284985363483429, -0.24566926062107086, 0.009116817265748978, 0.6594097018241882, 0.5367434024810791, -0.13744471967220306, -0.5322902202606201, -0.6088518500328064, -0.8639594912528992, 0.6542980074882507, 0.4055473506450653, -0.3733852803707123, 0.136151984333992, 0.35320383310317993, -0.2764912545681, 0.2775338590145111, -0.023423736914992332, -0.18084502220153809, 0.6256524920463562, -0.1512819230556488, 0.02006959170103073, -0.1160242110490799, -0.6500858664512634, -0.6035972237586975, 0.4299112558364868, 0.14467480778694153, -0.19065669178962708, 0.08220133185386658, 0.10339845716953278, 0.04797334969043732, -0.13474108278751373, 0.22078777849674225, 0.6432618498802185, -0.05072452872991562, -0.17330600321292877, 0.32841092348098755, -0.49483737349510193, -0.0015753540210425854, -0.007476260885596275, -0.4826098680496216, -0.023093145340681076, -0.00884359423071146, 0.14123520255088806, 0.49678197503089905, -0.21047385036945343, 0.29136934876441956, -0.06346064805984497, -0.8366667032241821, 0.19354449212551117, 0.12294527143239975, -0.10085083544254303, 0.3099614679813385, 0.49606043100357056, 0.5808581113815308, 0.3824024200439453, 0.031890932470560074, 0.3468061685562134, 0.2844923734664917, -0.14477476477622986, -0.16093581914901733, 0.41653087735176086, 0.5939122438430786, -0.16563951969146729, 1.06430983543396, -0.08596592396497726, -0.20646558701992035, 0.7378989458084106, -0.07952571660280228, 0.7720534801483154, -0.26517629623413086, 0.08456441760063171, 0.6799025535583496, -0.03188581019639969, -0.21095918118953705, -0.04378494247794151, -0.16795681416988373, -0.7035207748413086, -0.8987158536911011, -0.34729504585266113, -0.3918725550174713, 0.024545999243855476, -1.0228883028030396, 0.30743828415870667, -0.2144356071949005, -0.7926862239837646, -0.10332409292459488, 0.36079564690589905, -0.317974328994751, -0.1191362738609314, -0.36413270235061646, 0.9000065326690674, -0.8480086922645569, 0.7920301556587219, 0.5174724459648132, -0.36118730902671814, -1.0508041381835938, 0.04589546471834183, 0.4372446537017822, 0.03600421920418739, 0.7417254447937012, 0.1881718933582306, -0.054727472364902496, 0.274223655462265, -0.23702402412891388, -0.8779802322387695, 1.0947736501693726, 0.18824906647205353, -0.6396698355674744, 0.13212165236473083, -0.6009066104888916, -0.041383448988199234, -0.2570275664329529, 0.039669666439294815, 0.7144707441329956, 0.3679664134979248, 0.6750961542129517, -1.2930631637573242, -0.24261759221553802, -0.18821892142295837, -0.22576399147510529, 0.8264733552932739, -0.487136572599411, 1.1159327030181885, -0.43785127997398376, -0.35510316491127014, 0.35341107845306396, 0.6217566132545471, 0.35021668672561646, 0.0011919235112145543, 0.539616048336029, 0.8747157454490662, 0.908523440361023, -0.16388235986232758, 0.5144922137260437, -0.7125720977783203, 0.87428218126297, 1.0993452072143555, -0.2714730203151703, 1.0857104063034058, 0.38866809010505676, -0.3963983356952667, -0.17680229246616364, 0.5563666224479675, -0.39846599102020264, 0.4291251599788666, -0.29646942019462585, -0.560779869556427, -0.42463400959968567, -0.04026982560753822, -0.5176196694374084, 0.1160256490111351, -0.0637819692492485, 0.023905117064714432, -0.3864263594150543, -0.1276210993528366, 0.011536101810634136, -0.142649307847023, -0.2915091812610626, 0.5878446102142334, -0.14716215431690216, -0.5514929294586182, 0.4976901412010193, -0.2700595557689667, 0.7982408404350281, -0.35574865341186523, -0.044043831527233124, -0.2098686546087265, 0.2643384337425232, -0.40991589426994324, -0.5921832323074341, 0.417214572429657, -0.3428700864315033, -0.40998953580856323, 0.06215529516339302, 0.557101845741272, -0.6181970238685608, -0.5203555226325989, 0.010252628475427628, 0.5832054018974304, 0.34308212995529175, -0.21667715907096863, -0.4544757604598999, 0.15046343207359314, 0.10859896242618561, -0.002693779766559601, 0.33485278487205505, -0.004115499556064606, 0.12113955616950989, 0.7942746877670288, 0.8680972456932068, 0.33084264397621155, -0.02257624641060829, 0.33876505494117737, 1.0418181419372559, -0.2508496344089508, -0.2042168229818344, -0.5035393834114075, 0.48585742712020874, -0.4227057993412018, -0.0483357235789299, 0.8265590667724609, 0.5879306197166443, 0.4918884336948395, -0.18452779948711395, 0.17849481105804443, -0.10411948710680008, 0.4630066454410553, -0.17289526760578156, 0.9010248780250549, -0.7810125350952148, 0.12651459872722626, 0.3444165587425232, -1.0441025495529175, -0.2736729085445404, 0.4658433496952057, -0.5087965726852417, 0.07453467696905136, 0.45564448833465576, 1.0868282318115234, 0.16620881855487823, -0.4000430405139923, 0.49868184328079224, -0.22876623272895813, 0.31183502078056335, 0.4129074513912201, 0.4025142788887024, -0.3258555829524994, 0.5308550000190735, -0.4937850832939148, -0.27518966794013977, -0.3850483298301697, -0.4964805245399475, -0.7033425569534302, -0.6011025309562683, -0.4418691098690033, 0.05220543220639229, -0.2813040018081665, 0.6194600462913513, 1.22211492061615, -0.25866463780403137, 0.09929461777210236, 0.14300116896629333, -0.017472755163908005, -0.42283666133880615, -0.25294360518455505, 0.3382704555988312, -0.4460972845554352, -1.2954860925674438, 0.34822267293930054, 0.185890793800354, 0.05803794786334038, -0.19113916158676147, 0.15772004425525665, 0.006108757574111223, 0.1725132316350937, 0.40177053213119507, 0.055250126868486404, -0.5181914567947388, 0.021281417459249496, -0.22878699004650116, 0.17427858710289001, -0.24321423470973969, 0.7234569191932678, -0.7719305753707886, 0.30449825525283813, 0.9188868999481201, 0.2968290150165558, 0.2754470109939575, 0.4332805275917053, 0.8550835847854614, -0.7653843760490417, 0.40607839822769165, 0.09917134791612625, 0.06175541132688522, 0.11643754690885544, -0.331441193819046, 0.7375979423522949, 0.13392318785190582, -0.521467924118042, -1.1127653121948242, 0.265613853931427, -0.8412168622016907, -0.19509848952293396, 0.6800312995910645, -0.13928449153900146, -0.16976863145828247, 0.29009661078453064, -0.19587689638137817, 0.09331940114498138, -0.19056043028831482, 0.8826776146888733, 0.6064819097518921, 0.06767265498638153, -0.28146398067474365, -0.27941009402275085, 0.5637913346290588, 0.4929007589817047, -0.4882478415966034, -0.029382850974798203, 0.6625969409942627, 0.2710663378238678, 0.3845112919807434, 0.20264564454555511, -0.3577895760536194, 0.6285106539726257, 0.057387154549360275, 0.42687326669692993, -0.4292147755622864, -0.6337648630142212, -0.41716066002845764, 0.4807308316230774, -0.07430683076381683, -0.4415419399738312 ]
http://arxiv.org/abs/2406.11614v1
http://arxiv.org/pdf/2406.11614v1
Intrinsic Evaluation of Unlearning Using Parametric Knowledge Traces
2024-06-17T15:00:35
2024-06-17T15:00:35
Yihuai Hong, Lei Yu, Shauli Ravfogel, Haiqin Yang, Mor Geva
cs.CL
cs.CL, cs.AI
The task of "unlearning" certain concepts in large language models (LLMs) has attracted immense attention recently, due to its importance for mitigating undesirable model behaviours, such as the generation of harmful, private, or incorrect information. Current protocols to evaluate unlearning methods largely rely on behavioral tests, without monitoring the presence of unlearned knowledge within the model's parameters. This residual knowledge can be adversarially exploited to recover the erased information post-unlearning. We argue that unlearning should also be evaluated internally, by considering changes in the parametric knowledge traces of the unlearned concepts. To this end, we propose a general methodology for eliciting directions in the parameter space (termed "concept vectors") that encode concrete concepts, and construct ConceptVectors, a benchmark dataset containing hundreds of common concepts and their parametric knowledge traces within two open-source LLMs. Evaluation on ConceptVectors shows that existing unlearning methods minimally impact concept vectors, while directly ablating these vectors demonstrably removes the associated knowledge from the LLMs and significantly reduces their susceptibility to adversarial manipulation. Our results highlight limitations in behavioral-based unlearning evaluations and call for future work to include parametric-based evaluations. To support this, we release our code and benchmark at https://github.com/yihuaihong/ConceptVectors.
[ -0.09109233319759369, -0.6900945901870728, 0.5067808032035828, -0.13367418944835663, -0.37562382221221924, 0.3568076491355896, -0.4437273442745209, 0.05551096051931381, -0.3416561782360077, 0.4486308693885803, -0.36968013644218445, -0.6842947006225586, -0.42817655205726624, -0.4415556490421295, -0.7768288254737854, 0.9671629667282104, -0.07159456610679626, 0.053071074187755585, -0.6884360313415527, -0.17848649621009827, -0.24142134189605713, -0.3584182560443878, -0.49605897068977356, -0.49804437160491943, 0.3720666170120239, 0.2739824950695038, 0.2220415323972702, 0.35367336869239807, 0.3206291198730469, 0.3580445349216461, -0.30503666400909424, 0.23461632430553436, -0.759631872177124, 0.18279607594013214, -0.23818282783031464, -0.37186184525489807, 0.049278583377599716, 0.08805529028177261, 0.8043330311775208, 0.9125528335571289, -0.390967458486557, 0.4059996008872986, 0.4871470630168915, 0.7617099285125732, -0.7826120853424072, 0.23369626700878143, -0.6642969250679016, -0.079222172498703, -0.06008663401007652, -0.4171302616596222, -0.33055493235588074, -0.4307015836238861, 0.09589125216007233, -0.49326375126838684, 0.19640539586544037, -0.2698686122894287, 0.6721308827400208, 0.19715343415737152, -0.21634437143802643, -0.39024123549461365, -0.9845582842826843, 0.7853408455848694, -0.38920801877975464, 0.601373016834259, 0.41850119829177856, 0.22024990618228912, -0.3104029595851898, -0.7811208367347717, -0.3064420819282532, -0.2815589904785156, 0.166933074593544, 0.17120815813541412, -0.41251125931739807, -0.12757264077663422, 0.08795445412397385, 0.15382157266139984, -0.31221339106559753, 0.09636517614126205, -0.7322284579277039, -0.15627719461917877, 0.3589136004447937, 0.12461013346910477, 0.1069369688630104, -0.037341006100177765, -0.44195884466171265, -0.07984904199838638, -0.9506080746650696, 0.22620680928230286, 0.5561733841896057, 0.09400590509176254, -0.018426617607474327, 0.6279172897338867, -0.29513445496559143, 0.45909205079078674, -0.06613117456436157, -0.018477139994502068, 0.3249953091144562, -0.11404561251401901, 0.04405155032873154, -0.17018060386180878, 0.7263994812965393, 0.22770486772060394, 0.16749557852745056, -0.7130559682846069, -0.1599505990743637, 0.17266219854354858, 0.38117536902427673, -0.6109247803688049, -0.2515333890914917, 0.1001528948545456, -0.4343867301940918, -0.265411376953125, 0.12572066485881805, -0.7895113229751587, -0.5247951745986938, -0.40669775009155273, 0.4414003789424896, -0.7493961453437805, -0.04678715020418167, -0.0057165902107954025, -0.28983351588249207, 0.3477635681629181, 0.3273988962173462, -0.3239557445049286, 0.11537322402000427, 0.7854734659194946, 0.7207018733024597, -0.18092548847198486, -0.32497966289520264, -0.38297006487846375, 0.10249035805463791, -0.4605018198490143, 0.7079741358757019, -0.7160155773162842, -0.5610784888267517, 0.019495785236358643, -0.2889365553855896, 0.18484678864479065, -0.6583147048950195, 0.5340672731399536, -0.46478554606437683, -0.034563805907964706, -0.4899778664112091, -0.8090277910232544, -0.29192063212394714, 0.020428432151675224, -0.15689148008823395, 1.0153876543045044, 0.11078517884016037, -0.6738579273223877, 0.3065529465675354, -0.2668529450893402, -0.237782284617424, 0.23743446171283722, -0.43093398213386536, -0.3006191849708557, 0.25107887387275696, -0.18340575695037842, 0.44734254479408264, -0.4966135323047638, 0.3056395351886749, -0.4862538278102875, -0.41449984908103943, 0.39187973737716675, -0.4721127152442932, 0.9196571707725525, 0.029385214671492577, -0.27647706866264343, 0.10939029604196548, -0.9768257141113281, -0.09468204528093338, 0.09184183180332184, -0.276372492313385, -0.7080010175704956, 0.2645261585712433, -0.5479410886764526, 0.2096864879131317, 0.21991178393363953, -0.7145501971244812, -0.13641133904457092, -0.1380447894334793, 0.354724258184433, 1.0526765584945679, 0.29114583134651184, 0.4009350538253784, -0.2651437222957611, 0.42616233229637146, 0.019814856350421906, 0.09791299700737, 0.15936584770679474, -0.2741399109363556, -0.9230105876922607, -0.13537539541721344, 0.028581298887729645, -0.020587116479873657, -0.8544979691505432, 0.33954131603240967, -0.1529548168182373, -0.7315759062767029, -0.39616215229034424, 0.49754399061203003, 0.8051031827926636, 0.7776973843574524, 0.29277849197387695, -0.005283980630338192, -0.35111570358276367, -0.6430126428604126, -0.21406270563602448, -0.462797075510025, -0.16523247957229614, -0.12833580374717712, 0.5535164475440979, -0.07817955315113068, 0.7669385075569153, -0.49325186014175415, -0.1189451739192009, -0.06578744947910309, 0.3350640535354614, -0.2796939015388489, 0.292860746383667, 0.1699812114238739, -0.41458308696746826, 0.0780314952135086, -0.0865197479724884, -0.9554699063301086, 0.1178680807352066, 0.07545068114995956, -0.16559909284114838, -0.10318876802921295, 0.7886991500854492, -0.5828831791877747, 0.4080822765827179, 0.17109474539756775, -0.24266931414604187, 0.5453318953514099, -0.34792256355285645, -0.1494373083114624, -0.5347073674201965, 0.17846594750881195, -0.003517983015626669, 0.13019591569900513, -0.48702478408813477, 0.30575641989707947, 0.19148747622966766, 0.08128874748945236, -0.6712018847465515, 0.4513530731201172, -0.4822162091732025, -0.06904124468564987, -0.07508175820112228, 0.1950632929801941, -0.04698258638381958, 0.6399000883102417, -0.13207241892814636, 0.5429501533508301, 0.4769326448440552, -0.8980811238288879, 0.4286327064037323, 0.24976617097854614, -0.531221330165863, 0.5266502499580383, -0.4909968376159668, 0.24156814813613892, -0.3571096956729889, -0.03831495717167854, -0.9958056211471558, 0.3584018051624298, 0.26683756709098816, -0.5494798421859741, 0.2219277173280716, -0.10902569442987442, -0.3634369969367981, -0.21749451756477356, -0.5658397078514099, 0.10904145985841751, 0.7674911022186279, -0.6285827159881592, 0.37320515513420105, 0.394990473985672, 0.12336204946041107, -0.4480980336666107, -0.29618990421295166, -0.21346771717071533, -0.4700981378555298, -0.1722821295261383, 0.15091238915920258, -0.04462305083870888, -0.23359844088554382, 0.19443006813526154, -0.3885118365287781, 0.0837540328502655, 0.12133911997079849, 0.40917783975601196, 0.1796586811542511, 0.07031530886888504, 0.22923387587070465, -0.07663533836603165, -0.06174573302268982, 0.5416057109832764, -0.4034910500049591, 0.4873303771018982, -0.12361987680196762, -0.5835500955581665, -0.017197223380208015, -0.19604341685771942, 0.4557144045829773, -0.41902247071266174, 0.6391394734382629, 0.6428490877151489, -0.531457245349884, -0.46677863597869873, -0.3134445548057556, 0.025074902921915054, -0.5016246438026428, 0.46985772252082825, -0.07519454509019852, -0.6992319822311401, 0.5681018829345703, -0.23967806994915009, 0.005769021809101105, 0.23793287575244904, 0.5618017315864563, -0.23037494719028473, 0.7154176831245422, 0.44147658348083496, 0.0287035945802927, 0.18674148619174957, -0.5443851947784424, 0.1499270498752594, -1.139182448387146, -0.6963843107223511, -0.5414236783981323, -0.09466530382633209, -0.48149335384368896, -0.5242733955383301, 0.35149216651916504, 0.247849702835083, -0.3387743830680847, 0.07481981068849564, -0.0865161195397377, 0.39632517099380493, 0.5877392292022705, 0.4017391800880432, 0.32439687848091125, -0.0005414863699115813, -0.41255757212638855, 0.12572146952152252, -0.4408958852291107, -0.4125002324581146, 1.5591191053390503, 0.29748430848121643, 0.8078409433364868, 0.05184164643287659, 0.6039563417434692, 0.09414391964673996, 0.28021690249443054, -0.6899747252464294, 0.677520215511322, -0.20687684416770935, -0.12252941727638245, -0.421932578086853, -0.623065710067749, -0.762408435344696, 0.19466720521450043, 0.031156379729509354, -0.8619675040245056, 0.12535710632801056, 0.031843483448028564, -0.3202073574066162, 0.4621949791908264, -0.3492053747177124, 0.6012563109397888, -0.24823440611362457, -0.49498501420021057, -0.3446715474128723, -0.223648801445961, 0.532814621925354, -0.4399394094944, -0.04946389049291611, -0.048305731266736984, 0.07196687906980515, 0.9849513173103333, -0.43165791034698486, 0.9414319396018982, -0.3861539959907532, -0.25808829069137573, 0.4251449406147003, 0.14961838722229004, 0.39083755016326904, 0.059359971433877945, 0.12489989399909973, 0.14703626930713654, -0.15212512016296387, -0.19179606437683105, -0.8154075145721436, 0.6875306963920593, -0.7744386196136475, -0.5266562700271606, -0.16644711792469025, -0.33024752140045166, -0.47842374444007874, 0.09542946517467499, 0.24088476598262787, 0.4321088492870331, -0.4451178312301636, 0.36655402183532715, 0.7828174233436584, -0.45520877838134766, 0.38337281346321106, 0.8702834248542786, -0.13370829820632935, -0.008811775594949722, 1.313438892364502, -0.029350651428103447, 0.058415982872247696, 0.44032391905784607, 0.40021055936813354, -0.5292267203330994, -0.7404376864433289, -0.09542422741651535, 0.16912038624286652, -0.8644738793373108, -0.2343551218509674, -0.3350640535354614, -0.23087717592716217, -0.10461736470460892, 0.11006084084510803, -0.46289655566215515, -0.19842398166656494, -0.16168661415576935, -0.21806885302066803, 0.23172630369663239, 0.8165377974510193, -0.09638189524412155, 0.10268528014421463, -0.5527963638305664, 0.3651978075504303, 0.38017889857292175, 0.3114267587661743, 0.23614852130413055, -0.8110759854316711, -0.2682020366191864, 0.1760185807943344, -0.34775328636169434, -0.6110362410545349, 0.3115442991256714, 0.037747323513031006, 0.7981778979301453, 0.7110562920570374, 0.17555858194828033, 0.749986469745636, -0.4335823655128479, 0.39823246002197266, 0.12136279046535492, -0.9813657999038696, 0.3987606465816498, -0.3884151875972748, 0.06308259069919586, 0.4322900176048279, 0.3611708879470825, -0.524804413318634, -0.6654818058013916, -0.6130363941192627, -0.8352320194244385, 0.5992665886878967, 0.10451953113079071, -0.03251109644770622, 0.03979723900556564, 0.4693666398525238, 0.05082579329609871, 0.4507022202014923, -0.14006106555461884, -0.3213805556297302, -0.0564047172665596, -0.06047407165169716, -0.3561301827430725, -0.25325921177864075, -0.17204757034778595, -0.4095941483974457, 0.4757692217826843, 0.16147664189338684, 0.25429147481918335, -0.21110032498836517, -0.3273991048336029, -0.13250133395195007, 0.09481700509786606, 0.3327803611755371, 0.9506822824478149, -0.3307555913925171, 0.1846848726272583, 0.10187572240829468, -0.3337204158306122, 0.33431559801101685, -0.07845840603113174, -0.48379018902778625, -0.17729847133159637, 0.41305315494537354, 0.5924829840660095, 0.4562409222126007, -0.701140284538269, 0.5177793502807617, -0.048622407019138336, -0.03891046717762947, -0.40544915199279785, -0.09188370406627655, 0.18580138683319092, 0.07886120676994324, 0.19502995908260345, -0.08157353103160858, 0.10395362973213196, -0.5127532482147217, 0.48035141825675964, 0.5705233216285706, -0.4818721413612366, -0.6066725850105286, 0.49214011430740356, 0.1813092678785324, 0.060710396617650986, 0.6378456950187683, -0.28540128469467163, -0.38643187284469604, 0.48896685242652893, 0.39054760336875916, 0.9776357412338257, -0.37197449803352356, 0.6247937679290771, 0.005705130752176046, 0.3411101698875427, 0.06123070791363716, 0.004598172381520271, -0.10069756209850311, -0.7667873501777649, -0.21739085018634796, -0.7320645451545715, -0.33793947100639343, 0.5037769079208374, -0.9343504309654236, 0.1323104351758957, -0.5806224346160889, 0.388197124004364, -0.030659282580018044, -0.18146321177482605, -0.7117206454277039, 0.03702211380004883, 0.01982942968606949, 0.6541658043861389, -0.8673912882804871, 0.8060234785079956, 0.8448159098625183, -0.45628881454467773, -0.5195304751396179, 0.23397912085056305, 0.19034087657928467, -1.060843825340271, 0.870572566986084, -0.15983790159225464, -0.21942512691020966, -0.17741836607456207, -0.20487232506275177, -0.8088306188583374, 0.8633594512939453, 0.5120875835418701, -0.4211903512477875, 0.027604345232248306, 0.24824519455432892, 0.6220187544822693, 0.1667776256799698, 0.24671506881713867, 0.6406930685043335, 0.16744615137577057, 0.1061515212059021, -0.21690966188907623, 0.12555384635925293, -0.17699162662029266, -0.0501694455742836, 0.2672140896320343, -0.5467373132705688, 0.8309536576271057, -0.04410760477185249, -0.32868626713752747, -0.11447623372077942, 0.639891505241394, 0.05137546733021736, 0.021234920248389244, 0.33081698417663574, 0.6179075241088867, 0.8299843072891235, 0.10918679088354111, 0.7173964977264404, -0.3329497277736664, 0.2626894414424896, 1.0623133182525635, -0.0983552485704422, 0.8465701937675476, 0.39054951071739197, -0.2686430513858795, 0.2666940689086914, 0.3163994252681732, 0.18108497560024261, 0.6291091442108154, 0.41636472940444946, -0.22920218110084534, -0.09263576567173004, 0.03322191163897514, -0.13037599623203278, 0.7098546028137207, 0.47504696249961853, -0.014785520732402802, -0.5415098071098328, -0.07800077646970749, 0.03837934508919716, 0.11912292242050171, -0.2942896783351898, 0.6980152726173401, 0.07972440123558044, -0.5134667754173279, 0.7429308891296387, 0.1273331195116043, 0.34333336353302, -0.7051151990890503, -0.050800174474716187, -0.46237003803253174, 0.40799760818481445, -0.04250183328986168, -0.6109765768051147, 0.23140829801559448, 0.19324611127376556, 0.24024224281311035, -0.20816084742546082, 0.5923052430152893, -0.5452315807342529, -0.48172831535339355, 0.585682213306427, 0.572177529335022, -0.04741654172539711, -0.12554796040058136, -0.647639274597168, -0.12508690357208252, 0.11091754585504532, -0.19250670075416565, 0.5721330046653748, 0.49708354473114014, -0.044550471007823944, 0.8809583187103271, 0.6676637530326843, 0.20615611970424652, -0.05199648439884186, 0.12734343111515045, 1.1397404670715332, -0.5482149124145508, -0.2795216143131256, -0.9093717932701111, 0.35276326537132263, 0.25868192315101624, -0.3923643231391907, 1.0410943031311035, 0.5255904793739319, 1.0799165964126587, 0.22557862102985382, 0.8460208773612976, 0.30449244379997253, 0.5892670154571533, -0.641086757183075, 0.6883483529090881, -0.46183109283447266, 0.5337707996368408, -0.3891112506389618, -0.8378995060920715, 0.14620274305343628, 0.32530808448791504, -0.1723800152540207, -0.0679316520690918, 0.7191624641418457, 0.505205512046814, -0.041656363755464554, -0.1450808346271515, 0.41759681701660156, 0.15074458718299866, 0.2270738184452057, 0.34153228998184204, 1.2591540813446045, -0.06426716595888138, 0.6369903087615967, -0.5800237059593201, -0.2727508246898651, 0.19777314364910126, -0.6428349018096924, -1.0159202814102173, -0.777205765247345, -0.4089936912059784, -0.28280460834503174, 0.37841132283210754, 0.426506370306015, 0.12069202214479446, -0.6771621704101562, -0.38919779658317566, -0.28371065855026245, 0.10861334204673767, -0.14339065551757812, -0.1799498051404953, 0.5552447438240051, -0.4031526446342468, -0.40613627433776855, 0.5439777970314026, 0.2301771491765976, -0.11950401961803436, -0.5757912397384644, -0.22431452572345734, -0.027335943654179573, -0.13388575613498688, 0.5491800308227539, 0.3995549976825714, -0.6181594133377075, -0.26671111583709717, -0.16960835456848145, 0.2986396849155426, -0.2357322722673416, 0.8730303049087524, -0.8425732851028442, 0.3195965588092804, 0.4397478699684143, 0.6123034358024597, 0.3581736087799072, 0.0792914479970932, 0.5305761694908142, -1.0302882194519043, 0.15244434773921967, -0.012164294719696045, 0.41900739073753357, 0.2771563231945038, -0.12065579742193222, 0.28731393814086914, 0.2775011658668518, -0.11637372523546219, -1.0283229351043701, 0.02452535554766655, -0.36117368936538696, -0.47188180685043335, 1.3094260692596436, -0.44764575362205505, -0.21175678074359894, -0.054097168147563934, 0.30851683020591736, 0.43304717540740967, -0.26231735944747925, 0.7084659934043884, 0.5175907611846924, 0.05473249405622482, 0.07993204891681671, -0.405063271522522, 0.49790728092193604, 0.3002607822418213, -0.6503812074661255, 0.3189724385738373, 0.32501110434532166, 0.39505335688591003, -0.06409663707017899, 0.3507966995239258, -0.27832791209220886, 0.005725623574107885, -0.17652200162410736, 0.18606828153133392, -0.165370374917984, -0.48182374238967896, -0.6062542200088501, -0.09193123131990433, 0.06681851297616959, -0.49727872014045715 ]
http://arxiv.org/abs/2406.11598v1
http://arxiv.org/pdf/2406.11598v1
Understanding "Democratization" in NLP and ML Research
2024-06-17T14:47:06
2024-06-17T14:47:06
Arjun Subramonian, Vagrant Gautam, Dietrich Klakow, Zeerak Talat
cs.CL
cs.CL, cs.CY
Recent improvements in natural language processing (NLP) and machine learning (ML) and increased mainstream adoption have led to researchers frequently discussing the "democratization" of artificial intelligence. In this paper, we seek to clarify how democratization is understood in NLP and ML publications, through large-scale mixed-methods analyses of papers using the keyword "democra*" published in NLP and adjacent venues. We find that democratization is most frequently used to convey (ease of) access to or use of technologies, without meaningfully engaging with theories of democratization, while research using other invocations of "democra*" tends to be grounded in theories of deliberation and debate. Based on our findings, we call for researchers to enrich their use of the term democratization with appropriate theory, towards democratic technologies beyond superficial access.
[ -0.4600512981414795, -0.8508410453796387, 0.2872650921344757, -0.022715600207448006, -0.3595319092273712, 0.1407749354839325, -0.5067493319511414, -0.423899382352829, 0.3874884247779846, 0.45155900716781616, -0.19277970492839813, -0.2246665507555008, -0.5927462577819824, 0.24498938024044037, -0.31934982538223267, 1.036317229270935, 0.02230941690504551, 0.24156875908374786, -0.1687106192111969, 0.013018571771681309, 0.0463547557592392, -0.8255994915962219, 0.005195348523557186, -0.5700823664665222, 0.7828283905982971, -0.044648196548223495, 0.9396715760231018, 0.5843586921691895, 0.8828201293945312, 0.34489497542381287, -0.28203728795051575, 0.08204378932714462, -0.06746070832014084, 0.09233428537845612, 0.05277906358242035, -0.9105741381645203, -0.2160722017288208, 0.41599905490875244, 0.6008034348487854, 0.7167187929153442, -0.12485351413488388, 0.2680378556251526, 0.051525264978408813, 1.0937668085098267, -0.9566698670387268, 0.19937697052955627, -0.625460147857666, 0.17803052067756653, -0.15119047462940216, -0.3125956058502197, -0.42938318848609924, -0.519014835357666, -0.08267545700073242, -0.5510430932044983, 0.281765341758728, -0.4691426753997803, 0.6264461874961853, 0.11242376267910004, -0.38519638776779175, -0.476199209690094, -1.116806983947754, 0.5981079339981079, -0.5037633180618286, 0.3188239336013794, 0.5081146359443665, 0.35215315222740173, -0.0638638436794281, -0.8904491662979126, -0.9301736354827881, -0.13609769940376282, 0.09389283508062363, 0.029757274314761162, -0.3372495174407959, 0.2240656316280365, 0.2656576633453369, 0.017319105565547943, -0.27058595418930054, -0.0951261967420578, -0.7442086338996887, -0.19585253298282623, 0.5157382488250732, -0.22233416140079498, 0.25269392132759094, -0.2600437104701996, -0.29585719108581543, 0.02222449518740177, -0.38518035411834717, 0.20926012098789215, 0.5821588635444641, 0.633216142654419, 0.09909768402576447, 0.9814102053642273, 0.004583362489938736, 0.8699875473976135, -0.28795644640922546, 0.18970392644405365, 0.27870306372642517, -0.8840999603271484, -0.5205945372581482, -0.11717855930328369, 0.5202078223228455, 0.10239435732364655, 0.23861578106880188, -0.26631787419319153, -0.048170555382966995, 0.26387280225753784, 0.6505493521690369, -0.6420150995254517, -0.07810159027576447, 0.3463122546672821, -0.8268851041793823, -0.04955601319670677, 0.5038971304893494, -0.533779501914978, -0.607087254524231, -0.7219805717468262, 0.02563854493200779, 0.0026003685779869556, -0.37047815322875977, 0.2334805727005005, -0.47200652956962585, 0.08114355057477951, 0.40592360496520996, -0.5967658758163452, 0.18403498828411102, 1.2099658250808716, 0.9228857755661011, -0.027105214074254036, 0.056237075477838516, -0.06858951598405838, -0.2055535912513733, -0.46874096989631653, 0.7669457197189331, -0.6755640506744385, -0.3272259533405304, 0.3523838520050049, -0.20642241835594177, -0.2872138023376465, -0.692082941532135, 0.3555942177772522, -0.7659068703651428, 0.47806844115257263, -0.22778211534023285, -0.3019166886806488, -0.6488533616065979, 0.3225248456001282, -0.6961449980735779, 0.5616374611854553, -0.22364987432956696, -1.0300078392028809, 0.7698439955711365, -0.7051278948783875, -0.14731237292289734, -0.16075386106967926, -0.03413867577910423, -0.08177856355905533, 0.3020324409008026, -0.2516355812549591, 0.3965315818786621, 0.23761118948459625, 0.5243062376976013, -0.2561492621898651, -0.27418139576911926, 0.4446193277835846, -0.08849116414785385, 1.1240414381027222, 0.1741112470626831, -0.29147064685821533, 0.3842896521091461, -0.5807446837425232, -0.18131430447101593, -0.27078625559806824, -0.15260683000087738, -0.4846755266189575, 0.2482886165380478, 0.09698843210935593, 0.22458195686340332, 0.32786262035369873, -0.5420216917991638, 0.2823027968406677, -0.5014783143997192, 0.4918486475944519, 0.7163034081459045, -0.3328646123409271, 1.0276917219161987, -0.3545733094215393, 0.5031634569168091, -0.0629192516207695, 0.3542890250682831, 0.15571510791778564, -0.6181215643882751, -0.7061184048652649, -0.41458630561828613, 0.4800594747066498, 0.5996432304382324, -0.45964789390563965, 0.5502364635467529, 0.013399947434663773, -0.5086331367492676, -0.6613031625747681, -0.0774097666144371, -0.529498815536499, 0.09513963013887405, 0.3158639371395111, -0.15405309200286865, -0.7309001088142395, -1.103668212890625, -0.3525669276714325, -0.4611998498439789, 0.11147496104240417, 0.26753532886505127, 0.71181720495224, -0.4949381947517395, 1.087543249130249, 0.24900682270526886, -0.3798566162586212, -0.17056436836719513, 0.23900820314884186, 0.23126846551895142, 0.11417971551418304, -0.10678140819072723, -1.0685981512069702, -0.0029062468092888594, 0.2241421788930893, -0.6210566163063049, 0.2514789402484894, -0.374390184879303, 0.20543172955513, 0.038205210119485855, 0.24305950105190277, -0.48271289467811584, 0.5047081708908081, 0.4362783133983612, -0.26084041595458984, 0.368800550699234, -0.1880253404378891, 0.2649349868297577, -1.0162018537521362, 0.18912622332572937, 0.06336986273527145, -0.11673025041818619, -0.7338042855262756, 0.29218921065330505, -0.21555012464523315, -0.0009997185552492738, -0.27897483110427856, 0.266912579536438, -0.3573923110961914, 0.09259063750505447, -0.6416440606117249, 0.503017783164978, -0.28763318061828613, -0.30534446239471436, -0.06155276671051979, 0.8100588321685791, 0.13878995180130005, -0.3866637051105499, 0.15635396540164948, -0.17500770092010498, -0.18115445971488953, -0.011114420369267464, -0.5845525860786438, 0.1430935263633728, -0.2471977323293686, 0.4817622900009155, -0.6919710040092468, 0.15200376510620117, 0.32439249753952026, -0.391010582447052, -0.3181738555431366, 0.0897517129778862, -0.4872255325317383, -0.02060113102197647, -0.4893535077571869, 0.26656654477119446, 0.34410369396209717, -0.22506840527057648, 0.7942226529121399, 0.7852472066879272, -0.05092345178127289, -0.7562692165374756, -0.3824726641178131, 0.3174217939376831, -0.20178265869617462, -0.7023491859436035, 0.17289672791957855, 0.24468089640140533, -1.0343295335769653, -0.17326022684574127, 0.31149742007255554, -0.43632423877716064, 0.23625648021697998, 0.3061414659023285, 0.17236146330833435, -0.13039176166057587, 0.2017054259777069, -0.16618125140666962, -0.05711757391691208, 0.17762528359889984, 0.22070392966270447, 0.45784875750541687, 0.21252363920211792, -0.051481276750564575, -0.8479642868041992, 0.2786199152469635, 0.15988631546497345, -0.07060527801513672, 0.7197884917259216, 0.6689371466636658, -0.08582834154367447, -0.3014066815376282, -0.3872954547405243, -0.5439248085021973, -0.37818023562431335, 0.20228980481624603, 0.025783482939004898, -0.900080680847168, 0.6704965829849243, -0.2945840358734131, 0.2984863519668579, 0.4245155453681946, 0.6144856810569763, -0.24177473783493042, 0.6642746925354004, 0.8175763487815857, 0.05480707809329033, 0.5424339771270752, -0.30911657214164734, 0.5459228157997131, -0.6175605654716492, -0.423750102519989, -1.266503930091858, -0.38828760385513306, -1.0311286449432373, -0.8086702227592468, -0.23041385412216187, -0.12230872362852097, -0.1567748636007309, 0.19563554227352142, -0.7151458859443665, 0.18017533421516418, 0.6976608633995056, 0.032992713153362274, 0.506716251373291, 0.017696944996714592, 0.7576437592506409, -0.142038494348526, -0.6494576930999756, -0.7666193842887878, 0.957207202911377, 0.2537347674369812, 0.47543206810951233, -0.24035906791687012, 1.0657597780227661, 0.6212108731269836, 0.14185479283332825, -0.883586049079895, 0.5016882419586182, -0.05825217068195343, -0.6236975193023682, -0.02035038359463215, -0.3028363287448883, -1.14085853099823, 0.30857616662979126, -0.47812697291374207, -0.4513402581214905, 0.663499653339386, -0.2387160211801529, 0.1339813619852066, 0.4553920030593872, -0.45613744854927063, 0.4295646548271179, 0.3107149600982666, 0.1286773383617401, -0.6789958477020264, -0.4688142240047455, 0.25656118988990784, 0.278408408164978, 0.5643081665039062, 0.06822986155748367, -0.36933252215385437, 1.144970417022705, 0.19264669716358185, 0.8998638391494751, -0.28303083777427673, 0.03560258075594902, 0.36067599058151245, -0.15137313306331635, 0.3622508645057678, -0.28651076555252075, -0.06863768398761749, 0.4556959271430969, -0.08587217330932617, -0.42111504077911377, -0.6940588355064392, 0.3640058636665344, -0.7539938688278198, -0.4323488771915436, -0.6334649324417114, -0.5541025400161743, 0.2645816206932068, -0.018256593495607376, -0.09391468018293381, -0.11751216650009155, -0.37636029720306396, 0.4246498942375183, 0.44006773829460144, 0.23381875455379486, 0.42488807439804077, -0.08834465593099594, -0.21516522765159607, -0.1620648354291916, 0.8485738039016724, 0.5654993653297424, -0.24331070482730865, -0.062008801847696304, 0.06678439676761627, -0.23854559659957886, -0.616862952709198, -0.18461844325065613, 0.2732452154159546, -0.49039962887763977, 0.24825581908226013, -0.6752460598945618, 0.012608056887984276, -0.1157379224896431, -0.18901807069778442, -0.27562135457992554, -0.8167005777359009, -0.7789884805679321, -0.07859699428081512, -0.293609619140625, 0.9240613579750061, -0.11601585149765015, 0.06753440201282501, -0.3805799186229706, 0.468015193939209, 0.061887145042419434, -0.1350637823343277, -0.11671725660562515, -0.4611756503582001, -0.25289714336395264, 0.19205598533153534, -0.2177889049053192, -0.9198865294456482, -0.01277795247733593, -0.039922021329402924, 0.3868798613548279, 0.23574787378311157, 0.09771101921796799, 0.4054918885231018, -0.4378211200237274, 1.2666664123535156, 0.17801012098789215, -0.7427176237106323, 0.3536826968193054, -0.15195660293102264, -0.3394366502761841, 0.64559006690979, 0.3271051347255707, -0.35383471846580505, -0.5199135541915894, -0.8523932695388794, -0.9561598300933838, 0.040959082543849945, -0.0171348936855793, 0.8084813356399536, 0.14494378864765167, -0.0056042843498289585, 0.5744602084159851, 0.4598470628261566, -0.7051076292991638, -0.1408657431602478, -0.147201269865036, 0.09445665031671524, 0.03226672485470772, -0.23409532010555267, -0.5726115703582764, -0.10621212422847748, 0.7000247836112976, -0.11431854218244553, 0.16559332609176636, 0.24569272994995117, 0.023631906136870384, 0.09741770476102829, 0.47320258617401123, 0.4861627519130707, 1.204237937927246, -0.02435344271361828, 0.10321022570133209, -0.7527129650115967, -0.4206515848636627, 0.1259838193655014, 0.1804247349500656, -0.7353475689888, 0.15760864317417145, 0.49350738525390625, 0.4484896957874298, -0.5540439486503601, -0.2613641619682312, 0.3312165439128876, 0.1782054305076599, -0.27326101064682007, -0.11500288546085358, 0.22381587326526642, -0.268500417470932, 0.38567671179771423, 0.7166805267333984, 0.3571573495864868, 0.43137454986572266, -0.6903020143508911, 0.24693597853183746, 0.8057287931442261, -0.4393274784088135, -0.4225265383720398, 0.1797206699848175, 0.41131144762039185, -0.7033774852752686, 0.43230634927749634, 0.11652238667011261, -0.21214550733566284, 0.6478266716003418, 0.3528197407722473, 1.1186463832855225, 0.2606239914894104, 0.8389388918876648, 0.19503602385520935, 0.7658552527427673, 0.059637632220983505, 0.310634970664978, -0.34037333726882935, -0.8100077509880066, -0.6768141388893127, -0.19132591784000397, -0.4734634757041931, -0.37468472123146057, -0.8211456537246704, -0.11844534426927567, -0.24884195625782013, -0.8701629638671875, 0.08855169266462326, 0.2582258880138397, -0.3436058759689331, -0.12543903291225433, 0.004737411625683308, 1.0374659299850464, -1.0711749792099, 0.4306734502315521, 0.6684024930000305, -0.1411866396665573, -0.19245953857898712, 0.1211375966668129, -0.16757923364639282, -0.39303871989250183, 0.6534820199012756, 0.040622271597385406, 0.0052674151957035065, -0.5154315829277039, -0.503663182258606, -0.025515535846352577, 0.6156756281852722, 0.3411250710487366, -0.2206708788871765, 0.043216001242399216, -0.10791318863630295, 0.5941717624664307, -0.16802483797073364, 0.19044943153858185, 0.4036197364330292, 0.8449685573577881, -0.7139887809753418, -0.8367523550987244, -0.30529671907424927, -0.05983263999223709, -0.1755443960428238, 0.09810984134674072, -0.48540496826171875, 0.6123543381690979, -0.3889950215816498, -0.2790459394454956, -0.26114559173583984, 1.1040902137756348, -0.10547398775815964, 0.911284327507019, 0.31293681263923645, 0.0383104644715786, 0.7830636501312256, -0.17512893676757812, 0.8182327747344971, 0.12116077542304993, 0.3211424648761749, 0.7595295310020447, 0.02051311358809471, 0.7325125336647034, 0.9889319539070129, -0.5379371047019958, 0.6798126101493835, 0.69488924741745, 0.24891115725040436, 0.27003422379493713, 0.310448557138443, -0.32165926694869995, -0.08102518320083618, -0.4659806191921234, -0.29507386684417725, 0.6513960957527161, -0.1320793777704239, -0.45861566066741943, -0.2016465812921524, 0.19855813682079315, -0.1301988959312439, 0.6134848594665527, -0.2221403867006302, 1.2119652032852173, -0.09977038949728012, -0.2893947958946228, 0.21234238147735596, -0.13987132906913757, 0.6739309430122375, -0.4859936535358429, -0.22988204658031464, 0.08677569776773453, -0.4108366072177887, -0.3314582109451294, -0.6912601590156555, 0.517614483833313, 0.03220358490943909, -0.5946685075759888, -0.14584973454475403, 0.5173423886299133, -0.040357619524002075, -0.5484814643859863, 0.44233956933021545, 0.868851363658905, -0.02080339379608631, -0.0048458511009812355, -0.9284458756446838, 0.1762584149837494, 0.10002954304218292, -0.4057668149471283, 0.4549477696418762, 0.20312930643558502, 0.09529590606689453, 0.6000511050224304, 0.7363448739051819, 0.6811187267303467, -0.027744097635149956, 0.01875568926334381, 0.929728627204895, -0.4338609576225281, -0.2825416922569275, -0.9166876673698425, 0.5398834943771362, -0.1232474148273468, -0.17301809787750244, 0.8194521069526672, 0.5738620758056641, 0.7251203656196594, 0.31997838616371155, 0.8519734740257263, -0.2304353415966034, 0.12123139947652817, -0.26209235191345215, 0.6101462244987488, -0.40098094940185547, -0.018363842740654945, 0.0015480390284210443, -0.948491096496582, -0.49696511030197144, 0.8053379058837891, -0.29527464509010315, 0.07056967169046402, 0.29184436798095703, 0.5685397982597351, -0.04949957877397537, 0.33867818117141724, -0.1354532092809677, 0.14972108602523804, 0.1721714437007904, -0.3854062855243683, 0.7789763808250427, -0.16753406822681427, -0.009146991185843945, -0.6545552015304565, -0.32602551579475403, -0.021781424060463905, -0.6121992468833923, -0.7443773746490479, -1.1209018230438232, -0.12503068149089813, -0.6383283138275146, 0.2859913110733032, 0.7572795748710632, 0.6238660216331482, -0.5884830951690674, -0.5213271975517273, 0.2835589647293091, 0.505946159362793, -0.32261690497398376, -0.23822006583213806, 0.4128178358078003, -0.5078455209732056, -0.8249858617782593, 0.24945509433746338, 0.2278614491224289, -0.570773184299469, -0.7147960066795349, 0.37061527371406555, -0.1939709186553955, 0.31510064005851746, 0.48139888048171997, 0.04412765055894852, -0.669877827167511, -0.12626904249191284, 0.07433957606554031, 0.02418646216392517, 0.21106912195682526, 1.2489339113235474, -0.9002453088760376, 0.9094971418380737, 0.8053368330001831, 0.5522400140762329, -0.06559969484806061, 0.3394266664981842, 0.4093157947063446, 0.0563216507434845, 0.3953375816345215, 0.7743614912033081, -0.15925273299217224, 0.4397285580635071, -0.11974018812179565, 0.5741636157035828, 0.14638851583003998, -0.6482558846473694, -1.1941150426864624, 0.25426697731018066, -0.9299263954162598, -0.35570526123046875, 1.0084885358810425, 0.12171729654073715, -0.3721448481082916, -0.4373788833618164, -0.2363252490758896, 0.20082534849643707, -0.4028322398662567, 1.2363425493240356, 0.5550984740257263, -0.13169747591018677, 0.13490229845046997, -0.60872882604599, 0.3789897561073303, -0.14247728884220123, -0.6616905331611633, 0.16484558582305908, 0.32491394877433777, -0.35134634375572205, 0.5337886810302734, 0.6782531142234802, -0.03874361515045166, 0.35291075706481934, -0.22417862713336945, -0.09110208600759506, -0.024974405765533447, -0.52321857213974, -0.31435489654541016, 0.5723791718482971, -0.13773532211780548, -0.07457657158374786 ]
http://arxiv.org/abs/2406.11581v1
http://arxiv.org/pdf/2406.11581v1
Style Transfer with Multi-iteration Preference Optimization
2024-06-17T14:20:53
2024-06-17T14:20:53
Shuai Liu, Jonathan May
cs.CL
cs.CL
Numerous recent techniques for text style transfer characterize their approaches as variants of reinforcement learning and preference optimization. In this work, we consider the relationship between these approaches and a class of optimization approaches developed primarily for (non-neural) statistical machine translation, formerly known as 'tuning'. Inspired by these techniques from the past, we improve upon established preference optimization approaches, incorporating multiple iterations of exploration and optimization, and choosing contrastive examples by following a 'hope' vs 'fear' sampling strategy. Cognizant of the difference between machine translation and style transfer, however, we further tailor our framework with a new pseudo-parallel generation method and a dynamic weighted reward aggregation method to tackle the lack of parallel data and the need for a multi-objective reward. We evaluate our model on two commonly used text style transfer datasets. Through automatic and human evaluation results we show the effectiveness and the superiority of our model compared to state-of-the-art baselines.
[ -0.3414548337459564, -0.5233113169670105, 0.5413925051689148, 0.3303770124912262, -0.24319875240325928, 0.174852192401886, -0.6515756845474243, -0.16341771185398102, 0.3847191333770752, 0.29054221510887146, -0.7071111798286438, -0.10360690206289291, -0.7383221387863159, 0.3640199303627014, -0.2580573558807373, 1.2762415409088135, -0.3731771409511566, -0.06769930571317673, -0.0361667275428772, -0.15250593423843384, -0.5961503386497498, -0.482144296169281, -0.7580567002296448, -0.35937297344207764, 0.6254404783248901, 0.6933359503746033, 0.5087887644767761, 0.5075082778930664, 0.6750702261924744, 0.31221070885658264, 0.2573675513267517, 0.39424893260002136, -0.7199814319610596, 0.13141952455043793, -0.23584908246994019, -0.4506423771381378, -0.2713738679885864, 0.16567817330360413, 0.4110408425331116, 0.20729820430278778, -0.025957481935620308, 0.19521261751651764, -0.1284993439912796, 1.0815389156341553, -0.5910022258758545, 0.01566956378519535, -0.6847658157348633, 0.09161803871393204, -0.21211455762386322, -0.6041067838668823, -0.4560830891132355, -0.5667245984077454, 0.20218287408351898, -0.6645826101303101, -0.08337219059467316, 0.2555903196334839, 0.608464241027832, 0.23346498608589172, -0.4167451560497284, -0.39332178235054016, -0.6489269733428955, 1.2879987955093384, -0.23715567588806152, 0.11278866976499557, 0.28752681612968445, 0.36606523394584656, 0.201747864484787, -0.6388619542121887, -0.5129761695861816, -0.27082204818725586, -0.0218700859695673, 0.14106690883636475, -0.04077760502696037, -0.2813454866409302, -0.2078305035829544, 0.27657902240753174, -0.447536438703537, -0.12788331508636475, -0.25910505652427673, -0.025616256520152092, 0.7412942051887512, 0.041073452681303024, 0.18737393617630005, -0.089339978992939, -0.5240653157234192, -0.6387041211128235, -0.24108704924583435, 0.1761734038591385, 0.3130929172039032, 0.30509668588638306, -0.12527504563331604, 0.3369111716747284, -0.20183610916137695, 0.6210254430770874, 0.18459807336330414, -0.3230358958244324, 0.49074888229370117, -0.6655569672584534, 0.20809756219387054, 0.06763456016778946, 0.830013632774353, 0.7957987189292908, 0.5944250822067261, -0.347215861082077, -0.3083491623401642, -0.0712638720870018, 0.6499795913696289, -0.6185230612754822, -0.224225714802742, -0.12510335445404053, -0.8574904203414917, -0.8237406611442566, -0.022288653999567032, -1.1607837677001953, 0.020301541313529015, -0.7978391051292419, 0.5127554535865784, -0.3743360638618469, -0.061396997421979904, 0.2043023407459259, -0.27578502893447876, 0.006018933840095997, 0.13713550567626953, -1.1936925649642944, 0.13360582292079926, 0.12188807874917984, 1.0032228231430054, -0.8228360414505005, -0.2066367119550705, -0.3161742687225342, -0.003907412756234407, -0.4796229600906372, 0.8780851364135742, -0.6182222366333008, -0.506774365901947, -0.16382116079330444, -0.11453364789485931, -0.26136305928230286, -0.3253163695335388, 0.5900403261184692, -0.3203260600566864, 0.1964075267314911, -0.3835810720920563, -0.17612309753894806, 0.09049597382545471, -0.029464293271303177, -0.43503764271736145, 1.0584022998809814, 0.2903490960597992, -0.4891130328178406, 0.35887157917022705, -0.8774423003196716, -0.6371676325798035, -0.3842163681983948, 0.2946813702583313, -0.6676346659660339, 0.2150619775056839, 0.27823925018310547, 0.08955402672290802, -0.210542693734169, 0.03253708407282829, -0.5022160410881042, -0.4612768590450287, 0.3210330307483673, -0.03756790608167648, 0.17148934304714203, 0.6412156224250793, -0.391390323638916, 0.43781235814094543, -0.44050687551498413, 0.09153129905462265, 0.2878563106060028, -0.096623994410038, -0.49331629276275635, -0.09661202132701874, 0.14909689128398895, 0.20940877497196198, 0.3781038820743561, -0.12810660898685455, 0.4851982593536377, 0.0016986837144941092, 0.48062875866889954, 0.9593899846076965, -0.05263941362500191, 0.8388343453407288, -0.6825613975524902, 0.5231115221977234, -0.34075939655303955, 0.2804248034954071, 0.0859891027212143, -0.059129998087882996, -0.807806134223938, 0.03500087186694145, 0.22495388984680176, 0.5821251273155212, -0.9271025657653809, 0.18282228708267212, -0.2009248435497284, -0.49730661511421204, -0.5165226459503174, -0.07495204359292984, 0.31737062335014343, 0.41555437445640564, 0.793860673904419, -0.2904854416847229, -0.3730083107948303, -0.8718996047973633, -0.6074531078338623, 0.007253918331116438, 0.23127755522727966, 0.4938786029815674, 0.14733664691448212, -0.02926558628678322, 0.4717615842819214, -0.562093198299408, -0.053233928978443146, -0.3115948736667633, 0.5419641733169556, 0.1452646404504776, 0.5062471628189087, 1.0599812269210815, -0.8067730069160461, -0.7338945865631104, 0.04502662643790245, -0.4795481860637665, -0.13536575436592102, -0.41818758845329285, -0.5070126056671143, 0.08245785534381866, 0.4406905174255371, 0.0495588444173336, 0.10016471892595291, 0.5342459678649902, 0.20801995694637299, 0.6040385961532593, -0.0668126717209816, 0.5917527675628662, -1.1831250190734863, 0.040275681763887405, 0.1036519706249237, -0.15001161396503448, -0.5823822617530823, -0.22478927671909332, 0.11820372194051743, 0.15685142576694489, -0.2968261241912842, 0.6590158343315125, -0.26331132650375366, 0.10325992852449417, -0.5026307106018066, -0.2681633234024048, -0.0048400335945189, 0.6845137476921082, 0.03682810440659523, 1.0100789070129395, 0.4564099609851837, -0.5081968307495117, 0.4030667543411255, 0.1952846348285675, -0.14517821371555328, 0.884148359298706, -0.40009447932243347, 0.6885783076286316, -0.14330986142158508, -0.004979107994586229, -0.9575604796409607, 0.16138359904289246, 0.2271525114774704, -0.23880167305469513, 0.43057331442832947, -0.07437296956777573, -0.2583478093147278, -0.31654027104377747, -0.4570308327674866, 0.30274686217308044, 0.5479846596717834, -0.4362305998802185, 0.016873972490429878, 0.0994250476360321, -0.46522292494773865, -0.4248236119747162, -0.423372358083725, 0.08323480188846588, -0.7332226037979126, -0.24924108386039734, 0.7798470854759216, -0.32191935181617737, -0.13368955254554749, -0.20204651355743408, -0.21631430089473724, 0.07709150016307831, 0.07246910780668259, -0.47690480947494507, 0.40223515033721924, -0.12386706471443176, -0.09917066991329193, 0.3522903621196747, -0.09019870311021805, -0.2780628800392151, -0.6152195334434509, 0.46819981932640076, -0.11612042039632797, -0.023919345811009407, -0.293886661529541, 0.3749781548976898, 0.4070397913455963, -0.27522847056388855, 0.7008085250854492, 0.7691757678985596, 0.2508469223976135, -0.24608929455280304, -0.3117753267288208, -0.28473713994026184, -0.5141016244888306, 0.3452354073524475, -0.5485455989837646, -0.6605176329612732, 0.005325654987245798, -0.2837318778038025, -0.008217945694923401, 0.3090794086456299, 0.5615832209587097, -0.2162286937236786, 0.9982510805130005, 0.8307293057441711, -0.227581188082695, 1.0811303853988647, 0.05599251016974449, 0.037855785340070724, -0.4975135326385498, -0.06280092895030975, -0.7278395891189575, -0.7457830905914307, -0.8908199071884155, -0.11175276339054108, 0.5100451111793518, 0.040717557072639465, -0.07237744331359863, 0.5388895273208618, -0.5291037559509277, 0.3835349977016449, 0.7193397879600525, 0.1274569034576416, 0.14179247617721558, 0.3662393093109131, -0.06221572309732437, -0.1333983838558197, -0.4848848283290863, -0.30548951029777527, 1.3219492435455322, -0.162986159324646, 0.6774633526802063, 0.1259511113166809, 0.7481274604797363, 0.3312092423439026, 0.2354498952627182, -0.929797887802124, 0.1616695374250412, -0.5331443548202515, 0.15465214848518372, -0.40800854563713074, -0.6175717711448669, -0.9714202880859375, 0.11535827815532684, -0.3080019950866699, -0.5889858603477478, 0.2772925794124603, 0.2340201735496521, 0.1738361120223999, 0.07711393386125565, -0.5660764575004578, 0.7820364832878113, -0.45836466550827026, -0.43056949973106384, -0.3138975501060486, -0.7412981986999512, 0.21730712056159973, -0.38407257199287415, 0.1290585845708847, 0.16579200327396393, 0.1137656643986702, 0.56758052110672, 0.037565506994724274, 0.06934238225221634, 0.2755950093269348, 0.15752670168876648, -0.07598806917667389, 0.05878771096467972, 0.6415547728538513, -0.29190558195114136, -0.4201696515083313, 0.006099896039813757, -0.025226233527064323, -0.26510995626449585, -0.7343444228172302, 0.4581930339336395, -0.7771502733230591, -0.16611482203006744, -0.11926078796386719, -0.7579840421676636, -0.4233148396015167, 0.3933071792125702, 0.24957303702831268, 0.15292644500732422, -0.03583915904164314, 0.17795178294181824, 0.3799530565738678, -0.23046432435512543, 0.46531325578689575, 0.1445322036743164, -0.07270605862140656, -0.5006995797157288, 1.1711080074310303, -0.08424479514360428, 0.42399701476097107, 0.48066210746765137, 0.45338159799575806, -0.5449179410934448, -0.5798013806343079, -0.7315089106559753, 0.05696330964565277, -0.21334637701511383, 0.062241081148386, -0.3956063389778137, 0.07970019429922104, -0.56136554479599, -0.4617118537425995, -0.26255711913108826, -0.3867854177951813, -0.24428273737430573, 0.17442773282527924, 0.5454213619232178, 0.5517010688781738, 0.07749148458242416, 0.3415612578392029, -0.5858197808265686, 0.5010982155799866, 0.16873390972614288, 0.19265489280223846, -0.31588777899742126, -0.5767242312431335, -0.23813660442829132, -0.21479302644729614, -0.49789583683013916, -1.0099021196365356, 0.6721464991569519, 0.0964205414056778, 0.47897350788116455, 0.1210358738899231, 0.23893964290618896, 0.5957451462745667, -0.5592359304428101, 0.40183761715888977, 0.311923623085022, -0.6677227020263672, 0.4357307553291321, -0.27063417434692383, 0.04839036986231804, 1.0021625757217407, 0.4881262481212616, -0.7142463326454163, -0.01718808338046074, -0.4480016529560089, -0.8236082792282104, 0.7451211214065552, 0.2722892463207245, 0.09638229012489319, 0.13461406528949738, 0.4137154817581177, 0.10519332438707352, 0.6842517852783203, -0.38282984495162964, -0.3911992013454437, -0.5613104701042175, -0.28604820370674133, -0.38017669320106506, 0.1594407707452774, -0.07235359400510788, -0.14059725403785706, 0.4854893088340759, -0.3882262706756592, 0.44253024458885193, -0.15573646128177643, -0.14961199462413788, 0.07032076269388199, 0.3707354664802551, 0.7014114260673523, 0.39360547065734863, -0.18362484872341156, -0.0743829682469368, -0.011273125186562538, -0.19276022911071777, 0.18303270637989044, 0.018772469833493233, -0.1264294534921646, -0.10011698305606842, -0.24100714921951294, 1.2719980478286743, 0.0076675196178257465, -0.12160225212574005, 0.3293530344963074, 0.00420520780608058, -0.24796998500823975, 0.05180242657661438, 0.026167258620262146, -0.260789155960083, 0.011772731319069862, 0.04104533791542053, 0.4045536518096924, 0.41809993982315063, -0.5222669839859009, 0.2789875566959381, 0.36019763350486755, -0.3472670018672943, -0.034409090876579285, 0.4921448826789856, -0.055798742920160294, -0.3689541220664978, 0.36080121994018555, -0.15169601142406464, -0.34684738516807556, 0.5121657848358154, 0.6204280257225037, 0.8957898616790771, -0.11721983551979065, 0.3468146324157715, 0.3762844502925873, 0.17430181801319122, -0.3400115966796875, 0.2093931883573532, -0.2217107117176056, -0.6660827398300171, -0.39051222801208496, -0.8274844884872437, -0.5696614384651184, -0.08617164939641953, -0.8425620198249817, 0.5761119723320007, -0.07233328372240067, -0.10763300955295563, -0.22177153825759888, -0.22762839496135712, -0.5580747127532959, -0.00622759060934186, -0.11645685881376266, 0.5010551810264587, -0.8635898232460022, 0.8346462845802307, 0.8236966133117676, -0.4143768846988678, -0.701228678226471, 0.27591758966445923, -0.012645360082387924, -0.8494439125061035, 0.3642139136791229, 0.02043270692229271, -0.29404085874557495, 0.2598550021648407, -0.1968005895614624, -0.9730427861213684, 0.6903554201126099, 0.3212664723396301, -0.47290369868278503, -0.06957772374153137, -0.19142958521842957, 0.4589482545852661, -0.2292836606502533, 0.2042464315891266, 0.7154093384742737, 0.7594004273414612, 0.14180420339107513, -0.9385693073272705, -0.20983217656612396, -0.28078508377075195, 0.165140762925148, 0.22000165283679962, -0.9090964794158936, 0.6148346066474915, 0.07536555081605911, 0.18461565673351288, 0.25636422634124756, 0.5192060470581055, 0.26062092185020447, 0.23603948950767517, 0.551386833190918, 0.18517979979515076, 0.5449305176734924, -0.00754169374704361, 1.2552769184112549, -0.4306352734565735, 0.38829874992370605, 0.8002933859825134, -0.04313367232680321, 0.5433276295661926, 0.6486270427703857, -0.2919716536998749, 0.5467447638511658, 0.7596173286437988, -0.029828302562236786, 0.8862727880477905, 0.2902328670024872, 0.15541526675224304, -0.045605164021253586, -0.21893903613090515, -0.347469300031662, 0.41246137022972107, -0.060636620968580246, -0.4330337643623352, 0.1630835086107254, -0.041294265538454056, 0.15803903341293335, 0.1879630833864212, -0.14958259463310242, 0.970088541507721, 0.0417901836335659, -1.0214289426803589, 0.7163436412811279, 0.2601606249809265, 0.917695939540863, -0.6020523905754089, -0.05147301405668259, -0.35902994871139526, -0.08786104619503021, 0.13038671016693115, -0.4628784656524658, 0.2885933518409729, -0.19648633897304535, -0.2143905609846115, -0.9041290879249573, 0.638818621635437, -0.5193774104118347, -0.5049352049827576, 0.1026110053062439, 0.3438072204589844, 0.28654536604881287, 0.10731792449951172, -0.9082217812538147, -0.11932937055826187, 0.07781397551298141, -0.25957509875297546, 0.6441494822502136, 0.2835366427898407, -0.2413412183523178, 0.285241037607193, 0.840107798576355, 0.36423584818840027, -0.0661439597606659, 0.11531823128461838, 0.5151142477989197, -0.46129611134529114, -0.6156421899795532, -0.8440266847610474, 0.15782302618026733, -0.10149498283863068, -0.3336580991744995, 0.5608288645744324, 0.2725474238395691, 0.7445887327194214, -0.14424261450767517, 0.8310994505882263, 0.2596796154975891, 0.26174235343933105, -0.8365478515625, 0.5085219740867615, -0.8751702904701233, -0.1811666339635849, -0.8529306650161743, -1.0288960933685303, 0.008094764314591885, 0.7661654949188232, -0.3767848312854767, 0.1917794942855835, 0.9699371457099915, 0.5497720837593079, -0.03752019256353378, -0.08239425718784332, 0.08589670807123184, -0.41587695479393005, -0.08891125023365021, 0.558920681476593, 0.5376794934272766, 0.02468315325677395, 0.5153733491897583, -0.3820534944534302, -0.45751896500587463, -0.3039374351501465, -0.9404031038284302, -0.4121171832084656, -0.5346352458000183, -0.07806762307882309, -0.29517510533332825, 0.23285239934921265, 0.9115181565284729, 0.8308504819869995, -0.7156881093978882, -0.43320780992507935, 0.04768463596701622, 0.016711443662643433, -0.5419929623603821, -0.1700086146593094, 0.35667452216148376, -0.793268084526062, -1.1539946794509888, 0.5827502608299255, 0.23848406970500946, 0.04796210676431656, 0.02526603825390339, 0.027971573173999786, 0.07828421890735626, 0.18226788938045502, 0.6340957880020142, 0.076405830681324, -0.17052830755710602, -0.13471320271492004, 0.2730989456176758, -0.02760716713964939, 0.23559598624706268, 1.0809673070907593, -0.35288286209106445, 0.4870098829269409, 0.5034699440002441, 0.9143195152282715, 0.7573267221450806, 0.19841040670871735, 0.5931536555290222, -0.6592093706130981, 0.09414441138505936, -0.15549753606319427, 0.19993741810321808, 0.12731093168258667, -0.34421199560165405, 0.4181690812110901, 0.4387066960334778, -0.4411986172199249, -0.5753213167190552, 0.32380571961402893, -0.9206598401069641, -0.3386416733264923, 1.2147825956344604, 0.16071751713752747, -0.02920055016875267, 0.14583365619182587, -0.34253817796707153, 0.33214008808135986, -0.6118470430374146, 0.9523431658744812, 0.7403189539909363, -0.5339571833610535, -0.1072787493467331, -0.5121846795082092, 0.600933849811554, 0.8464641571044922, -0.8896429538726807, -0.39087042212486267, 0.3344128429889679, 0.16559694707393646, -0.09370157867670059, 0.6473323702812195, -0.17667081952095032, 0.10637596994638443, -0.5152932405471802, 0.10591963678598404, 0.14621007442474365, -0.6350134015083313, -0.18677698075771332, 0.029015248641371727, 0.07743779569864273, -0.30712902545928955 ]
http://arxiv.org/abs/2406.11580v1
http://arxiv.org/pdf/2406.11580v1
Error Span Annotation: A Balanced Approach for Human Evaluation of Machine Translation
2024-06-17T14:20:47
2024-06-17T14:20:47
Tom Kocmi, Vilém Zouhar, Eleftherios Avramidis, Roman Grundkiewicz, Marzena Karpinska, Maja Popović, Mrinmaya Sachan, Mariya Shmatova
cs.CL
cs.CL
High-quality Machine Translation (MT) evaluation relies heavily on human judgments. Comprehensive error classification methods, such as Multidimensional Quality Metrics (MQM), are expensive as they are time-consuming and can only be done by experts, whose availability may be limited especially for low-resource languages. On the other hand, just assigning overall scores, like Direct Assessment (DA), is simpler and faster and can be done by translators of any level, but are less reliable. In this paper, we introduce Error Span Annotation (ESA), a human evaluation protocol which combines the continuous rating of DA with the high-level error severity span marking of MQM. We validate ESA by comparing it to MQM and DA for 12 MT systems and one human reference translation (English to German) from WMT23. The results show that ESA offers faster and cheaper annotations than MQM at the same quality level, without the requirement of expensive MQM experts.
[ -0.4072697162628174, -0.41379454731941223, 0.2376355677843094, 0.918170154094696, -0.08835383504629135, 0.4570491909980774, -0.052194565534591675, -0.7407561540603638, 0.25806692242622375, 0.35227811336517334, -0.5262190103530884, -0.2622377574443817, -0.8157982230186462, 0.4753568470478058, -0.31398916244506836, 0.6541205644607544, -0.5688639879226685, 0.01837550289928913, 0.041110485792160034, -0.42156288027763367, -0.49835294485092163, -0.5455083250999451, -0.752625584602356, -0.16493703424930573, 0.5292577743530273, 0.2971481382846832, 0.8705378174781799, 0.9720667004585266, 0.8648452162742615, 0.30961140990257263, 0.19231149554252625, 0.5586474537849426, 0.11366773396730423, -0.2731224000453949, 0.11124586313962936, -0.21576251089572906, -0.9479113817214966, 0.25048738718032837, 0.5925673246383667, 0.9210796356201172, 0.08803045749664307, 0.21843571960926056, -0.003479335457086563, 0.8754659295082092, -0.5313314199447632, 0.015980156138539314, -0.10438359528779984, 0.30976614356040955, -0.22207807004451752, -0.21934668719768524, -0.7002662420272827, -0.34771135449409485, 0.016575923189520836, -0.5908008217811584, -0.20393586158752441, 0.3575330972671509, 1.045512318611145, 0.697190523147583, -0.45999422669410706, 0.03121062181890011, -0.5822757482528687, 0.932215690612793, -0.4148676097393036, 0.24972522258758545, 0.4882827401161194, 0.5283876657485962, -0.08260198682546616, -0.3211023807525635, -0.497432678937912, -0.027147239074110985, -0.1843111515045166, 0.3602977395057678, -0.3527953624725342, 0.13956649601459503, 0.028440002351999283, 0.2642827332019806, -0.24344147741794586, 0.3600522577762604, -0.303242027759552, -0.3678838610649109, 0.7815942168235779, 0.21784764528274536, 0.36301353573799133, -0.30944913625717163, -0.6773496270179749, -0.1887628734111786, -0.3964754343032837, -0.148074209690094, 0.35318508744239807, 0.1394672691822052, -0.03399624675512314, 0.5292336940765381, -0.26048898696899414, 0.586553692817688, 0.0649586170911789, 0.06785068660974503, 0.6484109163284302, -0.1692652851343155, -0.2750266194343567, -0.19237686693668365, 0.9147826433181763, 0.6239681243896484, 0.07150034606456757, -0.42399027943611145, -0.34439125657081604, 0.30728214979171753, 0.35306379199028015, -0.5894169807434082, 0.15086477994918823, 0.196528822183609, -0.43398576974868774, -0.24420984089374542, 0.3140246868133545, -0.8493333458900452, -0.3225119709968567, -0.09923670440912247, 0.4949735701084137, -0.22927117347717285, 0.1023978590965271, 0.23549990355968475, 0.06874706596136093, -0.04425116628408432, 0.5966246724128723, -0.3651621639728546, 0.3591420650482178, 0.27132219076156616, 0.810797393321991, -0.2712758183479309, -0.7130481600761414, -0.9928038120269775, -0.1708892434835434, -0.45287683606147766, 0.6781674027442932, -0.021435433998703957, -0.05027226358652115, -0.2701551616191864, -0.04110231623053551, -0.21725448966026306, -0.34925419092178345, 1.190880537033081, -0.4291374385356903, 0.20894409716129303, -0.2812957167625427, -0.37917426228523254, -0.36343568563461304, -0.03577297180891037, -0.7302882671356201, 1.203048825263977, 0.28946930170059204, -0.8417927622795105, 0.6963085532188416, -1.1447404623031616, -0.569509744644165, 0.17778120934963226, 0.27136531472206116, -0.2722052037715912, -0.09477958083152771, 0.3471572697162628, 0.5140882730484009, -0.0879364088177681, 0.10238112509250641, 0.11808996647596359, -0.5093757510185242, 0.22090376913547516, -0.38366907835006714, 0.5361364483833313, 0.276746541261673, -0.6049739122390747, 0.15051226317882538, -0.7982622385025024, 0.10104985535144806, -0.1862523853778839, -0.7912417650222778, -0.3083615005016327, 0.21940255165100098, 0.05537671968340874, 0.5523664355278015, -0.05662465840578079, -0.4991047978401184, 0.14926283061504364, -0.2873106896877289, 0.047068800777196884, 0.6849812269210815, -0.2401781529188156, 0.27765142917633057, -0.21244142949581146, 0.5163361430168152, -0.1327265053987503, 0.08744850754737854, -0.023029454052448273, -0.46202272176742554, -0.9659602642059326, -0.6232245564460754, 0.5915778279304504, 0.7350149154663086, -0.5055894255638123, 1.106325626373291, -0.38435086607933044, -0.44604411721229553, -1.357558012008667, 0.13524338603019714, 0.605167031288147, 0.39205610752105713, 0.7722246050834656, -0.40874573588371277, -0.7326030731201172, -0.8037298917770386, -0.2319561094045639, -0.41601476073265076, -0.07611317187547684, -0.06655459851026535, 0.486644983291626, -0.7048137784004211, 0.7132869362831116, -0.1072300374507904, -0.4955647885799408, -0.036792002618312836, 0.723358154296875, -0.25181466341018677, 0.5063028335571289, 0.49464887380599976, -0.3888682425022125, -0.3715860843658447, 0.009413985535502434, -0.5859407186508179, -0.6704025268554688, -0.24096865952014923, -0.42120084166526794, 0.40699541568756104, 0.12128914892673492, -0.4650520384311676, 0.3658793270587921, 0.7947674989700317, -0.5770058035850525, 0.5272179841995239, -0.23142307996749878, 0.6839319467544556, -0.7803182005882263, 0.24322038888931274, 0.07741399854421616, -0.335468053817749, -0.11625362187623978, -0.03991652652621269, 0.2607880234718323, 0.3409121334552765, -0.270764023065567, 0.4111206531524658, -0.19654282927513123, -0.20480920374393463, -0.2604261040687561, 0.23763173818588257, 0.13851596415042877, 0.33432599902153015, -0.20340754091739655, 0.6453633308410645, -0.051109153777360916, -0.2984641492366791, 0.3993905484676361, 0.34846097230911255, -0.0971388965845108, 0.9666824340820312, -0.45009392499923706, 0.07329793274402618, -0.0900929868221283, 0.33833378553390503, -0.980309009552002, -0.3574778139591217, 0.2033223658800125, -0.5325074791908264, 0.21670876443386078, 0.056361209601163864, -0.6802000999450684, -0.5946826338768005, -0.3298220634460449, -0.0214922484010458, 0.45504289865493774, -0.6921780109405518, 0.29121705889701843, 0.12117651104927063, 0.10432832688093185, -0.7494910955429077, -0.9489881992340088, 0.3095727264881134, -0.24362517893314362, -0.8476226925849915, 0.2020801454782486, 0.1365606188774109, -0.15978817641735077, 0.029619647189974785, -0.20097336173057556, 0.11087203025817871, 0.5855224132537842, 0.32569029927253723, 0.03915509581565857, -0.014920697547495365, 0.051436565816402435, 0.1425492763519287, -0.5081544518470764, -0.09591207653284073, -0.054984476417303085, 0.14301666617393494, -0.3240692615509033, -0.5947062969207764, -0.7359384298324585, 0.5662513971328735, 0.7502595782279968, -0.40882739424705505, 0.4305732548236847, 0.6667211055755615, -0.5670182704925537, -0.0001350404927507043, -0.5853567719459534, 0.150971919298172, -0.2868633270263672, 0.474434494972229, -0.4249645471572876, -0.5314119458198547, 0.293459951877594, -0.0919119343161583, 0.13736659288406372, 1.0038598775863647, 0.30870676040649414, -0.4923039674758911, 1.2598758935928345, 0.4639852046966553, -0.3087870180606842, -0.10945506393909454, 0.08580700308084488, -0.19013896584510803, -0.7776435613632202, -0.007649916689842939, -0.9536721110343933, -0.5739107728004456, -0.11243223398923874, -0.40618664026260376, 0.13397999107837677, 0.34420856833457947, -0.31829938292503357, 0.447030246257782, -0.27628305554389954, 0.27223438024520874, 0.4511082172393799, -0.14781151711940765, 0.41298019886016846, -0.07408899068832397, -0.09946806728839874, -0.3146977424621582, -0.3082255721092224, -0.9903886914253235, 0.7388367652893066, 0.7828817367553711, 0.5512853860855103, 0.01284757349640131, 0.6043351888656616, 0.6372421383857727, 0.6429111957550049, -0.7511457204818726, 0.3517911732196808, -0.15804649889469147, -0.3849053978919983, -0.2340751439332962, -0.7492550015449524, -0.7574130892753601, 0.3900185227394104, -0.32310283184051514, -0.5329453349113464, -0.10351046174764633, 0.15897467732429504, -0.34640103578567505, 0.21848365664482117, -1.082040548324585, 1.0477832555770874, -0.5194005966186523, 0.11933259665966034, -0.009275580756366253, -0.9627376794815063, 0.04687897861003876, -0.31574907898902893, 0.374154657125473, -0.06506764888763428, -0.1174170970916748, 1.0984493494033813, -0.41505518555641174, 0.7928890585899353, -0.39238864183425903, 0.3063705861568451, 0.08538565784692764, 0.2768596410751343, 0.6214814782142639, -0.5687757730484009, -0.10119300335645676, -0.02477366290986538, -0.17713594436645508, -0.5234040021896362, -0.31347671151161194, 0.1262884885072708, -1.0049755573272705, -0.09925838559865952, -0.4098791778087616, -0.37117886543273926, -0.29188409447669983, 0.12654976546764374, 0.022156447172164917, -0.26482298970222473, 0.03581320866942406, -0.02581932581961155, 0.07720255106687546, -0.1442718207836151, 0.2913704514503479, 0.4333055317401886, -0.03153061121702194, -0.5375826954841614, 0.5753617286682129, 0.14959578216075897, 0.2549477219581604, 0.18195776641368866, 0.14192110300064087, -0.18290866911411285, -0.38108503818511963, -1.0126760005950928, 0.06856537610292435, -0.7609128952026367, -0.48178496956825256, -0.7520621418952942, 0.224637970328331, 0.3143165111541748, -0.2554963529109955, -0.6069296002388, -0.4467349946498871, 0.12982599437236786, -0.4397570490837097, 0.20902781188488007, 0.3436744213104248, 0.10648121684789658, 0.6123727560043335, -0.9747387170791626, 0.021822184324264526, -0.07256494462490082, 0.32593265175819397, -0.29641979932785034, -0.4136318564414978, -0.47385236620903015, 0.05933661758899689, -0.4700125753879547, -0.9170849919319153, 0.14530885219573975, 0.08487127721309662, 0.5698970556259155, 0.18956978619098663, 0.08140546083450317, 0.9647606611251831, -0.38721704483032227, 0.6846693754196167, 0.2635149359703064, -1.3881183862686157, 0.2703131437301636, 0.11397872120141983, -0.10547436773777008, 0.6868715882301331, 0.27741146087646484, -0.8287693858146667, -0.42365601658821106, -0.4468367397785187, -1.0253428220748901, 0.6571701765060425, 0.08311302959918976, -0.1601523905992508, -0.018136512488126755, 0.18355529010295868, 0.11490825563669205, 0.1423521488904953, -0.7356643676757812, -0.06590345501899719, -0.11712044477462769, -0.3609507083892822, 0.03401046618819237, -0.09605594724416733, -0.0016029933467507362, -0.02464916557073593, 0.7696375250816345, -0.2076326459646225, 0.21833224594593048, 0.2937595248222351, -0.40112918615341187, -0.8596069812774658, 0.3838779628276825, 0.3790791630744934, 0.5115631222724915, -0.3777696192264557, 0.37816399335861206, 0.35558077692985535, -0.15458890795707703, 0.2765319049358368, 0.07539088279008865, -0.002566165756434202, 0.07150476425886154, 0.5883632898330688, 0.708172619342804, 0.015708094462752342, -0.4943302571773529, 0.7245089411735535, 0.3616507947444916, -0.12342913448810577, 0.25139835476875305, -0.5374752283096313, 0.037741877138614655, 0.0665133148431778, 0.4732102155685425, 0.5603858828544617, 0.09046684950590134, -0.0723353698849678, 0.3110436499118805, -0.034436821937561035, -0.515387237071991, -0.4157443940639496, 0.7408111691474915, 0.5678859949111938, -0.04679228365421295, 0.5150578022003174, -0.501074492931366, -0.7888081669807434, 0.26413238048553467, 0.299543559551239, 1.1024916172027588, -0.49900248646736145, 0.16185197234153748, 0.20228420197963715, 0.9316090941429138, -0.3309210240840912, 0.230801060795784, 0.314876526594162, -0.33001771569252014, -1.1305930614471436, -0.7315753102302551, -0.5308330059051514, -0.46262186765670776, -0.45085519552230835, 0.27115392684936523, 0.015512887388467789, -0.11365943402051926, 0.030073823407292366, 0.1523335576057434, -0.4875428080558777, 0.49669912457466125, 0.05087055265903473, 1.0379531383514404, -1.1650553941726685, 0.5581843256950378, 0.9206211566925049, -0.6266703009605408, -0.7297831773757935, -0.08487727493047714, -0.1411997526884079, -0.6059654951095581, 0.9827296733856201, 0.21895860135555267, -0.30746394395828247, -0.3096378445625305, -0.04126656427979469, -0.3222569227218628, 0.9945313334465027, 0.31817445158958435, -0.3011949956417084, 0.06252597272396088, 0.1666056513786316, 0.6997464895248413, -0.1957610696554184, 0.08180038630962372, 0.5570745468139648, 0.9391577243804932, -0.18152999877929688, -1.1749409437179565, 0.19664648175239563, -0.209074929356575, -0.21926023066043854, 0.35079458355903625, -0.5485621690750122, 0.5865125060081482, -0.06120625138282776, -0.2973755896091461, 0.0008223445038311183, 0.5242345929145813, -0.2326347380876541, 0.2906343638896942, 0.6309576034545898, 0.7267249822616577, 0.8939369320869446, -0.4342914819717407, 1.0914884805679321, 0.17111064493656158, 0.4017707109451294, 0.700294017791748, -0.17692029476165771, 0.9745533466339111, 0.7406792044639587, -0.48570242524147034, 0.11583320796489716, 0.6602903604507446, -0.11830778419971466, 0.1313968151807785, 0.48900654911994934, 0.16141748428344727, -0.10860517621040344, 0.2586512863636017, -0.1772608757019043, 0.1293051838874817, 0.1753709316253662, -0.26783961057662964, -0.17009064555168152, -0.03352673724293709, 0.3541249930858612, 0.218379944562912, -0.11358287185430527, 0.5847938060760498, -0.19901274144649506, -0.559847891330719, 0.4689772427082062, 0.5963025689125061, 0.7970028519630432, -0.23458676040172577, 0.15798111259937286, -0.3050519526004791, 0.1650281697511673, -0.669086217880249, -0.6379222869873047, 0.7535862922668457, 0.3876298666000366, -0.0653788149356842, -0.25869283080101013, 0.28641074895858765, -0.10868104547262192, -0.3775830864906311, 0.43194442987442017, 0.6016914248466492, 0.25355756282806396, -0.22800132632255554, -0.5115015506744385, 0.08391373604536057, -0.31863465905189514, -0.29297730326652527, -0.08459607511758804, 0.420101523399353, -0.5069271326065063, 0.5702035427093506, 0.3488979935646057, 0.032938145101070404, 0.30933743715286255, -0.1748664677143097, 0.36761602759361267, -0.6055585145950317, -0.4209497272968292, -0.8547977805137634, 0.8182273507118225, -0.034474678337574005, -0.225464329123497, 0.7123430371284485, 0.4202764630317688, 0.6968767046928406, -0.1543206125497818, 0.9059628248214722, -0.0014748229878023267, 0.5380991697311401, -0.2508220076560974, 0.6917372941970825, -0.5542903542518616, 0.22219440340995789, -0.7506653666496277, -0.8577265739440918, -0.8197429776191711, 0.8095243573188782, -0.14923039078712463, -0.01764753647148609, 0.7402216196060181, 0.16065005958080292, 0.04333478584885597, -0.15498115122318268, 0.10459870845079422, -0.0058415732346475124, 0.27243632078170776, 0.5394539833068848, 1.0830413103103638, -0.6986546516418457, 0.5914105772972107, 0.0010252106003463268, -0.6146314740180969, -0.48562538623809814, -0.9943214654922485, -0.5477717518806458, -0.21422173082828522, -0.6369043588638306, -0.5672228932380676, -0.12742018699645996, 1.3618234395980835, 0.7412347197532654, -0.5749107003211975, -0.1684534251689911, 0.1306489259004593, -0.018384788185358047, -0.7059966325759888, -0.15934306383132935, 0.7058446407318115, -0.4915698766708374, -0.8020145297050476, 0.2610219419002533, 0.35511380434036255, 0.010483753867447376, -0.08472611010074615, -0.5290402173995972, 0.0583440326154232, 0.01684357412159443, 0.5772339701652527, 0.05622721090912819, -0.7913126945495605, -0.6150550246238708, 0.013673452660441399, -0.39729392528533936, 0.19822393357753754, 0.16445587575435638, -0.293418824672699, 0.5020326972007751, 0.31387823820114136, 1.2027262449264526, 0.11951592564582825, 0.13888397812843323, 0.42035815119743347, -1.027438998222351, -0.08669180423021317, 0.0709434226155281, 0.504819393157959, 0.5083228945732117, -0.05644180253148079, 0.7379886507987976, 0.3903641700744629, -0.41885438561439514, -0.9524186849594116, 0.04111645743250847, -1.2212965488433838, 0.33396121859550476, 0.8604813814163208, -0.5572159290313721, -0.053254690021276474, 0.04840954765677452, -0.7245040535926819, 0.12053343653678894, -0.1914912611246109, 0.8969322443008423, 0.9450826048851013, 0.0010147320572286844, 0.1834942102432251, -0.5169298052787781, 0.34067606925964355, 0.5565253496170044, -1.1195471286773682, -0.018989868462085724, 0.468820184469223, -0.1183512955904007, 0.5829892754554749, 0.38968461751937866, -0.3992670178413391, 0.4366803467273712, -0.2683570384979248, 0.6296328902244568, -0.11224489659070969, -0.20327691733837128, -0.13111981749534607, 0.04260125383734703, 0.3712429404258728, -0.6394922733306885 ]
http://arxiv.org/abs/2406.11577v1
http://arxiv.org/pdf/2406.11577v1
Mathematical Entities: Corpora and Benchmarks
2024-06-17T14:11:00
2024-06-17T14:11:00
Jacob Collard, Valeria de Paiva, Eswaran Subrahmanian
cs.CL
cs.CL, math.HO
Mathematics is a highly specialized domain with its own unique set of challenges. Despite this, there has been relatively little research on natural language processing for mathematical texts, and there are few mathematical language resources aimed at NLP. In this paper, we aim to provide annotated corpora that can be used to study the language of mathematics in different contexts, ranging from fundamental concepts found in textbooks to advanced research mathematics. We preprocess the corpora with a neural parsing model and some manual intervention to provide part-of-speech tags, lemmas, and dependency trees. In total, we provide 182397 sentences across three corpora. We then aim to test and evaluate several noteworthy natural language processing models using these corpora, to show how well they can adapt to the domain of mathematics and provide useful tools for exploring mathematical language. We evaluate several neural and symbolic models against benchmarks that we extract from the corpus metadata to show that terminology extraction and definition extraction do not easily generalize to mathematics, and that additional work is needed to achieve good performance on these metrics. Finally, we provide a learning assistant that grants access to the content of these corpora in a context-sensitive manner, utilizing text search and entity linking. Though our corpora and benchmarks provide useful metrics for evaluating mathematical language processing, further work is necessary to adapt models to mathematics in order to provide more effective learning assistants and apply NLP methods to different mathematical domains.
[ -0.5396437644958496, -0.8625476360321045, 0.362887442111969, 0.4781811237335205, -0.21079771220684052, -0.02017490565776825, -0.33801165223121643, -0.5879837870597839, 0.08048194646835327, 0.35007283091545105, -0.523222804069519, -0.530266523361206, -0.503372073173523, 0.47749218344688416, -0.2576634883880615, 0.8532853126525879, -0.16731727123260498, 0.37889334559440613, -0.653813362121582, -0.2669573426246643, -0.5085260272026062, -0.7389586567878723, -0.5737492442131042, -0.12920862436294556, 0.165297731757164, -0.04345891997218132, 0.7012484669685364, 0.4178159534931183, 0.7931486368179321, 0.38754984736442566, 0.11206793785095215, 0.07707726210355759, 0.023120716214179993, 0.09832165390253067, -0.2687617242336273, -0.50345379114151, -0.5192612409591675, -0.09385491907596588, 0.6045315265655518, 1.196733832359314, -0.03963718190789223, 0.3891919255256653, -0.1263299137353897, 0.4296831786632538, -0.4164958894252777, 0.7363880276679993, -0.45995771884918213, 0.02362659014761448, -0.2381083071231842, -0.03749488294124603, -0.1474614441394806, -0.5404719114303589, 0.35544633865356445, -1.0508315563201904, 0.17813462018966675, -0.07075232267379761, 0.6132705807685852, 0.24755334854125977, 0.04531615599989891, -0.845013439655304, -0.33200210332870483, 0.9230427742004395, -0.34911268949508667, 0.4371111989021301, 0.46933892369270325, 0.4177553653717041, 0.3681446611881256, -0.786611020565033, -0.08881335705518723, -0.1603500097990036, -0.20224985480308533, -0.158050537109375, -0.27871137857437134, -0.3310973346233368, 0.47811025381088257, 0.20195041596889496, -0.3227587044239044, -0.2870323956012726, -0.46439552307128906, -0.2003726065158844, 0.46346575021743774, 0.08311190456151962, 0.3686353862285614, -0.27878087759017944, -0.05910447984933853, -0.3494027256965637, -0.7112056612968445, -0.06078091263771057, 0.4878179728984833, 0.25144773721694946, -0.004006829112768173, 0.6807005405426025, 0.13369221985340118, 0.6687442660331726, -0.6207130551338196, -0.07076308131217957, 0.25293242931365967, -0.20092108845710754, -0.20840486884117126, 0.0981535017490387, 0.5032077431678772, -0.22521400451660156, 0.5773088335990906, -0.34169909358024597, -0.1961899995803833, 0.5574373006820679, 0.21683964133262634, -0.8621045351028442, -0.3808729350566864, -0.24809478223323822, -0.029012836515903473, -0.019112594425678253, -0.06945917755365372, -0.7326783537864685, 0.3617776930332184, -0.942413330078125, 0.2855856120586395, -0.689698338508606, 0.021832535043358803, 0.01574663817882538, 0.014255031011998653, -0.4055224061012268, 0.18363676965236664, -1.0811859369277954, 0.9344460368156433, 1.0713589191436768, 0.7770740389823914, -0.06400269269943237, -0.11026495695114136, -0.5382504463195801, -0.27171555161476135, -0.3662974238395691, 0.7617102861404419, -0.7748082280158997, -0.3346971869468689, 0.245881587266922, -0.24011822044849396, -0.09855358302593231, -0.8205568194389343, 0.8892069458961487, -0.5904927849769592, 0.19328439235687256, -0.2642081379890442, -0.6587455868721008, -0.32655489444732666, 0.08200854063034058, -0.7990209460258484, 0.9841281771659851, 0.3482707738876343, -0.49746373295783997, 0.0644260048866272, -1.1262227296829224, -0.42376914620399475, 0.21218526363372803, -0.36564794182777405, -0.17719236016273499, 0.380434513092041, 0.19681334495544434, 0.03299478441476822, -0.556147038936615, 0.432386189699173, -0.2162422090768814, -0.08815048635005951, 0.35411104559898376, -0.19452659785747528, 0.9512644410133362, 0.2053167223930359, -0.1330590844154358, -0.09751284867525101, -0.8658893704414368, 0.08736123889684677, 0.01969020999968052, 0.1202310249209404, -0.6766707301139832, -0.01637553609907627, 0.3165823221206665, -0.008105344139039516, 0.36093810200691223, -0.2303822934627533, 0.0006661642692051828, -0.37503159046173096, 0.39573654532432556, 0.5402817130088806, -0.30974072217941284, 0.35247471928596497, 0.013687660917639732, 0.48065999150276184, -0.0845676138997078, -0.2636302709579468, -0.05241640657186508, -0.4717187285423279, -0.5398033857345581, -0.20109105110168457, 0.7971794009208679, 0.4572189152240753, -0.6395332217216492, 0.14865702390670776, -0.2055874466896057, -0.1300460398197174, -0.5160109996795654, 0.2834431231021881, 0.5515075325965881, 0.7477312088012695, 0.45751962065696716, -0.27464351058006287, -0.5888953804969788, -0.965080976486206, -0.28881219029426575, 0.05270395055413246, -0.36106929183006287, 0.2964882254600525, 0.5088136792182922, 0.08509808778762817, 0.9034033417701721, -0.7504255175590515, -0.306377649307251, 0.38107746839523315, 0.3224070072174072, 0.0490199439227581, 0.23455648124217987, 0.5575698018074036, -0.9492446780204773, -0.3166341781616211, -0.20065312087535858, -1.0240201950073242, -0.2683372497558594, 0.3481447696685791, -0.20484113693237305, -0.02584179863333702, 0.2649194896221161, -0.29684364795684814, 0.3596770465373993, 0.2653527855873108, -0.18114343285560608, 0.29877954721450806, -0.05400937423110008, -0.19702939689159393, -0.9270926117897034, 0.19262269139289856, 0.33118414878845215, -0.117035411298275, -0.3377740681171417, 0.23240649700164795, 0.150382861495018, -0.056974172592163086, -0.2918892800807953, 0.4636629521846771, -0.19692464172840118, -0.47345852851867676, -0.07449264824390411, 0.3802628219127655, -0.0967191606760025, 0.4351236820220947, 0.3939782679080963, 0.9175916910171509, 0.6416959166526794, -0.6530086994171143, 0.19717131555080414, 0.38831886649131775, -0.307190865278244, 0.795602023601532, -0.8004905581474304, -0.15756383538246155, 0.16638369858264923, -0.27154862880706787, -0.4791097044944763, 0.13792777061462402, 0.12013974040746689, -0.3057768940925598, 0.0858738049864769, -0.05067814514040947, -0.8028180003166199, 0.24344424903392792, 0.0031937926542013884, 0.5665180087089539, 0.37564095854759216, -0.41099870204925537, 0.5831668376922607, 0.5305370092391968, -0.4362315237522125, -0.4076973497867584, -0.3582995533943176, -0.009006657637655735, -0.2758893072605133, -0.5913803577423096, 0.6681393980979919, -0.27141767740249634, -0.7080280184745789, 0.35469338297843933, 0.05063140392303467, -0.298109769821167, 0.2688745856285095, 0.2870118021965027, 0.6115326881408691, -0.5684468150138855, 0.2878323793411255, -0.1329060047864914, -0.32282957434654236, 0.4919951558113098, -0.3015541136264801, 0.48053255677223206, -0.38675954937934875, -0.11842594295740128, 0.0408586822450161, 0.24892814457416534, 0.020055802538990974, -0.21955658495426178, 0.3937268555164337, 0.39911502599716187, -0.9398564696311951, -0.036076515913009644, -0.20289018750190735, -0.15297585725784302, -0.4317459166049957, 0.20678184926509857, -0.6654038429260254, -0.6689378023147583, 0.3127252757549286, -0.14762777090072632, 0.22773393988609314, 0.7927168607711792, 0.4250333309173584, 0.3896092474460602, 0.6185905933380127, 0.5878250002861023, 0.11109747737646103, 0.25283440947532654, -0.20676952600479126, 0.11752629280090332, -0.9087245464324951, -0.06514269858598709, -0.8329024910926819, -0.03076149895787239, -0.5979066491127014, -0.26808860898017883, 0.18830452859401703, 0.15024185180664062, 0.011020165868103504, 0.8895379900932312, -0.4289533793926239, 0.4771484434604645, 0.3722362220287323, -0.3754931688308716, 0.3746439218521118, 0.22090478241443634, -0.3732701241970062, -0.5357085466384888, -0.3359018564224243, -0.7750849723815918, 1.1215198040008545, 0.1610611230134964, 0.4283282160758972, 0.3532898426055908, 0.47080862522125244, -0.031854648143053055, 0.7995530962944031, -0.5241858959197998, 0.36236467957496643, -0.2646317183971405, -0.7009531259536743, -0.19552098214626312, -0.7361313104629517, -0.8485381603240967, 0.19540084898471832, -0.016029242426156998, -0.6354439854621887, -0.098970428109169, -0.3432357609272003, -0.3104439377784729, -0.1297723948955536, -0.6616466641426086, 0.959415853023529, -0.16610486805438995, -0.440277099609375, -0.06115403771400452, -0.1148507222533226, 0.44051748514175415, -0.31988057494163513, 0.46402066946029663, -0.11223948746919632, -0.1987634003162384, 0.6735535264015198, -0.37838035821914673, 0.6249574422836304, 0.2991677522659302, -0.1513451486825943, 0.33032649755477905, 0.3399253785610199, -0.23904675245285034, 0.6575357913970947, -0.13674969971179962, 0.3488090932369232, 0.38837695121765137, -0.3225855827331543, -0.509419322013855, 0.8825559020042419, -0.8292800188064575, -0.33504733443260193, -0.5638733506202698, -0.6765363216400146, -0.22965435683727264, 0.1082707867026329, -0.1530790627002716, 0.6024909019470215, -0.16961342096328735, 0.11828861385583878, 0.6178337931632996, 0.00442690122872591, 0.6093167066574097, 0.22144544124603271, -0.2401570975780487, -0.5598401427268982, 0.8934329152107239, 0.21589620411396027, -0.04411264508962631, 0.5887267589569092, 0.010906161740422249, -0.7140583992004395, 0.013340793550014496, -0.4782268702983856, 0.17564637959003448, -0.8930048942565918, -0.29532790184020996, -0.4008735418319702, -0.24054722487926483, -0.5626462697982788, -0.09226387739181519, -0.19330361485481262, -0.6553752422332764, -0.38218623399734497, 0.0993172749876976, 0.3386097848415375, 0.453182578086853, -0.028506970033049583, -0.02512594871222973, -0.536801815032959, 0.3272498846054077, 0.32055261731147766, 0.31581172347068787, -0.21318024396896362, -0.17867231369018555, 0.001405297196470201, -0.14160512387752533, -0.28979045152664185, -0.4088289439678192, 0.4695722162723541, 0.14564791321754456, 0.41446995735168457, 0.1532987654209137, -0.14672590792179108, 0.7352306842803955, -0.8042299151420593, 0.44567033648490906, 0.2307698130607605, -1.2768193483352661, 0.16813072562217712, 0.08172455430030823, 0.031029080972075462, 0.504363477230072, 0.5444973111152649, -0.23984143137931824, 0.2538411617279053, -0.8396409153938293, -0.4259757995605469, 0.3457719683647156, 0.47555792331695557, 0.1107216626405716, -0.12575526535511017, 0.3610413074493408, 0.10479921102523804, 0.4366801977157593, -0.49778079986572266, -0.28707626461982727, -0.11755353212356567, -0.4131895899772644, -0.29213157296180725, 0.052221015095710754, -0.3939346671104431, -0.01987934112548828, 0.3488973081111908, -0.22547633945941925, 0.11525486409664154, 0.06187889352440834, -0.3985549807548523, -0.07019712030887604, -0.008976531215012074, 0.8642262816429138, 1.3062859773635864, -0.13699345290660858, 0.3591226637363434, 0.2609790861606598, -0.5191721320152283, -0.2502290904521942, 0.6536155343055725, -0.05728830769658089, 0.5219617486000061, 0.35573887825012207, 0.3439237177371979, 0.9526296854019165, -0.8489031791687012, 0.037071358412504196, -0.27240461111068726, -0.19993837177753448, -0.6624613404273987, -0.09208660572767258, 0.397597074508667, -0.10277609527111053, 0.35095319151878357, 0.16446025669574738, 0.27107691764831543, -0.5424553155899048, 0.4173886179924011, 0.2702333927154541, -0.10364721715450287, -0.5223668217658997, 0.7561395168304443, -0.1610962152481079, -0.6546244621276855, 0.3835713863372803, -0.30339500308036804, -0.5254421234130859, 0.624754786491394, 0.5707746744155884, 0.6305936574935913, 0.029483744874596596, 0.09810823947191238, 0.5397050976753235, 0.05560613423585892, 0.01114407554268837, 0.04551843926310539, -0.094324491918087, -0.2597801685333252, -0.41459953784942627, -0.8394484519958496, -0.514531135559082, -0.20040297508239746, -0.6671519875526428, 0.47164830565452576, -0.5928459763526917, -0.014653190039098263, 0.7039626836776733, 0.37108445167541504, -1.0046796798706055, 0.13445766270160675, 0.07650385051965714, 0.7297132611274719, -0.5082796216011047, 0.6031309366226196, 0.7244563102722168, -0.6111155152320862, -0.4492172300815582, -0.653255045413971, -0.18540944159030914, -0.7732245922088623, 0.9383934140205383, -0.05472799390554428, 0.18790337443351746, -0.1670098602771759, -0.2749074101448059, -0.7302021980285645, 0.7948463559150696, 0.40706270933151245, -0.5094758868217468, -0.062120500952005386, 0.3938191533088684, 0.7010678648948669, -0.5856575965881348, 0.412535160779953, 0.16586656868457794, 0.1386275589466095, 0.0671992152929306, -0.6328065991401672, -0.03561854735016823, -0.27061447501182556, 0.06888022273778915, 0.19238856434822083, -0.23319442570209503, 1.111546516418457, 0.4107588827610016, -0.04932120814919472, 0.10890769958496094, 0.7725052833557129, 0.42611533403396606, 0.618674635887146, 0.2605305314064026, 0.68312007188797, 0.6265981793403625, -0.16109248995780945, 0.7402195930480957, -0.4551236033439636, 0.39642027020454407, 1.0206576585769653, -0.2613462507724762, 1.0180953741073608, 0.306189626455307, -0.2988569140434265, 0.5655972361564636, 0.5819069743156433, 0.0451902374625206, 0.18009507656097412, 0.6548797488212585, -0.37773001194000244, -0.1690705269575119, -0.16668164730072021, -0.6259575486183167, 0.021359501406550407, 0.6123003959655762, -0.29190683364868164, -0.48203855752944946, -0.27025964856147766, 0.030844029039144516, 0.47963815927505493, -0.183661550283432, 0.35516440868377686, 0.403921514749527, -0.8261403441429138, 0.242620587348938, 0.20280718803405762, 0.30480727553367615, -0.5090146064758301, -0.32388538122177124, 0.0054248059168457985, 0.17286089062690735, -0.021485604345798492, -0.2553900182247162, 0.4984397888183594, 0.2344212532043457, 0.030378667637705803, -0.14303167164325714, 0.36839625239372253, -0.30507978796958923, -1.0682625770568848, 0.1319565325975418, 0.6010466814041138, 0.31896257400512695, 0.05966046079993248, -0.7139397859573364, 0.1556011289358139, -0.5206457376480103, 0.11903653293848038, 0.41794607043266296, 0.774075984954834, -0.19624848663806915, 0.2071581929922104, 0.8947926759719849, -0.15180592238903046, 0.05636001378297806, 0.23919986188411713, 0.7835521697998047, -0.6061701774597168, -0.1433981955051422, -0.7866583466529846, 0.02793985977768898, -0.20894216001033783, -0.7673916220664978, 0.7130627036094666, 0.8705045580863953, 1.119757890701294, -0.0929831936955452, 0.43839797377586365, 0.08048784732818604, 0.40884464979171753, -0.49720120429992676, 0.3364830017089844, -0.1516193151473999, 0.32576441764831543, -0.425037145614624, -1.2830344438552856, -0.6218752264976501, 0.8731441497802734, -0.5016874074935913, -0.11682917177677155, 0.8539245128631592, 0.2524320185184479, -0.2858269214630127, 0.3366791009902954, 0.27513739466667175, -0.3777710795402527, 0.1804916262626648, 0.5153791308403015, 0.509819746017456, -0.7034573554992676, 0.510515034198761, -0.4865556061267853, 0.049011338502168655, -0.04971842095255852, -0.7824142575263977, -1.0830656290054321, -0.6562122702598572, -0.6377687454223633, -0.2997813820838928, -0.16381773352622986, 0.8842898011207581, 0.5506029725074768, -0.7812030911445618, -0.45869356393814087, -0.25715675950050354, 0.15596480667591095, -0.1751125305891037, -0.2207583338022232, 0.61562579870224, -0.695780873298645, -1.0708106756210327, 0.14845801889896393, 0.22888608276844025, -0.15901996195316315, -0.4274570047855377, 0.08366847783327103, 0.04017836973071098, 0.00854897778481245, 0.551327645778656, 0.19286762177944183, -0.49263447523117065, -0.0014824913814663887, 0.4273679256439209, -0.08634598553180695, -0.034752774983644485, 0.9647566080093384, -0.6332327127456665, 0.18657009303569794, 0.09154516458511353, 0.8487928509712219, 0.3426988124847412, -0.09767011553049088, 0.385631799697876, -0.4428185820579529, 0.08381185680627823, 0.39915457367897034, 0.4734659790992737, 0.3563295602798462, -0.08315276354551315, 0.8999504446983337, 0.43221452832221985, -0.19442640244960785, -0.9081934094429016, 0.05787381902337074, -0.6402912735939026, -0.2842233180999756, 0.6880398988723755, -0.29990869760513306, -0.5218309164047241, 0.11348883807659149, -0.015431337989866734, 0.08325952291488647, -0.08294250071048737, 0.8790151476860046, 1.121971607208252, 0.07014162093400955, 0.00009754457278177142, -0.9250808358192444, 0.5289438962936401, 0.5142136812210083, -0.9594591856002808, -0.3601447641849518, 0.2566523551940918, 0.16708308458328247, 0.7841665148735046, 0.04561544582247734, -0.25356799364089966, 0.16165179014205933, 0.14754053950309753, -0.08561435341835022, 0.17771665751934052, -0.3414655923843384, -0.19136843085289001, 0.3640865981578827, -0.17580664157867432, 0.08571015298366547 ]
http://arxiv.org/abs/2406.11568v1
http://arxiv.org/pdf/2406.11568v1
Towards an End-to-End Framework for Invasive Brain Signal Decoding with Large Language Models
2024-06-17T14:04:18
2024-06-17T14:04:18
Sheng Feng, Heyang Liu, Yu Wang, Yanfeng Wang
cs.CL
cs.CL, cs.SD, eess.AS, q-bio.NC
In this paper, we introduce a groundbreaking end-to-end (E2E) framework for decoding invasive brain signals, marking a significant advancement in the field of speech neuroprosthesis. Our methodology leverages the comprehensive reasoning abilities of large language models (LLMs) to facilitate direct decoding. By fully integrating LLMs, we achieve results comparable to the state-of-the-art cascade models. Our findings underscore the immense potential of E2E frameworks in speech neuroprosthesis, particularly as the technology behind brain-computer interfaces (BCIs) and the availability of relevant datasets continue to evolve. This work not only showcases the efficacy of combining LLMs with E2E decoding for enhancing speech neuroprosthesis but also sets a new direction for future research in BCI applications, underscoring the impact of LLMs in decoding complex neural signals for communication restoration. Code will be made available at https://github.com/FsFrancis15/BrainLLM.
[ -0.2326725870370865, -0.9779199957847595, 0.6159125566482544, 0.30850955843925476, -0.24177685379981995, -0.1352832317352295, -0.3126494288444519, -0.7116631865501404, 0.3634478747844696, 0.3706112504005432, -0.4676350951194763, -0.5671674609184265, -0.8060292601585388, -0.03199504315853119, -0.5298658013343811, 0.5773953795433044, 0.057369414716959, 0.1552828997373581, -0.08566517382860184, 0.11232718080282211, -0.3580959141254425, -0.3241027891635895, -0.8300506472587585, -0.3156035244464874, 0.49834802746772766, -0.10010272264480591, 0.3444373607635498, 0.4876904785633087, 0.08622928708791733, 0.15976612269878387, -0.5921025276184082, 0.15268953144550323, -0.31093040108680725, -0.03888856992125511, -0.4997926354408264, -0.3411032557487488, -0.6758068799972534, -0.588148832321167, 0.49272477626800537, 0.961589515209198, -0.3670421242713928, -0.08287357538938522, 0.13098499178886414, 0.35059306025505066, -0.6590737700462341, 0.06066848337650299, -0.25411173701286316, -0.20499779284000397, -0.05667082965373993, -0.0370384156703949, -0.8525075912475586, 0.0681978240609169, 0.04926912486553192, -0.21170486509799957, -0.5377674698829651, -0.17715050280094147, 0.4413042366504669, -0.02114974707365036, -0.4628753066062927, -0.21228639781475067, -0.6127187013626099, 0.5243154168128967, -0.8160538673400879, 0.8641014099121094, 0.22540569305419922, 0.07121559977531433, -0.5034334063529968, -0.9236934185028076, -0.4714714288711548, 0.05846000090241432, 0.29276570677757263, 0.11679890751838684, -0.579329788684845, 0.4466908872127533, 0.13751864433288574, -0.10757782310247421, -0.5986493825912476, 0.6634474992752075, -0.20712926983833313, -0.43990522623062134, 0.1947624385356903, -0.09112781286239624, 0.6011239290237427, 0.1736273169517517, -0.10032037645578384, 0.33223265409469604, -0.7635682821273804, -0.11293843388557434, 0.2915430963039398, 0.0011485421564429998, -0.3103903532028198, 0.3944714069366455, -0.04741327464580536, 0.9996353387832642, -0.3454781174659729, 0.2649480998516083, 0.026275597512722015, -0.0873851552605629, -0.210311621427536, 0.17958900332450867, 0.4971821904182434, 0.3073660433292389, 0.21978944540023804, -0.4982474148273468, -0.04421916604042053, 0.003174535231664777, -0.2209169864654541, -0.7001850605010986, 0.07265683263540268, 0.48445215821266174, -0.5066801309585571, 0.11135656386613846, -0.4974716007709503, -0.5821937918663025, -0.38739630579948425, -0.43474432826042175, 0.4176863133907318, -0.36980462074279785, -0.6938638687133789, 0.7207823991775513, -0.1743309646844864, 0.68455970287323, 0.13824403285980225, -1.0727983713150024, 0.4386512041091919, 0.896531879901886, 0.8839330077171326, -0.00043643632670864463, -0.1262088418006897, -0.35655131936073303, 0.32044610381126404, -0.4809364080429077, 0.7742749452590942, -0.33214041590690613, -0.19723868370056152, 0.1383102387189865, 0.0981106162071228, 0.3537515103816986, -0.47658196091651917, 0.7811643481254578, -0.7341974973678589, -0.023668477311730385, -0.1475876420736313, -0.4510369598865509, -0.3767438232898712, -0.13328281044960022, -0.5174688100814819, 0.24856239557266235, 0.04779765382409096, -0.3553723394870758, -0.11867095530033112, -0.7030690312385559, -0.6608451008796692, 0.032082345336675644, -0.12872308492660522, -0.1216839924454689, 0.27548685669898987, 0.14875675737857819, 0.3947210907936096, -0.6300551295280457, 0.352675199508667, -0.5480024814605713, -0.3682727515697479, 0.16380856931209564, -0.7814874649047852, 1.1732828617095947, 0.158713698387146, -0.24599876999855042, -0.10874604433774948, -0.6661629676818848, 0.1271347552537918, 0.004634468350559473, -0.24654075503349304, -0.19569706916809082, 0.1576208621263504, 0.1669139862060547, 0.23228560388088226, 0.43321412801742554, -0.8553334474563599, -0.15625721216201782, -0.5742669105529785, 0.963125467300415, 0.634562611579895, -0.04363063722848892, 0.31553810834884644, 0.05652354657649994, 0.1674674153327942, 0.023183828219771385, 0.119086854159832, -0.40294724702835083, -0.48583248257637024, -0.39022180438041687, -0.405707448720932, 0.1595829576253891, 0.6755422949790955, -0.32308229804039, 0.7508998513221741, -0.518112063407898, -0.12284869700670242, -0.35346993803977966, -0.3263426125049591, -0.0127190463244915, 0.49964943528175354, 0.430082231760025, -0.05874742195010185, -0.8925834894180298, -1.0869354009628296, -0.01112302765250206, -0.14680436253547668, -0.4099700450897217, -0.056504834443330765, 0.18505249917507172, -0.3639232814311981, 0.9571924805641174, -0.21160131692886353, -0.11849351972341537, -0.1479545682668686, -0.25290095806121826, 0.4610973298549652, 0.492525577545166, 0.056829534471035004, -0.36442291736602783, -0.08522725850343704, 0.2630254328250885, -0.9515975117683411, -0.2389361560344696, -0.19581523537635803, -0.13561809062957764, 0.1814502328634262, 0.5131655335426331, -0.666257917881012, 0.289077490568161, 0.6201070547103882, -0.28791555762290955, 0.3026062548160553, -0.24276503920555115, -0.02802208438515663, -1.037787675857544, 0.23668669164180756, 0.06411367654800415, -0.03323451429605484, -1.0040395259857178, -0.0943378284573555, 0.11268126219511032, 0.08072222769260406, -0.19755598902702332, 0.2914821207523346, -0.7219133973121643, -0.11559092253446579, -0.5155664086341858, 0.10049077868461609, 0.013973154127597809, 0.2643357515335083, 0.2990894615650177, 0.4304038882255554, 0.9008589386940002, -0.24466300010681152, 0.18305988609790802, 0.42513737082481384, -0.1444505900144577, 0.6781495809555054, -0.9115132093429565, 0.24536073207855225, -0.3491012752056122, 0.4076542556285858, -1.0009963512420654, -0.042487964034080505, -0.029166504740715027, -0.7890886068344116, 0.5548824667930603, -0.07183971256017685, -0.3382132351398468, -0.15371786057949066, -0.09501098096370697, 0.4121686518192291, 0.7950760126113892, -0.9062950611114502, 0.796564519405365, 0.5681577324867249, -0.2783542573451996, -0.5194636583328247, -1.0641661882400513, 0.7297085523605347, -0.03181261569261551, -0.9561079740524292, 0.3334951102733612, -0.05183105543255806, -0.02895176224410534, -0.308283269405365, 0.06660293787717819, -0.17470969259738922, -0.1164190024137497, -0.09861179441213608, 0.09632282704114914, -0.05009274557232857, -0.28127217292785645, 0.5305863618850708, -0.06066032871603966, 0.5126925706863403, -0.6807933449745178, 0.6392827033996582, 0.26731520891189575, -0.35521167516708374, -0.657684862613678, 0.5909091234207153, 0.7037057280540466, -0.15425993502140045, 0.5132906436920166, 0.5030486583709717, -0.9408599138259888, -0.1721302568912506, -0.5013998746871948, -0.19118072092533112, -0.48991554975509644, 1.0500730276107788, -0.5396199822425842, -0.7925028204917908, 0.6241370439529419, -0.4151732921600342, 0.061598047614097595, -0.060298118740320206, 0.47253313660621643, -0.0956435427069664, 1.1732021570205688, 0.41541028022766113, -0.0175315048545599, 0.10117442905902863, -0.061295412480831146, 0.3722909092903137, -1.3634660243988037, -0.5228380560874939, -0.16906704008579254, -0.13106811046600342, -0.04440830275416374, -0.43892568349838257, 0.28006747364997864, 0.37423253059387207, -0.19207949936389923, 0.2460498809814453, -0.5338668823242188, 0.33144411444664, -0.06054211035370827, 0.3596445918083191, 0.05423686280846596, 0.3332665264606476, 0.22493119537830353, -0.07920490205287933, -0.5700969099998474, -0.33115777373313904, 1.0182758569717407, 0.7526509761810303, 0.5416719317436218, 0.41599950194358826, 0.2835812270641327, 0.2235621213912964, 0.15368542075157166, -0.8425475358963013, 0.6313477754592896, -0.13867126405239105, -0.33830133080482483, -0.32452550530433655, -0.1642463356256485, -0.8817458748817444, 0.1369277983903885, 0.04256367310881615, -1.1429479122161865, 0.5811548233032227, -0.04712594673037529, -0.2879994213581085, 0.43603983521461487, -0.5288600325584412, 0.4426432251930237, -0.08210070431232452, -0.7469298243522644, -0.4624587893486023, -0.6819722652435303, 0.4176144003868103, -0.12436927855014801, 0.29031339287757874, 0.33955925703048706, -0.4484778642654419, 0.8761656880378723, -0.027902504429221153, 0.8426715135574341, -0.23856715857982635, -0.5699259638786316, 0.3362637758255005, -0.006429887842386961, 0.6650506854057312, -0.0756777673959732, -0.2211848944425583, 0.49335408210754395, -0.11383918672800064, -0.3059481382369995, -0.6616849899291992, 0.7943885922431946, -0.5977760553359985, -0.3671356439590454, -0.02058228850364685, -0.34881123900413513, -0.3621024489402771, 0.027749110013246536, -0.031097713857889175, 0.6427116394042969, -0.07894126325845718, 0.27418044209480286, 1.1173864603042603, -0.3893992602825165, 0.6871342062950134, 0.5430375933647156, 0.11367236822843552, -0.8206959962844849, 0.9784940481185913, 0.07297516614198685, 0.28213509917259216, 0.5531983971595764, -0.24674192070960999, -0.676970899105072, -1.061241865158081, -0.5637875199317932, 0.4224967956542969, -0.8326273560523987, -0.03105342760682106, -0.7077605724334717, -0.17811213433742523, -0.38455697894096375, -0.09168139845132828, -0.2304438203573227, -0.0857100561261177, -0.3869040906429291, -0.3087522089481354, 0.08746789395809174, 0.6355520486831665, -0.41583213210105896, 0.4788012206554413, -0.6241540908813477, 0.10369471460580826, -0.014908541925251484, 0.5644904971122742, 0.10778845846652985, -0.8595841526985168, -0.39310768246650696, 0.18154138326644897, 0.13482537865638733, -1.24687659740448, 0.37279564142227173, 0.02937181666493416, 0.549059271812439, 0.3795090317726135, -0.3119255304336548, 0.5717715620994568, -0.6550642251968384, 0.7548354864120483, 0.6547675132751465, -1.0611294507980347, 0.13623137772083282, -0.4514787197113037, 0.38901808857917786, 0.042436644434928894, 0.207094207406044, -0.7531039118766785, 0.18315063416957855, -0.18325750529766083, -1.101065993309021, 0.501183807849884, -0.1840267926454544, 0.05490740388631821, -0.1903752088546753, 0.5946792960166931, -0.12101767957210541, -0.10093118250370026, -0.5960980653762817, -0.07037786394357681, 0.22525793313980103, -0.501591145992279, 0.21922187507152557, -0.5588287711143494, -0.1389152556657791, -0.15584562718868256, 0.4056530296802521, -0.13432517647743225, 0.6383715271949768, 0.1738775074481964, -0.12957608699798584, 0.09239738434553146, 0.2784220576286316, 0.44811171293258667, 0.5081753730773926, 0.12231362611055374, -0.04230506718158722, 0.5076492428779602, -0.3122245669364929, 0.11789721995592117, 0.04058367386460304, 0.039945702999830246, -0.1406533122062683, 0.3078429698944092, 0.8821429014205933, 0.0015837429091334343, -0.6469587087631226, 0.6017228364944458, 0.2059299349784851, -0.3306574821472168, -0.5065049529075623, -0.49814197421073914, 0.46271300315856934, 0.21474196016788483, 0.38094562292099, -0.10184825956821442, 0.3889167606830597, -0.35908788442611694, 0.43596965074539185, 0.6592611074447632, -0.24964125454425812, -0.5754838585853577, 0.8081933856010437, 0.29494962096214294, -0.4116341471672058, 0.6039015650749207, 0.1801067292690277, -0.1405842900276184, 0.5310590863227844, 0.9178106188774109, 0.9564239978790283, -0.20051291584968567, -0.21066555380821228, 0.3762732744216919, 0.4167199432849884, -0.013810555450618267, 0.46832966804504395, 0.10531806945800781, -0.44497403502464294, -1.06989586353302, -0.6659953594207764, 0.015363304875791073, 0.16989578306674957, -0.46329376101493835, 0.4987611472606659, -0.496121883392334, 0.00007218728569569066, -0.24457047879695892, -0.7270857095718384, -0.09006542712450027, 0.30545714497566223, 0.6281290650367737, 1.173179268836975, -0.6149512529373169, 0.7960808873176575, 0.26234304904937744, 0.050714071840047836, -0.4542958736419678, -0.32956016063690186, -0.1830321103334427, -0.6036878228187561, 0.31921306252479553, -0.0032763404306024313, -0.3436298370361328, 0.37613537907600403, -0.4048216938972473, -0.9037798047065735, 1.0323591232299805, 0.5871131420135498, -0.8124549388885498, -0.2398127168416977, 0.25619998574256897, 0.4563577175140381, -0.2212085872888565, 0.835953950881958, 0.7816703915596008, 0.5016500949859619, -0.11449329555034637, -0.7916930317878723, 0.20886360108852386, -0.1538543701171875, 0.05119529366493225, 0.13653545081615448, -0.3745559751987457, 0.1683967411518097, -0.22927089035511017, -0.2718309164047241, 0.13771748542785645, 0.9302703738212585, -0.04088746756315231, 0.04338227957487106, 0.31365224719047546, 0.46114662289619446, 0.4501994252204895, -0.05438448488712311, 0.5811052322387695, -0.5113444924354553, -0.07411693036556244, 0.8875352144241333, -0.04885324090719223, 1.027017593383789, 0.5488212704658508, -0.17979958653450012, 0.4073193669319153, 0.6208674311637878, 0.3118276298046112, 0.3667495548725128, 0.38353440165519714, -0.5129019021987915, -0.23473000526428223, -0.18272830545902252, -0.251844197511673, 0.32024261355400085, 0.8301587104797363, -0.2514111399650574, -0.2007042020559311, 0.27500852942466736, -0.03538453206419945, 0.17550528049468994, -0.28461477160453796, 0.7204455137252808, 0.2382264882326126, -0.5119988322257996, 0.7372469902038574, 0.08430729061365128, 0.8669823408126831, -0.8532664775848389, -0.09293172508478165, -0.0609639547765255, 0.044915392994880676, -0.45016852021217346, -0.7015683650970459, 0.43621399998664856, -0.39532044529914856, -0.20505626499652863, 0.08280953764915466, 0.4423995912075043, -0.6172296404838562, 0.09864265471696854, 0.7616934776306152, 0.35146594047546387, 0.18822114169597626, 0.05750632286071777, -0.3094172179698944, 0.46055248379707336, 0.15476058423519135, -0.25603511929512024, 0.36476248502731323, -0.027841757982969284, -0.0032809260301291943, 0.5867248177528381, 0.7661811113357544, 0.14736390113830566, 0.0989903137087822, 0.22717975080013275, 0.6627548336982727, -0.5683329105377197, -0.517894983291626, -0.9710390567779541, 0.6468610167503357, -0.0764530748128891, 0.041655585169792175, 0.3033975064754486, 0.6637698411941528, 0.2772975265979767, 0.1170230507850647, 0.7826693058013916, -0.03646240755915642, 0.35208743810653687, -0.3751930594444275, 0.5823272466659546, -0.35644617676734924, 0.29898685216903687, 0.015432442538440228, -0.6845093965530396, -0.39566078782081604, 0.31738394498825073, -0.028080902993679047, -0.00807622354477644, 0.6056021451950073, 1.0822069644927979, 0.1548430323600769, 0.2550565004348755, 0.5612360239028931, 0.5088441371917725, 0.5054054260253906, 1.0368199348449707, 0.650467574596405, -0.25828030705451965, 0.5255776047706604, 0.37464672327041626, -0.8650233745574951, 0.22830510139465332, -0.5457148551940918, -0.41878846287727356, -0.32247239351272583, -0.3329775631427765, -0.32345420122146606, 0.3443538546562195, 0.7701804041862488, 0.5803881883621216, -0.5505442023277283, -0.33548206090927124, -0.46815478801727295, -0.31199872493743896, -0.22285789251327515, -0.11061365902423859, 0.4127882421016693, -0.1009153425693512, -0.98128741979599, 0.7342231273651123, 0.48240435123443604, 0.02364245057106018, -0.4122970700263977, -0.270647257566452, -0.1262952834367752, 0.17405594885349274, 0.9433069229125977, 0.49635979533195496, -0.6944968700408936, -0.11806295067071915, 0.13921810686588287, 0.20875106751918793, -0.1920146942138672, 0.36135679483413696, -0.7238966226577759, 0.34692656993865967, 0.5720613598823547, 0.9016848206520081, 0.3378687798976898, -0.3498293459415436, 0.8771899342536926, -0.1483747363090515, 0.040477972477674484, 0.10478019714355469, 0.5579520463943481, 0.3236415386199951, -0.4398665428161621, 0.21433456242084503, 0.0892665907740593, -0.49893295764923096, -0.9005287289619446, 0.45586302876472473, -1.1797666549682617, -0.41351965069770813, 1.3122214078903198, -0.1579740047454834, -0.5121443867683411, -0.3207327127456665, -0.21932284533977509, 0.28560498356819153, -0.04980671778321266, 0.393002450466156, 0.6410250663757324, -0.18216653168201447, -0.3583296537399292, -0.3442666530609131, 0.07438906282186508, 0.6119394302368164, -0.792946457862854, 0.30286258459091187, 0.7022896409034729, 0.34082743525505066, -0.04864661023020744, 0.497272789478302, -0.33983689546585083, 0.4850245416164398, 0.07799848169088364, 0.2934551537036896, -0.2966122031211853, -0.23207296431064606, -0.8291289210319519, 0.27440953254699707, -0.010285552591085434, -0.1701066792011261 ]
http://arxiv.org/abs/2406.11566v1
http://arxiv.org/pdf/2406.11566v1
MEMLA: Enhancing Multilingual Knowledge Editing with Neuron-Masked Low-Rank Adaptation
2024-06-17T14:03:50
2024-06-17T14:03:50
Jiakuan Xie, Pengfei Cao, Yuheng Chen, Yubo Chen, Kang Liu, Jun Zhao
cs.CL
cs.CL
Knowledge editing aims to adjust the knowledge within large language models (LLMs) to prevent their responses from becoming obsolete or inaccurate. However, existing works on knowledge editing are primarily conducted in a single language, which is inadequate for multilingual language models. In this paper, we focus on multilingual knowledge editing (MKE), which requires propagating updates across multiple languages. This necessity poses a significant challenge for the task. Furthermore, the limited availability of a comprehensive dataset for MKE exacerbates this challenge, hindering progress in this area. Hence, we introduce the Multilingual Knowledge Editing Benchmark (MKEB), a novel dataset comprising 12 languages and providing a complete evaluation framework. Additionally, we propose a method that enhances Multilingual knowledge Editing with neuron-Masked Low-Rank Adaptation (MEMLA). Specifically, we identify two categories of knowledge neurons to improve editing precision. Moreover, we perform LoRA-based editing with neuron masks to efficiently modify parameters and facilitate the propagation of updates across multiple languages. Experiments demonstrate that our method outperforms existing baselines and significantly enhances the multi-hop reasoning capability of the edited model, with minimal impact on its downstream task performance. The dataset and code will be made publicly available.
[ -0.25579017400741577, -0.6897227764129639, 0.26060956716537476, 0.3122510015964508, -0.04475409537553787, 0.2697972357273102, -0.4950048625469208, -0.431884229183197, 0.4228580892086029, 0.2662755846977234, -0.3006097376346588, -0.6721722483634949, -0.7317180037498474, 0.09690440446138382, 0.17926204204559326, 0.676706075668335, -0.011147105135023594, 0.21056298911571503, -0.18214818835258484, -0.49737635254859924, -0.7939156293869019, -0.5090160369873047, -0.7049925923347473, -0.31076565384864807, 0.7762753367424011, 0.4619479179382324, 0.5632216334342957, 0.21767517924308777, 0.1219012513756752, 0.28393492102622986, -0.38514187932014465, 0.5528861284255981, -0.1308438777923584, 0.0714421421289444, -0.3294788599014282, -0.37029194831848145, -0.9611204862594604, -0.23340949416160583, 0.6799074411392212, 0.6745358109474182, -0.11369171738624573, 0.16413205862045288, 0.059778645634651184, 0.6390524506568909, -0.8810356855392456, 0.01966768689453602, -0.6812716722488403, -0.0744488388299942, -0.10987204313278198, 0.1118059828877449, -0.49046313762664795, -0.21766401827335358, -0.3043782413005829, -0.8344583511352539, -0.2742045521736145, -0.2327648401260376, 0.36675506830215454, 0.23466208577156067, -0.18744997680187225, 0.18614166975021362, -0.2924162447452545, 0.4632868766784668, -0.9296573996543884, 0.4364686906337738, 0.3788146674633026, 0.22464941442012787, -0.07131706178188324, -0.41370800137519836, -0.602356493473053, 0.03279462084174156, -0.011126832105219364, -0.04686648026108742, -0.28419172763824463, -0.08792410790920258, 0.4223812520503998, -0.2232147604227066, -0.3860131800174713, 0.13872340321540833, -0.15655188262462616, -0.3141976296901703, 0.2938190698623657, -0.16769765317440033, 0.26706135272979736, -0.25661301612854004, -0.04015208035707474, -0.19930697977542877, -0.7297875881195068, -0.06078016385436058, 0.4533385634422302, 0.09305934607982635, 0.049813415855169296, 0.402010440826416, -0.47762128710746765, 0.8394617438316345, -0.20947018265724182, -0.2710649371147156, 0.35928064584732056, -0.13210758566856384, -0.1981782466173172, 0.1390114277601242, 0.5253710746765137, 0.4166603088378906, 0.09740849584341049, -0.2420060932636261, -0.08465954661369324, -0.28451070189476013, 0.08441903442144394, -0.778806746006012, -0.15911048650741577, -0.11264137923717499, -0.3300483226776123, -0.21163545548915863, -0.5124126076698303, -0.9084129929542542, -0.6586694121360779, -0.19647061824798584, 0.6016759276390076, -0.4304257035255432, -0.11659342795610428, 0.3002879321575165, -0.0543314591050148, -0.2011481076478958, 0.6281564235687256, -0.8997339606285095, 0.10149762779474258, 0.2980356514453888, 0.6254407167434692, 0.11140527576208115, -0.8635715842247009, -0.42242202162742615, 0.3510524332523346, -0.4160468280315399, 0.8096169233322144, -0.48597729206085205, 0.08519284427165985, -0.2526894509792328, -0.09702399373054504, -0.23759706318378448, -0.5432143807411194, 0.21393240988254547, -0.8310866951942444, -0.1435660868883133, -0.20663480460643768, -0.33308619260787964, -0.381741464138031, 0.5083734393119812, -0.5369439125061035, 0.8762041926383972, -0.06067771464586258, -0.43054336309432983, 0.33101195096969604, -0.9291661381721497, -0.5436142683029175, -0.3504250645637512, 0.08375659584999084, -0.21961459517478943, -0.05363158509135246, 0.7388148903846741, 0.32934990525245667, -0.09754622727632523, 0.3891664445400238, -0.16001665592193604, -0.07240470498800278, 0.3279396593570709, -0.45759454369544983, 0.6404163241386414, -0.12381055951118469, -0.14982357621192932, 0.1916177123785019, -0.8307074308395386, 0.020273178815841675, -0.19745756685733795, -0.3156881034374237, -0.3923891484737396, -0.2053089737892151, -0.05894596874713898, 0.35595703125, 0.2741716206073761, -0.4841289818286896, 0.5779688954353333, 0.033384617418050766, 0.45938849449157715, 0.967043399810791, 0.17671149969100952, 0.5295091867446899, -0.12563133239746094, 0.32768747210502625, 0.2791825234889984, 0.3761407434940338, 0.019718578085303307, -0.6293387413024902, -0.5951289534568787, -0.1739216297864914, 0.7594345211982727, 0.5532925724983215, -1.1623116731643677, 0.022466177120804787, -0.5225799083709717, -0.5155254602432251, -0.7485356330871582, 0.5374405980110168, 0.26701784133911133, 0.44321656227111816, 0.6592035889625549, -0.14135578274726868, -0.18564821779727936, -0.9416754245758057, -0.45333027839660645, 0.16146770119667053, 0.12013484537601471, 0.18465647101402283, 0.3011172115802765, -0.22728438675403595, 0.6036235690116882, -0.4325640797615051, -0.4203861951828003, -0.04711957648396492, 0.20628294348716736, 0.3493584990501404, 0.7653248310089111, 0.5055714249610901, -0.4873533844947815, -0.406215637922287, 0.17257575690746307, -0.8299607038497925, -0.07987973839044571, -0.25288301706314087, -0.2920033931732178, 0.10670915246009827, 0.659417450428009, -0.5113527178764343, 0.27882879972457886, 0.691590428352356, -0.21592973172664642, 0.3667886555194855, -0.4566269814968109, 0.5062156915664673, -1.1796571016311646, -0.03437744826078415, -0.4031933844089508, -0.011065829545259476, -0.6926694512367249, -0.05136618763208389, 0.5271998047828674, -0.13622714579105377, -0.4251523017883301, 0.6629981398582458, -0.40603935718536377, 0.037165045738220215, -0.1395566314458847, 0.1708921194076538, 0.1584470570087433, 0.8772366642951965, -0.11079172790050507, 0.695574164390564, 0.4272250831127167, -0.3432728946208954, 0.048516761511564255, 0.44553688168525696, -0.6569948196411133, 0.5158936381340027, -0.26501891016960144, 0.33194372057914734, 0.03707532212138176, -0.0420035794377327, -0.3992568254470825, -0.04767279699444771, 0.19225206971168518, -0.4321385324001312, 0.4909800589084625, -0.19205264747142792, -0.7670141458511353, 0.2597273886203766, -0.20799022912979126, 0.632941484451294, 0.09040649235248566, -0.5802986025810242, 0.6998817324638367, 0.3016621768474579, -0.2543357312679291, -1.000704288482666, -0.7108220458030701, 0.5780524611473083, 0.15388482809066772, -0.7189888954162598, 0.4396224319934845, -0.14785803854465485, -0.2292567789554596, -0.041213229298591614, -0.15352781116962433, -0.09183740615844727, -0.00812514964491129, -0.2538529336452484, 0.10928201675415039, -0.2520478367805481, 0.21263591945171356, 0.5159866809844971, -0.1721571534872055, -0.26951950788497925, -0.10966499894857407, 0.2604297995567322, 0.2022096961736679, -0.3605605363845825, -0.23803257942199707, 0.12185081094503403, 0.4972239136695862, -0.46473073959350586, 0.7381515502929688, 0.5141721367835999, -0.5252265930175781, -0.35729479789733887, -0.677632749080658, -0.2423131763935089, -0.38502657413482666, 0.5165814161300659, -0.5910071134567261, -0.806857705116272, 0.5687925815582275, -0.2481287717819214, -0.2148439735174179, 0.31569695472717285, 0.22061793506145477, 0.12220056354999542, 0.598786473274231, 0.5083093047142029, -0.23843054473400116, 0.29095491766929626, -0.018132483586668968, 0.16307786107063293, -1.1529377698898315, -0.16887600719928741, -0.4428040087223053, -0.6659687757492065, -0.41687461733818054, -0.8174976110458374, 0.5641515254974365, 0.44848451018333435, 0.10134487599134445, 0.338003545999527, -0.3438337445259094, 0.7127716541290283, 0.546290934085846, 0.38629189133644104, 0.5480062961578369, -0.09430617839097977, -0.2297196388244629, -0.21622344851493835, -0.9021358489990234, -0.2111527919769287, 1.079958438873291, 0.05775973200798035, 0.6473793983459473, 0.32456719875335693, 0.2357136756181717, 0.42191022634506226, 0.40400123596191406, -0.3786761462688446, 0.4316692054271698, -0.26085197925567627, -0.5371248722076416, -0.2966151535511017, -0.24511969089508057, -0.38889938592910767, 0.5308825969696045, -0.41514310240745544, -0.6773611903190613, 0.6031324863433838, 0.008418651297688484, -0.18782998621463776, 0.7108221054077148, -0.8174086809158325, 1.1560492515563965, -0.07929228246212006, -0.46335166692733765, -0.46078285574913025, -0.5470854043960571, 0.17348887026309967, -0.2316596359014511, 0.3069206774234772, -0.18695902824401855, 0.023998968303203583, 0.7069243788719177, -0.18566590547561646, 0.8144142627716064, -0.3302238881587982, 0.046678394079208374, -0.11330883949995041, 0.11162185668945312, 0.6238030791282654, 0.2843410074710846, -0.3351043462753296, 0.5070636868476868, -0.27761515974998474, -0.4500437378883362, -0.7924389243125916, 0.6884358525276184, -0.6699872612953186, -0.4205659329891205, -0.23302356898784637, -0.8218482136726379, -0.5498080253601074, 0.2579919099807739, -0.07340139150619507, 0.49043840169906616, -0.15069997310638428, 0.05841097980737686, 0.5704920291900635, -0.5471537709236145, 0.47215330600738525, 0.5342800617218018, -0.24266715347766876, -0.7340538501739502, 0.7904499173164368, 0.30189499258995056, 0.31020388007164, 0.48828384280204773, -0.08522655069828033, -0.003602628130465746, -0.7748369574546814, -0.9571338295936584, 0.10266359895467758, -1.1881353855133057, -0.29158395528793335, -0.771857500076294, -0.06990804523229599, -0.4309993088245392, -0.28848832845687866, -0.23967783153057098, -0.6215071082115173, 0.11485069245100021, 0.07764074951410294, 0.4703422486782074, 0.6680145859718323, -0.33805692195892334, 0.2884521484375, -0.6138454675674438, 0.5988094210624695, 0.43087881803512573, 0.5203627943992615, 0.05218471959233284, -0.48075538873672485, -0.4100396931171417, 0.055233296006917953, -0.06425979733467102, -0.8550317287445068, 0.1443660408258438, 0.2086520791053772, 0.6106295585632324, -0.11132623255252838, -0.22118604183197021, 0.8787703514099121, -0.6232094764709473, 0.4405459761619568, 0.08008196949958801, -1.1834617853164673, 0.3872736394405365, -0.15265239775180817, 0.4653938114643097, 0.5980127453804016, -0.02092832513153553, -0.9045408368110657, -0.21062421798706055, -0.32664480805397034, -0.5058655738830566, 0.7747209668159485, 0.03885561227798462, 0.11534063518047333, 0.20228445529937744, 0.31203392148017883, 0.0890222117304802, 0.34350529313087463, -0.7754883766174316, -0.30519697070121765, -0.2713596224784851, 0.1790611296892166, -0.27909061312675476, -0.36568301916122437, 0.014795917086303234, -0.5430284142494202, 0.9833255410194397, -0.401300311088562, 0.06348761916160583, 0.20668259263038635, -0.6633985638618469, 0.08113694936037064, 0.5399540066719055, 0.954189658164978, 0.8218554258346558, -0.22596271336078644, 0.15337710082530975, 0.6352021098136902, -0.49017614126205444, 0.10294204950332642, 0.07699893414974213, -0.29666635394096375, 0.05238424986600876, 0.23334389925003052, 0.8047168254852295, 0.46950146555900574, -0.36335888504981995, 0.3395507037639618, 0.008697605691850185, -0.13656580448150635, 0.2949123978614807, -0.21871091425418854, 0.29457518458366394, 0.22025257349014282, 0.13501949608325958, 0.7219343781471252, -0.10790009796619415, -0.00784309022128582, 0.04450144246220589, 0.10992014408111572, -0.17909637093544006, -0.12983077764511108, 0.6254151463508606, 0.00889565795660019, -0.12932780385017395, 0.43394196033477783, -0.20869489014148712, -0.27440130710601807, 0.42441946268081665, 0.4379158616065979, 0.750214159488678, -0.364776074886322, 0.17886273562908173, 0.5006772875785828, 0.8335655331611633, 0.21898077428340912, 0.04333697631955147, 0.16360615193843842, -0.8886660933494568, -0.7614117860794067, -0.5547912120819092, -0.5002890229225159, 0.14948725700378418, -0.3203747570514679, 0.36250412464141846, -0.3827427327632904, 0.1765393614768982, 0.2568661868572235, -0.5233655571937561, -0.32859647274017334, 0.04221625626087189, -0.055891621857881546, 1.1125235557556152, -0.551772952079773, 1.2368290424346924, 0.7072530388832092, -0.24377691745758057, -0.39004701375961304, -0.2253069430589676, -0.1877160370349884, -0.6889894008636475, 0.29926350712776184, -0.012289220467209816, -0.026870040223002434, -0.020348740741610527, -0.29800403118133545, -0.676649808883667, 0.9894368052482605, 0.7047443389892578, -0.3064453601837158, 0.2029729038476944, 0.22731252014636993, 0.42721089720726013, -0.2042437493801117, 0.04671059548854828, 0.32444870471954346, 0.73714679479599, -0.27995961904525757, -0.7951558828353882, -0.12873496115207672, -0.37913888692855835, -0.1092088371515274, 0.17744141817092896, -0.4530874788761139, 0.7947115898132324, -0.06303179264068604, 0.5205972194671631, -0.16383901238441467, 0.29808950424194336, -0.1389078050851822, 0.03695184737443924, 0.28949958086013794, 0.7597501277923584, 0.7582337856292725, 0.052441589534282684, 0.6922698616981506, -0.30159226059913635, 0.05653780326247215, 1.4542020559310913, -0.25823983550071716, 0.9398123025894165, 0.555075466632843, 0.16438622772693634, 0.5269191861152649, 0.4182823896408081, 0.026201626285910606, 0.5061230063438416, -0.024512581527233124, -0.3656942546367645, -0.2847384512424469, -0.059384606778621674, -0.31793737411499023, 0.5658955574035645, 0.2066536396741867, -0.14512427151203156, -0.30484241247177124, 0.25439324975013733, 0.3244438171386719, 0.09069442749023438, -0.4615006148815155, 0.8766245245933533, -0.08859745413064957, -0.5972445011138916, 0.5551941394805908, 0.30668967962265015, 0.5987169742584229, -0.5800185799598694, -0.16908037662506104, -0.2676556706428528, 0.22929362952709198, -0.12567032873630524, -0.5071195363998413, 0.22909942269325256, -0.03280111774802208, -0.3860475420951843, -0.2755637466907501, 0.9046397805213928, -0.4976237118244171, -0.5019505620002747, 0.5540232062339783, 0.8002431392669678, -0.10175337642431259, -0.3758796751499176, -0.7833248376846313, -0.06754684448242188, -0.06296468526124954, -0.16107892990112305, 0.546417236328125, 0.2770327925682068, -0.20449134707450867, 0.4742524325847626, 0.7671051621437073, 0.18809013068675995, 0.2227378934621811, 0.2216029018163681, 0.7817681431770325, -0.6928508877754211, -0.2753210961818695, -0.7533663511276245, 0.5272831320762634, -0.20402131974697113, -0.35267406702041626, 0.6055140495300293, 0.5266724824905396, 0.8305094838142395, -0.3337418735027313, 0.6999108195304871, -0.12147369980812073, 0.21057502925395966, -0.7416844367980957, 1.2613555192947388, -0.5482643842697144, 0.037600189447402954, -0.252856582403183, -0.9818702936172485, -0.5586072206497192, 0.32758036255836487, -0.3093639612197876, -0.15820567309856415, 0.8147138357162476, 1.0868854522705078, -0.15025067329406738, -0.13835956156253815, 0.6524015665054321, 0.479860782623291, 0.03933469206094742, 0.5742146372795105, 0.6529681086540222, -0.6854525208473206, 0.24515897035598755, -0.7022289633750916, 0.013132390566170216, 0.05245671793818474, -1.0124298334121704, -0.8741588592529297, -0.39308059215545654, -0.3133377730846405, -0.17730921506881714, 0.24966317415237427, 0.8669620752334595, 0.6908021569252014, -0.8502745032310486, -0.16902899742126465, 0.26158607006073, 0.5252726674079895, -0.6246693730354309, -0.04548419266939163, 0.5148935317993164, -0.419914573431015, -0.7012722492218018, 0.7956152558326721, 0.4784180819988251, -0.3166208267211914, 0.1477920264005661, -0.14370667934417725, -0.6478484869003296, -0.17691677808761597, 0.7138292789459229, 0.02211265079677105, -0.4419931471347809, -0.23434904217720032, 0.013949123211205006, 0.02777579426765442, 0.31071656942367554, 0.6016618013381958, -0.5566821694374084, 0.8852042555809021, 0.2734365165233612, 0.837834894657135, 0.3504951298236847, -0.4399997591972351, 0.2674160897731781, -0.9646734595298767, 0.23317529261112213, -0.051929082721471786, 0.548291802406311, 0.4605623781681061, -0.09986305236816406, 0.4887411296367645, 0.27355799078941345, -0.42860516905784607, -0.5762912034988403, -0.23407089710235596, -0.9416065812110901, -0.3261818289756775, 0.9967330098152161, -0.07384481281042099, -0.18835489451885223, -0.08223532885313034, -0.28141650557518005, 0.21412451565265656, -0.1839342713356018, 0.7080066204071045, 0.8869802355766296, 0.15562306344509125, -0.22486376762390137, -0.8249312043190002, 0.4989372789859772, 0.5534814596176147, -1.1198070049285889, 0.04580135643482208, 0.5497259497642517, 0.21011868119239807, 0.2224833071231842, 0.4503529965877533, -0.10087865591049194, 0.7179264426231384, -0.05974598973989487, 0.6439787149429321, -0.18527348339557648, -0.4356010854244232, -0.5821699500083923, 0.16495107114315033, 0.26739445328712463, -0.017689310014247894 ]
http://arxiv.org/abs/2406.11565v2
http://arxiv.org/pdf/2406.11565v2
Extrinsic Evaluation of Cultural Competence in Large Language Models
2024-06-17T14:03:27
2024-06-19T05:18:56
Shaily Bhatt, Fernando Diaz
cs.CL
cs.CL, cs.CY
Productive interactions between diverse users and language technologies require outputs from the latter to be culturally relevant and sensitive. Prior works have evaluated models' knowledge of cultural norms, values, and artifacts, without considering how this knowledge manifests in downstream applications. In this work, we focus on extrinsic evaluation of cultural competence in two text generation tasks, open-ended question answering and story generation. We quantitatively and qualitatively evaluate model outputs when an explicit cue of culture, specifically nationality, is perturbed in the prompts. Although we find that model outputs do vary when varying nationalities and feature culturally relevant words, we also find weak correlations between text similarity of outputs for different countries and the cultural values of these countries. Finally, we discuss important considerations in designing comprehensive evaluation of cultural competence in user-facing tasks.
[ -0.29683783650398254, -0.5816128849983215, 0.2712453603744507, 0.042359575629234314, -0.17971104383468628, 0.04060118645429611, -0.7561396956443787, -0.5124331116676331, -0.030434798449277878, 0.4094306528568268, -0.4837553799152374, -0.2512563169002533, -0.23122696578502655, 0.15139199793338776, -0.29327189922332764, 1.2373911142349243, -0.2990555465221405, -0.3189750015735626, -0.4485955238342285, -0.3407195806503296, -0.49440792202949524, -0.6841115951538086, -0.6496461629867554, -0.17963777482509613, 0.26740700006484985, 0.5218247175216675, 0.6730159521102905, 0.1834947019815445, 0.34458887577056885, 0.25316622853279114, -0.13807238638401031, -0.01671679876744747, -0.6359097957611084, 0.6441255211830139, -0.3858289420604706, -0.2280016988515854, 0.03209434449672699, 0.08137150853872299, 0.34263768792152405, 0.5226611495018005, 0.2692895531654358, 0.6845320463180542, 0.11511937528848648, 0.39000940322875977, -0.44065120816230774, 0.04354051873087883, -0.3223481774330139, 0.11641459167003632, 0.06907636672258377, -0.4334504008293152, -0.46172550320625305, -0.5320907831192017, 0.2902902066707611, -0.3020007312297821, 0.09669231623411179, -0.4135216474533081, 0.7414138913154602, -0.05551493912935257, -0.9188080430030823, -0.6862428188323975, -1.0322990417480469, 0.7387004494667053, -0.5005369186401367, 0.18743270635604858, 0.24264952540397644, 0.31265953183174133, 0.22357730567455292, -0.7568576335906982, -0.5941365361213684, -0.488547146320343, 0.05569363757967949, 0.38492393493652344, -0.0025504636578261852, -0.42015182971954346, 0.4543478190898895, 0.4378548562526703, -0.5841006636619568, 0.24372954666614532, -0.4606952369213104, -0.04814109951257706, 0.6734471917152405, 0.2972720265388489, 0.6004543900489807, -0.16466882824897766, -0.19973264634609222, -0.22087760269641876, -0.5654043555259705, 0.6122828722000122, 0.8340579271316528, 0.3314877152442932, -0.3498450517654419, 0.5963801741600037, -0.40232938528060913, 0.6200659871101379, -0.2315891534090042, 0.027250856161117554, 0.17726477980613708, -0.6896187663078308, 0.2751579284667969, -0.2463579624891281, 0.5788803696632385, 0.630219042301178, 0.6525185108184814, -0.006085629109293222, 0.05210604518651962, -0.15901464223861694, 0.17429298162460327, -0.8072472214698792, 0.13031218945980072, 0.3352176547050476, -0.47900012135505676, -0.10024698078632355, 0.23958614468574524, -0.5382565259933472, -0.4372471570968628, -0.1725739985704422, 0.2318485677242279, -0.24937419593334198, -0.398160845041275, -0.24461857974529266, -0.28956589102745056, 0.10667632520198822, 0.17060647904872894, -1.0082441568374634, -0.0527578741312027, 0.3897552192211151, 0.517058789730072, -0.2177630364894867, -0.17832832038402557, -0.35912349820137024, -0.1962725818157196, -0.42056986689567566, 0.33805373311042786, -0.5782732367515564, -0.3856754004955292, 0.2298479527235031, -0.04988294839859009, 0.07813620567321777, -0.4215888977050781, 0.8076924085617065, -0.572592556476593, 0.36966225504875183, -0.5730058550834656, -0.03174610435962677, -0.2907077968120575, 0.11000824719667435, -0.7521684169769287, 0.8146365880966187, 0.4178783893585205, -0.7892646193504333, 0.6712616682052612, -0.4126763641834259, -0.5584638714790344, 0.2652759850025177, -0.04988988861441612, 0.18880362808704376, 0.28740325570106506, -0.12715594470500946, 0.30265355110168457, -0.34517136216163635, 0.24547280371189117, 0.05058484151959419, -0.2779633104801178, 0.6015715003013611, -0.3382033109664917, 0.8388910293579102, 0.30451956391334534, -0.25763195753097534, 0.1804717779159546, -0.7532563805580139, 0.2505597770214081, 0.09475771337747574, -0.5189029574394226, -0.49194779992103577, -0.08827576786279678, 0.01737634651362896, 0.5744861364364624, 0.3310527503490448, -0.6473455429077148, -0.2798720896244049, -0.2404915690422058, 0.5516107082366943, 0.3876076638698578, 0.08327677100896835, 0.32146164774894714, -0.2882058322429657, 0.7702614068984985, -0.05619366839528084, -0.1361256241798401, -0.4833652973175049, -0.47925880551338196, -0.4836671054363251, 0.15246573090553284, 0.044099025428295135, 0.5062190294265747, -1.1340100765228271, 0.04614388197660446, -0.1012105718255043, -0.8095323443412781, -0.11759710311889648, 0.046503547579050064, 0.35377585887908936, 0.5331993699073792, -0.11798381805419922, -0.6050575971603394, -0.3931524455547333, -0.6893249750137329, -0.52634596824646, -0.4613095223903656, -0.07688180357217789, 0.5082924962043762, 0.5001875758171082, 0.4444253742694855, 0.8793312907218933, -0.16787977516651154, 0.15937307476997375, -0.21860182285308838, 0.38125693798065186, 0.2205801159143448, 0.4146580696105957, 0.48159119486808777, -0.8646203875541687, -0.70166015625, 0.3807086944580078, -0.7733011245727539, -0.1906035989522934, -0.14516887068748474, 0.01593506522476673, 0.5634306073188782, 0.29930856823921204, -0.32069987058639526, 0.17899379134178162, 0.7433828711509705, -0.6011137366294861, 0.6386266946792603, -0.2282988280057907, 0.6713137030601501, -0.9492099285125732, 0.35647422075271606, -0.08437827229499817, 0.18139466643333435, -0.9300139546394348, 0.27558186650276184, 0.09983561933040619, -0.31112274527549744, -0.4123067557811737, 0.7840731143951416, -0.20901711285114288, 0.08497557789087296, 0.02283291332423687, 0.18138033151626587, 0.09211225807666779, 0.13813690841197968, 0.42950567603111267, 0.6812784671783447, -0.03125527873635292, -0.340920627117157, 0.472451388835907, 0.1863074004650116, -0.7700381875038147, 0.7561818361282349, -0.5604420304298401, 0.2873164415359497, -0.0287216417491436, -0.005529267713427544, -1.230922818183899, -0.2716587781906128, -0.09426247328519821, -0.7026197910308838, -0.07607913762331009, 0.05280156806111336, -0.5139075517654419, -0.6453546285629272, -0.1097528263926506, 0.6482199430465698, 0.5254164934158325, -0.16389867663383484, 0.20836904644966125, -0.03615201264619827, -0.5640953183174133, -0.4267716407775879, -0.6763846278190613, -0.13375356793403625, -0.4010642468929291, -0.8654956221580505, -0.11193666607141495, -0.18092483282089233, -0.37485477328300476, -0.18631865084171295, 0.18083085119724274, -0.13099297881126404, 0.192567840218544, 0.07278628647327423, -0.05910051241517067, -0.32934385538101196, 0.15808512270450592, 0.20959733426570892, 0.24563971161842346, 0.18036969006061554, -0.18744122982025146, 0.523209273815155, 0.014853869564831257, -0.3936224579811096, 0.06730630993843079, 0.5262184739112854, 0.6502583622932434, -0.689299464225769, 0.8033354878425598, 0.6192816495895386, -0.2900868356227875, 0.08678034693002701, -0.411293625831604, -0.12157965451478958, -0.4132203757762909, 0.5827339887619019, -0.43833091855049133, -1.0975552797317505, 0.9548608660697937, 0.6026756763458252, 0.12314389646053314, 0.4874016344547272, 0.8913329839706421, 0.15196803212165833, 0.8160384297370911, 0.5657853484153748, 0.7172825932502747, 0.07575409859418869, 0.15157005190849304, 0.31566888093948364, -0.656159520149231, -0.3604682385921478, -0.6972935795783997, -0.16335541009902954, -0.660550057888031, -0.2516321539878845, 0.38321954011917114, -0.2274552881717682, -0.4268668591976166, 0.2939958870410919, -0.07044712454080582, 0.18181021511554718, 0.6781156063079834, -0.17890484631061554, 0.44217172265052795, 0.0221568513661623, -0.17421603202819824, -0.22127221524715424, -0.6166747808456421, -0.7055696845054626, 0.8529847264289856, 0.3917737603187561, 0.5849398374557495, 0.3104986548423767, 0.31652677059173584, 0.08193595707416534, 0.33038684725761414, -0.6247129440307617, 0.24791932106018066, -0.3362779915332794, -0.8406474590301514, -0.44018813967704773, -0.40149906277656555, -0.5738332867622375, -0.022243557497859, -0.21820536255836487, -0.8669766783714294, -0.007483338005840778, 0.07236906886100769, -0.5926972031593323, 0.10422418266534805, -0.7717847228050232, 0.8429246544837952, -0.2581498622894287, -0.34152570366859436, 0.11042014509439468, -0.5492826104164124, 0.49574825167655945, -0.3123495876789093, 0.04527236521244049, 0.19231754541397095, 0.03219452500343323, 0.8196796774864197, 0.21418000757694244, 0.7171798944473267, -0.068916454911232, -0.33311301469802856, 0.5701248645782471, 0.4476160705089569, -0.014479530975222588, -0.07772519439458847, -0.4653770923614502, -0.038756113499403, 0.3306695520877838, -0.050493791699409485, -0.5808503031730652, 0.577502965927124, -0.7689775228500366, -0.6603893041610718, 0.0042003062553703785, -0.9348735213279724, -0.21990329027175903, 0.04013318940997124, 0.4786944091320038, 0.42630940675735474, -0.32850784063339233, 0.3308103680610657, 0.3493579626083374, -0.7166323065757751, 0.30528196692466736, 0.49975255131721497, -0.08926181495189667, -0.07216067612171173, 0.6972275972366333, 0.4304685890674591, 0.5454137325286865, 0.09737890213727951, 0.13930971920490265, -0.28307345509529114, -0.21824003756046295, -0.7767855525016785, -0.0487033911049366, -0.9918688535690308, 0.0664973184466362, -0.4856564402580261, -0.19858428835868835, -0.2385108768939972, -0.20501919090747833, 0.12563665211200714, -0.3940596580505371, -0.2400597482919693, -0.10063672810792923, 0.12059205025434494, 0.7597426772117615, 0.10850442945957184, 0.196245938539505, -0.8208808302879333, -0.09255984425544739, 0.18989752233028412, 0.19393469393253326, 0.1589512974023819, -0.7275123000144958, -0.4293991029262543, 0.1185406893491745, -0.15088149905204773, -0.889208972454071, 0.14964739978313446, 0.10629168897867203, 0.62834233045578, 0.5241753458976746, 0.2779969871044159, 0.08085181564092636, -0.20520904660224915, 1.2083399295806885, 0.04121864214539528, -0.9769809246063232, 0.30119073390960693, -0.4719228446483612, 0.5789985060691833, 0.5167300701141357, 0.6430320143699646, -1.1243549585342407, -0.48926401138305664, -0.3258609473705292, -0.8968311548233032, 0.6905717849731445, 0.012038039974868298, 0.8504140377044678, -0.23629648983478546, 0.008509705774486065, 0.5069968104362488, 0.3269275724887848, -0.7004319429397583, 0.2471884787082672, -0.17288459837436676, -0.05208507552742958, -0.04276910796761513, -0.4511449933052063, -0.15810352563858032, 0.16137929260730743, 0.4177778959274292, -0.20703043043613434, -0.041554804891347885, 0.05692542344331741, -0.23359648883342743, -0.25743454694747925, 0.32954052090644836, 0.6361842751502991, 0.9922448992729187, 0.08914422243833542, 0.01072390191257, 0.2922509014606476, -0.26443570852279663, 0.2569677531719208, -0.20256450772285461, -0.25508400797843933, -0.30659061670303345, 0.4056466519832611, 0.6361462473869324, -0.27314329147338867, -0.8062050938606262, 0.3879457116127014, -0.1760617196559906, 0.09307284653186798, -0.28721752762794495, -0.014196060597896576, 0.007281572092324495, 0.12838131189346313, 0.394734263420105, -0.27636468410491943, -0.08689579367637634, -0.7743200659751892, 0.04206483066082001, 0.4070957899093628, -0.6366517543792725, -0.35234928131103516, 0.5781418085098267, 0.5116247534751892, -0.22994709014892578, 0.8860007524490356, -0.13329513370990753, -0.6000707745552063, 0.9063065648078918, 0.6139803528785706, 0.684268057346344, -0.4856061637401581, 0.38881710171699524, 0.5610486268997192, 0.484100878238678, 0.49497154355049133, 0.5673827528953552, 0.011032960377633572, -0.7385872602462769, -0.7513399124145508, -0.5411350727081299, -0.2835633456707001, -0.08352427929639816, -0.8433933854103088, 0.3028043508529663, -0.14524689316749573, -0.15794704854488373, -0.4212757647037506, -0.1665213406085968, -0.7441389560699463, 0.5327772498130798, 0.2723436653614044, 0.9828145503997803, -1.30143141746521, 0.2977035641670227, 0.8984144330024719, -0.4118864834308624, -0.6148696541786194, -0.009364355355501175, -0.17292754352092743, -0.4681921601295471, 0.930895209312439, 0.147637277841568, 0.18869027495384216, -0.18021784722805023, -0.10452862083911896, -0.7042442560195923, 0.8683704733848572, 0.26102012395858765, 0.07902480661869049, 0.20782043039798737, 0.30813610553741455, 0.9000020623207092, -0.46607890725135803, 0.7483394145965576, 0.49344316124916077, 0.26301342248916626, 0.0455620251595974, -1.0613055229187012, 0.25011342763900757, -0.4285432696342468, 0.07234799861907959, -0.16489405930042267, -0.559971034526825, 0.8795685768127441, -0.30102837085723877, -0.3872543275356293, 0.37891048192977905, 0.7730456590652466, 0.0916404277086258, 0.11231384426355362, 0.457491010427475, 0.1995648741722107, 0.6535423994064331, -0.19427980482578278, 1.0117628574371338, -0.39366865158081055, 0.03919455036520958, 0.9931309223175049, -0.42517441511154175, 0.6418418288230896, 0.26879826188087463, 0.12431538850069046, 0.6584451198577881, 0.7214130759239197, 0.14086885750293732, 0.0905127078294754, 0.2854481041431427, -0.20788057148456573, 0.06912056356668472, -0.5344052910804749, -0.33205512166023254, 0.779825747013092, 0.03588108718395233, -0.5920397639274597, -0.16006852686405182, 0.18408872187137604, 0.16616643965244293, 0.3165868818759918, -0.17291609942913055, 0.547502875328064, -0.1522025614976883, -1.1898341178894043, 0.359506219625473, 0.07001696527004242, 0.25570082664489746, -0.661614716053009, 0.04266221821308136, -0.35431379079818726, -0.31449460983276367, -0.2801688313484192, -1.2260361909866333, 0.38341790437698364, 0.3428821265697479, -0.2768149971961975, -0.13759130239486694, 0.5800598859786987, -0.5126787424087524, -0.2205224633216858, 0.12060798704624176, 0.6699784994125366, 0.12562906742095947, -0.018595170229673386, -0.06797464936971664, 0.05889350548386574, 0.01976228877902031, -0.42240405082702637, 0.06771833449602127, 0.40339839458465576, -0.5186392068862915, 0.46522974967956543, 0.5114395022392273, -0.056554656475782394, -0.08203652501106262, 0.12841109931468964, 0.47070080041885376, -0.37833672761917114, -0.629059374332428, -0.5791987776756287, 0.8334029316902161, 0.03801672160625458, -0.613358199596405, 0.7068399786949158, 0.4109416902065277, 1.0468560457229614, -0.22098621726036072, 1.017913579940796, -0.44321703910827637, 0.24764031171798706, -0.3739416003227234, 0.8159809708595276, -0.41031837463378906, -0.11912607401609421, -0.24839773774147034, -1.0020983219146729, 0.10280270874500275, 0.21024398505687714, -0.5824095606803894, 0.39246678352355957, 0.7996394038200378, 0.45124056935310364, 0.13458433747291565, 0.31743529438972473, 0.497568815946579, 0.11575187742710114, 0.07782522588968277, 0.5513845086097717, 1.218105673789978, 0.1134922206401825, 0.504183292388916, -0.31046491861343384, -0.46288028359413147, 0.26011550426483154, -1.0230039358139038, -0.6847999691963196, -1.047702670097351, -0.20407570898532867, -0.5272637009620667, -0.23931875824928284, 0.8109064102172852, 0.42045384645462036, -0.7132500410079956, -0.47200214862823486, 0.7988092303276062, -0.17118576169013977, -0.22521494328975677, -0.25104787945747375, 0.1679280698299408, -0.017994550988078117, -0.7651453018188477, -0.17500846087932587, 0.052292726933956146, -0.08260328322649002, -0.4479581117630005, 0.15944695472717285, 0.24517109990119934, 0.21162505447864532, 0.8447954654693604, 0.280966579914093, -0.3801579773426056, -0.46143072843551636, 0.11394466459751129, -0.024181341752409935, -0.3157115876674652, 0.9708638787269592, -0.6007347106933594, 0.6513803601264954, 0.721095085144043, 0.37116774916648865, 0.18398047983646393, 0.16018953919410706, 0.7168748378753662, -0.7026984095573425, 0.06542311608791351, 0.21706348657608032, 0.1313575804233551, 0.6561940312385559, -0.3994190990924835, 0.3715400993824005, -0.20480111241340637, -0.4985467195510864, -0.6230829358100891, 0.4946480691432953, -0.6289108991622925, -0.01445959135890007, 1.3857465982437134, -0.6761245131492615, 0.11473533511161804, -0.11149308830499649, -0.24132925271987915, 0.381171852350235, -0.032154764980077744, 0.5208047032356262, 1.0168946981430054, 0.11854315549135208, -0.11368575692176819, -0.7680708765983582, 0.2290695458650589, 0.39777061343193054, -0.634773313999176, 0.09055956453084946, 0.37729230523109436, 0.11558713018894196, 0.2434329390525818, 0.42214587330818176, -0.17683184146881104, 0.3822532594203949, -0.30431467294692993, 0.01664840057492256, -0.052893687039613724, -0.16789664328098297, -0.3485891819000244, 0.17533913254737854, 0.4299381971359253, 0.43566957116127014 ]
http://arxiv.org/abs/2406.11555v1
http://arxiv.org/pdf/2406.11555v1
Input Conditioned Graph Generation for Language Agents
2024-06-17T13:53:15
2024-06-17T13:53:15
Lukas Vierling, Jie Fu, Kai Chen
cs.CL
cs.CL, cs.AI
Recent progress in Large Language Models (LLMs) and language agents has demonstrated significant promise for various future applications across multiple disciplines. While traditional approaches to language agents often rely on fixed, handcrafted designs, our research aims to develop both learnable and dynamic agents. Our method uses an existing framework that abstracts language agents as graphs. Within this graph framework, we aim to learn a model that can generate edges for every given input to the language agent. This allows us to generate edges that represent the flow of communication within the graph based on the given input, thereby adjusting the internal communication of a language agent. We learn to generate these edges using a pretrained LLM that is fine-tuned with reinforcement learning. This LLM can be fine-tuned on several datasets simultaneously, and we hypothesize that the model learns to adapt to these different domains during training, achieving good overall performance when encountering data from different domains during deployment. We demonstrate that our approach surpasses the previous static approach by nearly 6% accuracy on a combined dataset of MMLU and CMMLU, and by more than 10% when trained with a sparsity-inducing loss. It also performs superior in additional experiments conducted with the MMLU and Mini Crossword Puzzles datasets. The code is available at https://github.com/lukasVierling/DynamicGPTSwarm.
[ -0.33774125576019287, -1.077806830406189, 0.599510669708252, 0.05788508802652359, -0.08330880850553513, 0.5584478974342346, -0.4715802073478699, -0.2626728415489197, 0.21128898859024048, 0.3686523139476776, -0.7137769460678101, -0.6329760551452637, -0.5905055403709412, 0.1730797290802002, -0.03220456838607788, 0.9587724208831787, -0.1284141093492508, -0.1890684962272644, -0.20446887612342834, -0.246537446975708, -0.264323353767395, -0.31856173276901245, -0.9578148722648621, -0.8042986989021301, 0.6462660431861877, 0.46176934242248535, 0.8890156149864197, 0.49648934602737427, 0.06629882007837296, 0.46081191301345825, 0.15824678540229797, 0.5287608504295349, -0.7768748998641968, 0.3943238854408264, -0.18127131462097168, -0.17653952538967133, -0.4592241644859314, -0.15311788022518158, 0.7515581846237183, 0.6316243410110474, -0.2016075849533081, -0.07104916125535965, -0.04760833457112312, 0.38416340947151184, -0.24880903959274292, 0.4888143241405487, -0.850007951259613, 0.07489139586687088, -0.16839222609996796, -0.4193345904350281, -0.604788064956665, -0.24017003178596497, -0.11171367019414902, -0.828413188457489, -0.034213338047266006, -0.19683432579040527, 0.828432023525238, 0.2735724449157715, -0.543615460395813, -0.3999062478542328, -0.7301590442657471, 0.30839356780052185, -0.5398099422454834, 0.6089445352554321, 0.06956933438777924, 0.42125633358955383, -0.6261589527130127, -1.0046957731246948, -0.5398463606834412, -0.4154928922653198, 0.04931016266345978, -0.006471983157098293, -0.1498115211725235, 0.17599208652973175, 0.20484592020511627, -0.2036653608083725, -0.5861599445343018, 0.41363319754600525, 0.0003689297300297767, -0.18217073380947113, 0.5046881437301636, 0.2587350606918335, 0.5183842778205872, 0.34435752034187317, 0.053682975471019745, -0.2872471809387207, -0.8245363235473633, 0.1154308021068573, 0.5792859196662903, 0.6321508884429932, -0.0680919960141182, 0.3064279854297638, -0.34306028485298157, 0.9521118998527527, 0.28216782212257385, -0.3043775260448456, 0.4221818149089813, -0.08804333209991455, 0.11818177998065948, -0.17089611291885376, 0.7442185282707214, 0.102313332259655, 0.5693185329437256, -0.270721435546875, -0.4932423233985901, -0.11222749203443527, 0.22188729047775269, -0.8966964483261108, -0.3499213457107544, -0.055368952453136444, 0.02936462126672268, -0.41931888461112976, -0.39923593401908875, -0.3600567877292633, -0.4278199374675751, -0.2506055533885956, 0.17053471505641937, -0.40472865104675293, -0.2555837035179138, -0.04141992703080177, 0.05719345808029175, 0.06557239592075348, 0.21581794321537018, -0.8026329278945923, 0.44345957040786743, 0.27976876497268677, 0.5545070767402649, -0.1704949140548706, -0.48817458748817444, -0.903140127658844, 0.02491731196641922, -0.38510170578956604, 0.6781211495399475, -0.704754114151001, -0.2874506711959839, 0.22313302755355835, 0.02085261419415474, -0.21161910891532898, -0.40911737084388733, 0.003983958158642054, -0.8685814738273621, -0.07051599025726318, 0.17056363821029663, -0.3186320960521698, 0.17214833199977875, 0.2628335952758789, -0.5619990825653076, 0.8596900701522827, 0.3313434422016144, -0.5661949515342712, 0.27878710627555847, -0.49017494916915894, -0.6389474272727966, 0.2707282602787018, -0.18046946823596954, -0.4928281605243683, -0.10114102065563202, 0.21878118813037872, 0.22646306455135345, 0.09603936225175858, 0.25718697905540466, -0.4783763885498047, -0.16319915652275085, 0.41797423362731934, -0.10179544240236282, 0.448937326669693, 0.20927581191062927, -0.23595069348812103, 0.3884088099002838, -0.8921046257019043, 0.26197296380996704, 0.347429096698761, -0.6178019642829895, 0.054840050637722015, 0.3095848858356476, -0.1339230239391327, 0.2723761796951294, 0.06192357838153839, -0.47138139605522156, 0.20354506373405457, -0.4941420257091522, 0.40857958793640137, 0.7691860795021057, 0.09339234232902527, 0.2712361812591553, 0.007190268021076918, 0.7623019814491272, -0.24450422823429108, -0.1776435375213623, 0.1939389705657959, -0.0642053484916687, -0.7035682797431946, -0.22234481573104858, 0.30483588576316833, 0.49105411767959595, -1.4618558883666992, 0.35072433948516846, -0.3164028823375702, -0.4274809658527374, -0.05579253286123276, 0.16902418434619904, 0.3678174614906311, 0.4126589894294739, 0.07125553488731384, -0.18779262900352478, -0.39636626839637756, -0.5299059152603149, -0.03148546814918518, -0.08474249392747879, 0.1574108898639679, 0.4274744987487793, 0.26711928844451904, -0.2916111350059509, 0.7957041263580322, -0.6155190467834473, 0.07344359159469604, -0.6113482713699341, -0.024436602368950844, 0.044112253934144974, 0.2800844609737396, 0.5966965556144714, -0.41524502635002136, -0.6546052694320679, 0.008766425773501396, -0.6011922955513, -0.22711899876594543, -0.03483225777745247, -0.1701945662498474, 0.05152808874845505, 0.6957767009735107, -0.4859669804573059, 0.13034038245677948, 0.6938018798828125, -0.36266520619392395, 0.32040587067604065, -0.3237949311733246, -0.29157212376594543, -0.9604202508926392, -0.12324531376361847, -0.05308393016457558, -0.6358991861343384, -0.8043460249900818, 0.04599687084555626, -0.2458934187889099, -0.4985000789165497, -0.46022969484329224, 0.6048805117607117, -0.5107623338699341, 0.07860774546861649, -0.40980255603790283, 0.31216421723365784, -0.13134248554706573, 0.7017452716827393, 0.1069471538066864, 0.6199163198471069, 0.5664463639259338, -0.6566454768180847, 0.5534094572067261, 0.17084982991218567, -0.11994406580924988, 0.2860449552536011, -0.78899747133255, 0.5160386562347412, -0.0552058145403862, 0.5438782572746277, -0.7446454763412476, -0.07440775632858276, 0.3420042097568512, -0.48342165350914, 0.5555819272994995, -0.0867665559053421, -0.4163547158241272, -0.2991374433040619, -0.05532723292708397, 0.3929596543312073, 0.44469496607780457, -0.5258614420890808, 0.47652700543403625, 0.5011292099952698, -0.2588270306587219, -0.4584747850894928, -0.28806760907173157, -0.01679437980055809, 0.08644353598356247, -0.5822033286094666, 0.18740756809711456, -0.12215806543827057, -0.1172221302986145, 0.13070298731327057, 0.19933614134788513, 0.12831805646419525, 0.2979303300380707, 0.24604280292987823, -0.174443781375885, -0.19329528510570526, 0.2554384768009186, 0.05638718605041504, -0.22239400446414948, -0.011442918330430984, -0.49474796652793884, 0.7398297786712646, -0.052590399980545044, -0.3245426118373871, -0.09016816318035126, 0.07440727949142456, 0.3943403363227844, -0.350456178188324, 0.6331035494804382, 0.506887674331665, -0.3054216802120209, -0.77908855676651, 0.07738972455263138, -0.04798302799463272, -0.5558834075927734, 0.6547926068305969, -0.6594530344009399, -0.8496208786964417, 0.5320162773132324, -0.16958798468112946, -0.09292469918727875, 0.18069665133953094, 0.7388131618499756, 0.17159447073936462, 1.1042832136154175, 0.8356488347053528, 0.10332603007555008, 0.7045612335205078, -0.2386438101530075, 0.17707504332065582, -0.3742803931236267, -0.06366244703531265, -0.24731603264808655, -0.18618187308311462, -0.7516033053398132, -0.24286434054374695, 0.343346506357193, -0.2911434769630432, -0.06283394992351532, 0.0629824548959732, -0.3254871368408203, 0.44165223836898804, 0.4754737913608551, 0.1630076915025711, -0.09735025465488434, 0.022058749571442604, -0.4465891122817993, 0.3719311058521271, -0.8049557209014893, -0.2754409909248352, 0.9338570237159729, 0.3570754826068878, 0.8920227289199829, 0.05683504417538643, 0.6572210788726807, 0.29412397742271423, 0.33993175625801086, -0.7359778881072998, 0.5528897047042847, 0.04229499027132988, -0.1726231575012207, -0.6218766570091248, -0.5732678174972534, -1.2615920305252075, 0.19846919178962708, -0.2735295593738556, -0.7005884647369385, -0.11992360651493073, 0.2740786075592041, -0.15151992440223694, 0.17158140242099762, -0.4739258885383606, 0.7188248038291931, -0.2986401617527008, -0.28059694170951843, -0.09641659259796143, -0.40284857153892517, 0.21104589104652405, -0.07570244371891022, 0.027835706248879433, -0.21962520480155945, 0.21846100687980652, 0.5666064023971558, -0.6934705972671509, 0.8738338351249695, -0.39953887462615967, -0.14702445268630981, 0.3752802014350891, 0.13246361911296844, 0.7739731669425964, 0.09033871442079544, -0.03555674850940704, -0.30526548624038696, -0.2604846954345703, -0.27467289566993713, -0.7304614186286926, 0.7081511616706848, -0.9945762753486633, -0.5041776299476624, -0.23736709356307983, -0.8246744871139526, -0.534807562828064, 0.41174063086509705, 0.06745162606239319, 0.6732710003852844, -0.2734493017196655, -0.12083542346954346, 0.45620861649513245, -0.3734157681465149, 0.25069648027420044, 0.701874852180481, -0.256600022315979, -0.5086944103240967, 1.1584525108337402, 0.1748168021440506, 0.3750930428504944, 0.18875759840011597, -0.06548716872930527, -0.24371303617954254, -0.7618597745895386, -0.6080902218818665, 0.3720148503780365, -0.7798365950584412, -0.09435054659843445, -0.33304208517074585, -0.44492483139038086, -0.3968891203403473, -0.04975411295890808, -0.2511591911315918, -0.1629001647233963, -0.12663574516773224, -0.30362528562545776, 0.28954029083251953, 0.9604552388191223, 0.10671340674161911, 0.5332980751991272, -0.4590521454811096, 0.2453632950782776, 0.29295045137405396, 0.45437145233154297, -0.2348552942276001, -0.34578147530555725, -0.404177188873291, 0.01933545619249344, -0.23878230154514313, -0.7438751459121704, 0.3614768087863922, 0.42821991443634033, 0.7695018649101257, 0.18407155573368073, 0.06933671236038208, 0.29370611906051636, -0.7466233372688293, 0.43404603004455566, -0.07514830678701401, -0.7333162426948547, 0.3796825706958771, -0.44612860679626465, 0.49594348669052124, 0.4845391809940338, 0.2050352543592453, -0.46556997299194336, -0.67751145362854, -0.6761676073074341, -0.7346376776695251, 0.6873493790626526, 0.07242606580257416, 0.19763249158859253, 0.17379887402057648, 0.38311585783958435, 0.01744217425584793, 0.1537477672100067, -0.6253952980041504, -0.1381450891494751, -0.08314962685108185, -0.379920095205307, -0.34722259640693665, -0.10623463243246078, -0.11816750466823578, -0.16573989391326904, 0.6724385023117065, -0.4436720013618469, 0.17255350947380066, -0.21942976117134094, -0.45685094594955444, -0.16603675484657288, -0.11651894450187683, 0.6315339207649231, 0.9583752751350403, -0.08722303062677383, 0.31192463636398315, 0.22707514464855194, -0.3037390112876892, 0.310454398393631, 0.28718987107276917, -0.2687234580516815, 0.003568594343960285, 0.41739872097969055, 1.2263094186782837, -0.11124711483716965, -0.6335160136222839, 0.31237027049064636, -0.25351133942604065, -0.3480766713619232, -0.26738235354423523, 0.07722847908735275, 0.14090102910995483, 0.2382815033197403, -0.02272637188434601, -0.30872246623039246, -0.250906378030777, -0.5235355496406555, 0.45311087369918823, 0.45858174562454224, -0.32345810532569885, -0.5534981489181519, 0.4215072989463806, 0.5041314363479614, -0.5533730387687683, 0.8130555152893066, -0.4766356348991394, -0.6502770185470581, 0.4786282777786255, 0.7705846428871155, 0.7539807558059692, -0.09022043645381927, 0.3652229607105255, 0.10146821290254593, 0.13461177051067352, 0.47169029712677, 0.11427516490221024, -0.05842716991901398, -1.0791969299316406, -0.3167939782142639, -0.5786746144294739, -0.4096338450908661, 0.16220328211784363, -0.19195207953453064, 0.21561139822006226, -0.4456583261489868, -0.19962912797927856, -0.11910935491323471, 0.18365226686000824, -0.7531779408454895, 0.2102077454328537, 0.43611088395118713, 0.7032130360603333, -1.0331443548202515, 1.0662119388580322, 0.6931509375572205, -0.30612385272979736, -0.9402425289154053, -0.08940257132053375, -0.23951628804206848, -1.0081102848052979, 0.5408681631088257, -0.11758364737033844, -0.39355045557022095, 0.22639599442481995, -0.4828314185142517, -1.0154321193695068, 0.7806400060653687, 0.54733806848526, -0.18890564143657684, 0.029202457517385483, 0.2609667181968689, 0.6033599376678467, -0.4538489878177643, 0.2937391698360443, 0.5173218250274658, 0.2795037627220154, 0.09977259486913681, -0.7046152949333191, 0.1672624796628952, -0.4628473222255707, -0.08997267484664917, 0.1690671741962433, -0.6185897588729858, 0.6702003479003906, -0.12527437508106232, -0.3229025900363922, -0.24344904720783234, 0.657470703125, 0.3527359664440155, 0.17700640857219696, 0.6625487208366394, 0.32161468267440796, 0.867882490158081, -0.060115180909633636, 0.9479278922080994, -0.47784683108329773, 0.08229286223649979, 1.0923510789871216, -0.3153430223464966, 0.405973881483078, 0.09587134420871735, 0.030547669157385826, 0.6772030591964722, 0.8243669867515564, 0.31934043765068054, 0.514299213886261, 0.7477378845214844, -0.07386671006679535, -0.18288825452327728, -0.17367897927761078, -0.1048913225531578, 0.3402251601219177, 0.530380129814148, -0.13884663581848145, -0.3988853394985199, 0.13438867032527924, 0.18698523938655853, 0.11988876760005951, -0.06293856352567673, 0.809442937374115, 0.013622598722577095, -0.6328051090240479, 0.9230479001998901, 0.08146730810403824, 0.2949504554271698, -0.8357663154602051, -0.03428998216986656, -0.26251184940338135, 0.24685057997703552, -0.12079843133687973, -0.5420854091644287, -0.0715494155883789, -0.10327325016260147, 0.1434650868177414, -0.3618440330028534, 0.7581198215484619, -0.6577573418617249, -0.4652498960494995, 0.2137044370174408, 0.5866527557373047, 0.08204890787601471, 0.36036479473114014, -0.6166362166404724, 0.25349199771881104, -0.055869292467832565, -0.5142561793327332, 0.3453215956687927, 0.661456286907196, -0.19791623950004578, 0.7707582116127014, 0.45910272002220154, 0.33061715960502625, 0.11473946273326874, 0.35719171166419983, 1.0661624670028687, -0.2960969805717468, -0.3655051589012146, -0.655911386013031, 0.4270138144493103, -0.05277610570192337, -0.2251904010772705, 0.45471200346946716, 0.3230164647102356, 0.6852355003356934, 0.03477362170815468, 0.8397672772407532, 0.09970780462026596, 0.13319747149944305, -0.6528113484382629, 0.6845922470092773, -0.4076307415962219, -0.09702865779399872, -0.037802912294864655, -0.7476288080215454, -0.17071592807769775, 0.23880711197853088, -0.1597648561000824, 0.13318482041358948, 0.6565079092979431, 0.9303389191627502, -0.00007524248212575912, -0.6901218295097351, 0.27739882469177246, 0.1314714401960373, 0.7090702652931213, 0.6677333116531372, 0.9487925171852112, 0.0696156919002533, 0.5111606121063232, -0.14612148702144623, -0.13131041824817657, -0.08159434050321579, -0.6953566670417786, -0.8959156274795532, -0.5412744879722595, -0.38134676218032837, -0.5418926477432251, 0.28850263357162476, 0.8337728977203369, 0.6997162103652954, -0.5766057372093201, -0.27910563349723816, -0.08549082279205322, 0.34353771805763245, -0.06404311954975128, -0.13381148874759674, 0.21177628636360168, -0.7076398134231567, -0.779661238193512, 0.7911378741264343, -0.07216162234544754, 0.09156347066164017, -0.2344910204410553, -0.3730318546295166, -0.053732551634311676, 0.2664463222026825, 0.5617705583572388, 0.47616681456565857, -0.29866668581962585, -0.5929158926010132, -0.206814706325531, -0.21371860802173615, -0.013093780726194382, 0.8290865421295166, -0.8195438981056213, 0.45819297432899475, 0.5115994811058044, 0.7633571028709412, 0.6623660922050476, -0.035591352730989456, 0.8697329759597778, -0.9721320867538452, 0.3115748465061188, 0.15045449137687683, 0.2843039929866791, 0.3452543020248413, -0.31709837913513184, 0.4067033529281616, 0.13250471651554108, -0.50038081407547, -0.9030706882476807, 0.44038110971450806, -0.7515420913696289, -0.1510164737701416, 1.2043371200561523, -0.10707500576972961, -0.26338687539100647, 0.07481323182582855, -0.02840583212673664, 0.5096363425254822, -0.38678696751594543, 0.2882303297519684, 0.4679358899593353, -0.2898145914077759, 0.030687203630805016, -0.1481698453426361, 0.6955283880233765, 0.003394210943952203, -0.8355327248573303, -0.03424523398280144, 0.5309698581695557, 0.43146151304244995, -0.09229208528995514, 0.8970510959625244, 0.33295053243637085, 0.014233806170523167, 0.08921752870082855, 0.33356529474258423, -0.3604190945625305, -0.4672335386276245, -0.23967556655406952, 0.11140459775924683, 0.6223639249801636, -0.24532553553581238 ]
http://arxiv.org/abs/2406.11547v1
http://arxiv.org/pdf/2406.11547v1
GECOBench: A Gender-Controlled Text Dataset and Benchmark for Quantifying Biases in Explanations
2024-06-17T13:44:37
2024-06-17T13:44:37
Rick Wilming, Artur Dox, Hjalmar Schulz, Marta Oliveira, Benedict Clark, Stefan Haufe
cs.LG
cs.LG, cs.AI, cs.CL, cs.CY
Large pre-trained language models have become popular for many applications and form an important backbone of many downstream tasks in natural language processing (NLP). Applying 'explainable artificial intelligence' (XAI) techniques to enrich such models' outputs is considered crucial for assuring their quality and shedding light on their inner workings. However, large language models are trained on a plethora of data containing a variety of biases, such as gender biases, affecting model weights and, potentially, behavior. Currently, it is unclear to what extent such biases also impact model explanations in possibly unfavorable ways. We create a gender-controlled text dataset, GECO, in which otherwise identical sentences appear in male and female forms. This gives rise to ground-truth 'world explanations' for gender classification tasks, enabling the objective evaluation of the correctness of XAI methods. We also provide GECOBench, a rigorous quantitative evaluation framework benchmarking popular XAI methods, applying them to pre-trained language models fine-tuned to different degrees. This allows us to investigate how pre-training induces undesirable bias in model explanations and to what extent fine-tuning can mitigate such explanation bias. We show a clear dependency between explanation performance and the number of fine-tuned layers, where XAI methods are observed to particularly benefit from fine-tuning or complete retraining of embedding layers. Remarkably, this relationship holds for models achieving similar classification performance on the same task. With that, we highlight the utility of the proposed gender-controlled dataset and novel benchmarking approach for research and development of novel XAI methods. All code including dataset generation, model training, evaluation and visualization is available at: https://github.com/braindatalab/gecobench
[ -0.5523385405540466, -0.6331788897514343, 0.3187618851661682, -0.010587037540972233, 0.013105946592986584, -0.15496192872524261, -0.21248291432857513, -0.3818436563014984, -0.332933247089386, 0.2965186536312103, -0.8236143589019775, -0.49217212200164795, -0.4724544882774353, -0.10238353163003922, -0.6415280699729919, 1.10361647605896, -0.061132822185754776, 0.18465949594974518, -0.4356866180896759, -0.22165383398532867, -0.5453420877456665, -0.3445785641670227, -0.7071003913879395, -0.5977199673652649, 0.5231362581253052, 0.43493300676345825, 0.8485811352729797, 0.7287222146987915, 0.03600014001131058, 0.23317530751228333, -0.08537767827510834, 0.14557552337646484, -0.3179698884487152, -0.17670172452926636, -0.42874470353126526, -0.6070459485054016, -0.31657108664512634, 0.06269123405218124, 0.4573996365070343, 0.8546046018600464, -0.23494577407836914, 0.041334982961416245, 0.21840119361877441, 0.5647850036621094, -0.8125744462013245, 0.1250556856393814, -0.5098480582237244, 0.1071004644036293, -0.0618596188724041, -0.10987634211778641, -0.21741655468940735, -0.14546428620815277, 0.2727753818035126, -0.5025081634521484, 0.6393424272537231, 0.35375264286994934, 0.8543410301208496, 0.1657879799604416, -0.33997806906700134, -0.45079630613327026, -0.5458086729049683, 0.8410266637802124, -0.5930783748626709, 0.21954797208309174, 0.26802146434783936, 0.4109335243701935, -0.0758555606007576, -0.47699257731437683, -0.577172577381134, -0.25026020407676697, -0.2544463276863098, 0.03388837352395058, -0.2908031642436981, -0.00224266666918993, 0.3270966708660126, 0.4040743410587311, -0.7311239242553711, 0.2821088135242462, 0.0714249312877655, -0.10681981593370438, 0.5924749970436096, 0.0345371775329113, 0.5478163957595825, -0.14183126389980316, -0.11108763515949249, -0.28410860896110535, -0.5276920795440674, 0.07196347415447235, 0.8188502788543701, 0.24795766174793243, -0.12098278105258942, 0.2598130702972412, -0.17053957283496857, 0.5700469613075256, -0.1336209923028946, 0.4461740255355835, 0.18618269264698029, -0.22007109224796295, -0.26405254006385803, 0.2539342939853668, 0.7852150201797485, 0.22462478280067444, 0.4936950206756592, -0.2638935446739197, 0.15836746990680695, 0.36250630021095276, 0.34968650341033936, -0.7960845232009888, -0.10081766545772552, 0.20176777243614197, -0.27228328585624695, -0.6077431440353394, 0.05418334901332855, -0.9581727981567383, -0.3100598156452179, -0.2474641352891922, 0.09242650121450424, -0.11179320514202118, -0.1392756551504135, 0.12851667404174805, -0.3980271518230438, 0.15068483352661133, 0.0171048603951931, -1.2319928407669067, 0.6446346640586853, 0.7086073160171509, 0.5447782278060913, -0.02656184695661068, -0.2900277376174927, -0.4426173269748688, 0.07992527633905411, -0.4336163103580475, 0.3945731520652771, -0.7122827172279358, -0.19300466775894165, -0.011456767097115517, 0.09390641003847122, 0.1407785266637802, -0.34010279178619385, 0.7552801370620728, -0.12767043709754944, 0.47966620326042175, -0.4051583707332611, -0.39182910323143005, -0.2312043011188507, 0.07718339562416077, -0.545240044593811, 0.8991320133209229, -0.09851281344890594, -0.8604291081428528, 0.47354406118392944, -0.7716768980026245, -0.3773704767227173, -0.37442031502723694, -0.47146889567375183, -0.41331544518470764, 0.06996672600507736, 0.542818009853363, 0.31603291630744934, -0.7192930579185486, 0.5132611989974976, -0.32982316613197327, -0.3179159164428711, 0.2360757291316986, -0.47899553179740906, 0.8707486391067505, -0.008411984890699387, -0.6821666359901428, 0.18185065686702728, -0.7215703129768372, 0.28192999958992004, 0.1967969685792923, 0.38630691170692444, -0.4172421395778656, 0.07835584878921509, -0.2919350862503052, 0.26846426725387573, -0.18593059480190277, -0.3232543170452118, -0.20984573662281036, -0.36581432819366455, 0.6799995303153992, 0.7309988737106323, -0.4436212480068207, 0.4887453615665436, -0.13047662377357483, 0.6682875156402588, -0.10053319483995438, 0.08229709416627884, -0.19841252267360687, -0.17872367799282074, -0.5589478611946106, 0.07120275497436523, 0.38636645674705505, 0.30254241824150085, -0.5229665040969849, 0.21701940894126892, -0.24342533946037292, -0.45006778836250305, -0.4308488965034485, 0.15363137423992157, 0.6983979344367981, 0.62723308801651, 0.17698852717876434, -0.25207358598709106, -0.5031815767288208, -1.1182206869125366, -0.624353289604187, 0.05333918705582619, -0.41536635160446167, 0.5190598964691162, 0.6712095141410828, -0.21384888887405396, 0.8272078633308411, -0.2673550546169281, 0.008085633628070354, -0.1630256623029709, 0.5419590473175049, 0.036327801644802094, 0.47532063722610474, 0.7372174859046936, -0.8321325182914734, 0.06900160014629364, 0.13963602483272552, -0.7893759608268738, -0.3308665454387665, -0.05499330535531044, -0.3512558043003082, 0.019494911655783653, 0.5420573949813843, -0.36580851674079895, 0.4126427173614502, 0.6974166035652161, -0.31836360692977905, 0.6113713979721069, -0.3352697491645813, 0.09088332951068878, -0.57921302318573, 0.2514573037624359, 0.045290686190128326, -0.37941935658454895, -0.4543561041355133, 0.1977219581604004, -0.005363010335713625, -0.1334373652935028, -0.19638141989707947, 0.5496788620948792, -0.548895537853241, -0.18752141296863556, -0.34629198908805847, 0.27996203303337097, 0.130628302693367, 0.6067471504211426, -0.19401279091835022, 0.6321581602096558, 0.4058796167373657, -0.5027806162834167, 0.0168075542896986, 0.17716141045093536, -0.23658183217048645, 0.33036133646965027, -1.0707072019577026, 0.31164035201072693, -0.25187167525291443, 0.18159149587154388, -0.839512288570404, -0.2783474326133728, 0.29954761266708374, -0.518583357334137, 0.07881996035575867, -0.056723013520240784, -0.293923944234848, -0.42065364122390747, -0.24024951457977295, 0.20788903534412384, 0.30997321009635925, -0.5708801746368408, 0.7037932276725769, 0.2244480550289154, -0.11500412970781326, -0.8131952285766602, -0.783523440361023, -0.12033645063638687, -0.14812102913856506, -0.49134624004364014, 0.5517272353172302, -0.1336330771446228, -0.18814638257026672, -0.0847320556640625, -0.28147661685943604, -0.04110267385840416, 0.25835323333740234, 0.45541054010391235, 0.1851067841053009, 0.06334841996431351, 0.19432751834392548, 0.34289565682411194, -0.36618420481681824, 0.40671563148498535, -0.25597378611564636, 0.6556212902069092, -0.13862015306949615, -0.20156152546405792, -0.31823766231536865, 0.3821062445640564, 0.33525073528289795, -0.19165846705436707, 0.7927424907684326, 0.4497113823890686, -0.3112376928329468, -0.43846777081489563, -0.04252501204609871, -0.139395609498024, -0.4290371835231781, 0.3299403488636017, -0.4575144052505493, -0.8348324298858643, 0.5742146372795105, 0.1125701516866684, 0.053184133023023605, 0.4653557538986206, 0.4886632561683655, 0.024137379601597786, 1.5950764417648315, 0.6659712791442871, -0.2398192584514618, 0.40990152955055237, -0.026480089873075485, 0.08791135996580124, -0.5407021045684814, 0.05736029893159866, -0.856106698513031, -0.30810821056365967, -0.6766819953918457, -0.1745048463344574, -0.16636477410793304, -0.08952008187770844, -0.3286956548690796, -0.050159234553575516, -0.5221198797225952, 0.7005857825279236, 0.5556319355964661, -0.020997049286961555, 0.14492270350456238, 0.0025953911244869232, -0.06182349473237991, 0.10441674292087555, -0.6798657178878784, -0.6033857464790344, 0.9547005891799927, 0.24727047979831696, 0.6693190336227417, -0.2058776617050171, 0.10816875845193863, 0.49036264419555664, 0.07128319889307022, -0.3595789968967438, 0.3044472336769104, -0.41075921058654785, -0.8557996153831482, -0.2655743360519409, -0.5553835034370422, -0.8777225017547607, 0.3496195375919342, -0.059143248945474625, -0.7636450529098511, 0.22730232775211334, 0.39520063996315, -0.09287227690219879, 0.08835484087467194, -0.783294677734375, 1.1277964115142822, -0.2995223104953766, -0.4506048262119293, -0.33578717708587646, -0.596735417842865, 0.3771665096282959, 0.08159784972667694, 0.16395162045955658, -0.10738745331764221, 0.22569310665130615, 0.7213258147239685, -0.4733099043369293, 0.7446829080581665, -0.2211955338716507, -0.13854598999023438, -0.1376342475414276, -0.11255891621112823, 0.3277319669723511, 0.17193084955215454, -0.19513791799545288, 0.44382524490356445, -0.10584774613380432, -0.4571742117404938, -0.9149696230888367, 0.7203190922737122, -0.852891206741333, -0.562987208366394, -0.14615842700004578, -0.6517988443374634, -0.026429958641529083, 0.1519637554883957, 0.3591826260089874, 0.5388787984848022, -0.3103009760379791, 0.1057652160525322, 0.5881655216217041, -0.36660969257354736, -0.017260804772377014, 0.30566495656967163, -0.34255170822143555, -0.05743364244699478, 0.7264653444290161, 0.11813544481992722, 0.23289558291435242, 0.3050149083137512, 0.26173388957977295, -0.016115430742502213, -0.4324541985988617, -0.4255638122558594, -0.032861560583114624, -0.5801801681518555, 0.23278385400772095, -0.5620346665382385, 0.006789834704250097, -0.19245336949825287, -0.23545384407043457, -0.1497681736946106, -0.17839723825454712, -0.027083786204457283, -0.18439625203609467, -0.040024854242801666, 0.29023444652557373, 0.23112353682518005, 0.5175445675849915, -0.15213000774383545, 0.6525009870529175, 0.3875183165073395, 0.3192271888256073, 0.14004233479499817, -0.3290078341960907, -0.039609793573617935, 0.43189477920532227, 0.07501109689474106, -0.7932519912719727, 0.3508280813694, 0.19009006023406982, 0.5663157105445862, 0.41647645831108093, -0.11447682976722717, 0.5999687910079956, -0.3467974066734314, 0.4650588929653168, -0.03516693785786629, -1.3544461727142334, 0.8751292824745178, -0.37110087275505066, 0.38913339376449585, 0.5050179362297058, 0.41800057888031006, -0.6415567994117737, -0.4034171402454376, -0.6686592698097229, -0.8076480031013489, 0.8746961951255798, 0.2900313436985016, 0.1184212937951088, 0.1261231154203415, 0.5566258430480957, 0.47475168108940125, 0.3098916709423065, -0.49171802401542664, -0.28321632742881775, -0.14266975224018097, -0.2527385950088501, -0.29200491309165955, -0.23973806202411652, -0.23800218105316162, -0.23808012902736664, 0.8592608571052551, -0.4914943277835846, 0.2728554606437683, 0.07234188914299011, -0.3588792085647583, 0.1029675304889679, 0.336789071559906, 0.4064495861530304, 0.7828406095504761, -0.10125239193439484, 0.10240867733955383, 0.1777089387178421, -0.274183988571167, 0.08960358798503876, 0.22719843685626984, -0.301113098859787, 0.09164980053901672, 0.3980849087238312, 0.9666478633880615, 0.14478141069412231, -0.6959404349327087, 0.3704134523868561, -0.4434662163257599, -0.2528340816497803, -0.25295236706733704, 0.4720779359340668, -0.03054106794297695, -0.008893330581486225, 0.09870491921901703, 0.036368004977703094, 0.21411408483982086, -0.601865828037262, -0.09706578403711319, 0.339051753282547, -0.613358736038208, -0.31821444630622864, 0.9122860431671143, 0.0562497042119503, -0.0387226901948452, 0.6947685480117798, -0.04925781860947609, -0.34193676710128784, 0.9100955128669739, 0.26157402992248535, 0.8577162623405457, -0.03755908086895943, 0.4098040759563446, 0.2364514172077179, 0.3800817131996155, 0.04515157267451286, 0.1642160415649414, -0.17284812033176422, -0.9341973662376404, -0.29147568345069885, -0.15114685893058777, -0.47511884570121765, -0.09067784994840622, -0.9418160319328308, 0.21889051795005798, -0.5484538078308105, 0.0719999447464943, 0.5224658846855164, -0.07685095816850662, -0.8334866762161255, 0.34789007902145386, 0.22408713400363922, 0.8552195429801941, -1.06072199344635, 0.6220227479934692, 0.48674726486206055, -0.330946683883667, -0.668860137462616, -0.036940205842256546, 0.1392042487859726, -0.8081998229026794, 0.3369014859199524, 0.4258384108543396, -0.35613977909088135, -0.17040230333805084, -0.8707255721092224, -0.3779306709766388, 0.8174256682395935, 0.7036178708076477, -0.8201776742935181, -0.0033583652693778276, 0.20488332211971283, 0.624897837638855, -0.3510598838329315, 0.7282571792602539, 0.9153266549110413, 0.577764630317688, -0.3622380793094635, -0.46800464391708374, 0.13626782596111298, -0.5518787503242493, 0.13841798901557922, 0.05076560750603676, -0.4882412552833557, 0.6147695779800415, -0.08840610831975937, -0.09763498604297638, -0.018866386264562607, 0.667279064655304, 0.11100103706121445, 0.34458428621292114, 0.8326866626739502, 0.4227480888366699, 1.201300859451294, -0.33126723766326904, 1.3753607273101807, 0.04592950642108917, 0.15663796663284302, 1.3703457117080688, -0.22454841434955597, 0.36468496918678284, 0.32377004623413086, 0.00889703817665577, 0.898921012878418, 0.41637229919433594, 0.002631842391565442, 0.27488765120506287, 0.39123573899269104, 0.07045314460992813, -0.13113541901111603, -0.2969202697277069, -0.24032975733280182, 0.48272767663002014, 0.149328351020813, -0.6384795308113098, -0.06869272142648697, 0.15618100762367249, 0.2219311147928238, -0.007910974323749542, -0.2171664834022522, 0.49016237258911133, -0.12515239417552948, -0.6300321817398071, 0.38532450795173645, -0.024800317361950874, 0.4800281524658203, -0.8117529153823853, 0.12624123692512512, -0.26592642068862915, 0.3406127989292145, -0.272859126329422, -0.6185292601585388, 0.13516908884048462, 0.1359463483095169, -0.654525876045227, -0.1330951452255249, 0.649478554725647, -0.43202924728393555, -0.4305487871170044, 0.3975561559200287, 0.36990058422088623, 0.08739588409662247, -0.21177907288074493, -0.7338998913764954, -0.004849269054830074, 0.2052932232618332, -0.10416553914546967, 0.18442808091640472, 0.47013014554977417, -0.56007319688797, 0.8733510375022888, 0.5414854884147644, -0.20384587347507477, -0.25551238656044006, 0.5749772787094116, 0.7262259721755981, -0.69942706823349, -0.6316357851028442, -1.030174970626831, 0.4158550202846527, -0.2545611560344696, -0.47524750232696533, 0.6869157552719116, 0.31960800290107727, 0.8527246713638306, 0.09582385420799255, 0.8120813369750977, -0.03674918785691261, 0.35690024495124817, -0.40022361278533936, 0.683811604976654, -0.61753910779953, 0.09206602722406387, -0.4347406029701233, -0.8046812415122986, -0.15936677157878876, 0.39004379510879517, -0.35341933369636536, 0.36063310503959656, 0.6479416489601135, 0.8775454163551331, -0.02018594928085804, 0.4745204746723175, 0.059952378273010254, 0.36550062894821167, 0.41170215606689453, 0.3062482178211212, 0.7699612975120544, -0.3772915005683899, 0.5611991286277771, -0.21564199030399323, -0.22742193937301636, -0.0014068464515730739, -1.0118993520736694, -0.8593915104866028, -0.2622183561325073, -0.47982528805732727, 0.2234405279159546, 0.3789631426334381, 0.4827914834022522, 0.9187859296798706, -0.8228442072868347, -0.07252562791109085, -0.471961110830307, 0.26057395339012146, -0.5346131920814514, -0.22788044810295105, 0.19937030971050262, -0.23777522146701813, -0.840006947517395, 0.06320623308420181, -0.08884250372648239, -0.27921441197395325, -0.38322797417640686, -0.12236778438091278, 0.11844958364963531, -0.08969263732433319, 0.26804643869400024, 0.1481090635061264, -0.5531699061393738, -0.23534995317459106, -0.23977282643318176, 0.19633860886096954, -0.009301574900746346, 0.9571979641914368, -0.8085476160049438, 0.5903322100639343, 0.5649495720863342, 0.5607008337974548, 0.4592655301094055, -0.08576454967260361, 1.0337127447128296, -0.7894187569618225, 0.13921044766902924, -0.09018608182668686, 0.3802621364593506, 0.230658158659935, -0.35803788900375366, 0.6373112201690674, -0.25504592061042786, -0.5219796895980835, -0.7334640622138977, -0.16295939683914185, -0.7447217106819153, -0.48500943183898926, 0.641180694103241, -0.12375339865684509, -0.48278525471687317, 0.09697149693965912, -0.3445364832878113, 0.3378734886646271, -0.3571976125240326, 0.6915180087089539, 0.9811049699783325, 0.1690298616886139, -0.31967759132385254, -0.8205223679542542, 0.23651708662509918, 0.8197517991065979, -1.0359007120132446, 0.4087061583995819, 0.38406652212142944, 0.11164838820695877, -0.10607568174600601, 0.1106555312871933, -0.16330470144748688, 0.4028387665748596, -0.010085469111800194, 0.3990385830402374, -0.03459988161921501, -0.39390888810157776, -0.5422903299331665, 0.06423549354076385, -0.21795561909675598, -0.09083864837884903 ]
http://arxiv.org/abs/2406.11546v1
http://arxiv.org/pdf/2406.11546v1
GigaSpeech 2: An Evolving, Large-Scale and Multi-domain ASR Corpus for Low-Resource Languages with Automated Crawling, Transcription and Refinement
2024-06-17T13:44:20
2024-06-17T13:44:20
Yifan Yang, Zheshu Song, Jianheng Zhuo, Mingyu Cui, Jinpeng Li, Bo Yang, Yexing Du, Ziyang Ma, Xunying Liu, Ziyuan Wang, Ke Li, Shuai Fan, Kai Yu, Wei-Qiang Zhang, Guoguo Chen, Xie Chen
eess.AS
eess.AS, cs.CL, cs.SD
The evolution of speech technology has been spurred by the rapid increase in dataset sizes. Traditional speech models generally depend on a large amount of labeled training data, which is scarce for low-resource languages. This paper presents GigaSpeech 2, a large-scale, multi-domain, multilingual speech recognition corpus. It is designed for low-resource languages and does not rely on paired speech and text data. GigaSpeech 2 comprises about 30,000 hours of automatically transcribed speech, including Thai, Indonesian, and Vietnamese, gathered from unlabeled YouTube videos. We also introduce an automated pipeline for data crawling, transcription, and label refinement. Specifically, this pipeline uses Whisper for initial transcription and TorchAudio for forced alignment, combined with multi-dimensional filtering for data quality assurance. A modified Noisy Student Training is developed to further refine flawed pseudo labels iteratively, thus enhancing model performance. Experimental results on our manually transcribed evaluation set and two public test sets from Common Voice and FLEURS confirm our corpus's high quality and broad applicability. Notably, ASR models trained on GigaSpeech 2 can reduce the word error rate for Thai, Indonesian, and Vietnamese on our challenging and realistic YouTube test set by 25% to 40% compared to the Whisper large-v3 model, with merely 10% model parameters. Furthermore, our ASR models trained on Gigaspeech 2 yield superior performance compared to commercial services. We believe that our newly introduced corpus and pipeline will open a new avenue for low-resource speech recognition and significantly facilitate research in this area.
[ -0.2690240442752838, -0.6898061037063599, 0.024571383371949196, 0.1526324301958084, -0.2016158103942871, 0.4682419002056122, -0.3680913746356964, -0.5703743696212769, 0.4091036021709442, 0.468291312456131, -0.19431574642658234, 0.07842113077640533, -0.7138504981994629, -0.09284850209951401, -0.44365108013153076, 0.8181720972061157, 0.14988474547863007, 0.1790444701910019, -0.07739835232496262, -0.05075648054480553, -0.14594966173171997, -0.5383856892585754, -0.7882280945777893, -0.20443357527256012, 0.4385526478290558, 0.5325419902801514, 0.65080726146698, 0.5343402028083801, 0.20220385491847992, 0.27105867862701416, -0.19150802493095398, 0.2752574682235718, -0.4814024567604065, -0.07670463621616364, -0.02269607223570347, -0.11064312607049942, -0.3313010632991791, -0.025950433686375618, 0.8649761080741882, 0.5504159927368164, -0.27030888199806213, 0.45914915204048157, 0.09576670080423355, 0.39975282549858093, -0.4294506311416626, 0.14891032874584198, -0.6685950756072998, -0.31187042593955994, -0.454818457365036, 0.04004192352294922, -0.2684573531150818, -0.18859145045280457, 0.009699765592813492, -0.38142168521881104, 0.3336021304130554, -0.20664869248867035, 0.6851006746292114, 0.3810102939605713, -0.28065359592437744, -0.31741100549697876, -0.7028592824935913, 0.7577045559883118, -0.3876698613166809, 0.782486617565155, 0.6382964253425598, 0.5322936177253723, 0.23741911351680756, -0.8973699808120728, -0.682913064956665, -0.15410560369491577, 0.28202468156814575, 0.027948325499892235, -0.2623070478439331, -0.31249287724494934, 0.12502966821193695, 0.26989802718162537, -0.6522592306137085, 0.3321687579154968, -0.8773664236068726, -0.43202051520347595, 0.5330551266670227, -0.24284139275550842, 0.09340348839759827, -0.09856456518173218, -0.3708282709121704, -0.18903441727161407, -0.7075461745262146, 0.163929283618927, 0.586487352848053, 0.6576657295227051, -0.2094808667898178, 0.5432919263839722, -0.03077578730881214, 0.5733786821365356, -0.1120932400226593, -0.30995509028434753, 0.5028036832809448, -0.02484137751162052, 0.013600152917206287, 0.3311649560928345, 0.754895031452179, 0.0633222758769989, 0.15525609254837036, -0.07580509036779404, -0.20357196033000946, 0.25454747676849365, 0.3800175189971924, -0.7217915654182434, -0.36831507086753845, 0.20246264338493347, -0.27724239230155945, 0.03811207413673401, -0.23718585073947906, -0.7876917719841003, -0.3266834318637848, -0.6312433481216431, 0.3652406334877014, -0.3224480152130127, -0.5212399959564209, 0.05186581239104271, -0.02483268640935421, 0.12498308718204498, 0.3503764867782593, -0.8543186783790588, 0.36709368228912354, 0.819218099117279, 1.0685937404632568, -0.2728551924228668, -0.4497097432613373, -1.0142936706542969, 0.04567687585949898, -0.37125441431999207, 0.9162104725837708, -0.5949075222015381, -0.6297485828399658, 0.05672505870461464, -0.013500072993338108, 0.040498532354831696, -0.7757068276405334, 0.4741121828556061, -0.5898163914680481, -0.016258276998996735, -0.11888949573040009, -0.2718143165111542, -0.16826823353767395, -0.05465530976653099, -0.7030457854270935, 1.057112455368042, 0.26045629382133484, -0.3387105166912079, 0.10420781373977661, -0.684685468673706, -0.5453202724456787, 0.23112741112709045, -0.060496896505355835, -0.3815474510192871, 0.029597008600831032, 0.06023101881146431, 0.014931386336684227, -0.5879203081130981, 0.07015316188335419, -0.09653602540493011, -0.3824659287929535, 0.20208001136779785, -0.46584421396255493, 0.8207026720046997, 0.3723270297050476, -0.18589825928211212, 0.005173566285520792, -0.7508971691131592, 0.300977885723114, -0.16189450025558472, -0.5305139422416687, 0.1972099393606186, -0.13086798787117004, 0.662815511226654, 0.33374691009521484, 0.10030386596918106, -0.6326043605804443, 0.06640247255563736, -0.1951216608285904, 0.7843986749649048, 0.435758113861084, -0.20113234221935272, 0.21561144292354584, -0.08419061452150345, 0.5820242762565613, -0.21191170811653137, 0.013741889037191868, 0.12074919790029526, -0.5625574588775635, -0.7048284411430359, -0.46628883481025696, 0.49286356568336487, 0.4754997789859772, -0.8275479078292847, 0.0888453871011734, -0.5882449150085449, -0.5928874611854553, -0.9505868554115295, 0.22805173695087433, 0.4503908157348633, 0.4564422369003296, 0.6038803458213806, -0.36817654967308044, -0.6239129304885864, -0.8161606788635254, -0.03210797160863876, -0.24106383323669434, -0.23169878125190735, 0.4493827223777771, 0.090031698346138, -0.6512490510940552, 0.6721290946006775, -0.2956445813179016, -0.3293914496898651, -0.25337785482406616, 0.17251810431480408, 0.05512392520904541, 0.3792833983898163, 0.27169618010520935, -0.8013086915016174, -0.6633790135383606, -0.10847841948270798, -0.09906108677387238, -0.008919069543480873, 0.22616298496723175, 0.1523333191871643, 0.30098211765289307, 0.3855995535850525, -0.5067509412765503, -0.23252907395362854, 0.7751337885856628, -0.057223089039325714, 0.7059366106987, -0.07837933301925659, -0.030295267701148987, -0.8394612073898315, 0.16308490931987762, -0.2818259596824646, -0.1450389325618744, -0.696465253829956, -0.018455972895026207, 0.0027494358364492655, -0.4277881979942322, -0.47218549251556396, 0.512725293636322, -0.14948397874832153, -0.23513390123844147, -0.3282468020915985, 0.13014963269233704, -0.27962997555732727, 0.23650644719600677, 0.20826692879199982, 1.3165295124053955, 0.6094359755516052, -0.5239872336387634, 0.43079009652137756, 0.49230340123176575, -0.4115869104862213, 0.4104282855987549, -0.5458379983901978, 0.6289174556732178, 0.16696569323539734, 0.25138503313064575, -1.053151249885559, -0.21583965420722961, -0.2741438150405884, -0.7786445021629333, 0.3637391924858093, -0.44406774640083313, -0.7310013771057129, -0.41753441095352173, -0.09563922137022018, 0.21671633422374725, 0.623442530632019, -0.8179945349693298, 0.5127084851264954, 0.9003030061721802, -0.5141571164131165, -0.31032606959342957, -0.7100774049758911, 0.36875075101852417, -0.10966968536376953, -0.5513854622840881, 0.034214671701192856, 0.029730580747127533, 0.027209298685193062, -0.406376451253891, -0.07826098799705505, -0.46353328227996826, -0.41580939292907715, 0.27172213792800903, 0.2877073585987091, -0.2270655333995819, 0.23219452798366547, -0.16480758786201477, -0.30972281098365784, -0.04497594013810158, -0.5628771185874939, 0.8244763016700745, -0.13677413761615753, -0.03129144757986069, -0.31286630034446716, 0.34559905529022217, 0.5357646942138672, -0.47506117820739746, 0.2158476561307907, 0.9594582319259644, -0.24457810819149017, -0.015312646515667439, -0.8466553688049316, 0.10617075860500336, -0.5252977609634399, 0.32447710633277893, -0.38194286823272705, -1.0407532453536987, 0.17923764884471893, -0.11255939304828644, -0.19188490509986877, 0.48955222964286804, 0.7342811226844788, -0.017461569979786873, 0.6981825828552246, 0.437509685754776, -0.2709534168243408, 0.2348862737417221, -0.3802632689476013, 0.13184279203414917, -0.9017327427864075, -0.10239510238170624, -0.5968335866928101, -0.27018263936042786, -0.6859765648841858, -0.7796746492385864, 0.3798753619194031, -0.20733000338077545, -0.1886654943227768, 0.3790847957134247, -0.4764617681503296, 0.4122503101825714, 0.6418462991714478, -0.2104349583387375, 0.03557170554995537, 0.41026028990745544, 0.17220018804073334, -0.050435345619916916, -0.5400292873382568, -0.44593772292137146, 1.0855869054794312, 0.25367653369903564, 0.5149452686309814, 0.4729995131492615, 0.25781142711639404, 0.36825719475746155, -0.007702899165451527, -0.8726138472557068, 0.22002090513706207, -0.4663376212120056, -0.594656229019165, -0.37707197666168213, -0.347428560256958, -0.8655124306678772, 0.2716781497001648, 0.07596328109502792, -0.704260528087616, 0.0970209389925003, 0.23136714100837708, -0.5522862672805786, 0.18691374361515045, -0.770346462726593, 0.4793109893798828, -0.1111869141459465, -0.5554174780845642, -0.28171294927597046, -0.6163692474365234, 0.13776499032974243, -0.2507062256336212, 0.21827128529548645, 0.09218340367078781, -0.028834160417318344, 0.854387640953064, -0.30959346890449524, 0.5693532824516296, -0.3656676709651947, -0.0915466696023941, 0.7223700881004333, 0.03760862722992897, 0.5799033641815186, 0.04231864959001541, -0.02409539185464382, 0.4484441578388214, -0.006284534465521574, -0.23704375326633453, -0.16937817633152008, 0.7354050278663635, -0.9204448461532593, -0.19146668910980225, -0.14860031008720398, -0.20185193419456482, -0.5530079007148743, 0.13585668802261353, 0.21406574547290802, 0.38660526275634766, 0.04938104748725891, 0.2807639241218567, 0.559714138507843, -0.1947653889656067, 0.1840052455663681, 0.7204015254974365, -0.1208266019821167, -0.5788806080818176, 1.4316452741622925, 0.22111456096172333, 0.17946107685565948, 0.0774192363023758, 0.19726312160491943, -0.6701571941375732, -0.33572736382484436, -0.7016644477844238, 0.1378961205482483, -0.38667404651641846, -0.348911315202713, -0.8813049793243408, -0.341940313577652, -0.5798099040985107, -0.059913311153650284, -0.7847769260406494, -0.5877818465232849, -0.23449145257472992, -0.03292573615908623, 0.43827858567237854, 0.37879762053489685, -0.4785151481628418, 0.5536742210388184, -0.6940950155258179, 0.6625542044639587, 0.5310564041137695, 0.4152548015117645, -0.1690620481967926, -0.8384215831756592, -0.12316560000181198, 0.043054308742284775, -0.06098031997680664, -0.3869372308254242, 0.4490329623222351, 0.4791586995124817, 0.0007268100744113326, 0.4263880252838135, -0.3534838855266571, 0.8384508490562439, -0.7691500782966614, 0.8464453816413879, 0.282605916261673, -0.8547275066375732, 0.2949725091457367, -0.3288995921611786, 0.20444408059120178, 0.5876886248588562, 0.16689644753932953, -0.7379754185676575, 0.09076809883117676, -0.5929760336875916, -0.7984665632247925, 0.6723839640617371, -0.14672137796878815, 0.1946372389793396, 0.24829301238059998, 0.08511047810316086, 0.3140287399291992, 0.24559104442596436, -0.09005831182003021, 0.004083061590790749, -0.3753054440021515, 0.16770370304584503, -0.5626055002212524, -0.3973917067050934, -0.016286320984363556, -0.25500041246414185, 0.6316795349121094, -0.23929151892662048, 0.33960455656051636, -0.172588512301445, -0.2358514666557312, -0.1963718831539154, 0.21982818841934204, 0.46366190910339355, 0.395548015832901, 0.11939232051372528, 0.24156202375888824, 0.17246250808238983, -0.9533455967903137, 0.20069560408592224, 0.4388967454433441, -0.05518633872270584, 0.060795992612838745, 0.22839967906475067, 0.7543081045150757, 0.2859254777431488, -0.9087708592414856, 0.47404617071151733, 0.2424057126045227, -0.09489480406045914, -0.6242749094963074, -0.005529308225959539, 0.22262167930603027, 0.13965319097042084, 0.22729820013046265, -0.05308496579527855, 0.3649570941925049, -0.4407622218132019, 0.31797799468040466, 0.29658615589141846, -0.4660455882549286, -0.3137556314468384, 0.7070710062980652, 0.0696553885936737, -0.5107313394546509, 0.7787381410598755, -0.3923236131668091, -0.44019898772239685, 0.28457462787628174, 0.47698378562927246, 0.6842491626739502, -0.6347705721855164, 0.32539433240890503, 0.49270910024642944, 0.2398688793182373, -0.18991467356681824, 0.3911150097846985, -0.09313197433948517, -0.39318257570266724, -0.4979982078075409, -0.8552724123001099, -0.5765814185142517, 0.3605079650878906, -0.6072529554367065, 0.3111131191253662, -0.36511629819869995, -0.051128972321748734, 0.2305118292570114, 0.12011304497718811, -0.6750827431678772, 0.1542520523071289, 0.23510581254959106, 0.7388758659362793, -0.6352481842041016, 0.9574072360992432, 0.6287643909454346, -0.13502241671085358, -0.63507479429245, -0.2970026135444641, 0.39392581582069397, -0.9799110293388367, 0.5912244915962219, 0.061593446880578995, -0.3914479613304138, 0.17895805835723877, -0.39546412229537964, -1.2197306156158447, 0.7404800653457642, 0.16488313674926758, -0.6317665576934814, 0.12176632881164551, 0.3521099090576172, 0.6141253113746643, -0.054467566311359406, 0.06888753175735474, 0.6909604668617249, 0.3519890606403351, 0.35011351108551025, -1.176517128944397, -0.4548109471797943, -0.23706793785095215, -0.07291759550571442, 0.008381027728319168, -0.9634382128715515, 0.8927199244499207, -0.26757779717445374, -0.21766288578510284, -0.08528587222099304, 0.3963962197303772, 0.07609277218580246, -0.023501956835389137, 0.5187104940414429, 0.5089209675788879, 0.7988121509552002, 0.01694442518055439, 0.6752756834030151, -0.06378735601902008, 0.15112239122390747, 1.382734775543213, -0.38725289702415466, 1.2337855100631714, 0.3852383494377136, -0.5193743705749512, 0.25950565934181213, 0.4444452226161957, -0.18301622569561005, 0.4489036202430725, 0.1670587807893753, -0.1993507295846939, -0.15084341168403625, -0.2765716314315796, -0.24495716392993927, 0.9999411106109619, 0.47808346152305603, 0.06507744640111923, -0.04584307223558426, -0.06689511239528656, -0.1321721225976944, -0.2542608082294464, -0.19547685980796814, 0.8194490075111389, -0.08061650395393372, -0.34967851638793945, 0.7978307604789734, -0.10802886635065079, 0.5376750826835632, -0.631925106048584, 0.1312575340270996, 0.061667609959840775, 0.2455226331949234, -0.08536309003829956, -0.5109812021255493, 0.24106138944625854, 0.2694718837738037, -0.03566017746925354, -0.13734540343284607, 0.5108723044395447, -0.5073174834251404, -0.49541547894477844, 0.18407735228538513, 0.4690952003002167, 0.34589308500289917, -0.2805541455745697, -0.47888532280921936, 0.36169466376304626, -0.061402153223752975, 0.0830753967165947, 0.29675883054733276, 0.11295951157808304, 0.2724943459033966, 0.49988389015197754, 0.9023679494857788, 0.374377578496933, -0.012995111756026745, 0.18205229938030243, 0.7599309086799622, -0.33405745029449463, -0.7195926904678345, -0.30224090814590454, 0.42534929513931274, -0.07113422453403473, -0.2796732187271118, 0.44554808735847473, 1.0029175281524658, 0.7534526586532593, -0.05967961624264717, 0.8315571546554565, 0.2207149863243103, 0.9876094460487366, -0.35113853216171265, 0.8223260045051575, -0.447080135345459, -0.1742287129163742, 0.039448581635951996, -0.8044178485870361, -0.04404706880450249, 0.5831230282783508, 0.04191213101148605, -0.17460104823112488, 0.44125866889953613, 0.6956843137741089, -0.19886276125907898, -0.025599174201488495, 0.16646148264408112, 0.27320966124534607, 0.3890065550804138, 0.34513774514198303, 0.6252948641777039, -0.3316144645214081, 0.6621753573417664, -0.025012221187353134, -0.3357134759426117, -0.27718228101730347, -0.24692386388778687, -0.49028751254081726, -0.8878606557846069, -0.3444252908229828, -0.2542601227760315, -0.03676386550068855, 0.833848774433136, 0.6927548050880432, -0.792760968208313, -0.42627787590026855, 0.3395269215106964, -0.45340970158576965, -0.1972702294588089, -0.2069755494594574, 0.4593883752822876, -0.36073482036590576, -0.7868975400924683, 0.7203357815742493, 0.36751461029052734, -0.023600658401846886, -0.26592567563056946, 0.0005553359515033662, -0.03759218752384186, -0.012815560214221478, 0.7444204688072205, 0.5169783234596252, -0.7133203148841858, -0.2487199902534485, -0.17740462720394135, 0.04539689049124718, 0.1118922308087349, 0.8170478940010071, -0.7600133419036865, 0.6777907013893127, 0.05568844452500343, 0.8220969438552856, 0.6542841792106628, -0.1223607063293457, 0.11914800107479095, -0.6801319122314453, 0.20612314343452454, 0.32659366726875305, 0.18036401271820068, 0.6301649808883667, -0.10593444854021072, 0.6077185273170471, 0.045818477869033813, -0.46524888277053833, -0.911838948726654, 0.1481250375509262, -0.9008609652519226, 0.09874783456325531, 1.4848233461380005, 0.21585291624069214, 0.1828804612159729, -0.19903229176998138, -0.26954981684684753, 0.28933414816856384, -0.4290071129798889, 1.0164954662322998, 0.559617817401886, -0.04000014811754227, -0.10821247100830078, -0.835138201713562, 0.5980127453804016, 0.08761339634656906, -0.6507629752159119, 0.4595277011394501, 0.6087568998336792, 0.28966134786605835, 0.36009493470191956, 0.5620973706245422, -0.11101314425468445, 0.391516774892807, 0.31968745589256287, -0.029288535937666893, -0.10682269185781479, -0.35532256960868835, -0.4380919933319092, 0.14275139570236206, 0.005898436531424522, -0.14033472537994385 ]
http://arxiv.org/abs/2406.11514v1
http://arxiv.org/pdf/2406.11514v1
Counterfactual Debating with Preset Stances for Hallucination Elimination of LLMs
2024-06-17T13:21:23
2024-06-17T13:21:23
Yi Fang, Moxin Li, Wenjie Wang, Hui Lin, Fuli Feng
cs.CL
cs.CL
Large Language Models (LLMs) excel in various natural language processing tasks but struggle with hallucination issues. Existing solutions have considered utilizing LLMs' inherent reasoning abilities to alleviate hallucination, such as self-correction and diverse sampling methods. However, these methods often overtrust LLMs' initial answers due to inherent biases. The key to alleviating this issue lies in overriding LLMs' inherent biases for answer inspection. To this end, we propose a CounterFactual Multi-Agent Debate (CFMAD) framework. CFMAD presets the stances of LLMs to override their inherent biases by compelling LLMs to generate justifications for a predetermined answer's correctness. The LLMs with different predetermined stances are engaged with a skeptical critic for counterfactual debate on the rationality of generated justifications. Finally, the debate process is evaluated by a third-party judge to determine the final answer. Extensive experiments on four datasets of three tasks demonstrate the superiority of CFMAD over existing methods.
[ -0.9296093583106995, -1.1326850652694702, 0.9298966526985168, 0.007179894018918276, -0.29699790477752686, -0.06410204619169235, -0.3225279450416565, -0.40906134247779846, 0.4895499646663666, 0.8302233219146729, -0.6295064091682434, -0.28116217255592346, -0.5027074813842773, 0.27871111035346985, -0.32152655720710754, 0.9316026568412781, -0.16738252341747284, 0.17558090388774872, -0.5433673858642578, -0.36403825879096985, -0.3906073570251465, -0.7610493898391724, -0.4716044068336487, -0.6515346765518188, 0.616200864315033, 0.4278014302253723, 0.9244682192802429, 0.2554347515106201, 0.1992967426776886, 0.42706045508384705, 0.19284971058368683, 0.30315542221069336, -0.4438338279724121, 0.4014407694339752, -0.540478527545929, -0.31513357162475586, -0.3255729079246521, 0.17258968949317932, 0.16355495154857635, 0.5424779653549194, -0.23120194673538208, -0.07191836088895798, -0.22196999192237854, 0.3479160666465759, -0.5452122092247009, -0.35176822543144226, -0.82261723279953, 0.07084885984659195, 0.023518230766057968, -0.37862130999565125, -0.40715882182121277, -0.3256075978279114, 0.2309519201517105, -0.45150697231292725, 0.3807695806026459, 0.0031022250186651945, 0.6646350026130676, 0.49842843413352966, -0.44035521149635315, -0.39289769530296326, -0.7320181727409363, 0.601238489151001, -0.5975849032402039, 0.3458862900733948, 0.5193496346473694, -0.0313187874853611, -0.2185388207435608, -0.5138342380523682, -0.8938705921173096, -0.21320247650146484, -0.23972077667713165, 0.06013980135321617, -0.28433284163475037, 0.1430511176586151, 0.20300684869289398, 0.004497310612350702, -0.7477185726165771, 0.21699856221675873, -0.10946539044380188, -0.22986501455307007, 0.49810007214546204, 0.18418608605861664, 0.011728606186807156, -0.08901116251945496, -0.3121147155761719, 0.2243867963552475, -0.7341663837432861, -0.34748488664627075, 0.2682528495788574, 0.0485469214618206, 0.40613189339637756, 0.6334462761878967, -0.28978028893470764, 0.32886630296707153, 0.39509716629981995, 0.24092335999011993, 0.20413440465927124, -0.13996794819831848, -0.45615774393081665, 0.22535376250743866, 0.6578916907310486, 0.45953577756881714, 0.2186281979084015, -0.27287644147872925, -0.3106527626514435, 0.3104320168495178, 0.609618604183197, -0.7753468751907349, -0.03581001237034798, 0.6945246458053589, -0.40440648794174194, -0.12234468013048172, -0.27540311217308044, -0.846997857093811, -0.6511889100074768, -0.515192985534668, 0.5759009718894958, 0.030350765213370323, -0.303061306476593, 0.17412169277668, 0.042157724499702454, 0.301215797662735, 0.4755268394947052, -0.5475727319717407, 0.3296580910682678, 0.6023485064506531, 0.6446247100830078, -0.10800614207983017, -0.36378321051597595, -0.7287298440933228, -0.00617282185703516, -0.505664050579071, 1.106174111366272, -0.7087277770042419, -0.5327019095420837, -0.21236233413219452, 0.12879739701747894, -0.1316710114479065, -0.6872221231460571, 0.30682459473609924, -0.5323491096496582, 0.4002569317817688, -0.763348400592804, -0.6589223146438599, -0.16549865901470184, 0.750219464302063, -0.6075723767280579, 0.7267037034034729, -0.3147742450237274, -0.698034942150116, 0.317125141620636, -0.6710255742073059, -0.3384817838668823, -0.01924859918653965, -0.5920600295066833, -0.4362020194530487, -0.03606089577078819, 0.2966250479221344, 0.2076772153377533, -0.21279123425483704, 0.6179218292236328, -0.4695259928703308, -0.4260399043560028, 0.28251340985298157, -0.41638949513435364, 0.7152895331382751, 0.27711209654808044, -0.7241740822792053, 0.5397564768791199, -0.5107718706130981, -0.3337266743183136, 0.09175440669059753, 0.12991490960121155, -0.23106053471565247, -0.007195433136075735, -0.3274145722389221, 0.3818342387676239, -0.04636824503540993, -0.5025399923324585, 0.06481368094682693, -0.40877267718315125, 0.1910833716392517, 0.9853214025497437, -0.01966322772204876, 0.30121320486068726, -0.6796879172325134, 0.6991065144538879, 0.012452368624508381, 0.20898942649364471, 0.22913606464862823, -0.20901907980442047, -0.8918498754501343, -0.2121160924434662, -0.27201980352401733, 0.46556389331817627, -1.1120020151138306, 0.24084822833538055, 0.12045866996049881, -0.4266031086444855, -0.43078213930130005, 0.1776258498430252, 0.3962952792644501, 0.49324825406074524, 0.5809730291366577, -0.12101157754659653, -0.5824746489524841, -0.8416478633880615, 0.021754521876573563, -0.23531027138233185, 0.3386780321598053, 0.18858586251735687, 0.5505695343017578, -0.3643990159034729, 0.9304304122924805, -0.4424684941768646, -0.2764851450920105, -0.26940950751304626, 0.4549064636230469, -0.06610134243965149, 0.2799871265888214, 0.5626012682914734, -0.6984003782272339, -0.12499446421861649, -0.31164541840553284, -0.8473423719406128, -0.228830024600029, -0.41237324476242065, -0.282377690076828, 0.7075634002685547, 0.7992677688598633, -1.041018009185791, 0.5105776190757751, 0.21687227487564087, -0.3802735507488251, 0.8225613236427307, -0.07117675244808197, 0.1805405169725418, -0.7513110637664795, 0.05965443328022957, -0.21881787478923798, -0.12263389676809311, -0.6810219883918762, 0.16246338188648224, -0.5627098679542542, 0.41735589504241943, -0.3282417953014374, 0.7170057892799377, -0.25362977385520935, 0.04767323657870293, -0.5710734128952026, 0.303666889667511, 0.00010424752690596506, 0.4665621221065521, 0.5317178964614868, 0.4689856469631195, 0.28906959295272827, -0.4293394088745117, 0.5349070429801941, 0.24109861254692078, -0.035617001354694366, 0.7989259958267212, -0.6151525378227234, 0.38004356622695923, -0.35732176899909973, 0.5602028369903564, -1.0572186708450317, 0.17557190358638763, 0.6546460390090942, -0.317843496799469, -0.2692493498325348, 0.24643677473068237, -0.3670459985733032, -0.28245022892951965, -0.5214172601699829, 0.33111369609832764, -0.04168235883116722, -0.7008439898490906, 0.6381539702415466, 0.15028811991214752, -0.15746484696865082, -0.896052360534668, -0.2949114143848419, 0.3393003046512604, -0.35842040181159973, -0.21528960764408112, 0.06248929351568222, -0.4957939088344574, -0.6045551300048828, -0.09371576458215714, -0.2261531949043274, 0.12719616293907166, -0.04555204138159752, 0.2557416260242462, 0.2926560342311859, -0.19439944624900818, 0.3988671600818634, 0.017029723152518272, 0.034913498908281326, 0.35018104314804077, -0.0833025798201561, 0.7951887249946594, -0.06055396422743797, -0.46550577878952026, -0.033171460032463074, 0.48382139205932617, 0.568932831287384, -0.09377937763929367, 0.6696199178695679, 0.5133101344108582, -0.40118932723999023, -0.1942441612482071, -1.0422136783599854, -0.378644198179245, -0.48492324352264404, 0.20222681760787964, -0.6144660115242004, -0.7751047015190125, 0.648724377155304, 0.19308623671531677, 0.21432818472385406, 0.2027767300605774, 0.8524091243743896, -0.07795652002096176, 0.7335774898529053, 0.0857984721660614, 0.20068880915641785, 0.08459793776273727, -0.051429327577352524, 0.1853473037481308, -0.3462508022785187, -0.36681410670280457, -0.649280309677124, -0.21109120547771454, -0.32024946808815, -0.373328298330307, 0.04155482351779938, -0.384013831615448, -0.18671724200248718, 0.06044941022992134, -0.30462297797203064, 0.5449230074882507, 0.27536118030548096, 0.20477397739887238, 0.31467515230178833, -0.31042420864105225, -0.32856640219688416, 0.04316647723317146, -0.3424946963787079, -0.6193978190422058, 0.8663660287857056, 0.13709264993667603, 0.5595012903213501, 0.2567298710346222, 0.6982434988021851, 0.3337175250053406, 0.6924434304237366, -0.728024423122406, 0.7621204853057861, 0.2105088233947754, -0.8844422698020935, -0.5954359769821167, -0.3304051458835602, -0.8695089221000671, 0.8385416865348816, -0.3215406835079193, -0.5514758825302124, 0.4162418246269226, 0.17484305799007416, -0.3617921769618988, 0.28078606724739075, -0.2884419560432434, 0.8430277705192566, -0.10996295511722565, -0.5141189098358154, -0.34289056062698364, -0.7076089978218079, 0.4480374753475189, -0.16577082872390747, 0.1826825588941574, 0.19107697904109955, 0.2848850190639496, 0.6158995032310486, -0.6272697448730469, 0.9426138401031494, -0.22801710665225983, -0.5575444102287292, 0.3065359890460968, 0.16722074151039124, 0.5562609434127808, 0.24354051053524017, -0.01011953130364418, -0.07568774372339249, -0.01749642752110958, -0.22670570015907288, -0.6699428558349609, 0.6587851047515869, -0.7551603317260742, -1.169167399406433, -0.48777687549591064, -0.357953280210495, -0.2629958391189575, 0.12852540612220764, 0.2935701310634613, 0.3777867257595062, -0.5322982668876648, 0.016064738854765892, 0.675337553024292, -0.21701081097126007, 0.4379197657108307, 0.7193788290023804, -0.4195731282234192, -0.3015121519565582, 0.6913672089576721, 0.10161210596561432, 0.1853019744157791, 0.1121966615319252, 0.1766740381717682, -0.6540224552154541, -0.5299843549728394, -0.42575711011886597, 0.1943780928850174, -0.9470086693763733, -0.10253749787807465, -1.0454516410827637, -0.17790934443473816, -0.506229817867279, -0.26068440079689026, -0.41050755977630615, -0.13547804951667786, -0.3174274265766144, -0.34540605545043945, -0.08417205512523651, 0.6599597334861755, -0.2743374705314636, 0.2636299729347229, -0.44485706090927124, 0.7779249548912048, 0.5768548846244812, 0.047748398035764694, 0.07113096863031387, -0.4639355540275574, 0.17624512314796448, 0.0010233010398223996, -0.4898352324962616, -0.90287184715271, 0.2713397443294525, -0.3759201467037201, 0.8467397093772888, 0.5521548390388489, 0.3625926971435547, 0.7438868284225464, -0.3151909112930298, 0.6085718870162964, 0.06505785882472992, -1.1427006721496582, 0.27926915884017944, -0.1088109016418457, 0.057100001722574234, 0.569847822189331, 0.48541322350502014, -0.39608898758888245, -0.7328618764877319, -0.5086798071861267, -0.6004214882850647, 0.49161526560783386, 0.1321515142917633, -0.06910501420497894, -0.2740177810192108, 0.14248274266719818, 0.3244856297969818, 0.2700464427471161, -0.8947181701660156, -0.03462439775466919, -0.536599338054657, 0.1942521631717682, -0.20592254400253296, -0.21734189987182617, -0.4313521683216095, -0.28303179144859314, 0.5987956523895264, -0.12634997069835663, -0.1284290850162506, 0.5808016657829285, -0.46189358830451965, -0.3617049753665924, 0.3841753900051117, 0.937424898147583, 0.9207370281219482, -0.24706199765205383, 0.6307833194732666, 0.32556867599487305, -0.1538732349872589, 0.39324241876602173, 0.0209181010723114, -0.09723395854234695, 0.04143098369240761, 0.4163554906845093, 0.6164165735244751, -0.2689613103866577, -0.6179970502853394, 0.3383370637893677, -0.13075976073741913, -0.5758018493652344, -0.31923922896385193, -0.13646218180656433, 0.15576748549938202, 0.4291461706161499, 0.2574818730354309, 0.049206215888261795, 0.21099774539470673, -0.580240786075592, 0.47493791580200195, 0.7036907076835632, -0.32753413915634155, -0.10880116373300552, 0.5071884393692017, 0.16309933364391327, -0.14892378449440002, 0.5237990617752075, -0.30351564288139343, -0.5958220362663269, 0.8149518966674805, 0.4641379117965698, 0.9062045812606812, -0.4147419333457947, 0.5300984978675842, 0.055941421538591385, 0.609236478805542, -0.09024281054735184, 0.3360196650028229, 0.009668421931564808, -1.0805084705352783, -0.3666665256023407, -0.275723934173584, -0.5851871967315674, 0.5171260833740234, -0.441602885723114, 0.17849597334861755, -0.4073909521102905, -0.11156082153320312, -0.03298961743712425, 0.010400104336440563, -0.48832735419273376, 0.2950323820114136, 0.1883915513753891, 0.573600172996521, -0.9040586352348328, 0.7737484574317932, 0.59073406457901, -0.3023393452167511, -0.14339199662208557, 0.2976675033569336, 0.15520738065242767, -0.49304482340812683, 0.47477418184280396, 0.2278578132390976, -0.7384594678878784, -0.38355791568756104, -0.8067989349365234, -0.3896682560443878, 0.6522731184959412, 0.470523476600647, -0.5072638988494873, 0.26279452443122864, 0.05756605416536331, 0.6285804510116577, -0.36205974221229553, 0.3699890375137329, 0.5235193371772766, 0.7122352123260498, 0.3646356761455536, -0.8222600221633911, 0.4065093994140625, -0.1310614049434662, -0.5596055388450623, -0.1992303431034088, -0.6893323659896851, 0.7871354818344116, -0.41127321124076843, -0.01079521980136633, 0.01610567606985569, 0.5459492206573486, 0.4668716490268707, 0.554399311542511, 0.9304571747779846, 0.3615592420101166, 0.5991638898849487, 0.2688606381416321, 0.4926307797431946, 0.12331771105527878, 0.1551675647497177, 1.439300298690796, -0.7917727828025818, 0.5986198782920837, 0.7007764577865601, 0.14461763203144073, 0.2698057293891907, 0.614676296710968, 0.10192187130451202, 0.30861857533454895, 0.5145548582077026, -0.10348572582006454, -0.65629643201828, -0.2859790623188019, -0.3164078891277313, 0.7212904095649719, 0.2654300332069397, -0.01617133989930153, -0.29530853033065796, -0.00009677608613856137, 0.21569041907787323, 0.3931271433830261, 0.10194595903158188, 0.7021152377128601, -0.032534606754779816, -0.970319926738739, 0.6196622848510742, -0.0260902252048254, 0.5380433201789856, -0.2797786593437195, -0.13017317652702332, -0.55820232629776, 0.00764877675101161, -0.15829357504844666, -0.41380488872528076, 0.41680410504341125, -0.1673406958580017, -0.06262782216072083, -0.24910566210746765, 0.4122922122478485, -0.45951026678085327, -0.32241007685661316, 0.5701209902763367, 0.7487032413482666, 0.154694601893425, -0.1109636127948761, -0.6082242131233215, 0.03798947483301163, -0.20526646077632904, -0.4584610164165497, 0.08765964955091476, 0.35316482186317444, -0.21258872747421265, 0.6331729292869568, 0.5108497142791748, -0.010525626130402088, -0.1818363517522812, 0.34933435916900635, 1.108760952949524, -0.6668863892555237, -0.48499539494514465, -1.1184306144714355, -0.024755917489528656, -0.11335853487253189, -0.04590083658695221, 0.6147454380989075, 0.4446006715297699, 0.7807446718215942, 0.06528910994529724, 0.6860691905021667, 0.30271559953689575, 0.2797805964946747, -0.5394337773323059, 0.6985694766044617, -0.5839551687240601, 0.30910733342170715, -0.4720202386379242, -0.8959100842475891, -0.18233291804790497, 0.8345327973365784, -0.2912101745605469, 0.04998651519417763, 0.9041314721107483, 0.9317678809165955, 0.10194366425275803, 0.21347308158874512, 0.3653922975063324, 0.3602101504802704, 0.45447978377342224, 0.5841041803359985, 1.2650405168533325, 0.09431780129671097, 0.5487574338912964, -0.005255599971860647, -0.028380190953612328, -0.08977241814136505, -0.7616270780563354, -1.2892595529556274, -0.3982124328613281, -0.37211158871650696, -0.35576608777046204, 0.09172335267066956, 1.2909008264541626, 0.397690087556839, -0.8442941904067993, -0.24196943640708923, 0.1357744038105011, 0.4802396595478058, -0.1321548968553543, -0.20180979371070862, 0.2885153591632843, -0.255830854177475, -0.5974435806274414, 0.2881636321544647, 0.09598973393440247, -0.1501387655735016, -0.4796246886253357, -0.2848808169364929, -0.4409276247024536, 0.5740099549293518, 0.5815666913986206, 0.10329810529947281, -1.0765560865402222, -0.5078251957893372, 0.011312786489725113, -0.04633333534002304, 0.1115216389298439, 0.8942816257476807, -0.8107026219367981, 0.41170769929885864, 0.4552670121192932, 0.4545169770717621, 0.2610548436641693, 0.10506757348775864, 0.4543258845806122, -0.5298426747322083, 0.1398329734802246, 0.09431026875972748, 0.25346094369888306, 0.07664165645837784, -0.3740086257457733, 0.37944144010543823, 0.3557800054550171, -0.4224213659763336, -1.0000183582305908, 0.1842048019170761, -0.7470277547836304, -0.7831847071647644, 1.0730658769607544, 0.06104526296257973, 0.2735550105571747, -0.5522157549858093, -0.37042590975761414, 0.2521510720252991, -0.1981271356344223, 1.10718834400177, 1.0694373846054077, -0.17080049216747284, -0.2188514769077301, -0.2908287048339844, 0.4633534848690033, 0.7001649141311646, -1.0163298845291138, 0.18157020211219788, 0.6910854578018188, 0.08948886394500732, 0.2046649307012558, 1.153516411781311, 0.07241889089345932, 0.1130576804280281, -0.1088375598192215, 0.03550669178366661, 0.03882087022066116, -0.6982817053794861, -0.2556630074977875, 0.2748051881790161, -0.09430615603923798, -0.06860597431659698 ]
http://arxiv.org/abs/2406.11930v1
http://arxiv.org/pdf/2406.11930v1
A Critical Study of What Code-LLMs (Do Not) Learn
2024-06-17T13:11:17
2024-06-17T13:11:17
Abhinav Anand, Shweta Verma, Krishna Narasimhan, Mira Mezini
cs.SE
cs.SE, cs.AI, cs.CL
Large Language Models trained on code corpora (code-LLMs) have demonstrated impressive performance in various coding assistance tasks. However, despite their increased size and training dataset, code-LLMs still have limitations such as suggesting codes with syntactic errors, variable misuse etc. Some studies argue that code-LLMs perform well on coding tasks because they use self-attention and hidden representations to encode relations among input tokens. However, previous works have not studied what code properties are not encoded by code-LLMs. In this paper, we conduct a fine-grained analysis of attention maps and hidden representations of code-LLMs. Our study indicates that code-LLMs only encode relations among specific subsets of input tokens. Specifically, by categorizing input tokens into syntactic tokens and identifiers, we found that models encode relations among syntactic tokens and among identifiers, but they fail to encode relations between syntactic tokens and identifiers. We also found that fine-tuned models encode these relations poorly compared to their pre-trained counterparts. Additionally, larger models with billions of parameters encode significantly less information about code than models with only a few hundred million parameters.
[ -0.33516985177993774, -0.3903207778930664, 0.6453814506530762, 0.110956110060215, -0.02735831029713154, 0.3353051543235779, -0.5037768483161926, -0.5940001606941223, 0.09133414179086685, 0.44700849056243896, -0.42360296845436096, -0.6582067608833313, -0.7687452435493469, 0.37064409255981445, -0.33820289373397827, 1.1124598979949951, -0.043392252177000046, 0.1711253523826599, -0.36948803067207336, -0.11319078505039215, -0.1535762995481491, -0.9347838759422302, 0.0013279239647090435, -0.09203198552131653, 0.4868432283401489, 0.3389046788215637, 0.46691837906837463, 0.6593000888824463, 0.7241075038909912, 0.24536997079849243, -0.24899815022945404, 0.21084339916706085, -0.6562393307685852, -0.2655302584171295, -0.028334535658359528, -0.873802661895752, -0.2581094205379486, -0.010322751477360725, 0.41839802265167236, 0.7946465015411377, 0.42016053199768066, 0.5715524554252625, 0.08154638111591339, 0.5626842379570007, -0.6850904822349548, 0.6709279417991638, -0.7136303782463074, 0.1627947986125946, -0.01498433668166399, -0.24265481531620026, -0.5032392740249634, -0.30502423644065857, -0.3105960190296173, -0.23190470039844513, 0.21013963222503662, 0.13129645586013794, 0.8182712197303772, 0.5377885699272156, -0.1606956273317337, -0.649946928024292, -0.6566425561904907, 0.6644631028175354, -0.6804968118667603, 0.1409326195716858, 0.6644173264503479, -0.11550242453813553, 0.004039801191538572, -0.28880470991134644, -0.20306460559368134, -0.3105239272117615, -0.4370098114013672, -0.1912480741739273, -0.04789124056696892, 0.2618354856967926, 0.4465937316417694, 0.4832402169704437, -0.3841763138771057, 0.24901370704174042, -0.47445181012153625, -0.15500079095363617, 0.33444029092788696, 0.18080322444438934, 0.06834347546100616, -0.2909155786037445, -0.6870774030685425, 0.13868014514446259, -0.6120948791503906, 0.06942900270223618, 0.07125353068113327, 0.13837464153766632, -0.40787622332572937, 0.6765724420547485, 0.1897062212228775, 0.611601710319519, 0.24393482506275177, -0.3628714680671692, 0.30366361141204834, -0.29980525374412537, -0.5098706483840942, -0.29044267535209656, 0.8010905385017395, -0.10301250964403152, 0.6360576748847961, -0.549362063407898, -0.25806185603141785, 0.37341365218162537, 0.13979168236255646, -0.4209307134151459, 0.02901245467364788, 0.19732429087162018, -0.5856614112854004, -0.240568608045578, 0.02086356095969677, -0.4739137291908264, -0.18689244985580444, -0.2543560564517975, 0.24146762490272522, -0.19359090924263, 0.0036303834058344364, 0.01572314463555813, -0.026210593059659004, 0.27707937359809875, 0.00043968227691948414, -0.8239787817001343, 0.25065967440605164, 0.5241526961326599, 0.511559784412384, -0.28486257791519165, -0.24506135284900665, -0.26175457239151, 0.04741079360246658, -0.45636850595474243, 0.4444452226161957, -1.0197288990020752, -0.17351636290550232, 0.035211604088544846, 0.2776465117931366, -0.25049149990081787, -0.8530125617980957, -0.0063255163840949535, -0.7271277904510498, -0.48124369978904724, -0.27439767122268677, -0.6447806358337402, -0.06385733932256699, 0.06500054895877838, -0.5328478217124939, 0.5741652846336365, 0.2028835117816925, -0.6264716386795044, 0.14350399374961853, -0.28824496269226074, -0.3600194454193115, -0.16150081157684326, -0.5920583009719849, -0.2424592226743698, 0.5101858973503113, 0.07596329599618912, 0.704807698726654, -0.04038930684328079, 0.41232261061668396, -0.4588939845561981, -0.7590024471282959, 0.5409442782402039, -0.22225025296211243, 0.4732295870780945, 0.19173775613307953, -0.22886620461940765, -0.02336730621755123, -0.8086777329444885, -0.14375893771648407, 0.22345088422298431, -0.6869768500328064, -0.0910048857331276, -0.2619902789592743, -0.15361137688159943, 0.34850722551345825, 0.41208207607269287, -0.33675190806388855, 0.42410874366760254, -0.22607839107513428, 0.4900110960006714, 0.6014301180839539, -0.15783467888832092, 0.7271081209182739, -0.2299060970544815, 0.7970234751701355, 0.2929193079471588, -0.24073059856891632, -0.18746617436408997, -0.11831173300743103, -1.0270040035247803, -0.020569495856761932, 0.42806321382522583, 0.31010711193084717, -0.7369704246520996, 0.20968887209892273, -0.2004031240940094, -0.136747345328331, -0.4894605278968811, 0.35795068740844727, 0.8109080791473389, 0.02172822132706642, 0.2624417841434479, -0.31417611241340637, -0.43521085381507874, -0.90814608335495, -0.2872450053691864, -0.13385075330734253, 0.13670967519283295, 0.23533311486244202, 0.5106487274169922, -0.24474209547042847, 0.5563048124313354, -0.3313741385936737, -0.39776280522346497, -0.35671719908714294, -0.10406173765659332, -0.08135497570037842, 0.29412227869033813, 0.5789815187454224, -0.3280511796474457, -0.18889939785003662, -0.14797288179397583, -0.8129647970199585, 0.03963444009423256, -0.1732332855463028, 0.3551487624645233, 0.17726968228816986, 0.7104824185371399, -0.3707962930202484, 0.5381991863250732, 0.7531149983406067, -0.2701999247074127, 0.31887516379356384, -0.34423407912254333, -0.37057021260261536, -0.4328048825263977, -0.049042489379644394, -0.0914342924952507, -0.22471486032009125, -0.3837369680404663, 0.3579581081867218, 0.4699893295764923, -0.26125767827033997, -0.3687310218811035, 0.45414572954177856, -0.9000218510627747, -0.5666301846504211, -0.1780097484588623, 0.06025443598628044, -0.08010704070329666, 1.3015673160552979, 0.16786037385463715, 0.7550828456878662, 0.538953423500061, -0.8276079893112183, -0.0508832111954689, 0.09841722249984741, -0.018342619761824608, 0.09973444789648056, -0.35219451785087585, 0.4119120240211487, -0.14960439503192902, -0.1930740922689438, -0.748261034488678, -0.1355583667755127, 0.1917896568775177, -0.48428288102149963, 0.6323726177215576, -0.3142935037612915, -0.7768853902816772, -0.15949881076812744, -0.2620387673377991, 0.4301798343658447, 0.55376797914505, -0.491122841835022, 0.20062482357025146, 0.43401747941970825, 0.3250572681427002, -0.3402259349822998, -0.893694281578064, -0.11905614286661148, -0.01970324106514454, -0.10910508036613464, 0.12616008520126343, -0.06083981692790985, -0.18881598114967346, 0.09016150236129761, -0.27732977271080017, -0.24683290719985962, 0.07388297468423843, 0.6128414869308472, 0.06251221150159836, -0.19536025822162628, 0.45323047041893005, -0.29199057817459106, -0.022817181423306465, 0.24105630815029144, 0.039129588752985, 0.47427111864089966, -0.21469081938266754, -0.34889158606529236, -0.18627285957336426, 0.15269725024700165, 0.70082026720047, -0.4317210912704468, 0.8365033268928528, 0.39017316699028015, -0.2031545341014862, -0.31315600872039795, -0.3621014952659607, 0.07919833064079285, -0.46701639890670776, 0.5526769757270813, -0.33716291189193726, -1.0299763679504395, 0.6378285884857178, -0.11490460485219955, -0.22694426774978638, 0.2752007842063904, 0.43887457251548767, -0.0894794836640358, 0.5569416880607605, 0.8438389897346497, -0.17907625436782837, 0.283387154340744, -0.4230133593082428, 0.10203370451927185, -1.0033228397369385, -0.38490670919418335, -0.5529784560203552, -0.33047130703926086, -0.7116656303405762, -0.4788617789745331, 0.0933559238910675, 0.055524565279483795, -0.1199120357632637, 0.4405182898044586, -0.4284617304801941, 0.31532588601112366, 0.3813422620296478, 0.02128577046096325, 0.23821555078029633, -0.06805533170700073, 0.0922035276889801, -0.05559200793504715, -0.9122377038002014, -0.4537596106529236, 1.0856729745864868, 0.44615912437438965, 1.1825004816055298, -0.147651806473732, 0.7801125645637512, 0.07394706457853317, -0.13314971327781677, -0.8662279844284058, 0.5303385257720947, -0.23356544971466064, -0.359189510345459, 0.033992063254117966, -0.5177595615386963, -0.9567237496376038, -0.024133317172527313, -0.03568413853645325, -0.4286278486251831, 0.5635555386543274, 0.010438102297484875, -0.35433536767959595, 0.3428735136985779, -0.9695250391960144, 0.6985832452774048, -0.25056299567222595, -0.27858424186706543, 0.12825603783130646, -0.44063591957092285, 0.22775834798812866, -0.30256345868110657, 0.37040719389915466, 0.10031726956367493, -0.13115285336971283, 0.6539247632026672, -0.19959715008735657, 1.13308846950531, 0.061540596187114716, -0.22800351679325104, 0.18884925544261932, 0.24369020760059357, 0.5074180364608765, 0.016705254092812538, 0.10701189935207367, 0.3725937306880951, -0.06662974506616592, -0.3672601282596588, -0.37746575474739075, 0.7025647163391113, -0.8241488337516785, -0.5090616345405579, -0.22781749069690704, -0.4343506395816803, -0.331830769777298, 0.07870173454284668, 0.2262652963399887, 0.5594667196273804, 0.22467130422592163, 0.10448131710290909, 0.6456993222236633, -0.4691610336303711, 0.6569934487342834, 0.37156128883361816, -0.08779981732368469, 0.05106594040989876, 0.8892307281494141, 0.32012811303138733, 0.4511137008666992, 0.3335624635219574, -0.3536401689052582, 0.15719972550868988, -0.4913817346096039, -0.15658289194107056, 0.4276716709136963, -0.9326448440551758, -0.3507823646068573, -0.5698888301849365, -0.3934754431247711, -0.27582836151123047, 0.086228147149086, -0.20200377702713013, -0.22235725820064545, -0.7388833165168762, -0.14822407066822052, 0.25219258666038513, 1.0974575281143188, 0.1885147988796234, 0.0832943320274353, -0.8760681748390198, 0.5703032612800598, 0.1558683216571808, 0.4809831976890564, 0.21314586699008942, -0.5658837556838989, -0.701878547668457, -0.22523121535778046, -0.09732840210199356, -0.9052032828330994, 0.35396403074264526, 0.09802431613206863, 0.3605184853076935, 0.32244595885276794, 0.12420368939638138, 0.7517861127853394, -0.5077842473983765, 0.5920908451080322, -0.1485457718372345, -0.925118625164032, 0.30822843313217163, -0.023554008454084396, 0.5298648476600647, 0.4101432263851166, 0.12310310453176498, 0.006310080643743277, -0.7408611178398132, -0.614649772644043, -0.35806819796562195, 0.9154555797576904, 0.08767809718847275, 0.46693775057792664, -0.29151129722595215, 0.565035879611969, 0.11276528239250183, 0.30493980646133423, -0.9979628324508667, -0.42676398158073425, 0.17566601932048798, -0.20801886916160583, 0.07345803081989288, -0.5765163898468018, 0.10705637186765671, -0.08639578521251678, 0.014517041854560375, -0.014386140741407871, 0.630722165107727, 0.14829564094543457, -0.3681812882423401, -0.16667377948760986, 0.29509487748146057, 0.6609542369842529, 0.5778535008430481, -0.08768188953399658, 0.5177422165870667, 0.09171118587255478, -0.41762837767601013, -0.009189371019601822, -0.24803726375102997, 0.19475431740283966, 0.0969552993774414, 0.7545692324638367, 0.8728562593460083, 0.5608494281768799, -0.6622342467308044, 0.6106953620910645, 0.0742173120379448, -0.0392170175909996, -0.33272621035575867, 0.40249747037887573, 0.22514142096042633, 0.167620450258255, 0.10639303922653198, 0.29603955149650574, -0.1361950933933258, -0.7165992259979248, -0.19265469908714294, 0.48001474142074585, -0.5214354991912842, -0.5861726999282837, 0.5559638142585754, 0.08494348078966141, -0.3370285630226135, 0.25074926018714905, -0.2661197781562805, -0.3317909836769104, 0.8838256597518921, 0.4815904200077057, 0.6794546842575073, 0.24364008009433746, -0.06427497416734695, 0.27495262026786804, 0.5284812450408936, 0.17919859290122986, -0.029421571642160416, -0.21016405522823334, -0.47775185108184814, -0.30760738253593445, -0.6203661561012268, -0.12084480375051498, 0.34552863240242004, -0.7977886199951172, 0.10265694558620453, -0.7133880853652954, -0.1340801864862442, -0.26896440982818604, -0.09910903126001358, -1.1622954607009888, 0.1826755702495575, 0.03034033440053463, 0.6496689319610596, -0.5479490756988525, 0.9074641466140747, 0.47967445850372314, -0.6047887802124023, -1.0627923011779785, 0.13596250116825104, -0.4435015618801117, -1.045576572418213, 0.945725679397583, 0.22932785749435425, 0.04833100736141205, -0.11627038568258286, -0.7174292206764221, -1.0032187700271606, 0.6719750165939331, 0.624718427658081, -0.8523884415626526, -0.3767113983631134, 0.23374950885772705, 0.5828830599784851, -0.3289279639720917, 0.03943247348070145, 0.19542138278484344, 0.2353191375732422, -0.27361777424812317, -1.0750266313552856, 0.016379060223698616, 0.016148235648870468, 0.11609134823083878, 0.027859844267368317, -0.8786290287971497, 0.8001867532730103, -0.4544472396373749, -0.41612690687179565, -0.170685276389122, 0.2071765810251236, -0.07883596420288086, 0.05139989033341408, -0.14662665128707886, 0.3218784034252167, 0.4150652587413788, 0.012523657642304897, 1.1148768663406372, -0.4026893973350525, 0.6025511622428894, 1.122510552406311, -0.19025544822216034, 0.7608383893966675, 0.5139593482017517, -0.22347159683704376, 0.37324258685112, 0.5932534337043762, -0.21538236737251282, 0.5432106256484985, 0.3010144829750061, 0.4284616708755493, -0.3038298785686493, 0.1845189779996872, -0.3209898769855499, 0.47230982780456543, 0.30174490809440613, -0.845262348651886, -0.024388086050748825, -0.0320008210837841, -0.023063622415065765, 0.16629105806350708, -0.4690009653568268, 1.1293981075286865, 0.3747084438800812, -0.46845105290412903, 0.961442768573761, 0.029418662190437317, 0.7473357915878296, -0.3420681059360504, -0.04309232905507088, -0.3315078616142273, 0.0768856406211853, -0.37566283345222473, -0.4446339011192322, 0.29346221685409546, 0.19049689173698425, -0.28653475642204285, 0.08620419353246689, 0.5916590094566345, -0.35034626722335815, -0.4875221252441406, 0.5879979133605957, 0.4733811914920807, 0.1949537694454193, 0.20952178537845612, -0.25569283962249756, 0.36608806252479553, -0.046032533049583435, -0.08644888550043106, 0.5097622871398926, 0.5834355354309082, 0.14408089220523834, 0.6336807608604431, 0.30226749181747437, 0.3247724175453186, 0.16860103607177734, -0.009566466324031353, 0.7863153219223022, -0.7940430045127869, -0.13675734400749207, -0.9201647639274597, 0.15565790235996246, 0.40750816464424133, -0.07966261357069016, 0.7076200246810913, 0.410998672246933, 1.0613359212875366, -0.5097625851631165, 0.6073447465896606, 0.4742473065853119, 0.031069375574588776, -0.7372622489929199, 0.3652440905570984, -0.43577536940574646, 0.5665035247802734, -0.11928631365299225, -0.8619382977485657, -0.19060514867305756, 0.5428124666213989, -0.39379942417144775, 0.13847674429416656, 0.7234296798706055, 0.6119986176490784, 0.034552715718746185, -0.43536174297332764, 0.6780117750167847, 0.23315897583961487, -0.21652570366859436, 0.9761835336685181, 0.8636431097984314, -0.3075164556503296, 0.5577676892280579, 0.07809045910835266, 0.03331568092107773, -0.29902321100234985, -0.3576984405517578, -1.435136318206787, -0.3973233699798584, -0.2027283012866974, -0.08163010329008102, 0.008665681816637516, 0.7873877882957458, 0.6938324570655823, -0.6441805362701416, -0.05657972767949104, -0.18686969578266144, 0.09903759509325027, 0.06754498928785324, -0.1791541874408722, 0.4391397535800934, -0.6033875346183777, -0.6119892001152039, 0.156762033700943, 0.47962018847465515, -0.027100495994091034, -0.6332431435585022, -0.05316608026623726, 0.2811674475669861, 0.0430479533970356, 0.2807123064994812, 0.09256152808666229, -0.9428080320358276, -0.15857259929180145, 0.28895509243011475, -0.3631148636341095, 0.3725852966308594, 0.6453646421432495, -0.9652177691459656, 0.26014599204063416, 0.18816448748111725, 0.6622147560119629, 0.27325916290283203, -0.2487463802099228, 0.20918139815330505, -0.9498551487922668, 0.2433018982410431, 0.13900388777256012, 0.3891008198261261, 0.24835872650146484, -0.5833299160003662, 0.3342420160770416, -0.04142910614609718, -0.3902103900909424, -0.6604364514350891, 0.2454429268836975, -0.7487735748291016, -0.3944673538208008, 1.4089317321777344, -0.37019339203834534, -0.33511754870414734, -0.11490707844495773, -0.11089711636304855, 0.19872429966926575, -0.2460004687309265, 0.5905897617340088, 0.5893085598945618, -0.15958601236343384, -0.17034469544887543, -0.5143440961837769, 0.5746637582778931, 0.21859268844127655, -0.5513536334037781, 0.26388218998908997, 0.2599581480026245, 0.4258083701133728, 0.3001810610294342, 0.5698295831680298, -0.3147054612636566, 0.2385471612215042, -0.11388437449932098, -0.03628259524703026, -0.22202245891094208, -0.2923937141895294, -0.7138891816139221, 0.45317816734313965, 0.4562242925167084, -0.3263625204563141 ]
http://arxiv.org/abs/2406.11503v1
http://arxiv.org/pdf/2406.11503v1
GeoGPT4V: Towards Geometric Multi-modal Large Language Models with Geometric Image Generation
2024-06-17T13:04:27
2024-06-17T13:04:27
Shihao Cai, Keqin Bao, Hangyu Guo, Jizhi Zhang, Jun Song, Bo Zheng
cs.CV
cs.CV, cs.CL
Large language models have seen widespread adoption in math problem-solving. However, in geometry problems that usually require visual aids for better understanding, even the most advanced multi-modal models currently still face challenges in effectively using image information. High-quality data is crucial for enhancing the geometric capabilities of multi-modal models, yet existing open-source datasets and related efforts are either too challenging for direct model learning or suffer from misalignment between text and images. To overcome this issue, we introduce a novel pipeline that leverages GPT-4 and GPT-4V to generate relatively basic geometry problems with aligned text and images, facilitating model learning. We have produced a dataset of 4.9K geometry problems and combined it with 19K open-source data to form our GeoGPT4V dataset. Experimental results demonstrate that the GeoGPT4V dataset significantly improves the geometry performance of various models on the MathVista and MathVision benchmarks. The code is available at https://github.com/Lanyu0303/GeoGPT4V_Project
[ -0.31438273191452026, -0.76178377866745, 0.9057807326316833, 0.006499286741018295, -0.18283586204051971, -0.26999345421791077, -0.2213330715894699, -0.24029047787189484, -0.27925124764442444, 0.3507852852344513, -0.4257518947124481, -0.7628565430641174, -0.4897371530532837, -0.03354084864258766, -0.12067163735628128, 0.9222807884216309, -0.16415303945541382, 0.21305643022060394, -0.1385922133922577, -0.15354913473129272, -0.5359096527099609, -0.404613196849823, -0.36204254627227783, 0.014417984522879124, 0.388556569814682, 0.1770544797182083, 0.8663691878318787, 0.6872652173042297, 0.6484444737434387, 0.33823883533477783, 0.4210408926010132, 0.08660675585269928, -0.4721388816833496, 0.05253951996564865, 0.13733309507369995, -0.21522676944732666, -0.18385571241378784, 0.1203872486948967, 0.8029190897941589, 0.4063335359096527, -0.23531901836395264, 0.037299394607543945, -0.07037722319364548, 0.43841707706451416, -0.2703896164894104, 0.6241055727005005, -0.5085347294807434, -0.04133119061589241, -0.4808470606803894, -0.041958365589380264, 0.06257441639900208, -0.4888036847114563, 0.2541216313838959, -1.1796300411224365, 0.3284231126308441, -0.025261832401156425, 0.8121328949928284, 0.3526453673839569, -0.4260539412498474, -0.293503999710083, -0.5040199160575867, 0.6444557905197144, -0.5382257699966431, 0.7174499034881592, 0.3269082307815552, 0.4664163291454315, -0.03875422477722168, -0.6262428164482117, -0.4100535809993744, 0.18396800756454468, 0.23668862879276276, 0.2592005431652069, -0.09935513138771057, -0.19250917434692383, 0.49073320627212524, 0.3300979733467102, -0.7391757965087891, -0.19639743864536285, -0.6090701222419739, -0.37381067872047424, 0.0773017480969429, 0.08842126280069351, 0.3275132179260254, -0.48391008377075195, -0.25234633684158325, -0.12701250612735748, -0.9367660880088806, 0.007245273794978857, 0.7201098203659058, 0.17082074284553528, -0.1446084827184677, 0.7555197477340698, 0.14263632893562317, 0.8457037806510925, -0.36374783515930176, -0.08668606728315353, 0.3722304105758667, -0.5556248426437378, -0.20676355063915253, -0.37187740206718445, 0.7617135047912598, 0.15187528729438782, 0.04025890305638313, 0.21727068722248077, -0.23481516540050507, 0.09800509363412857, -0.007361914962530136, -0.8939625024795532, -0.6585713624954224, -0.2135244458913803, -0.16510136425495148, -0.13268183171749115, -0.03447917103767395, -0.9480466246604919, -0.19854716956615448, -0.5709986686706543, 0.5177351236343384, -0.6236774325370789, -0.28080374002456665, 0.24668091535568237, 0.06690879166126251, 0.2748481333255768, 0.4753371477127075, -0.6217570304870605, -0.1806461066007614, 0.5719256401062012, 0.977317750453949, 0.21050719916820526, -0.21418344974517822, -0.7068358659744263, 0.2657681405544281, -0.3543621301651001, 0.6367686986923218, -0.7489461302757263, -0.23515067994594574, -0.040434740483760834, -0.03547936677932739, 0.21470476686954498, -0.10314527899026871, 0.6054534912109375, -0.17012102901935577, 0.7778334021568298, -0.481755793094635, -0.08235909789800644, -0.3456692099571228, 0.3897886574268341, -0.9484491348266602, 1.1588175296783447, 0.09183691442012787, -0.7586817741394043, 0.258466511964798, -0.654407799243927, -0.0954182967543602, 0.3159439265727997, -0.586890459060669, -0.6269477605819702, 0.1466962993144989, 0.7058524489402771, 0.3012438416481018, -0.4369732141494751, 0.23693707585334778, -0.2925969958305359, 0.06189988926053047, -0.1692931056022644, -0.5251572728157043, 0.24684976041316986, 0.12676818668842316, -0.19444972276687622, 0.131582111120224, -0.47917842864990234, -0.010782002471387386, 0.36082029342651367, -0.371271014213562, -0.404928982257843, -0.1453513205051422, 0.0981341004371643, 0.3660356402397156, 0.20378361642360687, -0.5613799095153809, 0.27890023589134216, -0.12612466514110565, 0.4836868345737457, 0.7679569721221924, -0.23293273150920868, 0.3493044674396515, -0.11024026572704315, 0.5593297481536865, -0.07748696208000183, 0.1313638836145401, -0.38235577940940857, -0.8459799289703369, -0.37448564171791077, -0.45017462968826294, 0.08392872661352158, 0.3215824365615845, -1.2963272333145142, -0.2417982667684555, -0.4561660885810852, -0.3005041182041168, -0.11643160879611969, 0.08278480172157288, 0.35391125082969666, 0.7083014845848083, 0.34898197650909424, -0.20980115234851837, -0.20317524671554565, -0.7236803770065308, -0.019765954464673996, 0.16601485013961792, -0.21034353971481323, 0.5739076733589172, 0.35997042059898376, 0.05505751818418503, 0.6667241454124451, -0.7756128311157227, -0.37867745757102966, -0.025669779628515244, 0.2864791750907898, 0.14379194378852844, 0.2725752890110016, 0.735274612903595, -0.7126469016075134, -0.22692710161209106, 0.18680240213871002, -0.8240554332733154, -0.08883694559335709, 0.21217112243175507, -0.21839699149131775, 0.16161037981510162, 0.2028118073940277, -0.5433127880096436, 0.29758939146995544, 0.866533637046814, -0.34659236669540405, 0.5527967810630798, -0.2970986068248749, 0.3044247031211853, -1.3234119415283203, -0.04991050064563751, 0.5461370348930359, -0.4171117842197418, -0.3590339422225952, -0.07335420697927475, 0.06250036507844925, -0.7448643445968628, -0.3221282958984375, 0.08673740923404694, -0.662899911403656, -0.34396815299987793, 0.10883542150259018, -0.04345538467168808, 0.06834157556295395, 0.4176826775074005, 0.011563954874873161, 0.8368690609931946, 0.8520399332046509, -0.09947279095649719, 0.7062912583351135, 0.3648342192173004, -0.29479676485061646, 0.6872836947441101, -0.661429226398468, 0.10950843244791031, -0.18584103882312775, 0.2561945915222168, -0.74277663230896, -0.5739402770996094, 0.3026655614376068, -0.1495652049779892, 0.041632890701293945, -0.4575285315513611, -0.42386019229888916, -0.27872297167778015, -0.24377769231796265, 0.8492149710655212, 0.2140679508447647, -0.6351149082183838, 0.6430844664573669, 0.37362048029899597, -0.3676939904689789, -0.34500548243522644, -0.41648605465888977, 0.09738517552614212, -0.18623463809490204, -0.7100269794464111, 0.004397562704980373, 0.022569427266716957, 0.3304191529750824, 0.3054732084274292, 0.03264780715107918, -0.17590337991714478, -0.4634755849838257, 0.14979997277259827, 0.37688037753105164, -0.28366437554359436, 0.2124423384666443, -0.28993552923202515, -0.12633691728115082, -0.01174760702997446, -0.7149008512496948, 0.5426948666572571, -0.47188788652420044, -0.5915109515190125, -0.43535321950912476, 0.3922251760959625, 0.6283770799636841, -0.588744580745697, 0.14210812747478485, 0.7016038298606873, -0.57430499792099, 0.13288460671901703, -0.41604676842689514, 0.04184168577194214, -0.46636971831321716, 0.4916066825389862, -0.5701754689216614, -0.7072592973709106, 0.2638685405254364, -0.20028021931648254, 0.03499666973948479, 0.1969304084777832, 0.547122597694397, 0.1774587631225586, 0.9973825812339783, 0.5695562362670898, 0.08167529106140137, 0.552716851234436, -0.2286035269498825, 0.36140477657318115, -0.5421081185340881, -0.3494948744773865, -0.3965857923030853, -0.22663776576519012, -0.4482426941394806, -0.7499556541442871, 0.7650930881500244, -0.21845759451389313, -0.22163182497024536, 0.13614942133426666, -0.5395774245262146, 0.6517013311386108, 0.49825993180274963, 0.21889670193195343, 0.3474121391773224, 0.34614303708076477, -0.14872317016124725, -0.42796480655670166, -0.5928548574447632, -0.24702514708042145, 1.1746588945388794, 0.19741447269916534, 1.0309633016586304, 0.34434249997138977, 0.22384671866893768, -0.29246777296066284, -0.12289206683635712, -0.6547168493270874, 0.2602114975452423, -0.014055061154067516, -0.3162161409854889, -0.2646937072277069, -0.8199026584625244, -0.8238105177879333, 0.22634460031986237, -0.34631842374801636, -0.18745659291744232, -0.16395211219787598, 0.2724338173866272, -0.22215139865875244, 0.4941370189189911, -0.7547959089279175, 1.0640325546264648, -0.4563791751861572, -0.342141717672348, 0.0708685964345932, -0.28708168864250183, 0.4608030319213867, -0.1605159491300583, 0.24847982823848724, -0.07017271965742111, 0.1079551950097084, 0.2883126139640808, -0.3519729673862457, 0.5891457200050354, -0.34605106711387634, -0.27726614475250244, 0.10268016159534454, 0.1741483211517334, 0.33217382431030273, 0.296761155128479, 0.3592207133769989, 0.3363579511642456, -0.1238274872303009, -0.37236422300338745, -0.6116498112678528, 0.9084820747375488, -0.827244222164154, -0.2864135503768921, -0.4113953411579132, -0.8350902199745178, 0.013403440825641155, 0.39803409576416016, 0.2358628213405609, 1.0397907495498657, 0.06772967427968979, 0.1807728111743927, 0.5379019975662231, -0.39501065015792847, 0.39909765124320984, -0.10923607647418976, -0.34985506534576416, -0.6455394625663757, 1.0029886960983276, 0.08467704802751541, 0.0431877002120018, -0.09864965826272964, 0.1517760306596756, -0.5398885607719421, -0.4474627673625946, -0.6919723749160767, 0.3570694923400879, -0.5915636420249939, -0.4951145052909851, -0.22702676057815552, -0.06158915534615517, -0.24336014688014984, 0.027636541053652763, -0.5035144090652466, -0.30253922939300537, -0.05450752004981041, 0.1272876113653183, 0.3634043037891388, 1.1519577503204346, 0.03871963545680046, 0.2515195608139038, -0.7027984261512756, 0.2995712459087372, 0.377309113740921, 0.5673369765281677, -0.4923468232154846, -0.026430459693074226, -0.056142568588256836, -0.07758500427007675, -0.5034476518630981, -0.6395818591117859, 0.41569048166275024, 0.16227832436561584, 0.2569126784801483, 0.15773248672485352, -0.4677528440952301, 0.6932235360145569, -0.8199688792228699, 0.7252599596977234, 0.5264443159103394, -1.0494379997253418, 0.4763634502887726, -0.8155524730682373, 0.4447805881500244, -0.022470027208328247, 0.3850839138031006, -0.48681899905204773, -0.004910392686724663, -0.2676948010921478, -0.6142697334289551, 0.45162972807884216, 0.37052175402641296, -0.10437418520450592, 0.39062583446502686, 0.41026920080184937, 0.15141038596630096, 0.07643964141607285, -0.93097984790802, 0.3629467189311981, -0.7990176677703857, -0.534447968006134, 0.05665929988026619, 0.09001591056585312, -0.3301336467266083, -0.16355815529823303, 0.4403507113456726, -0.46684500575065613, 0.3476306200027466, 0.13377904891967773, -0.20993152260780334, 0.09161864966154099, -0.024606674909591675, 0.664065957069397, 0.8136940598487854, 0.20596842467784882, 0.12917234003543854, -0.1873619258403778, -0.5222546458244324, -0.059889473021030426, 0.3077278435230255, 0.14104923605918884, -0.2008524388074875, 0.01860387623310089, 0.8162724375724792, 0.09271227568387985, -0.23951107263565063, 0.7884175181388855, -0.34142324328422546, -0.4724760055541992, -0.29371190071105957, -0.4378355145454407, 0.008839449845254421, 0.34030187129974365, 0.2850489616394043, 0.08174171298742294, 0.0283832810819149, -0.1047641709446907, 0.0948638767004013, 0.5346277952194214, -0.03808225318789482, -0.6729270219802856, 0.8098284602165222, 0.28130367398262024, 0.10819336771965027, 0.7736563682556152, -0.04690353944897652, -0.5890588760375977, 0.17848415672779083, 0.5183539390563965, 0.37219592928886414, -0.0905068889260292, 0.19944405555725098, 0.518886923789978, 0.3271510899066925, -0.147013321518898, 0.3758641481399536, 0.2602519094944, -0.5178785920143127, -0.8512265682220459, -0.3700530230998993, -0.2753174901008606, 0.34522244334220886, -0.28234192728996277, 0.5062771439552307, -0.40988147258758545, 0.012064352631568909, -0.4063745141029358, -0.28292930126190186, -0.8979823589324951, -0.08573105931282043, 0.34519726037979126, 0.3475568890571594, -0.8822325468063354, 0.6938964128494263, 0.7592735886573792, -0.3922705054283142, -0.9979149103164673, -0.09592080861330032, 0.1262415200471878, -0.705128014087677, 0.3700691759586334, 0.36844754219055176, -0.1625726968050003, 0.2369088977575302, -0.6968056559562683, -1.061148762702942, 1.1101092100143433, 0.6645575165748596, -0.4257095456123352, -0.3249509036540985, 0.312456876039505, 0.15710808336734772, -0.08871319144964218, 0.07293305546045303, 0.07070515304803848, 0.4962482154369354, 0.3014923334121704, -0.8666166067123413, -0.010920874774456024, -0.08148546516895294, 0.14974667131900787, 0.586709201335907, -0.3101702630519867, 0.902445375919342, 0.017372824251651764, -0.1676563024520874, -0.06958423554897308, 0.5035299062728882, 0.17280638217926025, -0.015914231538772583, 0.46908947825431824, 1.098677396774292, 0.7432732582092285, -0.605811357498169, 0.946829080581665, -0.09532433748245239, 0.6248069405555725, 0.7356162667274475, -0.04907820746302605, 0.35404765605926514, 0.1812768578529358, 0.2451837658882141, 0.3545081615447998, 0.5609005689620972, -0.05287265032529831, 0.4890826940536499, -0.024661028757691383, -0.2031029462814331, -0.3859102129936218, 0.15186366438865662, -0.5296337008476257, 0.6856583952903748, 0.4517837166786194, 0.15858067572116852, -0.7284228205680847, 0.08230087906122208, -0.08388187736272812, -0.0838535726070404, -0.29608094692230225, 0.35600408911705017, -0.15472246706485748, -0.21360285580158234, 0.29853054881095886, -0.15846258401870728, 0.4578516483306885, -0.5651662349700928, -0.3493625521659851, 0.05629317834973335, -0.012543515302240849, -0.13279446959495544, -0.9444828629493713, 0.20747318863868713, -0.042029548436403275, -0.06987658888101578, -0.18476960062980652, 0.49027085304260254, -0.618305504322052, -0.6990748047828674, -0.20457787811756134, 0.6432795524597168, 0.08684048056602478, -0.19152134656906128, -0.6947488188743591, 0.16620083153247833, -0.15733619034290314, -0.05744900926947594, -0.010405844077467918, 0.7895579934120178, -0.20116955041885376, 0.39626702666282654, 1.0429028272628784, 0.05278049781918526, 0.315716952085495, -0.05651479214429855, 0.954639732837677, -0.505068838596344, -0.5234567523002625, -0.6505826711654663, 0.3752472698688507, -0.09258290380239487, -0.3014378845691681, 0.569576621055603, 0.7446109056472778, 0.8170261979103088, -0.030024684965610504, 0.8753392100334167, -0.04691752791404724, 0.12484116107225418, -0.783074676990509, 0.4435444176197052, -0.5155642628669739, -0.10038439184427261, -0.3179793953895569, -1.0604262351989746, -0.7405645847320557, 0.6964184641838074, -0.48379993438720703, 0.01474781148135662, 0.8031502366065979, 0.6241801977157593, -0.5628131628036499, -0.03447661176323891, 0.3047008216381073, 0.01247492153197527, 0.8759850263595581, 0.796757698059082, 0.8713328838348389, -0.3190414607524872, 0.9494104385375977, 0.04025976359844208, -0.29345425963401794, 0.3269927501678467, -1.078691840171814, -0.6976423263549805, -0.7375004291534424, 0.026013117283582687, -0.14483004808425903, -0.2036958783864975, 0.5611129999160767, 0.8402111530303955, -0.2856418490409851, 0.1841605305671692, -0.23500503599643707, -0.19783402979373932, 0.2874251902103424, -0.16095253825187683, 0.2835392951965332, -0.3117830157279968, -1.0347706079483032, 0.2885688245296478, 0.4020768105983734, 0.14389531314373016, -0.29790666699409485, 0.026826033368706703, 0.061463478952646255, -0.3067997694015503, 0.5350527763366699, 0.17232820391654968, -0.4980402886867523, -0.4194309413433075, -0.08147788792848587, 0.040652088820934296, 0.29469743371009827, 1.0421086549758911, -0.6945157051086426, 0.5314223170280457, 0.4421919286251068, 0.8982605934143066, 0.5934293270111084, 0.1426984816789627, 0.767285168170929, -0.7505468130111694, 0.291858434677124, 0.06294436007738113, 0.651781439781189, 0.6772327423095703, -0.3278925120830536, 0.3447118103504181, 0.4701171815395355, -0.7886824607849121, -0.4111711382865906, 0.5447612404823303, -0.8061439990997314, 0.007973533123731613, 1.0247445106506348, -0.07379163056612015, -0.21599647402763367, 0.15030492842197418, -0.3389098346233368, 0.12251715362071991, -0.3690146207809448, 0.34722861647605896, 0.851466178894043, 0.003254760755226016, -0.30268263816833496, -1.0150047540664673, 0.33970916271209717, 0.18035651743412018, -0.9546910524368286, -0.19549213349819183, 1.2541712522506714, 0.5056990385055542, -0.03542572632431984, 0.18308834731578827, -0.32124990224838257, 0.16547991335391998, -0.349661260843277, 0.15899421274662018, -0.2909400761127472, -0.5217140913009644, -0.4038103520870209, 0.23696087300777435, -0.25772765278816223, -0.21059367060661316 ]
http://arxiv.org/abs/2406.11497v2
http://arxiv.org/pdf/2406.11497v2
CrAM: Credibility-Aware Attention Modification in LLMs for Combating Misinformation in RAG
2024-06-17T13:01:12
2024-06-27T10:18:53
Boyi Deng, Wenjie Wang, Fengbin Zhu, Qifan Wang, Fuli Feng
cs.CL
cs.CL
Retrieval-Augmented Generation (RAG) can alleviate hallucinations of Large Language Models (LLMs) by referencing external documents. However, the misinformation in external documents may mislead LLMs' generation. To address this issue, we explore the task of "credibility-aware RAG", in which LLMs automatically adjust the influence of retrieved documents based on their credibility scores to counteract misinformation. To this end, we introduce a plug-and-play method named $\textbf{Cr}$edibility-aware $\textbf{A}$ttention $\textbf{M}$odification (CrAM). CrAM identifies influential attention heads in LLMs and adjusts their attention weights based on the credibility of the documents, thereby reducing the impact of low-credibility documents. Experiments on Natual Questions and TriviaQA using Llama2-13B, Llama3-8B, and Qwen-7B show that CrAM improves the RAG performance of LLMs against misinformation pollution by over 20%, even surpassing supervised fine-tuning methods.
[ -0.27628031373023987, -0.8806918859481812, 0.43916237354278564, 0.32300397753715515, -0.2483256757259369, 0.34065911173820496, -0.3889000415802002, -0.6165129542350769, 0.34915825724601746, 0.7380800843238831, -0.2235131561756134, -0.33148935437202454, -0.7444897890090942, -0.05566634237766266, -0.37750470638275146, 1.0294909477233887, 0.08375592529773712, -0.01735888421535492, -0.4338941276073456, -0.1051897406578064, -0.5442973971366882, -0.2906434237957001, -0.6919307112693787, -0.20209352672100067, 0.7407325506210327, 0.5569996237754822, 0.6308491230010986, 0.781688392162323, 0.8385006189346313, 0.21452711522579193, -0.2999879717826843, 0.48064520955085754, -0.9250935316085815, 0.3149817883968353, -0.594124972820282, -0.7745853662490845, -0.4965859651565552, -0.003670307109132409, 0.6501927971839905, 0.2218787968158722, -0.11613504588603973, 0.5798113942146301, 0.2444797158241272, 0.659453809261322, -0.9000985622406006, -0.11127898842096329, -1.0075980424880981, -0.22797122597694397, -0.4780735969543457, -0.7940244078636169, -0.6370735168457031, -0.220536008477211, -0.14032556116580963, -0.5396948456764221, 0.556800901889801, 0.41750526428222656, 0.9200993180274963, 0.5695217847824097, -0.19315995275974274, -0.2852679491043091, -0.9726937413215637, 0.9128753542900085, -0.45262736082077026, 0.4798474907875061, 0.5883224606513977, 0.048363037407398224, -0.1951655149459839, -0.7141441106796265, -0.47487425804138184, -0.06030398979783058, -0.19312623143196106, 0.28386878967285156, 0.08326700329780579, -0.011278889141976833, 0.4381544291973114, 0.4210822582244873, -0.501146137714386, -0.17011380195617676, -0.38926056027412415, -0.4103837013244629, 0.4232226610183716, -0.1129482090473175, 0.11908319592475891, 0.07230524718761444, -0.4073183536529541, -0.03716267645359039, -0.8785221576690674, -0.3752205967903137, 0.27003902196884155, 0.06325216591358185, 0.20548872649669647, 0.673279345035553, -0.10038770735263824, 0.7064478397369385, 0.567943274974823, -0.5653079748153687, 0.02415371872484684, -0.15414568781852722, -0.28131598234176636, 0.2739911675453186, 0.10316114872694016, 0.3626072108745575, 0.1809322088956833, 0.09010147303342819, -0.1880970448255539, 0.17137078940868378, 0.48168519139289856, -0.5990532636642456, -0.02387455850839615, 0.24275462329387665, -0.32626891136169434, -0.3568042814731598, -0.240452378988266, -0.8721848130226135, -0.6433640718460083, -0.3677225112915039, 0.5955237746238708, -0.3099350333213806, 0.05352186784148216, -0.049017902463674545, -0.07782084494829178, 0.09455099701881409, 0.47868022322654724, -0.36322036385536194, -0.038472920656204224, 0.5218755602836609, 0.5303054451942444, -0.246344193816185, -0.13483640551567078, -0.8159119486808777, 0.7009841799736023, -0.28341662883758545, 1.2116098403930664, -0.6522499918937683, -0.3084243834018707, -0.07191306352615356, -0.1984454244375229, -0.12765152752399445, -0.7592238783836365, 0.8974103927612305, -0.7814500331878662, 0.42974159121513367, -0.1278645545244217, -0.4536796808242798, -0.16432516276836395, 0.5163418054580688, -0.5015077590942383, 1.0668151378631592, 0.13409028947353363, -0.957249104976654, 0.09860716760158539, -0.303320050239563, -0.38508957624435425, -0.02122051641345024, 0.18003502488136292, -0.3950763940811157, 0.17823678255081177, 0.2271454781293869, -0.06688243895769119, -0.2539955973625183, -0.047778841108083725, 0.07495765388011932, -0.34775057435035706, 0.2117743194103241, -0.4954640865325928, 0.4919379949569702, 0.08586825430393219, -0.1831585168838501, 0.03684451803565025, -0.6450726985931396, -0.04858461022377014, -0.02474014088511467, -0.4822324514389038, -0.5281875133514404, -0.16844551265239716, -0.22473128139972687, 0.010152296163141727, 0.39867326617240906, -0.27157387137413025, 0.00918483640998602, -0.5082592368125916, -0.33388853073120117, 0.6239128708839417, 0.44662004709243774, 0.3980793058872223, -0.8231634497642517, 0.42355018854141235, 0.20837900042533875, 0.2539080083370209, -0.18425783514976501, -0.445928692817688, -1.0706839561462402, -0.17820148169994354, 0.5228932499885559, 0.645526111125946, -0.7899484634399414, -0.08042553812265396, -0.10338106751441956, -0.5102829337120056, -0.6731752157211304, 0.3559563159942627, 0.5751243829727173, 0.7677907347679138, 0.539500892162323, -0.19393080472946167, -0.6412975788116455, -0.8640775084495544, -0.9401253461837769, -0.12327338755130768, 0.0741778239607811, 0.31450095772743225, 0.0038556030485779047, -0.2625049352645874, 0.8233234882354736, -0.5004801750183105, -0.6151638031005859, -0.06812605261802673, 0.27537834644317627, -0.18723265826702118, 0.2811734676361084, 0.3426549434661865, -0.9203134775161743, -0.723466157913208, -0.36220893263816833, -0.22180233895778656, -0.4305720031261444, -0.3182084262371063, -0.11541411280632019, 0.49244531989097595, 0.46036311984062195, -0.610186755657196, 0.4339149594306946, 0.4999091327190399, -0.32147666811943054, 0.6388662457466125, -0.17532166838645935, 0.44359344244003296, -0.8458554744720459, -0.11204613000154495, -0.024552475661039352, -0.37165117263793945, -0.5964699983596802, 0.04595604166388512, 0.15704137086868286, 0.367168128490448, -0.4599286913871765, 0.6741589307785034, -0.604432225227356, -0.0035692937672138214, -0.5696767568588257, 0.5402804613113403, 0.38397443294525146, 0.3555360436439514, -0.24001890420913696, 0.7825843095779419, 0.35169920325279236, -0.8102912902832031, -0.13073575496673584, 0.20204751193523407, -0.0890062227845192, 0.8756631016731262, -0.27224278450012207, 0.25637495517730713, -0.3429068624973297, 0.25017955899238586, -0.8602434396743774, -0.34877267479896545, 0.4704849123954773, -0.673297643661499, 0.563614010810852, -0.2447730302810669, -0.4266069531440735, 0.01424847636371851, -0.2620287835597992, 0.3464365303516388, 0.2747783064842224, -0.5899624824523926, 0.9857153296470642, 0.4786972105503082, -0.0683014765381813, -0.6637709736824036, -0.7563421130180359, 0.20953644812107086, -0.25975334644317627, -0.2897261083126068, 0.5083291530609131, -0.368941068649292, -0.5711760520935059, -0.04893306642770767, -0.31481245160102844, -0.0238636527210474, -0.1414438635110855, 0.11523532122373581, 0.3274420499801636, 0.0404302179813385, 0.19816608726978302, -0.01997942104935646, -0.05234026536345482, -0.0656636655330658, -0.10594788193702698, 0.42337751388549805, 0.25237002968788147, -0.3380817174911499, -0.0491655096411705, 0.09116827696561813, 0.37075281143188477, -0.42868027091026306, 0.6697172522544861, 0.7035408020019531, -0.38560065627098083, -0.39808762073516846, -1.0860631465911865, -0.2538694143295288, -0.48437824845314026, 0.0874701663851738, -0.05468757823109627, -0.7886611819267273, 0.27923187613487244, -0.16182348132133484, 0.10835772752761841, 0.5216438174247742, 0.6012678146362305, -0.07656049728393555, 0.6270700097084045, 0.49726730585098267, 0.05430835485458374, 0.4741716980934143, 0.14524714648723602, 0.07713701575994492, -0.8569038510322571, -0.058109160512685776, -0.5735398530960083, -0.3308570981025696, -0.32117339968681335, -0.9784455895423889, 0.2308197021484375, 0.07545098662376404, 0.18254674971103668, 0.07896939665079117, -0.6437877416610718, 0.6227959990501404, 0.5084825754165649, 0.15546773374080658, 0.6765548586845398, 0.02250327542424202, 0.22824892401695251, -0.24593719840049744, -0.762765645980835, -0.3230700194835663, 1.0505752563476562, 0.25749608874320984, 0.857943058013916, -0.023105375468730927, 0.49141332507133484, 0.502681314945221, 0.7058927416801453, -0.6070486903190613, 0.5505978465080261, 0.19390970468521118, -0.7482962012290955, 0.03815683722496033, -0.4627552032470703, -0.6412607431411743, 0.06677445769309998, -0.30504652857780457, -0.4522188901901245, 0.3145609498023987, 0.4017949104309082, -0.1905195415019989, 0.213028684258461, -0.6120465397834778, 0.13144434988498688, -0.18704913556575775, -0.5544151067733765, -0.7249752879142761, -0.30536672472953796, 0.4191340506076813, -0.3453289270401001, 0.33196571469306946, 0.06855615973472595, -0.13378861546516418, 0.6003115773200989, 0.330795019865036, 0.8999202847480774, -0.11003803461790085, -0.23606446385383606, 0.5348471403121948, 0.3580089211463928, 0.8660358786582947, 0.11637745052576065, 0.13921505212783813, 0.24577175080776215, -0.31557992100715637, -0.073588065803051, -0.5427681803703308, 0.8451017141342163, -0.22832685708999634, -0.854085385799408, -0.4078901708126068, -0.8665050268173218, -0.3741147816181183, 0.26749125123023987, 0.2070455700159073, 0.3148370683193207, -0.16357287764549255, 0.1922469139099121, 1.2305618524551392, -0.23255935311317444, 0.1099342480301857, 0.7620064616203308, -0.2639857530593872, -0.573600172996521, 0.8387900590896606, 0.3006814122200012, 0.37507161498069763, 0.44923117756843567, 0.18187128007411957, -0.13410626351833344, -0.39984506368637085, -0.11595052480697632, 0.38906553387641907, -0.7293021082878113, -0.4817699193954468, -0.7706046104431152, -0.3027516305446625, -0.3770533800125122, -0.04580559954047203, -0.30426424741744995, -0.5651127099990845, -0.22878192365169525, 0.12123040109872818, 0.4166974723339081, 0.5264629125595093, -0.07044108957052231, 0.4555768668651581, -0.6973898410797119, 0.6864437460899353, 0.17711709439754486, 0.4610072076320648, -0.24620382487773895, -1.0650568008422852, -0.5247855186462402, -0.0003248710709158331, -0.40339094400405884, -0.8194290995597839, 0.21999378502368927, 0.21387413144111633, 0.5116429924964905, 0.503571629524231, 0.14694499969482422, 0.6741240620613098, -0.3458592891693115, 0.532063901424408, -0.2604573667049408, -0.7175597548484802, 0.3593733310699463, -0.29713085293769836, 0.21638554334640503, 0.45831260085105896, 0.08236615359783173, -0.3707215189933777, -0.848423957824707, -0.8639726042747498, -0.6619279384613037, 0.46964818239212036, 0.19804111123085022, -0.14420334994792938, 0.07671771943569183, 0.33035317063331604, -0.2127668857574463, 0.23608359694480896, -0.4866985082626343, -0.2917881906032562, 0.036222342401742935, -0.22877775132656097, 0.01791306585073471, -0.7478541731834412, -0.3653474450111389, 0.07595693320035934, 1.019116997718811, 0.006587116047739983, 0.05470435321331024, 0.479886531829834, -0.32185137271881104, -0.3423510789871216, 0.17613407969474792, 0.7938942909240723, 0.5944507122039795, -0.07634370028972626, 0.13182668387889862, 0.34411388635635376, -0.7146701812744141, -0.1789429485797882, -0.17217719554901123, -0.3964385688304901, 0.24439851939678192, 0.15884345769882202, 0.3598220646381378, 0.22914689779281616, -0.5073404312133789, 0.1187949925661087, 0.021183021366596222, -0.13146516680717468, -0.287609726190567, 0.2486528754234314, 0.13759133219718933, 0.3394811749458313, 0.31592193245887756, 0.26949837803840637, 0.006677165627479553, -0.2986171543598175, 0.21170763671398163, 0.35506123304367065, -0.23459748923778534, 0.021390151232481003, 0.5768120288848877, 0.05914485454559326, -0.5579453110694885, -0.04851335659623146, -0.004649295937269926, -0.4989122152328491, 0.4051967263221741, 0.7209199070930481, 0.7674660086631775, -0.5965269207954407, 0.0288168266415596, 0.5291765928268433, 0.6763095855712891, -0.2658558189868927, 0.09904202073812485, 0.22293810546398163, -0.7174507975578308, -0.48674529790878296, -0.4807595908641815, -0.6083729267120361, 0.13868644833564758, -0.44911742210388184, 0.21866600215435028, -0.3829428553581238, -0.3098835051059723, -0.43196412920951843, -0.07013498991727829, -0.4275991916656494, 0.3830808699131012, 0.036915820091962814, 0.9801386594772339, -0.4165250062942505, 0.5605508685112, 0.6243810653686523, -0.0755201056599617, -0.47574251890182495, 0.6262035965919495, -0.042427342385053635, -0.5458760857582092, 0.24384132027626038, -0.011815035715699196, -0.3677813708782196, 0.27316728234291077, -0.6640849113464355, -1.1405320167541504, 0.8928362131118774, 0.294668972492218, -0.6038309931755066, 0.26112455129623413, 0.12678313255310059, 0.43657171726226807, -0.3848707377910614, 0.09854035079479218, 0.43340250849723816, 0.8166623711585999, -0.0006183668738231063, -0.665155827999115, -0.2216469645500183, 0.11236109584569931, -0.20088663697242737, -0.0171895083039999, -0.906472384929657, 0.5045937299728394, -0.2637341022491455, -0.38707154989242554, -0.2941601872444153, 0.7625498175621033, 0.500856339931488, 0.4920683205127716, 0.7206713557243347, 0.6078181266784668, 0.9815099239349365, 0.04725728929042816, 0.757579505443573, -0.6992186903953552, 0.15976473689079285, 1.6072839498519897, -0.2580457925796509, 0.6500229835510254, 0.6346673965454102, 0.31272387504577637, 0.4842263460159302, 0.28718024492263794, 0.026377975940704346, 0.2858181595802307, 0.015353585593402386, -0.25273528695106506, -0.23840437829494476, -0.3769279420375824, -0.2099566012620926, 0.431397944688797, 0.6489322185516357, -0.37275877594947815, -0.18030059337615967, 0.05855585262179375, 0.09208963811397552, 0.33315905928611755, -0.46446844935417175, 0.7338060736656189, 0.09427175670862198, -0.7778404951095581, 0.5948308706283569, 0.04021229222416878, 0.4633442163467407, -0.4928235113620758, -0.22516389191150665, -0.2602316439151764, 0.4092298150062561, -0.2901362478733063, -0.6352929472923279, 0.366070955991745, 0.04261532425880432, -0.5383455753326416, -0.14777402579784393, 1.295230507850647, -0.7464510798454285, -0.42023274302482605, 0.220742329955101, 0.5635451674461365, -0.02846989780664444, -0.23156461119651794, -0.6552735567092896, 0.15306389331817627, 0.12347625941038132, -0.38414859771728516, 0.34512248635292053, 0.4874360263347626, -0.0012871234212070704, 0.8400288820266724, 0.6795552372932434, 0.2764292359352112, -0.14055167138576508, 0.06534069776535034, 0.9047726392745972, -0.48585209250450134, -0.3453715741634369, -0.5760760307312012, 0.35499152541160583, -0.15835526585578918, -0.031371600925922394, 1.1115705966949463, 0.6212601661682129, 0.8404693007469177, -0.05974774807691574, 0.6778223514556885, 0.08094079792499542, 1.1399976015090942, -0.2794862985610962, 0.8347166776657104, -0.49843353033065796, 0.3094046413898468, -0.13334597647190094, -1.0343616008758545, -0.2652553617954254, 0.2875649333000183, -0.168002188205719, -0.08062296360731125, 0.7190703749656677, 1.2723726034164429, -0.03238331899046898, -0.2641402781009674, 0.25531917810440063, 0.6132868528366089, 0.014358618296682835, 0.07858746498823166, 0.6230183839797974, -0.30422672629356384, 0.7719135284423828, -0.1947639435529709, -0.2521038353443146, -0.3164592683315277, -0.8657289743423462, -0.9321385622024536, -0.2152337282896042, -0.3753935694694519, -0.6730846166610718, 0.23332670331001282, 0.5748773217201233, 0.2505526840686798, -0.6451030969619751, 0.20043638348579407, 0.31609129905700684, 0.3338209390640259, -0.21308301389217377, -0.2970716059207916, 0.23574227094650269, -0.4700544476509094, -0.7209927439689636, 0.5278249979019165, 0.29147130250930786, 0.01413674931973219, -0.3853151202201843, 0.10511389374732971, -0.3003997206687927, 0.6899240612983704, 0.4668850600719452, 0.09736032783985138, -0.465730220079422, -0.356795072555542, -0.08872948586940765, -0.3012761175632477, 0.2021370679140091, 0.7244343161582947, -0.8963945508003235, 0.3917000889778137, 0.4290561079978943, 0.510231077671051, 0.2600216865539551, 0.5361901521682739, 0.3160119950771332, -0.7892494797706604, 0.1015043705701828, 0.29895496368408203, 0.10448365658521652, 0.4379589259624481, -0.8240637183189392, 0.48976656794548035, 0.3917287290096283, -0.7843151092529297, -0.9351221323013306, 0.17351898550987244, -0.931698203086853, -0.08055966347455978, 1.4137846231460571, 0.20743048191070557, -0.3781302273273468, -0.3557010889053345, -0.5081048011779785, 0.22035738825798035, -0.22801853716373444, 1.2020841836929321, 0.5559265613555908, 0.3250601887702942, -0.12640759348869324, -0.5943265557289124, 0.6833453178405762, 0.491654634475708, -0.7320391535758972, 0.27751240134239197, 0.4473474323749542, 0.2880011796951294, 0.40095266699790955, 0.5668348073959351, -0.13988946378231049, 0.24126775562763214, -0.15670105814933777, 0.12449134886264801, -0.10328274965286255, -0.6222657561302185, 0.015433116815984249, 0.021077960729599, -0.005671250633895397, 0.1265721172094345 ]
http://arxiv.org/abs/2406.11486v1
http://arxiv.org/pdf/2406.11486v1
Analysing zero-shot temporal relation extraction on clinical notes using temporal consistency
2024-06-17T12:53:21
2024-06-17T12:53:21
Vasiliki Kougia, Anastasiia Sedova, Andreas Stephan, Klim Zaporojets, Benjamin Roth
cs.CL
cs.CL, cs.LG
This paper presents the first study for temporal relation extraction in a zero-shot setting focusing on biomedical text. We employ two types of prompts and five LLMs (GPT-3.5, Mixtral, Llama 2, Gemma, and PMC-LLaMA) to obtain responses about the temporal relations between two events. Our experiments demonstrate that LLMs struggle in the zero-shot setting performing worse than fine-tuned specialized models in terms of F1 score, showing that this is a challenging task for LLMs. We further contribute a novel comprehensive temporal analysis by calculating consistency scores for each LLM. Our findings reveal that LLMs face challenges in providing responses consistent to the temporal properties of uniqueness and transitivity. Moreover, we study the relation between the temporal consistency of an LLM and its accuracy and whether the latter can be improved by solving temporal inconsistencies. Our analysis shows that even when temporal consistency is achieved, the predictions can remain inaccurate.
[ 0.30555570125579834, -1.0359715223312378, 1.3408092260360718, 0.5003386735916138, -0.4200734794139862, -0.002885705791413784, 0.11020011454820633, -0.8284430503845215, 0.36508071422576904, 0.16066700220108032, -0.7158547043800354, -0.5465667247772217, -0.7093682885169983, 0.3090467154979706, -0.17982091009616852, 1.1004301309585571, -0.18134382367134094, 0.12225743383169174, -0.1537899523973465, -0.5131884217262268, -0.5178556442260742, -0.47287365794181824, -0.4946051836013794, -0.5871620774269104, 0.9077789187431335, 0.1321483850479126, 0.3602563142776489, 0.9348823428153992, 0.8123925924301147, 0.10937720537185669, -0.26661598682403564, -0.17589324712753296, -0.1567436009645462, 0.35756179690361023, -0.15093748271465302, -0.2281590700149536, -0.8745346069335938, 0.03817605599761009, 0.5885787010192871, 0.8974422812461853, -0.039412688463926315, 0.2218480408191681, -0.27579545974731445, 0.16736683249473572, -0.4426800608634949, 0.26004695892333984, -0.6033627986907959, 0.3664058744907379, -0.3368566334247589, -0.8360484838485718, -0.38410863280296326, -0.15731346607208252, 0.029975643381476402, -0.6605162620544434, 0.41792234778404236, -0.32850876450538635, 1.225616216659546, 0.12286718189716339, -0.4966973662376404, -0.16527122259140015, -0.8132191300392151, 0.5687118172645569, -0.6899815201759338, -0.012196634896099567, 0.08763817697763443, 0.19071634113788605, -0.1335522085428238, -0.6093965768814087, -0.5290540456771851, -0.34884122014045715, -0.16023485362529755, 0.36084386706352234, 0.17368242144584656, -0.07179237902164459, 0.36667752265930176, 0.1803954541683197, -0.6076843738555908, 0.12624815106391907, -0.09995261579751968, -0.09702659398317337, 0.2528855800628662, 0.7528389096260071, 0.2416500747203827, -0.13483332097530365, -0.3572784662246704, 0.507260799407959, -0.6869405508041382, -0.1001112163066864, -0.13448908925056458, 0.13612233102321625, -0.17106769979000092, 0.7057940363883972, 0.03428277373313904, 0.5272645950317383, 0.18858781456947327, -0.47179847955703735, 0.008938298560678959, -0.4406086206436157, -0.22013647854328156, 0.07152257114648819, 1.0568554401397705, 0.41076695919036865, 0.3118651807308197, -0.38249459862709045, 0.3649633824825287, 0.13896554708480835, 0.03892684355378151, -0.7321690320968628, 0.21813979744911194, 0.4551239311695099, -0.4057202935218811, -0.4577281177043915, -0.25238990783691406, -0.5253893733024597, -0.05515572801232338, -0.25224071741104126, 0.381938099861145, -0.5475861430168152, 0.18108654022216797, 0.029462989419698715, -0.10450324416160583, 0.2889699637889862, 0.627422571182251, -0.7854270339012146, 0.07211435586214066, 0.6263230443000793, 0.9769195914268494, -0.1449154168367386, -0.13711482286453247, -0.5644612312316895, 0.5466945767402649, -0.33501380681991577, 0.9537537097930908, -0.3153921961784363, -0.6730856895446777, -0.21136222779750824, 0.24434424936771393, -0.1684240698814392, -0.38485652208328247, 0.46610644459724426, -0.12113139033317566, 0.25590577721595764, -0.12247680872678757, -0.6588917374610901, 0.42094913125038147, 0.2826097011566162, -0.3476371467113495, 0.7372311353683472, 0.08397337049245834, -0.4951447546482086, 0.4782882630825043, -0.22669506072998047, -0.42451655864715576, 0.05419449135661125, -0.61388099193573, -0.469006210565567, -0.020761970430612564, 0.1032027155160904, 0.4589347541332245, 0.10916628688573837, 0.4141905903816223, -0.5626378059387207, -0.31266409158706665, 0.4215538203716278, -0.21213871240615845, 0.7326321601867676, -0.013966127298772335, -0.11557755619287491, -0.22321364283561707, -0.766660213470459, -0.08017725497484207, 0.31324997544288635, -0.12446889281272888, 0.01646689511835575, -0.10056937485933304, -0.2380463182926178, 0.2823649048805237, 0.4103865325450897, -1.0758358240127563, 0.4812086224555969, -0.051570065319538116, 0.28014490008354187, 0.7159590721130371, 0.6449393033981323, 0.18712787330150604, -0.5460917353630066, 0.3847634792327881, 0.3870990574359894, 0.18977071344852448, -0.5533758997917175, -0.34416964650154114, -0.3365561068058014, -0.020772479474544525, 0.10116317123174667, 0.5977033376693726, -0.24092353880405426, 0.1001058891415596, -0.43340685963630676, -0.357166588306427, -0.40339723229408264, -0.1676766574382782, 0.5040697455406189, 1.0232356786727905, 0.47333773970603943, -0.3131466507911682, -0.414216011762619, -0.5734501481056213, -0.24192990362644196, -0.4168560802936554, -0.13106216490268707, 0.3728712499141693, 0.37179702520370483, -0.07170691341161728, 0.8950559496879578, -0.6137112379074097, -0.3856160044670105, 0.19413550198078156, 0.3599664270877838, 0.3979969322681427, 0.3284780979156494, 0.6488161683082581, -0.01885041780769825, -0.47773808240890503, 0.011041095480322838, -1.2360504865646362, -0.3132130205631256, -0.36736753582954407, 0.20445023477077484, 0.24555745720863342, 0.4509771466255188, -0.5614856481552124, 0.5509309768676758, 0.09320266544818878, -0.3452247083187103, 0.6265096068382263, -0.10640739649534225, 0.210549458861351, -0.7152668833732605, 0.30556145310401917, 0.0051324074156582355, -0.3709741532802582, -0.6109593510627747, -0.41970235109329224, 0.011707293801009655, 0.07363569736480713, -0.49008989334106445, 1.0072273015975952, -0.26696112751960754, 0.2287147343158722, 0.022704632952809334, 0.2919274866580963, 0.09631425887346268, 0.4433472156524658, 0.21279507875442505, 0.3162755072116852, 0.08112800121307373, -0.31497451663017273, -0.12116371840238571, 0.45434704422950745, 0.32533666491508484, 0.7767243385314941, -0.9375945925712585, 0.28719139099121094, -0.27857375144958496, 0.08420102298259735, -0.8511949777603149, -0.06443731486797333, 0.3839612305164337, -0.6755337119102478, 0.5845118761062622, -0.2736855745315552, -0.4331851601600647, 0.10781651735305786, -0.26111334562301636, 0.24867144227027893, 0.4330500066280365, 0.06533506512641907, 0.15050478279590607, -0.006743420381098986, -0.46509990096092224, -0.6198362112045288, -0.6467745304107666, 0.009580628015100956, 0.07838407903909683, -0.33311930298805237, 0.6055271029472351, -0.2098766565322876, -0.25748273730278015, 0.13314911723136902, -0.49681565165519714, -0.11753861606121063, -0.15967734158039093, 0.3911633789539337, 0.48147425055503845, -0.28040674328804016, -0.060145340859889984, 0.03094032034277916, -0.14974427223205566, -0.014431574381887913, 0.306177020072937, 0.03858444467186928, 0.300220787525177, -0.3340725004673004, -0.7112222909927368, 0.3992844820022583, 0.5079420208930969, 0.4360277056694031, 0.6599072217941284, 0.4277924597263336, -0.43503808975219727, 0.4180448651313782, -0.47784990072250366, 0.005361374467611313, -0.3112803101539612, -0.12463383376598358, -0.3067518174648285, -0.7612427473068237, 0.7020242810249329, 0.30681002140045166, 0.09235828369855881, 0.5352860689163208, 0.5677186250686646, -0.5977975130081177, 0.6953023672103882, 0.623824417591095, 0.05292120575904846, 0.5222753286361694, 0.09257473051548004, -0.22614741325378418, -0.8337495923042297, -0.531856119632721, -0.40787988901138306, -0.011575764045119286, -0.3168156147003174, 0.0759943276643753, 0.5421344637870789, 0.24048297107219696, -0.2350117415189743, 0.08552226424217224, -0.2981884181499481, 0.19710023701190948, -0.15985967218875885, 0.32739636301994324, 0.4657513499259949, -0.2223610281944275, -0.2506035268306732, -0.30746227502822876, -0.4439249336719513, -0.5579797029495239, 1.0601086616516113, 0.2851511240005493, 0.3433336317539215, 0.10182688385248184, 0.5860098600387573, 0.049245916306972504, 0.49865108728408813, -0.6211753487586975, 0.46745800971984863, -0.019747549667954445, -0.6027312874794006, -0.18179839849472046, -0.2979937493801117, -1.0959981679916382, -0.08280502259731293, -0.14628154039382935, -0.9914640188217163, -0.017710644751787186, -0.15595252811908722, -0.6273146867752075, -0.0635153204202652, -0.18999646604061127, 0.7268944382667542, -0.2094404101371765, -0.6014807820320129, 0.46033185720443726, -1.0897010564804077, 0.16470980644226074, 0.10725758969783783, -0.14016449451446533, -0.6576865315437317, -0.1893301010131836, 0.6015787720680237, -0.4191879332065582, 0.7997852563858032, -0.024809544906020164, 0.10424970835447311, 0.043080538511276245, 0.2945735454559326, 0.03466898202896118, 0.3307221829891205, 0.11874590069055557, 0.3623899519443512, 0.6543486714363098, -0.6237056851387024, -0.7343226671218872, 0.515564501285553, -0.68022221326828, -0.29182109236717224, -0.8553189635276794, -0.6354556679725647, -0.20322470366954803, 0.20404687523841858, 0.271075576543808, 0.6015406250953674, -0.3986949622631073, -0.298103004693985, 0.4941471815109253, -0.14263111352920532, 0.7811869382858276, 1.1847106218338013, 0.09826021641492844, -0.34848180413246155, 0.2649118900299072, 0.16306068003177643, 0.14857707917690277, 0.786765456199646, 0.05528643727302551, -0.23917004466056824, -0.5360700488090515, -0.1933765709400177, 0.6506303548812866, -0.4184967279434204, -0.11499875783920288, -0.6917272806167603, -0.3965093493461609, -0.6805586814880371, -0.04902612417936325, -0.09956622868776321, -0.6368221044540405, -0.5750675797462463, -0.05907433480024338, 0.23685142397880554, 0.5988656282424927, -0.09619360417127609, 0.24967060983181, -1.2327872514724731, 0.3382250964641571, -0.20434637367725372, 0.10008949041366577, -0.35883545875549316, -0.5772111415863037, 0.07895755022764206, -0.4261015057563782, -0.48764556646347046, -1.1190327405929565, 0.34029093384742737, 0.15062209963798523, 0.6062226891517639, 0.4593101143836975, -0.35215044021606445, 1.082432508468628, -0.7463902831077576, 0.804401695728302, 0.1427297741174698, -0.661768913269043, 0.7038347721099854, -0.6897963285446167, 0.33010175824165344, 0.44958263635635376, 0.4569717347621918, -0.6619771718978882, -0.44164443016052246, -1.0775221586227417, -0.5645647048950195, 0.48451611399650574, 0.18781979382038116, -0.38919833302497864, -0.3040764033794403, 1.0805864334106445, 0.13020536303520203, 0.12919524312019348, -0.6006531119346619, -0.4317181408405304, 0.2979333996772766, -0.17734909057617188, -0.13979606330394745, -0.5854805111885071, -0.22903601825237274, -0.07079236209392548, 0.0780329704284668, 0.028912363573908806, 0.5118096470832825, 0.6511473059654236, 0.01644142158329487, -0.37003517150878906, 0.38389939069747925, 0.8930115699768066, 0.8366674780845642, -0.6763859391212463, -0.00654405914247036, -0.0013444041833281517, -0.540400505065918, 0.34596768021583557, 0.011350275948643684, -0.1533474326133728, 0.47390154004096985, 1.0453364849090576, 0.3026432991027832, 0.25014257431030273, -0.34795835614204407, 0.5084846615791321, -0.02036982960999012, -0.05926059931516647, -0.4603565037250519, -0.12255819141864777, -0.1621822565793991, 0.04839986190199852, 0.1698201447725296, -0.25743213295936584, -0.16936269402503967, -0.6766988039016724, 0.3937680721282959, 0.3215847313404083, -0.6298043727874756, -0.5617470145225525, 0.9389020800590515, -0.2508566081523895, -0.19114726781845093, 0.4849259853363037, -0.06037811189889908, 0.022289060056209564, 0.7201061844825745, 0.541606605052948, 0.8209717869758606, -0.17421652376651764, 0.15706270933151245, 0.4260934889316559, 0.018466351553797722, 0.1638343632221222, 0.3023270070552826, -0.05973616987466812, -0.5239295959472656, -0.6039283871650696, -0.5482572317123413, -0.7101300954818726, 0.1582382321357727, -0.909578263759613, 0.2066967636346817, -0.5648685693740845, -0.38834047317504883, 0.30781108140945435, 0.30660027265548706, -0.46493101119995117, 0.05608708783984184, -0.2850916087627411, 0.6756179928779602, -0.6562157869338989, 0.9091714024543762, 0.40681973099708557, -0.6755784153938293, -0.6295995116233826, -0.25931623578071594, 0.3144640624523163, -0.7825509309768677, 0.5641652345657349, -0.22390298545360565, 0.17582003772258759, -0.3861604332923889, -0.32391980290412903, -0.25166478753089905, 1.37649667263031, 0.4251030385494232, -0.6790482997894287, -0.2517877519130707, 0.20779867470264435, 0.8948439359664917, -0.12374704331159592, 0.5363858938217163, 0.5207741856575012, 0.14661698043346405, 0.3696998953819275, -0.9940275549888611, 0.06641202419996262, -0.16878460347652435, -0.41887974739074707, 0.20747330784797668, -0.5120553970336914, 0.8106228113174438, -0.35795262455940247, -0.4471242427825928, 0.44736140966415405, 0.3130369782447815, 0.5590689778327942, 0.8839479088783264, -0.22001057863235474, 0.5418356657028198, 0.5760924816131592, -0.18234920501708984, 0.995039165019989, -0.31584012508392334, 0.34509244561195374, 1.3653564453125, -0.6640372276306152, 0.609838604927063, 0.7410029172897339, -0.28195422887802124, 0.4599034786224365, 0.6099454164505005, 0.13569390773773193, 0.3035672605037689, -0.28655946254730225, -0.5074631571769714, 0.0675838440656662, -0.20691543817520142, -0.47204479575157166, 0.045886628329753876, 0.22738967835903168, -0.3470762073993683, -0.35554611682891846, -0.5066576600074768, 0.5372750759124756, -0.27049699425697327, -0.07360747456550598, 0.8876304030418396, 0.3875337243080139, -0.465081125497818, 0.12199175357818604, -0.2006688416004181, 0.02876085601747036, -0.7201205492019653, -0.11986115574836731, -0.494231253862381, 0.15633437037467957, -0.13145744800567627, -0.8241219520568848, 0.4340546429157257, 0.009982088580727577, -0.3466859757900238, -0.1215427964925766, 0.46054115891456604, -0.4444217383861542, -0.3271281123161316, 0.18859966099262238, 0.7341042160987854, 0.15355651080608368, 0.31700706481933594, -0.5342352986335754, -0.007295289076864719, -0.3390580415725708, 0.021186240017414093, 0.4871905446052551, 0.8210494518280029, 0.09283283352851868, 0.3587065041065216, 0.4958678185939789, 0.6082634925842285, -0.10013116896152496, 0.008478640578687191, 0.2970835566520691, -1.0747383832931519, -0.05504285916686058, -1.2387131452560425, 0.26800304651260376, -0.07289768755435944, -0.4789196252822876, 0.6009556651115417, 0.35826554894447327, 0.3225022554397583, 0.07339277118444443, 0.37013399600982666, 0.25271743535995483, 0.6769754886627197, -0.601822018623352, 0.43236440420150757, -0.38348841667175293, 0.30579710006713867, -0.32544848322868347, -0.5061774253845215, -0.6529624462127686, 0.04516499862074852, -0.09965953975915909, -0.2557336986064911, 1.1173125505447388, 0.48518580198287964, 0.24425454437732697, -0.2006024718284607, 0.31006258726119995, 0.22867903113365173, 0.525050699710846, 0.9309849143028259, 0.7684863805770874, -0.44637933373451233, 0.4530540108680725, -0.27418965101242065, -0.08751951158046722, -0.008912060409784317, -1.278924584388733, -0.8011894226074219, -0.1822485774755478, -0.6127839088439941, -0.4376659095287323, 0.32328498363494873, 0.5133334994316101, 0.33156877756118774, -0.6141172647476196, 0.04721975326538086, 0.22789813578128815, -0.012844244949519634, -0.30371707677841187, -0.25409168004989624, 0.39065757393836975, -0.26334792375564575, -0.4404039680957794, 0.2518429160118103, 0.8044673800468445, 0.34741321206092834, 0.16283026337623596, 0.25549978017807007, -0.06884443759918213, 0.012494410388171673, 0.49496161937713623, 0.6413469314575195, -0.4774326682090759, -0.4471927583217621, 0.28827783465385437, -0.41636762022972107, 0.40210917592048645, 1.008346676826477, -0.7315208315849304, 0.37284237146377563, 0.24872758984565735, 0.18960320949554443, 0.7388700246810913, -0.004958304576575756, 0.2810322940349579, -0.8846296072006226, 0.12005528062582016, 0.4087073504924774, 0.3234430253505707, 0.0951559916138649, -0.4324930012226105, 0.734415590763092, 0.7190261483192444, -0.7910512685775757, -0.751190185546875, 0.07952053099870682, -1.6707391738891602, -0.15395662188529968, 1.075273036956787, -0.25477173924446106, -0.2730417847633362, -0.22468046844005585, 0.08718925714492798, 0.4392969012260437, -0.12453784048557281, 0.7917896509170532, 0.6891003847122192, -0.7943021059036255, -0.09104448556900024, -0.6709899306297302, 0.20982250571250916, 0.2617362141609192, -0.5603986978530884, -0.4141802489757538, 0.35023894906044006, 0.6640206575393677, 0.22231541574001312, 1.3299157619476318, -0.6410237550735474, 0.28506922721862793, 0.06878627091646194, -0.34926310181617737, -0.16520801186561584, -0.2776651680469513, -0.5729147791862488, 0.1275806725025177, -0.20135816931724548, -0.21760524809360504 ]
http://arxiv.org/abs/2406.11477v1
http://arxiv.org/pdf/2406.11477v1
Vocabulary Expansion for Low-resource Cross-lingual Transfer
2024-06-17T12:42:34
2024-06-17T12:42:34
Atsuki Yamaguchi, Aline Villavicencio, Nikolaos Aletras
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have shown remarkable capabilities in many languages beyond English. Yet, LLMs require more inference steps when generating non-English text due to their reliance on English-centric tokenizers, vocabulary, and pre-training data, resulting in higher usage costs to non-English speakers. Vocabulary expansion with target language tokens is a widely used cross-lingual vocabulary adaptation approach to remedy this issue. Despite its effectiveness in inference speedup, the majority of previous work has focused on high-resource settings assuming access to a substantial amount of target language data to effectively initialize the embeddings of the new tokens and adapt the LLM to the target language. However, vocabulary expansion for LLMs in low-resource settings (i.e. languages and compute) has yet to be explored. In this paper, we investigate sample-efficient adaptation strategies from different angles, including target vocabulary size and initialization methods, and the amount of target data available for adaptation. Extensive experiments across typologically diverse languages, tasks and models show that simpler heuristic-based embedding initialization is more efficient and robust to changes in target vocabulary size and adaptation data in low-resource settings, outperforming a popular random initialization and a more sophisticated state-of-the-art approach that relies on external data and model.
[ -0.2031073123216629, -0.5517479777336121, 0.18530726432800293, 0.24847272038459778, -0.2926141917705536, 0.3005235195159912, -0.7209799289703369, -0.5221425890922546, 0.1408533751964569, 0.14745348691940308, -0.20727510750293732, -0.2633167803287506, -0.7200279235839844, 0.09404376149177551, -0.05732007697224617, 0.7974808216094971, -0.06621941179037094, 0.017216984182596207, -0.08646363765001297, -0.10486982762813568, -0.5749502778053284, -0.45403358340263367, -0.7394896149635315, -0.10130709409713745, 0.5149396061897278, 0.5848129987716675, 0.5920786261558533, 0.6010767817497253, 0.4128369987010956, 0.2812749147415161, -0.0542326383292675, 0.2937154769897461, -0.7974441647529602, -0.28072312474250793, -0.5379846096038818, -0.5129833221435547, -0.1561393141746521, -0.2724812626838684, 0.7522450685501099, 0.9293402433395386, -0.0076841567642986774, 0.2752641439437866, 0.1942218542098999, 0.33875903487205505, -0.9018514752388, 0.16282950341701508, -0.849924623966217, 0.13811829686164856, -0.24679964780807495, -0.27232420444488525, -0.49792715907096863, 0.216227188706398, 0.3485143184661865, -0.8901126384735107, -0.01606445387005806, 0.3281058371067047, 0.5740520358085632, -0.04713745042681694, -0.14427560567855835, -0.2479180097579956, -0.6032494306564331, 1.1289408206939697, -0.4224245250225067, 0.5916549563407898, 0.2350226640701294, 0.021938741207122803, -0.08059319108724594, -0.5369607210159302, -0.15279529988765717, -0.17849266529083252, 0.0053952597081661224, -0.05438236519694328, -0.27256226539611816, -0.15590369701385498, 0.150278240442276, 0.024483395740389824, -0.11815182864665985, 0.6614247560501099, -0.5403144955635071, -0.2161492109298706, 0.4105195999145508, -0.13807350397109985, 0.21857114136219025, -0.25933054089546204, -0.5398175120353699, -0.22690510749816895, -0.5531483292579651, -0.09794073551893234, 0.18002815544605255, 0.9036503434181213, -0.631872832775116, 0.6099657416343689, 0.006613634526729584, 0.6408692598342896, 0.10609708726406097, -0.14993369579315186, 0.20258399844169617, -0.7412773370742798, -0.03018251247704029, 0.11447973549365997, 0.4983533024787903, 0.21003544330596924, 0.31078141927719116, -0.31253018975257874, -0.07177435606718063, -0.3088759779930115, 0.07358861714601517, -0.7853309512138367, 0.09276145696640015, 0.01698671653866768, -0.4104931950569153, 0.07455930858850479, -0.4608643054962158, -0.7232480049133301, -0.4970107078552246, -0.04588698595762253, 0.44739049673080444, -0.6046522259712219, -0.08341994136571884, 0.009090729057788849, -0.022603288292884827, 0.2953680753707886, 0.3444514274597168, -0.956787645816803, 0.2950834333896637, 0.6232125759124756, 1.104791522026062, -0.6994904279708862, -0.2468690574169159, -0.8464319705963135, 0.12899623811244965, -0.5862863659858704, 0.5931634306907654, -0.4490683078765869, -0.47615566849708557, 0.0782957375049591, 0.11892550438642502, -0.2557606101036072, -0.35222434997558594, 0.2902514636516571, -0.6094917058944702, 0.24740292131900787, -0.33713623881340027, -0.3343179225921631, 0.01434136088937521, 0.1433030068874359, -0.6759887933731079, 0.9555097818374634, 0.30804383754730225, -0.5997002124786377, 0.5211233496665955, -0.8490610718727112, -0.5756016969680786, 0.03353400528430939, 0.024908877909183502, 0.17515039443969727, 0.39743030071258545, 0.2971702516078949, 0.48911452293395996, -0.5746012330055237, -0.31231242418289185, -0.09442006051540375, -0.46812644600868225, 0.10793250054121017, -0.4274630546569824, 0.6641255617141724, 0.20667597651481628, -0.06546824425458908, -0.20148572325706482, -0.36602291464805603, -0.06159066781401634, 0.08972876518964767, -0.5174073576927185, -0.7287042737007141, -0.22439482808113098, 0.055769991129636765, 0.011977897956967354, 0.397011935710907, -0.5154028534889221, 0.14365532994270325, -0.4530194401741028, 0.17161408066749573, 0.7234341502189636, -0.16390849649906158, 0.9881711006164551, -0.40177249908447266, 0.616097629070282, 0.2911331355571747, -0.23042455315589905, -0.08595675975084305, -0.24171316623687744, -0.5601063370704651, -0.46066993474960327, 0.7469033598899841, 0.5904149413108826, -1.046600341796875, 0.01843038573861122, -0.7259938716888428, -0.3730340898036957, -0.5228550434112549, 0.47847694158554077, 0.3490903973579407, 0.3237619400024414, 0.41010257601737976, -0.41591134667396545, -0.3976183235645294, -0.7325044274330139, -0.24081575870513916, -0.10020118951797485, -0.02693866565823555, 0.4694257974624634, 0.2611002027988434, 0.21255560219287872, 0.5608825087547302, -0.2735307216644287, -0.07854921370744705, -0.6052742004394531, -0.1368914544582367, 0.1331632137298584, 0.41797587275505066, 0.6730902194976807, -0.424867182970047, -0.7066414952278137, 0.23422572016716003, -0.33135977387428284, -0.03717156872153282, -0.43778425455093384, -0.43197205662727356, 0.2946869730949402, 0.4692109227180481, -0.30828216671943665, 0.02926686406135559, 0.923645555973053, -0.1786148101091385, 0.13965082168579102, -0.3409401774406433, 0.000010397516234661452, -1.4024474620819092, -0.1826964169740677, -0.0258242879062891, -0.07961572706699371, -0.6825434565544128, -0.02316022664308548, -0.05704883858561516, 0.053326565772295, -0.681864857673645, 1.046721339225769, -0.8761803507804871, -0.3942769467830658, -0.10932134091854095, 0.27580875158309937, -0.15994606912136078, 0.42505955696105957, 0.12243323773145676, 0.8745143413543701, 0.5663238763809204, -0.5125945806503296, -0.0005285739898681641, 0.13594499230384827, -0.20661607384681702, 0.4284665584564209, -0.1757858246564865, -0.02165631204843521, -0.0034320782870054245, 0.0002429834712529555, -0.7975162267684937, 0.12209244072437286, 0.20982618629932404, -0.043720923364162445, 0.336982399225235, -0.31193551421165466, -0.41486606001853943, 0.06643329560756683, -0.12744931876659393, 0.5448780059814453, 0.6131448745727539, -0.871062159538269, 0.7730491757392883, 0.21005991101264954, -0.15236544609069824, -0.6369798183441162, -0.7346446514129639, 0.1813608855009079, -0.24550184607505798, -0.29208987951278687, 0.5426036715507507, 0.16983185708522797, -0.3619365692138672, 0.07816769927740097, 0.11785378307104111, -0.006550872698426247, 0.07373752444982529, -0.17410403490066528, 0.24109528958797455, -0.37063536047935486, 0.29218950867652893, 0.009639455005526543, 0.23575355112552643, -0.20005090534687042, -0.4394311010837555, 0.5908682346343994, 0.10771103203296661, -0.3208630084991455, -0.06693627685308456, 0.2770145833492279, 0.43692073225975037, 0.024677786976099014, 0.8441745638847351, 0.678579568862915, -0.3629132807254791, -0.4716234505176544, -0.3318972885608673, -0.24959048628807068, -0.4532225430011749, 0.7964712977409363, -0.5987504720687866, -0.566027820110321, 0.5118778347969055, -0.133872389793396, 0.26407888531684875, 0.32360726594924927, 0.5896413326263428, 0.1114996150135994, 0.3319234251976013, 0.7778509259223938, -0.1410665512084961, 0.7104784250259399, -0.15012574195861816, 0.0789712443947792, -0.9320752620697021, 0.17098203301429749, -0.2742141783237457, -0.4284055531024933, -0.9461690783500671, -1.2116855382919312, 0.06182553619146347, 0.023679837584495544, 0.1620834320783615, 0.40923765301704407, -0.1146816611289978, 0.2743167579174042, 0.5262974500656128, 0.06290388107299805, 0.2794171869754791, 0.4301811456680298, -0.20928889513015747, -0.16746076941490173, -1.302927017211914, 0.10187801718711853, 1.3388705253601074, 0.27695342898368835, 0.6946389079093933, 0.30872511863708496, 0.6589078903198242, 0.16379162669181824, 0.4965318441390991, -1.0809556245803833, 0.3909934163093567, -0.676766574382782, -0.2535684406757355, -0.48011916875839233, -0.35173657536506653, -1.0672416687011719, 0.3890667259693146, -0.4163109362125397, -0.6188604235649109, 0.4581727087497711, -0.017269009724259377, -0.32059890031814575, 0.529715359210968, -0.8134592175483704, 0.5015711188316345, -0.4316166639328003, -0.6253088712692261, -0.36638331413269043, -0.028835177421569824, 0.15883171558380127, -0.6487196087837219, 0.39182722568511963, -0.0394718237221241, -0.5433692932128906, 0.9260818958282471, -0.16834266483783722, 1.009295105934143, -0.22020381689071655, -0.18471233546733856, 0.30072861909866333, -0.06354869157075882, 0.6327512264251709, -0.22385001182556152, -0.17496979236602783, 0.5121159553527832, -0.06668693572282791, -0.6322340965270996, -0.5531176328659058, 0.5557484030723572, -0.7491009831428528, -0.5581326484680176, -0.2368946224451065, -0.8621966242790222, -0.45866861939430237, -0.04178472235798836, 0.045545708388090134, 0.12890106439590454, -0.12827129662036896, 0.31294798851013184, 0.35762059688568115, -0.47488313913345337, 0.4556640088558197, 0.6220667362213135, -0.014933648519217968, -0.11096485704183578, 0.947788417339325, 0.24901127815246582, 0.5457013249397278, 0.39375564455986023, 0.4305398464202881, -0.2209950089454651, -0.6367204189300537, -0.6429678797721863, 0.29448169469833374, -0.5340636968612671, -0.01125993113964796, -0.35258612036705017, -0.0705578625202179, -0.24184633791446686, -0.3561558723449707, -0.4586472511291504, -0.3532033860683441, -0.426219642162323, 0.18448640406131744, 0.7416428923606873, 0.047507915645837784, -0.2571713328361511, 0.49101394414901733, -0.7601282596588135, 0.09174119681119919, -0.09947917610406876, 0.15594737231731415, -0.03339808061718941, -1.0273635387420654, -0.5928098559379578, -0.09183813631534576, 0.3425096273422241, -0.6205976605415344, 0.3388536274433136, 0.3497019410133362, 0.4928244352340698, 0.183939129114151, -0.04096582531929016, 0.985053539276123, -0.5269774198532104, 0.5432985424995422, 0.3145059049129486, -0.6806924343109131, -0.10327935963869095, -0.11076724529266357, 0.3217434287071228, 0.3639194965362549, 0.4086565673351288, -0.587972104549408, 0.17699044942855835, -0.3567698299884796, -0.7325224280357361, 0.6100540161132812, -0.2765886187553406, 0.5252197980880737, 0.11003375053405762, 0.35279181599617004, 0.12104355543851852, -0.08832337707281113, -0.2858544588088989, 0.12248828262090683, 0.09172390401363373, -0.06211409717798233, -0.35244423151016235, 0.010090116411447525, -0.16868045926094055, -0.12829121947288513, 0.40787237882614136, -0.6599246859550476, 0.2003897726535797, -0.08887598663568497, -0.36587584018707275, 0.0574650876224041, 0.3782324194908142, 0.17494885623455048, 0.28411561250686646, 0.19543761014938354, 0.03210239112377167, 0.7843047380447388, -0.4140837490558624, 0.11514387279748917, 0.15809418261051178, 0.01238427497446537, -0.06131962686777115, 0.5218095183372498, 0.7079453468322754, 0.6453864574432373, -0.7351964712142944, 0.42928341031074524, 0.1605268120765686, -0.11606208235025406, 0.0008110046619549394, -0.05081534758210182, 0.22365443408489227, 0.30754974484443665, 0.2586619257926941, -0.25740084052085876, -0.21987494826316833, -0.6187807321548462, -0.03567685931921005, 0.6446486115455627, -0.12170407176017761, -0.2578439712524414, 0.22657321393489838, 0.1505671888589859, -0.07475631684064865, 0.3716931641101837, -0.1979512870311737, -0.1449836939573288, 0.4035463333129883, 0.7050520777702332, 0.7403427362442017, 0.021616630256175995, 0.09152606129646301, 0.2634311318397522, 0.39302298426628113, -0.015415741130709648, 0.4006005525588989, -0.012731575407087803, -1.0995389223098755, -0.7964444160461426, -0.6629486083984375, -0.40405529737472534, -0.05247699096798897, -0.44182276725769043, 0.2266971468925476, -0.5167351961135864, -0.10879437625408173, -0.28090623021125793, 0.16391406953334808, -0.9427977204322815, -0.11255008727312088, 0.0781952440738678, 1.2258020639419556, -0.9483733177185059, 0.7415977716445923, 0.6249426007270813, 0.04382672533392906, -0.6503551006317139, -0.054955240339040756, -0.24427589774131775, -1.0992848873138428, 0.7872666120529175, -0.4270155429840088, -0.013111980631947517, 0.1133662536740303, -0.008695125579833984, -1.316230297088623, 0.9846720695495605, 0.324820876121521, -0.6682844758033752, -0.18829621374607086, 0.11932062357664108, 0.5444937348365784, -0.5446456670761108, 0.044400282204151154, 0.40739139914512634, 0.4299962520599365, 0.13084304332733154, -0.919137179851532, 0.29729628562927246, 0.19151628017425537, 0.24826084077358246, 0.0032333722338080406, -0.5134025812149048, 0.8778645992279053, -0.3803479075431824, -0.1849696785211563, -0.03386159613728523, 0.8249587416648865, 0.04041371867060661, -0.25655779242515564, 0.8338747024536133, 0.19256871938705444, 0.7475513219833374, 0.10914143174886703, 0.9899848699569702, -0.6403132081031799, -0.14632263779640198, 1.2291450500488281, -0.34534820914268494, 1.0152894258499146, 0.7620874047279358, -0.008203763514757156, 0.5207028985023499, 0.597820520401001, -0.1801140159368515, 0.3952494263648987, 0.3702169954776764, -0.10266969352960587, -0.17705996334552765, -0.5087279677391052, -0.06020166352391243, 0.8075949549674988, 0.5594246983528137, -0.4444045424461365, -0.208176389336586, 0.05028213933110237, -0.04626801237463951, -0.20551186800003052, -0.4435468018054962, 0.7147660851478577, -0.04564015194773674, -0.5176658034324646, 0.660944938659668, 0.2270650714635849, 0.8932065963745117, -0.39503026008605957, 0.22598963975906372, -0.2169436812400818, -0.07194483280181885, -0.0034702850971370935, -0.362729012966156, -0.0003356637607794255, 0.12321531027555466, 0.10685057193040848, -0.1805318295955658, 0.6266793012619019, -0.41336074471473694, -0.6112892031669617, 0.4978474974632263, 1.130528211593628, 0.14839042723178864, 0.5222117900848389, -0.6156851053237915, -0.0446314811706543, -0.22807741165161133, -0.19228723645210266, 0.5898913145065308, 0.3816663324832916, -0.5294376015663147, 0.3612894117832184, 0.9220718741416931, 0.6902250647544861, 0.20310313999652863, 0.036287497729063034, 0.6885499358177185, -0.3447299301624298, -0.43253424763679504, -0.5867862701416016, 0.15836617350578308, -0.05613959580659866, -0.22484000027179718, 0.6802670955657959, 0.4507881999015808, 0.8596216440200806, 0.08287064731121063, 0.8255597352981567, 0.06633944809436798, 0.27767759561538696, -0.6632146835327148, 0.4133094847202301, -0.679865300655365, 0.18211662769317627, -0.08211783319711685, -0.7100300192832947, 0.04555642977356911, 0.25648215413093567, -0.479694664478302, 0.017843885347247124, 0.661578357219696, 0.7105769515037537, -0.25421032309532166, -0.5259833931922913, 0.45883598923683167, 0.2203037142753601, -0.03855450823903084, 0.5388041138648987, 0.49624350666999817, -0.16038371622562408, 0.6184341907501221, -0.3100917637348175, -0.2699148654937744, -0.26032429933547974, -1.0400997400283813, -0.7362027168273926, -0.3020175099372864, -0.21994827687740326, -0.38232287764549255, 0.15236999094486237, 1.1299505233764648, 0.7294148802757263, -0.6746057271957397, -0.3873140513896942, 0.2932111322879791, 0.11044208705425262, -0.3137376010417938, -0.1950778067111969, 0.4367395043373108, -0.4569144546985626, -1.0277268886566162, 0.5153627991676331, 0.016268402338027954, -0.00880245678126812, -0.37567898631095886, -0.053654417395591736, -0.16594530642032623, 0.33558663725852966, 0.652670681476593, 0.4479580521583557, -0.5157428979873657, -0.3450077474117279, 0.20339424908161163, -0.12384338676929474, 0.044728852808475494, 0.7049316167831421, -0.6682409644126892, 0.34375324845314026, 0.47824734449386597, 1.13375985622406, 0.3489706516265869, -0.13412994146347046, 0.7202526926994324, -0.8595666289329529, 0.33942723274230957, -0.13180087506771088, 0.39907121658325195, 0.39211082458496094, -0.3518960773944855, 0.37010180950164795, 0.20117729902267456, 0.15477542579174042, -0.8886318802833557, 0.016521338373422623, -0.6844424605369568, -0.403419554233551, 1.330505132675171, -0.08349041640758514, -0.41287413239479065, 0.06283264607191086, 0.13513916730880737, 0.28100889921188354, -0.3287535607814789, 0.7207477688789368, 0.6373934149742126, -0.12535519897937775, -0.07966514676809311, -0.44582056999206543, 0.4410322904586792, 0.5903491973876953, -0.9075613021850586, 0.07150024175643921, 0.20317389070987701, 0.3677508533000946, 0.277724027633667, 0.5464880466461182, 0.0796985924243927, 0.14118856191635132, 0.06480885297060013, -0.09874407947063446, 0.13016153872013092, -0.08557765185832977, -0.383201539516449, 0.11869408190250397, 0.12379077821969986, -0.3448391258716583 ]
http://arxiv.org/abs/2406.11474v1
http://arxiv.org/pdf/2406.11474v1
How Far Can In-Context Alignment Go? Exploring the State of In-Context Alignment
2024-06-17T12:38:48
2024-06-17T12:38:48
Heyan Huang, Yinghao Li, Huashan Sun, Yu Bai, Yang Gao
cs.CL
cs.CL, cs.AI
Recent studies have demonstrated that In-Context Learning (ICL), through the use of specific demonstrations, can align Large Language Models (LLMs) with human preferences known as In-Context Alignment (ICA), indicating that models can comprehend human instructions without requiring parameter adjustments. However, the exploration of the mechanism and applicability of ICA remains limited. In this paper, we begin by dividing the context text used in ICA into three categories: format, system prompt, and example. Through ablation experiments, we investigate the effectiveness of each part in enabling ICA to function effectively. We then examine how variants in these parts impact the model's alignment performance. Our findings indicate that the example part is crucial for enhancing the model's alignment capabilities, with changes in examples significantly affecting alignment performance. We also conduct a comprehensive evaluation of ICA's zero-shot capabilities in various alignment tasks. The results indicate that compared to parameter fine-tuning methods, ICA demonstrates superior performance in knowledge-based tasks and tool-use tasks. However, it still exhibits certain limitations in areas such as multi-turn dialogues and instruction following.
[ -0.3671787679195404, -0.6637089252471924, 0.7449594140052795, -0.10491346567869186, -0.3931558430194855, -0.015503513626754284, -0.270205557346344, -0.6807281374931335, -0.334044873714447, 0.14473192393779755, -0.40711709856987, -0.31005439162254333, -0.2505984306335449, 0.09753182530403137, -0.5429810881614685, 0.9697494506835938, -0.2865898311138153, 0.020953360944986343, -0.5020657777786255, -0.430838942527771, -0.8906804323196411, -0.48197683691978455, -0.2781798839569092, -0.4137488603591919, 0.33551496267318726, 0.9781421422958374, 0.6143120527267456, 0.9784364700317383, 0.44666653871536255, 0.21519559621810913, -0.1373472958803177, 0.041131071746349335, -0.2724623680114746, 0.05525239557027817, -0.27955034375190735, -0.37288805842399597, -0.22187930345535278, -0.031059004366397858, 0.9157580137252808, 0.7487803101539612, 0.043740205466747284, -0.03944201022386551, 0.2520674467086792, 0.5178889036178589, -0.5401852130889893, -0.3619910180568695, -0.6929101347923279, -0.4057009518146515, -0.2800617516040802, 0.09454261511564255, -0.3044009208679199, -0.13616791367530823, 0.5786997079849243, -0.405626505613327, -0.24494995176792145, 0.058389730751514435, 0.9161812663078308, 0.29668259620666504, -0.698283314704895, -0.5367634892463684, -0.8634801506996155, 0.8675974011421204, -0.9424638748168945, 0.3870513141155243, 0.06802263855934143, 0.21790333092212677, -0.18625028431415558, -0.27554771304130554, -0.7097648978233337, -0.06618721783161163, -0.09367843717336655, -0.24696992337703705, 0.017251314595341682, 0.11594663560390472, 0.4304669499397278, 0.0981738343834877, -0.36532554030418396, 0.5180021524429321, -0.13117237389087677, 0.05638526752591133, 0.263365238904953, 0.14433041214942932, 0.5329104661941528, 0.04734288528561592, -0.5208803415298462, -0.12496323138475418, -0.9730259776115417, 0.3259694278240204, 0.12434656918048859, 0.4097992181777954, -0.1495048701763153, 0.7044216990470886, -0.17847737669944763, 1.0681636333465576, 0.26447388529777527, -0.19590158760547638, -0.21022173762321472, -0.25762587785720825, -0.38465753197669983, 0.3391188979148865, 0.35613182187080383, 0.4122994542121887, -0.2379056215286255, -0.23785097897052765, -0.11861509829759598, -0.04842362925410271, 0.22756916284561157, -0.7650049328804016, 0.38241082429885864, 0.1882966011762619, -0.23262237012386322, 0.16398262977600098, 0.005866373889148235, -0.3996509313583374, -0.3322587311267853, -0.7867016792297363, 0.5549678802490234, -0.6162210702896118, 0.2684229612350464, -0.008767778053879738, 0.1612682342529297, 0.7275432348251343, 0.2946435213088989, -1.0549559593200684, 0.21685519814491272, 0.8427739143371582, 0.7470672726631165, -0.3348085284233093, -0.469252347946167, -0.4044744372367859, 0.23343652486801147, -0.261506050825119, 0.7839226722717285, -0.6505016684532166, 0.051176682114601135, -0.03165166825056076, -0.20081555843353271, -0.09845171123743057, -0.5100528001785278, 0.028360756114125252, -0.4941304326057434, 0.2718614637851715, -0.4485529363155365, -0.9914093017578125, -0.3300415575504303, 0.1233481839299202, -0.28409168124198914, 0.6570953130722046, 0.016649950295686722, -0.4753982424736023, 0.7231334447860718, -0.5955156087875366, -0.4393439292907715, -0.16895821690559387, -0.31820130348205566, -0.24248085916042328, 0.23326577246189117, 0.09284379333257675, 0.41075780987739563, -0.18651559948921204, 0.23268164694309235, -0.2814638912677765, -0.8003811240196228, 0.5580003261566162, -0.3401777744293213, 0.6194701194763184, 0.034129321575164795, -0.583767294883728, 0.11691552400588989, -0.4804217219352722, -0.4061746597290039, -0.2775666415691376, -0.22169001400470734, -0.4310758411884308, 0.012116740457713604, -0.2094709575176239, 0.44702839851379395, 0.24810919165611267, -0.497780442237854, 0.4457290470600128, -0.5289775133132935, 0.39064401388168335, 0.6851391196250916, -0.1700623482465744, 0.893814206123352, -0.273410826921463, 0.4427446722984314, 0.007813594304025173, 0.06693104654550552, -0.28146249055862427, -0.2723022699356079, -0.5768308639526367, -0.15076075494289398, 0.3583930432796478, 0.4196971654891968, -0.34614381194114685, 0.316708505153656, -0.1578029841184616, -0.4216419756412506, -0.39967140555381775, 0.08947537839412689, 0.6214042901992798, 0.9706680178642273, 0.2869507670402527, -0.2599574327468872, -0.3201232850551605, -0.9515913128852844, -0.26342085003852844, -0.087220199406147, 0.0365716926753521, 0.28586193919181824, 0.29828065633773804, 0.03417615592479706, 1.2271491289138794, -0.10225004702806473, -0.09172718226909637, -0.07278982549905777, -0.10553628951311111, 0.012004583142697811, 0.5296515226364136, 0.45670732855796814, -0.5530511736869812, -0.6437047719955444, 0.2583126723766327, -0.6172707080841064, -0.05372028052806854, -0.23014463484287262, -0.17460277676582336, 0.3500290513038635, 0.6720573306083679, -0.26279574632644653, 0.48243147134780884, 0.4936846196651459, -0.3169410526752472, 0.16704946756362915, -0.09999501705169678, 0.08203443884849548, -1.1033228635787964, 0.09923318773508072, 0.041248589754104614, -0.06810570508241653, -0.8452622890472412, 0.05323252081871033, 0.4579358398914337, 0.05690719559788704, -0.6842936873435974, 0.7654798030853271, -0.35617950558662415, -0.21618476510047913, -0.43092426657676697, 0.3153671324253082, -0.1764257401227951, 0.3813212215900421, -0.06125566363334656, 0.9510670900344849, 0.3254009187221527, -0.6700106263160706, -0.27252450585365295, 0.32388636469841003, -0.4882475733757019, 0.7199224829673767, -0.28906387090682983, 0.31809931993484497, -0.07621803134679794, 0.23777088522911072, -1.0283782482147217, -0.35760924220085144, 0.11308801174163818, -0.010789292864501476, 0.5498005151748657, 0.022480826824903488, -0.34571248292922974, 0.3910335600376129, 0.03768879547715187, 0.6823701858520508, 0.4200846254825592, -0.7416455149650574, 0.533414363861084, 0.1324853003025055, 0.15179572999477386, -0.8430633544921875, -0.3589077889919281, 0.10961666703224182, -0.6743237972259521, -0.5029993057250977, 0.7079756855964661, -0.25283387303352356, -0.4044237434864044, -0.3119695782661438, -0.22464518249034882, 0.15468168258666992, 0.29392731189727783, 0.16653035581111908, 0.27748018503189087, -0.1652473658323288, 0.15853601694107056, 0.2507304549217224, 0.23522858321666718, -0.4261682331562042, -0.1194792240858078, 0.429764062166214, -0.16226749122142792, -0.5094594955444336, -0.8759380578994751, 0.2955092489719391, 0.5642537474632263, 0.03528403490781784, 0.6806450486183167, -0.07062448561191559, -0.4049402177333832, 0.04526694491505623, -0.47331443428993225, -0.23984959721565247, -0.41783276200294495, 0.18619194626808167, -0.18264858424663544, -0.908179521560669, 0.4775664806365967, 0.025530127808451653, 0.27246758341789246, 0.09220757335424423, 0.2569378614425659, -0.30059418082237244, 1.214959740638733, 0.741325318813324, -0.21273158490657806, 0.7555643320083618, 0.08636157959699631, 0.2342546135187149, -1.1194453239440918, -0.07121545076370239, -0.6528242826461792, -0.6202019453048706, -0.3886159062385559, 0.09320231527090073, 0.2721712291240692, 0.4559052288532257, -0.3826151490211487, 0.5697534680366516, -0.28850775957107544, 0.6340293288230896, 0.43161243200302124, 0.02132011018693447, 0.1786593794822693, -0.13190840184688568, -0.0971541553735733, 0.0004105477419216186, -0.5517650246620178, -0.7838855385780334, 0.8342229723930359, 0.368492990732193, 0.5180432200431824, 0.15389622747898102, 0.5777599811553955, -0.29729902744293213, 0.6459507942199707, -0.8953222036361694, 0.39006906747817993, -0.1171639934182167, -0.5275030732154846, -0.4666368365287781, 0.1968850940465927, -0.6046299338340759, 0.18634633719921112, -0.07247981429100037, -0.978459358215332, 0.18140023946762085, 0.24622474610805511, -0.47115084528923035, 0.1845385730266571, -0.7271853089332581, 0.8927406668663025, -0.2885879874229431, -0.22662463784217834, 0.09648055583238602, -0.7992233633995056, 0.15194791555404663, -0.039008911699056625, 0.06999040395021439, 0.03715244680643082, -0.0911238044500351, 0.3712581396102905, -0.06471312046051025, 0.9455677270889282, -0.07766104489564896, -0.4079248011112213, -0.011574124917387962, -0.001029922510497272, 0.3894888162612915, -0.20688782632350922, -0.04755207896232605, -0.009076286107301712, -0.02542528696358204, -0.30354511737823486, -0.744084358215332, 0.5982337594032288, -0.5802892446517944, -0.6435734033584595, -0.2159576565027237, -0.7341681122779846, -0.4251759946346283, 0.1311434507369995, 0.18430250883102417, 0.6807712912559509, -0.2083461433649063, 0.42143014073371887, 0.6913376450538635, -0.048089589923620224, 0.5627747774124146, 0.5070288181304932, -0.027478419244289398, -0.03855738416314125, 0.7719073295593262, 0.08124496787786484, 0.4416077435016632, 0.6395371556282043, 0.1487838327884674, -0.38816529512405396, -0.8037080764770508, -0.7615338563919067, 0.27120956778526306, -0.8512781262397766, -0.1787462830543518, -0.3760615885257721, 0.18489299714565277, -0.23549948632717133, -0.6106486320495605, -0.07107803225517273, -0.193095400929451, -0.7095546126365662, 0.06574616581201553, -0.12172526866197586, 0.7836000919342041, 0.398978054523468, 0.47403648495674133, -0.5586229562759399, -0.26471543312072754, 0.27372756600379944, 0.4022269546985626, -0.027425426989793777, -0.663804829120636, -0.36207354068756104, 0.001181091065518558, -0.40118861198425293, -0.8281907439231873, 0.026952389627695084, 0.09363486617803574, 0.3248428702354431, 0.6846022605895996, -0.1881360113620758, 1.0665677785873413, -0.4460950493812561, 0.8755881786346436, -0.08867201954126358, -1.1856343746185303, 0.2583130896091461, -0.2964455783367157, 0.5557404160499573, 0.5836148858070374, 0.1917038857936859, -0.6582250595092773, -0.4339157044887543, -0.2620590925216675, -0.5947108268737793, 0.8581735491752625, -0.1670815795660019, 0.10813181847333908, 0.090888611972332, 0.7951685786247253, 0.18676665425300598, -0.15645000338554382, -0.4073176681995392, -0.0022076673340052366, 0.134689599275589, -0.44849351048469543, -0.1176929622888565, -0.1584666222333908, -0.3048657178878784, -0.16037583351135254, 0.6498634815216064, -0.5006409883499146, -0.026899689808487892, 0.12512150406837463, -0.2841525971889496, -0.15526317059993744, 0.3823913037776947, 1.1489102840423584, 0.9978598356246948, -0.09273313730955124, -0.10678578168153763, 0.3661617338657379, 0.018722888082265854, 0.19183599948883057, -0.048660751432180405, -0.2366364598274231, -0.5695039629936218, 0.2989805340766907, 0.6540339589118958, 0.44587934017181396, -0.7134736776351929, 0.4903608560562134, -0.16951797902584076, -0.03862486779689789, 0.030108192935585976, 0.11595337837934494, -0.01273120567202568, 0.36651742458343506, 0.27533432841300964, -0.11782626807689667, 0.0668666809797287, -0.6061998605728149, 0.09487224370241165, 0.8203051090240479, -0.6544753313064575, -0.3295971751213074, 0.5143506526947021, -0.2053520679473877, -0.3565269410610199, 0.6208226084709167, 0.1257961094379425, -0.3383316099643707, 0.6338741183280945, 0.7857343554496765, 0.6968260407447815, -0.06532913446426392, -0.13632690906524658, 0.04830614849925041, 0.0567815899848938, -0.030431611463427544, -0.012862484902143478, -0.2169000208377838, -0.7721424102783203, -0.5239265561103821, -0.3600171208381653, -0.6380298137664795, -0.06040371581912041, -0.634189248085022, 0.3700112998485565, -0.1580927073955536, 0.2283726930618286, -0.03924502059817314, -0.12808716297149658, -0.6594422459602356, 0.11103978753089905, 0.11777784675359726, 0.9160860776901245, -0.7279706001281738, 0.8378379940986633, 0.8616714477539062, -0.23810380697250366, -0.937787652015686, 0.26595354080200195, 0.14130817353725433, -0.4102463722229004, 0.4315263330936432, 0.43449658155441284, -0.147884801030159, -0.2242993414402008, -0.7656843066215515, -1.0492702722549438, 1.2565721273422241, 0.5389211773872375, -0.4613466262817383, -0.07800914347171783, -0.005636807531118393, 0.5401619076728821, -0.7112258076667786, 0.13594496250152588, 0.6522321701049805, 0.21042783558368683, -0.030022021383047104, -1.0079424381256104, 0.09103678166866302, 0.297361820936203, 0.056642062962055206, 0.13775137066841125, -0.7009263634681702, 0.604200005531311, 0.03902560845017433, -0.3979179263114929, 0.30592915415763855, 0.8313591480255127, 0.17574353516101837, 0.4040471315383911, 0.5419844388961792, 0.4282612204551697, 0.536003589630127, 0.037319641560316086, 1.006986379623413, -0.2680043578147888, -0.04317520558834076, 1.1887768507003784, -0.5574884414672852, 0.8130723237991333, 0.8500804305076599, 0.22999072074890137, 0.7076860070228577, 0.6584839820861816, 0.5949876308441162, 0.32811877131462097, -0.12894763052463531, -0.2603873312473297, -0.07226403057575226, -0.23279361426830292, -0.02526404894888401, 0.7861733436584473, 0.41261622309684753, -0.18447862565517426, 0.0014456192729994655, 0.10194427520036697, -0.026234714314341545, 0.10469239950180054, -0.03737816959619522, 1.0685172080993652, -0.1427089124917984, -1.132918119430542, 0.37708351016044617, -0.1257750391960144, 0.5835156440734863, -0.4221348464488983, -0.2359672337770462, -0.1794266402721405, 0.03335544466972351, -0.1522161364555359, -0.6905550360679626, 0.2541016936302185, -0.19313004612922668, -0.15915578603744507, -0.11036395281553268, 0.4673963785171509, -0.4645148515701294, 0.2040117084980011, 0.08011169731616974, 0.13271886110305786, 0.06887493282556534, 0.16394245624542236, -0.3595738410949707, 0.030093299224972725, 0.02025052346289158, 0.08004370331764221, 0.8082166910171509, 0.22539161145687103, -0.23263591527938843, 0.4517623484134674, 0.269368052482605, -0.311767041683197, -0.12421179562807083, -0.17086930572986603, 0.734929084777832, -0.6108426451683044, -0.0927891954779625, -0.9111154079437256, 0.582076370716095, 0.02599130943417549, -0.4296257495880127, 0.719871997833252, 0.4380485713481903, 1.2117626667022705, 0.3062457740306854, 0.5458300709724426, 0.04564391449093819, 0.2625764012336731, -0.6390973329544067, 0.32598549127578735, -0.7430565357208252, 0.24404478073120117, -0.28550446033477783, -0.8427513241767883, -0.4737333059310913, 0.30880260467529297, -0.21747314929962158, -0.17782825231552124, 0.6517344117164612, 0.7770508527755737, -0.17507104575634003, 0.09041734784841537, 0.3897716701030731, -0.18278443813323975, 0.5505696535110474, 0.20658035576343536, 0.8717899918556213, -0.23735442757606506, 0.3431167006492615, -0.49784043431282043, -0.3357730507850647, -0.27273067831993103, -1.1723263263702393, -0.7129977941513062, -0.8183929920196533, -0.1337859183549881, -0.13332971930503845, -0.237117737531662, 1.1798686981201172, 0.7522687315940857, -0.6751477718353271, -0.4618069529533386, 0.05843762680888176, 0.15153753757476807, -0.45690467953681946, -0.16398504376411438, 0.340617299079895, -0.4616148769855499, -0.9323453307151794, 0.738963782787323, 0.3993757367134094, 0.18000821769237518, -0.11578397452831268, 0.09902042895555496, -0.23353630304336548, 0.07228700071573257, 0.5046066641807556, 0.527630627155304, -0.8988183736801147, -0.6465840935707092, 0.1895219087600708, -0.06539800018072128, 0.12712277472019196, 0.9303380846977234, -0.47209829092025757, 0.6304091215133667, 0.3407466411590576, 0.8082860112190247, 0.08433225005865097, 0.3570675253868103, 0.7786217331886292, -0.6793445944786072, -0.18800926208496094, 0.02123996615409851, 0.38276877999305725, 0.40159711241722107, -0.503960371017456, 0.09576543420553207, -0.4701720178127289, -0.9432932138442993, -0.7841634750366211, 0.2941678762435913, -0.845861554145813, -0.3159199357032776, 1.112816333770752, 0.1846485435962677, -0.25311556458473206, -0.15113277733325958, -0.347645103931427, 0.4521678686141968, -0.42497262358665466, 0.9136707782745361, 0.832750678062439, -0.5799828171730042, 0.12521101534366608, -0.29194778203964233, 0.5903105735778809, 0.6400916576385498, -0.6375843286514282, 0.0735485851764679, 0.5735730528831482, 0.33072301745414734, 0.03888550400733948, 0.42496493458747864, -0.09341580420732498, 0.25797346234321594, -0.7248109579086304, -0.11962559074163437, 0.2748040556907654, -0.4286540150642395, -1.0877127647399902, -0.037943411618471146, 0.3137533366680145, 0.014116059057414532 ]
http://arxiv.org/abs/2406.11473v1
http://arxiv.org/pdf/2406.11473v1
Promises, Outlooks and Challenges of Diffusion Language Modeling
2024-06-17T12:38:38
2024-06-17T12:38:38
Justin Deschenaux, Caglar Gulcehre
cs.CL
cs.CL, cs.AI
The modern autoregressive Large Language Models (LLMs) have achieved outstanding performance on NLP benchmarks, and they are deployed in the real world. However, they still suffer from limitations of the autoregressive training paradigm. For example, autoregressive token generation is notably slow and can be prone to \textit{exposure bias}. The diffusion-based language models were proposed as an alternative to autoregressive generation to address some of these limitations. We evaluate the recently proposed Score Entropy Discrete Diffusion (SEDD) approach and show it is a promising alternative to autoregressive generation but it has some short-comings too. We empirically demonstrate the advantages and challenges of SEDD, and observe that SEDD generally matches autoregressive models in perplexity and on benchmarks such as HellaSwag, Arc or WinoGrande. Additionally, we show that in terms of inference latency, SEDD can be up to 4.5$\times$ more efficient than GPT-2. While SEDD allows conditioning on tokens at abitrary positions, SEDD appears slightly weaker than GPT-2 for conditional generation given short prompts. Finally, we reproduced the main results from the original SEDD paper.
[ -0.22557562589645386, -0.892448902130127, 0.7269488573074341, 0.37401989102363586, -0.06386088579893112, -0.10647191852331161, -0.09089584648609161, -0.21959812939167023, -0.09697293490171432, 0.2671680748462677, -0.4512805938720703, -0.3554140627384186, -0.8633602857589722, -0.08210456371307373, -0.6373189687728882, 0.7376909852027893, -0.10225493460893631, -0.1283571571111679, -0.2043953686952591, 0.16280397772789001, 0.008803230710327625, -0.5518337488174438, -1.0412651300430298, -0.3745841681957245, 0.3690611720085144, -0.07438037544488907, 0.6573131084442139, 0.5243019461631775, 0.3394860327243805, 0.26968488097190857, -0.24060003459453583, -0.3206952214241028, -0.2099037915468216, 0.5032851099967957, 0.03872137889266014, -0.09317493438720703, -0.3543955087661743, 0.1968468874692917, 0.6585630774497986, 0.7712497711181641, -0.62330162525177, -0.15436026453971863, -0.01794550195336342, 0.6465431451797485, -0.4932301342487335, -0.13410858809947968, -0.5252776741981506, 0.1366550326347351, -0.3479935824871063, 0.2666718363761902, -0.3168182373046875, -0.24016538262367249, 0.22695070505142212, -0.016792388632893562, 0.14155139029026031, -0.11823554337024689, 0.4528360962867737, 0.5006404519081116, -0.554425835609436, -0.342142790555954, -0.7649417519569397, 0.6029533743858337, -1.0587111711502075, 0.32905328273773193, 0.25320717692375183, 0.15527692437171936, -0.03229253739118576, -0.6224939227104187, -0.4063703715801239, -0.09824313223361969, 0.29491955041885376, 0.07694817334413528, -0.118137426674366, 0.007720934227108955, 0.1577983796596527, 0.416288286447525, -0.7478838562965393, 0.44890448451042175, 0.0038422290235757828, 0.0280484426766634, 0.6817669868469238, 0.42119425535202026, -0.08087481558322906, 0.03720282018184662, -0.4232301414012909, 0.06533914804458618, -0.658469021320343, -0.24391253292560577, 0.5406328439712524, 0.006727150175720453, -0.16881580650806427, 0.4196952283382416, -0.215424045920372, 0.5891086459159851, -0.04621792957186699, 0.10535448044538498, 0.29839131236076355, 0.02877878025174141, -0.2494359165430069, -0.3728982210159302, 0.8462784886360168, -0.008374108001589775, -0.10137832909822464, -0.23039314150810242, -0.3290655314922333, 0.025086328387260437, -0.19476903975009918, -0.7126133441925049, -0.2862742841243744, 0.3029651939868927, -0.5137325525283813, -0.2505715787410736, -0.4084703326225281, -0.8324515223503113, -0.44539567828178406, 0.06303463131189346, 0.20074374973773956, -0.4463821351528168, -0.6229429244995117, 0.2528758645057678, -0.22730664908885956, 0.32031771540641785, 0.5935864448547363, -0.8662300705909729, 0.34048283100128174, 0.6128963828086853, 1.0311859846115112, -0.7421411871910095, -0.17722249031066895, -0.21598820388317108, -0.025485513731837273, -0.22100676596164703, 0.8536373376846313, -0.6204432845115662, -0.5308988094329834, -0.20792463421821594, -0.43194398283958435, -0.20509915053844452, -0.5105834603309631, 0.2557305097579956, -0.3992985785007477, 0.1575816422700882, -0.07823514938354492, -0.6163025498390198, 0.18444284796714783, 0.031557340174913406, -0.4751131236553192, 0.9819095134735107, 0.24920333921909332, -0.680538535118103, 0.2579151690006256, -0.5351206064224243, -0.5351868271827698, -0.009746047668159008, 0.0434119813144207, -0.2247982621192932, 0.15612900257110596, -0.1821635514497757, 0.39353838562965393, -0.3449462950229645, 0.4373306632041931, -0.5313390493392944, 0.10998924821615219, 0.0330488383769989, -0.971537709236145, 0.9254496097564697, 0.6026678085327148, -0.39649295806884766, -0.3176433742046356, -0.8029571175575256, -0.09269894659519196, 0.14355580508708954, -0.45755982398986816, -0.27208617329597473, 0.16937986016273499, -0.12209667265415192, 0.30563536286354065, 0.17421646416187286, -0.2861809730529785, 0.09055038541555405, -0.4044519364833832, 0.38787561655044556, 1.1340444087982178, 0.018992628902196884, 0.6728896498680115, -0.01428525522351265, 0.8748302459716797, 0.2445528358221054, 0.12313250452280045, -0.12824870645999908, -0.6071817278862, -0.622730553150177, -0.2307356894016266, 0.5468989610671997, 0.5196904540061951, -0.49383002519607544, 0.34818142652511597, 0.1740637868642807, -0.44996753334999084, -0.4679422080516815, 0.004635024815797806, 0.15210385620594025, 0.48087629675865173, 0.1289534717798233, -0.41882067918777466, -0.3017250597476959, -0.6159793734550476, -0.0017023764085024595, -0.3077618479728699, 0.21158133447170258, 0.2296118289232254, 0.37983545660972595, -0.28123539686203003, 0.81742262840271, -0.41852378845214844, 0.2439146488904953, -0.004019900690764189, 0.27195990085601807, 0.13376924395561218, 0.5245662331581116, 0.25928038358688354, -0.590927004814148, -0.7042760848999023, -0.2173817902803421, -0.4530617892742157, -0.42102375626564026, 0.06177401915192604, 0.22784215211868286, 0.642988920211792, 0.5484060049057007, -0.6636024117469788, 0.4545348584651947, 0.7865849137306213, -0.3524288237094879, 0.635697603225708, -0.16868889331817627, -0.13045336306095123, -0.8059481978416443, -0.1370857059955597, 0.07706106454133987, -0.2824123501777649, -0.6399760842323303, -0.11273019760847092, -0.2583683729171753, -0.1163637712597847, -0.5475994348526001, 0.8622653484344482, -0.3467686176300049, -0.17388916015625, -0.17857007682323456, -0.0019282696302980185, -0.25713375210762024, 0.0697823092341423, 0.3532927930355072, 0.8042627573013306, 0.8083076477050781, -0.888715386390686, 0.22288362681865692, -0.11336959153413773, -0.3870871961116791, 0.4386971890926361, -0.6697871685028076, 0.07642003893852234, -0.1235889345407486, 0.269641637802124, -0.9299749732017517, 0.24762091040611267, 0.06459887325763702, -0.29044291377067566, 0.31284216046333313, 0.07662948966026306, -0.4899003803730011, -0.3054632544517517, -0.07898982614278793, 0.3449200987815857, 0.8275262117385864, -0.46106547117233276, 0.33569663763046265, 0.36702749133110046, -0.2418125420808792, -0.453453928232193, -0.5493276715278625, 0.1872337907552719, -0.5878924131393433, -0.6061230897903442, 0.3302173912525177, -0.44793522357940674, -0.45584139227867126, -0.07886775583028793, 0.06086702272295952, 0.30524691939353943, 0.38120386004447937, 0.023263677954673767, -0.18140050768852234, -0.21099509298801422, 0.041512224823236465, 0.044142838567495346, -0.2686076760292053, 0.046569544821977615, -0.29248493909835815, 0.663892924785614, 0.012611489742994308, -0.4792798161506653, -0.03438442572951317, 0.4663589596748352, 0.24791409075260162, 0.15020103752613068, 0.7510762810707092, 0.6304029226303101, -0.17748811841011047, -0.36654025316238403, -0.6013533473014832, 0.059645313769578934, -0.4888649582862854, 0.19414405524730682, -0.37632647156715393, -0.8796603083610535, 0.5823352336883545, -0.30380359292030334, -0.04081366956233978, 0.5318576097488403, 0.8032575845718384, -0.05769253149628639, 1.1433589458465576, 0.49363943934440613, 0.06272286921739578, 0.424608439207077, -0.10104377567768097, 0.19173622131347656, -0.9399983882904053, -0.0005681266775354743, -0.5411755442619324, -0.017590103670954704, -0.32347846031188965, -0.42617374658584595, 0.163327157497406, 0.10891630500555038, -0.23759670555591583, 0.10383342206478119, -0.18287166953086853, 0.2565634250640869, 0.5444657802581787, -0.4010688066482544, 0.1234666183590889, -0.19949810206890106, -0.25162407755851746, -0.04568088799715042, -0.8569688200950623, -0.3763112425804138, 0.8299428224563599, 0.5125565528869629, 1.0092017650604248, 0.2580101490020752, 0.9726825952529907, 0.4743075966835022, 0.07028733193874359, -0.35331618785858154, 0.5783361196517944, -0.16339097917079926, -0.40191450715065, -0.40624359250068665, -0.5016487240791321, -0.8189622163772583, 0.26324236392974854, 0.21339839696884155, -0.6783555746078491, 0.22960001230239868, 0.020409109070897102, -0.23043973743915558, 0.1519772857427597, -0.8143323063850403, 0.6905477046966553, -0.22325678169727325, -0.2661827504634857, 0.01384149119257927, -0.4763588309288025, 0.47697553038597107, -0.1349349319934845, 0.2987615466117859, -0.20621655881404877, -0.04069700837135315, 0.6589101552963257, -0.5709503889083862, 0.837725818157196, -0.35351935029029846, -0.5673954486846924, 0.13725796341896057, 0.07545638084411621, 0.6905233860015869, 0.0976439043879509, -0.47426366806030273, -0.005103863310068846, -0.11355029791593552, -0.1681414395570755, -0.3085658848285675, 0.8598546385765076, -0.5120438933372498, -0.9136154651641846, -0.6480556726455688, -0.28258779644966125, -0.31304967403411865, 0.04581750929355621, 0.3156079947948456, 0.0859978199005127, -0.3034602701663971, -0.18115130066871643, 0.7883254885673523, -0.48674070835113525, 0.7639673352241516, 0.5831255912780762, -0.17434513568878174, -0.23770979046821594, 0.6837766766548157, 0.06950762867927551, 0.5483386516571045, -0.027338072657585144, 0.18666332960128784, -0.4594343602657318, -0.6588670015335083, -0.17736811935901642, 0.24295492470264435, -0.6774973273277283, -0.13701219856739044, -0.8860546350479126, -0.38820263743400574, -0.8133941888809204, -0.14994893968105316, -0.33428484201431274, -0.6657010912895203, -0.5896676778793335, -0.08593426644802094, 0.2171839028596878, 0.7215496897697449, -0.5686068534851074, 0.17252880334854126, -0.3561415672302246, 0.22617623209953308, 0.29961979389190674, 0.41389235854148865, 0.16051575541496277, -0.6401389837265015, -0.17823420464992523, -0.1986072063446045, -0.11308009177446365, -0.7448281645774841, 0.4653271734714508, 0.1719588339328766, 0.6000661253929138, 0.34942901134490967, -0.046394169330596924, 0.686249315738678, -0.8137184381484985, 0.9839104413986206, 0.19354364275932312, -0.8154973983764648, 0.4957776963710785, -0.0745360404253006, 0.29249539971351624, 0.222037672996521, 0.27147895097732544, -0.5598921775817871, -0.6823076605796814, -0.9646437168121338, -0.9092909097671509, 0.45622584223747253, -0.10172607004642487, 0.22870537638664246, -0.47118330001831055, 0.43091800808906555, 0.28477224707603455, 0.1374262273311615, -0.6322291493415833, -0.31486940383911133, 0.05702320858836174, -0.06698485463857651, -0.05025371536612511, -0.37497761845588684, 0.37013593316078186, 0.010875687934458256, 0.8563873767852783, 0.24036814272403717, 0.2872922718524933, 0.0770447701215744, 0.01602281630039215, -0.03422003239393234, 0.20473723113536835, 0.6844381093978882, 0.33366113901138306, -0.06190744414925575, 0.1364821344614029, 0.059016354382038116, -0.2281474769115448, 0.378126323223114, 0.1415625661611557, -0.4203120470046997, 0.10548463463783264, 0.12621670961380005, 0.800102949142456, -0.2736969292163849, -0.466278076171875, 0.4250257909297943, 0.003598918206989765, -0.38052791357040405, -0.4465135633945465, 0.18409337103366852, 0.19074784219264984, 0.48871228098869324, 0.24192586541175842, 0.04345548897981644, 0.25941023230552673, -0.31015342473983765, 0.11009712517261505, 0.8522090315818787, -0.3501706123352051, -0.30142727494239807, 0.9582940936088562, 0.1158851683139801, -0.34865009784698486, 0.5274518728256226, -0.47041523456573486, -0.31471651792526245, 0.5072079300880432, 0.7504366040229797, 0.8863279223442078, -0.5351372361183167, 0.47949251532554626, 0.020085621625185013, 0.1745036542415619, -0.4147556722164154, 0.04202025383710861, -0.12625165283679962, -0.6546230912208557, -0.4022325873374939, -0.8908655643463135, -0.4147352874279022, 0.16860699653625488, -0.4041246473789215, 0.12309060245752335, -0.342658668756485, -0.28209415078163147, -0.2621353268623352, -0.2202625423669815, -0.40763378143310547, 0.09567107260227203, 0.35063332319259644, 0.9784641265869141, -0.9528329372406006, 0.9754557609558105, 0.2601429522037506, -0.12736725807189941, -0.23743124306201935, -0.023849647492170334, 0.013505231589078903, -0.7999392151832581, 0.7039089202880859, -0.2711660861968994, -0.04856761544942856, 0.27134284377098083, -0.33428308367729187, -1.0048530101776123, 0.9906662106513977, 0.2652150094509125, -0.3560416102409363, -0.3376134932041168, -0.2502277195453644, 0.5457609295845032, -0.37859007716178894, 0.07503862679004669, 0.708831250667572, 0.37314510345458984, 0.2187948077917099, -0.6108999252319336, -0.12362904846668243, -0.1136193498969078, 0.2776208221912384, 0.19786585867404938, -0.6711249947547913, 0.9261515140533447, -0.2448238730430603, -0.3685643672943115, 0.07151369750499725, 0.7759402990341187, 0.2312593013048172, 0.22448614239692688, 0.4653765559196472, 0.9717669486999512, 0.6135601997375488, 0.04518575966358185, 0.9979748129844666, -0.05031334608793259, 0.39074456691741943, 1.0402339696884155, -0.775412917137146, 0.7772148847579956, 0.4536817669868469, -0.5559422969818115, 0.5536988377571106, 0.7748908996582031, 0.11432626843452454, 0.7532935738563538, 0.30877968668937683, -0.5053742527961731, -0.0841812714934349, 0.19305726885795593, -0.4682900011539459, -0.03543781489133835, 0.56451016664505, -0.20664115250110626, -0.3011426627635956, 0.11793994903564453, -0.12356262654066086, -0.08706112951040268, -0.006404801271855831, 0.7763423323631287, 0.3517453372478485, -0.5242165923118591, 0.35242709517478943, 0.14822034537792206, 0.8830333352088928, -0.42548277974128723, 0.05182298645377159, -0.41831687092781067, -0.08084743469953537, 0.05892181396484375, -0.6212855577468872, 0.47241467237472534, -0.007587603759020567, 0.03827633708715439, -0.5408459305763245, 0.6223918795585632, -0.49805310368537903, -0.30260714888572693, 0.18225456774234772, 0.5589392781257629, 0.23600032925605774, 0.2132832258939743, -0.9015204310417175, -0.017522329464554787, -0.13475829362869263, -0.4984787106513977, 0.5114952921867371, 0.7365787625312805, 0.2813015878200531, 0.7782831788063049, 0.34024888277053833, 0.4408767819404602, 0.21559444069862366, 0.11702531576156616, 0.4854239821434021, -0.5224251747131348, -0.48059535026550293, -0.9649251103401184, 0.31380775570869446, 0.15788160264492035, -0.1530652493238449, 0.7392363548278809, 0.42227858304977417, 0.4743953049182892, 0.16587617993354797, 0.9256060123443604, -0.16944465041160583, 0.5991817712783813, -0.8074902296066284, 0.4016394317150116, -0.48893293738365173, 0.5504823327064514, -0.3130076229572296, -0.8271676301956177, -0.2679702639579773, 0.6355172991752625, -0.40187838673591614, 0.2617773115634918, 0.9441686868667603, 0.5765547156333923, 0.09083972871303558, -0.3247605264186859, 0.3863874673843384, 0.1575009673833847, 0.41018855571746826, 0.5367061495780945, 0.8256041407585144, -0.2993456721305847, 0.23791314661502838, -0.04066053405404091, -0.06507992744445801, -0.09301750361919403, -0.9810827374458313, -0.658866822719574, -0.8157415986061096, -0.6735369563102722, -0.48166409134864807, -0.07548972964286804, 0.45447269082069397, 0.3604040741920471, -0.5903275012969971, -0.10643185675144196, -0.3530963063240051, 0.22107985615730286, -0.05853716656565666, -0.2788849174976349, 0.24367815256118774, -0.5622847676277161, -0.6828385591506958, 0.3094085454940796, 0.4788299798965454, 0.5666261911392212, -0.6230357885360718, -0.32321080565452576, -0.10603656619787216, 0.21045103669166565, 0.5549780130386353, 0.27579569816589355, -0.6599652171134949, -0.09628905355930328, -0.12156105786561966, -0.13243913650512695, -0.11145198345184326, 0.6267410516738892, -0.7864459753036499, 0.04179335758090019, 0.430571973323822, 0.5596822500228882, 0.6704492568969727, -0.06015478074550629, 0.6844779849052429, -0.5179094672203064, 0.009714959189295769, 0.32140976190567017, 0.27507781982421875, 0.2751671075820923, -0.19517290592193604, 0.5963236093521118, 0.1644405722618103, -0.65380859375, -0.9516985416412354, 0.4644322991371155, -0.47808653116226196, -0.32864898443222046, 1.519669532775879, -0.012539642862975597, -0.11698190122842789, -0.3164811134338379, 0.2809774875640869, -0.09848607331514359, -0.3701431155204773, 0.6629031300544739, 0.8617075681686401, -0.16204719245433807, -0.42147737741470337, -0.4715079069137573, 0.6867347955703735, 0.4810864329338074, -0.6900583505630493, 0.26667121052742004, 0.4554882347583771, 0.17636021971702576, -0.14250652492046356, 1.2835724353790283, -0.16257989406585693, 0.08397971093654633, 0.06715566664934158, -0.22607652842998505, 0.28801676630973816, -0.17682471871376038, -0.7474194765090942, 0.01537351030856371, 0.2961376905441284, 0.3501080572605133 ]
http://arxiv.org/abs/2406.11464v1
http://arxiv.org/pdf/2406.11464v1
Automating Easy Read Text Segmentation
2024-06-17T12:25:25
2024-06-17T12:25:25
Jesús Calleja, Thierry Etchegoyhen, David Ponce
cs.CL
cs.CL
Easy Read text is one of the main forms of access to information for people with reading difficulties. One of the key characteristics of this type of text is the requirement to split sentences into smaller grammatical segments, to facilitate reading. Automated segmentation methods could foster the creation of Easy Read content, but their viability has yet to be addressed. In this work, we study novel methods for the task, leveraging masked and generative language models, along with constituent parsing. We conduct comprehensive automatic and human evaluations in three languages, analysing the strengths and weaknesses of the proposed alternatives, under scarce resource limitations. Our results highlight the viability of automated ER segmentation and remaining deficiencies compared to expert-driven human segmentation.
[ -0.2616395354270935, -0.9446883201599121, 0.8282880187034607, 0.23687778413295746, -0.48299962282180786, 0.042708076536655426, -0.007903976365923882, -0.7507225871086121, -0.0324602834880352, 0.524188220500946, -0.6105024814605713, -0.41666924953460693, -0.3047906756401062, 0.875069260597229, -0.4837319552898407, 0.5677024126052856, -0.09720855951309204, -0.1577744334936142, -0.06866583973169327, -0.17995312809944153, -0.5697338581085205, -0.5508983731269836, -0.5078154802322388, -0.08155093342065811, 0.2225760519504547, 0.6109256744384766, 0.5895224213600159, 1.39125394821167, 0.5646485686302185, 0.3704034686088562, -0.20502693951129913, 0.3490740954875946, 0.3170577585697174, 0.5302944779396057, 0.03595203533768654, -0.4013213515281677, -0.1201675608754158, -0.27281391620635986, 0.6200951933860779, 0.8878993988037109, -0.07266569882631302, -0.2982258200645447, 0.10541611909866333, 0.9066355228424072, -0.40667763352394104, -0.009141593240201473, -0.3201070725917816, 0.0997033640742302, -0.32119426131248474, 0.35500314831733704, -0.5090348720550537, -0.24046649038791656, 0.25032541155815125, -0.49696630239486694, 0.42042985558509827, 0.4262832999229431, 0.9735557436943054, 0.4321456551551819, -0.3757191300392151, -0.8755447864532471, -0.48061564564704895, 0.7485558986663818, -0.33212515711784363, 0.42873093485832214, 0.48501503467559814, 0.18846534192562103, 0.29558366537094116, -0.487477570772171, -0.5567177534103394, -0.24440215528011322, -0.420246958732605, -0.18224383890628815, -0.20956085622310638, -0.010735886171460152, 0.09396402537822723, 0.45629850029945374, -0.4176514446735382, 0.13622581958770752, -0.20376630127429962, -0.24536871910095215, 0.5019010305404663, 0.2181684523820877, 0.7992176413536072, -0.8612331748008728, -0.18355518579483032, -0.049963001161813736, -0.2942734360694885, -0.17738549411296844, 0.4768759310245514, 0.14807558059692383, 0.026712145656347275, 0.7271000146865845, -0.2076401710510254, 0.9813185334205627, -0.09785386919975281, -0.007100533694028854, 0.10249599069356918, -0.38684698939323425, -0.3928321301937103, -0.19237683713436127, 0.5524289011955261, -0.04720098152756691, 0.13462959229946136, -0.1214427798986435, -0.2566746473312378, -0.318394273519516, 0.0753108337521553, -0.3803413212299347, -0.35276997089385986, 0.23705030977725983, -0.5391705632209778, -0.051304593682289124, -0.0023131913039833307, -0.8996541500091553, -0.37082427740097046, -0.3184141218662262, 0.15754100680351257, -0.7203721404075623, 0.38155123591423035, 0.37490618228912354, -0.1819998025894165, 0.14584866166114807, 0.7081795334815979, -1.0344713926315308, 0.33065828680992126, 0.44413670897483826, 1.06267249584198, -0.28733742237091064, 0.04411003738641739, -0.39420685172080994, 0.07456392049789429, 0.25795790553092957, 1.2665975093841553, -0.3013315796852112, -0.11142964661121368, -0.18703827261924744, 0.11882548779249191, -0.5323325991630554, -0.4928516447544098, 0.5959663987159729, -0.34457817673683167, 0.1623867005109787, 0.08495885878801346, -0.30649852752685547, -0.1551799476146698, 0.31359103322029114, -1.2621374130249023, 0.6220110058784485, 0.023500431329011917, -0.5808531641960144, 0.23516908288002014, -0.5721525549888611, -0.7147502899169922, -0.007222465239465237, 0.09248910844326019, -0.5976210832595825, 0.039501629769802094, 0.8162271976470947, 0.24815921485424042, -0.026074595749378204, -0.2986752390861511, 0.13181400299072266, 0.359155535697937, 0.18334722518920898, -0.559417188167572, 0.783040463924408, 0.4237537682056427, -0.4903322160243988, 0.23617716133594513, -0.8669974207878113, 0.01556648500263691, -0.042743269354104996, -0.33577394485473633, -0.5280935764312744, 0.33689233660697937, 0.3079396188259125, -0.1251561939716339, -0.06293947249650955, -0.41888827085494995, 0.26062285900115967, -0.48858940601348877, 0.3801649808883667, 0.5652749538421631, 0.04950115084648132, 0.5521907210350037, 0.006516064051538706, 0.6308405995368958, -0.11822354048490524, 0.09377362579107285, -0.6134856343269348, -0.3583650588989258, -1.2544986009597778, -0.8407487273216248, 0.6451447606086731, 0.778137743473053, -0.9283882975578308, 0.5003106594085693, 0.24431614577770233, -0.13320119678974152, -0.5741016864776611, 0.34007754921913147, 0.5054510235786438, 0.2816838026046753, 0.24317075312137604, -0.2646607756614685, -0.3348829448223114, -0.993911862373352, -0.261191725730896, -0.08339981734752655, -0.12545578181743622, 0.11547423154115677, 0.2555347681045532, -0.2533251941204071, 0.8750876188278198, -0.7648966908454895, -0.44968491792678833, -0.7329819202423096, 0.10420817136764526, -0.2183305025100708, 0.4153067171573639, 0.14889058470726013, -0.6516932845115662, -0.6331146955490112, 0.060143958777189255, -0.6714661717414856, -0.3305330276489258, -0.1919601857662201, -0.00864674337208271, 0.14335407316684723, 0.6376575231552124, -0.2744613587856293, 0.41450032591819763, 0.026829374954104424, -0.4878779649734497, 0.27763301134109497, -0.29121604561805725, -0.007407533936202526, -0.6770777106285095, -0.11262529343366623, 0.27706533670425415, -0.7131239771842957, -0.5311985611915588, 0.4031156599521637, 0.08004701882600784, -0.11250770837068558, -0.3792162835597992, 0.39557671546936035, -1.0986542701721191, 0.05586616322398186, -0.10951025038957596, -0.06481238454580307, 0.16394948959350586, 0.020478464663028717, 0.3175947368144989, 0.4325409531593323, 0.0005973004153929651, -0.36734119057655334, 0.01453372836112976, 0.48833924531936646, -0.5139175057411194, 0.48192596435546875, -0.6179261803627014, 0.24578198790550232, -0.24220944941043854, 0.002782906871289015, -0.9271109104156494, -0.6081830263137817, 0.5195116996765137, 0.1801358014345169, 0.0949823185801506, -0.054670628160238266, -0.5380716323852539, 0.047879479825496674, -0.11685159802436829, 0.5476921200752258, 0.15668998658657074, -0.4009632468223572, 0.5560960173606873, 0.48490384221076965, -0.596211314201355, 0.007164923474192619, -0.5639799237251282, 0.1327991634607315, -0.20794369280338287, -0.8204402923583984, 0.17196550965309143, 0.11568925529718399, -0.4758985936641693, -0.0688566043972969, 0.1971975564956665, -0.46778830885887146, 0.030604025349020958, 0.059442322701215744, 0.198166623711586, -0.019207030534744263, 0.04566517844796181, 0.08472654968500137, -0.2632688581943512, -0.5309107899665833, 0.10328274965286255, 0.44268345832824707, -0.23116788268089294, -0.40134257078170776, -0.42680084705352783, 0.7921303510665894, 0.2559123933315277, -0.3613300025463104, 0.39153099060058594, 0.2503032088279724, -0.38819682598114014, -0.4102320671081543, -0.5329698324203491, 0.2496761679649353, -0.4601992964744568, 0.13325397670269012, -0.2975730299949646, -0.901460587978363, 0.41666316986083984, 0.25920262932777405, -0.13190476596355438, 0.7157966494560242, 0.33389556407928467, -0.1832341104745865, 1.0169453620910645, 0.7612987756729126, 0.3210594356060028, 0.37826621532440186, 0.1953907310962677, 0.18109363317489624, -0.5049005150794983, -0.3127664625644684, -0.8857320547103882, -0.03355550765991211, -0.1141512542963028, -0.44351673126220703, 0.2853999137878418, 0.08807969093322754, 0.39710089564323425, 0.24510005116462708, -0.8263339996337891, 0.7825693488121033, 0.4345651865005493, 0.165381520986557, 0.6130902171134949, 0.26786234974861145, -0.20162340998649597, -0.08096887171268463, -0.5298237204551697, -0.8756349682807922, 0.5198943018913269, 0.6598487496376038, 0.7933933138847351, -0.08183562755584717, 0.5904494524002075, 0.6151093244552612, 0.2945044934749603, -1.242663860321045, 0.5215332508087158, -0.2585549056529999, -0.6367266178131104, -0.7184597253799438, -0.23051826655864716, -0.9029643535614014, 0.456189900636673, 0.08866975456476212, -0.5675288438796997, 0.5257145166397095, 0.02145261876285076, -0.6812763214111328, 0.1169578805565834, -1.237092137336731, 0.8664281368255615, -0.13773438334465027, 0.0849473625421524, 0.3291133642196655, -0.6960024237632751, 0.052979301661252975, -0.12012253701686859, 0.4526863694190979, 0.010327302850782871, -0.1173945888876915, 0.8834517002105713, -0.7935173511505127, 0.6986215114593506, 0.20706652104854584, -0.009832225739955902, 0.5129225850105286, -0.006111326161772013, 0.2240866869688034, -0.13787513971328735, -0.09637171030044556, -0.11008413881063461, 0.016116218641400337, -0.35216161608695984, -0.32652905583381653, 0.07298677414655685, -0.5528465509414673, -0.32532817125320435, -0.6790891289710999, -0.14674100279808044, -0.14255604147911072, 0.400228887796402, 0.1781051605939865, 0.3103727400302887, -0.3210822343826294, -0.08345647156238556, 0.43543413281440735, -0.07827199995517731, 0.7191895842552185, 0.4402725100517273, 0.1340806931257248, -0.6660020351409912, 0.7839151620864868, -0.08652713894844055, 0.06931089609861374, 0.2267623096704483, 0.020178185775876045, -0.44268620014190674, -0.7504572868347168, -0.8600144386291504, 0.17820429801940918, -0.634299099445343, -0.06285607069730759, -0.7791748046875, -0.04388879984617233, -0.06295901536941528, -0.3379722833633423, -0.05973854660987854, -0.5409399271011353, -0.4671532213687897, -0.20555759966373444, -0.22658070921897888, 0.9027774930000305, -0.01433519460260868, 0.6072410345077515, -0.8249309062957764, 0.4484249949455261, 0.38222941756248474, 0.09364975243806839, -0.2584456205368042, 0.00743842264637351, -0.28560367226600647, -0.4808730483055115, -0.44342657923698425, -1.068633794784546, 0.6179688572883606, 0.2567298710346222, 0.1637900322675705, 0.3273535966873169, 0.06161947548389435, 0.5440073013305664, -0.7630613446235657, 0.5731678009033203, 0.2510484755039215, -1.1962015628814697, 0.519833505153656, -0.21460695564746857, 0.27216383814811707, 0.9699960947036743, 0.15383432805538177, -0.5369768738746643, -0.2790120542049408, -0.1482355147600174, -1.0228471755981445, 0.8331004977226257, 0.3885960280895233, -0.1338653713464737, -0.24948568642139435, 0.20565448701381683, 0.46848228573799133, -0.10571985691785812, -0.803311824798584, -0.032887354493141174, -0.0419272780418396, -0.40779075026512146, 0.0015188379911705852, -0.4086366891860962, 0.2210077941417694, -0.13500943779945374, 0.3800497055053711, 0.07617907226085663, 0.1771494448184967, 0.5007742643356323, -0.6263048648834229, -0.020828120410442352, 0.6330000758171082, 0.4475124776363373, 0.46132051944732666, -0.1274092197418213, 0.23976314067840576, -0.30972597002983093, -0.7167542576789856, 0.6338424682617188, 0.3425089120864868, -0.47591254115104675, 0.21559756994247437, 0.4726184010505676, 0.6198171973228455, -0.09733329713344574, -0.6775827407836914, 0.21686582267284393, -0.13993526995182037, -0.1569322645664215, -0.09819591790437698, -0.019134266301989555, -0.28295543789863586, 0.07810597121715546, 0.40321239829063416, 0.013332967646420002, 0.20500651001930237, -0.4587436020374298, 0.3157087564468384, 0.02362731099128723, -0.41970616579055786, -0.14554980397224426, 0.41872015595436096, 0.6895224452018738, -0.5494405031204224, 0.7865655422210693, -0.40006396174430847, -0.5866826176643372, 0.6706818342208862, 0.3235110342502594, 1.0608042478561401, -0.1057363972067833, 0.4635864794254303, -0.08882740885019302, 0.7004460692405701, -0.006337282247841358, -0.041193485260009766, -0.03922320157289505, -0.579184353351593, -0.49857059121131897, -0.7545086145401001, -0.4720066487789154, -0.05956525355577469, -0.5452462434768677, 0.11304866522550583, -0.33402395248413086, -0.04064098745584488, 0.36831870675086975, -0.28753554821014404, -0.7080678939819336, 0.5006712079048157, -0.017527353018522263, 0.701579213142395, -0.878296971321106, 0.40253546833992004, 0.7840443253517151, -0.39215660095214844, -0.5665793418884277, 0.3202965557575226, -0.11227453500032425, -0.6049543023109436, 0.4985610842704773, 0.41840267181396484, 0.06360150873661041, 0.04955874755978584, -0.19875001907348633, -0.43438664078712463, 0.5379254221916199, 0.1503802239894867, -0.6560994982719421, -0.4988890588283539, 0.2697349488735199, 0.4538350999355316, -0.19406837224960327, 0.2916201055049896, 0.6575863361358643, 0.6336026191711426, -0.14039333164691925, -0.7848845720291138, 0.024602852761745453, -0.23544837534427643, -0.2636811137199402, 0.2255723625421524, -0.4909769296646118, 0.574074387550354, -0.0032129520550370216, -0.46277686953544617, 0.203283429145813, 0.6150231957435608, -0.22031931579113007, 0.5650771260261536, 1.0753241777420044, 0.5986039638519287, 0.6629342436790466, -0.02576708421111107, 0.9838091731071472, 0.18109208345413208, 0.23950070142745972, 0.7147306799888611, -0.21543572843074799, 0.6940547823905945, 0.2990127205848694, -0.3114149570465088, 0.6798442602157593, 0.6239984035491943, 0.021794995293021202, 0.47628822922706604, 0.13171645998954773, -0.4154994785785675, -0.5162224173545837, 0.06684670597314835, -0.012494581751525402, 0.5487421751022339, 0.1778072863817215, -0.43895769119262695, -0.3528063893318176, 0.2461612969636917, -0.03769654780626297, 0.11034048348665237, -0.15650290250778198, 0.9354045391082764, 0.04664580523967743, -0.6950333714485168, 0.039994604885578156, 0.5149092674255371, 0.4362565875053406, -0.4086756706237793, 0.040966734290122986, -0.07600278407335281, -0.09158036857843399, -0.23736339807510376, -0.54788738489151, 0.655778706073761, 0.47857362031936646, -0.2982029318809509, -0.32820940017700195, 1.0402215719223022, -0.14392128586769104, -0.6466726660728455, -0.1896747201681137, 0.8327222466468811, 0.12719891965389252, -0.16229493916034698, -0.5642753839492798, 0.10486997663974762, 0.289923757314682, -0.22006343305110931, 0.04025788977742195, 0.47576677799224854, -0.034152351319789886, 0.6000503897666931, 0.4645598232746124, -0.10330801457166672, 0.06786798685789108, -0.09010062366724014, 0.543724775314331, -0.890692412853241, -0.7862630486488342, -1.0871378183364868, 0.6318223476409912, -0.12039373070001602, -0.15940499305725098, 0.8769662380218506, 0.6573707461357117, 0.290729820728302, -0.14883147180080414, 0.8871124982833862, -0.07261538505554199, 0.5366401672363281, -0.5726344585418701, 0.8587378263473511, -0.3362775444984436, 0.24239185452461243, -0.35908597707748413, -0.8800351023674011, -0.523827075958252, 0.711543083190918, -0.41934359073638916, -0.2988804578781128, 0.8580188155174255, 0.30115434527397156, -0.16819724440574646, -0.15393634140491486, 0.197477325797081, -0.29046958684921265, 0.2456555962562561, 0.1360151618719101, 0.8718118071556091, -0.019966179504990578, 0.631830632686615, -0.21759897470474243, -0.38568198680877686, -0.33220335841178894, -0.8694891333580017, -0.9691900014877319, -0.39461982250213623, -0.40749427676200867, -0.3088220953941345, 0.19584499299526215, 0.6794655323028564, 0.6032891869544983, -0.7242021560668945, -0.06654848903417587, -0.1953902542591095, 0.4653117060661316, 0.0998237207531929, -0.20684869587421417, 0.6125865578651428, -0.3997255563735962, -0.8721562623977661, 0.3630748689174652, 0.4971762001514435, 0.08489727228879929, -0.20759375393390656, 0.3169623911380768, -0.032165758311748505, 0.262397438287735, 0.585607647895813, 0.545272707939148, -0.39721810817718506, -0.187631294131279, 0.0627606213092804, -0.29243558645248413, 0.12023597210645676, 0.8796772956848145, -0.45002925395965576, 0.6623231768608093, 0.5125672817230225, 0.6778762340545654, 0.27122431993484497, 0.47198906540870667, 0.5152387022972107, -0.45335853099823, 0.015475873835384846, 0.30124181509017944, 0.32900017499923706, 0.4866540729999542, -0.23216784000396729, 0.4024398624897003, 0.3223875164985657, -0.4399067461490631, -0.7634261846542358, 0.1897762268781662, -1.0430747270584106, -0.26366734504699707, 1.0634875297546387, -0.19878490269184113, -0.512526273727417, -0.620088517665863, -0.6509726047515869, 0.07680778205394745, -0.16712887585163116, 0.6673307418823242, 0.8885183930397034, -0.2650858759880066, -0.18677619099617004, -0.261624276638031, 0.4853803515434265, 0.5792803168296814, -1.1759123802185059, -0.21893781423568726, 0.8805723786354065, 0.29328638315200806, 0.02955472655594349, 0.7031421065330505, 0.07693401724100113, 0.026409918442368507, -0.041712671518325806, -0.09020226448774338, -0.13773469626903534, -0.3662082552909851, -0.49834707379341125, 0.5078573226928711, -0.09528598189353943, -0.2245854288339615 ]
http://arxiv.org/abs/2406.11460v1
http://arxiv.org/pdf/2406.11460v1
TRACE the Evidence: Constructing Knowledge-Grounded Reasoning Chains for Retrieval-Augmented Generation
2024-06-17T12:23:32
2024-06-17T12:23:32
Jinyuan Fang, Zaiqiao Meng, Craig Macdonald
cs.CL
cs.CL, cs.AI
Retrieval-augmented generation (RAG) offers an effective approach for addressing question answering (QA) tasks. However, the imperfections of the retrievers in RAG models often result in the retrieval of irrelevant information, which could introduce noises and degrade the performance, especially when handling multi-hop questions that require multiple steps of reasoning. To enhance the multi-hop reasoning ability of RAG models, we propose TRACE. TRACE constructs knowledge-grounded reasoning chains, which are a series of logically connected knowledge triples, to identify and integrate supporting evidence from the retrieved documents for answering questions. Specifically, TRACE employs a KG Generator to create a knowledge graph (KG) from the retrieved documents, and then uses an Autoregressive Reasoning Chain Constructor to build reasoning chains. Experimental results on three multi-hop QA datasets show that TRACE achieves an average performance improvement of up to 14.03% compared to using all the retrieved documents. Moreover, the results indicate that using reasoning chains as context, rather than the entire documents, is often sufficient to correctly answer questions.
[ -0.33504894375801086, -0.6732979416847229, 0.9724637866020203, -0.3514387011528015, -0.18487052619457245, 0.4814019501209259, 0.5672009587287903, -0.42071962356567383, 0.38327983021736145, 0.5000366568565369, -0.2500115633010864, -0.15408194065093994, -0.47661951184272766, -0.1667606234550476, -0.4962937831878662, 0.9547721743583679, 0.023340927436947823, -0.1615968942642212, -0.2510222792625427, -0.3059729337692261, -0.6026738882064819, -0.36136308312416077, -0.5299244523048401, -0.20074595510959625, 0.6105130910873413, 0.3791598379611969, 0.462657630443573, 0.9432029128074646, 0.22644293308258057, 0.16983091831207275, -0.1537119299173355, 0.5719704627990723, -0.5268540382385254, 0.46706143021583557, -0.37181687355041504, -0.3390812277793884, -0.5294580459594727, -0.12083683907985687, 0.6140127778053284, 0.5089870095252991, 0.11605103313922882, 0.6270586848258972, -0.15471366047859192, 0.8271170258522034, -0.9431502223014832, -0.20972993969917297, -0.6225878596305847, -0.4530336856842041, -0.04608360305428505, -0.574140727519989, -0.5846656560897827, -0.498638391494751, 0.03089947998523712, -0.8521600365638733, 0.1682976484298706, 0.28973183035850525, 0.9271278381347656, 0.09068205952644348, -0.8177639842033386, -0.5092517137527466, -0.7280796766281128, 0.4661773145198822, -0.47844791412353516, 0.30581745505332947, 0.4310421347618103, 0.4444260001182556, -0.19356504082679749, -0.9623841047286987, -0.33758246898651123, 0.13848046958446503, -0.2510760724544525, 0.11814168095588684, 0.23846854269504547, -0.1338319182395935, 0.642392098903656, 0.45144927501678467, -0.2975824177265167, -0.7141571044921875, -0.27338993549346924, -0.19801507890224457, 0.4522179365158081, 0.10082125663757324, 0.3149847090244293, -0.24489465355873108, -0.19956746697425842, -0.060927290469408035, -0.6575794219970703, 0.1088278591632843, 0.3440123200416565, 0.12764140963554382, 0.43140023946762085, 0.557212769985199, -0.32616227865219116, 1.0211055278778076, 0.17644387483596802, -0.3158584535121918, 0.006159129086881876, -0.310846745967865, 0.10550147294998169, 0.04005932807922363, 0.20516924560070038, 0.15134914219379425, -0.0924384668469429, -0.05511494353413582, 0.09957834333181381, -0.07120141386985779, 0.31778255105018616, -0.8668562769889832, -0.42951667308807373, 0.09601593017578125, -0.5259868502616882, -0.310769647359848, -0.055511265993118286, -0.7721322178840637, -0.6655952334403992, -0.20898541808128357, 0.7185789346694946, -0.5530702471733093, -0.5101105570793152, 0.006953207775950432, -0.6705458164215088, 0.39303603768348694, 0.3246820867061615, -0.35413774847984314, 0.40442895889282227, 0.5764225125312805, 0.555077850818634, 0.3653934597969055, -0.03424619883298874, -1.0728106498718262, 0.5151296854019165, -0.4664270579814911, 0.9251471757888794, -0.4783257246017456, -0.10348059237003326, -0.23552162945270538, 0.00938446819782257, -0.13269418478012085, -0.2883129417896271, 0.566268801689148, -0.8457797169685364, 0.30765172839164734, -0.6735110878944397, -0.7833999991416931, -0.5397975444793701, 0.5387991666793823, -0.7802222967147827, 1.1476402282714844, 0.049402907490730286, -1.134225845336914, 0.20642156898975372, -0.32254526019096375, -0.5108004808425903, -0.037423186004161835, -0.10107739269733429, -0.16121742129325867, -0.01834455132484436, 0.305378258228302, 0.010187954641878605, -0.2973519265651703, 0.2750513553619385, -0.27898693084716797, -0.384441077709198, -0.054646268486976624, 0.04373808577656746, 0.9587560892105103, 0.18051786720752716, -0.3738498389720917, -0.15233178436756134, -1.2264361381530762, 0.2860414981842041, 0.022159479558467865, -0.3224170207977295, -0.8155054450035095, 0.4703528881072998, -0.5605236887931824, 0.28191474080085754, -0.25512927770614624, -0.4096211791038513, 0.07244822382926941, -0.12788620591163635, -0.12125054746866226, 0.7136964797973633, 0.46860241889953613, 0.13753792643547058, -0.5993738770484924, 0.5729098320007324, -0.10408997535705566, -0.17878901958465576, -0.53144770860672, -0.7391822934150696, -0.9260995984077454, -0.09006380289793015, 0.27139896154403687, 0.3975878655910492, -0.8210358023643494, 0.01989886164665222, -0.2905600368976593, -0.3421609699726105, -0.47007080912590027, -0.08712434768676758, 0.4242655336856842, 1.0942312479019165, 0.5080780386924744, 0.080586738884449, -0.7918240427970886, -0.4531553089618683, -0.674167275428772, -0.43428874015808105, -0.12450350821018219, 0.4358990490436554, 0.4602789282798767, 0.04734029620885849, 1.0349326133728027, -0.5753248929977417, 0.22934521734714508, 0.11094282567501068, 0.20759692788124084, 0.16483362019062042, 0.3993587791919708, 0.22302593290805817, -0.7374238967895508, -0.4071717858314514, -0.02881423383951187, -0.7420638799667358, -0.011153941042721272, -0.017514724284410477, -0.566361129283905, -0.1787983775138855, 0.344929039478302, -0.3958841562271118, 0.3981926441192627, 0.21929818391799927, -0.9122869372367859, 0.6289278268814087, 0.12671582400798798, 0.4098907709121704, -1.093530297279358, 0.5224426984786987, -0.6198875904083252, -0.4106243848800659, -0.524378776550293, 0.1325768232345581, 0.030674654990434647, -0.10858000069856644, 0.02940508723258972, 0.6018232703208923, -0.6157496571540833, -0.22198165953159332, -0.21553434431552887, 0.20118805766105652, 0.6089825630187988, 0.16855916380882263, -0.14550185203552246, 0.7634113430976868, 0.3267287611961365, -0.8020420074462891, 0.04298018291592598, 0.16333436965942383, 0.0006240438669919968, 0.7326870560646057, -0.3681966960430145, 0.38275179266929626, -0.24099333584308624, 0.20924396812915802, -1.0143862962722778, -0.21727295219898224, 0.06534118950366974, -0.6458333134651184, 0.3129488229751587, -0.3497850000858307, -0.22900068759918213, -0.32284584641456604, -0.240186408162117, 0.45227232575416565, 0.5584436058998108, -0.6976722478866577, 1.3139525651931763, 0.23951071500778198, 0.40737226605415344, -0.6508208513259888, -0.15361301600933075, -0.09389007836580276, -0.2584972381591797, -0.6985747218132019, -0.04302424192428589, -0.09533978253602982, -0.22755910456180573, 0.22875002026557922, -0.3746308982372284, -0.03089144080877304, 0.24179306626319885, 0.08564464002847672, 0.03983794152736664, -0.29803821444511414, 0.36032092571258545, -0.02928493544459343, -0.13737937808036804, 0.26184096932411194, -0.43069711327552795, 0.22032298147678375, -0.018809933215379715, -0.3365810215473175, 0.08797843754291534, 0.31640735268592834, 0.6709403991699219, -0.3586895763874054, 0.557734489440918, 0.39690616726875305, -0.2523782551288605, -0.21276704967021942, -0.771916925907135, -0.1381208747625351, -0.38565412163734436, -0.13168837130069733, -0.7108238935470581, -0.6679092645645142, 0.7159715890884399, -0.4841863512992859, -0.08038048446178436, 0.670968770980835, 0.011721070855855942, -0.12813939154148102, 1.1089529991149902, 0.22899870574474335, 0.18795683979988098, 0.026992542669177055, -0.15973295271396637, 0.1520656794309616, -1.1047104597091675, -0.2354910671710968, -0.6718918085098267, -0.04124614596366882, -0.3284915089607239, -0.49679267406463623, 0.34240391850471497, 0.6045912504196167, -0.509791910648346, 0.055852193385362625, -0.47514641284942627, 0.35720670223236084, 0.704028844833374, 0.1411851942539215, 0.5430304408073425, -0.1179359033703804, -0.24289415776729584, 0.32876449823379517, -0.9023582935333252, -0.3651580214500427, 1.1797908544540405, 0.21175517141819, 0.5233430862426758, 0.04989943653345108, 0.5530825257301331, 0.11847302317619324, 0.22982904314994812, -0.5536900758743286, 0.4625299870967865, 0.2630922496318817, -0.9996573328971863, 0.056236352771520615, -0.4306545853614807, -0.6086001992225647, 0.3408653736114502, -0.18262234330177307, -0.47922006249427795, 0.15775851905345917, 0.37357673048973083, -0.17637404799461365, 0.5661928653717041, -0.6138925552368164, 0.5971987247467041, -0.0858139917254448, -0.4275762736797333, -0.024131257086992264, -0.8133596181869507, 0.6109711527824402, 0.12333638966083527, 0.2651640772819519, 0.14603908360004425, 0.35975536704063416, 0.9089208841323853, -0.5455938577651978, 0.37431973218917847, -0.3750465512275696, 0.040643781423568726, 0.8996151089668274, 0.3714231550693512, 0.9175188541412354, -0.007169803604483604, 0.025075213983654976, -0.4009356200695038, 0.08730766177177429, -0.3766738176345825, -0.7835173010826111, 0.3888118267059326, -0.3106429874897003, -0.555870532989502, -0.45155268907546997, -0.617323637008667, -0.33603692054748535, 0.5728943943977356, -0.02608157880604267, 0.6131187081336975, 0.1875009834766388, 0.1125616654753685, 0.9776645302772522, -0.12466593831777573, 0.11246063560247421, 0.5225996375083923, -0.37775298953056335, -0.6255484819412231, 0.954083263874054, 0.04664665088057518, 0.3818933367729187, 0.3264598250389099, 0.4151182174682617, -0.32787784934043884, -0.22213368117809296, -0.6346849203109741, 0.214021697640419, -0.8534711003303528, -0.3520187735557556, -0.9222573041915894, -0.16488389670848846, -0.34316131472587585, -0.026020290330052376, -0.2089090496301651, -0.55573570728302, -0.02294895239174366, -0.24610355496406555, 0.5930522680282593, 0.5842030644416809, 0.012471121735870838, 0.057246219366788864, -0.8249330520629883, 0.8335268497467041, 0.6126251816749573, 0.4580267369747162, 0.10700751841068268, -0.48305511474609375, -0.21062681078910828, -0.05709387734532356, -0.17909570038318634, -1.1199345588684082, -0.08625798672437668, -0.06918547302484512, 0.4471189081668854, 0.3732721209526062, 0.18600115180015564, 1.14225172996521, -0.47607824206352234, 0.5285142064094543, -0.1157619059085846, -0.8903816938400269, 0.7719455361366272, -0.7128499150276184, 0.11664673686027527, 0.5408955812454224, 0.30128514766693115, -0.22036892175674438, -0.43446266651153564, -0.8170852065086365, -0.7409764528274536, 0.5118485689163208, 0.14760729670524597, -0.5680849552154541, -0.1399148404598236, 0.4018784761428833, -0.21494922041893005, 0.1479543149471283, -0.5052198171615601, -0.3427527844905853, -0.16852709650993347, -0.011172694154083729, 0.5085180997848511, -0.7116447687149048, -0.30679747462272644, -0.2116992473602295, 0.7771484851837158, -0.24361427128314972, 0.17388476431369781, 0.37752199172973633, -0.05157526209950447, -0.14845111966133118, 0.08156069368124008, 0.24676142632961273, 1.0269548892974854, -0.5693020820617676, 0.5154100656509399, -0.0742400735616684, -0.4891827404499054, 0.3264086842536926, 0.020183414220809937, -0.5684713125228882, 0.08425886183977127, 0.47109049558639526, 0.4852074086666107, -0.22945980727672577, -0.5288978815078735, 0.32673871517181396, 0.0791468545794487, -0.11951276659965515, -0.21446332335472107, -0.026492338627576828, 0.09794661402702332, 0.18457670509815216, 0.5174235701560974, 0.0749993622303009, 0.4802246689796448, -0.462903767824173, 0.3562709391117096, 0.2847616970539093, -0.1310114860534668, -0.08706041425466537, 0.6888090372085571, 0.022034786641597748, -0.1548595279455185, 0.6139614582061768, -0.22330467402935028, -0.6477677822113037, 0.6939542889595032, 0.6546928882598877, 0.8027816414833069, -0.23019848763942719, 0.09894951432943344, 0.8020371198654175, 0.32091373205184937, -0.2283395379781723, 0.4857994616031647, -0.09357215464115143, -0.4168519675731659, -0.6288801431655884, -0.454290509223938, -0.095641128718853, -0.17774558067321777, -0.852769136428833, 0.0630122572183609, -0.1928478479385376, 0.05507134646177292, -0.36767300963401794, -0.05711011588573456, -0.39110156893730164, 0.40918153524398804, -0.22169442474842072, 0.8186254501342773, -0.7785569429397583, 0.4862285852432251, 0.5852240920066833, -0.44382721185684204, -1.2283895015716553, -0.1210443302989006, -0.06965485215187073, -0.5070456266403198, 0.6300099492073059, 0.17521412670612335, -0.40299129486083984, 0.20476257801055908, -0.35496851801872253, -1.2220137119293213, 1.2194021940231323, 0.12546825408935547, -0.04456968232989311, 0.060290660709142685, -0.4180675745010376, 0.34269967675209045, -0.23908354341983795, 0.5721134543418884, 0.3972693979740143, 0.39023664593696594, 0.3784073293209076, -0.4126657545566559, 0.366226464509964, -0.33295369148254395, -0.18656592071056366, 0.3680575489997864, -0.3890075385570526, 0.7968903183937073, -0.210553377866745, -0.4975410997867584, -0.09838824719190598, 0.496166467666626, 0.7664433121681213, 0.6452823877334595, 0.5952981114387512, 0.8934356570243835, 1.1059496402740479, 0.07202368229627609, 1.0609867572784424, -0.379158079624176, 0.03768499568104744, 1.4932501316070557, -0.18412363529205322, 0.5852108001708984, 0.5204759836196899, 0.005023968406021595, 1.1098206043243408, 0.31362977623939514, 0.3837999999523163, 0.34123265743255615, 0.22353465855121613, -0.1828858107328415, -0.33453428745269775, -0.2041832059621811, -0.5182009339332581, 0.11506584286689758, 0.3672756850719452, -0.3236193358898163, -0.19060947000980377, -0.3606506884098053, 0.09454654902219772, 0.06311994791030884, -0.3201792538166046, 0.5927050709724426, -0.2738024592399597, -0.8624937534332275, 0.5508843064308167, -0.3390829861164093, -0.05381148308515549, -0.589588463306427, -0.575363039970398, -0.35187631845474243, -0.03348715603351593, -0.32437747716903687, -0.4853006899356842, 0.29603686928749084, -0.1007537841796875, -0.4551791548728943, -0.1369427889585495, 1.130455732345581, -0.10861983895301819, -0.47429797053337097, 0.3263539969921112, 0.5837613940238953, 0.09107351303100586, -0.08333220332860947, -0.28767213225364685, -0.2684544622898102, -0.1302512288093567, -0.39080917835235596, 0.07929946482181549, 0.7444965243339539, -0.16649021208286285, 0.7145692110061646, 0.8384321928024292, -0.0598519966006279, 0.39255261421203613, -0.13875554502010345, 1.1221537590026855, -0.8232555389404297, -0.4959600567817688, -0.5082363486289978, 0.8266680240631104, -0.3519373834133148, 0.05325612053275108, 1.1019282341003418, 0.8493185639381409, 0.43223094940185547, 0.14231862127780914, 0.511777937412262, -0.411699116230011, 1.255854845046997, -0.4257098436355591, 0.38735637068748474, -0.5012754201889038, 0.266939640045166, -0.3338574171066284, -0.6185251474380493, -0.007557391654700041, 0.4184124171733856, 0.17173512279987335, -0.04359693452715874, 0.9508960843086243, 0.5280175805091858, -0.03642962500452995, -0.13294953107833862, -0.09549934417009354, 0.10852284729480743, 0.5498477816581726, 0.49875128269195557, 0.9270380735397339, -0.9314513802528381, 0.614861011505127, -0.08736155927181244, -0.1516202986240387, 0.23995304107666016, -1.0222965478897095, -0.8311752080917358, -0.30859991908073425, -0.1876358538866043, -0.8951082825660706, 0.03222991153597832, 0.06910581886768341, 0.5009098052978516, -0.5881580114364624, -0.1060054674744606, -0.38296833634376526, 0.5019788146018982, -0.42734408378601074, -0.2745293378829956, 0.6627532839775085, -0.4316779375076294, -0.0824814885854721, 0.5489650368690491, 0.07763995975255966, -0.24525325000286102, 0.0664629340171814, -0.08450212329626083, -0.8972639441490173, -0.10255233943462372, 0.6485581994056702, 0.44407880306243896, -0.4219410717487335, -0.45901423692703247, 0.23532533645629883, 0.3616484999656677, -0.11755399405956268, 1.0408389568328857, -1.116289734840393, 0.9603356122970581, 0.8420878052711487, 0.9665135741233826, 0.7159232497215271, 0.5900838375091553, 0.5629110932350159, -0.6238017678260803, -0.15782582759857178, 0.23073452711105347, 0.13219743967056274, 0.05282741039991379, -0.36295005679130554, 0.8429012894630432, 0.45732542872428894, -0.7077341079711914, -0.9302999377250671, 0.22375284135341644, -0.8262920379638672, -0.26078000664711, 1.1685237884521484, -0.1465521603822708, -0.13438257575035095, -0.41840746998786926, -0.08678021281957626, 0.27649369835853577, 0.007504007313400507, 0.564668595790863, 0.6161494255065918, -0.18766295909881592, -0.09003060311079025, -0.6887449026107788, 0.5252695679664612, 0.3516574501991272, -0.8311170339584351, 0.01406052615493536, 0.9109458923339844, 0.4650518000125885, 0.372663289308548, 1.0453141927719116, -0.13512678444385529, 0.2457399070262909, 0.28518423438072205, -0.11405456066131592, -0.2591738700866699, -0.49469584226608276, -0.01924649067223072, 0.37014198303222656, 0.13071320950984955, -0.298886239528656 ]
http://arxiv.org/abs/2406.11455v1
http://arxiv.org/pdf/2406.11455v1
Adaptive Reinforcement Learning Planning: Harnessing Large Language Models for Complex Information Extraction
2024-06-17T12:11:01
2024-06-17T12:11:01
Zepeng Ding, Ruiyang Ke, Wenhao Huang, Guochao Jiang, Yanda Li, Deqing Yang, Yanghua Xiao, Jiaqing Liang
cs.CL
cs.CL, cs.AI
Existing research on large language models (LLMs) shows that they can solve information extraction tasks through multi-step planning. However, their extraction behavior on complex sentences and tasks is unstable, emerging issues such as false positives and missing elements. We observe that decomposing complex extraction tasks and extracting them step by step can effectively improve LLMs' performance, and the extraction orders of entities significantly affect the final results of LLMs. This paper proposes a two-stage multi-step method for LLM-based information extraction and adopts the RL framework to execute the multi-step planning. We regard sequential extraction as a Markov decision process, build an LLM-based extraction environment, design a decision module to adaptively provide the optimal order for sequential entity extraction on different sentences, and utilize the DDQN algorithm to train the decision model. We also design the rewards and evaluation metrics suitable for the extraction results of LLMs. We conduct extensive experiments on multiple public datasets to demonstrate the effectiveness of our method in improving the information extraction capabilities of LLMs.
[ -0.3360437750816345, -0.9947474002838135, 0.63161301612854, 0.40741875767707825, -0.13932915031909943, 0.2386307716369629, -0.43979230523109436, -0.35937952995300293, -0.17387370765209198, 0.5743025541305542, -0.5895364284515381, -0.3620339334011078, -0.767935574054718, 0.10749582201242447, -0.14869824051856995, 0.8030699491500854, -0.20128963887691498, 0.06605387479066849, 0.34962940216064453, 0.18047626316547394, -0.4098118841648102, -0.04156176373362541, -1.146218180656433, -0.26403099298477173, 0.787261962890625, 0.6723446846008301, 0.3966953456401825, 0.6953521966934204, 0.23416055738925934, 0.28137752413749695, 0.03705186769366264, 0.41749751567840576, -0.27104511857032776, 0.4436555504798889, -0.49391061067581177, -0.27342489361763, -0.40390923619270325, -0.13669846951961517, 0.6384329795837402, 0.092188760638237, -0.6090251207351685, 0.13829462230205536, -0.27044057846069336, 0.6548410654067993, -0.5422957539558411, 0.5460159182548523, -0.658363401889801, 0.0744534581899643, 0.13502474129199982, -0.42084023356437683, -0.5460182428359985, -0.23616187274456024, 0.2532540261745453, -0.5367488861083984, -0.25017210841178894, 0.131943479180336, 0.41815662384033203, 0.06444273889064789, -0.2756827175617218, -0.5983721613883972, -0.9977171421051025, 0.8368740081787109, -0.6858639121055603, 0.3360537588596344, -0.0034828216303139925, 0.2938666045665741, -0.5608417391777039, -0.6703788042068481, -0.6169136166572571, 0.04324410855770111, 0.24648378789424896, 0.019278381019830704, 0.023208454251289368, -0.03662499040365219, 0.528247594833374, -0.16205739974975586, -0.4612570106983185, 0.4585035741329193, -0.3200949430465698, 0.17899614572525024, 0.6462379097938538, 0.10980430990457535, 0.26964250206947327, -0.28423410654067993, -0.5518634915351868, -0.2747550308704376, -0.6097391247749329, 0.10656912624835968, 0.04393669590353966, 0.5405187606811523, 0.3281668722629547, 0.5843056440353394, -0.24881434440612793, 0.39109304547309875, 0.03232429549098015, -0.5258792042732239, 0.10455591231584549, -0.07616712152957916, -0.36280038952827454, 0.2082725316286087, 0.7845533490180969, -0.27462634444236755, 0.3211997449398041, -0.21971012651920319, -0.6098697185516357, -0.4606972634792328, 0.31049805879592896, -0.6938318014144897, -0.24020040035247803, 0.5107977390289307, -0.4048038125038147, -0.26429763436317444, 0.028504619374871254, -1.08918035030365, -0.35821396112442017, -0.3072815537452698, 0.4409714937210083, -0.4996871054172516, -0.538815975189209, 0.023467721417546272, 0.040659982711076736, 0.27825385332107544, 0.600361704826355, -0.7914470434188843, 0.28411954641342163, 0.6337284445762634, 0.6228208541870117, -0.6061910390853882, -0.2507326304912567, -1.0434415340423584, 0.2935917377471924, -0.1832543909549713, 0.7816632390022278, -0.5408045649528503, -0.07308374345302582, 0.14880040287971497, 0.013775377534329891, -0.18450205028057098, -0.725009560585022, 0.4634288549423218, -1.0876214504241943, 0.1018269807100296, -0.00908046867698431, -0.34256285429000854, -0.3235451579093933, 0.3873874247074127, -0.9144698977470398, 0.9617495536804199, -0.23612076044082642, -0.40941351652145386, 0.25569894909858704, -0.7783965468406677, -0.4829988181591034, -0.04853523150086403, -0.2363281548023224, -0.48777341842651367, -0.25145307183265686, 0.46416279673576355, 0.6412940621376038, -0.15188412368297577, 0.43327856063842773, -0.09080369025468826, 0.05245918780565262, 0.098540298640728, -0.25059670209884644, 0.7317761778831482, 0.29367175698280334, -0.38280194997787476, 0.41850754618644714, -0.9472301602363586, 0.055172357708215714, 0.3065969944000244, -1.1692991256713867, -0.017700888216495514, 0.45060548186302185, -0.1212676614522934, 0.7109765410423279, 0.08794790506362915, -0.27378785610198975, 0.5009762048721313, -0.3383823037147522, 0.3101196885108948, 0.8460536003112793, 0.3150103688240051, 0.5503121614456177, -0.05915367603302002, 0.6681879162788391, 0.24533671140670776, -0.07382004708051682, 0.010937558487057686, -0.045063745230436325, -0.7803516387939453, -0.32766586542129517, 0.3676682412624359, 0.8231207132339478, -1.0945037603378296, 0.34575626254081726, -0.309807151556015, -0.1818993240594864, -0.22150719165802002, 0.14646556973457336, 0.3244144320487976, 0.20702902972698212, 0.44179409742355347, -0.16993120312690735, -0.5622130036354065, -0.5283730030059814, -0.30927807092666626, -0.2302434891462326, 0.17834019660949707, -0.09370355308055878, 0.43107226490974426, 0.12235396355390549, 0.6972863674163818, -0.46589168906211853, -0.10988397896289825, -0.5359846949577332, 0.5312423706054688, 0.1772516965866089, 0.29710134863853455, -0.17044556140899658, -1.0664368867874146, -0.15313231945037842, -0.0482289157807827, -0.5502269268035889, 0.317978173494339, -0.3757144510746002, -0.028839698061347008, 0.15249915421009064, 0.44128894805908203, -0.6983324289321899, 0.11937204003334045, 0.27818602323532104, 0.08990579098463058, 0.6476779580116272, -0.20535700023174286, -0.1685454100370407, -0.9057700037956238, -0.0834592953324318, 0.22190320491790771, -0.4938218891620636, -0.5243942141532898, 0.03754326328635216, 0.226960226893425, 0.19802744686603546, -0.4737919270992279, 0.3646458089351654, -0.6652681827545166, -0.5341436266899109, -0.43087896704673767, 0.39323970675468445, -0.1560109555721283, 0.7693474292755127, 0.28019464015960693, 0.5508591532707214, 0.19107499718666077, -0.8717576265335083, 0.5604580044746399, 0.1314588487148285, -0.5671511292457581, -0.004130980931222439, -0.1350679248571396, 0.06124122440814972, -0.24229831993579865, 0.2313157171010971, -0.6806241273880005, 0.07686875760555267, 0.6070877313613892, -0.09200042486190796, 0.6030012965202332, -0.028212115168571472, -0.4738602042198181, -0.17197801172733307, -0.10444539040327072, -0.08472604304552078, 0.1026807576417923, -0.6008797883987427, 0.8742749691009521, 0.4641476571559906, -0.8198733925819397, -0.6788470149040222, -0.17347991466522217, -0.011915345676243305, -0.30788153409957886, -0.15550805628299713, 0.19727811217308044, -0.005985063500702381, -0.3090980052947998, -0.05030466616153717, -0.11998730152845383, -0.09566682577133179, 0.20388221740722656, 0.024790676310658455, 0.24444396793842316, -0.1357823759317398, 0.1368623673915863, -0.15518100559711456, -0.07633582502603531, 0.23719871044158936, -0.38674044609069824, 0.5060589909553528, 0.4946008026599884, -0.0822659432888031, -0.2455824315547943, 0.1691654473543167, 0.37067246437072754, -0.32250434160232544, 0.4553804099559784, 0.6060250401496887, -0.45201241970062256, -0.3414914309978485, -0.42176687717437744, 0.07424655556678772, -0.38536620140075684, 0.7015218734741211, -0.358742356300354, -0.4452725946903229, 0.05097021162509918, -0.6614903211593628, 0.6172603964805603, 0.36032721400260925, 0.605767548084259, 0.07807204127311707, 1.139530897140503, 0.72388756275177, -0.09914176166057587, 0.8310883641242981, -0.1785484105348587, 0.05064792558550835, -0.8362289667129517, -0.5328488349914551, -0.4777719974517822, -0.2192835956811905, -0.24234795570373535, -0.3570917844772339, 0.06908901035785675, 0.3035573959350586, -0.12327937036752701, 0.06812328100204468, 0.029065797105431557, 0.16097275912761688, 0.36585795879364014, 0.164240300655365, 0.45825469493865967, 0.11933905631303787, -0.07079875469207764, 0.2196449190378189, -0.5705013871192932, -0.4819137752056122, 0.8483873009681702, 0.442462295293808, 0.5106644630432129, 0.29669076204299927, 0.5421228408813477, 0.19426152110099792, 0.13256512582302094, -0.8826146721839905, 0.36552152037620544, 0.09215953946113586, -0.272638738155365, -0.7154577374458313, -0.4543859362602234, -0.86875981092453, 0.5361621379852295, -0.46935129165649414, -0.6924772262573242, 0.2552090585231781, -0.29248538613319397, -0.3815341889858246, 0.17284126579761505, -0.3300021290779114, 0.4009292721748352, -0.4763372838497162, -0.1358613222837448, -0.3267800807952881, -0.5751853585243225, 0.43094417452812195, -0.3560624420642853, 0.5670595169067383, -0.17645300924777985, -0.17682960629463196, 1.0250252485275269, 0.028708014637231827, 0.4747101366519928, -0.3521113693714142, -0.18048742413520813, 0.02718556486070156, 0.20143646001815796, 1.1302883625030518, -0.008179059252142906, -0.2063707858324051, -0.3458591401576996, -0.1971980780363083, -0.2868066728115082, -0.7254528403282166, 0.3543436527252197, -0.5224100351333618, -0.4740697741508484, -0.4298597276210785, -0.48170843720436096, -0.25638991594314575, 0.36884501576423645, -0.39556145668029785, 0.2422841191291809, -0.08444644510746002, -0.250730037689209, 0.7146453857421875, -0.39585432410240173, 0.8267794847488403, 0.6874009966850281, -0.36686310172080994, -0.5633628368377686, 0.8638346791267395, -0.12186723947525024, 0.1953558325767517, 0.5742063522338867, 0.16561314463615417, -0.3164551556110382, -0.9305013418197632, -0.46710678935050964, 0.019687924534082413, -0.7897801399230957, -0.15654344856739044, -0.7165747880935669, -0.2954269349575043, -0.409904807806015, 0.6148423552513123, -0.1912616491317749, -0.40880119800567627, -0.11222358793020248, -0.16233664751052856, 0.009456248953938484, 0.896412193775177, -0.010339376516640186, 0.19454514980316162, -0.8309851884841919, 0.5464712381362915, 0.26030203700065613, -0.18787439167499542, 0.10870000720024109, -0.3241767883300781, -0.22129322588443756, -0.24840331077575684, -0.277761310338974, -0.6634722948074341, 0.5876817107200623, 0.1471232771873474, 0.6611690521240234, 0.3725011646747589, -0.05635107308626175, 0.6763981580734253, -0.5959075093269348, 0.4677897095680237, 0.07751017808914185, -0.3381861746311188, 0.47595030069351196, -0.10263292491436005, 0.017429877072572708, 0.23644043505191803, 0.5104618072509766, -0.3387901484966278, -0.12368655204772949, -0.5596718192100525, -0.9545718431472778, 1.0119656324386597, -0.08949265629053116, -0.46019646525382996, 0.1851898729801178, 0.5496681928634644, 0.058555904775857925, 0.1872868686914444, -0.920137882232666, -0.14498063921928406, 0.417120099067688, -0.11216611415147781, -0.1099683940410614, -0.4658222496509552, 0.03907555341720581, 0.08152204751968384, 0.8570179343223572, 0.024746503680944443, -0.08193238824605942, 0.06747576594352722, -0.4021492898464203, -0.171212300658226, 0.42651885747909546, 0.527067244052887, 0.8528836369514465, 0.02535080350935459, 0.10425510257482529, 0.13189639151096344, -0.25846999883651733, 0.044658515602350235, 0.10364136844873428, -0.003047751961275935, -0.4583122730255127, 0.3726455569267273, 0.5644452571868896, 0.4201567769050598, -0.8211482763290405, 0.3578040599822998, -0.30002981424331665, -0.010826129466295242, -0.4571762979030609, 0.17669636011123657, 0.00960979238152504, 0.8083434700965881, 0.3492666184902191, -0.15268881618976593, -0.012333609163761139, -0.6174127459526062, 0.46344372630119324, 0.12567941844463348, -0.19215378165245056, -0.03328341990709305, 0.14218828082084656, -0.05411531403660774, -0.4318576157093048, 0.7383942008018494, -0.13142360746860504, -0.49455952644348145, 0.40437960624694824, 0.7073895335197449, 0.5943794846534729, -0.24951216578483582, 0.3504008650779724, 0.4607376456260681, 0.11997626721858978, -0.3794061243534088, 0.46509701013565063, 0.11445863544940948, -0.7836471796035767, -0.6539077758789062, -0.7976880669593811, -0.13156113028526306, 0.1649622768163681, -0.5510140657424927, 0.37980449199676514, -0.6009032130241394, 0.3752211034297943, -0.011646104045212269, 0.25722843408584595, -0.48953214287757874, 0.34273383021354675, -0.014256315305829048, 0.8528608083724976, -0.49287450313568115, 1.0990943908691406, 0.3774871230125427, -0.45054537057876587, -1.0423097610473633, -0.042127516120672226, 0.04231921210885048, -0.9681713581085205, 0.818763792514801, -0.1707051694393158, 0.10711764544248581, 0.14191456139087677, -0.3313479423522949, -0.9784864783287048, 1.2831499576568604, 0.032384369522333145, -0.8513256907463074, -0.37279245257377625, -0.3207930326461792, 0.07908783107995987, -0.5574945211410522, 0.053396258503198624, 0.6654921770095825, 0.5576430559158325, 0.3484787046909332, -0.38967692852020264, 0.1814558058977127, 0.22690215706825256, -0.09105098247528076, 0.289080411195755, -0.1455988883972168, 0.8774487376213074, -0.2123996764421463, -0.44760459661483765, 0.009652949869632721, 0.7064717411994934, 0.33733803033828735, -0.0750536099076271, 0.7921470999717712, 0.31620949506759644, 0.9047448635101318, 0.36786723136901855, 0.6582134366035461, 0.12415610998868942, 0.1804651916027069, 1.378806471824646, -0.23605765402317047, 1.2608369588851929, 0.3724253475666046, -0.01686236448585987, 0.560119092464447, 0.79683518409729, 0.12058788537979126, 0.6649659872055054, 0.174213707447052, -0.19628016650676727, -0.22491641342639923, 0.20930729806423187, 0.2087835669517517, 0.40286535024642944, 0.49060171842575073, -0.31742221117019653, -0.34509173035621643, -0.04327590763568878, 0.09354875981807709, -0.24246090650558472, -0.32148054242134094, 1.1412365436553955, 0.011725226417183876, -0.8051169514656067, 0.07697358727455139, 0.390002965927124, 0.2888309359550476, -0.3890276253223419, -0.3195984363555908, 0.20376761257648468, 0.07971135526895523, -0.2105528861284256, -0.6426530480384827, -0.05605461820960045, -0.02184304967522621, -0.16158702969551086, -0.315956711769104, 0.8378505706787109, -0.5768324136734009, -0.2262902706861496, 0.5072964429855347, 0.513295590877533, 0.28077855706214905, -0.1296214610338211, -1.0174047946929932, 0.05311591923236847, 0.03073728457093239, -0.5535040497779846, 0.4581283628940582, 0.5343368053436279, 0.08674348890781403, 0.6781370639801025, 0.7335349321365356, 0.5876373648643494, 0.20799729228019714, -0.07668788731098175, 0.8043218851089478, -0.8846508860588074, -0.2925664782524109, -0.9525702595710754, 0.5145881175994873, -0.13228526711463928, 0.14337748289108276, 0.2339148372411728, 0.5109378695487976, 0.7467437386512756, 0.4001268744468689, 0.8184853196144104, -0.04491627588868141, 0.4639379680156708, -1.0482356548309326, 0.05935702845454216, -0.41585153341293335, 0.458433598279953, -0.12017941474914551, -1.1582162380218506, -0.1020055040717125, 0.46184420585632324, -0.22630129754543304, -0.24506890773773193, 0.7194514274597168, 0.6085413694381714, 0.10701876878738403, -0.05923854932188988, 0.11406607180833817, 0.32292190194129944, 0.782344400882721, 0.5098901987075806, 0.7943369746208191, -0.17984436452388763, 0.6632654070854187, -0.06091463565826416, -0.2798307240009308, -0.11722720414400101, -0.9093676209449768, -0.44892439246177673, -0.4749559462070465, -0.19126281142234802, -0.3517824709415436, 0.0013593038311228156, 1.1455481052398682, 0.4776515066623688, -0.6984251141548157, -0.20959046483039856, -0.007783195935189724, 0.4339289963245392, -0.22028766572475433, -0.23912708461284637, 0.34282511472702026, -0.5128394365310669, -0.662045955657959, 0.7603354454040527, 0.40375250577926636, -0.2534879744052887, -0.27652090787887573, -0.14311407506465912, -0.744442880153656, -0.22687271237373352, 0.6225365400314331, 0.476312518119812, -0.7206494212150574, -0.49926120042800903, -0.46736836433410645, -0.14174304902553558, 0.2584048807621002, 0.8678801655769348, -0.5965542197227478, 0.36542877554893494, 0.40232205390930176, 0.7569624185562134, 0.6801124811172485, 0.12752237915992737, 0.6483529210090637, -0.6115140914916992, -0.0988951325416565, 0.10374061018228531, 0.18767419457435608, -0.0580618791282177, -0.2592673897743225, 0.3472587764263153, -0.12803179025650024, -0.5601522922515869, -0.47634804248809814, 0.3312607705593109, -0.9050848484039307, -0.5504330396652222, 1.3701196908950806, -0.2672572433948517, -0.3736599087715149, -0.2049170732498169, -0.19997286796569824, 0.4789678156375885, -0.4853884279727936, 0.7179194688796997, 0.6420820355415344, -0.3243602514266968, -0.3635774254798889, -0.7163815498352051, 0.33614450693130493, -0.03937936946749687, -0.9223076105117798, 0.18964746594429016, 0.46272996068000793, 0.5088773369789124, 0.09304989129304886, 0.6496144533157349, -0.232030987739563, -0.038429100066423416, -0.4682457149028778, 0.044051334261894226, 0.12712709605693817, -0.7213611006736755, -0.5988450050354004, 0.3627965748310089, 0.39993563294410706, -0.05970383808016777 ]
http://arxiv.org/abs/2406.11431v1
http://arxiv.org/pdf/2406.11431v1
Super(ficial)-alignment: Strong Models May Deceive Weak Models in Weak-to-Strong Generalization
2024-06-17T11:36:39
2024-06-17T11:36:39
Wenkai Yang, Shiqi Shen, Guangyao Shen, Zhi Gong, Yankai Lin
cs.CL
cs.CL, cs.AI
Superalignment, where humans are weak supervisors of superhuman models, has become an important and widely discussed issue in the current era of rapid development of Large Language Models (LLMs). The recent work preliminarily studies this problem by using weak models to supervise strong models. It discovers that weakly supervised strong students can consistently outperform weak teachers towards the alignment target, leading to a weak-to-strong generalization phenomenon. However, we are concerned that behind such a promising phenomenon, whether there exists an issue of weak-to-strong deception, where strong models may deceive weak models by exhibiting well-aligned in areas known to weak models but producing misaligned behaviors in cases weak models do not know. We then take an initial step towards exploring this security issue in a specific but realistic multi-objective alignment case, where there may be some alignment targets conflicting with each other (e.g., helpfulness v.s. harmlessness). Such a conflict is likely to cause strong models to deceive weak models in one alignment dimension to gain high reward in other alignment dimension. Our experiments on both the reward modeling task and the preference optimization scenario indicate: (1) the weak-to-strong deception exists; (2) the deception phenomenon may intensify as the capability gap between weak and strong models increases. We also discuss potential solutions and find bootstrapping with an intermediate model can mitigate the deception to some extent. Our work highlights the urgent need to pay more attention to the true reliability of superalignment.
[ -0.16852566599845886, -0.5567600727081299, 0.5626092553138733, -0.20955470204353333, -0.06818804889917374, 0.04274069517850876, 0.08939759433269501, -0.587519645690918, 0.0973968505859375, 0.36727049946784973, -0.612762987613678, -0.06672724336385727, -0.7315509915351868, -0.24910135567188263, -0.4830228090286255, 1.1786952018737793, 0.08308848738670349, 0.32132309675216675, -0.3072543740272522, -0.23455598950386047, -0.6640497446060181, -0.5965012311935425, -0.23841580748558044, -0.5852413773536682, 0.35026758909225464, 0.39353492856025696, 1.318803071975708, 0.8243820667266846, 0.7992891073226929, 0.32865485548973083, -0.11184930801391602, -0.014791365712881088, -0.576896607875824, 0.3489231765270233, -0.567756712436676, -0.6801083087921143, -0.49439579248428345, 0.04827563092112541, 0.5316187739372253, 0.6589315533638, -0.28527313470840454, -0.04959455505013466, 0.08106929808855057, 0.6388270258903503, -0.618529736995697, -0.36241060495376587, -0.5305309891700745, -0.3860766887664795, -0.3065084218978882, 0.39401328563690186, -0.12204756587743759, -0.058149002492427826, 0.15585386753082275, -0.5413001775741577, 0.34707966446876526, 0.12981626391410828, 1.4018861055374146, 0.3861788511276245, -0.499719500541687, 0.04915928468108177, -0.8806121945381165, 0.9091936349868774, -0.46067318320274353, 0.39113354682922363, 0.2896406054496765, 0.32399481534957886, -0.17050014436244965, -0.3439631760120392, -0.445270836353302, -0.10259505361318588, 0.0042049880139529705, 0.08536791056394577, 0.014711745083332062, 0.03570326045155525, 0.1537967324256897, 0.3712010979652405, -0.509093165397644, 0.4206559956073761, -0.23945988714694977, -0.27968060970306396, 0.7084202170372009, 0.30227798223495483, 0.33979132771492004, 0.20566079020500183, -0.6672420501708984, -0.2525094151496887, -0.8444389700889587, -0.06385798007249832, 0.5667264461517334, 0.4851594567298889, -0.29904240369796753, 0.5028217434883118, 0.11660811305046082, 0.568909227848053, 0.42662513256073, -0.1894959956407547, -0.21054141223430634, -0.599600076675415, -0.11796145886182785, 0.13681569695472717, 0.6149691939353943, 0.562092661857605, 0.3000712990760803, -0.09273402392864227, -0.29962339997291565, 0.4764114320278168, 0.3333350718021393, -0.4562765955924988, 0.12187404185533524, 0.19823838770389557, -0.4713371992111206, -0.420883446931839, 0.26632192730903625, -0.34432172775268555, -0.5629314184188843, -0.5294115543365479, 0.35013875365257263, -0.28336232900619507, -0.3913208246231079, 0.12862800061702728, 0.19594192504882812, 0.40914908051490784, 0.0856231078505516, -1.2328720092773438, 0.3230505585670471, 1.0034247636795044, 0.5297148823738098, 0.1191856637597084, -0.5086894631385803, -0.140422061085701, 0.4490949511528015, -0.3639479875564575, 0.5346643328666687, -0.6021899580955505, -0.17172594368457794, -0.17004041373729706, 0.009401700459420681, -0.23994217813014984, -0.4187455177307129, 0.5743489861488342, -0.35396608710289, 0.17939534783363342, -0.3069649040699005, -0.5560988187789917, 0.08553844690322876, 0.23560920357704163, -0.4714936912059784, 0.6480627059936523, 0.0911995992064476, -0.6219528913497925, 0.32721877098083496, -0.019995762035250664, -0.14002950489521027, -0.2551563084125519, -0.3033332824707031, -0.6606139540672302, 0.27960535883903503, 0.04655764251947403, 0.47377291321754456, -0.4465928077697754, 0.6894046068191528, -0.4395555555820465, -0.5969820022583008, 0.4456346333026886, -0.3136853277683258, 0.6979734897613525, 0.03985857218503952, -0.45222699642181396, 0.04286836460232735, -0.1726694107055664, -0.329515278339386, 0.19959084689617157, 0.12520766258239746, -0.5275847911834717, -0.034200284630060196, -0.29675689339637756, 0.1084093227982521, 0.452205628156662, -0.41993337869644165, 0.5882907509803772, -0.454345166683197, 0.1396772861480713, 1.0693360567092896, -0.2698751389980316, 0.6214352250099182, -0.3922717869281769, 0.49439066648483276, -0.00011307175736874342, 0.3983611762523651, 0.23829320073127747, -0.24154402315616608, -0.44075673818588257, 0.035558320581912994, 0.7592227458953857, 0.5320066809654236, -0.34328681230545044, 0.2227475643157959, -0.1642652302980423, -0.38894161581993103, -0.6876287460327148, 0.32926174998283386, 0.9122081398963928, 0.4037899971008301, 0.28473302721977234, -0.3435462713241577, -0.2760065495967865, -1.2293312549591064, -0.31701263785362244, -0.361494779586792, 0.1747521013021469, -0.07264464348554611, 0.4185766875743866, -0.31605446338653564, 0.662787675857544, -0.38455721735954285, -0.43259158730506897, -0.18950486183166504, -0.07018201053142548, 0.09595393389463425, 0.8302730321884155, 0.6200594305992126, -1.207208514213562, -0.14067654311656952, -0.1314748078584671, -0.8037028312683105, 0.09629879891872406, -0.2685694694519043, -0.30766069889068604, 0.2340420037508011, 0.6350983381271362, -0.7816201448440552, 0.17767781019210815, 0.5192362666130066, -0.3839429020881653, 0.7663256525993347, -0.021470438688993454, -0.1993391066789627, -1.0931755304336548, -0.106535904109478, 0.2033364623785019, 0.05306977406144142, -0.7105963826179504, 0.4462057054042816, 0.08197062462568283, 0.08280903846025467, -0.3196353614330292, 0.23694373667240143, -0.39858347177505493, 0.13952423632144928, -0.19959402084350586, -0.0944492295384407, -0.15693645179271698, 0.17064057290554047, -0.0390792191028595, 0.4965227246284485, 0.8112660050392151, -0.4411987066268921, 0.20826248824596405, 0.19400914013385773, -0.007375798188149929, 1.0717651844024658, -0.6324766874313354, 0.044425852596759796, -0.12785696983337402, 0.27456337213516235, -1.0492786169052124, -0.6181721687316895, 0.2441864162683487, -0.32256364822387695, 0.7576453685760498, -0.28297436237335205, -0.29114314913749695, -0.09323329478502274, -0.22982560098171234, 0.5279716849327087, 0.08874035626649857, -0.407441645860672, 0.42326366901397705, 0.3364606201648712, -0.09826160222291946, -0.8700156211853027, -0.6537302732467651, 0.018765103071928024, -0.5321322083473206, -0.7515426278114319, 0.5903210639953613, 0.18095456063747406, -0.2140086144208908, -0.1571667194366455, -0.5423738956451416, 0.25283750891685486, 0.25862205028533936, 0.3273775279521942, 0.5986249446868896, -0.23316460847854614, 0.08631926774978638, -0.11172525584697723, -0.44961196184158325, -0.054659370332956314, -0.17788924276828766, 0.32131025195121765, -0.301870733499527, -0.6123177409172058, -0.5856748223304749, 0.3150709271430969, 0.6646814346313477, 0.03361796215176582, 0.9393676519393921, 0.5021260380744934, -0.5145854353904724, 0.3835858702659607, -0.6479557752609253, -0.2691560685634613, -0.51413893699646, 0.08323672413825989, -0.2507966458797455, -0.8370341062545776, 0.5072165131568909, 0.00970139168202877, -0.025056803598999977, 0.3411445617675781, 0.17556017637252808, -0.215704083442688, 1.7213166952133179, 0.9295004606246948, -0.2690322995185852, 0.3752390146255493, -0.1970040649175644, 0.2766554057598114, -0.8162111043930054, -0.3120795488357544, -0.5274292230606079, -0.6965810060501099, -0.6751641631126404, 0.23172858357429504, 0.07199785858392715, 0.5149052143096924, -0.3465054929256439, 0.6159905791282654, -0.5491287112236023, 0.6676031351089478, 0.4501008689403534, -0.04240694269537926, -0.08311430364847183, -0.18698352575302124, -0.1654067188501358, -0.1915517896413803, -0.5810221433639526, -0.5554735660552979, 1.016715407371521, 0.4261413812637329, 1.113237738609314, 0.46088138222694397, 0.779358446598053, -0.09190848469734192, 0.30287113785743713, -0.5005849599838257, 0.6714766621589661, -0.22187142074108124, -0.7451311945915222, -0.2146911472082138, -0.3398726284503937, -0.8445500731468201, 0.18927298486232758, -0.3383476138114929, -0.9453297257423401, 0.5114936828613281, 0.2763539254665375, -0.47514620423316956, 0.13089674711227417, -0.8474787473678589, 1.0416779518127441, -0.610623300075531, -0.7227702736854553, 0.03555116057395935, -1.1038870811462402, 0.5917443633079529, 0.08260765671730042, 0.05631648004055023, -0.019623825326561928, 0.130821093916893, 0.5620474815368652, -0.4151518642902374, 0.981741189956665, -0.2757873237133026, -0.32187899947166443, -0.08674012869596481, 0.2638324797153473, 0.5254245400428772, -0.029580706730484962, 0.10303753614425659, 0.011199050582945347, -0.03521722927689552, -0.6211351752281189, -0.532360851764679, 0.6866580843925476, -0.7525557279586792, -1.006412386894226, -0.5007813572883606, -0.6607975959777832, -0.3134744465351105, 0.1610477715730667, 0.32954898476600647, 0.3023834228515625, -0.07755916565656662, 0.11929573118686676, 0.7578777074813843, 0.28727707266807556, 0.06784781068563461, 0.33810850977897644, 0.013172460719943047, -0.19567139446735382, 1.2145124673843384, 0.16973617672920227, 0.5503561496734619, 0.1680293083190918, 0.2842314839363098, -0.311639666557312, -0.647683322429657, -0.347834974527359, 0.48786547780036926, -0.23742225766181946, -0.46383973956108093, 0.1501452773809433, -0.026953769847750664, -0.6285767555236816, -0.5222557187080383, -0.5451134443283081, -0.5351355671882629, -0.21347396075725555, -0.16711893677711487, -0.3331896960735321, 0.6225617527961731, -0.13769777119159698, 0.5477057099342346, -0.6086132526397705, 0.2707756459712982, 0.3470628559589386, 0.16062842309474945, -0.20445331931114197, -0.5657209157943726, -0.3199968636035919, 0.23823057115077972, -0.6157329082489014, -0.6130626797676086, 0.017511332407593727, -0.053318873047828674, 0.5115917921066284, 1.0046569108963013, 0.02200045995414257, 0.8067387938499451, 0.06840658187866211, 0.7295251488685608, 0.5038398504257202, -0.767920970916748, 0.3498993217945099, -0.47337907552719116, 0.22135956585407257, 0.6683402061462402, 0.5251843333244324, -0.2796712815761566, -0.6290119290351868, -0.9906185269355774, -0.8926955461502075, 0.7110026478767395, 0.03281675651669502, 0.15917089581489563, 0.2486826777458191, 0.48295289278030396, 0.011782526038587093, 0.12704123556613922, -0.7775359749794006, -0.22354313731193542, -0.05133083462715149, -0.2925175130367279, 0.04358408600091934, -0.3066129684448242, -0.4968765079975128, 0.12932917475700378, 0.758117139339447, -0.17464475333690643, 0.17578889429569244, 0.031162986531853676, -0.058046720921993256, -0.36013370752334595, 0.23515863716602325, 0.8787920475006104, 0.6406959295272827, -0.19018585979938507, 0.3477509319782257, -0.06801393628120422, -0.3583305776119232, 0.4298837184906006, 0.20618577301502228, -0.08482983708381653, -0.5866363048553467, 0.4968010187149048, 0.4472733736038208, 0.23608186841011047, -0.20572899281978607, 0.7399613857269287, 0.09962683171033859, -0.3364833891391754, 0.149086594581604, 0.23761405050754547, 0.15981991589069366, 0.4302693009376526, 0.30031073093414307, 0.3188357353210449, -0.21850250661373138, -0.5703325867652893, -0.03677690401673317, 0.795349657535553, -0.5888985991477966, -0.5310500264167786, 0.9239527583122253, -0.01486443541944027, -0.29443395137786865, 0.6346115469932556, -0.02789759263396263, -0.7186517715454102, 0.7037374377250671, 0.7298378944396973, 0.6150442957878113, -0.7002658247947693, 0.1694164276123047, -0.08302897959947586, 0.38634204864501953, -0.558860182762146, -0.03643634170293808, 0.12672701478004456, -0.9566802382469177, -0.323087602853775, -0.3123722970485687, -0.5365439653396606, 0.17409247159957886, -0.8108428716659546, 0.07283387333154678, -0.2914171814918518, -0.3716526925563812, -0.10596483945846558, -0.1884932667016983, -0.23701664805412292, 0.17655467987060547, 0.2547333538532257, 0.5321559906005859, -1.1122757196426392, 0.5587643980979919, 0.7036978006362915, -0.3815060555934906, -0.8684527277946472, 0.22738997638225555, 0.2843487858772278, -0.7402004599571228, 0.4356738030910492, 0.34108278155326843, -0.20523829758167267, -0.30028238892555237, -0.9612667560577393, -0.9390674829483032, 1.027735710144043, 0.8746353983879089, -0.5274162888526917, -0.30728670954704285, 0.2531388998031616, 0.5438240170478821, -0.3792203962802887, -0.12219709903001785, 0.5924357175827026, 0.4255821704864502, -0.11581335961818695, -0.9279211163520813, 0.2277575433254242, 0.04620462656021118, -0.03899203613400459, 0.4025910198688507, -1.175157904624939, 0.6879249811172485, -0.30004987120628357, -0.2546761631965637, 0.20663855969905853, 0.5483907461166382, 0.3665018379688263, 0.37957486510276794, 0.523089587688446, 0.837799072265625, 0.6281622648239136, -0.16794438660144806, 0.8262392282485962, -0.19237643480300903, 0.2491207867860794, 0.9524329900741577, -0.4921877682209015, 0.4129111170768738, 0.6562416553497314, -0.01768168993294239, 0.5124105215072632, 0.592936635017395, 0.09591858088970184, 0.4182998538017273, 0.037214022129774094, -0.01657484658062458, -0.6053543090820312, -0.41184988617897034, -0.4857577383518219, 0.4526841938495636, 0.42729905247688293, -0.17532289028167725, -0.0030726627446711063, -0.2695760130882263, -0.14187154173851013, 0.03863213211297989, -0.29147449135780334, 0.5322113037109375, 0.17874521017074585, -0.7579534649848938, 0.44163161516189575, -0.032868098467588425, 0.49654847383499146, -0.6937008500099182, 0.12173210084438324, -0.20606856048107147, 0.3290402591228485, -0.36125993728637695, -0.5615492463111877, 0.12379489094018936, -0.42507728934288025, -0.07502353191375732, -0.44640350341796875, 0.9308391213417053, -0.33391478657722473, -0.28221896290779114, 0.16144001483917236, 0.37613052129745483, -0.06440412253141403, 0.25032201409339905, -0.883841335773468, 0.02995341084897518, -0.21893489360809326, -0.2461235076189041, 0.729529857635498, 0.14162731170654297, -0.34581896662712097, 0.5772843956947327, 0.68116694688797, -0.0021735590416938066, -0.393922358751297, 0.14783725142478943, 0.7778003811836243, -0.48472341895103455, -0.46361544728279114, -1.0370162725448608, 0.43516430258750916, -0.015372206456959248, -0.26064419746398926, 0.7562295198440552, 0.43896135687828064, 0.9109249114990234, 0.2640056312084198, 0.2991429567337036, 0.17377805709838867, 0.16365914046764374, -0.554435133934021, 0.3789912760257721, -0.5823701620101929, 0.3120618760585785, -0.4828537106513977, -1.0708415508270264, -0.3401291072368622, 0.5373278260231018, -0.3706780672073364, -0.08569733053445816, 0.48776668310165405, 1.0235611200332642, -0.3380486071109772, -0.02148805558681488, 0.18572063744068146, 0.041183602064847946, 0.0031130649149417877, 0.5447748303413391, 1.0664167404174805, -0.38615110516548157, 0.6133464574813843, -0.13865022361278534, -0.07684609293937683, -0.3849925398826599, -0.7213783860206604, -0.43937474489212036, -0.44411414861679077, -0.4190967082977295, -0.36073750257492065, 0.06594152748584747, 0.5404945015907288, 0.7553108334541321, -0.7099098563194275, -0.34477654099464417, -0.17942963540554047, 0.46390220522880554, -0.5676617622375488, -0.20883610844612122, 0.28309813141822815, 0.03483204543590546, -0.5878844261169434, 0.34716224670410156, 0.09213017672300339, 0.5181990265846252, -0.4267999827861786, -0.1637350618839264, -0.267228901386261, 0.0729510560631752, -0.11244358122348785, 0.457226037979126, -0.5229241251945496, -0.4330049455165863, -0.04440257325768471, -0.329405814409256, -0.2276080846786499, 0.6922873258590698, -0.4281303584575653, 0.16796652972698212, 0.13270115852355957, 0.5576228499412537, 0.11387649923563004, 0.5278192162513733, 0.8202471733093262, -0.763630211353302, -0.11870110034942627, 0.017112063243985176, 0.41636359691619873, 0.3460543155670166, -0.5230416655540466, 0.5121527314186096, 0.294025719165802, -0.7014073729515076, -1.278512716293335, 0.5672595500946045, -0.6860178709030151, -0.23958106338977814, 0.8082625269889832, 0.05456259474158287, -0.10899507254362106, -0.02435053139925003, -0.19673101603984833, 0.20953266322612762, -0.12091837078332901, 0.9545187950134277, 0.9345839023590088, -0.4320588707923889, 0.22996175289154053, -0.2295670509338379, 0.2725198268890381, 1.0167642831802368, -0.2968442142009735, 0.13205598294734955, 0.35136914253234863, 0.061511971056461334, 0.563163161277771, 0.16343075037002563, 0.07899177819490433, 0.398975670337677, -0.059033796191215515, -0.336897611618042, -0.05240969732403755, -0.531551718711853, -0.5501425862312317, 0.2111496478319168, 0.12727801501750946, 0.0054592834785580635 ]
http://arxiv.org/abs/2406.11430v1
http://arxiv.org/pdf/2406.11430v1
A Simple and Effective $L_2$ Norm-Based Strategy for KV Cache Compression
2024-06-17T11:35:16
2024-06-17T11:35:16
Alessio Devoto, Yu Zhao, Simone Scardapane, Pasquale Minervini
cs.CL
cs.CL, cs.AI
The deployment of large language models (LLMs) is often hindered by the extensive memory requirements of the Key-Value (KV) cache, especially as context lengths increase. Existing approaches to reduce the KV cache size involve either fine-tuning the model to learn a compression strategy or leveraging attention scores to reduce the sequence length. We analyse the attention distributions in decoder-only Transformers-based models and observe that attention allocation patterns stay consistent across most layers. Surprisingly, we find a clear correlation between the $L_2$ and the attention scores over cached KV pairs, where a low $L_2$ of a key embedding usually leads to a high attention score during decoding. This finding indicates that the influence of a KV pair is potentially determined by the key embedding itself before being queried. Based on this observation, we compress the KV cache based on the $L_2$ of key embeddings. Our experimental results show that this simple strategy can reduce the KV cache size by 50% on language modelling and needle-in-a-haystack tasks and 90% on passkey retrieval tasks without losing accuracy.
[ -0.2999851405620575, -0.3348811864852905, 0.47611203789711, 0.29255881905555725, -0.5643543004989624, -0.2589291036128998, -0.5191631317138672, -0.29692205786705017, 0.04784811660647392, 0.3468829393386841, -0.33394941687583923, -0.41867125034332275, -0.5902538895606995, -0.2494220733642578, -0.18124884366989136, 0.43364882469177246, 0.2259036749601364, -0.11456641554832458, -0.3285268247127533, -0.003252110444009304, -0.639600396156311, -0.3107648491859436, -0.49772629141807556, -0.0042762234807014465, 0.4901737868785858, 0.5583435297012329, 0.5350133180618286, 0.9020029306411743, 0.5749232172966003, 0.03924413025379181, -0.33727720379829407, 0.20231971144676208, -0.8900694251060486, 0.5330870151519775, 0.27126407623291016, -0.8135712146759033, -0.23924168944358826, -0.07580778002738953, 0.6776728630065918, 0.14826877415180206, -0.06624643504619598, 0.2555006444454193, -0.022569041699171066, 0.865730345249176, -1.0335423946380615, 0.2925055921077728, -0.7523565292358398, 0.15254588425159454, -0.03899964317679405, -0.28978073596954346, -0.8535987138748169, 0.039054024964571, -0.14847716689109802, -0.3079584836959839, 0.08645741641521454, -0.08101455867290497, 0.8120723366737366, 0.6141948699951172, -0.21010057628154755, 0.14838427305221558, -0.5969354510307312, 0.9008892774581909, -0.5681982636451721, 0.5977687239646912, 0.5458181500434875, 0.09344411641359329, 0.1819828301668167, -0.5040468573570251, -0.3764461576938629, 0.23889081180095673, -0.019040297716856003, 0.1141488179564476, 0.006108604371547699, 0.05008251592516899, 0.20791973173618317, 0.1886267066001892, -0.34263330698013306, 0.26260292530059814, -0.40138423442840576, -0.1485939919948578, 0.4150663912296295, 0.11216368526220322, -0.05247470736503601, -0.12382836639881134, -0.2842566668987274, -0.4400627911090851, -1.069716453552246, 0.17861081659793854, 0.24682840704917908, 0.32104477286338806, 0.01075035147368908, 0.4493241012096405, -0.03259148821234703, 0.4391554296016693, 0.24829202890396118, -0.14465804398059845, -0.05191006138920784, -0.19870120286941528, -0.2681175172328949, 0.010451588779687881, 0.46534839272499084, 0.6567854285240173, 0.3614797294139862, -0.341724157333374, -0.18992716073989868, 0.12283782660961151, 0.5437480211257935, -0.8854355812072754, -0.23158478736877441, 0.06618793308734894, -0.5406670570373535, -0.42275092005729675, -0.22585704922676086, -0.7854747772216797, -0.007227221503853798, -0.043115727603435516, 0.40416625142097473, 0.02450878731906414, 0.08192813396453857, 0.1935252845287323, -0.031596776098012924, 0.5407248139381409, 0.22583188116550446, -1.0171635150909424, 0.41069313883781433, 0.5346717834472656, 0.9806891679763794, -0.2638547122478485, 0.31209948658943176, -0.5460609197616577, 0.10888463258743286, -0.22184903919696808, 0.5781090259552002, -0.5050749182701111, -0.510686993598938, 0.13469001650810242, -0.13120099902153015, 0.2329297810792923, -0.5321214199066162, 0.5556045174598694, -0.9116112589836121, -0.4287944734096527, -0.5655725598335266, -0.4471516013145447, 0.025311928242444992, 0.20140378177165985, -0.9561421871185303, 1.2191524505615234, 0.290836364030838, -0.46620020270347595, 0.039252303540706635, -0.16392233967781067, -0.42509108781814575, -0.22588925063610077, -0.1244533360004425, -0.5103598237037659, 0.39270666241645813, 0.4289802610874176, 0.6354213356971741, -0.4741831123828888, -0.24490748345851898, -0.11946437507867813, -0.48903924226760864, -0.026364492252469063, -0.30212512612342834, 0.37705594301223755, 0.26222261786460876, -0.22381266951560974, -0.4276706576347351, -0.27658551931381226, 0.21550250053405762, 0.2585000693798065, -0.5711811184883118, -0.2879771888256073, -0.07170165330171585, 0.18119992315769196, 0.28161799907684326, 0.1361670047044754, -0.2729392349720001, 0.5902944207191467, -0.5339217185974121, 0.36852791905403137, 0.7622038125991821, 0.027323691174387932, 0.6846947073936462, -0.242064967751503, 0.3240961730480194, 0.13525277376174927, 0.2017267644405365, -0.108921118080616, -0.3425939083099365, -1.0919543504714966, -0.22758519649505615, 0.2601611614227295, 0.404865026473999, -0.11143456399440765, 0.3314054012298584, -0.6829648017883301, -0.29697108268737793, -0.9106408357620239, 0.3105519413948059, 0.3967297375202179, 0.18459796905517578, 0.49939242005348206, -0.3544785976409912, -0.3840540051460266, -1.1190176010131836, -0.16979733109474182, -0.05235528200864792, 0.1702824980020523, 0.6867298483848572, 0.08347868174314499, 0.027447544038295746, 0.9613823890686035, -0.5675871968269348, -0.33095937967300415, -0.21872945129871368, -0.186656191945076, -0.021095219999551773, 0.4335680305957794, 0.19099578261375427, -0.7566998600959778, -0.6449047327041626, -0.3726092576980591, -0.24619194865226746, -0.023663997650146484, -0.05938804894685745, 0.042860355228185654, 0.25836342573165894, 0.5460666418075562, -0.8354781866073608, 0.4511299133300781, 0.37040117383003235, 0.08484885096549988, 0.3028274178504944, -0.0842222198843956, -0.17085683345794678, -0.9132523536682129, 0.03728440776467323, -0.25124403834342957, -0.45973095297813416, -0.5185300707817078, 0.3160969614982605, 0.43523550033569336, 0.2105492204427719, -0.5893024206161499, 0.46402519941329956, -0.565222978591919, -0.1370646357536316, -0.03683343902230263, 0.043864451348781586, 0.03461029753088951, 0.6988933086395264, -0.09693087637424469, 0.8979635238647461, 0.15432608127593994, -0.6169632077217102, 0.0265648290514946, 0.3064068853855133, -0.5543520450592041, 0.18828034400939941, -0.7146480083465576, 0.5352969765663147, -0.1703718602657318, 0.31319448351860046, -1.1701122522354126, 0.1673634797334671, -0.23194065690040588, -0.37460899353027344, 0.7744534611701965, -0.23413458466529846, -0.8071425557136536, -0.14820633828639984, -0.5433221459388733, 0.666959285736084, 1.0462185144424438, -0.5222595930099487, 0.18495914340019226, 0.4005127549171448, 0.13244085013866425, -0.5963422060012817, -0.8736082315444946, 0.10818907618522644, -0.2102794647216797, -0.6105878949165344, 0.532231867313385, -0.15974965691566467, -0.026666870340704918, -0.06770996749401093, -0.32147929072380066, 0.1134897843003273, 0.06305525451898575, 0.15570947527885437, -0.0004965309053659439, -0.1784287989139557, 0.40266939997673035, 0.15171337127685547, -0.10855570435523987, -0.061255767941474915, -0.3193279504776001, 0.6482654213905334, 0.11980293691158295, -0.09314712882041931, -0.3917526304721832, 0.37837275862693787, 0.7748633623123169, -0.09584259241819382, 0.7593461871147156, 0.4515945315361023, -0.1934008151292801, -0.37026846408843994, -0.807794451713562, -0.49296700954437256, -0.4616822600364685, 0.3145992159843445, -0.34820666909217834, -1.073642611503601, 0.4864041209220886, -0.21375709772109985, -0.05506248027086258, 0.3181535303592682, 0.8712425827980042, 0.007032043766230345, 0.9899815320968628, 0.462236613035202, -0.4738202691078186, 0.18012656271457672, -0.47201353311538696, 0.41024425625801086, -1.270223617553711, -0.1367708295583725, -0.39417749643325806, -0.6613999009132385, -0.283382773399353, -0.853916347026825, 0.372021347284317, 0.30142447352409363, -0.07562950998544693, 0.14866262674331665, -0.6543152928352356, 0.668152391910553, 0.18124069273471832, 0.2175689935684204, -0.0257246233522892, 0.15772630274295807, -0.0943896621465683, -0.1664014309644699, -0.7551978826522827, -0.07668039947748184, 1.140555739402771, 0.41798558831214905, 0.8007935881614685, 0.31251055002212524, 0.4680999517440796, 0.3594169616699219, -0.04104262590408325, -1.0220609903335571, 0.38898220658302307, 0.07300786674022675, -0.3890674412250519, -0.1690063625574112, -0.1367223709821701, -0.7356318235397339, -0.004055792465806007, 0.08258917182683945, -0.7985808849334717, 0.08452849090099335, 0.02588168904185295, -0.3592097759246826, 0.12640032172203064, -0.3956044316291809, 0.5399850010871887, 0.22545406222343445, -0.39198678731918335, -0.4002443253993988, -0.8375054001808167, 0.2848087549209595, 0.006795413792133331, 0.02562006004154682, 0.15473692119121552, -0.17841912806034088, 0.724053144454956, -0.2846929132938385, 0.8686888813972473, -0.10928268730640411, -0.09392216056585312, 0.254014790058136, 0.23875096440315247, 1.1705878973007202, 0.1947268545627594, 0.1042393296957016, -0.1496245115995407, -0.34756600856781006, -0.4837431013584137, -0.8415292501449585, 0.9407498240470886, -1.0239923000335693, -0.6599219441413879, 0.19653606414794922, -0.705000102519989, -0.1800982803106308, -0.19536173343658447, 0.2474825382232666, 0.26243019104003906, 0.08636869490146637, 0.4733750820159912, 1.1898092031478882, -0.0684397965669632, 0.44888150691986084, 0.2594364285469055, 0.3256917893886566, -0.1306476891040802, 0.5104909539222717, 0.166726753115654, 0.5972039103507996, 0.6156339645385742, 0.08634192496538162, -0.33788150548934937, -0.2863066792488098, -0.10981031507253647, 0.2075977772474289, -1.0476794242858887, -0.49069806933403015, -0.8568058013916016, -0.3040642738342285, -0.5401732325553894, -0.34911614656448364, -0.7328336238861084, -0.4716106057167053, -0.38196712732315063, 0.015608591958880424, 0.5661365985870361, 0.2438090741634369, 0.009525034576654434, 0.3437727689743042, -0.6164819002151489, 0.08426620066165924, 0.47394388914108276, 0.2930101454257965, 0.3095475733280182, -0.7503543496131897, -0.47900861501693726, -0.12287026643753052, -0.09066183120012283, -0.7556042671203613, 0.4850103259086609, 0.24359242618083954, 0.26381218433380127, 0.4338199198246002, 0.19908064603805542, 0.6738708019256592, -0.5498747229576111, 0.8795010447502136, -0.025191396474838257, -0.7900382280349731, 0.32210761308670044, -0.03249722346663475, 0.458493173122406, 0.5222383737564087, -0.004717069678008556, -0.5002650022506714, -0.24743874371051788, -0.5889279246330261, -0.9920283555984497, 0.552169919013977, 0.2296709418296814, 0.40604186058044434, -0.12629593908786774, 0.5920473337173462, -0.26062700152397156, -0.08983208984136581, -0.546122670173645, -0.35325759649276733, 0.09261554479598999, -0.27939513325691223, -0.03328251466155052, -0.6978934407234192, 0.11010951548814774, -0.27329036593437195, 0.38463419675827026, 0.08173979818820953, 0.7426428198814392, 0.2229876071214676, -0.4088481664657593, -0.16602486371994019, 0.1997595727443695, 0.7540817260742188, -0.09166666865348816, -0.3239954710006714, 0.5023685693740845, 0.22178953886032104, -0.5488654375076294, 0.2388923168182373, -0.5806857347488403, -0.07996286451816559, -0.03542270511388779, 0.024528373032808304, 0.7388009428977966, 0.4576382040977478, -0.5063072443008423, 0.7037209272384644, -0.0030463719740509987, 0.04488525167107582, -0.038599371910095215, 0.00905044749379158, 0.33558452129364014, 0.22125089168548584, 0.08237645030021667, -0.2640747129917145, -0.039073556661605835, -0.10221470147371292, 0.16321928799152374, 0.4032869040966034, -0.6186866164207458, -0.27423104643821716, 0.4271605312824249, 0.0508723258972168, -0.2763732969760895, 0.8743519186973572, -0.09668494760990143, -0.585652768611908, 0.5692727565765381, 0.7276331186294556, 0.7890191674232483, -0.23742881417274475, -0.31285667419433594, 0.5274273157119751, 0.5370587706565857, -0.443055123090744, 0.17282713949680328, -0.3885958194732666, -0.6035711765289307, -0.41248324513435364, -0.5522498488426208, 0.2037682980298996, 0.4369906783103943, -0.8339433670043945, 0.35173383355140686, -0.31293901801109314, 0.019325435161590576, -0.38884472846984863, 0.017469365149736404, -0.997922420501709, 0.0018423357978463173, 0.07075327634811401, 0.9908005595207214, -0.6615023016929626, 1.1111836433410645, -0.04232177138328552, -0.2064257115125656, -0.8284829258918762, -0.1295410394668579, 0.03617298975586891, -0.9271169304847717, 0.8928743600845337, 0.27148306369781494, 0.14698877930641174, 0.3171570301055908, -0.534869909286499, -1.13026762008667, 1.0682157278060913, 0.09665904194116592, -0.7294643521308899, -0.06070234626531601, -0.05781305953860283, 0.29956701397895813, -0.28631144762039185, -0.060869451612234116, 0.5984305739402771, 0.5582064390182495, -0.10201263427734375, -0.7375189661979675, 0.19286112487316132, -0.3141981363296509, 0.17456334829330444, 0.4370017349720001, -0.7463308572769165, 0.6200650334358215, -0.2135004997253418, -0.4030725955963135, 0.07651480287313461, 0.45881080627441406, -0.1634174883365631, -0.37352368235588074, 0.45594507455825806, 0.988627552986145, 0.364173948764801, 0.3079083561897278, 1.0605942010879517, -0.46787723898887634, 0.5721487998962402, 0.8447048664093018, -0.10195565223693848, 1.0859341621398926, 0.8522967100143433, -0.119167760014534, 0.17255908250808716, 0.48458126187324524, -0.09976375848054886, 1.0148749351501465, 0.3828967809677124, -0.09780455380678177, -0.4590960741043091, -0.1149490550160408, -0.21511933207511902, 0.3756776750087738, 0.5273844003677368, -0.4734448194503784, -0.15823066234588623, -0.25645145773887634, 0.17740964889526367, -0.36369553208351135, -0.07115516811609268, 0.7162138819694519, 0.23697584867477417, -0.6893669962882996, 0.8512080311775208, 0.07377412915229797, 0.414420485496521, -0.28490781784057617, 0.11767978966236115, -0.17453818023204803, 0.12655439972877502, 0.13012999296188354, -0.5107854604721069, 0.03428419679403305, -0.14955545961856842, -0.6022837162017822, -0.15799959003925323, 0.6236156225204468, -0.5141103267669678, -0.15505453944206238, 0.13214221596717834, 0.2666729688644409, 0.111432746052742, 0.021852761507034302, -0.250901460647583, 0.31436970829963684, -0.24147382378578186, -0.46364009380340576, 0.5973778963088989, -0.03364109620451927, 0.09203384816646576, 0.42429715394973755, 0.6470466256141663, 0.0838100016117096, 0.033359698951244354, -0.06366828083992004, 1.0804650783538818, -0.34742313623428345, -0.5945907831192017, -0.867815375328064, 0.42997801303863525, 0.050606418401002884, -0.007332306355237961, 0.5953779220581055, 0.4583986699581146, 0.4616508185863495, -0.06255566328763962, 0.6321551203727722, 0.3925009071826935, -0.04436435177922249, -0.6263105273246765, 0.6317492723464966, -0.6478273272514343, 0.32500460743904114, -0.020533360540866852, -0.9885105490684509, -0.48179134726524353, 0.6962573528289795, 0.1788462996482849, -0.1210475042462349, 0.6028050780296326, 0.9828805327415466, -0.17322926223278046, -0.503424346446991, 0.3938233256340027, 0.2888398766517639, 0.36301887035369873, 0.909942090511322, 0.37616345286369324, -0.5648148059844971, 0.5089182257652283, -0.039083659648895264, 0.030632739886641502, -0.7303236722946167, -0.7551968693733215, -0.9147371649742126, -0.534996509552002, -0.019380472600460052, -0.4201464056968689, 0.09334015846252441, 0.7497723698616028, 0.9026703834533691, -0.3386157751083374, 0.08976586163043976, -0.08898479491472244, -0.13460202515125275, -0.1768484264612198, -0.18756818771362305, 0.7132685780525208, -0.5757713913917542, -0.4148962199687958, 0.3645815849304199, 0.6323487162590027, -0.1182108148932457, -0.4582425057888031, -0.20184528827667236, -0.01963181048631668, 0.3757941722869873, 0.5426542162895203, 0.018390154466032982, -1.045249104499817, -0.43802809715270996, 0.40622588992118835, -0.45208480954170227, 0.19297243654727936, 0.9118803143501282, -0.9536945819854736, 0.719828724861145, 0.5845538377761841, 0.8306651711463928, 0.7147401571273804, -0.2968972623348236, 0.44431284070014954, -1.1541420221328735, 0.3350012004375458, 0.22601112723350525, 0.13620874285697937, 0.15267632901668549, -0.654873788356781, 0.32446053624153137, 0.11752627044916153, -0.6070252060890198, -0.8794000744819641, 0.27652087807655334, -1.2546330690383911, -0.23301322758197784, 1.6012041568756104, -0.03515849635004997, -0.24151726067066193, 0.01793714612722397, -0.07294680178165436, 0.2948445677757263, -0.4628508985042572, 1.0868569612503052, 0.7562346458435059, 0.4602743089199066, -0.5320333242416382, -0.5720628499984741, 0.7345019578933716, 0.580230176448822, -0.3723474144935608, 0.27154332399368286, 0.02311812713742256, 0.019248738884925842, 0.10915783047676086, 0.39450353384017944, -0.08848495781421661, 0.4398605525493622, -0.09645294398069382, -0.07675047218799591, -0.07010120153427124, -0.357205867767334, -0.4117739200592041, 0.07121381908655167, 0.10440985858440399, 0.0050924308598041534 ]
http://arxiv.org/abs/2406.11429v1
http://arxiv.org/pdf/2406.11429v1
Fusion Makes Perfection: An Efficient Multi-Grained Matching Approach for Zero-Shot Relation Extraction
2024-06-17T11:31:48
2024-06-17T11:31:48
Shilong Li, Ge Bai, Zhang Zhang, Ying Liu, Chenji Lu, Daichi Guo, Ruifang Liu, Yong Sun
cs.CL
cs.CL, cs.AI
Predicting unseen relations that cannot be observed during the training phase is a challenging task in relation extraction. Previous works have made progress by matching the semantics between input instances and label descriptions. However, fine-grained matching often requires laborious manual annotation, and rich interactions between instances and label descriptions come with significant computational overhead. In this work, we propose an efficient multi-grained matching approach that uses virtual entity matching to reduce manual annotation cost, and fuses coarse-grained recall and fine-grained classification for rich interactions with guaranteed inference speed. Experimental results show that our approach outperforms the previous State Of The Art (SOTA) methods, and achieves a balance between inference efficiency and prediction accuracy in zero-shot relation extraction tasks. Our code is available at https://github.com/longls777/EMMA.
[ -0.4828922748565674, -0.7297821640968323, 0.8186737298965454, 0.05988704785704613, -0.111728236079216, -0.22408615052700043, 0.21166740357875824, -0.949073076248169, 0.1717519313097, 0.5958605408668518, -0.49510616064071655, -0.26106470823287964, -0.32306787371635437, -0.08778184652328491, -0.40481024980545044, 0.9361912608146667, 0.03034808672964573, -0.17268306016921997, -0.5158692002296448, -0.1564662754535675, -0.2717243432998657, -0.21960052847862244, -0.19020652770996094, -0.6001881957054138, 0.465836763381958, 0.37074902653694153, 0.6302114129066467, 1.3043030500411987, 0.4374544024467468, 0.2999493479728699, 0.1347544640302658, 0.34086963534355164, -0.5501834154129028, 0.40695035457611084, -0.21609562635421753, -0.03851470723748207, -0.5386244058609009, -0.07345593720674515, 0.3031005859375, 0.2890032231807709, 0.25996264815330505, 0.4100029170513153, -0.1889622062444687, 0.09500139206647873, -1.2081674337387085, 0.2873159646987915, -1.0293934345245361, 0.09761711955070496, -0.40348291397094727, -0.3587675094604492, -0.27499884366989136, 0.03780363127589226, -0.06354113668203354, -0.7152436971664429, 0.27121925354003906, -0.03257141634821892, 1.6147582530975342, 0.08871232718229294, -0.3024214804172516, 0.2192288041114807, -1.0315651893615723, 0.4924905598163605, -0.26061350107192993, 0.30169132351875305, 0.3386974036693573, 0.5544283390045166, -0.22653314471244812, -0.5237260460853577, -0.7794660925865173, 0.18489103019237518, -0.22741220891475677, 0.26011496782302856, 0.031988900154829025, 0.2454259991645813, 0.17093659937381744, 0.6663749814033508, -0.377934068441391, -0.10825762897729874, -0.04178246483206749, -0.10065615177154541, 0.4662576913833618, 0.15836426615715027, 0.1120937168598175, -0.1698688417673111, -0.46797075867652893, -0.14253664016723633, -0.250522643327713, -0.350224107503891, -0.14068056643009186, 0.3910292088985443, 0.0783318430185318, 0.6598168611526489, -0.4090162217617035, 0.8872383236885071, -0.0309479758143425, -0.30983680486679077, 0.1383567452430725, -0.5857110619544983, -0.42885759472846985, 0.16036422550678253, 0.8733492493629456, 0.5379619002342224, 0.38681545853614807, -0.360031396150589, 0.24651408195495605, 0.6079957485198975, 0.06704223155975342, -0.8649876713752747, -0.23146802186965942, 0.17000344395637512, 0.13154323399066925, -0.28173425793647766, 0.15023472905158997, -0.9011049866676331, -0.09838173538446426, -0.26725292205810547, 0.7015662789344788, -0.509277880191803, -0.17826968431472778, -0.12913736701011658, -0.36793383955955505, 0.8416633009910583, 0.13653039932250977, -0.8562006950378418, 0.05591900646686554, 1.0561469793319702, 0.7779054045677185, 0.33772042393684387, -0.3013729155063629, -0.7380218505859375, 0.4988648295402527, -0.22258232533931732, 1.1102577447891235, -0.6528424620628357, -0.20308423042297363, -0.10217754542827606, -0.16935086250305176, 0.0008415115298703313, -0.40948936343193054, 0.519665539264679, -0.34689828753471375, -0.19091396033763885, -0.02591659501194954, -0.6103639006614685, 0.0032426274847239256, 0.4609106183052063, -0.40165096521377563, 0.9604496955871582, 0.15950855612754822, -0.5422675609588623, 0.22967186570167542, -0.052065640687942505, -0.36309415102005005, 0.23402367532253265, -0.260775089263916, -0.48161306977272034, -0.009355300106108189, 0.1800464689731598, 0.6143937706947327, -0.2223009318113327, 0.17278988659381866, -0.9828004837036133, -0.2954303026199341, -0.2302495390176773, 0.06038675829768181, 0.24301673471927643, 0.16080042719841003, -0.1821405440568924, 0.08572327345609665, -1.0280790328979492, 0.03580860048532486, 0.22147080302238464, 0.2672916054725647, -0.6192927956581116, -0.44024842977523804, -0.05516274273395538, 0.5047819018363953, 0.052218541502952576, -0.7937569618225098, 0.21073472499847412, -0.4764520525932312, 0.00007657074456801638, 0.5032534599304199, -0.07442876696586609, 0.7280859351158142, -0.05879877880215645, 0.015268542803823948, 0.08876433223485947, 0.13341140747070312, -0.7088948488235474, -0.17637112736701965, -0.7440487146377563, -0.20310285687446594, 0.4906693696975708, 0.5050598978996277, -1.036604881286621, 0.48787641525268555, -0.47560930252075195, -0.8759002685546875, -0.8156766295433044, 0.03308332338929176, 0.9016847014427185, 0.7533541321754456, 0.4608931243419647, -0.521059513092041, -0.4456232190132141, -0.8730373978614807, -0.11962731927633286, 0.07507102936506271, -0.16780279576778412, 0.44856593012809753, 0.16790303587913513, -0.21245263516902924, 1.1230632066726685, -0.7835198044776917, -0.6899276971817017, 0.04100365936756134, -0.011745833791792393, -0.1437947154045105, 0.44171929359436035, 0.6833612322807312, -0.5834965705871582, -0.6465669870376587, 0.5668044686317444, -1.2789584398269653, 0.06303022056818008, -0.04082478955388069, -0.6266430020332336, -0.25786566734313965, 0.1765541285276413, -0.6502488851547241, 0.3520207703113556, 0.3169371783733368, -0.3578208088874817, 0.2049824744462967, 0.06262477487325668, 0.15695738792419434, -1.1705105304718018, -0.043521203100681305, 0.34714075922966003, -0.533359706401825, -0.7590188980102539, 0.37504851818084717, 0.22950716316699982, -0.05270347371697426, -0.6645061373710632, 0.804391622543335, -0.4639759957790375, -0.27362608909606934, -0.20906883478164673, 0.4279366731643677, 0.16887836158275604, 0.38084354996681213, -0.04266393929719925, 0.44548267126083374, 0.8070220947265625, -0.5793910026550293, 0.2380361258983612, 0.447282075881958, 0.3148959279060364, 0.8122240304946899, -0.19279545545578003, -0.06859457492828369, -0.21749064326286316, 0.17569851875305176, -0.5332103967666626, -0.4975171685218811, 0.20973236858844757, -0.3835977017879486, 0.4705895185470581, -0.0683426707983017, -0.25048670172691345, -0.1273418813943863, -0.6506651043891907, 0.17604891955852509, 0.12441540509462357, -0.5438472628593445, 0.8975306153297424, 0.45989683270454407, 0.2815134525299072, -0.45618516206741333, -0.3838275074958801, 0.001446642680093646, 0.186769038438797, -0.43679770827293396, 0.6627382040023804, 0.16657447814941406, 0.09023654460906982, 0.23091617226600647, -0.49954092502593994, -0.5662907958030701, 0.028684284538030624, 0.492863267660141, 0.4079391062259674, -0.2684114873409271, -0.12671242654323578, 0.0006342024425975978, -0.41567280888557434, -0.5795833468437195, 0.2103484570980072, 0.5350123047828674, 0.08685144782066345, 0.07338958233594894, -0.519904375076294, 0.26397377252578735, 0.80184006690979, -0.14281238615512848, 0.7938565611839294, 0.8082998394966125, -0.432481974363327, 0.29008233547210693, -0.7919464707374573, -0.12250985950231552, -0.45724377036094666, 0.2009919434785843, -0.734550416469574, -0.7752954363822937, 0.2754133939743042, -0.034844961017370224, 0.17654111981391907, 0.4690783619880676, 0.019664714112877846, 0.07956278324127197, 0.5189799666404724, 0.6187629103660583, -0.19414637982845306, 0.32294729351997375, -0.11460166424512863, 0.19416090846061707, -0.8430901765823364, -0.42092248797416687, -0.626142680644989, 0.05545572191476822, -0.5305097699165344, -0.24493473768234253, 0.03682684898376465, 0.3116143047809601, 0.009175016544759274, 0.9572606086730957, -0.5344830751419067, 0.7484056353569031, 0.565302848815918, 0.02051636576652527, 0.4015059769153595, -0.16046424210071564, 0.3612273931503296, 0.01246623694896698, -0.4930686950683594, -0.17694500088691711, 0.6609280705451965, -0.11337950825691223, 0.314310759305954, -0.19597703218460083, 0.987493097782135, -0.3375622034072876, 0.2859613299369812, -0.9617456793785095, 0.5858018398284912, -0.10066238790750504, -0.4956018924713135, -0.13880391418933868, -0.7417887449264526, -1.1637541055679321, 0.37486395239830017, -0.8471987843513489, -0.7954725027084351, -0.037014078348875046, 0.37959903478622437, -0.6185500025749207, 0.2534705698490143, -0.7627402544021606, 0.9771049618721008, 0.06987666338682175, -0.5246390104293823, 0.1513892114162445, -0.6880248785018921, 0.7116121053695679, -0.27859818935394287, 0.09136009216308594, -0.49192890524864197, 0.45761045813560486, 0.23271526396274567, -0.25198617577552795, -0.015923406928777695, 0.18999961018562317, 0.34167757630348206, 0.01258249580860138, 0.29895904660224915, 0.10192370414733887, -0.21608076989650726, -0.09042070060968399, 0.3758838474750519, 0.19158615171909332, -0.4205877184867859, -0.597481906414032, 0.990486204624176, -0.4356095790863037, -0.16550400853157043, -0.5997388958930969, -0.46992072463035583, -0.0666179209947586, 0.299322247505188, 0.04458240419626236, 0.28682178258895874, -0.19190755486488342, -0.06843409687280655, 0.4573707580566406, 0.08899123221635818, 0.6604088544845581, 0.4101884663105011, -0.24251528084278107, -0.3509448766708374, 1.109307050704956, 0.19215017557144165, 0.07728779315948486, 0.4559454917907715, 0.03468126058578491, -0.14953601360321045, 0.11201944947242737, -0.6620336174964905, 0.30625998973846436, -0.1161855086684227, -0.7531783580780029, -0.9733984470367432, -0.37131091952323914, -0.5910428166389465, -0.2165125459432602, -0.6184054017066956, 0.027693618088960648, -0.26314592361450195, 0.08800060302019119, 0.3526291251182556, 0.3864469826221466, -0.0031606080010533333, 0.4532701373100281, -1.35979425907135, 0.7008146643638611, 0.5680275559425354, 0.374490886926651, 0.0006501066382043064, -0.09321538358926773, 0.09771699458360672, -0.2494787722826004, -0.6400251984596252, -0.8634943962097168, 0.21240516006946564, 0.6215153336524963, 0.20270977914333344, 0.5692213773727417, 0.15740984678268433, 1.4120292663574219, -0.5300613641738892, 0.5760126113891602, 0.3457895517349243, -0.8619197607040405, 0.4471544623374939, -0.057858649641275406, 0.20317892730236053, 0.7886144518852234, 0.3826170563697815, -0.1055513545870781, -0.17862161993980408, -0.9157496690750122, -1.036056637763977, 0.7836880087852478, 0.42025673389434814, 0.06121659651398659, 0.0052162944339215755, 0.5590903162956238, -0.043181728571653366, 0.005288307089358568, -0.5333109498023987, -0.4553825557231903, 0.30031484365463257, -0.1267346441745758, 0.08871377259492874, -0.29777851700782776, 0.1909738928079605, -0.27152007818222046, 0.839417576789856, 0.03392061963677406, 0.1423710286617279, 0.1398710459470749, 0.014015255495905876, -0.2227516919374466, -0.04474060609936714, 0.10570944845676422, 0.276966392993927, -0.3075556457042694, 0.3025679290294647, 0.11656443029642105, 0.027864856645464897, 0.11675114184617996, 0.34770479798316956, -0.28795915842056274, 0.28603944182395935, 0.29853901267051697, 0.7479500770568848, 0.529900312423706, -0.3510687053203583, 0.594995379447937, -0.11639636754989624, -0.18222448229789734, 0.07792139798402786, 0.24610602855682373, 0.0023128949105739594, 0.2735006809234619, -0.1435687094926834, 0.04602287337183952, 0.170808345079422, -0.9055730700492859, 0.5969053506851196, 0.6141859889030457, -0.5539432168006897, -0.3539767861366272, 0.6491694450378418, 0.16956034302711487, -0.4385150969028473, 0.42298072576522827, -0.4023532569408417, -0.22485701739788055, 0.13965101540088654, 0.3965207636356354, 0.7432286143302917, -0.4245885908603668, 0.2932031452655792, 0.5070663094520569, -0.28097423911094666, -0.2558479607105255, -0.2312554568052292, -0.3262636959552765, -0.749323844909668, -0.5791985988616943, -1.1415846347808838, -0.3177529275417328, 0.0626605674624443, -0.7404927015304565, 0.4064966142177582, -0.26362720131874084, 0.045208293944597244, 0.6719858050346375, -0.30963441729545593, -0.5723534822463989, 0.05009276792407036, 0.21560977399349213, 0.5177385210990906, -0.9547803997993469, 0.8826869130134583, 0.22657577693462372, -0.47113698720932007, -0.9005406498908997, -0.26763254404067993, 0.024170001968741417, -0.580177903175354, -0.07428506761789322, 0.5578348636627197, 0.0731317549943924, 0.08253205567598343, -0.2124701589345932, -0.7003908157348633, 0.8217207789421082, 0.7888873219490051, -0.6646367311477661, 0.11168316006660461, -0.08870352804660797, 0.3600907623767853, -0.10160476714372635, 0.5668790936470032, 1.0456047058105469, 0.2702026665210724, 0.7092707753181458, -1.1112459897994995, -0.22869642078876495, -0.03639216348528862, -0.05786388739943504, 0.7577595710754395, -0.44552624225616455, 0.5751556158065796, 0.28363242745399475, -0.40605515241622925, 0.006684229243546724, 0.6347485184669495, 0.18802696466445923, 0.7615271806716919, 0.13454242050647736, 0.9218557476997375, 0.2207135409116745, -0.17721684277057648, 0.8660781383514404, -0.27107012271881104, 0.6634077429771423, 1.4775679111480713, -0.5983303785324097, 0.8388515710830688, 0.3494901657104492, 0.021357566118240356, 0.10123074054718018, 0.5281834602355957, -0.04360874369740486, 0.38977882266044617, -0.28325116634368896, -0.30483680963516235, -0.529465913772583, -0.6148724555969238, -0.2649976909160614, 0.6178915500640869, -0.07043690234422684, -0.22612138092517853, -0.7802918553352356, -0.31815245747566223, 0.17237605154514313, 0.2530003488063812, -0.2939828634262085, 1.2570843696594238, 0.12933696806430817, -0.5191100239753723, 0.3498656451702118, -0.34453555941581726, 0.6272063255310059, -0.5178740620613098, -0.3222750723361969, 0.023139944300055504, 0.18788015842437744, -0.23902545869350433, -0.726445198059082, 0.4307743012905121, -0.2024695873260498, -0.13019892573356628, 0.15053848922252655, 0.8883148431777954, -0.7083900570869446, -0.30903634428977966, 0.5764607787132263, 0.4394068121910095, 0.15252093970775604, -0.3805679976940155, -0.36655718088150024, 0.02328219637274742, -0.17181165516376495, 0.09890282154083252, 0.6304090023040771, 0.4918346703052521, 0.14385280013084412, 0.22496725618839264, 0.7446082234382629, -0.0012929479125887156, -0.16598649322986603, -0.3998574912548065, 0.8197523355484009, -0.6461685299873352, 0.09484551101922989, -1.2667450904846191, 0.32035019993782043, -0.47428444027900696, -0.22907193005084991, 0.5692805051803589, 0.657429039478302, 0.9842097163200378, -0.16465485095977783, 0.3863605260848999, -0.014996175654232502, -0.041906148195266724, -0.019099336117506027, 0.2637485861778259, -0.4077173173427582, -0.465515673160553, -0.5992258787155151, -1.4922795295715332, -0.6375991702079773, 0.5142046809196472, 0.18539182841777802, -0.45640453696250916, 0.3703314960002899, 0.8384348750114441, -0.43970975279808044, -0.2315637469291687, 0.727651059627533, -0.016740180552005768, 0.37122642993927, 0.6329346299171448, 0.189054936170578, -0.8840497732162476, 0.5316466093063354, -0.5106461048126221, -0.36737456917762756, -0.19132889807224274, -0.86054527759552, -0.4911192059516907, -0.3274674117565155, -0.4525175392627716, -0.3649594783782959, -0.08147251605987549, 0.9697255492210388, 0.806795060634613, -0.49629631638526917, 0.0688997134566307, 0.008629826828837395, -0.056087713688611984, -0.11520807445049286, -0.2121652364730835, 0.13301144540309906, -0.06543716043233871, -0.7801374793052673, 0.19362802803516388, 0.8222801685333252, 0.14403007924556732, 0.25186803936958313, 0.19554363191127777, -0.3630504906177521, 0.0855884924530983, 0.9277549386024475, 0.5493034720420837, -0.5883841514587402, -0.3685276508331299, -0.3396444320678711, 0.0048308405093848705, 0.12687161564826965, 0.30949196219444275, -0.6905312538146973, 0.7692123651504517, 0.2659153342247009, 0.8724485635757446, 0.8962475657463074, 0.14524619281291962, 0.3287906348705292, -0.6796685457229614, 0.2160545140504837, -0.005392133723944426, 0.11979741603136063, 0.2878912389278412, -0.23764115571975708, 0.702873706817627, 0.26647332310676575, -0.3749786913394928, -0.8529376983642578, 0.26046761870384216, -1.3776829242706299, -0.05082426965236664, 1.026465892791748, -0.24501170217990875, -0.593560516834259, -0.0666709691286087, -0.22996777296066284, 0.5666062235832214, -0.2276858687400818, 0.8261734247207642, 0.1936260163784027, -0.11399561166763306, -0.21929162740707397, -0.1501491814851761, 0.30220678448677063, 0.07399145513772964, -0.8761898875236511, 0.01492455042898655, 0.31276819109916687, -0.002819985384121537, 0.5085776448249817, 0.5252249836921692, 0.11853958666324615, 0.066046804189682, 0.08566267043352127, 0.2806205451488495, -0.25441625714302063, -0.42707446217536926, 0.05717923492193222, 0.35891062021255493, -0.20809638500213623, -0.4175752103328705 ]
http://arxiv.org/abs/2406.11427v1
http://arxiv.org/pdf/2406.11427v1
DiTTo-TTS: Efficient and Scalable Zero-Shot Text-to-Speech with Diffusion Transformer
2024-06-17T11:25:57
2024-06-17T11:25:57
Keon Lee, Dong Won Kim, Jaehyeon Kim, Jaewoong Cho
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG, cs.SD
Large-scale diffusion models have shown outstanding generative abilities across multiple modalities including images, videos, and audio. However, text-to-speech (TTS) systems typically involve domain-specific modeling factors (e.g., phonemes and phoneme-level durations) to ensure precise temporal alignments between text and speech, which hinders the efficiency and scalability of diffusion models for TTS. In this work, we present an efficient and scalable Diffusion Transformer (DiT) that utilizes off-the-shelf pre-trained text and speech encoders. Our approach addresses the challenge of text-speech alignment via cross-attention mechanisms with the prediction of the total length of speech representations. To achieve this, we enhance the DiT architecture to suit TTS and improve the alignment by incorporating semantic guidance into the latent space of speech. We scale the training dataset and the model size to 82K hours and 790M parameters, respectively. Our extensive experiments demonstrate that the large-scale diffusion model for TTS without domain-specific modeling not only simplifies the training pipeline but also yields superior or comparable zero-shot performance to state-of-the-art TTS models in terms of naturalness, intelligibility, and speaker similarity. Our speech samples are available at https://ditto-tts.github.io.
[ -0.23934999108314514, -0.8938125967979431, 0.6404998302459717, 0.13443952798843384, -0.5048781633377075, 0.1653129607439041, -0.0377783440053463, 0.055926211178302765, 0.3055131733417511, -0.04718388244509697, -0.4650461673736572, -0.2792057693004608, -1.104907751083374, 0.05229899287223816, -0.8904563784599304, 0.9050655364990234, 0.21190419793128967, -0.0776192918419838, 0.16678071022033691, 0.11190731823444366, -0.3523368537425995, -0.007740600500255823, -0.7146881818771362, -0.16729366779327393, 0.5052585601806641, 0.18069715797901154, 0.5379132628440857, 0.5930561423301697, 0.22387957572937012, 0.27175256609916687, -0.3608485758304596, -0.2622353434562683, -0.4390771985054016, 0.16689662635326385, -0.21276062726974487, -0.07791753113269806, -0.43175116181373596, -0.4368741512298584, 0.7396726608276367, 0.5139176249504089, -0.4078023433685303, 0.1425996571779251, 0.05544368922710419, 0.5681485533714294, -0.5114145874977112, -0.34020063281059265, -0.7239189743995667, 0.09640499949455261, -0.3206298053264618, 0.09705574810504913, -0.40095409750938416, -0.10575930774211884, 0.5460034608840942, -0.5460639595985413, 0.18108388781547546, -0.3347475230693817, 0.5466399192810059, 0.7584436535835266, -0.35106754302978516, 0.044759929180145264, -0.9038488268852234, 0.6648522615432739, -0.4900333285331726, 0.6362584233283997, -0.1277620643377304, 0.5246320962905884, 0.17797903716564178, -0.7580099105834961, -0.829511284828186, 0.12706595659255981, 0.05088484659790993, 0.341631680727005, -0.5510237812995911, -0.197414368391037, 0.05926721170544624, 0.20241063833236694, -0.8241910934448242, 0.07029406726360321, 0.11583212018013, 0.07255107164382935, 0.08624962717294693, -0.10219898074865341, 0.16716106235980988, 0.09477175027132034, -0.335494726896286, 0.03757853806018829, -0.09864111989736557, -0.49923521280288696, 0.09969709813594818, 0.23870965838432312, -0.3389894664287567, 0.5153785347938538, -0.000286702997982502, 0.908705472946167, 0.5064525604248047, -0.18569518625736237, 0.2731020450592041, -0.3279391825199127, -0.22801366448402405, 0.3337031304836273, 0.9630131125450134, -0.030070338398218155, 0.06911741942167282, -0.45754003524780273, 0.09596818685531616, 0.10440218448638916, 0.35852348804473877, -0.9522088766098022, 0.2430688887834549, 0.22556094825267792, -0.03456132486462593, -0.09037068486213684, -0.370509535074234, -1.0799659490585327, -0.09291325509548187, -0.12355871498584747, 0.7046018242835999, -0.49932217597961426, -0.4823075234889984, 0.38162562251091003, -0.49222832918167114, 0.1449502408504486, 0.3350725769996643, -0.892711877822876, 0.04169381782412529, 0.3409946858882904, 1.3680716753005981, -0.3745031952857971, -0.1135818287730217, -0.6180717945098877, 0.4541211426258087, -0.22978603839874268, 0.6020417213439941, -0.5305832624435425, -0.5013667345046997, -0.0754808858036995, -0.1626286804676056, -0.16047045588493347, -0.13085442781448364, 0.5801944732666016, -0.33036839962005615, 0.23002292215824127, 0.29942217469215393, -0.5618325471878052, 0.3617947995662689, 0.07734864950180054, -0.4173952043056488, 0.7970666289329529, 0.08665668219327927, -0.8047312498092651, 0.13743199408054352, -0.9248508810997009, -0.6131049990653992, 0.1596914827823639, -0.022837523370981216, -0.6741690635681152, 0.03960636258125305, 0.11246215552091599, 0.5513213276863098, -0.3493956923484802, 0.27294814586639404, -0.13085730373859406, -0.3657529354095459, 0.02202596515417099, -0.8477646708488464, 0.4539553225040436, 0.22875216603279114, -0.689619779586792, -0.08399021625518799, -0.8579648733139038, -0.39431431889533997, 0.2267053723335266, 0.11811944097280502, -0.3039853870868683, -0.19957302510738373, 0.1077943667769432, 0.03283664584159851, 0.22714491188526154, -0.8055762052536011, -0.027053389698266983, -0.35208699107170105, 0.7747036218643188, 0.45055192708969116, -0.24273337423801422, 0.9246117472648621, -0.01450371090322733, 0.3652496933937073, 0.14283287525177002, 0.19731256365776062, -0.38014790415763855, -0.5015302896499634, -0.513145923614502, -0.6912230253219604, 0.29308152198791504, 0.4841677248477936, -0.8542607426643372, 0.5608364343643188, -0.7389837503433228, -0.8323503136634827, -0.5071513056755066, -0.38309940695762634, 0.1746552735567093, 0.9234363436698914, 0.4547615945339203, 0.10496949404478073, -0.220458984375, -0.6179355382919312, 0.008939364925026894, 0.14454859495162964, -0.21705931425094604, -0.15328224003314972, 0.29926496744155884, -0.3847914934158325, 1.1717844009399414, -0.5662423372268677, -0.33528807759284973, 0.0075581795535981655, 0.18548601865768433, -0.002952129812911153, 0.3392833471298218, 0.6304159760475159, -0.7709713578224182, -0.8042797446250916, 0.1383664906024933, -0.22077271342277527, -0.12687093019485474, 0.13904017210006714, -0.13046540319919586, -0.009306426160037518, 0.3379581868648529, -0.5926886200904846, 0.48873791098594666, 0.6677531003952026, -0.3274833559989929, 0.055272385478019714, -0.20054911077022552, 0.1632712036371231, -1.5073353052139282, 0.17613321542739868, 0.2222689390182495, -0.44962042570114136, -0.8775166273117065, -0.7300189137458801, -0.026611318811774254, -0.230768084526062, -0.5537675023078918, 0.5067980885505676, -0.09076908975839615, 0.10214027017354965, -0.283979207277298, 0.37400662899017334, 0.026104722172021866, 0.26266324520111084, 0.3877257704734802, 0.999869704246521, 0.825638473033905, -0.5641072988510132, 0.14562071859836578, 0.3680170476436615, -0.010213674046099186, 1.1370667219161987, -0.8443011045455933, 0.15229031443595886, -0.23610781133174896, 0.32971784472465515, -1.1706793308258057, 0.17108459770679474, 0.12932823598384857, -0.4898766875267029, 0.4150691628456116, -0.32615795731544495, -0.47220155596733093, -0.16806305944919586, -0.2183966487646103, 0.3968489468097687, 0.8292029500007629, -0.5611090660095215, 0.6912222504615784, 0.3630070984363556, -0.35087645053863525, -0.6606960296630859, -0.8121791481971741, 0.05912873148918152, -0.41902443766593933, -0.3902789056301117, 0.8557507395744324, -0.12067708373069763, 0.22856274247169495, -0.07963850349187851, -0.04014306887984276, -0.3448820114135742, -0.3249545693397522, 0.0501902736723423, 0.05630708113312721, -0.047531358897686005, 0.14489683508872986, 0.39020469784736633, -0.2536783516407013, -0.4209130108356476, -0.5940037369728088, 0.5094196796417236, 0.37446773052215576, -0.23090283572673798, -0.6566706895828247, 0.35520368814468384, 0.9404056072235107, -0.10475116223096848, 0.7209938764572144, 0.7341139316558838, -0.15154893696308136, -0.021601354703307152, -0.43198949098587036, 0.11370155960321426, -0.42316436767578125, 0.48570168018341064, -0.20640408992767334, -0.9698153138160706, 0.13290289044380188, -0.280569463968277, 0.03555873781442642, 0.44089075922966003, 0.4705652594566345, -0.05880279839038849, 0.8167040944099426, 0.7382652759552002, -0.17486733198165894, 0.9210634231567383, -0.20362013578414917, 0.17909970879554749, -0.6915211081504822, 0.051152199506759644, -0.48717185854911804, -0.23843234777450562, -0.25679758191108704, -0.7375960946083069, 0.38661906123161316, -0.3266381025314331, -0.38134780526161194, 0.4462984800338745, -0.861189603805542, 0.3221192955970764, 0.13977593183517456, -0.18838201463222504, 0.24824748933315277, 0.19283059239387512, 0.13561345636844635, 0.03417244181036949, -0.6227001547813416, -0.3689803183078766, 0.9673017263412476, 0.33468562364578247, 0.707685112953186, 0.16839179396629333, 0.6106467843055725, 0.263271689414978, -0.1246315985918045, -0.7103999853134155, 0.2428407073020935, -0.4865827262401581, -0.2457483410835266, -0.7815034985542297, -0.3735744059085846, -0.7882885336875916, 0.05485778674483299, -0.019563425332307816, -0.5072455406188965, 0.12745486199855804, -0.03438623994588852, -0.43298831582069397, 0.3696812689304352, -0.7332783937454224, 0.713221549987793, -0.007567688822746277, -0.35215896368026733, -0.061918288469314575, -0.6465463638305664, -0.13996194303035736, -0.3789331316947937, 0.04081650450825691, 0.14381572604179382, -0.22584734857082367, 0.8000736832618713, -0.32709798216819763, 0.7655423283576965, -0.3143513798713684, -0.35693806409835815, 0.19826234877109528, -0.1840716451406479, 0.2474750131368637, -0.059729352593421936, 0.05503359064459801, 0.45111238956451416, -0.04222487658262253, -0.1628212332725525, -0.6280777454376221, 0.5741552114486694, -0.6472035050392151, -0.18661773204803467, -0.27541685104370117, -0.21621644496917725, -0.1585407257080078, 0.30871546268463135, 0.5302276015281677, 0.3782288134098053, -0.4054247736930847, 0.14172761142253876, 1.0300636291503906, -0.03408927842974663, 0.7595851421356201, 0.641485869884491, 0.030696289613842964, -0.51521235704422, 0.7977534532546997, 0.19417181611061096, 0.33409780263900757, 0.6977327466011047, 0.1388814002275467, -0.6878551244735718, -0.38338756561279297, -0.7349503636360168, 0.3087787926197052, -0.17823588848114014, -0.28399842977523804, -0.7445719242095947, -0.28293925523757935, -0.45808911323547363, -0.22881807386875153, -0.7661392688751221, -0.42742881178855896, -0.5863564014434814, -0.0028443022165447474, 0.6081694960594177, 0.591177225112915, 0.08482339233160019, 0.7953417897224426, -0.6160503029823303, 0.5770223140716553, 0.4413963556289673, 0.5445781350135803, 0.05350315943360329, -1.0512906312942505, -0.1144779622554779, 0.12878471612930298, -0.2708345651626587, -0.7605246901512146, 0.23461073637008667, 0.2339344024658203, 0.2475484311580658, 0.2983042597770691, -0.09321163594722748, 1.0119316577911377, -1.1283085346221924, 0.7597448229789734, 0.5923559665679932, -1.208972454071045, 0.6600421071052551, -0.22781357169151306, 0.5191649198532104, 0.271994411945343, 0.40823978185653687, -0.4815791845321655, -0.25695282220840454, -0.3221200704574585, -0.6491202116012573, 0.6936826109886169, 0.45328545570373535, 0.2347642183303833, -0.02455054596066475, 0.4001303017139435, 0.1761745661497116, 0.023296765983104706, -0.4482653737068176, -0.4000069797039032, -0.5013506412506104, -0.5300992727279663, -0.2612141966819763, -0.15901876986026764, 0.062313079833984375, -0.18477937579154968, 0.5299209952354431, -0.03485279157757759, 0.22171258926391602, 0.3325376510620117, -0.08959750086069107, -0.006515780929476023, 0.4342994689941406, 0.6411725282669067, 0.21361380815505981, 0.0518675297498703, -0.01256418414413929, 0.10057477653026581, -0.7014118432998657, 0.5370680689811707, 0.3794906735420227, 0.016864685341715813, 0.3966233432292938, -0.036296118050813675, 0.7849433422088623, 0.1537831723690033, -0.4260074198246002, 0.8438310623168945, -0.3014628291130066, -0.3415305018424988, -0.21469861268997192, -0.36086562275886536, 0.16570685803890228, 0.22115583717823029, 0.38092055916786194, -0.11006028205156326, 0.15034730732440948, -0.015470338985323906, 0.2667486369609833, 0.3914831876754761, -0.3979756534099579, -0.35953661799430847, 0.8850409984588623, 0.4242856800556183, -0.4919470250606537, 0.16341087222099304, 0.08883566409349442, -0.05145789310336113, 0.11705469340085983, 0.534930944442749, 1.1203875541687012, -0.5243256688117981, 0.5527196526527405, 0.057911042124032974, 0.010543204843997955, -0.18827658891677856, -0.2355125993490219, -0.4208100140094757, -0.37131962180137634, -0.49225330352783203, -0.7100805044174194, -0.32101932168006897, -0.10514102131128311, -0.42089229822158813, 0.31954941153526306, -0.11812909692525864, -0.4645780026912689, 0.18520504236221313, -0.5263045430183411, -0.3845290243625641, 0.20187093317508698, 0.17236627638339996, 0.6795965433120728, -0.7466701865196228, 0.9564309120178223, 0.3385379910469055, -0.14852067828178406, -0.3493664860725403, 0.16326852142810822, -0.340988427400589, -0.46932652592658997, 0.560245156288147, 0.028354335576295853, -0.5268109440803528, 0.2896389961242676, -0.0037209957372397184, -0.8682035207748413, 1.2121144533157349, 0.7548527717590332, -1.1887357234954834, -0.12402132898569107, 0.48195844888687134, 0.6375467777252197, -0.06012504920363426, 0.4219692647457123, 0.4391053318977356, 0.13021482527256012, 0.6619051694869995, -1.042250156402588, -0.38722458481788635, 0.20229242742061615, 0.20509415864944458, 0.3101018965244293, -0.6172458529472351, 0.502580463886261, 0.21243061125278473, -0.18032191693782806, -0.11499874293804169, 0.48706361651420593, -0.19085493683815002, 0.2765970230102539, 0.6065536737442017, 0.8552886247634888, 0.40656423568725586, -0.07460399717092514, 0.4997453987598419, -0.12478674948215485, 0.21572960913181305, 1.000762701034546, -0.4517766833305359, 0.8280949592590332, 0.5138303637504578, -0.167812317609787, 0.4514533281326294, 0.11992170661687851, 0.40857818722724915, 0.9146363139152527, -0.14013411104679108, -0.2849360406398773, 0.08414743840694427, 0.009503177367150784, -0.43002399802207947, 0.3664396107196808, 0.13957332074642181, -0.18269936740398407, -0.3233588635921478, 0.21202488243579865, -0.15201783180236816, 0.059610478579998016, -0.14391227066516876, 0.9747521281242371, -0.1714172065258026, -0.3715534806251526, 0.4417678415775299, -0.3366951644420624, 1.1504600048065186, -0.7773566246032715, -0.019456684589385986, -0.07979567348957062, 0.06553895771503448, -0.007919002324342728, -0.7868326306343079, 0.5314117074012756, 0.46569859981536865, -0.33516189455986023, -0.4998818337917328, 0.3924485445022583, -0.4975813925266266, -0.44506505131721497, 0.3820827007293701, 0.3516937792301178, -0.10978568345308304, -0.154518261551857, -0.6095191240310669, 0.04449986666440964, -0.2110091894865036, -0.07634442299604416, 0.328725129365921, 0.8076589107513428, 0.4465313255786896, 0.4183850586414337, 0.2977530360221863, -0.07178617268800735, 0.12361195683479309, 0.2534467875957489, 0.658180832862854, -0.38438892364501953, -0.5040212869644165, -1.2088830471038818, 0.6872534155845642, -0.17725305259227753, -0.1313401758670807, 0.5273342728614807, 0.6817234754562378, 0.431287556886673, 0.006977799814194441, 0.6930191516876221, 0.12615039944648743, 0.7642630338668823, -0.15156814455986023, 0.8367248177528381, -0.5781969428062439, -0.10761924833059311, -0.6078827977180481, -0.8708756566047668, -0.15870164334774017, 0.5515338182449341, -0.14431804418563843, -0.10943064838647842, 0.4809126555919647, 0.47640132904052734, -0.07919955253601074, -0.22862344980239868, 0.6094958782196045, 0.005106240976601839, 0.38009172677993774, 0.3584969639778137, 0.577924370765686, -0.525775671005249, 0.8055648803710938, -0.04671785607933998, -0.45769035816192627, 0.08273380994796753, -0.8613734841346741, -0.7282444834709167, -0.8351935744285583, -0.594092607498169, 0.1527082920074463, 0.07375260442495346, 0.19985510408878326, 0.8083164095878601, -0.27902287244796753, -0.007162574212998152, -0.3367147445678711, -0.10388078540563583, 0.060695115476846695, -0.1941600739955902, 0.24570828676223755, -0.1565195918083191, -1.0266480445861816, 0.25279900431632996, 0.7463415265083313, 0.5068231821060181, -0.10623089969158173, 0.06043015047907829, -0.18924590945243835, 0.2562161087989807, 0.7375335693359375, -0.007138493936508894, -0.5239127278327942, -0.10052229464054108, 0.013862231746315956, -0.012846999801695347, 0.0745173767209053, 0.46519380807876587, -0.773703932762146, 0.501066267490387, 0.16923482716083527, 0.7607520818710327, 0.6834018230438232, -0.2184913456439972, 0.4053192138671875, -0.7612695097923279, 0.38877493143081665, 0.26454681158065796, 0.19788789749145508, 0.2798899710178375, -0.3009476661682129, 0.25765499472618103, 0.010372324846684933, -0.5485063195228577, -0.733187198638916, 0.08849741518497467, -1.1116276979446411, -0.16021013259887695, 1.0028260946273804, -0.006366279907524586, -0.1165563315153122, 0.08697222918272018, -0.3493877947330475, 0.6146444082260132, -0.4515392780303955, 0.6096871495246887, 0.39287084341049194, 0.12907683849334717, -0.11998707801103592, -0.05320742353796959, 0.3308390974998474, 0.3321288228034973, -0.6430290937423706, 0.14247047901153564, 0.2736568748950958, 0.45769360661506653, 0.31956419348716736, 0.7384623885154724, -0.16514071822166443, -0.01272610668092966, 0.00847146101295948, -0.2521865963935852, 0.2613617181777954, -0.20773068070411682, -0.5755265355110168, 0.05107729509472847, -0.37678253650665283, -0.6236054301261902 ]
http://arxiv.org/abs/2406.11424v1
http://arxiv.org/pdf/2406.11424v1
Evaluating the Efficacy of Open-Source LLMs in Enterprise-Specific RAG Systems: A Comparative Study of Performance and Scalability
2024-06-17T11:22:25
2024-06-17T11:22:25
Gautam B, Anupam Purwar
cs.IR
cs.IR, cs.CL
This paper presents an analysis of open-source large language models (LLMs) and their application in Retrieval-Augmented Generation (RAG) tasks, specific for enterprise-specific data sets scraped from their websites. With the increasing reliance on LLMs in natural language processing, it is crucial to evaluate their performance, accessibility, and integration within specific organizational contexts. This study examines various open-source LLMs, explores their integration into RAG frameworks using enterprise-specific data, and assesses the performance of different open-source embeddings in enhancing the retrieval and generation process. Our findings indicate that open-source LLMs, combined with effective embedding techniques, can significantly improve the accuracy and efficiency of RAG systems, offering a viable alternative to proprietary solutions for enterprises.
[ -0.3777155578136444, -0.8025490641593933, 0.6513962149620056, 0.3224267363548279, -0.0599936917424202, 0.097091905772686, -0.40511301159858704, -0.6957306265830994, 0.4054033160209656, 0.7197762727737427, -0.03918056935071945, -0.504375696182251, -0.2625706195831299, 0.21242274343967438, -0.47849321365356445, 0.6262707114219666, -0.003625452285632491, 0.1842695027589798, -0.3335849344730377, -0.3197465240955353, -0.14217093586921692, -0.5023348331451416, -0.6676589250564575, -0.09121902287006378, 0.3742988109588623, 0.30122601985931396, 0.6392745971679688, 0.6236606240272522, 0.8988301753997803, 0.270273357629776, -0.10594109445810318, 0.018686046823859215, -0.5236721634864807, 0.3804463744163513, -0.6156072616577148, -0.3855039179325104, -0.6784210801124573, -0.10867694020271301, 0.8501877784729004, 0.5272582769393921, -0.37853848934173584, 0.5324290990829468, 0.10780805349349976, 0.6151934266090393, -0.8467046618461609, -0.050024934113025665, -0.7551735639572144, -0.03792263939976692, -0.3715967535972595, 0.003026670543476939, -0.5456146597862244, -0.6227537393569946, -0.09911615401506424, -0.3130660355091095, 0.07099781930446625, 0.3113210201263428, 0.5906777381896973, 0.13333413004875183, 0.022355198860168457, -0.5727830529212952, -0.8674339056015015, 0.9915279150009155, -0.7916402816772461, 0.568307638168335, 0.16950346529483795, 0.27821484208106995, -0.08430273085832596, -0.9268471598625183, -0.15047621726989746, -0.234770268201828, -0.05562784895300865, 0.021639330312609673, -0.3839271366596222, -0.10278554260730743, 0.08647498488426208, 0.660030722618103, -0.5775219202041626, 0.6179606318473816, -0.2999078333377838, 0.2849293351173401, 0.3346286416053772, 0.341487318277359, 0.1369922012090683, -0.011430822312831879, -0.2868172526359558, 0.10621451586484909, -0.6686795353889465, -0.31501275300979614, 0.21717290580272675, 0.5203787684440613, 0.23555760085582733, 1.0766650438308716, -0.04918665438890457, 0.5662475228309631, -0.16566267609596252, -0.10776326805353165, 0.2887413799762726, -0.09271929413080215, -0.673895001411438, -0.09572562575340271, 0.6848397254943848, 0.011869138106703758, 0.05349365621805191, -0.5157243609428406, -0.41335082054138184, -0.19159987568855286, 0.42847463488578796, -0.550195038318634, 0.3356800377368927, 0.3637721836566925, -0.619942843914032, -0.2529308795928955, 0.1794426441192627, -0.7777581214904785, -0.4586999714374542, -0.21117348968982697, 0.2920268476009369, -0.21479426324367523, -0.32153886556625366, -0.07281141728162766, -0.3672933280467987, 0.2695819139480591, 0.18509899079799652, -0.34872663021087646, 0.4640534818172455, 0.8731654286384583, 1.114304542541504, -0.23776230216026306, 0.04338221251964569, -0.6643489003181458, 0.46667519211769104, -0.4270856976509094, 0.555891215801239, -0.5066822171211243, -0.3285609781742096, 0.1913287192583084, -0.17837905883789062, 0.2074270099401474, -0.9663464426994324, 0.7810530662536621, -0.8671168684959412, -0.05034849792718887, 0.05263408273458481, -0.7152045369148254, 0.10496490448713303, 0.1292082518339157, -1.0510427951812744, 0.9199780821800232, 0.11111107468605042, -0.7056801319122314, 0.22167062759399414, -0.8511523008346558, -0.21634452044963837, 0.3635692298412323, -0.12905092537403107, -0.29794028401374817, 0.3896656036376953, -0.08765444904565811, 0.4787847697734833, -0.53446364402771, -0.16529172658920288, -0.4336746335029602, -0.1682722121477127, 0.02034742198884487, 0.13798193633556366, 0.7936985492706299, 0.47529488801956177, -0.1055481806397438, -0.08145470917224884, -0.7823209166526794, 0.265512615442276, 0.3398684859275818, -0.4878397583961487, -0.8410258293151855, 0.12345308065414429, -0.03694561868906021, -0.22360634803771973, 0.44462084770202637, -0.5547599196434021, 0.05354832112789154, -0.2936321794986725, -0.14745570719242096, 0.6194779276847839, -0.16784058511257172, 0.5664187073707581, -0.14954540133476257, 0.49740347266197205, -0.1484631597995758, -0.10544593632221222, -0.07696586102247238, -0.37148842215538025, -0.5683425068855286, -0.5549236536026001, 0.3102199137210846, 0.5683760046958923, -0.457865834236145, 0.24577559530735016, -0.233819842338562, -0.6080797910690308, -0.47219133377075195, 0.10674130916595459, 0.29868319630622864, 0.30903083086013794, 0.3643203675746918, -0.3677521049976349, -0.6548933982849121, -0.9786220192909241, -0.5532491207122803, 0.1512652188539505, -0.36582690477371216, 0.4349958002567291, 0.3209325075149536, -0.2174348533153534, 1.0666987895965576, -0.5003157258033752, -0.23643113672733307, -0.2821609079837799, 0.15808172523975372, 0.33049848675727844, 0.15106047689914703, 0.5145142078399658, -0.5016874670982361, -0.5555474758148193, 0.1995759755373001, -0.7025328874588013, -0.2331964075565338, 0.48043447732925415, 0.17470099031925201, 0.5924388766288757, 0.4096367657184601, -0.38195303082466125, 0.4306658208370209, 0.6676191687583923, -0.24095408618450165, 0.7517077326774597, -0.28390002250671387, 0.07797803729772568, -0.9681550860404968, 0.3836596608161926, 0.09560175985097885, -0.4029482901096344, -0.5831254720687866, 0.2815300524234772, 0.1603642851114273, -0.054003726691007614, -0.48507001996040344, 0.522107720375061, -0.7414296269416809, -0.6892707347869873, -0.15766505897045135, 0.5221048593521118, -0.16130810976028442, -0.04698270559310913, -0.10739288479089737, 0.94081711769104, 0.17063245177268982, -0.7460162043571472, 0.230601966381073, 0.15470018982887268, -0.6205870509147644, 0.7674565315246582, -0.6627664566040039, 0.09605588018894196, -0.14298512041568756, 0.00440169358626008, -0.4906770884990692, -0.15105311572551727, -0.02712021954357624, -0.27057981491088867, 0.24309042096138, -0.05781494081020355, -0.6157509684562683, -0.14072838425636292, -0.21041284501552582, -0.14288407564163208, 0.6413141489028931, -0.545387327671051, 0.47236061096191406, 0.47951608896255493, -0.29242509603500366, -0.5867675542831421, -0.8059203624725342, 0.2005850225687027, -0.2363889068365097, -0.7127332091331482, 0.30924445390701294, 0.1597852110862732, -0.7724466323852539, 0.3581254780292511, 0.006835361942648888, -0.14882279932498932, 0.10720273852348328, -0.13036972284317017, 0.08234590291976929, -0.503875195980072, -0.031686633825302124, -0.2759077548980713, 0.2984018623828888, -0.06909742206335068, -0.23104628920555115, 0.3795931935310364, -0.20076343417167664, -0.4489407241344452, 0.07720974832773209, 0.29329198598861694, 0.45272591710090637, -0.4309852123260498, 1.2090888023376465, 0.4037657380104065, -0.3247849643230438, -0.5042623281478882, -0.6035856604576111, 0.2021314948797226, -0.4576645791530609, 0.3074154853820801, -0.12967921793460846, -0.8784816265106201, 0.3558436334133148, -0.3608686327934265, 0.22348806262016296, 0.46573325991630554, 0.576135516166687, -0.1700638234615326, 0.6731895804405212, 0.776157021522522, -0.06872007250785828, 0.4415398836135864, -0.1481153964996338, 0.15917439758777618, -0.9207437634468079, -0.13402383029460907, -0.9820164442062378, -0.28013771772384644, -0.6170041561126709, -0.6500226259231567, 0.26919007301330566, 0.3010838031768799, -0.3888954520225525, 0.0839230939745903, -0.2156207114458084, 0.5012010931968689, 0.3838263750076294, -0.21243295073509216, 0.5937419533729553, 0.11874944716691971, -0.1860068291425705, 0.13138408958911896, -0.4398866593837738, -0.856836199760437, 0.9572389721870422, 0.5052064061164856, 0.9246126413345337, 0.44796690344810486, 0.5595462322235107, 0.3469495177268982, 0.3780849874019623, -0.5773937702178955, 0.5034616589546204, -0.5916521549224854, -0.5753415822982788, -0.46622809767723083, -0.542823076248169, -0.9897234439849854, 0.12575429677963257, -0.0456092432141304, -0.9242897629737854, -0.026208816096186638, -0.18615490198135376, 0.21796417236328125, 0.7092934250831604, -0.4931088984012604, 0.48132526874542236, -0.27596941590309143, -0.3745846748352051, -0.2517925202846527, -0.08877377957105637, 0.33278316259384155, -0.2886278033256531, 0.29997989535331726, 0.10608864575624466, -0.4897285997867584, 0.6700392961502075, -0.19829416275024414, 0.4681262969970703, -0.22586502134799957, -0.10901065170764923, 0.2204919010400772, 0.09407587349414825, 0.648261547088623, -0.33847373723983765, -0.35333749651908875, 0.3598376512527466, -0.4265446960926056, -0.13115151226520538, -0.46201008558273315, 0.8316408395767212, -0.38196322321891785, -0.4716768264770508, -0.2302900105714798, -0.23365874588489532, -0.3526837229728699, 0.3826535940170288, -0.13939322531223297, 0.24281753599643707, -0.5459182262420654, 0.7086127400398254, 0.8305156826972961, -0.37982937693595886, 0.4280409514904022, 0.7395428419113159, -0.5836588740348816, -0.48089271783828735, 0.6524883508682251, 0.12327262759208679, 0.310211718082428, 0.2853018343448639, 0.09261523187160492, -0.22991766035556793, -0.5595250725746155, -0.32543641328811646, 0.35146018862724304, -0.5634689927101135, -0.20167827606201172, -0.4459272027015686, -0.022462526336312294, -0.3104029893875122, -0.21372567117214203, -0.49314573407173157, -0.5521314144134521, -0.30072343349456787, 0.11654016375541687, 0.23264969885349274, 1.2325623035430908, 0.006083021406084299, -0.012764787301421165, -0.8444566130638123, 0.2683391571044922, -0.22133757174015045, 1.046687126159668, 0.10299645364284515, -0.13967469334602356, -0.6346734762191772, -0.06492119282484055, -0.2803589105606079, -0.9982398152351379, 0.3500267267227173, -0.13221882283687592, 0.8472804427146912, 0.10038502514362335, -0.08251295238733292, 0.4380958378314972, -0.6389583945274353, 0.9687634110450745, 0.08690609782934189, -0.7820354700088501, 0.3123340904712677, -0.357530802488327, 0.05775335058569908, 0.2403624951839447, 0.692906379699707, -0.2574038803577423, -0.5112000107765198, -0.4007740318775177, -1.0614033937454224, 0.8216536641120911, 0.12483398616313934, -0.2742249369621277, 0.14110466837882996, 0.11657938361167908, -0.08988579362630844, 0.21022823452949524, -0.29325854778289795, -0.45097893476486206, 0.3070414662361145, -0.1492820382118225, -0.11834539473056793, -0.3055134415626526, 0.07472477853298187, 0.30857518315315247, 0.7721726894378662, 0.17122161388397217, 0.2737712860107422, 0.05199988931417465, -0.1779353767633438, -0.17614535987377167, 0.3939291536808014, 0.31525829434394836, 0.7868179678916931, -0.2805251181125641, -0.260451078414917, 0.22291405498981476, -0.49235445261001587, -0.025414422154426575, -0.2507363557815552, -0.09318934381008148, 0.3317858576774597, -0.09281730651855469, 0.5219094753265381, 0.130258247256279, -0.6926180720329285, 0.2314063459634781, 0.05332568287849426, 0.07857025414705276, -0.3184179961681366, -0.13769493997097015, 0.3661141097545624, 0.48644623160362244, 0.4396165907382965, -0.42162129282951355, 0.17586474120616913, -0.4078234136104584, 0.030576052144169807, 0.7096208333969116, 0.11086243391036987, 0.08695542067289352, 0.5464919209480286, -0.0018905552569776773, -0.6554434895515442, 0.49412840604782104, 0.18398524820804596, -0.05684569478034973, 0.41009193658828735, 0.697472870349884, 1.203436017036438, -0.3718084394931793, -0.10609974712133408, 0.3088633716106415, 0.4186781942844391, -0.055626433342695236, 0.19653278589248657, 0.2541790306568146, -0.3802112936973572, -0.5461448431015015, -0.8392520546913147, -0.8761263489723206, 0.27909737825393677, -0.8242460489273071, 0.3766607940196991, -0.2964969575405121, -0.3091374933719635, -0.19463342428207397, -0.20310410857200623, -0.6821160912513733, -0.029498087242245674, -0.09404854476451874, 1.3973116874694824, -0.3072945475578308, 0.4825748801231384, 0.9551812410354614, -0.4868345856666565, -0.5991325378417969, 0.025185955688357353, -0.357791543006897, -0.48020514845848083, 0.7604260444641113, -0.31978747248649597, -0.23115947842597961, -0.2278325855731964, -0.3165867328643799, -0.9999381303787231, 1.156265377998352, 0.338279128074646, -0.5061693787574768, -0.1252480149269104, 0.3601852059364319, 0.5832096338272095, -0.20178914070129395, 0.30808383226394653, 0.42055773735046387, 0.5161102414131165, -0.20080703496932983, -1.207543134689331, -0.18963909149169922, 0.17132225632667542, 0.08155404776334763, 0.41529276967048645, -0.5225697159767151, 0.7167405486106873, 0.15879233181476593, -0.27652615308761597, 0.041302088648080826, 0.5903916954994202, 0.1945929378271103, 0.38851386308670044, 0.2571875751018524, 0.8133955597877502, 0.689510703086853, 0.2022460550069809, 1.0602717399597168, -0.2590080797672272, 0.41820627450942993, 1.2261337041854858, -0.4156797230243683, 1.3543884754180908, 0.40198469161987305, -0.2690846920013428, 0.6279687285423279, -0.18122543394565582, 0.10777780413627625, 0.2706300616264343, 0.19421949982643127, -0.2067032903432846, 0.3909018933773041, 0.020403727889060974, -0.2507758140563965, 0.3124467134475708, 0.43057355284690857, -0.6533645987510681, -0.39015647768974304, -0.23535944521427155, 0.029468415305018425, 0.04255205765366554, -0.4918811321258545, 0.9483365416526794, 0.16757084429264069, -0.4507373869419098, 0.30994001030921936, 0.3511829972267151, 0.675133228302002, -0.701716959476471, 0.15728825330734253, -0.1285925954580307, 0.2767956852912903, -0.4095054864883423, -0.9141395688056946, 0.7520696520805359, 0.6018197536468506, -0.184377983212471, -0.3363172709941864, 0.8438214659690857, -0.08857991546392441, -0.04971907660365105, 0.38815590739250183, 0.6765116453170776, 0.2802562713623047, 0.06913857161998749, -0.38106659054756165, 0.26656603813171387, -0.3375851511955261, -0.5957316160202026, 0.5123398303985596, 0.4317047894001007, 0.0840616300702095, 0.529163658618927, 0.44774842262268066, 0.40581536293029785, 0.16923843324184418, -0.14783695340156555, 0.691013753414154, -0.6520968675613403, -0.28833651542663574, -0.6300907135009766, 0.5316897034645081, -0.188092902302742, 0.2835797965526581, 1.051082730293274, 0.8249820470809937, 0.8847448825836182, -0.22963543236255646, 0.8029323220252991, -0.1798902004957199, 1.0118157863616943, -0.4249156713485718, 0.7850738763809204, -0.6670202016830444, 0.3699338734149933, -0.4122668504714966, -1.060949444770813, -0.126444011926651, 0.32374855875968933, -0.2631177008152008, -0.029188785701990128, 0.6284482479095459, 0.7457060217857361, -0.13281980156898499, 0.00046838977141305804, 0.3917462229728699, 0.2771327495574951, 0.2589379847049713, -0.12937702238559723, 0.7180874943733215, 0.02670561522245407, 0.3977447748184204, -0.02937624603509903, -0.22638416290283203, -0.2985277473926544, -1.1708378791809082, -0.36583057045936584, -0.48997241258621216, 0.012567462399601936, -0.3216407299041748, 0.013540836982429028, 0.6547346115112305, 0.13479259610176086, -0.6214520931243896, -0.45873767137527466, 0.10852384567260742, 0.06548703461885452, 0.053503040224313736, -0.2926670014858246, 0.0813947319984436, -0.6290575861930847, -0.7808789014816284, 0.5452616810798645, 0.30937665700912476, -0.22892625629901886, -0.5682827234268188, -0.12539415061473846, -0.15560133755207062, 0.3328135907649994, 0.7307223081588745, 0.16433076560497284, -0.5753755569458008, 0.06593240797519684, 0.21029052138328552, -0.2496376931667328, -0.07483205199241638, 0.8798280954360962, -0.7376497983932495, 0.14997707307338715, 0.6263196468353271, 0.8118062019348145, 0.2676941752433777, 0.09601420909166336, 0.3678581714630127, -0.6827042698860168, -0.20205971598625183, 0.4234478771686554, 0.39109811186790466, 0.20608274638652802, -0.21650582551956177, 0.756105363368988, -0.14154955744743347, -0.8493519425392151, -1.0049341917037964, 0.07060523331165314, -0.6303148865699768, -0.3759446144104004, 1.2646158933639526, -0.17169058322906494, -0.23153115808963776, -0.021000804379582405, 0.008268075995147228, 0.08296123892068863, -0.21585415303707123, 0.20212453603744507, 0.4748455584049225, -0.17509420216083527, 0.2222791165113449, -0.5737127661705017, 0.16498282551765442, -0.06556017696857452, -0.8469608426094055, 0.004208371043205261, 0.6159815788269043, 0.3164582848548889, 0.25273028016090393, 0.5603801012039185, -0.32394570112228394, -0.045025330036878586, -0.13293468952178955, 0.12522679567337036, -0.10961684584617615, -0.1677480936050415, -0.4710511267185211, 0.3717479407787323, 0.35657986998558044, -0.027165139093995094 ]
http://arxiv.org/abs/2406.11423v1
http://arxiv.org/pdf/2406.11423v1
Dredge Word, Social Media, and Webgraph Networks for Unreliable Website Classification and Identification
2024-06-17T11:22:04
2024-06-17T11:22:04
Evan M. Williams, Peter Carragher, Kathleen M. Carley
cs.SI
cs.SI, cs.AI, cs.CL, cs.CY, cs.LG
In an attempt to mimic the complex paths through which unreliable content spreads between search engines and social media, we explore the impact of incorporating both webgraph and large-scale social media contexts into website credibility classification and discovery systems. We further explore the usage of what we define as \textit{dredge words} on social media -- terms or phrases for which unreliable domains rank highly. Through comprehensive graph neural network ablations, we demonstrate that curriculum-based heterogeneous graph models that leverage context from both webgraphs and social media data outperform homogeneous and single-mode approaches. We further demonstrate that the incorporation of dredge words into our model strongly associates unreliable websites with social media and online commerce platforms. Finally, we show our heterogeneous model greatly outperforms competing systems in the top-k identification of unlabeled unreliable websites. We demonstrate the strong unreliability signals present in the diverse paths that users follow to uncover unreliable content, and we release a novel dataset of dredge words.
[ -0.16410326957702637, -1.3201148509979248, 0.4464047849178314, 0.2036239504814148, -0.28731000423431396, 0.7271363139152527, 0.021390549838542938, -0.6370171904563904, 0.4912276566028595, 0.059352900832891464, -0.5084827542304993, -0.35242459177970886, -0.8893894553184509, -0.19870589673519135, -0.6184720396995544, 0.7227889895439148, -0.08951078355312347, -0.042598363012075424, -0.08804663270711899, -0.19582535326480865, -0.25357577204704285, -0.22033558785915375, -0.7447097301483154, -0.29984456300735474, 0.806387722492218, 0.1264769732952118, 1.1203272342681885, 0.8414355516433716, 0.6154770255088806, 0.4237695336341858, 0.10755240172147751, 0.3184131681919098, -0.8269810080528259, 0.1142309233546257, -0.6935325860977173, 0.13561080396175385, -0.21447055041790009, 0.28348180651664734, 0.3966664671897888, 0.9936750531196594, -0.2672773003578186, 0.308426171541214, 0.27436912059783936, 0.18378739058971405, -0.7551782727241516, 0.26931247115135193, -0.7544196248054504, -0.156097874045372, -0.3151853680610657, -0.37640970945358276, -0.3169022798538208, -0.41899552941322327, -0.012680196203291416, -0.6875695586204529, 0.2565763592720032, 0.010547682642936707, 1.1065829992294312, 0.11760708689689636, -0.34161192178726196, -0.4486691951751709, -0.7610741257667542, 0.6879417896270752, -0.2557581067085266, 0.29637184739112854, 0.44921982288360596, 0.34808802604675293, -0.3553377091884613, -1.506529450416565, -0.41892415285110474, 0.2303558886051178, -0.1183895468711853, 0.20473697781562805, -0.26990801095962524, -0.02322096936404705, -0.08211106806993484, 0.1262010931968689, -0.2295057624578476, 0.3133000433444977, -0.5133856534957886, -0.694553792476654, 0.6593755483627319, 0.1601915806531906, 0.44901302456855774, -0.2997581660747528, -0.35443076491355896, -0.0024578820448368788, -0.32277703285217285, -0.15615054965019226, 0.7039849162101746, 0.7487382888793945, 0.11762428283691406, 0.39565879106521606, 0.027175065129995346, 0.6288827061653137, 0.033284012228250504, -0.34258410334587097, 0.272936075925827, 0.01365931797772646, -0.03327899053692818, 0.22478905320167542, 0.7762108445167542, 0.43161311745643616, -0.09455705434083939, -0.35200026631355286, -0.23546986281871796, 0.3295442461967468, 0.5779805183410645, -0.33434802293777466, -0.42222997546195984, 0.20971189439296722, -0.6430788040161133, -0.45650237798690796, 0.35060158371925354, -0.7912770509719849, -0.6359801292419434, -0.09510505199432373, 0.6917814016342163, -0.302956223487854, -0.4751380681991577, -0.31970247626304626, -0.8147931694984436, -0.5092760920524597, 0.25937798619270325, -0.20273587107658386, 0.2551265060901642, 0.5935405492782593, 1.074353814125061, 0.0371418260037899, -0.5239005088806152, -0.49315541982650757, -0.07760389149188995, -0.334203839302063, 0.6474364995956421, -0.5912278890609741, -0.024877291172742844, 0.5462663173675537, 0.37029901146888733, 0.05936111882328987, -0.1688944399356842, 0.5555598735809326, -0.9564926624298096, -0.12023243308067322, -0.08678864687681198, -0.5436493158340454, -0.37196314334869385, 0.08374802768230438, -0.9887859225273132, 0.72134929895401, 0.36310791969299316, -0.9447519183158875, 0.2700398862361908, -0.29667434096336365, -0.7393146753311157, 0.41323530673980713, 0.05239832028746605, -0.2470720410346985, 0.13136690855026245, -0.6295410990715027, 0.5003824830055237, 0.03429711237549782, 0.018422415480017662, -0.8624892830848694, -0.599066436290741, 0.20915129780769348, -0.6289781928062439, 0.9933783411979675, 0.3424307703971863, -0.4917336404323578, -0.3634178042411804, -0.6878833174705505, 0.10247093439102173, 0.556936502456665, -0.31323978304862976, -0.6751249432563782, 0.2474125772714615, 0.12353960424661636, 0.12323310971260071, 0.3509694039821625, -0.4280990660190582, -0.08629937469959259, 0.18398593366146088, 0.7227555513381958, 0.9872249960899353, 0.2303595095872879, 0.03134428709745407, -0.3294790983200073, 0.250084787607193, 0.003850688459351659, -0.08618197590112686, 0.33547866344451904, -0.487478643655777, -0.4180721342563629, -0.09595969319343567, 0.384598046541214, 0.3613310754299164, -0.9086765050888062, -0.05097389593720436, -0.6112995743751526, -0.7135160565376282, -0.37582042813301086, 0.017026668414473534, 0.20348629355430603, 0.5920745730400085, 0.5332484245300293, -0.4788154661655426, -0.28191864490509033, -0.6438958048820496, -0.3225348889827728, -0.20962290465831757, 0.20888997614383698, 0.4665777087211609, 0.23365887999534607, -0.4044879078865051, 0.6213443875312805, -0.33703041076660156, -0.28505662083625793, -0.0725368931889534, 0.5487781763076782, 0.06697668880224228, -0.062849260866642, 0.32439616322517395, -1.037755012512207, -0.5347179174423218, -0.35537710785865784, -0.791952908039093, 0.13052308559417725, 0.07336921244859695, 0.13250339031219482, -0.05945426970720291, 0.28871509432792664, -0.18331065773963928, 0.2957836389541626, 0.5032164454460144, -0.23920725286006927, 0.4285286068916321, -0.1063002198934555, 0.09838101267814636, -0.708223819732666, -0.2590084671974182, 0.32778286933898926, -0.23193469643592834, -0.49070659279823303, 0.1360676884651184, -0.018400169909000397, 0.1306459605693817, -0.3487323522567749, 0.2496514767408371, -0.5633191466331482, 0.0008802664815448225, -0.37339842319488525, 0.6748799681663513, 0.005719782318919897, 0.07763110846281052, -0.195777028799057, 0.46571221947669983, 0.6646096706390381, -0.693667471408844, 0.6144442558288574, 0.19401544332504272, -0.09729264676570892, 0.548373818397522, -0.5125066041946411, 0.16168087720870972, -0.18094007670879364, 0.2534090578556061, -1.1324121952056885, -0.5050990581512451, 0.22235368192195892, -0.38464978337287903, 0.4304293692111969, -0.4361766576766968, -0.49504509568214417, -0.6867728233337402, -0.24203045666217804, 0.030423322692513466, 0.33451616764068604, -0.4937768280506134, 0.5680264234542847, 0.8770679235458374, -0.008748414926230907, -0.8536620140075684, -0.5650349259376526, 0.21193985641002655, -0.094626784324646, -0.5626178979873657, 0.4556410014629364, 0.22494161128997803, -0.4928427040576935, 0.2987005412578583, -0.1342235654592514, -0.457001268863678, 0.39479583501815796, 0.5809025168418884, 0.13045507669448853, 0.0420803464949131, 0.23887814581394196, 0.04484652727842331, 0.2191801369190216, 0.09496286511421204, -0.3550044894218445, 0.6252826452255249, -0.0013954903697595, -0.2757692337036133, -0.4168342351913452, 0.13759420812129974, 0.595302164554596, 0.16846992075443268, 0.7887291312217712, 0.7715121507644653, -0.5282163619995117, -0.25998979806900024, -0.4141639173030853, -0.22478574514389038, -0.5574108958244324, 0.20728151500225067, -0.11126981675624847, -0.6218255758285522, 0.4897065758705139, -0.30584171414375305, -0.04713418334722519, 0.7190288305282593, 0.21658459305763245, -0.17952346801757812, 1.0573664903640747, 0.6707853078842163, -0.31086966395378113, 0.14172200858592987, -0.15460222959518433, 0.3046845495700836, -0.29973384737968445, 0.10172829777002335, -0.40222975611686707, -0.5216716527938843, -1.0336387157440186, 0.05679982528090477, -0.05330202355980873, 0.15042854845523834, -0.2615259885787964, 0.465052992105484, -0.6566449999809265, 0.05958223342895508, 0.5699900984764099, 0.4131813645362854, 0.28662046790122986, 0.42218464612960815, -0.39404481649398804, 0.10732101649045944, -0.8778261542320251, -0.682880163192749, 0.8242278695106506, 0.4755995571613312, 0.6958580017089844, 0.15630444884300232, 0.4085407555103302, 0.8551833629608154, 0.5468407869338989, -0.6937927603721619, 0.3573780357837677, -0.31936073303222656, -0.8018397688865662, -0.41734960675239563, -0.4674791395664215, -0.949281632900238, -0.288886696100235, -0.27639952301979065, -0.7533782124519348, 0.13230259716510773, 0.13197430968284607, -0.30839404463768005, 0.5577477812767029, -0.4194076359272003, 0.5497846007347107, -0.25181707739830017, -0.9438083171844482, -0.15390227735042572, -0.7759748101234436, 0.084496408700943, -0.036305367946624756, 0.6892386078834534, -0.027571359649300575, 0.18660233914852142, 0.7270398139953613, -0.4065450429916382, 1.0372968912124634, -0.1370783895254135, 0.172044038772583, 0.7375121116638184, 0.15942654013633728, 0.696129560470581, -0.04427599906921387, 0.05773799866437912, 0.6013187170028687, -0.20171813666820526, -0.41848793625831604, -0.13817478716373444, 0.8645875453948975, -0.910961925983429, -0.12651236355304718, -0.5385711193084717, -0.07825034111738205, -0.1805364042520523, 0.628847599029541, 0.45519113540649414, 0.5836502909660339, -0.11108290404081345, 0.015251966193318367, 0.44384095072746277, 0.15488120913505554, 0.5780585408210754, 0.2349473237991333, 0.17744077742099762, -0.27255818247795105, 1.2561143636703491, 0.4582868814468384, 0.15016265213489532, -0.13039502501487732, 0.015339790843427181, -0.2519231140613556, -0.5894318222999573, -0.43585526943206787, 0.28178322315216064, -0.9713372588157654, -0.27230527997016907, -0.7564996480941772, -0.4847649037837982, -0.3510923683643341, -0.061688318848609924, -0.40018051862716675, -0.34930410981178284, -0.34717807173728943, -0.31511691212654114, 0.19275858998298645, 0.9477234482765198, -0.3032110035419464, 0.28805676102638245, -0.8300546407699585, 0.14791211485862732, 0.22536085546016693, 0.6048569679260254, 0.015662314370274544, -0.3963603675365448, -0.10752976685762405, 0.34120142459869385, -0.24719838798046112, -1.0411286354064941, 0.0484926700592041, -0.01806759648025036, 0.7142298221588135, 0.6944490671157837, 0.1343664675951004, 0.590175986289978, -0.5120208859443665, 0.673012375831604, 0.2597978711128235, -0.5922985672950745, -0.024137908592820168, -0.49614256620407104, -0.4850996732711792, 0.6403077840805054, 1.1289927959442139, -0.5075886249542236, -0.3272058963775635, -0.8458153009414673, -1.1447064876556396, 0.2787078022956848, -0.04972038045525551, 0.37163567543029785, -0.26547473669052124, 0.43414536118507385, -0.14573819935321808, 0.44058871269226074, -0.5782627463340759, -0.622052013874054, -0.6937940716743469, -0.11424008011817932, 0.12923496961593628, -0.4303433299064636, -0.2901056110858917, 0.2739754915237427, 0.7467933297157288, -0.09392662346363068, 0.23249810934066772, -0.02009621262550354, -0.29460951685905457, -0.3878669738769531, -0.21825957298278809, 0.11406830698251724, 0.9980185031890869, -0.16514863073825836, 0.5449314117431641, -0.17075879871845245, -0.7064703106880188, 0.06810624897480011, 0.32323458790779114, -0.038362693041563034, 0.24416206777095795, 0.44913554191589355, 0.3555026054382324, 0.11921679228544235, -0.3687436580657959, 0.4015144109725952, -0.022242868319153786, -0.10364656895399094, -0.573625922203064, -0.08557107299566269, 0.11672978848218918, 0.06377097964286804, 0.6185285449028015, -0.2610735297203064, 0.34846192598342896, -0.812730610370636, 0.44674545526504517, 0.489474892616272, -0.9800470471382141, -0.15004760026931763, 0.5656625032424927, 0.0764361172914505, -0.5660480260848999, 0.864639937877655, -0.4568498134613037, -0.6888118982315063, 0.33196091651916504, 0.3877013027667999, 0.6756051182746887, -0.14397181570529938, 0.49762749671936035, 0.43347689509391785, 0.2646843194961548, -0.28625330328941345, -0.0016407381044700742, 0.516118586063385, -0.8991917371749878, 0.03164919465780258, -0.6718196272850037, -0.23312483727931976, 0.26678866147994995, -0.4896925091743469, 0.18157470226287842, -0.6595742106437683, -0.47486698627471924, 0.2860445976257324, -0.0011522388085722923, -0.42287182807922363, 0.4301588535308838, -0.07318424433469772, 0.5163066983222961, -0.9870474934577942, 0.17905709147453308, 0.8446850776672363, -0.7166599035263062, -1.009609580039978, -0.05721043422818184, 0.3777081370353699, -0.6009145379066467, 0.4058071970939636, 0.10349809378385544, -0.3925863206386566, 0.18483740091323853, -0.6920987367630005, -0.737107515335083, 1.1623073816299438, -0.4045102298259735, -0.4065666198730469, 0.06901949644088745, -0.04605942964553833, 0.43399760127067566, -0.19640913605690002, 0.23325292766094208, 0.0783190056681633, 0.5723938345909119, 0.13928307592868805, -0.7833609580993652, 0.2526198625564575, -0.10447973012924194, -0.3270140290260315, 0.07325586676597595, -0.7365829944610596, 0.7838791012763977, 0.1344711184501648, -0.5578001141548157, -0.22274315357208252, 0.5260012149810791, -0.12069632112979889, 0.5921553373336792, 0.7393580675125122, 0.4845402240753174, 0.8654329180717468, -0.16763266921043396, 0.6704902052879333, -0.37674129009246826, 0.6379552483558655, 1.0227419137954712, -0.10034044831991196, 0.6663607358932495, 0.14283433556556702, -0.041022200137376785, 0.872955322265625, 0.7707210183143616, -0.1798713356256485, 0.4429008364677429, 0.14795367419719696, -0.06121707707643509, -0.23175086081027985, -0.1976022869348526, -0.13170674443244934, 0.5812613368034363, 0.4380171000957489, -0.5153322219848633, -0.4445164203643799, -0.2601127624511719, 0.1617317497730255, 0.0857461616396904, -0.39150774478912354, 0.47331711649894714, 0.0522167906165123, -0.27176934480667114, 0.3609931766986847, 0.24957901239395142, 0.38283610343933105, -0.42259877920150757, -0.0879431664943695, 0.05763457715511322, 0.27270832657814026, -0.31986528635025024, -0.5383365154266357, 0.1561499983072281, -0.5018765926361084, 0.11413147300481796, -0.06769495457410812, 1.2344536781311035, -0.012031705118715763, -0.5118501782417297, 0.46465444564819336, 0.6280797719955444, 0.053569696843624115, -0.011537818238139153, -0.765928328037262, -0.060042332857847214, -0.3529551923274994, -0.1781725287437439, 0.29474446177482605, 0.38634780049324036, 0.05594781041145325, 0.7361498475074768, 0.6630620956420898, -0.10812364518642426, -0.00583692779764533, -0.030215414240956306, 0.789605438709259, -0.4192957580089569, -0.280822217464447, -0.6389245986938477, 0.40728601813316345, -0.6583402752876282, 0.02596966363489628, 1.1496152877807617, 0.38227054476737976, 0.6920203566551208, 0.46920186281204224, 1.072237253189087, -0.28471723198890686, 0.6205651164054871, -0.002901515457779169, 1.118743658065796, -0.7428021430969238, 0.009773734956979752, -0.5896810293197632, -0.6918532252311707, -0.062448468059301376, 0.5412887930870056, 0.10905485600233078, 0.22279292345046997, 0.7597895860671997, 0.36304157972335815, -0.3802906274795532, -0.07093571126461029, -0.04287603124976158, 0.3451000452041626, 0.014028691686689854, -0.14420218765735626, 0.7513808608055115, -0.3525576889514923, 0.5141571164131165, -0.5163752436637878, -0.3975626528263092, -0.5551761984825134, -0.8978145718574524, -0.6225156784057617, -0.4910283088684082, -0.48949897289276123, -1.2247252464294434, 0.14489762485027313, 0.5387223958969116, 0.3705204427242279, -0.46505728363990784, -0.0035635409876704216, -0.03505709022283554, 0.5631440281867981, -0.3243136703968048, -0.3048502504825592, 0.3963209092617035, -0.2488209754228592, -0.47394922375679016, 0.17003464698791504, 0.37761276960372925, 0.027841221541166306, -0.4620829224586487, 0.2873077392578125, -0.355574369430542, 0.25989189743995667, 0.294572651386261, 0.22577884793281555, -0.23071669042110443, -0.5801766514778137, 0.13902848958969116, -0.254419207572937, -0.16546055674552917, 0.4666353464126587, -0.4248046875, 0.2615724503993988, 0.4843524396419525, 0.41705578565597534, 0.1255914270877838, 0.24517212808132172, 0.12693560123443604, -0.2957427501678467, -0.14005537331104279, 0.20738035440444946, 0.45946064591407776, 0.3828175961971283, -0.367679238319397, 0.5420913100242615, 0.7567636370658875, -0.4001588225364685, -0.7820048928260803, 0.2750855088233948, -0.6898171305656433, -0.6340281963348389, 1.1722882986068726, -0.3252810537815094, -0.2524861693382263, -0.6844311952590942, 0.544725239276886, 0.39957499504089355, -0.14770974218845367, 1.1960320472717285, 0.7741965055465698, 0.3660145103931427, 0.28521695733070374, -0.5355138778686523, 0.21513718366622925, -0.2884753942489624, -0.2604207992553711, -0.26952898502349854, 0.8413876891136169, 0.5811534523963928, 0.8174024820327759, 0.4739283323287964, 0.09362614899873734, 0.10426583141088486, 0.34002822637557983, -0.4181411862373352, -0.1253439038991928, -0.43819642066955566, 0.2724224925041199, 0.692621111869812, -0.004091964568942785, 0.13553066551685333 ]
http://arxiv.org/abs/2406.11418v1
http://arxiv.org/pdf/2406.11418v1
BAMBINO-LM: (Bilingual-)Human-Inspired Continual Pretraining of BabyLM
2024-06-17T11:08:08
2024-06-17T11:08:08
Zhewen Shen, Aditya Joshi, Ruey-Cheng Chen
cs.CL
cs.CL
Children from bilingual backgrounds benefit from interactions with parents and teachers to re-acquire their heritage language. In this paper, we investigate how this insight from behavioral study can be incorporated into the learning of small-scale language models. We introduce BAMBINO-LM, a continual pretraining strategy for BabyLM that uses a novel combination of alternation and PPO-based perplexity reward induced from a parent Italian model. Upon evaluation on zero-shot classification tasks for English and Italian, BAMBINO-LM improves the Italian language capability of a BabyLM baseline. Our ablation analysis demonstrates that employing both the alternation strategy and PPO-based modeling is key to this effectiveness gain. We also show that, as a side effect, the proposed method leads to similar degradation in L1 effectiveness as human children would have had in an equivalent learning scenario.
[ -0.21620915830135345, -0.7568711638450623, -0.005847651977092028, 0.09965718537569046, -0.45793774724006653, 0.39658358693122864, -0.18642643094062805, -0.47197532653808594, 0.1200966089963913, 0.3097788095474243, -0.5802866816520691, -0.09582621604204178, -0.5211412310600281, 0.028030574321746826, 0.09891132265329361, 1.229083776473999, 0.08660382032394409, 0.3071941137313843, 0.4029138684272766, 0.0780625119805336, -0.24858050048351288, -0.6023575067520142, -0.8228201270103455, -0.48181435465812683, 1.167201042175293, 0.7625184655189514, 0.4946899712085724, 0.4726158380508423, 0.1020832359790802, 0.19866354763507843, -0.15421117842197418, 0.10703686624765396, -0.8642805218696594, -0.1454305499792099, -0.19503651559352875, -0.6703914403915405, -0.47687435150146484, 0.12705391645431519, 0.7762652039527893, 1.0171135663986206, -0.4631907641887665, 0.0035551299806684256, 0.16428789496421814, 0.5734726190567017, -0.6592468023300171, -0.164062038064003, -0.7736338973045349, 0.18058346211910248, -0.2417650818824768, -0.08435560017824173, -0.43214982748031616, -0.3200198709964752, -0.051539234817028046, -0.1970057487487793, 0.09329954534769058, -0.12137460708618164, 0.936959981918335, -0.015635095536708832, -0.33024993538856506, -0.2517567276954651, -0.8735285997390747, 0.6866953372955322, -0.6860520839691162, 0.4134370982646942, 0.44789573550224304, -0.06515916436910629, -0.36362695693969727, -0.25634321570396423, -0.7566043734550476, -0.5262299180030823, -0.2763463258743286, -0.013118739239871502, 0.3306252062320709, -0.07243219763040543, 0.05115648731589317, 0.21558700501918793, -0.4946913421154022, 0.46165454387664795, -0.47388750314712524, -0.124962218105793, 0.47100040316581726, 0.1128549799323082, 0.2757967710494995, 0.07776191830635071, -0.0338495597243309, 0.13380171358585358, -1.0907703638076782, 0.3230237066745758, 0.6122565865516663, 0.4781269133090973, -0.11905761063098907, 0.41257917881011963, 0.06793345510959625, 0.7965630888938904, 0.22785405814647675, -0.43566226959228516, 0.21313613653182983, -0.12232154607772827, 0.02155163325369358, -0.034829553216695786, 0.5782440900802612, -0.3620688319206238, 0.04569727182388306, -0.5703976154327393, -0.27198779582977295, -0.15799793601036072, 0.22757349908351898, -0.7967539429664612, 0.1214536651968956, -0.1683564931154251, -0.11768484860658646, -0.31083157658576965, 0.031003868207335472, -0.7559393644332886, -0.013367214240133762, -0.3609197735786438, 0.5351216197013855, -0.606121838092804, -0.322478711605072, 0.07520309090614319, 0.3317005932331085, 0.41425052285194397, 0.04406516253948212, -1.4328062534332275, -0.09340766817331314, 0.6969436407089233, 0.7355416417121887, -0.14835825562477112, -0.47234347462654114, -0.38075917959213257, 0.2559303045272827, -0.4634762108325958, 0.8075429797172546, -0.4712955057621002, -0.9108244180679321, -0.12743595242500305, 0.017982257530093193, -0.28508663177490234, -0.7704669833183289, 0.19081659615039825, -0.4901570975780487, 0.22831220924854279, -0.05667649954557419, -0.1841617226600647, 0.05419016256928444, 0.3697693645954132, -0.4616641700267792, 0.5611709952354431, 0.2401643544435501, -0.6030490398406982, 0.7721584439277649, -0.5276145339012146, -0.6847193241119385, 0.09062949568033218, 0.019676698371767998, -0.6023818850517273, 0.41657230257987976, -0.2984434962272644, -0.030355922877788544, -0.04038557782769203, 0.08633299916982651, -0.0962371751666069, -0.4240623414516449, 0.007459023501724005, -0.32465654611587524, 1.116841435432434, 0.0580580048263073, -0.43763911724090576, -0.05304122343659401, -0.7514488697052002, -0.2459842562675476, 0.30753567814826965, -0.6410688757896423, -0.12971363961696625, -0.10086359828710556, -0.45056790113449097, 0.23227989673614502, 0.21485039591789246, -0.4429794251918793, 0.4374332129955292, -0.5442618131637573, -0.003809927264228463, 0.5172975063323975, 0.017648397013545036, 0.2979780435562134, -0.47230541706085205, 0.7925477623939514, 0.1179322749376297, 0.3191589415073395, -0.339453786611557, -0.1796479970216751, -1.0378550291061401, -0.5768370628356934, 0.4673563539981842, 0.6121165156364441, -0.7208237051963806, 0.6200407147407532, -0.16247431933879852, -0.4437812268733978, -0.5329675078392029, 0.42921164631843567, 0.5473507642745972, 0.6021943688392639, 0.23930740356445312, -0.7596556544303894, -0.4373086392879486, -0.7724403738975525, 0.14137649536132812, -0.22250403463840485, 0.03633003681898117, 0.017679091542959213, 0.530472457408905, -0.5047982335090637, 0.7341156601905823, 0.11048529297113419, -0.08545457571744919, -0.3609366714954376, 0.6064705848693848, 0.33241236209869385, 0.7151932716369629, 0.6239451169967651, -0.47129884362220764, -0.6041944026947021, 0.104692742228508, -0.37392523884773254, 0.15571478009223938, -0.08196514844894409, -0.32063236832618713, 0.3873485028743744, 0.1424833983182907, -0.40721455216407776, 0.3714677095413208, 0.4731716811656952, -0.2941315174102783, 0.9047365784645081, -0.4221424460411072, 0.06204216182231903, -0.4838925004005432, 0.06827322393655777, -0.6047075986862183, -0.09278247505426407, -0.845368504524231, -0.013378881849348545, -0.09599878638982773, 0.032655492424964905, -0.6933626532554626, 0.6400460600852966, -0.3749232292175293, 0.1316157430410385, -0.30616167187690735, -0.24230919778347015, -0.2828963100910187, 0.5908206701278687, 0.1329047828912735, 0.6247596740722656, 0.5028342604637146, -0.56662917137146, 0.14969263970851898, -0.14166073501110077, -0.157082200050354, 0.6524724960327148, -0.5278714895248413, 0.45065104961395264, -0.18672066926956177, 0.04774439334869385, -0.7036222219467163, 0.05057981610298157, 0.43079015612602234, -0.4198962450027466, 0.8123651146888733, 0.002196237910538912, -0.7155691385269165, -0.2704490125179291, 0.0036398794036358595, 0.3298885226249695, 0.5338265299797058, -0.47893911600112915, 0.48355743288993835, 0.14765697717666626, -0.2625062167644501, -0.253437876701355, -0.4980480968952179, 0.008559493348002434, -0.33366984128952026, -0.14350807666778564, 0.12979942560195923, -0.16120128333568573, -0.0016078153857961297, -0.15399999916553497, 0.047879770398139954, -0.09699989855289459, 0.2533492147922516, -0.2597350478172302, 0.43749138712882996, -0.1675158590078354, 0.14841578900814056, -0.00726595101878047, -0.19112218916416168, -0.25437697768211365, -0.3439452648162842, 0.7891275882720947, -0.09197673946619034, -0.1241753101348877, -0.28961125016212463, 0.29084131121635437, 0.2777036428451538, -0.2252584993839264, 1.1958171129226685, 0.41597631573677063, -0.11582446843385696, -0.046098943799734116, -0.37169569730758667, -0.20681986212730408, -0.4177197217941284, 0.06885470449924469, -0.42118406295776367, -0.6055252552032471, 0.28236207365989685, 0.058515239506959915, -0.014399071224033833, -0.05503873899579048, 0.7931873202323914, -0.4978454113006592, 0.7093750238418579, 0.8835208415985107, -0.11574233323335648, 0.7951399087905884, -0.4242764115333557, 0.05264567956328392, -0.7433927059173584, -0.40543413162231445, -0.4214847981929779, -0.3466286361217499, -0.42750972509384155, -0.3735690414905548, 0.17877410352230072, 0.4212516248226166, -0.5006378293037415, 0.2709319591522217, -0.007310215849429369, 0.2639687657356262, 0.4452977776527405, 0.47488752007484436, 0.43885135650634766, 0.038651492446660995, -0.3584957718849182, -0.01981476880609989, -0.8818129301071167, -0.42370590567588806, 1.1285475492477417, 0.006577284540981054, 0.6049225330352783, 0.20661942660808563, 0.9841195940971375, -0.1883605420589447, 1.0884438753128052, -0.7456084489822388, 0.4138246476650238, -0.05874667689204216, -0.9620761871337891, -0.4740658104419708, -0.4157121181488037, -1.285392165184021, 0.4344342350959778, -0.3153277635574341, -0.9568543434143066, 0.2569321393966675, 0.4595995843410492, -0.3412267565727234, 0.044596895575523376, -0.5560930967330933, 0.9368951320648193, -1.0388364791870117, -0.8221758604049683, -0.3298932611942291, -0.5134972333908081, 0.21097888052463531, -0.45640048384666443, 0.2543598413467407, 0.06486795097589493, -0.1323317140340805, 0.37914130091667175, -0.3428698778152466, 0.7874283790588379, -0.17328022420406342, -0.23487237095832825, 0.12498340010643005, 0.2712460160255432, 0.22968466579914093, -0.012478460557758808, -0.19159860908985138, 0.25750383734703064, -0.4071217179298401, -0.8959118723869324, -0.58017897605896, 0.32093268632888794, -0.5627362728118896, -0.8603429794311523, -0.3312424421310425, -0.42956095933914185, -0.5455767512321472, 0.36114829778671265, 0.3515265882015228, 0.021589497104287148, -0.15116892755031586, 0.30286356806755066, 0.5608228445053101, -0.19535475969314575, 0.18762348592281342, 0.9915568232536316, -0.3373909294605255, -0.17583754658699036, 0.7235888242721558, -0.02378358505666256, 0.4942640960216522, 0.30853861570358276, 0.2790979743003845, -0.004998913034796715, -0.5245611071586609, -0.25561949610710144, 0.764764666557312, -0.17651042342185974, 0.15124179422855377, -0.2093016356229782, 0.03156790882349014, -0.20032183825969696, -0.3565155565738678, -0.4248417913913727, 0.10909470170736313, -0.23286499083042145, -0.22096316516399384, -0.422160267829895, 0.37307634949684143, -0.40511631965637207, 0.4641607403755188, -0.6402249932289124, 0.2332284152507782, 0.5428808927536011, 0.2702626883983612, 0.039743997156620026, -0.9385610222816467, -0.5927401185035706, 0.34342652559280396, -0.4450533390045166, -0.8450338244438171, 0.41522857546806335, 0.07369309663772583, 0.8055165410041809, 0.7558022737503052, -0.37964871525764465, 0.8834676742553711, -0.6717461347579956, 0.5175719261169434, 0.514149010181427, -0.8365986347198486, 0.5617684125900269, -0.31684285402297974, 0.2725261449813843, 0.666612446308136, 0.7297971844673157, -0.2792394161224365, -0.23206377029418945, -0.6586315631866455, -0.6763980984687805, 0.7498522400856018, 0.0184897743165493, 0.20949535071849823, 0.07201462984085083, 0.2268901765346527, 0.2123248428106308, 0.42865899205207825, -0.8724877238273621, 0.013751104474067688, -0.10225316882133484, -0.04122329130768776, -0.35309073328971863, -0.36688292026519775, -0.12107466906309128, -0.6169330477714539, 0.7074221968650818, 0.1210101768374443, 0.06020314618945122, -0.1058318242430687, -0.3811701536178589, -0.15889573097229004, 0.12879478931427002, 0.3771689534187317, 0.7548693418502808, -0.12946337461471558, -0.2332196980714798, 0.24326054751873016, -0.19117824733257294, 0.4506460726261139, -0.1008676216006279, -0.2968796491622925, -0.04447898268699646, 0.6405472159385681, 0.8302207589149475, 0.6228274703025818, -0.6295790672302246, 0.012138803489506245, 0.2192031443119049, 0.04481859505176544, -0.11807988584041595, 0.1371210217475891, 0.1152959018945694, -0.018228493630886078, 0.26144957542419434, -0.565189003944397, -0.12899760901927948, -1.2844094038009644, 0.14616915583610535, 0.48848289251327515, -0.3084222376346588, -0.5668137669563293, 0.3426644802093506, 0.24694623053073883, -0.6402149796485901, 0.5746160745620728, -0.3704521059989929, -0.691183865070343, 0.6187593936920166, 0.5744279026985168, 0.6079416275024414, -0.6858295202255249, 0.3769715130329132, 0.3862459361553192, 0.28768080472946167, 0.12322515994310379, -0.06684833019971848, -0.462149977684021, -1.060060977935791, -0.1611541211605072, -0.7135151624679565, -0.469669908285141, 0.09010346978902817, -0.6231964826583862, 0.42207810282707214, -0.3374415934085846, 0.06450918316841125, -0.23056244850158691, 0.0023011008743196726, -0.7520348429679871, 0.20375372469425201, 0.3822357952594757, 0.36330080032348633, -0.6792895793914795, 1.21983802318573, 0.6684665083885193, -0.5847176313400269, -0.8503847718238831, 0.20338967442512512, -0.17830903828144073, -0.6575922966003418, 0.962388277053833, 0.01740344613790512, -0.3182506859302521, 0.1914588361978531, -0.3086216151714325, -0.5522493124008179, 0.7394258379936218, 0.36420443654060364, -0.7340386509895325, -0.1276412308216095, 0.1005292758345604, 0.785775899887085, -0.38902366161346436, 0.21942433714866638, 0.968548595905304, 0.4126933813095093, 0.35957419872283936, -0.8716965913772583, -0.5949604511260986, 0.13545894622802734, 0.1047525480389595, -0.10014687478542328, -0.6502087712287903, 0.6108946204185486, -0.5145846009254456, -0.2457842379808426, 0.11508049815893173, 0.5189522504806519, 0.35509687662124634, 0.16573570668697357, 0.6853200197219849, 0.28070658445358276, 0.568585216999054, 0.044876281172037125, 0.8651418685913086, -0.3351896107196808, 0.43475714325904846, 1.094502568244934, -0.1988736093044281, 0.6919260621070862, 0.6136613488197327, -0.3308486044406891, 0.8749929070472717, 0.6788672804832458, 0.40856578946113586, 0.548757016658783, 0.24860788881778717, -0.40409165620803833, -0.07120977342128754, 0.0805172398686409, -0.09774453938007355, 0.41238677501678467, 0.5142737627029419, 0.02445176988840103, -0.09542124718427658, 0.35363560914993286, 0.4757632911205292, -0.05594933032989502, -0.3663567900657654, 0.8139575719833374, 0.041749678552150726, -0.7856835126876831, 0.8782646656036377, -0.29982617497444153, 0.8044514060020447, -0.8833030462265015, 0.2585071623325348, -0.693304181098938, 0.05162191763520241, -0.06661804765462875, -0.00160783133469522, 0.2840289771556854, 0.09951461106538773, -0.047270793467760086, -0.24625913798809052, 0.031003037467598915, -0.77308589220047, -0.7434874176979065, 0.4351648688316345, 0.3493788242340088, -0.04413186013698578, 0.5685412883758545, -0.7323771715164185, -0.18475641310214996, 0.005815078504383564, -0.41380563378334045, 0.4001266062259674, 0.4641887843608856, 0.2107415795326233, 0.5077996850013733, 0.7508313059806824, 0.7078754305839539, 0.1973801851272583, -0.07308422774076462, 0.6858516335487366, -0.5703473687171936, -0.5260597467422485, -0.6712782382965088, 0.6134889125823975, 0.22491323947906494, -0.09390681982040405, 0.5531076788902283, 0.36950936913490295, 1.0448483228683472, -0.27319103479385376, 0.4614710509777069, -0.17511148750782013, 0.6085004210472107, -0.4178503155708313, 0.6077673435211182, -0.7735331058502197, 0.18689550459384918, 0.07839968800544739, -0.8154336214065552, -0.297369122505188, 0.8083978295326233, -0.5730013251304626, 0.047719862312078476, 0.7826299667358398, 0.8152129054069519, 0.14740626513957977, -0.5356565713882446, 0.6608803868293762, 0.39313703775405884, 0.2519683539867401, 0.5193890333175659, 0.8675097227096558, 0.258622944355011, 0.4461745023727417, -0.336395263671875, -0.46175307035446167, -0.3414958119392395, -0.7732481360435486, -0.7537786364555359, -0.24331235885620117, -0.05872965604066849, -0.026866227388381958, 0.35599803924560547, 0.7795813083648682, 0.8278511166572571, -0.886309802532196, -0.46013379096984863, -0.08397525548934937, 0.12109393626451492, -0.06111295148730278, -0.1412515640258789, -0.06923707574605942, -0.7161408066749573, -0.926150381565094, 0.2695309519767761, 0.3312602639198303, 0.004014681093394756, -0.47725436091423035, -0.16270017623901367, -0.36988314986228943, 0.1953984797000885, 0.5176378488540649, 0.7129504680633545, -0.3718988299369812, -0.16846920549869537, -0.4814619719982147, -0.1450035721063614, 0.07653817534446716, 1.1129838228225708, -0.702356219291687, 0.6001856923103333, 0.1093829944729805, 0.39765313267707825, 0.6941981315612793, 0.0064165121875703335, 0.5069669485092163, -0.3488835394382477, 0.9404503703117371, 0.43195170164108276, 0.31411537528038025, 0.26439934968948364, -0.27513426542282104, 0.34901395440101624, 0.43946921825408936, -0.23253007233142853, -0.6631900072097778, 0.43291351199150085, -0.3270673453807831, -0.26685193181037903, 1.0547956228256226, -0.46157461404800415, -0.24286878108978271, -0.08445674926042557, -0.25353729724884033, 0.26073458790779114, -0.028759486973285675, 1.2277928590774536, 0.6747909188270569, -0.168101504445076, -0.2949753999710083, -0.13995838165283203, 0.13960768282413483, 0.6855140924453735, -0.8163313865661621, -0.5497280955314636, 0.2720348834991455, 0.3314502537250519, 0.06276404112577438, 0.6444264054298401, -0.2769310176372528, 0.32104170322418213, -0.021817035973072052, 0.17572936415672302, -0.03873125836253166, -0.5270056128501892, -0.471701979637146, -0.24262802302837372, 0.19217145442962646, -0.005545546300709248 ]
http://arxiv.org/abs/2406.15486v2
http://arxiv.org/pdf/2406.15486v2
SampleAttention: Near-Lossless Acceleration of Long Context LLM Inference with Adaptive Structured Sparse Attention
2024-06-17T11:05:15
2024-06-28T08:55:17
Qianchao Zhu, Jiangfei Duan, Chang Chen, Siran Liu, Xiuhong Li, Guanyu Feng, Xin Lv, Huanqi Cao, Xiao Chuanfu, Xingcheng Zhang, Dahua Lin, Chao Yang
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) now support extremely long context windows, but the quadratic complexity of vanilla attention results in significantly long Time-to-First-Token (TTFT) latency. Existing approaches to address this complexity require additional pretraining or finetuning, and often sacrifice model accuracy. In this paper, we first provide both theoretical and empirical foundations for near-lossless sparse attention. We find dynamically capturing head-specific sparse patterns at runtime with low overhead is crucial. To address this, we propose SampleAttention, an adaptive structured and near-lossless sparse attention. Leveraging observed significant sparse patterns, SampleAttention attends to a fixed percentage of adjacent tokens to capture local window patterns, and employs a two-stage query-guided key-value filtering approach, which adaptively select a minimum set of key-values with low overhead, to capture column stripe patterns. Comprehensive evaluations show that SampleAttention can seamlessly replace vanilla attention in off-the-shelf LLMs with nearly no accuracy loss, and reduces TTFT by up to $2.42\times$ compared with FlashAttention.
[ -0.06255105882883072, -0.6973701119422913, 0.6535958051681519, 0.4622285068035126, -0.2596856951713562, 0.2126561403274536, -0.3857571482658386, -0.5223082900047302, 0.2084520310163498, 0.3355778157711029, -0.8038771152496338, -0.3686659336090088, -0.32896745204925537, -0.05489203706383705, -0.4509221613407135, 0.8121399879455566, -0.0019776930566877127, -0.3176538050174713, -0.22536763548851013, -0.31947657465934753, -0.36384618282318115, -0.23786300420761108, -0.6417095065116882, 0.15381933748722076, 0.6934460401535034, 0.4363226294517517, 0.18733935058116913, 0.6709577441215515, 0.0695788711309433, 0.3216116726398468, -0.19905942678451538, 0.21147453784942627, -0.7955644726753235, 0.04347454011440277, -0.07292192429304123, -0.4890928864479065, -0.6182001233100891, 0.15943537652492523, 0.6897116303443909, 0.8543850183486938, 0.0024716162588447332, 0.2621534764766693, 0.40192925930023193, 0.6132692098617554, -0.791031539440155, -0.04814745485782623, -0.6623052954673767, -0.029135065153241158, -0.23785680532455444, -0.21992257237434387, -0.32184863090515137, -0.11894364655017853, 0.14046193659305573, -0.7221009135246277, 0.5077775120735168, 0.30817538499832153, 0.5175615549087524, 0.3178374469280243, -0.042563073337078094, 0.13800419867038727, -0.5985826253890991, 1.1855648756027222, -0.6149773597717285, 0.37926438450813293, 0.330735981464386, 0.05443926528096199, -0.4709675908088684, -0.9174225926399231, -0.45261943340301514, -0.14690645039081573, 0.10166367143392563, 0.015207696706056595, -0.09935843199491501, 0.2520872950553894, 0.26314201951026917, 0.24350935220718384, -0.5008212327957153, 0.11684621870517731, -0.252723753452301, -0.20925170183181763, 0.21752135455608368, -0.0031572349835187197, -0.20999927818775177, 0.2904990315437317, -0.3087944984436035, -0.030389292165637016, -0.7492872476577759, 0.010010773316025734, -0.03842217102646828, 0.3968135714530945, -0.29959622025489807, 0.08731970936059952, -0.2611669898033142, 0.8790588974952698, 0.3528366982936859, -0.2191452831029892, -0.027165845036506653, -0.35425910353660583, -0.39918068051338196, 0.05194573476910591, 0.5531238913536072, 0.08788599818944931, 0.14124195277690887, -0.44613349437713623, -0.12525083124637604, -0.3485950231552124, 0.0952153354883194, -1.0288347005844116, -0.17405983805656433, 0.5474371910095215, -0.3220764696598053, -0.2505165934562683, -0.26971685886383057, -0.8063634634017944, -0.18921202421188354, -0.1929747760295868, 0.09508117288351059, -0.2564094066619873, 0.09621159732341766, -0.10317491739988327, 0.0359928160905838, 0.3070617616176605, 0.47204428911209106, -0.7915878295898438, 0.36939164996147156, 0.6283602118492126, 1.1214858293533325, -0.6255390048027039, -0.19144973158836365, -0.893276572227478, 0.08508498966693878, -0.320395827293396, 1.067110300064087, -0.3872808814048767, -0.029728181660175323, -0.22326438128948212, 0.042372822761535645, 0.04904613271355629, -0.5791564583778381, 0.3123701810836792, -0.6349563002586365, 0.06929253041744232, 0.04464910551905632, -0.5020836591720581, 0.06368019431829453, 0.2290526181459427, -0.5526734590530396, 1.2061480283737183, 0.5552539229393005, -0.4082973897457123, 0.6077868938446045, -0.5719075798988342, -0.33595412969589233, 0.20075173676013947, 0.008387801237404346, -0.2896212935447693, 0.32243582606315613, 0.12776558101177216, 0.5000771284103394, -0.0560305081307888, -0.1421022117137909, -0.7114319205284119, -0.7675617337226868, 0.18202519416809082, -0.37035879492759705, 0.47341105341911316, 0.015142254531383514, -0.2642054557800293, 0.31207653880119324, -1.1632224321365356, -0.006539276801049709, 0.040849748998880386, -0.26431185007095337, -0.45747309923171997, 0.266250342130661, 0.337006151676178, 0.054095812141895294, -0.005646745208650827, -0.6498720645904541, -0.039011288434267044, -0.6666613817214966, 0.5591045022010803, 0.9121854305267334, -0.050886549055576324, 0.6100192666053772, -0.1311357170343399, 0.431665301322937, 0.10426852107048035, -0.23507855832576752, -0.23141980171203613, 0.04443326219916344, -0.6187719106674194, -0.6027792692184448, 0.35258039832115173, 0.19743867218494415, -0.3297795355319977, 0.2343473583459854, -0.4175150692462921, 0.013700604438781738, -0.4769325852394104, 0.3601575791835785, 0.21010757982730865, 0.45513901114463806, 0.2839893698692322, -0.13036441802978516, -0.5161738991737366, -0.6780802607536316, -0.1028776541352272, 0.07912027835845947, -0.3333267569541931, 0.2243058979511261, 0.07036759704351425, 0.16385404765605927, 0.9802621603012085, -0.5279320478439331, -0.38594603538513184, -0.16741563379764557, 0.03144298866391182, 0.22773462533950806, 0.45060762763023376, 0.6345041394233704, -0.5347116589546204, -0.26153144240379333, -0.18613296747207642, -0.06873726099729538, -0.25651341676712036, -0.13743029534816742, -0.14374026656150818, 0.20751455426216125, 0.7095974087715149, -0.41724294424057007, 0.227219820022583, 0.513567328453064, -0.09937670826911926, 0.14998868107795715, -0.08456092327833176, -0.2272525131702423, -1.0308212041854858, 0.06624491512775421, -0.06958885490894318, -0.6722269058227539, -0.5879077911376953, 0.02487696334719658, 0.12913013994693756, -0.0014917508233338594, -0.5730404257774353, 0.8062021732330322, -0.5436403155326843, -0.11267992109060287, -0.6468091607093811, 0.3315499424934387, 0.12043469399213791, 0.772888720035553, 0.059836216270923615, 1.0443679094314575, 0.043436262756586075, -0.6823340654373169, 0.17159926891326904, -0.10401026904582977, -0.368526816368103, 0.6499375104904175, -0.6049433350563049, 0.4369875490665436, -0.2612914741039276, 0.21814754605293274, -1.3709808588027954, -0.22713398933410645, 0.06599976867437363, -0.33769097924232483, 0.5098614692687988, -0.07729896157979965, -0.15771612524986267, -0.14371001720428467, -0.5585342049598694, 0.6193326711654663, 0.3984051048755646, -0.45346567034721375, 0.5122992992401123, 0.10713458061218262, -0.2026946097612381, -0.44705429673194885, -0.6669694185256958, 0.039960820227861404, -0.14017648994922638, -0.1692592203617096, 0.41742581129074097, -0.08999686688184738, -0.03550737351179123, -0.08575911074876785, -0.30749356746673584, -0.23716102540493011, 0.31419265270233154, 0.0986323207616806, 0.05153035372495651, -0.43516188859939575, 0.10437806695699692, -0.028250498697161674, -0.0296547282487154, -0.10357224941253662, -0.6262616515159607, 0.4363167881965637, 0.28063705563545227, -0.09360529482364655, -0.2954217195510864, 0.39642301201820374, 0.5834022164344788, 0.016619054600596428, 0.5222227573394775, 0.44369152188301086, -0.4144957959651947, -0.5608081817626953, -0.6332431435585022, -0.13833807408809662, -0.4790542721748352, 0.8382107019424438, -0.10823314636945724, -1.1682604551315308, 0.39915522933006287, 0.07563739269971848, 0.08539129048585892, -0.015496154315769672, 0.5324052572250366, -0.331855446100235, 0.6491459608078003, 0.7120779752731323, -0.3003093898296356, 0.7473891377449036, 0.12141475826501846, 0.09329575300216675, -0.7337444424629211, 0.08690950274467468, -0.421214759349823, -0.4787788987159729, -0.49728521704673767, -0.647002637386322, 0.23979441821575165, -0.21142113208770752, -0.052302807569503784, 0.04325047507882118, -0.3401068150997162, 0.6158068776130676, 0.42141300439834595, 0.14675134420394897, -0.009476247243583202, 0.04693548381328583, 0.26516494154930115, -0.16771170496940613, -0.5173553228378296, -0.07324400544166565, 0.8351356387138367, 0.18294604122638702, 0.8110690712928772, -0.11954360455274582, 0.27629896998405457, 0.3101077973842621, 0.4392787516117096, -1.0256690979003906, 0.48041191697120667, -0.08348564058542252, -0.29357990622520447, -0.30526888370513916, -0.16296930611133575, -0.7977757453918457, 0.15330903232097626, 0.09797389805316925, -0.8795600533485413, 0.26377686858177185, 0.6008052825927734, -0.7100490927696228, 0.04211784899234772, -0.4171842038631439, 0.7551838159561157, 0.09932181984186172, -0.7431594729423523, -0.11477392911911011, -0.5651964545249939, 0.39794763922691345, -0.42093008756637573, -0.0015690568834543228, -0.18286126852035522, -0.3388552665710449, 0.6183797717094421, -0.2108020782470703, 0.9722177982330322, -0.2525251805782318, -0.10751774907112122, 0.12005069106817245, -0.0511508509516716, 0.6162031888961792, -0.21817272901535034, 0.20591360330581665, -0.2755820155143738, 0.11070448160171509, -0.6899603605270386, -0.6571958661079407, 0.703514039516449, -0.2962327003479004, -0.40478816628456116, -0.329026460647583, -0.7187955975532532, -0.4684852659702301, 0.19362257421016693, -0.04052359610795975, 0.23317226767539978, -0.20221462845802307, 0.29485979676246643, 0.8715651035308838, 0.05773352459073067, 0.5516766309738159, 0.41983115673065186, 0.12748470902442932, -0.26144978404045105, 0.8823649287223816, -0.028910305351018906, 0.33668214082717896, 0.5173276662826538, -0.008579650893807411, -0.22211259603500366, -0.8959066271781921, -0.33067774772644043, 0.1884039342403412, -0.3187689483165741, -0.26844653487205505, -0.6110267639160156, 0.13768206536769867, -0.3829725980758667, -0.0045877909287810326, -0.42110857367515564, -0.2850075662136078, -0.34276530146598816, -0.027673108503222466, 0.40171533823013306, 0.16335193812847137, 0.2971099019050598, 0.6086874008178711, -0.7402423620223999, 0.292452871799469, 0.21753011643886566, 0.30646800994873047, 0.11250818520784378, -0.7201682329177856, -0.4124413728713989, -0.12277936935424805, -0.14283062517642975, -0.6626601815223694, 0.25409314036369324, 0.546862781047821, 0.29022085666656494, 0.49145805835723877, 0.08835621178150177, 1.172476053237915, -0.6402220129966736, 0.7028157711029053, -0.28724849224090576, -0.837496280670166, 0.25301462411880493, -0.11473161727190018, 0.48471537232398987, 0.742343544960022, -0.016477154567837715, -0.48566561937332153, -0.6032134890556335, -0.1638173758983612, -0.8513396978378296, 0.915282130241394, -0.11307781934738159, 0.21482698619365692, 0.0890108272433281, 0.5879069566726685, -0.18762990832328796, 0.12417981028556824, -0.7322578430175781, 0.16921578347682953, -0.007059911731630564, -0.3756065368652344, -0.03543210029602051, -0.40808650851249695, -0.0020983752328902483, -0.0683898776769638, 0.42456430196762085, -0.4986813962459564, 0.359232634305954, 0.30241698026657104, -0.33863985538482666, -0.1384279727935791, 0.09756879508495331, 0.9559462070465088, 0.5037806034088135, -0.4400631785392761, 0.07139991223812103, 0.33183908462524414, -0.617739737033844, 0.283720999956131, 0.20722831785678864, -0.17831027507781982, -0.14996765553951263, 0.5198999047279358, 0.8600133061408997, 0.5466211438179016, -0.7955266237258911, 0.6402765512466431, 0.005657666362822056, -0.07334482669830322, -0.29409167170524597, 0.096058689057827, -0.02175753004848957, 0.1682654172182083, 0.48904117941856384, -0.32262933254241943, 0.13661018013954163, -0.3499937951564789, 0.23747488856315613, 0.4802495539188385, -0.5653262734413147, -0.3896220028400421, 0.7632147073745728, -0.0945282056927681, -0.059643879532814026, 0.3159644603729248, -0.025868594646453857, -0.11544126272201538, 0.5564126968383789, 0.502621054649353, 0.9681147933006287, -0.2919779121875763, -0.33839982748031616, 0.15000878274440765, 0.09133549779653549, 0.19480548799037933, 0.11773733794689178, -0.5774304270744324, -0.48285597562789917, -0.9148620963096619, -0.8327597379684448, -0.2987850606441498, 0.5235617160797119, -0.4964084029197693, 0.006477144081145525, -0.5809005498886108, 0.22276923060417175, -0.15772320330142975, -0.16250790655612946, -0.23683954775333405, 0.24914400279521942, -0.003574107075110078, 1.0812925100326538, -0.679366946220398, 0.8261324763298035, 0.4350247383117676, 0.15894198417663574, -0.5311750173568726, 0.3658958375453949, -0.16113315522670746, -0.7183184027671814, 0.473285436630249, 0.26331475377082825, -0.2231152057647705, 0.07782018184661865, -0.7432258725166321, -0.9817901849746704, 0.9294137358665466, 0.3694102168083191, -0.5529436469078064, -0.3367786705493927, -0.044157978147268295, 0.38450419902801514, -0.14372138679027557, 0.09404575824737549, 0.8037678599357605, 0.16650547087192535, 0.2822631299495697, -0.42310041189193726, 0.06807096302509308, 0.042965877801179886, 0.1499161571264267, 0.09080230444669724, -0.7734284996986389, 0.5473595857620239, 0.03483126312494278, -0.30453619360923767, 0.3439185321331024, 1.2458235025405884, 0.3314654529094696, 0.2595372498035431, 0.551200807094574, 0.33395662903785706, 0.5317243337631226, -0.04628511145710945, 0.8130496144294739, -0.4294990003108978, 0.17358388006687164, 1.2701934576034546, -0.38630375266075134, 0.825949490070343, 0.8010045886039734, -0.4456906318664551, 0.1574660688638687, 0.8165167570114136, 0.28702470660209656, 0.70405113697052, 0.32486671209335327, -0.39745980501174927, -0.048739854246377945, 0.010774338617920876, 0.04482769966125488, 0.4633636176586151, 0.33514246344566345, -0.10749292373657227, -0.19746007025241852, 0.1628006249666214, -0.06782092154026031, -0.08610361814498901, -0.40123704075813293, 0.8041466474533081, 0.17464427649974823, -0.6986159086227417, 0.6510827541351318, -0.010465110652148724, 0.6994214653968811, -0.6604753136634827, -0.1573856770992279, -0.46571120619773865, 0.31270116567611694, 0.02590986154973507, -0.2246289700269699, 0.219429150223732, 0.0052105579525232315, -0.3319977819919586, -0.24749970436096191, 0.5584177374839783, -0.5348091721534729, -0.41737186908721924, 0.17672666907310486, 0.14879146218299866, 0.037123993039131165, -0.13188931345939636, -0.3764796257019043, -0.023409122601151466, -0.2427966147661209, -0.4615154564380646, 0.5815497636795044, 0.43105265498161316, -0.161789670586586, 0.37185660004615784, 0.6693223714828491, 0.37513670325279236, 0.09675148874521255, -0.14858348667621613, 0.8034680485725403, -0.5610413551330566, -0.5861065983772278, -0.8112227320671082, 0.2001582533121109, -0.020757123827934265, -0.0853801816701889, 0.4014219343662262, 0.472267746925354, 0.7101283073425293, -0.02121453918516636, 0.4347012937068939, 0.22057753801345825, 0.7721177935600281, -0.696267306804657, 0.5197888016700745, -0.6654350161552429, 0.07833993434906006, -0.12539757788181305, -1.0274150371551514, -0.43001610040664673, 0.4805624783039093, 0.042055875062942505, 0.23447251319885254, 0.5966469049453735, 0.7992160320281982, -0.45349228382110596, -0.4868556261062622, 0.45157209038734436, 0.4324921667575836, 0.27530792355537415, 0.7153284549713135, 0.5294894576072693, -0.09285199642181396, 0.45989590883255005, -0.1218557059764862, -0.2629903554916382, -0.137105792760849, -1.0968109369277954, -0.7247734069824219, -0.22411665320396423, -0.12096022069454193, -0.4291231036186218, 0.06842485815286636, 1.0706144571304321, 0.9262115359306335, -1.0711324214935303, -0.13174884021282196, -0.09765317291021347, -0.1079571321606636, -0.20156486332416534, -0.23427601158618927, 0.6084045171737671, -0.5241652131080627, -1.0862329006195068, 0.5539788603782654, 0.5265186429023743, 0.11028363555669785, -0.21040552854537964, 0.20951643586158752, 0.023692665621638298, 0.08752745389938354, 0.7044767141342163, 0.46344611048698425, -0.6774207949638367, -0.44097498059272766, 0.007034046575427055, -0.10658568888902664, 0.35125452280044556, 0.7990482449531555, -0.871070921421051, 0.17246268689632416, 0.3317251205444336, 0.8862982392311096, 0.5703034996986389, 0.19916078448295593, 0.41471001505851746, -1.192775011062622, 0.7774867415428162, 0.28552988171577454, 0.2735940217971802, 0.20951059460639954, -0.3437005281448364, 0.19278347492218018, 0.5838410258293152, -0.31752297282218933, -1.0709174871444702, -0.0078059034422039986, -1.1980128288269043, -0.09759879112243652, 0.9422225952148438, -0.26462510228157043, -0.8367111086845398, -0.16961224377155304, -0.22552576661109924, 0.026236047968268394, -0.36124399304389954, 0.6144500970840454, 0.6627076864242554, -0.048632435500621796, -0.46033918857574463, -0.46703431010246277, 0.6808805465698242, 0.5744016766548157, -0.7165700197219849, 0.2605278491973877, 0.5401719808578491, 0.31657782196998596, -0.0985020250082016, 0.8122797608375549, 0.10282309353351593, 0.4222705066204071, -0.3045004904270172, -0.2093040645122528, -0.04813770949840546, -0.297029972076416, -0.4948819875717163, 0.3203788101673126, 0.1663137972354889, -0.38430914282798767 ]
http://arxiv.org/abs/2406.15485v2
http://arxiv.org/pdf/2406.15485v2
SegHist: A General Segmentation-based Framework for Chinese Historical Document Text Line Detection
2024-06-17T11:00:04
2024-06-25T07:37:22
Xingjian Hu, Baole Wei, Liangcai Gao
cs.CL
cs.CL, cs.CV
Text line detection is a key task in historical document analysis facing many challenges of arbitrary-shaped text lines, dense texts, and text lines with high aspect ratios, etc. In this paper, we propose a general framework for historical document text detection (SegHist), enabling existing segmentation-based text detection methods to effectively address the challenges, especially text lines with high aspect ratios. Integrating the SegHist framework with the commonly used method DB++, we develop DB-SegHist. This approach achieves SOTA on the CHDAC, MTHv2, and competitive results on HDRC datasets, with a significant improvement of 1.19% on the most challenging CHDAC dataset which features more text lines with high aspect ratios. Moreover, our method attains SOTA on rotated MTHv2 and rotated HDRC, demonstrating its rotational robustness. The code is available at https://github.com/LumionHXJ/SegHist.
[ -0.3641761839389801, -1.0428197383880615, 0.5051228404045105, 0.0738663300871849, -0.6080548763275146, -0.44083720445632935, 0.2055085450410843, -0.4684964418411255, 0.48315271735191345, 0.7651531100273132, -0.7608998417854309, -0.6635124683380127, 0.11397754400968552, 0.13430501520633698, -0.406490683555603, 1.0100598335266113, -0.08742132782936096, 0.04590168967843056, 0.123042032122612, -0.2258118987083435, -0.1801646202802658, -0.5894933938980103, -0.2914818227291107, 0.1113903596997261, 0.019099785014986992, 0.6074950098991394, 0.5043137669563293, 1.2484227418899536, 0.7624571919441223, 0.09313572943210602, -0.012280693277716637, 0.26405858993530273, -0.14849381148815155, 0.576629102230072, 0.13598109781742096, -0.036504678428173065, -0.5012052059173584, -0.4873187243938446, 0.6517248153686523, 0.1318393349647522, 0.025876576080918312, -0.26602569222450256, 0.12907174229621887, 0.746421754360199, -0.5667986869812012, -0.2379951924085617, -0.18227198719978333, 0.05451007932424545, -0.8348471522331238, -0.6635003685951233, -0.13796450197696686, -0.3705440163612366, 0.13766750693321228, -0.7527182698249817, 0.40040019154548645, 0.1427145004272461, 1.12529456615448, -0.07550760358572006, -0.4227178990840912, -0.5192543864250183, -0.25735071301460266, 0.5531269311904907, -0.7384285926818848, 0.367143839597702, 0.41072049736976624, 0.4324917793273926, -0.029834527522325516, -0.7435523867607117, -0.41813844442367554, 0.013675215654075146, 0.07237805426120758, 0.14671993255615234, 0.28196030855178833, -0.2235155999660492, 0.19648660719394684, 0.6375297904014587, -0.9329760074615479, 0.20299465954303741, -0.14217448234558105, -0.33997654914855957, 0.2996833026409149, 0.276164174079895, 0.6709532141685486, -0.4663340151309967, -0.5268489718437195, -0.06556706875562668, -0.6588298678398132, 0.12936466932296753, 0.4254624843597412, -0.020628800615668297, -0.08100371062755585, 0.15856698155403137, -0.14527744054794312, 0.5417596697807312, 0.0336306206882, 0.13415312767028809, 0.007307388819754124, -0.20233795046806335, -0.3429316580295563, 0.13505038619041443, 0.6807767748832703, 0.27798721194267273, -0.09540607780218124, 0.32121291756629944, -0.06380891054868698, -0.12818361818790436, 0.004721837118268013, -1.1162532567977905, -0.27588292956352234, -0.25924041867256165, -0.5323926210403442, -0.2520008981227875, 0.20625516772270203, -0.9992733001708984, -0.8901744484901428, 0.02399767003953457, 0.0027068217750638723, -0.651495099067688, -0.07145323604345322, -0.0327155701816082, -0.09089574217796326, 0.7577247619628906, 0.5875105857849121, -1.1915063858032227, -0.08843035250902176, 0.7253023386001587, 0.9496132731437683, -0.30108270049095154, -0.17194540798664093, -0.7080899477005005, 0.19471503794193268, -0.3042528033256531, 1.3083550930023193, -0.17697550356388092, -0.4317791163921356, 0.07181950658559799, 0.17362163960933685, 0.43109869956970215, -0.3475615978240967, 1.2101162672042847, -0.36206796765327454, 0.34783461689949036, -0.44682347774505615, -0.36483800411224365, -0.1481899470090866, 0.5396705865859985, -0.8558802008628845, 1.096191644668579, 0.09844987839460373, -1.169758677482605, 0.5273029208183289, -0.1293799728155136, -0.9452405571937561, 0.30995866656303406, -0.3474438786506653, -0.7642266154289246, -0.4112517833709717, 0.5259400606155396, 0.4060804843902588, -0.5815133452415466, 0.16655884683132172, -0.37151315808296204, -0.5473661422729492, -0.18032792210578918, -0.4592055380344391, 1.0566059350967407, 0.24610450863838196, -0.42489156126976013, 0.1830853521823883, -0.7231466770172119, 0.039838239550590515, -0.0689157024025917, -0.5108526945114136, -0.5838870406150818, 0.044642385095357895, 0.5783603191375732, -0.0875270888209343, 0.309831440448761, -0.18243847787380219, 0.2883164882659912, -0.38985675573349, 0.2076394408941269, 0.7548829317092896, 0.035926882177591324, 0.31611087918281555, -0.18975088000297546, 0.45611944794654846, -0.05686619132757187, 0.01088821142911911, -0.45717453956604004, 0.021627530455589294, -1.02530837059021, -0.3216385841369629, -0.04322493076324463, 0.46978744864463806, -0.9627197980880737, 0.886748731136322, -0.08374655246734619, -0.38132697343826294, 0.1894640475511551, -0.11654065549373627, -0.0814637616276741, 0.267548143863678, 0.470853328704834, -0.08370542526245117, -0.9081682562828064, -0.9452518224716187, -0.19865518808364868, -0.28826528787612915, -0.19480958580970764, 0.01634240336716175, 0.5281184315681458, -0.36041581630706787, 0.7200433015823364, -0.5316113829612732, -0.6306595206260681, -0.18280646204948425, 0.019919967278838158, 0.15254157781600952, 0.51250159740448, 0.5805999636650085, -0.9915208220481873, -0.7456490993499756, 0.6340764760971069, -0.7971131205558777, -0.4668366611003876, -0.33789682388305664, -0.3291136622428894, 0.5154904723167419, 0.5839547514915466, 0.09450065344572067, 0.5567399263381958, 0.4089623689651489, -0.6179475784301758, 0.7186985611915588, -0.21118757128715515, 0.42116764187812805, -1.061319351196289, 0.2855430543422699, 0.17907267808914185, -0.30321481823921204, -0.8841832876205444, 0.09407036751508713, 0.5840458869934082, 0.08178066462278366, -0.05828217417001724, 0.2353695034980774, -0.5166647434234619, 0.034060779958963394, -0.14404204487800598, 0.003826186992228031, 0.13533265888690948, 0.504535436630249, 0.2349850982427597, 0.5310449600219727, -0.009964409284293652, -0.2110101580619812, 0.42650482058525085, 0.03042461723089218, -0.5967662930488586, 1.0247219800949097, -0.4491550326347351, 0.16032454371452332, 0.020257877185940742, -0.027691256254911423, -0.7384375929832458, -0.19746848940849304, 0.3010287880897522, -0.2722828984260559, 0.2397720366716385, 0.3235495388507843, -0.145183727145195, -0.18322725594043732, -0.8345229625701904, 0.1917695254087448, -0.11377084255218506, -0.5774637460708618, 0.6172717809677124, 0.3151673674583435, -0.3151523768901825, -0.3804240822792053, -0.6949841976165771, 0.012179028242826462, -0.1676771193742752, -1.0199906826019287, 0.25415176153182983, -0.03291890397667885, 0.2556164562702179, -0.2272707223892212, -0.4485183358192444, -0.6475268602371216, 0.08188161998987198, 0.11915270239114761, 0.45482319593429565, -0.6066159605979919, -0.3299018442630768, 0.36489176750183105, -0.2547803521156311, -0.35666683316230774, -0.19462788105010986, 0.7285454869270325, -0.04324959218502045, -0.36300039291381836, -0.5599820017814636, 0.2809847295284271, 0.6876589059829712, -0.20792962610721588, 0.19505324959754944, 0.541826069355011, -0.46741190552711487, -0.1366032361984253, -0.6600815057754517, 0.10974399000406265, -0.4232156276702881, 0.42862439155578613, -0.17087221145629883, -0.9890267252922058, 0.36118602752685547, 0.384170264005661, 0.03965075686573982, 0.7246984243392944, 0.3148795962333679, -0.1411401331424713, 0.7340337038040161, 0.45877307653427124, -0.18095792829990387, 0.5052747130393982, -0.10753026604652405, -0.05994374677538872, -0.7052597403526306, -0.07917694747447968, -0.7630916237831116, -0.14326655864715576, -0.2378162443637848, -0.2833659052848816, 0.07988035678863525, 0.29089540243148804, -0.39851415157318115, 0.4892284572124481, -0.5895732045173645, 0.44504404067993164, 0.26920458674430847, -0.024006037041544914, 0.4836730659008026, -0.26014119386672974, -0.028005799278616905, -0.3266398310661316, 0.027647193521261215, -0.551103413105011, 0.3367783725261688, 0.3140030801296234, 0.7989360690116882, -0.05953991413116455, 0.5208593606948853, 0.5057844519615173, -0.011208044365048409, -0.8350870609283447, 0.48075294494628906, -0.23642443120479584, -0.6911816000938416, -0.6065917015075684, -0.33401867747306824, -0.4843573272228241, 0.3436543941497803, -0.16296382248401642, -0.46741941571235657, 0.4631439447402954, -0.10220858454704285, -0.287288099527359, 0.26303738355636597, -0.4012889862060547, 1.06251859664917, -0.3721613585948944, -0.16596809029579163, 0.19423545897006989, -0.44110265374183655, 0.0821109265089035, -0.3467470109462738, -0.06392653286457062, -0.05311253294348717, 0.20886248350143433, 0.9296451807022095, -0.5888646245002747, 0.2669961452484131, -0.10657161474227905, -0.05183820798993111, 0.3155791163444519, 0.19447116553783417, 0.7250885963439941, -0.159227654337883, -0.0017550624907016754, -0.1507522314786911, 0.3731142580509186, -0.20867961645126343, -0.3602856397628784, 0.5301005244255066, -0.433782696723938, -0.48031070828437805, -0.446086585521698, -0.18648754060268402, 0.42055705189704895, 0.5463818311691284, 0.5602746605873108, 0.3597947955131531, -0.6397348642349243, 0.7053149342536926, 0.30793413519859314, -0.16015489399433136, 0.2387930452823639, 0.43256568908691406, -0.2797202169895172, -0.43789827823638916, 0.5587661266326904, 0.13751816749572754, -0.1586999148130417, 0.5139821171760559, 0.1414284110069275, -0.2537911832332611, -0.4905059337615967, -0.6685056090354919, -0.18087247014045715, -0.6422151327133179, -0.1971484124660492, -0.5395340919494629, -0.43451187014579773, -0.4265653192996979, -0.5332923531532288, 0.06895585358142853, -0.2161567211151123, -0.504456102848053, 0.0035549504682421684, 0.00833518523722887, 0.37927043437957764, 0.0572093166410923, 0.5415142774581909, -0.45930910110473633, 0.34914112091064453, 0.15344549715518951, -0.20527446269989014, -0.09983833879232407, -0.3650150001049042, -0.4687464237213135, -0.09509313106536865, -0.6532697677612305, -0.9144582748413086, 0.6739386916160583, -0.06620697677135468, 0.29662710428237915, 0.8865209221839905, 0.2907530963420868, 0.4149089455604553, -0.41311129927635193, 0.46929773688316345, 0.3401283025741577, -1.0413035154342651, 0.3984450399875641, -0.5869190096855164, 0.2528729736804962, 0.561583936214447, -0.03890420123934746, -1.088878870010376, -0.15028977394104004, -0.009574050083756447, -0.7825121283531189, 0.8144426941871643, 0.05179264396429062, -0.4896087646484375, 0.4791002869606018, 0.12337050586938858, 0.2070772647857666, -0.3873278498649597, -0.7897871732711792, -0.037055376917123795, -0.37120550870895386, -0.2850102186203003, 0.3783489763736725, -0.45226138830184937, 0.3996553421020508, 0.14319737255573273, 0.6271030306816101, -0.16345900297164917, -0.18087930977344513, 0.4248081147670746, -0.33543160557746887, -0.0047165038995444775, 0.6016387343406677, 0.46563297510147095, 0.42008140683174133, -0.18810448050498962, 0.14642974734306335, 0.1911962330341339, -0.8709792494773865, 0.22609294950962067, 0.3184342384338379, -0.5613710880279541, -0.17449548840522766, 0.4544316530227661, 0.6896888613700867, -0.10999920219182968, -0.28911539912223816, 0.6152657866477966, -0.012391846626996994, -0.23629148304462433, -0.27246201038360596, -0.11577987670898438, -0.07216590642929077, 0.2497851550579071, 0.8196505308151245, -0.13682794570922852, 0.4030567705631256, -0.28357070684432983, 0.29309341311454773, 0.2030285745859146, -0.6835044622421265, -0.12097403407096863, 0.47773653268814087, 0.41447311639785767, -0.2348942905664444, 0.338593065738678, 0.060199011117219925, -0.9126256704330444, 0.7946940064430237, 0.3988780081272125, 0.8291840553283691, -0.41178834438323975, 0.20399366319179535, 0.08941565454006195, 0.2714327871799469, -0.11270251870155334, 0.0627829059958458, -0.27063241600990295, -0.7717050313949585, -0.08904660493135452, -0.47165098786354065, -0.18876002728939056, 0.11987476050853729, -0.703814685344696, 0.6146135330200195, -0.7245274186134338, 0.09456689655780792, 0.050354890525341034, 0.1560794860124588, -0.1354478895664215, -0.004275161307305098, -0.16997267305850983, 0.8398963809013367, -0.5390639305114746, 1.0192649364471436, 0.4418431222438812, -0.15646380186080933, -0.43638986349105835, 0.24225853383541107, 0.29784825444221497, -0.6197537183761597, 0.5009550452232361, 0.7622482180595398, -0.21129260957241058, -0.06290771067142487, -0.21880343556404114, -0.24375873804092407, 1.1557421684265137, 0.07318741828203201, -0.4657631516456604, -0.34132933616638184, -0.20033608376979828, 0.4823622703552246, -0.08477658778429031, 0.014658180065453053, 0.8480191826820374, 0.6165251731872559, -0.00812153797596693, -0.48090389370918274, -0.059132225811481476, -0.24659772217273712, -0.11648508906364441, 0.4858313500881195, -0.3974781930446625, 0.8855486512184143, 0.24663850665092468, -0.8033530712127686, 0.6334776282310486, 0.6528111100196838, 0.2193414866924286, 0.48049238324165344, 0.4513974189758301, 0.4957045912742615, 0.6510248780250549, -0.15927870571613312, 0.5145925283432007, 0.2622484862804413, 0.4881211817264557, 0.6593655347824097, -0.5099503397941589, 0.6128720641136169, 0.2797043025493622, 0.04676120728254318, 0.6303625106811523, 0.6154553890228271, -0.20747588574886322, 0.5356632471084595, -0.05759834125638008, -0.12897278368473053, -0.25722745060920715, -0.1777135580778122, -0.7522460222244263, 0.18935714662075043, 0.27963897585868835, -0.09372755885124207, -0.18246746063232422, -0.10610376298427582, 0.16454704105854034, 0.19635722041130066, -0.2697167992591858, 0.3444047272205353, -0.1132236123085022, -0.2165829986333847, 0.292673796415329, 0.16717082262039185, 1.0154247283935547, -0.6884049773216248, 0.07063289731740952, -0.31279686093330383, 0.42527955770492554, -0.21225452423095703, -0.7406458258628845, 0.1837664693593979, -0.056771859526634216, -0.154802143573761, 0.1800621747970581, 0.9484686255455017, -0.41473373770713806, -0.21478308737277985, 0.1686922162771225, 0.12326256185770035, -0.18439504504203796, -0.0500161275267601, -0.2096238136291504, -0.01740875467658043, 0.4702073931694031, -0.22721810638904572, 0.025423409417271614, 0.8133715391159058, -0.1918601244688034, 0.16660700738430023, 0.7546414136886597, -0.033074431121349335, -0.352193683385849, -0.26065656542778015, 0.7675238251686096, -0.9311745166778564, -1.1624925136566162, -0.9803252816200256, 0.14344988763332367, -0.37752631306648254, -0.2663603723049164, 0.8190732598304749, 0.8188201785087585, 0.5962620377540588, 0.12057045102119446, 0.626541793346405, 0.006420990452170372, 0.6883703470230103, -0.6923776865005493, 1.1784379482269287, -0.52652907371521, 0.14677074551582336, -0.398395836353302, -0.8514031171798706, -0.5115792155265808, 0.9468567371368408, -0.35673612356185913, -0.33951836824417114, 0.9569529891014099, 0.7202494144439697, 0.10322048515081406, 0.42817559838294983, 0.3240232467651367, -0.13285286724567413, 0.6164156794548035, 0.619940996170044, 1.135694980621338, -0.35277843475341797, 0.8384197950363159, 0.16503475606441498, -0.2346673160791397, -0.4911280870437622, -0.7755755186080933, -0.9744873642921448, -0.7202785611152649, 0.20693454146385193, -0.18553712964057922, -0.02024940401315689, 0.5831649303436279, 0.5468414425849915, -0.9113265872001648, -0.33874887228012085, 0.11899982392787933, 0.035568565130233765, 0.12102091312408447, -0.2624765932559967, 0.8712179660797119, 0.2394218146800995, -0.36312708258628845, 0.11569765210151672, 0.7411231994628906, 0.24477948248386383, -0.1324058175086975, -0.37878453731536865, -0.27131056785583496, -0.4018975794315338, 0.1571095734834671, 0.5043559074401855, -0.312392920255661, -0.32137492299079895, 0.16728052496910095, -0.49289336800575256, 0.28794875741004944, 1.1900718212127686, -0.2129509150981903, 0.30224180221557617, 1.0155534744262695, 0.8126875162124634, 0.7350523471832275, 0.0809306725859642, 0.36096760630607605, -0.4356794059276581, 0.3319435715675354, 0.25752371549606323, 0.5847301483154297, 0.3802405893802643, -0.5030934810638428, 0.6157808899879456, 0.3293003737926483, -0.716853141784668, -0.5943292379379272, 0.019257772713899612, -0.9818112254142761, -0.4070524573326111, 0.8290989398956299, -0.2137838900089264, -0.3568493127822876, -0.39067399501800537, -0.7774317264556885, 0.13420747220516205, -0.48189792037010193, 0.3593809902667999, 0.7091031074523926, 0.13966774940490723, -0.1222137063741684, -0.35478493571281433, 0.40727707743644714, 0.0895371288061142, -1.0469554662704468, 0.1504954993724823, 0.9423706531524658, -0.19366098940372467, 0.19442254304885864, 0.8538819551467896, 0.0162671972066164, 0.510798454284668, -0.2073388248682022, 0.05272083729505539, -0.03463192284107208, -0.2734231650829315, -0.28340646624565125, 0.024779105558991432, -0.33099791407585144, 0.054991465061903 ]
http://arxiv.org/abs/2406.11410v2
http://arxiv.org/pdf/2406.11410v2
HARE: HumAn pRiors, a key to small language model Efficiency
2024-06-17T10:56:03
2024-06-18T11:59:03
Lingyun Zhang, Bin jin, Gaojian Ge, Lunhui Liu, Xuewen Shen, Mingyong Wu, Houqian Zhang, Yongneng Jiang, Shiqi Chen, Shi Pu
cs.CL
cs.CL, cs.AI
Human priors play a crucial role in efficiently utilizing data in deep learning. However, with the development of large language models (LLMs), there is an increasing emphasis on scaling both model size and data volume, which often diminishes the importance of human priors in data construction. Influenced by these trends, existing Small Language Models (SLMs) mainly rely on web-scraped large-scale training data, neglecting the proper incorporation of human priors. This oversight limits the training efficiency of language models in resource-constrained settings. In this paper, we propose a principle to leverage human priors for data construction. This principle emphasizes achieving high-performance SLMs by training on a concise dataset that accommodates both semantic diversity and data quality consistency, while avoiding benchmark data leakage. Following this principle, we train an SLM named HARE-1.1B. Extensive experiments on large-scale benchmark datasets demonstrate that HARE-1.1B performs favorably against state-of-the-art SLMs, validating the effectiveness of the proposed principle. Additionally, this provides new insights into efficient language model training in resource-constrained environments from the view of human priors.
[ -0.3895145356655121, -0.2618265151977539, 0.581032395362854, 0.043486569076776505, -0.10510504245758057, -0.1807997077703476, -0.5719491839408875, -0.16302195191383362, -0.15056733787059784, 0.759982705116272, -0.6193318963050842, -0.5565807819366455, -0.4052472412586212, 0.006256093271076679, -0.08643704652786255, 0.6720591187477112, 0.17293110489845276, 0.14049915969371796, -0.22203494608402252, -0.21362656354904175, -0.5643219351768494, -0.6076900959014893, -0.6421036720275879, -0.1925654262304306, 0.4382292628288269, 0.5910372138023376, 0.8644174337387085, 0.8494419455528259, 0.37840986251831055, 0.23376554250717163, 0.19978177547454834, 0.30491572618484497, -0.45476487278938293, 0.08529385924339294, -0.3720136880874634, -0.8132226467132568, -0.31805166602134705, -0.08932216465473175, 0.7484312057495117, 1.0661741495132446, -0.3275742828845978, 0.34826022386550903, 0.02813221514225006, 0.9604581594467163, -0.9932529926300049, -0.009842249564826488, -0.9880920052528381, 0.1268373280763626, -0.5730441212654114, 0.3813544511795044, -0.5301239490509033, -0.1099291667342186, 0.0743621364235878, -0.7898551821708679, 0.4371563494205475, 0.10494351387023926, 0.8603057861328125, 0.34186580777168274, 0.03385740891098976, 0.07366839051246643, -0.685981273651123, 0.9623317122459412, -0.8627244234085083, 0.8338238596916199, 1.0886329412460327, 0.3070342540740967, -0.19469672441482544, -0.640599250793457, -0.5492339134216309, 0.08223670721054077, -0.2399027794599533, -0.4214109778404236, 0.08334720134735107, -0.21283183991909027, 0.37266430258750916, -0.00018799789540935308, -0.4804724454879761, 0.2714400589466095, -0.30888134241104126, -0.1517433226108551, 0.673114001750946, 0.4959084689617157, -0.05163995176553726, 0.09694825857877731, 0.11012934893369675, -0.31626835465431213, -0.9707612991333008, 0.07649975270032883, 0.2754964530467987, 0.673535168170929, -0.015411322005093098, 0.2756146788597107, -0.29965290427207947, 0.5929678678512573, -0.22252993285655975, -0.24823258817195892, 0.07209524512290955, -0.4813297390937805, -0.16942211985588074, -0.22389306128025055, 0.6992533206939697, -0.05720692500472069, 0.4411192536354065, -0.31725677847862244, -0.13336504995822906, 0.03184899687767029, 0.4001726508140564, -0.9375757575035095, -0.4618196487426758, -0.3222114145755768, -0.4937504529953003, 0.07488587498664856, 0.15158548951148987, -0.6867649555206299, -0.1964607536792755, -0.30102986097335815, 0.010297974571585655, -0.42061424255371094, -0.408793568611145, 0.46052753925323486, 0.25848081707954407, 0.11758102476596832, 0.18398459255695343, -1.0956519842147827, 0.817449152469635, 0.7702547907829285, 0.5763431787490845, 0.1424863338470459, -0.4063107669353485, -0.5941019654273987, 0.3309076428413391, -0.6252983808517456, 0.3140355050563812, -0.6640865802764893, -0.300234317779541, -0.026691989973187447, -0.18041358888149261, 0.16738367080688477, -0.6710824370384216, 0.7490036487579346, -0.5485091209411621, -0.10442269593477249, -0.40397611260414124, -0.6507429480552673, -0.09665369242429733, -0.3081378936767578, -0.5577518343925476, 0.7255474328994751, 0.04285489767789841, -0.5908625721931458, 0.6961110234260559, -0.41263076663017273, -0.6907376050949097, -0.05606295168399811, -0.3371613323688507, -0.517648458480835, 0.37369677424430847, 0.4169687330722809, 0.5648651123046875, -0.17276637256145477, -0.06597048789262772, -0.5190114378929138, -0.14912691712379456, 0.11837413161993027, -0.048808734863996506, 0.5146350860595703, 0.45551222562789917, 0.015035347081720829, -0.4920193552970886, -0.3578018844127655, 0.12489037960767746, 0.360153466463089, -0.17559069395065308, -0.7396883368492126, 0.32613131403923035, -0.28998714685440063, 0.05887925997376442, -0.08212360739707947, -0.2637004554271698, 0.3198843002319336, -0.398065447807312, 0.09907317161560059, 0.6213130354881287, -0.3205077052116394, 0.7662412524223328, -0.3661140501499176, 0.2169010043144226, -0.15654107928276062, -0.03713550046086311, -0.21050231158733368, -0.20763811469078064, -0.8424630761146545, -0.3077571988105774, 0.36627909541130066, 0.26035547256469727, -0.026539301499724388, 0.6329341530799866, -0.4897380471229553, -0.35426291823387146, -0.7800650596618652, 0.7057344913482666, 0.21555043756961823, 0.3212399482727051, 0.15379402041435242, -0.14830970764160156, -0.8223413825035095, -1.0796263217926025, -0.13035184144973755, -0.007642512209713459, -0.10118439793586731, 0.305891215801239, 0.2152908742427826, -0.21932284533977509, 1.3316291570663452, -0.6808279156684875, -0.3919730484485626, -0.18947827816009521, -0.03871460258960724, 0.165719136595726, 0.7421320676803589, 0.3595966696739197, -0.6671765446662903, -0.42068231105804443, -0.431437611579895, -0.7072150707244873, -0.0021288597490638494, -0.06484345346689224, -0.41842496395111084, -0.0403478741645813, 0.46994343400001526, -0.7530508041381836, 0.283541202545166, 0.24192526936531067, -0.003339651972055435, 0.2631469666957855, -0.20219208300113678, -0.2473691999912262, -0.7355313301086426, -0.2705816626548767, 0.13236276805400848, -0.4396374523639679, -0.48767781257629395, 0.05087244138121605, 0.23364906013011932, -0.15862825512886047, -0.34975212812423706, 0.5453740954399109, -0.4472738802433014, 0.0022046277299523354, -0.1664430797100067, -0.17240387201309204, -0.06533710658550262, 0.39657485485076904, 0.26551249623298645, 0.7661882042884827, 0.38324928283691406, -0.7866182923316956, -0.34457099437713623, 0.3242613971233368, -0.3893870413303375, 0.46660101413726807, -0.5300571322441101, 0.39478442072868347, 0.022992268204689026, 0.09691385924816132, -0.5253390669822693, -0.0698237195611, -0.05801672115921974, -0.2237565517425537, 0.5999369621276855, -0.0630011186003685, -0.8084332346916199, -0.20423635840415955, -0.19065618515014648, 0.3603392541408539, 0.9190592169761658, -0.37946006655693054, 0.26636096835136414, 0.6097785830497742, -0.13481082022190094, -0.24199342727661133, -0.6379585266113281, -0.0007290500798262656, -0.1770358830690384, -0.8345063328742981, -0.0599733367562294, 0.0030872481875121593, -0.35165390372276306, -0.031326763331890106, -0.18517501652240753, -0.2071940302848816, 0.2786792814731598, 0.07147113233804703, -0.016831405460834503, -0.3449608087539673, 0.22040027379989624, -0.08820238709449768, -0.1642274111509323, -0.09838332235813141, -0.3495332598686218, 0.49804043769836426, -0.09579981863498688, -0.40745317935943604, -0.600990355014801, 0.29030683636665344, 0.25540751218795776, -0.31575462222099304, 0.5704137682914734, 0.3425634205341339, -0.6750507950782776, -0.2729896306991577, -0.6652502417564392, -0.3820185363292694, -0.4732052683830261, 0.5529099106788635, -0.3387705385684967, -0.5181446075439453, 0.2667698264122009, -0.10962557792663574, 0.13736018538475037, 0.3334294557571411, 0.3091379404067993, -0.26908475160598755, 1.0235652923583984, 0.764796257019043, -0.3730894923210144, 0.3934485614299774, -0.30304306745529175, -0.26719164848327637, -0.8944259285926819, 0.1449812799692154, -0.6484932899475098, -0.25387972593307495, -0.06681769341230392, -0.4522028863430023, -0.16172578930854797, 0.4982883632183075, -0.5108107924461365, 0.3067702651023865, -0.21621471643447876, 0.480557918548584, 0.4612400531768799, 0.1098385900259018, 0.22257861495018005, 0.021184585988521576, 0.003405065042898059, -0.5524097681045532, -0.7012839317321777, -0.7709805369377136, 1.3049900531768799, 0.42640599608421326, 1.2399109601974487, 0.06950810551643372, 0.7553969025611877, 0.2661031484603882, 0.25573423504829407, -0.3377903699874878, 0.497196227312088, -0.24924084544181824, -0.7411348819732666, -0.41420304775238037, -0.35237908363342285, -1.076151728630066, 0.3031846880912781, -0.23900601267814636, -0.7213038206100464, 0.012172883376479149, 0.21119315922260284, -0.20829884707927704, 0.2856276333332062, -0.9476699829101562, 0.8011873960494995, -0.31740203499794006, -0.49683889746665955, -0.36955922842025757, -0.6017311215400696, 0.15418118238449097, -0.2813315987586975, 0.3479142189025879, -0.311690092086792, -0.40791893005371094, 0.8491966128349304, -0.7363163232803345, 0.9820486903190613, -0.2808106541633606, 0.22292745113372803, -0.027850916609168053, 0.28386878967285156, 0.8329354524612427, 0.20879866182804108, 0.13446716964244843, 0.21168318390846252, -0.4587136507034302, -0.5182623267173767, -0.555103600025177, 0.4658209979534149, -0.8216745853424072, -0.5229930877685547, -0.12016722559928894, -0.31826141476631165, -0.37540510296821594, 0.19767315685749054, 0.20926415920257568, 0.325467973947525, 0.08663758635520935, 0.3302082419395447, 0.7324802279472351, 0.16850562393665314, 0.14973080158233643, 0.6515681743621826, -0.1725008338689804, -0.1596367061138153, 0.6919643878936768, 0.04241436719894409, 0.1955072581768036, 0.3351882994174957, 0.30613234639167786, -0.2978859841823578, -0.8337931036949158, -0.3222575783729553, 0.30412667989730835, -0.5371739268302917, -0.3613782823085785, -0.6607731580734253, 0.09536167234182358, -0.25343814492225647, -0.281232088804245, -0.7504947185516357, -0.06323404610157013, -0.24614456295967102, 0.10875251889228821, 0.21832096576690674, 0.6030561327934265, 0.0427074208855629, 0.41495460271835327, -0.8012587428092957, 0.2171255350112915, 0.3902917504310608, 0.45114755630493164, 0.14941942691802979, -0.3337542414665222, -0.4756014049053192, 0.38033005595207214, -0.11743630468845367, -0.46496865153312683, 0.25014472007751465, 0.36735981702804565, 0.9094313979148865, 0.3595823347568512, 0.09514074772596359, 0.8558123707771301, -0.7098724842071533, 0.5688603520393372, 0.09490057080984116, -0.8092926144599915, 0.5973069071769714, -0.2741869390010834, 0.19603711366653442, 0.9845739603042603, 0.229362353682518, -0.4113805890083313, -0.5069559812545776, -0.5830186009407043, -0.6757934093475342, 0.8440752625465393, 0.19977247714996338, 0.18836936354637146, 0.2285403609275818, 0.39764875173568726, 0.46271783113479614, 0.2630753517150879, -0.44648104906082153, -0.2164846807718277, -0.11834026128053665, -0.2298736274242401, -0.25217729806900024, -0.08497416228055954, 0.11684189736843109, -0.3889049291610718, 0.5775057077407837, 0.12601406872272491, -0.3294603228569031, 0.08065873384475708, -0.6484596133232117, -0.0877472385764122, 0.08718511462211609, 0.4197697043418884, 0.8062167763710022, -0.29740118980407715, 0.19151271879673004, 0.4391185939311981, -0.477001428604126, 0.3197859227657318, -0.23205876350402832, -0.19755876064300537, -0.11021704226732254, 0.4748948812484741, 0.6276118159294128, 0.19880779087543488, -0.4551563560962677, 0.3756982684135437, -0.16534391045570374, 0.0589480884373188, -0.21800951659679413, 0.1799083799123764, 0.1592361330986023, 0.03595487400889397, 0.5534601807594299, 0.1806102842092514, -0.18958455324172974, -0.11870895326137543, 0.4849299490451813, 0.33231207728385925, 0.017366744577884674, -0.39040395617485046, 0.5856345295906067, 0.09749561548233032, -0.44802233576774597, 0.755067765712738, -0.2971000671386719, -0.2698279917240143, 0.1324540078639984, 0.49103957414627075, 0.8018801212310791, -0.042568229138851166, -0.2647330164909363, 0.34744787216186523, 0.35436856746673584, -0.3776555061340332, -0.16670291125774384, -0.09496743977069855, -0.8087087273597717, -0.44037219882011414, -0.6295983791351318, -0.1437678337097168, 0.3188363015651703, -0.5869574546813965, 0.39360979199409485, -0.5419209599494934, -0.20746339857578278, -0.051063597202301025, 0.14415939152240753, -1.2224435806274414, 0.03228486701846123, 0.2593208849430084, 1.0295640230178833, -0.7853595614433289, 1.0129228830337524, 0.6509711742401123, -0.33642029762268066, -0.8387971520423889, 0.04889898747205734, -0.1943930983543396, -0.7329889535903931, 0.865691065788269, -0.04624391719698906, 0.0745701864361763, -0.18405352532863617, -0.5112438797950745, -0.8233882784843445, 0.7852057218551636, 0.6190572381019592, -0.7156998515129089, -0.0301616620272398, 0.0318521223962307, 0.3212394118309021, -0.3902689516544342, -0.17056553065776825, 0.3918305039405823, 0.28450965881347656, -0.19500604271888733, -0.6833102703094482, 0.12988552451133728, -0.028599712997674942, 0.2286449521780014, 0.30082032084465027, -0.35314691066741943, 0.7374516725540161, -0.2989595830440521, -0.3046824634075165, 0.15633228421211243, 0.9344326853752136, 0.17670325934886932, -0.16104337573051453, 0.7552440166473389, 0.7478123903274536, 0.8949411511421204, 0.14363867044448853, 1.0804592370986938, 0.054137859493494034, 0.37453484535217285, 1.2411341667175293, -0.5171573162078857, 0.9477455615997314, 0.2368241548538208, -0.6388136148452759, 0.2722822427749634, 0.6208663582801819, 0.2821809649467468, 0.9164804816246033, 0.3441896438598633, 0.0390126071870327, -0.6572912931442261, 0.1551852822303772, -0.41125085949897766, 0.4523480236530304, 0.41417306661605835, 0.058003973215818405, -0.33907949924468994, -0.09896872192621231, 0.19960284233093262, 0.363699346780777, -0.24562744796276093, 0.7804524898529053, 0.06851914525032043, -0.37914180755615234, 0.6369185447692871, -0.16883783042430878, 0.8442859053611755, -0.9507924914360046, 0.2071368545293808, -0.209935262799263, 0.3417893052101135, -0.0011503095738589764, -0.5780574083328247, 0.27261480689048767, -0.0698978528380394, -0.4366741180419922, 0.0025676600635051727, 0.6558207869529724, -0.3154112696647644, -0.6263633966445923, -0.001792114577256143, 0.503618061542511, -0.00571789825335145, 0.014386849477887154, -0.4506607949733734, 0.029471982270479202, -0.28400498628616333, -0.09900636970996857, 0.4740724265575409, 0.3913865089416504, -0.11230993270874023, 0.7220627069473267, 0.7697280645370483, 0.51893550157547, -0.0894501581788063, -0.09310203045606613, 0.7226397395133972, -0.6375918388366699, -0.6655107736587524, -1.019385814666748, 0.33109691739082336, -0.27774643898010254, -0.10041475296020508, 0.6962462663650513, 0.8163678050041199, 1.098136305809021, 0.11574486643075943, 0.8169716000556946, 0.3503587245941162, 0.7121084332466125, -0.4808591902256012, 0.8280084729194641, -0.5721873044967651, 0.2093878537416458, -0.266593337059021, -0.6230930685997009, -0.185972198843956, 0.8767380714416504, -0.14356045424938202, 0.001354769803583622, 0.455819308757782, 0.723210871219635, -0.25070926547050476, -0.10579531639814377, 0.2158747762441635, -0.16986557841300964, 0.4194270074367523, 0.37355145812034607, 0.7416430115699768, -0.10818751901388168, 0.4291365146636963, -0.5228562951087952, 0.0095423124730587, -0.20244377851486206, -0.9147667288780212, -0.9043830037117004, -0.689289391040802, -0.05165372043848038, 0.007192528340965509, -0.0365527980029583, 1.1141009330749512, 1.388432502746582, -0.7057782411575317, -0.3046824634075165, 0.03528747707605362, 0.10184060037136078, -0.14360086619853973, -0.16549181938171387, 0.37669381499290466, -0.6096353530883789, -0.5053701996803284, 0.10299625247716904, 0.05956573411822319, -0.008540865033864975, -0.2588440775871277, -0.4819263219833374, -0.16965274512767792, -0.15138640999794006, 0.3886498808860779, 0.2765737473964691, -0.7316610217094421, -0.3783252537250519, -0.053903039544820786, -0.46849295496940613, -0.020356733351945877, 1.0427799224853516, -0.9256206750869751, 0.36042290925979614, 0.23442427814006805, 0.9495735168457031, 0.61637943983078, -0.17239798605442047, 0.7915166616439819, -1.1079974174499512, 0.554916262626648, 0.350375771522522, 0.6199561357498169, 0.5053134560585022, -0.24075530469417572, 0.5536354780197144, 0.1587718278169632, -0.3700018525123596, -0.9043236970901489, 0.1355207860469818, -0.6321738958358765, -0.2180342674255371, 1.118533730506897, -0.00010490637214388698, -0.03524673357605934, -0.09117239713668823, -0.1578483283519745, 0.032010965049266815, -0.5908308625221252, 0.308750182390213, 0.6359628438949585, 0.16139473021030426, 0.07278215140104294, -0.6736699938774109, 0.5886710286140442, 0.4242727756500244, -0.7285659313201904, 0.32225966453552246, 0.22866898775100708, 0.2417486608028412, -0.07209225744009018, 0.8760497570037842, 0.25421151518821716, 0.10182247310876846, 0.05463637411594391, -0.005369256716221571, -0.26129579544067383, -0.18895861506462097, -0.07514874637126923, -0.2055758237838745, 0.3264647126197815, -0.39578279852867126 ]
http://arxiv.org/abs/2406.11409v2
http://arxiv.org/pdf/2406.11409v2
CodeGemma: Open Code Models Based on Gemma
2024-06-17T10:54:35
2024-06-19T02:37:50
CodeGemma Team, Heri Zhao, Jeffrey Hui, Joshua Howland, Nam Nguyen, Siqi Zuo, Andrea Hu, Christopher A. Choquette-Choo, Jingyue Shen, Joe Kelley, Kshitij Bansal, Luke Vilnis, Mateo Wirth, Paul Michel, Peter Choy, Pratik Joshi, Ravin Kumar, Sarmad Hashmi, Shubham Agrawal, Zhitao Gong, Jane Fine, Tris Warkentin, Ale Jakse Hartman, Bin Ni, Kathy Korevec, Kelly Schaefer, Scott Huffman
cs.CL
cs.CL, cs.AI
This paper introduces CodeGemma, a collection of specialized open code models built on top of Gemma, capable of a variety of code and natural language generation tasks. We release three model variants. CodeGemma 7B pretrained (PT) and instruction-tuned (IT) variants have remarkably resilient natural language understanding, excel in mathematical reasoning, and match code capabilities of other open models. CodeGemma 2B is a state-of-the-art code completion model designed for fast code infilling and open-ended generation in latency-sensitive settings.
[ -0.2621902823448181, -0.7796075344085693, 0.125722274184227, 0.2589772045612335, -0.12077581882476807, 0.1451677680015564, -0.018420003354549408, -0.6472435593605042, -0.04310031235218048, 0.8111633658409119, -0.4082777798175812, -0.46224072575569153, -0.5780015587806702, -0.044115323573350906, -0.17531268298625946, 0.8406168818473816, -0.03147893026471138, 0.36949437856674194, -0.11848442256450653, -0.05650365352630615, -0.6256426572799683, -0.655083954334259, -0.33540642261505127, -0.4922478199005127, 0.07820423692464828, 0.5862197875976562, 0.9814630150794983, 0.40398091077804565, 0.7295143008232117, 0.11727623641490936, 0.065480537712574, 0.22446799278259277, -0.5990661382675171, -0.2862545847892761, -0.046413082629442215, -0.8710169196128845, -0.6829472780227661, -0.0008513231878168881, 0.27444812655448914, 0.5241345763206482, -0.04633691534399986, 0.48411136865615845, 0.020187892019748688, 0.5458667278289795, -0.7336995005607605, 0.4905402362346649, -0.767807126045227, 0.12123096734285355, -0.07027998566627502, -0.004498791880905628, -0.6622763276100159, -0.7059581279754639, -0.11102024465799332, -0.3518316447734833, 0.25108394026756287, -0.13295327126979828, 0.8561609387397766, 0.23073241114616394, -0.2633378803730011, -0.6625257134437561, -0.4515736997127533, 0.708374559879303, -0.7715592980384827, -0.05447674170136452, 0.6767714619636536, 0.4864555299282074, -0.47744306921958923, -1.0349353551864624, -0.13872019946575165, -0.3329342305660248, -0.08983151614665985, -0.05117324739694595, -0.3451853394508362, 0.10811900347471237, 0.2039448767900467, 0.8407735228538513, -0.5506051182746887, -0.031217478215694427, -0.705682098865509, 0.001295944326557219, 0.14605681598186493, 0.09693457186222076, 0.48035648465156555, 0.15067602694034576, -0.18151773512363434, 0.3170035779476166, -1.21919846534729, -0.08855772018432617, 0.3960864841938019, 0.3148871064186096, -0.25456297397613525, 0.8444039821624756, 0.041947126388549805, 1.1006017923355103, 0.050564058125019073, 0.00146187050268054, 0.035255178809165955, 0.00945468619465828, -0.5307902693748474, 0.20919886231422424, 0.34526681900024414, -0.08081335574388504, 0.5683997273445129, -0.10533873736858368, 0.0016249725595116615, 0.4066965579986572, 0.5674518346786499, -0.9627259373664856, -0.4600057005882263, 0.030377479270100594, -0.6477006077766418, -0.4232569634914398, 0.14983685314655304, -0.5357387065887451, 0.058972980827093124, -0.10691335052251816, 0.5919761061668396, -0.4267868995666504, -0.37549281120300293, 0.7618985176086426, 0.3354705572128296, 0.05649394169449806, 0.06745496392250061, -0.9066576957702637, 0.25578227639198303, 0.7108443379402161, 0.8469977974891663, 0.17037756741046906, -0.09203628450632095, -0.7214940786361694, 0.1908138394355774, -0.6828070282936096, 0.5278983116149902, -0.8118615746498108, -0.5602386593818665, 0.15898647904396057, -0.043408025056123734, -0.13481761515140533, -0.6247900724411011, 0.3613503873348236, -0.8197293877601624, 0.4280119240283966, -0.037274137139320374, -0.5845423340797424, -0.47589436173439026, 0.06386025995016098, -0.8095531463623047, 1.238949179649353, 0.3415602147579193, -0.8256340026855469, 0.3969154357910156, -0.8462477326393127, -0.21568623185157776, 0.14961598813533783, -0.05976986885070801, -0.4403485357761383, 0.35056638717651367, -0.0743628591299057, 0.23371751606464386, -0.48278120160102844, 0.4557047486305237, -0.2299318015575409, -0.48209503293037415, 0.0176004096865654, -0.011997475288808346, 0.8389210104942322, 0.5579403042793274, -0.457529217004776, 0.1341029852628708, -0.8911285996437073, 0.15619593858718872, 0.23958440124988556, -0.5263710021972656, 0.027323123067617416, 0.03541639447212219, -0.2902955114841461, 0.15553046762943268, 0.41148263216018677, -0.3061085641384125, 0.2707033157348633, -0.3306344151496887, 0.3685421049594879, 0.1423264443874359, -0.13898137211799622, 0.24903029203414917, -0.6788637042045593, 0.8099160194396973, -0.15698440372943878, 0.014538539573550224, -0.4292760491371155, -0.9289142489433289, -0.7447882294654846, -0.5359427332878113, 0.16200636327266693, 0.3601771295070648, -0.556835949420929, 0.3271971046924591, 0.11451271921396255, -0.6302433013916016, -0.5565221309661865, 0.030145112425088882, 0.9788927435874939, 0.3632083833217621, 0.3843935430049896, -0.2819919288158417, -0.5146652460098267, -0.6611855626106262, -0.1938277930021286, -0.37411871552467346, 0.05355466157197952, -0.028969375416636467, 0.2659897804260254, -0.19811880588531494, 1.0758006572723389, -0.6492540836334229, -0.07384691387414932, -0.42594602704048157, 0.25566309690475464, 0.1704414039850235, 0.5282331705093384, 0.8782901167869568, -0.5552544593811035, -0.22176581621170044, -0.22876369953155518, -0.7099399566650391, -0.30044490098953247, 0.3248337209224701, -0.22308561205863953, 0.2969017028808594, 0.3187750279903412, -0.3785720467567444, 0.6255136728286743, 0.7143219113349915, -0.358497679233551, 0.6261255741119385, -0.3181765377521515, 0.12072765827178955, -1.4109371900558472, -0.06783850491046906, -0.4129597544670105, -0.2851746678352356, -0.4942285716533661, 0.7749610543251038, 0.22857382893562317, -0.30369213223457336, -0.5574834942817688, 0.41552382707595825, -0.790800154209137, -0.4221395254135132, -0.26405924558639526, -0.18133658170700073, 0.08259692788124084, 0.4160904586315155, 0.0012188645778223872, 1.0806325674057007, 0.7068737745285034, -0.7086049318313599, 0.019253963604569435, 0.33060145378112793, -0.5159946084022522, -0.14622566103935242, -0.7958259582519531, 0.23015451431274414, 0.06313717365264893, -0.20396240055561066, -0.8225087523460388, -0.40497028827667236, 0.008413701318204403, -0.4617433547973633, 0.30061399936676025, -0.4613416790962219, -0.76741623878479, -0.43681600689888, 0.06524282693862915, 0.434858113527298, 0.7342789769172668, -0.8310176730155945, 0.3920655846595764, 0.3758159875869751, 0.050024714320898056, -0.32704341411590576, -0.6799036264419556, -0.06620434671640396, -0.012615391053259373, -0.7504961490631104, 0.18580973148345947, -0.12076274305582047, -0.32853588461875916, 0.00363524304702878, 0.04766155034303665, -0.34255751967430115, -0.008015383966267109, 0.3195778727531433, 0.45547255873680115, -0.5918802618980408, 0.0933854952454567, -0.027702288702130318, -0.035425759851932526, 0.015126034617424011, -0.14458464086055756, 0.7794913649559021, -0.3679189085960388, -0.5432777404785156, 0.2839667499065399, 0.2610999345779419, 0.5330235362052917, -0.6625785231590271, 0.6399720907211304, 0.3598497211933136, -0.6463015675544739, -0.2191791832447052, -0.230210542678833, 0.20923352241516113, -0.5119501352310181, 0.27675288915634155, -0.6950462460517883, -1.1963897943496704, 0.5024600028991699, 0.1226545199751854, 0.18288832902908325, 0.2135716676712036, 0.9435609579086304, 0.7044046521186829, 0.9632306694984436, 0.8495851755142212, 0.18190570175647736, 0.15834902226924896, -0.04981565475463867, 0.36554741859436035, -0.19891007244586945, -0.3472071886062622, -0.7654925584793091, 0.2939162254333496, -0.2644640803337097, -0.6356273889541626, -0.05593578889966011, 0.6672236919403076, -0.3611564636230469, 0.7879930734634399, -0.5718034505844116, 0.45782235264778137, 0.6087542772293091, -0.03782268241047859, 0.43310126662254333, -0.056064944714307785, -0.3569868803024292, 0.1203828677535057, -0.9062833786010742, -0.8757681250572205, 1.0634303092956543, 0.3738006055355072, 1.054222822189331, 0.4620368182659149, 0.5772274136543274, 0.1870889961719513, 0.29340052604675293, -0.5537649393081665, 0.4728005528450012, -0.07963961362838745, -0.8489546775817871, 0.3665611445903778, -0.3380860686302185, -0.7186780571937561, -0.22582033276557922, -0.046204403042793274, -0.8146845102310181, -0.19820567965507507, 0.19323770701885223, -0.24241648614406586, 0.47409090399742126, -0.9088218808174133, 0.7548432946205139, 0.19947762787342072, -0.27561527490615845, -0.36954912543296814, -0.2810600996017456, 0.8188434839248657, -0.25860124826431274, -0.13433001935482025, -0.13028579950332642, 0.30800795555114746, 0.3944007158279419, -0.7011658549308777, 0.7680055499076843, 0.08167044073343277, -0.33115264773368835, 0.7265510559082031, 0.663280725479126, 0.30896565318107605, 0.186072438955307, -0.09875021129846573, 0.1820230484008789, -0.1332581639289856, -0.5603672862052917, -0.23699147999286652, 0.6078989505767822, -0.6018499135971069, -0.4253087341785431, -0.07817897945642471, -0.42839759588241577, -0.1449853777885437, 0.16316527128219604, 0.5605937838554382, 1.0436211824417114, -0.08289848268032074, 0.03573768585920334, 0.785451352596283, -0.3543568253517151, 0.5912495851516724, 0.5422284603118896, -0.6908504366874695, -0.1920270323753357, 0.4646488130092621, -0.2606922388076782, 0.4011974036693573, 0.39322423934936523, -0.17691099643707275, -0.03489411994814873, -0.35854190587997437, -0.39159923791885376, -0.0880524292588234, -0.6778038740158081, -0.44140002131462097, -0.6695120334625244, -0.3595321476459503, -0.2837572991847992, -0.39820048213005066, -0.4902251660823822, -0.4421100616455078, -0.5103411078453064, -0.008604206144809723, 0.5168418884277344, 1.204493761062622, 0.06022201478481293, 0.416923463344574, -1.1570079326629639, 0.5112366676330566, 0.20829521119594574, 0.5724005103111267, -0.36237087845802307, -0.31797927618026733, -0.43318819999694824, 0.1083826869726181, -0.3044878840446472, -0.945518970489502, 0.3358212411403656, 0.09970053285360336, 0.45099490880966187, 0.5774726867675781, -0.13956472277641296, 0.4548913240432739, -0.4465045630931854, 0.8898827433586121, 0.40879160165786743, -0.9681019186973572, 0.5248132348060608, -0.4087694585323334, 0.29307690262794495, 0.31262627243995667, 0.29405394196510315, 0.22950758039951324, -0.3307269513607025, -0.4017295241355896, -0.1889934539794922, 0.5270345211029053, 0.23888768255710602, 0.04593163728713989, -0.49158036708831787, 0.1610986888408661, 0.3670257031917572, 0.2038840502500534, -0.5270883440971375, 0.013823824003338814, -0.30506250262260437, -0.23022575676441193, 0.13142140209674835, -0.5390276312828064, 0.06254022568464279, 0.14771057665348053, 0.5968950986862183, -0.25237739086151123, 0.5213090181350708, -0.10106617957353592, -0.2786238193511963, -0.22716115415096283, 0.03266207128763199, 0.743977427482605, 0.9824331998825073, -0.3780096769332886, -0.11772637069225311, -0.29540860652923584, -0.7745239734649658, 0.03283590078353882, -0.02117319405078888, 0.0373956672847271, 0.08477845042943954, 0.42765066027641296, 0.6649582982063293, 0.45713913440704346, -0.7221797108650208, 0.44208812713623047, -0.092270627617836, -0.2736876308917999, -0.311566025018692, 0.45471063256263733, 0.0451836995780468, 0.11840595304965973, 0.12919342517852783, 0.15262791514396667, -0.08997087180614471, -0.6818275451660156, 0.37510085105895996, 0.20909416675567627, -0.44279274344444275, -0.2726491391658783, 1.141484260559082, -0.06627623736858368, -0.5631985664367676, 0.2315027117729187, -0.3491956889629364, -0.3510616421699524, 0.8109551668167114, 1.0107495784759521, 1.0319045782089233, -0.10112841427326202, 0.3092891275882721, 0.29986611008644104, 0.25412073731422424, -0.22713302075862885, 0.6810482144355774, 0.2524769604206085, -0.6757380962371826, -0.6555981040000916, -0.6828822493553162, -0.4225214123725891, -0.06609474867582321, -1.0119518041610718, 0.5509737133979797, -0.5797358155250549, -0.2015853375196457, -0.43038296699523926, 0.0099988067522645, -0.4465042054653168, 0.13953329622745514, -0.22021886706352234, 1.5141361951828003, -0.4019203782081604, 1.1054130792617798, 0.9078001379966736, -0.48484811186790466, -0.8772434592247009, -0.08215518295764923, -0.18596607446670532, -1.034429669380188, 0.592993438243866, 0.23721002042293549, -0.22715014219284058, 0.13923974335193634, -0.4875175654888153, -0.7925180792808533, 1.0233625173568726, 0.6010816693305969, -0.23994851112365723, -0.2880263328552246, 0.04353839159011841, 0.31206852197647095, -0.7832088470458984, 0.2073671966791153, 0.37590083479881287, 0.05196300148963928, 0.08358525484800339, -0.7961349487304688, -0.2620004713535309, -0.42140620946884155, -0.0003629800339695066, 0.38696539402008057, -0.6829677224159241, 1.0328232049942017, -0.43030044436454773, 0.003385707503184676, 0.5218909382820129, 0.3668989837169647, 0.456695556640625, 0.09441681206226349, -0.020832384005188942, 0.8077862858772278, 0.4892001748085022, -0.1563335657119751, 0.8810684084892273, -0.8511663675308228, 0.358652800321579, 1.340280532836914, -0.35080140829086304, 0.5938590168952942, -0.2723509967327118, -0.06221223995089531, 0.5366583466529846, 0.7436751127243042, 0.14511515200138092, 0.5522767901420593, 0.20730164647102356, -0.3861202597618103, -0.20074237883090973, 0.19926857948303223, -0.7081956267356873, 0.5509820580482483, 0.26390358805656433, -0.1828174889087677, -0.4028465747833252, -0.2474009245634079, 0.20836040377616882, 0.19665010273456573, -0.5898568630218506, 0.5613848567008972, 0.0712263286113739, -0.8082282543182373, 0.6708807349205017, 0.2902522385120392, 0.33937039971351624, -0.7367643117904663, -0.28590306639671326, -0.16221623122692108, 0.10821492969989777, -0.19381417334079742, -0.40538662672042847, 0.4460103213787079, 0.1918439269065857, -0.18110303580760956, 0.06861447542905807, 1.0217701196670532, -0.4079030454158783, -0.5476561784744263, 0.43626105785369873, 0.39682716131210327, 0.07219049334526062, 0.08934556692838669, -0.5348690748214722, -0.10164748877286911, -0.051748864352703094, -0.11533893644809723, 0.214110866189003, 0.35113248229026794, 0.0780152752995491, 0.7319070100784302, 0.42598938941955566, -0.056212954223155975, 0.6385977268218994, 0.0274512842297554, 0.8669236898422241, -0.48758846521377563, -0.6215065121650696, -0.560319721698761, 0.33132579922676086, 0.28191831707954407, -0.36201855540275574, 0.6724840402603149, 0.8018629550933838, 0.7223714590072632, -0.31883352994918823, 0.6330112218856812, 0.01748025417327881, 0.4921641945838928, -0.7969732880592346, 0.633690595626831, -0.27675262093544006, 0.21831977367401123, -0.27749940752983093, -1.0582549571990967, -0.3399655222892761, 0.40484288334846497, -0.08605308085680008, 0.01847543567419052, 0.7280983924865723, 1.0632473230361938, -0.2258661836385727, 0.26297727227211, 0.5818064212799072, -0.17957128584384918, 0.14797358214855194, 0.7753764986991882, 0.6556094884872437, -0.3087593615055084, 0.4306008815765381, 0.240116685628891, -0.3953542411327362, -0.32158493995666504, -0.8171894550323486, -1.3343181610107422, -0.30604198575019836, -0.2107614278793335, -0.5081000328063965, 0.064101442694664, 0.8941032886505127, 0.7283434867858887, -0.6859802603721619, -0.08999549597501755, -0.45730769634246826, -0.15139201283454895, 0.23413223028182983, -0.26951196789741516, 0.11544786393642426, -0.7366228699684143, -0.642697811126709, 0.4849383533000946, 0.43410179018974304, 0.12753859162330627, -0.19247417151927948, -0.3469576835632324, -0.009185719303786755, 0.5467569828033447, 0.39421194791793823, 0.33313512802124023, -0.3797919750213623, -0.11768437922000885, 0.06401471793651581, -0.2723967134952545, 0.1374865025281906, 1.0384366512298584, -0.7497316598892212, 0.5380032658576965, 0.4148426651954651, 0.6762877702713013, 0.42169883847236633, -0.11579930782318115, 0.7444037795066833, -0.5462560653686523, 0.3947281539440155, -0.059663835912942886, 0.6963127851486206, 0.05925285443663597, -0.26028895378112793, 0.7565900683403015, -0.04239390417933464, -0.5031135082244873, -0.6284555792808533, 0.6275417804718018, -0.6462674736976624, -0.4012235999107361, 0.9564105868339539, -0.5354878902435303, 0.005590072833001614, -0.11029204726219177, -0.14044608175754547, 0.23656535148620605, 0.0048423949629068375, 0.6767897605895996, 0.5986170768737793, 0.2333093285560608, 0.02970719523727894, -0.7005820274353027, 0.52935791015625, 0.3271526098251343, -0.8558253049850464, -0.3810889720916748, 0.5718461871147156, 0.10313303023576736, 0.044562846422195435, 0.8059766292572021, -0.617102324962616, 0.5165764093399048, 0.22007595002651215, 0.3205317556858063, -0.3475373387336731, -0.5996735692024231, -0.2388584017753601, 0.44037097692489624, 0.4113198220729828, -0.3561210632324219 ]
http://arxiv.org/abs/2406.11403v1
http://arxiv.org/pdf/2406.11403v1
Multimodal Structured Generation: CVPR's 2nd MMFM Challenge Technical Report
2024-06-17T10:45:47
2024-06-17T10:45:47
Franz Louis Cesista
cs.CV
cs.CV, cs.CL
Multimodal Foundation Models (MMFMs) have shown remarkable performance on various computer vision and natural language processing tasks. However, their performance on particular tasks such as document understanding is still limited. They also require more compute, time, and engineering resources to finetune and deploy compared to traditional, unimodal models. In this report, we present Multimodal Structured Generation, a general framework which constrains the output logits of frozen MMFMs to force them to reason before responding with structured outputs that downstream APIs can parse and use. We provide a detailed account of our approach, including the technical details, theoretical discussions, and final evaluation results in the 2nd Multimodal Foundation Models Challenge hosted by the Computer Vision and Pattern Recognition (CVPR) conference. Our approach achieved the second highest score in the hidden test set for Phase 2 and third highest overall. This shows the method's ability to generalize to unseen tasks. And that simple engineering can beat expensive & complicated modelling steps as we first discussed in our paper, Retrieval Augmented Structured Generation: Business Document Information Extraction as Tool Use. All of our scripts, deployment steps, and evaluation results can be accessed in https://github.com/leloykun/MMFM-Challenge
[ -0.28756770491600037, -0.6642868518829346, 0.5020689368247986, 0.5679711699485779, -0.18781593441963196, 0.043934084475040436, -0.10884875804185867, -0.4452783167362213, -0.335237979888916, 0.6187466382980347, -0.8913854956626892, -0.24407225847244263, -0.5553576946258545, 0.19185112416744232, -0.3480588495731354, 0.7483826875686646, -0.21250484883785248, -0.16054131090641022, -0.5958523750305176, -0.05459431931376457, -0.5290948152542114, -0.5984252691268921, -0.29222822189331055, -0.26831552386283875, 0.25785255432128906, 0.42703455686569214, 0.34898069500923157, 0.582606852054596, 0.7152486443519592, 0.3900906443595886, 0.19742777943611145, 0.43764999508857727, -0.17464423179626465, 0.21175216138362885, 0.010961172170937061, -0.1920069307088852, -0.37763723731040955, -0.006785073783248663, 0.4591681957244873, 0.573535144329071, -0.18646353483200073, 0.22427572309970856, 0.10245103389024734, 0.7303106188774109, -0.6428874731063843, 0.428438663482666, -0.6560741066932678, 0.18744409084320068, -0.14406293630599976, -0.39155569672584534, -0.7896900177001953, 0.3515431582927704, -0.17029382288455963, -0.5557957291603088, 0.48996689915657043, -0.03367220610380173, 0.8794791102409363, 0.29899898171424866, -0.6719261407852173, -0.4659341871738434, -0.8042224645614624, 0.6103338599205017, -0.17080184817314148, 0.2827209532260895, 0.4003113806247711, 0.4126407504081726, -0.15555962920188904, -0.9756817817687988, -0.5296519994735718, -0.21595615148544312, -0.027556002140045166, 0.21415919065475464, -0.0404653325676918, 0.10711099952459335, 0.3085230886936188, 0.20267163217067719, -0.6255298852920532, -0.18166303634643555, -0.4732193350791931, -0.3257024586200714, 0.26929861307144165, 0.22354377806186676, -0.18001927435398102, -0.3397628366947174, -0.47187191247940063, -0.3565663993358612, -0.2724042534828186, 0.16282854974269867, 0.33599162101745605, 0.2563437223434448, -0.1881084442138672, 0.9254352450370789, -0.30324241518974304, 0.6303617358207703, -0.09362448006868362, -0.32835713028907776, 0.3323242962360382, -0.7438339591026306, -0.3346495032310486, -0.4377412796020508, 0.5246026515960693, 0.30928152799606323, -0.0718151107430458, 0.22083984315395355, -0.4430851340293884, 0.21400919556617737, 0.20783232152462006, -0.8625215291976929, -0.26255470514297485, 0.20127731561660767, -0.5230125188827515, -0.334418922662735, -0.07707644253969193, -0.6919771432876587, -0.20992130041122437, -0.23745429515838623, 0.18118754029273987, -0.2394045889377594, -0.3809221386909485, -0.07151477783918381, -0.4261346757411957, 0.14731667935848236, 0.3956856429576874, -0.9787101149559021, 0.17815618216991425, 0.6701362729072571, 0.8358941674232483, 0.3616689443588257, 0.06190039590001106, -0.6546910405158997, 0.14828363060951233, -0.15719474852085114, 0.8428744077682495, -0.5571582913398743, -0.45823603868484497, -0.031045949086546898, -0.2817070186138153, -0.03555769845843315, -0.47328296303749084, 0.4931328296661377, -0.2829224765300751, 0.24519121646881104, -0.0012276803608983755, 0.00024241814389824867, 0.08964961767196655, 0.4936237633228302, -0.6008886098861694, 0.9643039703369141, 0.3285566568374634, -0.47858506441116333, 0.39480099081993103, -0.5903139710426331, -0.30129560828208923, 0.09670355170965195, -0.3969990313053131, -0.2953416109085083, 0.14876577258110046, 0.08637536317110062, 0.39503416419029236, -0.3012135922908783, 0.3032347559928894, -0.33070865273475647, 0.2942725121974945, 0.21296171844005585, -0.5502648949623108, 0.24365073442459106, 0.35037821531295776, -0.23362839221954346, 0.1830912083387375, -1.3033478260040283, 0.04954550415277481, 0.23883745074272156, -0.758078396320343, 0.07374652475118637, 0.20698460936546326, 0.3640470802783966, 0.6425204277038574, 0.05008631944656372, -0.4646415710449219, 0.16126568615436554, -0.22386302053928375, 0.5877354741096497, 0.7996929287910461, -0.19930775463581085, 0.32539528608322144, -0.22220849990844727, 0.33440205454826355, 0.1477527916431427, 0.31009578704833984, -0.6275036931037903, -0.4495295286178589, -0.48730629682540894, -0.37074053287506104, 0.12848736345767975, 0.42271339893341064, -1.075158715248108, -0.31239503622055054, -0.02109362557530403, -0.2279430776834488, -0.20171773433685303, 0.36371949315071106, 0.6692225337028503, 0.71923828125, 0.2689686119556427, -0.43736088275909424, -0.5486258864402771, -1.0408461093902588, 0.16282273828983307, -0.1669752150774002, -0.15118975937366486, 0.3542308509349823, 0.4225839376449585, -0.23964335024356842, 0.869064450263977, -0.476728618144989, -0.2803647518157959, -0.043507304042577744, 0.6127910614013672, 0.08503306657075882, 0.620707094669342, 0.5537588000297546, -1.377916693687439, -0.15748609602451324, -0.19550611078739166, -0.5807156562805176, -0.13138730823993683, -0.15508508682250977, 0.10234127938747406, 0.47793301939964294, 0.4361993968486786, -0.7253478169441223, 0.15125475823879242, 0.6841382384300232, -0.364417165517807, 0.6766473054885864, -0.2564435303211212, -0.17196829617023468, -0.8710050582885742, 0.10551533848047256, 0.08403833955526352, -0.3024534285068512, -0.40060943365097046, 0.20019155740737915, 0.1362774670124054, -0.4978092610836029, -0.3496388792991638, 0.1537272185087204, -0.6460557579994202, -0.13885030150413513, -0.20007263123989105, 0.019875699654221535, 0.251647412776947, 0.7469110488891602, -0.08920738101005554, 0.3726406395435333, 0.043417613953351974, -0.5509456396102905, 0.31564635038375854, 0.23106546700000763, -0.2665495276451111, 0.5372160077095032, -0.5286435484886169, 0.29009369015693665, -0.20704859495162964, 0.22842949628829956, -1.109686255455017, -0.5844261050224304, 0.25504717230796814, -0.4874611496925354, 0.519934892654419, -0.12662900984287262, -0.655074417591095, -0.3453159034252167, -0.19453391432762146, 0.26459750533103943, 0.1483871340751648, -0.2889246940612793, 0.8294175267219543, 0.2135099321603775, -0.21142397820949554, -0.5292757749557495, -0.6628065705299377, 0.06895926594734192, 0.16286756098270416, -0.9380475282669067, 0.3759179413318634, -0.4190278649330139, -0.2878928780555725, -0.09457144886255264, -0.274743914604187, -0.21160250902175903, 0.22989800572395325, 0.4382370710372925, 0.09228335320949554, -0.3166974186897278, 0.018384110182523727, 0.027457095682621002, -0.17712192237377167, 0.07576468586921692, -0.10474859923124313, 0.47600704431533813, -0.09743335098028183, -0.337371826171875, 0.02353478968143463, 0.5871016383171082, 0.6954528093338013, -0.4603767395019531, 0.5031880736351013, 0.7757288813591003, -0.4632715582847595, -0.17618440091609955, -0.4998631179332733, 0.19115571677684784, -0.5132383108139038, 0.3748321831226349, -0.6894928216934204, -0.8151624798774719, 0.12800416350364685, -0.2756533920764923, 0.3377809226512909, 0.630527138710022, 0.7572618126869202, -0.01901872642338276, 1.3317104578018188, 1.0549252033233643, 0.6073614954948425, 0.3279861509799957, -0.17689695954322815, -0.15833844244480133, -0.45666611194610596, -0.731273353099823, -0.7127578258514404, -0.12496227025985718, -0.3892263174057007, -0.44531986117362976, 0.3897194564342499, 0.1621037721633911, 0.3712140619754791, 0.04170255362987518, -0.43691983819007874, 0.13259965181350708, 0.31489819288253784, 0.0016739100683480501, 0.1818525791168213, -0.015258882194757462, -0.49153512716293335, 0.09113936871290207, -0.5864877700805664, -0.44404900074005127, 0.8243188261985779, 0.303680419921875, 0.27337783575057983, 0.3277159333229065, 0.28754061460494995, 0.3177599310874939, 0.3980230689048767, -0.6584128737449646, 0.5109379887580872, -0.08732987195253372, -0.5225833654403687, -0.020733632147312164, -0.40061065554618835, -0.4963441491127014, 0.41383978724479675, -0.42625483870506287, -0.32663998007774353, 0.1273704469203949, 0.26941537857055664, -0.20470398664474487, -0.2205672413110733, -0.8566762804985046, 0.7229807376861572, -0.082436703145504, -0.4036383032798767, -0.09258540719747543, -0.8182252049446106, 0.5680591464042664, -0.2512487769126892, 0.48367270827293396, -0.1969936192035675, 0.07609310001134872, 0.464792400598526, -0.5664616227149963, 0.5927219986915588, -0.3368428349494934, 0.09742279350757599, 0.28836897015571594, -0.05401656776666641, 0.3179869055747986, 0.02620329149067402, -0.04332123324275017, -0.30479955673217773, 0.031237957999110222, -0.3533940017223358, -0.5819036960601807, 0.40962886810302734, -0.4015515148639679, -0.4261493682861328, -0.2787743806838989, -0.6638836860656738, -0.111709825694561, 0.42983734607696533, 0.26829519867897034, 0.845485270023346, -0.14015455543994904, 0.4356282949447632, 0.4786958694458008, 0.03893912956118584, 0.726399302482605, 0.484054833650589, -0.07170040160417557, -0.452288955450058, 0.7434708476066589, 0.10287453234195709, 0.14589542150497437, 0.5674188137054443, 0.05637660250067711, -0.25665348768234253, -0.6103301644325256, -0.6208453178405762, -0.17424316704273224, -0.8503515124320984, -0.22895684838294983, -0.7916206121444702, 0.026781193912029266, -0.5777687430381775, 0.007877451367676258, -0.3525230586528778, -0.6281711459159851, -0.4098115861415863, 0.04194270819425583, -0.1746263951063156, 0.7215155959129333, -0.19293524324893951, 0.13385629653930664, -0.7670086026191711, 0.5634669065475464, 0.2559933066368103, 0.20982199907302856, -0.33693164587020874, 0.025336897000670433, -0.19330699741840363, -0.04594914987683296, -0.6557089686393738, -0.6099233627319336, 0.32528093457221985, 0.3264123797416687, 0.4064110815525055, 0.39498674869537354, 0.07048659771680832, 0.6334596276283264, -0.46588388085365295, 0.6927863955497742, 0.24624750018119812, -0.7523093223571777, 0.5822930335998535, -0.2888410687446594, 0.2509765028953552, 0.46898767352104187, 0.10191437602043152, 0.002772248350083828, -0.143652081489563, -0.47165724635124207, -1.0449904203414917, 0.46450695395469666, 0.2390844076871872, 0.1502356380224228, 0.018975574523210526, 0.316373735666275, -0.00173794268630445, 0.3829166889190674, -0.6830055117607117, 0.09879393875598907, -0.4061737358570099, -0.18337127566337585, -0.13520273566246033, -0.6933693885803223, -0.15236108005046844, 0.12153329700231552, 0.39569297432899475, -0.35388070344924927, 0.2739976942539215, 0.4373893439769745, -0.38489559292793274, -0.16147109866142273, 0.2704806923866272, 1.2103395462036133, 0.7991535663604736, -0.29279327392578125, 0.24187104403972626, -0.38948893547058105, -0.4438328742980957, 0.02333286590874195, 0.23857976496219635, 0.09710479527711868, 0.14701086282730103, 0.4082280695438385, 0.5796909332275391, 0.28202810883522034, -0.749445378780365, 0.43821391463279724, -0.16581909358501434, -0.6358402371406555, -0.45823073387145996, 0.010007769800722599, -0.253297358751297, 0.3653458058834076, 0.5772370100021362, 0.4221530556678772, -0.0190963726490736, -0.5329692959785461, 0.24882927536964417, 0.36926400661468506, -0.27008020877838135, -0.25288939476013184, 0.8131773471832275, 0.27263957262039185, -0.3858591616153717, 0.7031657099723816, -0.23006761074066162, -0.36058536171913147, 0.6513303518295288, 0.6814481019973755, 0.6123782992362976, 0.06334741413593292, 0.1238744854927063, 0.11986657977104187, 0.5588408708572388, -0.026927299797534943, 0.3071938455104828, -0.39133933186531067, -0.6316865086555481, -0.3933289647102356, -0.7826034426689148, -0.44878044724464417, 0.1032281294465065, -0.6065745949745178, 0.18021337687969208, -0.7505837082862854, -0.2945801317691803, 0.33365437388420105, -0.09528107196092606, -0.518052875995636, 0.16248483955860138, 0.15945200622081757, 1.1650669574737549, -0.5674697756767273, 0.548822283744812, 0.5560802221298218, -0.290918231010437, -0.5403057336807251, -0.4010103940963745, 0.29697197675704956, -0.4640636742115021, 0.6194128394126892, 0.38450032472610474, -0.23209010064601898, -0.16164951026439667, -0.6497509479522705, -0.4956114888191223, 1.0848891735076904, 0.2638188600540161, -0.33788713812828064, -0.012862902134656906, 0.1226276159286499, 0.3916154205799103, -0.45584189891815186, 0.0984826385974884, 0.2110467553138733, 0.5249624848365784, 0.35008108615875244, -0.7664892077445984, -0.1502959281206131, -0.7927280068397522, -0.005569889210164547, 0.0399014838039875, -0.607974648475647, 0.943399965763092, -0.22799132764339447, -0.24309492111206055, 0.2730884850025177, 0.6776425838470459, 0.376708060503006, 0.7458339929580688, 0.4838466942310333, 0.4536866247653961, 0.4406588077545166, -0.0939246192574501, 1.0419445037841797, -0.03770861402153969, 0.23354604840278625, 1.0078234672546387, -0.34422922134399414, 0.7806243300437927, 0.5387387275695801, 0.17620563507080078, 0.36484241485595703, 0.48523733019828796, -0.2083154171705246, 0.714261531829834, 0.07511260360479355, -0.055139411240816116, -0.15233424305915833, -0.30477315187454224, -0.27187594771385193, 0.7875585556030273, 0.2932860851287842, -0.25615471601486206, -0.05952532961964607, 0.19986674189567566, -0.11398940533399582, 0.15286120772361755, -0.27551186084747314, 0.599361777305603, 0.0017291203839704394, -0.6232786178588867, 0.3553999066352844, 0.6745808124542236, 0.406560480594635, -0.6937819123268127, -0.32415857911109924, 0.004654069431126118, 0.34353458881378174, -0.14818429946899414, -0.37303322553634644, 0.563586950302124, 0.10746149718761444, -0.6679124236106873, -0.7559401392936707, 0.8952863216400146, -0.2506586015224457, -0.5053436756134033, 0.06382166594266891, 0.23802615702152252, -0.24317026138305664, -0.1621527522802353, -0.5428640842437744, 0.09028223156929016, -0.19595444202423096, -0.35186824202537537, 0.36294806003570557, 0.4906260669231415, -0.10593638569116592, 0.5942426323890686, 0.9578356742858887, -0.4548375904560089, 0.14406205713748932, 0.004668875131756067, 0.9452403783798218, -0.3063126802444458, -0.525592029094696, -0.7580567598342896, 0.6977614164352417, 0.08571349084377289, -0.28546756505966187, 0.49414002895355225, 0.7136661410331726, 0.8475158214569092, -0.12007136642932892, 0.526949405670166, -0.0666995719075203, 0.13163210451602936, -0.785409152507782, 0.5242244005203247, -0.6501491665840149, -0.0269157774746418, -0.4181564152240753, -0.6055334210395813, -0.230197474360466, 0.2535930573940277, 0.2848816514015198, -0.08915051072835922, 0.6719434857368469, 0.656910240650177, -0.014015669003129005, -0.10556754469871521, 0.26005733013153076, 0.17987951636314392, 0.44842419028282166, 0.565005898475647, 0.7127106785774231, -0.25689488649368286, 0.8488221168518066, -0.42293649911880493, -0.34586524963378906, -0.1210285946726799, -0.997024416923523, -0.621886670589447, -0.8597809076309204, -0.13721822202205658, -0.41542962193489075, -0.3490746319293976, 0.6528360247612, 0.742890477180481, -0.41614270210266113, -0.03298266604542732, -0.024090122431516647, 0.042491380125284195, -0.14824610948562622, -0.22266575694084167, -0.11346621066331863, -0.10164279490709305, -0.45905494689941406, 0.6082935929298401, 0.5603978037834167, 0.07003559917211533, -0.18119129538536072, 0.008228272199630737, -0.2986798882484436, -0.01100041251629591, 0.9955155849456787, 0.2207854837179184, -0.46308284997940063, -0.16091811656951904, 0.023639218881726265, -0.1091926097869873, 0.023834509775042534, 1.0510865449905396, -0.59062659740448, 0.5042837262153625, 0.46283361315727234, 0.38936758041381836, 0.6811098456382751, -0.004218339920043945, 0.4520505368709564, -1.1350640058517456, 0.3804106116294861, 0.042025305330753326, 0.375933438539505, 0.2851193845272064, -0.3825155198574066, 0.5088313221931458, 0.6096707582473755, -0.16973620653152466, -0.9718000888824463, 0.41977253556251526, -1.170616626739502, -0.3025280833244324, 0.6973812580108643, 0.09848949313163757, -0.11060335487127304, -0.13347528874874115, -0.08877436071634293, 0.27888602018356323, -0.12791100144386292, 0.6005504727363586, 0.7361448407173157, -0.10014168173074722, -0.46019425988197327, -0.6746364831924438, 0.17687612771987915, 0.20742526650428772, -0.6495893597602844, -0.15174846351146698, 0.7823225855827332, 0.10511915385723114, 0.47788679599761963, 0.9021559953689575, -0.21638891100883484, 0.2593879997730255, 0.18717707693576813, -0.11160607635974884, -0.7486317157745361, -0.739021360874176, -0.30348601937294006, 0.8280668258666992, -0.09393278509378433, -0.10936763882637024 ]
http://arxiv.org/abs/2406.11402v1
http://arxiv.org/pdf/2406.11402v1
Evaluating Open Language Models Across Task Types, Application Domains, and Reasoning Types: An In-Depth Experimental Analysis
2024-06-17T10:45:36
2024-06-17T10:45:36
Neelabh Sinha, Vinija Jain, Aman Chadha
cs.CL
cs.CL, cs.AI, cs.LG
The rapid rise of Language Models (LMs) has expanded their use in several applications. Yet, due to constraints of model size, associated cost, or proprietary restrictions, utilizing state-of-the-art (SOTA) LLMs is not always feasible. With open, smaller LMs emerging, more applications can leverage their capabilities, but selecting the right LM can be challenging. This work conducts an in-depth experimental analysis of the semantic correctness of outputs of 10 smaller, open LMs across three aspects: task types, application domains and reasoning types, using diverse prompt styles. We demonstrate that most effective models and prompt styles vary depending on the specific requirements. Our analysis provides a comparative assessment of LMs and prompt styles using a proposed three-tier schema of aspects for their strategic selection based on use-case and other constraints. We also show that if utilized appropriately, these LMs can compete with, and sometimes outperform, SOTA LLMs like DeepSeek-v2, GPT-3.5-Turbo, and GPT-4o.
[ -0.33599957823753357, -0.929860532283783, 0.8371310830116272, 0.24467012286186218, 0.09005104005336761, -0.12728546559810638, -0.5508301258087158, -0.4108675420284271, -0.3024083971977234, 0.5286476016044617, -0.5135080814361572, -0.4267273247241974, -0.4628141224384308, 0.3239445090293884, -0.2808574140071869, 0.7424128651618958, -0.3255317211151123, 0.09201668202877045, -0.2973073124885559, -0.2446356564760208, -0.751177966594696, -0.5013830661773682, -0.5631103515625, -0.21841949224472046, 0.3891766667366028, 0.6693865060806274, 0.883452296257019, 0.20621204376220703, 0.5793343186378479, 0.22558771073818207, -0.08403246849775314, 0.02811550348997116, -0.29709023237228394, 0.21934472024440765, -0.26594528555870056, -0.24365657567977905, -0.49756985902786255, 0.0815693736076355, 0.4544737637042999, 0.7155975103378296, 0.0626436397433281, 0.14987105131149292, -0.030798157677054405, 0.5012621283531189, -0.6284399628639221, 0.19403181970119476, -0.5482794642448425, -0.12261524796485901, -0.3497048616409302, 0.12681704759597778, -0.49772128462791443, -0.5180612802505493, 0.44727370142936707, -0.49689051508903503, -0.10409349203109741, 0.31935179233551025, 0.8785163760185242, 0.005585489794611931, -0.2136690318584442, -0.5020903944969177, -0.8612471222877502, 0.722068190574646, -1.070227026939392, 0.5108967423439026, 0.2330576479434967, 0.5955626368522644, -0.2021065056324005, -0.6319999098777771, -0.5072813630104065, -0.6320074200630188, -0.12329896539449692, -0.10181534290313721, -0.2573736310005188, 0.049665357917547226, 0.27002647519111633, 0.43153277039527893, -0.6766447424888611, 0.543709933757782, -0.24532997608184814, -0.15132954716682434, 0.1974090039730072, 0.28414687514305115, 0.47577670216560364, -0.03773752227425575, -0.24774250388145447, 0.12633022665977478, -0.9021977782249451, 0.08856216073036194, 0.2857385575771332, 0.8147730827331543, -0.03976130485534668, 0.8506263494491577, -0.35096415877342224, 0.7773987054824829, -0.208648219704628, -0.10435298085212708, -0.02407829649746418, -0.6324853897094727, -0.3695434629917145, -0.2462921142578125, 0.7425176501274109, 0.28060677647590637, 0.2707403004169464, -0.1543356478214264, -0.3959590494632721, -0.0018064683536067605, 0.08926349878311157, -0.5453603267669678, 0.277575820684433, 0.3843272030353546, -0.4454435110092163, 0.0842977985739708, -0.35426846146583557, -0.4466843605041504, -0.3631165623664856, -0.29347488284111023, 0.5633388161659241, -0.5583127737045288, -0.33399611711502075, 0.3120741546154022, 0.03756919875741005, 0.018505340442061424, 0.4346292018890381, -0.6606559157371521, 0.43363144993782043, 0.5672686100006104, 0.781471848487854, -0.41648069024086, -0.15775302052497864, -0.41202741861343384, -0.2514585852622986, -0.3756954073905945, 0.5779140591621399, -0.5676570534706116, -0.40978607535362244, 0.274319589138031, -0.1632547825574875, -0.07179475575685501, -0.6163372993469238, 0.7947947382926941, -0.6978226900100708, 0.385315865278244, -0.37095561623573303, -0.6720571517944336, 0.10829866677522659, 0.13741903007030487, -0.7231708765029907, 1.1311808824539185, 0.276030957698822, -0.6152522563934326, 0.5351998805999756, -0.7113219499588013, -0.19623088836669922, 0.1749323159456253, -0.20792458951473236, -0.03158242255449295, 0.12268578261137009, -0.17185837030410767, 0.4553448259830475, -0.4615750014781952, 0.22647444903850555, -0.22448956966400146, -0.25883084535598755, 0.3049270808696747, 0.07869924604892731, 0.6130332350730896, 0.49776607751846313, -0.24914240837097168, 0.48751315474510193, -0.8141536712646484, -0.12411194294691086, 0.25415560603141785, -0.24312615394592285, -0.5711538195610046, -0.11196258664131165, -0.2884013056755066, 0.21869774162769318, 0.1251680701971054, -0.6310601830482483, 0.14932456612586975, -0.375484824180603, 0.5248644948005676, 0.48051124811172485, -0.3133266866207123, 0.6126223206520081, 0.03367391228675842, 0.5608433485031128, -0.07941897213459015, 0.16666331887245178, 0.02774975076317787, -0.4316375255584717, -0.8197202682495117, -0.40803951025009155, 0.30289581418037415, 0.40416035056114197, -0.7481763362884521, 0.10031205415725708, -0.007785243913531303, -0.5001476407051086, -0.28283417224884033, -0.21163107454776764, 0.3407015800476074, 0.4068185091018677, 0.13856962323188782, -0.1403713822364807, -0.3372403085231781, -1.0052940845489502, -0.48451703786849976, -0.19963940978050232, 0.11542267352342606, 0.4469907283782959, 0.5591338276863098, -0.07102792710065842, 1.1757855415344238, -0.28370532393455505, 0.12114609777927399, -0.47588059306144714, -0.05044081062078476, 0.28571072220802307, 0.1882724016904831, 0.47321799397468567, -0.3816831707954407, -0.3059656023979187, 0.02727249078452587, -0.4883163571357727, -0.181252121925354, 0.16240540146827698, -0.09322620928287506, 0.27170273661613464, 0.2911659777164459, -0.8972236514091492, 0.336395263671875, 0.40733662247657776, -0.419705867767334, 0.709391713142395, -0.1156218945980072, 0.03541726619005203, -0.5705671310424805, 0.02453465387225151, 0.04352287948131561, -0.05129599943757057, -0.8689430356025696, 0.2207707017660141, 0.30200740694999695, -0.23986990749835968, -0.4675504267215729, 0.8251803517341614, -0.4045114517211914, -0.20244675874710083, -0.15465615689754486, 0.2854049801826477, -0.009847297333180904, 0.2181217074394226, 0.17959773540496826, 0.8940167427062988, 0.5322059392929077, -0.7409997582435608, 0.18971505761146545, -0.028201036155223846, -0.6569698452949524, 0.20410768687725067, -0.7102680802345276, 0.04596737027168274, -0.03952693194150925, 0.030637206509709358, -0.8966816663742065, -0.19610488414764404, 0.1490703523159027, -0.15676122903823853, 0.08100701868534088, 0.23484887182712555, -0.7036513090133667, -0.2714761197566986, -0.11563927680253983, 0.2561201751232147, 0.4218175709247589, -0.28562501072883606, 0.48910146951675415, 0.006294002290815115, -0.3624979853630066, -0.2932983338832855, -0.3257223963737488, -0.050396472215652466, -0.261820912361145, -0.6247730851173401, -0.005162613000720739, 0.036062292754650116, -0.5695593357086182, 0.053503137081861496, -0.2251158356666565, 0.11191776394844055, 0.26737308502197266, 0.011954814195632935, 0.3186054527759552, -0.4902215003967285, 0.010811042971909046, -0.09435687214136124, 0.05583065375685692, -0.1892799288034439, -0.19379401206970215, 0.462870717048645, -0.4180644452571869, -0.46538886427879333, -0.07547981292009354, 0.3567035496234894, 0.4256714880466461, -0.31241509318351746, 0.6711390614509583, 0.22734734416007996, -0.4327124357223511, -0.3571814000606537, -0.4091765582561493, -0.13050439953804016, -0.4222155213356018, 0.20789091289043427, -0.546109676361084, -1.2063689231872559, 0.38867682218551636, 0.12658114731311798, 0.15659789741039276, 0.40300795435905457, 0.7509876489639282, 0.19634652137756348, 0.8352153301239014, 0.5123029947280884, 0.4482513666152954, 0.29746532440185547, 0.01918773539364338, 0.417723685503006, -0.49679815769195557, -0.3240271508693695, -0.8508424758911133, 0.14219647645950317, -0.389458030462265, -0.306608110666275, 0.3042782247066498, 0.20434236526489258, -0.27017396688461304, 0.5261580944061279, -0.016250435262918472, 0.20646436512470245, 0.6806058287620544, -0.23492133617401123, 0.3821989893913269, -0.12539559602737427, -0.29034140706062317, 0.01627042517066002, -0.6764305233955383, -0.9629442095756531, 0.7845292687416077, 0.628383219242096, 0.7742774486541748, 0.32241305708885193, 0.2675687074661255, 0.05250127986073494, 0.19820785522460938, -0.8704022169113159, 0.681614875793457, -0.1428140103816986, -0.8096885085105896, -0.5018629431724548, -0.1608123630285263, -0.7728432416915894, 0.28964683413505554, -0.07180510461330414, -0.871500551700592, 0.1246228739619255, 0.12558577954769135, -0.5897465348243713, 0.10253922641277313, -0.737284779548645, 1.053877830505371, -0.09015925973653793, -0.15714940428733826, 0.04067061096429825, -0.6142973899841309, 0.36007431149482727, -0.01915021985769272, 0.20008604228496552, -0.3328793942928314, -0.09806181490421295, 0.37777256965637207, -0.4576038122177124, 0.7082550525665283, 0.020334850996732712, -0.43947532773017883, 0.5185250639915466, 0.34731218218803406, 0.4267822504043579, -0.31488117575645447, -0.10674643516540527, 0.1580507457256317, 0.03715610131621361, -0.18402287364006042, -0.7372530102729797, 0.5541667342185974, -0.6659641861915588, -0.7815015316009521, -0.29328593611717224, -0.4606020748615265, -0.7149677276611328, 0.3640676438808441, 0.19821378588676453, 0.6738454103469849, -0.3325466215610504, 0.1197507381439209, 0.5693402290344238, -0.2769898772239685, 0.39136502146720886, 0.8066607117652893, -0.31592658162117004, 0.06279229372739792, 0.8017265200614929, 0.14938534796237946, 0.6268139481544495, 0.25548359751701355, 0.3906630575656891, -0.2850760519504547, -0.8143565058708191, -0.6662904620170593, 0.04611236974596977, -0.7723091244697571, 0.09264259040355682, -0.6546722650527954, 0.011121341958642006, -0.5675150752067566, 0.1539064198732376, -0.3405575156211853, -0.5220031142234802, -0.23656491935253143, -0.040871765464544296, 0.21528519690036774, 0.7339280843734741, 0.2795886993408203, 0.27585598826408386, -0.7326769232749939, 0.008655712939798832, 0.14458705484867096, 0.42754989862442017, -0.04983513429760933, -0.40101245045661926, -0.10827702283859253, -0.18132804334163666, -0.027065489441156387, -0.8775925636291504, 0.0626559853553772, -0.006541181355714798, 0.7192797660827637, 0.1272834837436676, -0.09813610464334488, 0.2164161205291748, -0.6597806215286255, 1.1394189596176147, 0.011557212099432945, -0.7887823581695557, 0.523448646068573, -0.4611263871192932, 0.12741439044475555, 0.44258877635002136, 0.4695015549659729, -0.41592130064964294, -0.40107500553131104, -0.4539836049079895, -0.6552110910415649, 0.7816036939620972, 0.40076473355293274, -0.09639474749565125, -0.0985579788684845, 0.23799008131027222, 0.5899634957313538, 0.24071571230888367, -0.45370468497276306, -0.20317652821540833, -0.13954783976078033, -0.21954990923404694, -0.023997701704502106, -0.18952694535255432, 0.0009854987729340792, 0.23076429963111877, 0.6747311353683472, -0.05038469284772873, -0.019814683124423027, 0.000531644735019654, -0.08286932855844498, 0.19124238193035126, 0.7224347591400146, 0.6457533240318298, 0.7056649923324585, -0.25882989168167114, 0.13492265343666077, 0.054671335965394974, -0.184600368142128, 0.02395244501531124, -0.19705301523208618, -0.3450736701488495, 0.04921161010861397, 0.30412235856056213, 1.1360194683074951, 0.09249749779701233, -0.846474826335907, 0.4692504107952118, -0.13682575523853302, 0.1665276288986206, 0.17798152565956116, 0.12377586960792542, -0.0220140740275383, 0.2333180010318756, -0.125450000166893, -0.07139094173908234, 0.27720898389816284, -0.7319937348365784, -0.3563292622566223, 0.519365131855011, -0.21657370030879974, -0.30697017908096313, 0.33646148443222046, 0.37094953656196594, -0.3555627167224884, 0.20168203115463257, -0.1522698998451233, -0.060401223599910736, 0.3909742534160614, 0.6448460221290588, 0.858123779296875, 0.0574340857565403, 0.12471291422843933, 0.12588682770729065, 0.40534868836402893, -0.217621847987175, 0.5002588629722595, 0.19632330536842346, -0.8057499527931213, -0.45161664485931396, -0.45927494764328003, -0.7297342419624329, 0.33681124448776245, -0.558917760848999, 0.26704567670822144, -0.2682203948497772, -0.3590545356273651, -0.1696915179491043, -0.15726101398468018, -0.8338857889175415, 0.23822225630283356, 0.0722496286034584, 1.2710710763931274, -0.7466330528259277, 0.6751707196235657, 0.9388682246208191, -0.4106648564338684, -0.9832251071929932, -0.2270168513059616, 0.03304995223879814, -0.8195976614952087, 0.8235453367233276, -0.14812646806240082, -0.16567648947238922, -0.29987281560897827, -0.40029823780059814, -0.9782296419143677, 0.7769107222557068, 0.29692116379737854, -0.48631811141967773, -0.08521538227796555, 0.10939283668994904, 0.5070394277572632, -0.5235365033149719, 0.40423890948295593, 0.8540393710136414, 0.3444836139678955, -0.006124388426542282, -1.2825063467025757, 0.10693269968032837, 0.06434699147939682, 0.33890119194984436, 0.08090565353631973, -0.5167642831802368, 0.974918007850647, -0.17509214580059052, -0.40412774682044983, 0.3722156882286072, 0.7532752156257629, 0.5261164903640747, 0.2381785809993744, 0.4750089943408966, 0.24330027401447296, 0.5394260287284851, -0.15242889523506165, 1.10043203830719, -0.08808370679616928, 0.1710532158613205, 1.1546895503997803, -0.66584712266922, 0.8087819814682007, 0.39331504702568054, -0.187277153134346, 0.41101688146591187, 0.7715507745742798, 0.5080119371414185, 0.4440554976463318, 0.248027503490448, 0.056330494582653046, -0.06553886085748672, -0.28843095898628235, -0.3632020354270935, 0.2840375006198883, 0.3479146957397461, -0.030112748965620995, -0.2883758842945099, 0.007723627611994743, 0.15064021944999695, 0.07320726662874222, -0.28414127230644226, 0.5596290230751038, 0.06362786144018173, -0.7931245565414429, 0.27947238087654114, 0.17748495936393738, 0.5142202973365784, -0.5752955079078674, 0.17461898922920227, -0.29343992471694946, 0.00003437446503085084, -0.06495555490255356, -0.8648279309272766, -0.011422557756304741, 0.25283515453338623, 0.05741037428379059, -0.24303916096687317, 1.0850602388381958, -0.31755855679512024, -0.1484505832195282, 0.12195765227079391, 0.8235145807266235, 0.14352203905582428, 0.09666424244642258, -0.34297123551368713, 0.43961095809936523, -0.45460331439971924, -0.3210288882255554, 0.2504015862941742, 0.5661599636077881, -0.35552334785461426, 0.5941310524940491, 0.2826586365699768, 0.2400355339050293, 0.1508208066225052, 0.3635217845439911, 0.7499750852584839, -0.5465108156204224, -0.3634791970252991, -0.7888577580451965, 0.4463161528110504, 0.017940999940037727, -0.517916738986969, 1.1390516757965088, 0.3566884696483612, 0.905600905418396, -0.13326597213745117, 0.7778341174125671, -0.013255189172923565, 0.6793233156204224, -0.7366131544113159, 0.13968393206596375, -0.4460935890674591, 0.2078152745962143, -0.34532198309898376, -0.9244915843009949, -0.0570855513215065, 0.29533851146698, -0.47830888628959656, 0.10005795210599899, 0.7821854948997498, 0.6259549260139465, 0.09477853775024414, 0.49041351675987244, 0.296001136302948, 0.21790197491645813, 0.1979016661643982, 0.2589937746524811, 1.3152118921279907, 0.006534353829920292, 0.1374460756778717, -0.0975339338183403, -0.48615309596061707, -0.311466783285141, -1.0677448511123657, -0.8871083855628967, -0.41851097345352173, -0.3075433075428009, -0.37478259205818176, -0.046413078904151917, 0.9256458878517151, 0.557008683681488, -0.9039308428764343, -0.3885975778102875, 0.24254298210144043, -0.015198531560599804, -0.04675827547907829, -0.1863013356924057, 0.10924248397350311, -0.45657339692115784, -0.5605819225311279, 0.5640097260475159, 0.3512656092643738, -0.017472676932811737, -0.4327414333820343, -0.14532248675823212, 0.01113609503954649, 0.35845497250556946, 0.8922456502914429, 0.27506113052368164, -1.0590369701385498, -0.5125542283058167, 0.33236879110336304, -0.38225194811820984, -0.28341737389564514, 1.1373845338821411, -0.519748330116272, 0.25119414925575256, 0.6830177903175354, 0.5328267216682434, -0.002861583139747381, -0.2854565680027008, 0.5925285220146179, -0.4956147372722626, -0.1413479894399643, 0.301447331905365, 0.5549777746200562, 0.25072193145751953, -0.0069708931259810925, 0.5092370510101318, -0.04032061621546745, -0.4849565625190735, -0.9790363907814026, 0.3668406307697296, -0.7958228588104248, -0.544857382774353, 1.5239297151565552, -0.08129750937223434, -0.02010514959692955, -0.08266215026378632, -0.4148891866207123, -0.03635117784142494, -0.3568861186504364, 0.13139568269252777, 0.9747040867805481, -0.38352522253990173, 0.16828352212905884, -0.7591462731361389, 0.6594334244728088, 0.4125562012195587, -0.6592192053794861, 0.0676097646355629, 0.4992237091064453, 0.23706966638565063, 0.158648282289505, 0.8030614256858826, -0.14546822011470795, 0.02560446411371231, -0.21747726202011108, -0.004868841730058193, -0.021586526185274124, -0.4681815207004547, -0.3920932710170746, 0.17779244482517242, 0.5019394755363464, -0.04715479910373688 ]
http://arxiv.org/abs/2406.11400v1
http://arxiv.org/pdf/2406.11400v1
Large Language Models and Knowledge Graphs for Astronomical Entity Disambiguation
2024-06-17T10:38:03
2024-06-17T10:38:03
Golnaz Shapurian
cs.CL
cs.CL, astro-ph.IM
This paper presents an experiment conducted during a hackathon, focusing on using large language models (LLMs) and knowledge graph clustering to extract entities and relationships from astronomical text. The study demonstrates an approach to disambiguate entities that can appear in various contexts within the astronomical domain. By collecting excerpts around specific entities and leveraging the GPT-4 language model, relevant entities and relationships are extracted. The extracted information is then used to construct a knowledge graph, which is clustered using the Leiden algorithm. The resulting Leiden communities are utilized to identify the percentage of association of unknown excerpts to each community, thereby enabling disambiguation. The experiment showcases the potential of combining LLMs and knowledge graph clustering techniques for information extraction in astronomical research. The results highlight the effectiveness of the approach in identifying and disambiguating entities, as well as grouping them into meaningful clusters based on their relationships.
[ -0.494167685508728, -0.9939717650413513, 0.9747508764266968, -0.03855821490287781, -0.1034260019659996, 0.2909645438194275, -0.373215913772583, -0.8507663607597351, 0.5850887894630432, 0.5449875593185425, -0.40649428963661194, -0.5293230414390564, -0.6632633209228516, 0.24351251125335693, -0.7049205899238586, 0.7288597226142883, 0.06737417727708817, 0.05188147723674774, -0.302863210439682, 0.18835318088531494, -0.14704151451587677, -0.25868692994117737, -0.5313897132873535, -0.037601567804813385, 0.7531593441963196, 0.17799495160579681, 0.5471073985099792, 0.7333436608314514, 0.9965074062347412, 0.3779831826686859, -0.3692416846752167, 0.12550894916057587, -0.30059486627578735, -0.05264313146471977, -0.3494616448879242, -0.385034441947937, -0.27720406651496887, -0.07498053461313248, 0.6366003155708313, 1.0712224245071411, -0.03367860987782478, 0.20522357523441315, -0.2368311882019043, 0.3963516652584076, -0.21629971265792847, 0.48030757904052734, -0.7997188568115234, -0.19567005336284637, -0.6532183289527893, 0.011243153363466263, -0.14586715400218964, -0.33374232053756714, 0.1179477870464325, -0.9513235688209534, 0.246796116232872, 0.5151652097702026, 0.8001747131347656, 0.2893259525299072, -0.23188899457454681, -0.5572079420089722, -0.7866047024726868, 0.9011526703834534, -0.510816752910614, 0.39968955516815186, 0.3113887310028076, 0.267123818397522, -0.15221799910068512, -0.7979438304901123, -0.8270134925842285, -0.21512290835380554, -0.1174851804971695, -0.0028081799391657114, -0.07925768196582794, -0.13918833434581757, 0.18607692420482635, 0.239874005317688, -0.5156983733177185, 0.4081953763961792, -0.6142491698265076, -0.15452107787132263, 0.36613309383392334, -0.015160095877945423, 0.29212313890457153, -0.5183418989181519, -0.18606872856616974, 0.08281774818897247, -0.8210163712501526, -0.6075556874275208, 0.4167335033416748, 0.1692909598350525, 0.41937774419784546, 0.9262889623641968, 0.06628946959972382, 0.5896962285041809, -0.13436347246170044, -0.3836292028427124, 0.1942325085401535, -0.4564628601074219, -0.010081207379698753, -0.10674572736024857, 0.6410517692565918, 0.09759920090436935, 0.12947526574134827, -0.4800465703010559, -0.0015873234951868653, 0.1774742156267166, -0.004943214822560549, -0.5365423560142517, -0.30836331844329834, 0.04702538624405861, -0.4567486047744751, -0.29288190603256226, 0.07085657864809036, -1.1544772386550903, -0.44908180832862854, -0.30955150723457336, 0.19197620451450348, -0.314251571893692, -0.5027545690536499, -0.21519048511981964, -0.2721102833747864, -0.17776980996131897, 0.38349559903144836, -0.840959906578064, 0.32955023646354675, 0.8256698846817017, 0.6524996757507324, -0.39293983578681946, -0.36795467138290405, 0.21761101484298706, 0.5140659809112549, 0.0034361190628260374, 0.5927638411521912, -0.7821937799453735, -0.538101315498352, -0.3277680277824402, -0.153993159532547, 0.13292287290096283, -0.512554407119751, 0.2539932131767273, -0.9396325945854187, 0.12865635752677917, -0.16458961367607117, -1.12260103225708, -0.33871614933013916, -0.03871045634150505, -0.9609631896018982, 0.9686093330383301, 0.1527138203382492, -0.7303569316864014, 0.5309045910835266, -0.854137122631073, -0.02188710868358612, 0.30061179399490356, -0.5316964983940125, -0.13886719942092896, -0.21368637681007385, 0.2942194938659668, 0.3398522138595581, -0.280077189207077, 0.2645169198513031, -0.46094605326652527, -0.030318424105644226, 0.10144811868667603, 0.10070130228996277, 0.6160053610801697, 0.38030654191970825, -0.21045589447021484, -0.2513278126716614, -0.6559311747550964, -0.46609175205230713, 0.24028286337852478, -0.24859535694122314, -0.782960832118988, 0.17693841457366943, -0.046215277165174484, -0.1965445727109909, 0.4924970269203186, -0.780018150806427, 0.5707496404647827, -0.3292739987373352, 0.2501024007797241, 0.4858555495738983, 0.2830078601837158, 0.6759385466575623, 0.2805347740650177, 0.28082361817359924, 0.1762734353542328, -0.033356305211782455, 0.06309172511100769, -0.6284246444702148, -0.5693547129631042, -0.14663967490196228, 0.1513489931821823, 0.21125556528568268, -0.9625397324562073, 0.5073894262313843, -0.30839142203330994, -0.7999175190925598, -0.30703964829444885, 0.13004501163959503, 0.1876949667930603, 0.8604746460914612, 0.3796499967575073, -0.0006328326417133212, -0.5606623888015747, -0.7063533663749695, -0.10125485062599182, -0.3395112156867981, -0.040589042007923126, 0.3357435464859009, 0.7322935461997986, -0.41552188992500305, 1.0841633081436157, -0.8352890014648438, -0.023252366110682487, 0.039239510893821716, -0.061362579464912415, 0.27153393626213074, 0.20574557781219482, 0.7238715291023254, -0.9646095037460327, -0.18327297270298004, 0.24844804406166077, -0.7534843683242798, 0.03974445164203644, 0.3171390891075134, -0.09901551902294159, -0.013175912201404572, 0.6055064797401428, -0.5839452147483826, 0.3714173436164856, 0.36257556080818176, -0.3757370114326477, 0.5330745577812195, 0.08309319615364075, 0.28674423694610596, -1.2425203323364258, 0.16261404752731323, 0.1215050220489502, -0.3111782670021057, -0.3540011942386627, -0.024884086102247238, 0.006600878667086363, 0.17841531336307526, -0.27819186449050903, 0.5351073741912842, -0.623272716999054, -0.4779224693775177, -0.33751723170280457, 0.5425893664360046, -0.08453737944364548, 0.09566539525985718, 0.37602558732032776, 0.5640576481819153, 0.6647025346755981, -0.5414015054702759, 0.5234357714653015, 0.44826740026474, -0.657116711139679, 0.15284445881843567, -0.32799017429351807, -0.0597965233027935, -0.10023525357246399, 0.24235832691192627, -0.796874463558197, -0.2843305468559265, -0.019315848127007484, -0.21489006280899048, 0.06903303414583206, -0.20268535614013672, -0.5968985557556152, -0.613670289516449, 0.31499239802360535, 0.41725456714630127, 0.4682813286781311, -0.5073159337043762, 0.2641947269439697, 0.8256101012229919, -0.5189269185066223, -0.427937775850296, -0.390572190284729, 0.02991820126771927, -0.6366029381752014, -0.5539397597312927, 0.2612576186656952, 0.13770431280136108, -0.5663760900497437, 0.20197777450084686, 0.1419667750597, -0.20177052915096283, 0.1836460828781128, 0.27202755212783813, 0.5925044417381287, -0.14408189058303833, 0.3666401207447052, -0.15531468391418457, 0.04126017540693283, 0.04677993804216385, -0.5547009110450745, 0.43356117606163025, -0.013559959828853607, -0.3825022578239441, -0.021334530785679817, 0.14545385539531708, 0.3016144931316376, -0.039027728140354156, 0.917670726776123, 0.5582897663116455, -0.5847538113594055, 0.10020262748003006, -0.6376501321792603, -0.42332154512405396, -0.4325128495693207, 0.6403445601463318, -0.12998613715171814, -1.1847609281539917, 0.6999936699867249, -0.5136620998382568, 0.06269808113574982, 0.6254211664199829, 0.603948712348938, -0.15729306638240814, 0.42416638135910034, 0.6281865835189819, -0.38031649589538574, 0.383759468793869, -0.15145006775856018, 0.17813906073570251, -0.8558061718940735, -0.11040783673524857, -0.8113059997558594, -0.17974907159805298, -0.3702777028083801, -0.6465995907783508, 0.502869188785553, 0.29651808738708496, -0.08234275132417679, 0.4571121633052826, -0.40940722823143005, 0.7615086436271667, 0.26897624135017395, -0.23016385734081268, 0.5889506936073303, 0.015059221535921097, 0.1390826255083084, -0.042979706078767776, -0.3423023521900177, -0.7156215906143188, 1.196338415145874, 0.1680251955986023, 0.7078811526298523, 0.37377703189849854, 0.7969367504119873, -0.014434797689318657, 0.5578329563140869, -0.4492153525352478, 0.4025844633579254, 0.06375829875469208, -0.774197518825531, -0.560034990310669, -0.8357272148132324, -1.1314891576766968, 0.12517568469047546, -0.08480706810951233, -1.1706551313400269, 0.04545379802584648, -0.11270397156476974, -0.026905808597803116, 0.32264435291290283, -0.6496890783309937, 0.5867282748222351, -0.011974688619375229, 0.17127248644828796, -0.16947078704833984, -0.5686355233192444, 0.4764438569545746, -0.5634452104568481, 0.6091275215148926, -0.04650605097413063, 0.020588688552379608, 0.936572790145874, -0.06223239749670029, 0.6930181980133057, -0.23450690507888794, -0.09112478047609329, 0.38290777802467346, 0.18887047469615936, 0.4959776997566223, 0.18782071769237518, -0.25688445568084717, 0.37777087092399597, -0.018088309094309807, -0.2570059299468994, -0.328059583902359, 0.9665775299072266, -1.0306264162063599, -0.5090624690055847, -0.05348952114582062, -0.47339701652526855, -0.10545799881219864, 0.452961802482605, -0.07290925085544586, 0.12291360646486282, -0.22399207949638367, 0.0339246541261673, 0.3610139489173889, -0.1707964837551117, 0.44338348507881165, 0.6170300841331482, -0.8376545906066895, -0.057306986302137375, 0.8095496296882629, 0.044622793793678284, 0.17025965452194214, 0.3302002251148224, 0.02579968050122261, -0.4712443947792053, -0.7314279675483704, -0.19904233515262604, 0.493256151676178, -0.6787176728248596, -0.17777781188488007, -0.5690211057662964, 0.01586809568107128, -0.5271260738372803, -0.02123279497027397, -0.24939191341400146, -0.6561148166656494, -0.3249383866786957, -0.2923191487789154, 0.45645472407341003, 1.1785082817077637, 0.26160451769828796, 0.34182244539260864, -0.7796513438224792, 0.018858755007386208, -0.21094383299350739, -0.12658503651618958, -0.08527524769306183, -0.05436187610030174, -0.3986840844154358, -0.20036712288856506, -0.18800215423107147, -1.069832682609558, 0.3581019341945648, 0.07356435805559158, 0.5772908926010132, 0.2775840163230896, -0.35343778133392334, 0.7199957370758057, -0.5294696092605591, 0.9109809398651123, 0.3605858087539673, -0.712207019329071, 0.4876739978790283, -0.5855629444122314, -0.1910398304462433, 0.36155280470848083, 0.37611380219459534, -0.4972151517868042, -0.618441104888916, -0.6230518221855164, -0.9299395084381104, 0.37716126441955566, 0.286452054977417, -0.3955455422401428, -0.09432272613048553, 0.8276214599609375, 0.26902562379837036, 0.3803803324699402, -0.7475838661193848, -0.28896084427833557, 0.2615315914154053, -0.175500750541687, -0.20783431828022003, 0.21294309198856354, -0.23778800666332245, -0.0007017510943114758, 0.4939747750759125, 0.02180665172636509, 0.06685760617256165, 0.12668092548847198, -0.30587396025657654, -0.17609696090221405, -0.15609796345233917, 0.1606709361076355, 1.1025912761688232, 0.072856605052948, 0.1337745636701584, 0.06051399186253548, -0.642611026763916, -0.3420810401439667, 0.17483997344970703, -0.0950603261590004, -0.06830254197120667, 0.4360505938529968, 0.4784184992313385, 0.06651200354099274, -0.4174235463142395, 0.28408801555633545, 0.05613818019628525, 0.0407227948307991, -0.43877366185188293, 0.026955388486385345, 0.585308313369751, 0.35174331068992615, 0.4725450277328491, -0.044611867517232895, 0.25068190693855286, -0.23882520198822021, 0.18692192435264587, 0.21471281349658966, 0.08410957455635071, -0.2629103660583496, 0.6549584865570068, 0.2176433950662613, 0.08993253111839294, 0.5040470361709595, -0.16942454874515533, -0.2827182710170746, 0.8356678485870361, 0.31835606694221497, 0.3099304139614105, -0.0015183096984401345, 0.18484185636043549, 0.2972780466079712, 0.2748892307281494, 0.1350972205400467, -0.08774620294570923, 0.17415852844715118, -0.7492642998695374, -0.704558789730072, -1.0273921489715576, -0.48384007811546326, -0.1259826272726059, -0.39623531699180603, 0.17085708677768707, 0.05048437416553497, -0.013895237818360329, 0.5134624242782593, 0.117863729596138, -0.7894431948661804, -0.0723491758108139, 0.2538551092147827, 0.8807119727134705, -0.6933928728103638, 0.9704748392105103, 0.7568139433860779, -0.5029897093772888, -1.0925389528274536, -0.3392229974269867, 0.17112743854522705, -0.823849081993103, 0.8438076972961426, -0.23813273012638092, 0.19813017547130585, 0.19992029666900635, -0.47766685485839844, -1.1870156526565552, 1.3523755073547363, 0.12623398005962372, -0.975735068321228, 0.017602110281586647, 0.17357784509658813, 0.5596088171005249, -0.29960453510284424, 0.28692400455474854, 0.6267384886741638, 0.865338146686554, 0.15144209563732147, -1.0143498182296753, -0.19259534776210785, 0.03161255270242691, -0.17307372391223907, 0.5738083124160767, -0.5668020844459534, 0.8489711880683899, 0.11740309000015259, -0.11357712745666504, 0.22328239679336548, 0.9257667660713196, 0.23550482094287872, 0.30641210079193115, 0.43660467863082886, 0.5115025043487549, 1.121337890625, -0.21324196457862854, 0.8958494067192078, -0.33715933561325073, 0.8840451240539551, 0.7169197201728821, -0.5673792362213135, 0.5208543539047241, 0.9550386071205139, -0.46390223503112793, 0.4429084360599518, 0.7315676212310791, 0.0161118283867836, 0.282992959022522, 0.19732455909252167, -0.22599191963672638, 0.19622237980365753, 0.11112714558839798, -0.28290116786956787, 0.3673384487628937, 0.6634533405303955, -0.2812535762786865, -0.3572891652584076, -0.027698826044797897, 0.2882612943649292, -0.169036865234375, -0.3252142369747162, 0.834279477596283, 0.13081620633602142, -0.732211172580719, -0.14662685990333557, -0.0167244765907526, 0.40511006116867065, -0.5899325013160706, -0.03970232605934143, 0.01936214230954647, 0.08364132046699524, -0.2978147566318512, -0.7874353528022766, 0.3246491253376007, 0.19114840030670166, -0.1712026596069336, 0.09874872863292694, 0.7614536881446838, -0.5222879648208618, -0.6883050799369812, 0.25487691164016724, 0.732338547706604, 0.5537645816802979, 0.12265518307685852, -0.37168675661087036, -0.1575225293636322, 0.09295061230659485, -0.5063821077346802, 0.2589448094367981, 0.5109612941741943, -0.044706858694553375, 0.39923596382141113, 0.7571022510528564, 0.3910076916217804, 0.24167531728744507, 0.006783266551792622, 1.0706924200057983, -0.733241856098175, -0.35826289653778076, -0.8325054049491882, 0.19075018167495728, -0.2965172827243805, -0.23547571897506714, 1.0811331272125244, 0.5976604223251343, 0.5900131464004517, -0.10612178593873978, 0.821587085723877, -0.37827038764953613, 0.7059373259544373, -0.4075523614883423, 0.6599168181419373, -0.4127606451511383, 0.44112882018089294, -0.5311710834503174, -1.376449465751648, -0.2541511654853821, 0.44007954001426697, -0.3846060037612915, 0.007389329839497805, 0.7490869164466858, 0.7639951109886169, -0.08999218046665192, 0.1481349617242813, 0.14148949086666107, 0.44010376930236816, 0.6854956746101379, 0.3615589141845703, 0.8824474811553955, 0.08035243302583694, 0.3871730864048004, -0.08404853194952011, -0.42100903391838074, -0.09784847497940063, -0.8559755086898804, -0.6352919340133667, -0.6787364482879639, -0.18437911570072174, -0.1320062130689621, -0.2752035856246948, 0.5094838738441467, 0.4734291732311249, -0.5095834136009216, 0.017272787168622017, -0.09128683805465698, 0.09703796356916428, 0.16768987476825714, -0.2781626880168915, 0.5835174322128296, -0.06806208938360214, -0.9441800117492676, 0.6557809710502625, 0.3327873647212982, -0.07247244566679001, -0.5705880522727966, 0.02695864625275135, -0.021741695702075958, -0.14383964240550995, 0.19269944727420807, 0.06250189244747162, -0.5344539880752563, -0.5226555466651917, -0.02595713920891285, 0.004878088366240263, -0.3350301682949066, 0.5588579773902893, -0.5746539831161499, 0.22864797711372375, 0.14622531831264496, 0.5495854020118713, 0.689353346824646, -0.00029191255453042686, 0.13686048984527588, -0.7929975986480713, 0.3046477138996124, 0.20553389191627502, 0.6254070997238159, 0.13016556203365326, -0.43515709042549133, 0.6470879912376404, 0.4460679888725281, -1.015389323234558, -0.6627063155174255, 0.30636343359947205, -1.1423572301864624, -0.38303738832473755, 1.3894691467285156, -0.13180051743984222, -0.41074615716934204, -0.11345577239990234, -0.21261730790138245, 0.134029358625412, -0.2745375335216522, 1.047400951385498, 0.9885210990905762, -0.31806695461273193, 0.18465866148471832, -0.4204449951648712, 0.30492356419563293, 0.10230033099651337, -1.0593962669372559, -0.2210833728313446, 0.677244246006012, 0.2900346517562866, 0.7102558612823486, 0.3668595552444458, -0.27712249755859375, -0.13630513846874237, -0.05110963433980942, 0.29499635100364685, 0.01652541570365429, -0.24426846206188202, 0.30008313059806824, 0.11285046488046646, 0.017622945830225945, 0.19305801391601562 ]
http://arxiv.org/abs/2406.11385v2
http://arxiv.org/pdf/2406.11385v2
MetaGPT: Merging Large Language Models Using Model Exclusive Task Arithmetic
2024-06-17T10:12:45
2024-06-27T16:01:28
Yuyan Zhou, Liang Song, Bingning Wang, Weipeng Chen
cs.CL
cs.CL
The advent of large language models (LLMs) like GPT-4 has catalyzed the exploration of multi-task learning (MTL), in which a single model demonstrates proficiency across diverse tasks. Task arithmetic has emerged as a cost-effective approach for MTL. It enables performance enhancement across multiple tasks by adding their corresponding task vectors to a pre-trained model. However, the current lack of a method that can simultaneously achieve optimal performance, computational efficiency, and data privacy limits their application to LLMs. In this paper, we propose \textbf{M}odel \textbf{E}xclusive \textbf{T}ask \textbf{A}rithmetic for merging \textbf{GPT}-scale models, which formalizes the objective of model merging into a multi-task learning framework, aiming to minimize the average loss difference between the merged model and each individual task model. Since data privacy limits the use of multi-task training data, we leverage LLMs' local linearity and task vectors' orthogonality to separate the data term and scaling coefficients term and derive a model-exclusive task arithmetic method. Our proposed MetaGPT is data-agnostic and bypasses the heavy search process, making it cost-effective and easy to implement for LLMs.Extensive experiments demonstrate that MetaGPT leads to improvements in task arithmetic and achieves state-of-the-art performance on multiple tasks.
[ -0.4233604073524475, -0.7466590404510498, 0.5198652744293213, 0.12105567753314972, -0.23366157710552216, -0.04073432460427284, -0.20307432115077972, -0.2350788712501526, 0.12355279922485352, 0.5189219117164612, -0.5715072154998779, -0.42860788106918335, -0.7998579740524292, -0.15476013720035553, -0.2943927049636841, 1.077914834022522, -0.26416587829589844, 0.024337217211723328, -0.1851501166820526, -0.33196312189102173, -0.10300058126449585, -0.8491935729980469, -0.5604060292243958, -0.07961885631084442, 0.34405967593193054, 0.21203731000423431, 0.49122384190559387, 0.9126102328300476, 0.5486188530921936, 0.359135240316391, 0.4222414195537567, 0.4377540946006775, -0.24016989767551422, 0.12144263833761215, -0.04907405748963356, -0.22697670757770538, -1.1090714931488037, 0.1919732689857483, 0.758266270160675, 0.5589087009429932, -0.2624446153640747, 0.5146163702011108, 0.22415149211883545, 0.4880731403827667, -0.731694757938385, 0.5338910818099976, -0.39369067549705505, 0.09324263036251068, -0.325226753950119, -0.14748026430606842, -0.25577864050865173, -0.3258303701877594, -0.22600488364696503, -0.4367050230503082, 0.05151129886507988, -0.10433480143547058, 0.2945660650730133, 0.3978080153465271, -0.6023510694503784, -0.0016260469565168023, -0.5627655982971191, 0.8236851096153259, -0.7577576041221619, 0.6012813448905945, 0.2007286101579666, 0.13229167461395264, 0.2433309704065323, -0.5610284209251404, -0.46304675936698914, -0.07953751087188721, 0.06513265520334244, -0.07573390752077103, -0.38302332162857056, 0.1814642697572708, 0.31264451146125793, 0.3142193555831909, -0.877387285232544, -0.2382539063692093, -0.28906458616256714, 0.005808387417346239, 0.31165266036987305, 0.2830880284309387, 0.27455413341522217, 0.16506098210811615, -0.36309245228767395, 0.16684900224208832, -0.7666248679161072, -0.12443183362483978, 0.40057048201560974, 0.2175646871328354, -0.04345791041851044, 0.750639021396637, -0.17267000675201416, 0.6152231693267822, 0.008486916311085224, -0.13826952874660492, 0.4359451234340668, -0.3027529716491699, -0.26920297741889954, -0.2997555136680603, 1.0077617168426514, 0.16130220890045166, 0.1286391317844391, -0.2538710832595825, -0.24321267008781433, 0.09931056201457977, 0.0817556157708168, -0.919414222240448, -0.023301031440496445, 0.020724670961499214, -0.22245237231254578, -0.26187291741371155, -0.22899186611175537, -0.6193661689758301, -0.002167758531868458, -0.5591580867767334, 0.6618270874023438, -0.17206357419490814, -0.470441073179245, 0.14440664649009705, 0.44395047426223755, -0.1445714831352234, 0.08972588926553726, -0.9284332394599915, 0.3877844512462616, 0.943520724773407, 0.7025229930877686, -0.12721821665763855, -0.48194411396980286, -0.8386916518211365, 0.1831342875957489, -0.10333291441202164, 0.2610071897506714, -0.5266948342323303, -0.25325533747673035, -0.14987048506736755, -0.17101594805717468, -0.41489720344543457, -0.23166143894195557, 0.5987306833267212, -0.5405331254005432, 0.21487003564834595, -0.17978210747241974, -0.5056232810020447, -0.33283311128616333, 0.38765984773635864, -0.5878674983978271, 0.9996674656867981, 0.02192086912691593, -0.7727252244949341, 0.08533135056495667, -0.9692195057868958, -0.36759933829307556, -0.005383466836065054, -0.27648624777793884, -0.4337523877620697, 0.08026134222745895, 0.35323622822761536, 0.568299412727356, -0.3750653564929962, 0.36834439635276794, -0.44485610723495483, -0.13467225432395935, -0.038568343967199326, -0.5966525077819824, 0.7033026218414307, 0.14870724081993103, -0.5009439587593079, 0.11649435758590698, -0.3925565779209137, 0.2778891324996948, -0.056642401963472366, -0.30930066108703613, -0.26558151841163635, -0.1479514241218567, -0.13862895965576172, 0.2873339354991913, 0.621867299079895, -0.44301852583885193, 0.3713681399822235, -0.12560774385929108, 0.4562494158744812, 0.6900025010108948, -0.43123528361320496, 0.4959869384765625, -0.3109894394874573, 0.60113525390625, -0.2764754593372345, 0.19109278917312622, -0.08837516605854034, -0.4958491623401642, -0.5453047752380371, -0.4550401270389557, 0.2437412589788437, 0.781906008720398, -0.6286826729774475, 0.35076332092285156, -0.665202260017395, -0.4284696578979492, -0.43698564171791077, 0.21002192795276642, 0.5140026807785034, 0.32895562052726746, 0.3619003891944885, -0.09995896369218826, -0.2968170642852783, -0.7318664789199829, -0.4534192383289337, 0.09353233128786087, -0.10896165668964386, 0.44924232363700867, 0.23594994843006134, -0.10093234479427338, 0.8284961581230164, -0.6000733971595764, -0.3177245557308197, -0.16787557303905487, 0.3803251087665558, 0.2810843884944916, 0.6539767384529114, 0.38525283336639404, -0.7752568125724792, -0.6427872180938721, -0.006076343357563019, -0.8137351274490356, -0.1437031775712967, 0.3456025719642639, 0.01982632279396057, -0.0066029285080730915, 0.30358824133872986, -0.9460688233375549, 0.2808716893196106, 0.8167312145233154, -0.15523645281791687, 0.32175812125205994, -0.4945990741252899, 0.47730526328086853, -1.1520326137542725, -0.005363255273550749, -0.14678406715393066, -0.4169458746910095, -0.7514553666114807, 0.3291395306587219, 0.35031235218048096, -0.42148712277412415, -0.33969295024871826, 0.32957878708839417, -0.5229374170303345, -0.10781575739383698, -0.40108123421669006, -0.16548749804496765, -0.3253812789916992, 0.7360190153121948, -0.16417448222637177, 0.8427647948265076, 0.7632952332496643, -0.3951616883277893, 0.21184076368808746, -0.08368624001741409, 0.29888126254081726, 0.5586364269256592, -0.44374939799308777, 0.40154093503952026, -0.02526990883052349, 0.15192873775959015, -0.8458930253982544, 0.05850596725940704, 0.27419301867485046, -0.47510838508605957, 0.32190942764282227, -0.36432382464408875, -0.5195412039756775, -0.031313780695199966, -0.2552734315395355, 0.9710166454315186, 0.3843121826648712, -0.46625223755836487, 1.1527296304702759, 0.41463521122932434, -0.3912883698940277, -0.7697898149490356, -0.5023869872093201, 0.08703144639730453, -0.24227294325828552, -0.7464148998260498, 0.2203662246465683, -0.1861274540424347, 0.140208438038826, 0.1874171644449234, -0.2695562541484833, -0.28434130549430847, -0.3492349088191986, 0.14099512994289398, 0.3569221794605255, -0.26840001344680786, -0.17967049777507782, 0.015203716233372688, -0.3388875126838684, 0.07718434929847717, -0.6307072043418884, 0.4770747423171997, -0.10392473638057709, -0.6115323305130005, -0.07977332919836044, 0.43525341153144836, 0.8882914185523987, -0.6609780788421631, 0.6047900319099426, 0.7503499388694763, -0.4271988272666931, 0.00581165449693799, -0.7281524538993835, 0.0706615298986435, -0.4779863953590393, 0.3496023714542389, -0.491847962141037, -1.0965152978897095, 0.40236303210258484, -0.0019258683314546943, 0.4063867926597595, 0.3155311346054077, 0.531481921672821, 0.36332443356513977, 1.0274337530136108, 0.5768261551856995, -0.18916985392570496, 0.3561842739582062, -0.15604417026042938, 0.3395289480686188, -0.8560308814048767, 0.10311073064804077, -0.33911406993865967, -0.15631182491779327, -0.6479952335357666, -0.7669528126716614, 0.6293111443519592, -0.41057533025741577, -0.3891478180885315, 0.37256836891174316, -0.3381161689758301, 0.5996575355529785, 0.5302755236625671, 0.3304333984851837, 0.3718518316745758, -0.08897311985492706, 0.08816202729940414, -0.11987126618623734, -0.4530777335166931, -0.09368603676557541, 1.4976520538330078, 0.08313504606485367, 0.6159689426422119, 0.2480962872505188, 0.8419665694236755, 0.19652369618415833, 0.30244162678718567, -0.514934241771698, 0.703760027885437, -0.5189147591590881, -0.5877655744552612, -0.3886052668094635, -0.906032919883728, -0.6607758402824402, 0.7123603224754333, -0.08731311559677124, -0.5751590132713318, -0.10468537360429764, 0.17743799090385437, -0.06752420216798782, 0.5014170408248901, -0.45161572098731995, 0.9765717387199402, -0.15889602899551392, -0.44972917437553406, -0.33202362060546875, -0.41486620903015137, 0.6752234101295471, -0.40370309352874756, 0.5015425682067871, -0.10324154794216156, -0.24502329528331757, 0.7293293476104736, -0.3663397431373596, 0.7015566229820251, -0.2026042491197586, -0.009687232784926891, -0.09838134050369263, 0.3018791377544403, 0.9383537769317627, -0.1964285671710968, 0.33677592873573303, 0.3094019889831543, -0.3071950078010559, -0.34612274169921875, -0.5177949666976929, 0.7668203115463257, -0.43395110964775085, -0.5864912271499634, -0.3049471974372864, -0.9266377091407776, -0.38450172543525696, 0.410577654838562, 0.003030789317563176, 0.7385783791542053, 0.1960056871175766, 0.15328563749790192, 0.6221798658370972, 0.13983017206192017, 0.30854013562202454, 0.7002497315406799, -0.11872278153896332, -0.6207417845726013, 1.029978632926941, 0.1732846200466156, 0.2303004115819931, 0.5537406206130981, 0.21074171364307404, -0.4038527309894562, -0.39549827575683594, -0.42193838953971863, 0.11722817271947861, -0.5846432447433472, -0.1648321896791458, -0.808937668800354, -0.04599229246377945, -0.3510220944881439, 0.06653998792171478, -0.473978191614151, -0.5176005959510803, 0.16817130148410797, -0.04445440322160721, 0.04091658815741539, 0.5924853086471558, -0.34308740496635437, 0.2617306411266327, -0.9804392457008362, 0.5140959620475769, 0.48071160912513733, 0.29204633831977844, 0.005997991189360619, -0.365903377532959, -0.14184531569480896, 0.06679710000753403, -0.31067419052124023, -0.7727596163749695, 0.4009423851966858, 0.13790388405323029, 0.5801998376846313, 0.31091880798339844, -0.03809353709220886, 0.5442217588424683, -0.8411922454833984, 0.4398716986179352, 0.3027106523513794, -1.1910457611083984, -0.09289485216140747, -0.5664594173431396, 0.06972314417362213, 0.26538676023483276, 0.2771347761154175, -0.3209172189235687, -0.4469028115272522, -0.5835383534431458, -0.9098865389823914, 0.6379314064979553, 0.28447362780570984, 0.03119359165430069, 0.32972049713134766, 0.12368962913751602, -0.1563955545425415, 0.44997313618659973, -0.8798643946647644, -0.5219824910163879, 0.00656105624511838, -0.48314401507377625, -0.10677779465913773, -0.08690936863422394, -0.2156735509634018, -0.27527371048927307, 0.41330093145370483, -0.0036886429879814386, 0.2407006323337555, -0.39877957105636597, -0.12124737352132797, 0.011488317511975765, 0.30064451694488525, 0.5281306505203247, 0.6689748764038086, -0.08290181308984756, 0.35506024956703186, 0.34948205947875977, -0.622067391872406, 0.31466159224510193, 0.38707202672958374, 0.02020752802491188, -0.11783671379089355, 0.21385276317596436, 0.4995218515396118, 0.43994542956352234, -0.262969970703125, 0.7106013894081116, 0.08936586230993271, -0.47172099351882935, 0.016505949199199677, -0.05747668445110321, 0.13821864128112793, 0.37671342492103577, 0.2801517844200134, 0.1197260320186615, 0.26309874653816223, -0.17051398754119873, 0.42665037512779236, 0.5839319825172424, 0.014150985516607761, -0.27394187450408936, 0.9180300831794739, 0.1326039433479309, -0.06610990315675735, 0.30636802315711975, -0.2248053252696991, -0.7208210229873657, 0.3277307450771332, 0.38242191076278687, 1.1052403450012207, -0.5943197011947632, -0.08234655112028122, 0.22246144711971283, 0.5397988557815552, -0.10743959248065948, 0.26884883642196655, -0.22516107559204102, -0.41598063707351685, -0.833617091178894, -0.36568760871887207, -0.41007161140441895, 0.0021785360295325518, -0.5167340636253357, 0.028607921674847603, -0.14128489792346954, -0.07389925420284271, -0.21664054691791534, -0.1694251000881195, -0.6725392937660217, 0.09245441108942032, -0.060736410319805145, 0.42424696683883667, -0.8340899348258972, 0.8764472007751465, 0.5955725312232971, -0.16093751788139343, -0.8809285759925842, -0.11039067059755325, 0.05899621173739433, -0.9498515725135803, 0.6172477006912231, 0.12649019062519073, -0.19095362722873688, 0.07788386195898056, -0.08798228949308395, -0.8988057971000671, 0.9330554604530334, 0.7181263566017151, -0.47434574365615845, -0.12035058438777924, 0.49969714879989624, -0.04145905748009682, -0.30936676263809204, 0.2102217674255371, 0.31499993801116943, 0.5425783395767212, 0.11301427334547043, -1.1419010162353516, 0.30798912048339844, -0.07511600106954575, -0.48786070942878723, 0.6667909026145935, -0.4155382812023163, 1.3147491216659546, -0.10506744682788849, -0.04831802099943161, -0.29794105887413025, 0.4297650158405304, 0.13792528212070465, 0.24663524329662323, 0.6508708596229553, 0.816831111907959, 0.668286919593811, -0.0504978783428669, 0.5520846247673035, -0.5582068562507629, 0.8264279365539551, 0.9335066080093384, -0.08031779527664185, 0.626127302646637, 0.11743336170911789, -0.2716597616672516, -0.17677275836467743, 0.21988999843597412, 0.23528900742530823, 0.4068652093410492, -0.0012200155761092901, -0.5960375070571899, -0.39496976137161255, 0.3240145444869995, -0.48105841875076294, 0.1838287115097046, 0.045888420194387436, -0.1920720338821411, -0.5201733708381653, -0.08761133253574371, 0.24469400942325592, -0.3916185200214386, -0.2800327241420746, 0.6936438679695129, 0.00500400410965085, -0.38421720266342163, 0.4028797447681427, 0.10492461174726486, 0.7056642174720764, -0.7449517250061035, 0.04439174383878708, -0.09080271422863007, 0.25946927070617676, -0.20547212660312653, -0.5052075386047363, 0.26350095868110657, 0.015488534234464169, -0.17670607566833496, -0.24320469796657562, 0.3948548436164856, -0.8271850347518921, -0.5552055239677429, 0.06992640346288681, 0.723815381526947, 0.140069842338562, -0.45799964666366577, -0.7545982599258423, -0.05108209326863289, -0.03327059745788574, -0.20773085951805115, 0.48607689142227173, 0.5556148290634155, 0.21336327493190765, 0.596450686454773, 0.7760265469551086, 0.07210104912519455, 0.19212281703948975, -0.31630951166152954, 0.8268657922744751, -0.4405677020549774, -0.6624598503112793, -1.1532957553863525, 0.3862753212451935, 0.24637889862060547, 0.02867988497018814, 0.7025499939918518, 0.7731819152832031, 0.5255781412124634, -0.04770955815911293, 0.9010779857635498, -0.0355224572122097, 0.41667720675468445, -0.49489933252334595, 0.5681997537612915, -0.675372838973999, 0.07484814524650574, -0.2014686018228531, -1.070477843284607, -0.09301796555519104, 0.4039236307144165, -0.2380123734474182, 0.2315385341644287, 0.7992885708808899, 0.6639866232872009, -0.5264151692390442, -0.11243857443332672, 0.4252476394176483, -0.11044302582740784, 0.42522066831588745, 0.9317159056663513, 0.3454000651836395, -0.3136337399482727, 0.6541422605514526, -0.09491763263940811, -0.5398102402687073, -0.0056729745119810104, -0.9403141140937805, -0.7671682834625244, -0.4777231514453888, -0.1883285790681839, -0.04511062800884247, -0.08032242208719254, 0.9571616649627686, 0.7678035497665405, -0.4381914734840393, -0.312435507774353, -0.06524114310741425, -0.09807430952787399, -0.2258719652891159, -0.1398128867149353, 0.6485880017280579, -0.3404490351676941, -0.9621971845626831, 0.33463409543037415, 0.2596457898616791, -0.12161996960639954, -0.24044866859912872, -0.060105614364147186, 0.2560742497444153, 0.08362425863742828, 0.47691404819488525, 0.1550890952348709, -0.4442422688007355, 0.1779111623764038, -0.025354433804750443, -0.020604323595762253, -0.05237468704581261, 1.0698587894439697, -0.2552972137928009, 0.32176220417022705, 0.40181732177734375, 0.8354898691177368, 0.6384793519973755, 0.03622295334935188, 0.650070309638977, -0.7026782035827637, 0.007513232529163361, 0.010633313097059727, 0.47734779119491577, 0.12294290959835052, -0.36062219738960266, 0.5792379975318909, 0.25555291771888733, -0.6671642661094666, -0.767559289932251, 0.1803247481584549, -0.9078720808029175, 0.10494553297758102, 1.0199992656707764, -0.2937777638435364, 0.09423497319221497, 0.08917664736509323, -0.014696083031594753, 0.17707830667495728, -0.3132946193218231, 0.36167168617248535, 0.5899249315261841, -0.23111222684383392, -0.17075040936470032, -0.8759806752204895, 0.3291477560997009, 0.30257460474967957, -0.8387506008148193, 0.44534286856651306, 0.3308938443660736, 0.36531558632850647, 0.0020491292234510183, 0.6361517310142517, -0.09489630907773972, 0.17280934751033783, -0.21100635826587677, 0.087313711643219, -0.6296261548995972, -0.24270498752593994, -0.1641303449869156, 0.41057872772216797, -0.1629534661769867, -0.5563321709632874 ]
http://arxiv.org/abs/2406.11380v1
http://arxiv.org/pdf/2406.11380v1
A Realistic Evaluation of LLMs for Quotation Attribution in Literary Texts: A Case Study of LLaMa3
2024-06-17T09:56:46
2024-06-17T09:56:46
Gaspard Michel, Elena V. Epure, Romain Hennequin, Christophe Cerisara
cs.CL
cs.CL
Large Language Models (LLMs) zero-shot and few-shot performance are subject to memorization and data contamination, complicating the assessment of their validity. In literary tasks, the performance of LLMs is often correlated to the degree of book memorization. In this work, we carry out a realistic evaluation of LLMs for quotation attribution in novels, taking the instruction fined-tuned version of Llama3 as an example. We design a task-specific memorization measure and use it to show that Llama3's ability to perform quotation attribution is positively correlated to the novel degree of memorization. However, Llama3 still performs impressively well on books it has not memorized nor seen. Data and code will be made publicly available.
[ 0.31611114740371704, -0.6065599322319031, 0.7357572913169861, 0.19565145671367645, -0.43571901321411133, -0.037256281822919846, -0.08263693004846573, -0.4251646399497986, 0.0773991122841835, 0.7265500426292419, -0.31803882122039795, -0.45342913269996643, -0.34986522793769836, 0.2280377298593521, -0.5147622227668762, 0.9863773584365845, -0.3402823507785797, -0.2860897481441498, -0.5623338222503662, 0.01725667156279087, -0.3028809726238251, -0.6539350152015686, -0.45848554372787476, -0.5336312651634216, 0.9201856255531311, 0.4457380175590515, 0.3763713836669922, 0.7656466364860535, 0.7734166383743286, 0.2679787576198578, 0.02465119957923889, -0.1320664882659912, -0.5408511161804199, 0.27318355441093445, -0.080551877617836, -1.0536943674087524, -0.19396162033081055, 0.18968583643436432, 0.9517478346824646, 0.03390941023826599, -0.039373185485601425, 0.16261565685272217, 0.044855885207653046, 0.4834382236003876, -0.7419604063034058, 0.1258893460035324, -0.7452037930488586, 0.004693110939115286, -0.40385136008262634, -0.42854398488998413, -0.341814249753952, -0.8241248726844788, -0.15850943326950073, -0.5945870280265808, 0.10666200518608093, 0.16953837871551514, 0.827728271484375, 0.32103604078292847, -0.33862125873565674, -0.444003164768219, -0.6727764010429382, 1.2564575672149658, -0.7337541580200195, -0.42302513122558594, 0.7023194432258606, 0.17165333032608032, 0.06601964682340622, -0.4155564606189728, -0.6030975580215454, -0.5562629103660583, 0.03539162874221802, 0.1541813760995865, 0.05514337867498398, -0.16162264347076416, 0.11402622610330582, 0.4181809723377228, -0.19905932247638702, 0.0615796260535717, -0.18007825314998627, -0.049640953540802, 0.6588861346244812, 0.3054616153240204, -0.06966516375541687, -0.3509385287761688, -0.6185380816459656, -0.015544552356004715, -0.9069226384162903, -0.1905955821275711, 0.5916646718978882, 0.1789754033088684, 0.12653830647468567, 0.6285287141799927, 0.24329343438148499, 0.43922221660614014, -0.4449612498283386, -0.44331228733062744, 0.16780075430870056, -0.24711433053016663, -0.11131858080625534, 0.15008650720119476, 0.7066022753715515, 0.5405025482177734, 0.7844177484512329, -0.15752321481704712, -0.2909351587295532, 0.008282585069537163, 0.42175066471099854, -0.7571015954017639, 0.03956976160407066, -0.057027075439691544, -0.174974262714386, -0.4577026665210724, -0.39639949798583984, -0.2916925251483917, -0.6834527254104614, -0.061246536672115326, 0.6253087520599365, -0.40776699781417847, 0.20111125707626343, 0.044806476682424545, -0.3112969696521759, 0.22414322197437286, 0.3598848879337311, -0.6253278255462646, 0.2651468515396118, 0.44650721549987793, 1.015861988067627, -0.33725422620773315, -0.3788313865661621, -0.15402258932590485, 0.6612532734870911, -0.45830535888671875, 0.9724937081336975, -0.4571237862110138, -0.1910506784915924, 0.1553780883550644, -0.21342118084430695, -0.3597771227359772, -0.60516756772995, 0.8223609924316406, -0.3296336531639099, -0.22212669253349304, -0.2619691491127014, -0.9271761775016785, -0.2861693203449249, 0.46295371651649475, -0.8322880268096924, 0.6699029207229614, -0.07280689477920532, -0.4763187766075134, 0.16424889862537384, -0.2753373086452484, -0.5015131235122681, 0.022971762344241142, -0.2580225467681885, -0.4086282253265381, -0.07107850909233093, -0.26954180002212524, 0.6612234711647034, -0.47985905408859253, -0.09229818731546402, -0.2897547483444214, -0.9809263348579407, 0.7155870795249939, -0.573954164981842, 0.5018935799598694, 0.0981842577457428, -0.011038325726985931, -0.2659528851509094, -0.6768448948860168, -0.06654609739780426, 0.17008677124977112, -0.43268588185310364, -0.3824736177921295, 0.10760287940502167, 0.1191876158118248, -0.39877015352249146, 0.3330409526824951, -0.5869891047477722, 0.21580302715301514, -0.20965266227722168, 0.21493305265903473, 0.5412274599075317, 0.3173239529132843, 0.06541230529546738, -0.8901221752166748, 0.5978235006332397, -0.23495253920555115, -0.16454531252384186, -0.08258233219385147, -0.18351244926452637, -0.6100659370422363, -0.6391947269439697, 0.281615287065506, 0.8043593168258667, -0.6003463864326477, 0.16503341495990753, -0.12315347790718079, -0.5782917737960815, -0.14597101509571075, 0.2371412068605423, 0.702474057674408, 0.19610650837421417, 0.050722163170576096, -0.01212882436811924, -0.14957007765769958, -0.8190895915031433, -0.7293530702590942, -0.35426437854766846, -0.09517400711774826, 0.2945133149623871, 0.5899415016174316, 0.2614535391330719, 0.6617339849472046, -0.5874455571174622, -0.7286252379417419, -0.26194408535957336, 0.16401410102844238, 0.1452692449092865, 0.3733021020889282, 0.6474009156227112, -0.15161415934562683, -0.3762674629688263, -0.1603984385728836, -0.8688908219337463, -0.08038654178380966, -0.18869264423847198, -0.038600414991378784, -0.07590261101722717, 0.7060675621032715, -0.39123672246932983, 0.18470343947410583, 0.09989529103040695, -0.1187976822257042, 0.6510494351387024, -0.04306900501251221, 0.3759676516056061, -0.9163009524345398, 0.06708957999944687, 0.02099805511534214, -0.1930101066827774, -0.38117650151252747, -0.04458519071340561, 0.06651269644498825, 0.3709796369075775, -0.6299332976341248, 0.49637022614479065, -0.3222620487213135, 0.19074973464012146, -0.05842316150665283, 0.2890249192714691, 0.10265006870031357, 0.42622870206832886, -0.06796845048666, 0.7071853280067444, 0.025833168998360634, -0.4410325884819031, 0.5502877831459045, 0.13463884592056274, -0.9713301658630371, 0.5074682831764221, -0.5266245007514954, 0.03840548172593117, 0.11647766828536987, 0.07961747795343399, -0.9744230508804321, -0.2712158262729645, -0.007800137158483267, -0.02606738545000553, 0.07333087921142578, -0.08359146118164062, -0.6932148933410645, 0.039619237184524536, -0.6154065728187561, 0.5687132477760315, 0.21059338748455048, -0.24833965301513672, 0.22741365432739258, -0.031405866146087646, -0.23304897546768188, -0.5722845792770386, -0.8645907044410706, 0.12340128421783447, -0.7521471381187439, -0.0045521012507379055, 0.3593432307243347, -0.07433092594146729, -0.4052777588367462, -0.2832321226596832, 0.09072520583868027, -0.22632341086864471, 0.13271407783031464, 0.18212267756462097, 0.2952955365180969, -0.05322383716702461, 0.23715832829475403, -0.053899120539426804, 0.2633601725101471, 0.022638460621237755, 0.46092289686203003, 0.10961071401834488, -0.08367079496383667, -0.4684792459011078, -0.4498295187950134, 0.12589246034622192, 0.33435142040252686, 0.30462929606437683, 0.6714780926704407, 0.25151461362838745, -0.42588967084884644, -0.15994428098201752, -0.6393144130706787, 0.17686833441257477, -0.45878496766090393, 0.3163517117500305, -0.38702401518821716, -0.5194857120513916, 0.5742456316947937, 0.16050845384597778, -0.06499522179365158, 0.38228800892829895, 0.5376380085945129, -0.27896010875701904, 0.24346639215946198, 0.4134051203727722, -0.04742323234677315, 0.5510478615760803, -0.07551068067550659, -0.06028195470571518, -0.7288496494293213, -0.23203492164611816, -0.6605005264282227, -0.3170803487300873, -0.15311484038829803, -0.27800625562667847, 0.1282835602760315, 0.4272109270095825, -0.23836974799633026, 0.4225628077983856, -0.026487745344638824, 1.0218491554260254, 0.37511584162712097, -0.05406933277845383, 0.6432634592056274, 0.10410007834434509, -0.057802964001894, -0.15535615384578705, -0.22654303908348083, -1.0758624076843262, 1.0856196880340576, 0.383966326713562, 0.8915388584136963, 0.3703914284706116, 0.6488808989524841, 0.6362817883491516, 0.32948580384254456, -1.0021147727966309, 0.5572078227996826, -0.05660514160990715, -0.7477279305458069, -0.2990838885307312, -0.3160213828086853, -0.7823144197463989, 0.09612838923931122, 0.09626275300979614, -0.8213101625442505, 0.04627523571252823, 0.05391291528940201, -0.523364782333374, 0.1320086121559143, -0.6240907311439514, 0.7244186997413635, -0.08103612065315247, -0.334978312253952, -0.09070688486099243, -0.20994159579277039, 0.4409375488758087, -0.39419183135032654, 0.03975588455796242, -0.39180412888526917, -0.4801690876483917, 1.0094242095947266, -0.041687920689582825, 0.9881933927536011, 0.19197191298007965, -0.4150814116001129, 0.49416396021842957, 0.38045060634613037, 0.40222251415252686, -0.19186437129974365, -0.5846133828163147, -0.07958285510540009, 0.365139901638031, -0.2458844631910324, -0.45887038111686707, 0.775290846824646, -0.6980001926422119, -0.38866788148880005, -0.5413411259651184, -0.7328158020973206, -0.3154256343841553, 0.005017170216888189, 0.3048572838306427, 0.3070972263813019, -0.36418989300727844, 0.2502884864807129, 0.273917019367218, 0.015530096367001534, 0.575080156326294, 0.5347405672073364, -0.08858117461204529, -0.380079448223114, 1.0850085020065308, 0.1648491770029068, 0.26117411255836487, 0.25819602608680725, -0.009893500246107578, -0.2250770777463913, -0.626757800579071, -0.31847459077835083, 0.4021182060241699, -0.8939305543899536, -0.33289968967437744, -0.05023660883307457, -0.1998077630996704, 0.04614928364753723, -0.3726225197315216, -0.2370210736989975, -0.4813290238380432, -0.6184006929397583, -0.07204503566026688, 0.5964962244033813, 1.0496870279312134, 0.31639668345451355, 0.5835676789283752, -0.48425108194351196, 0.056060899049043655, -0.04731127619743347, 0.3928711414337158, -0.08168011903762817, -0.8908616304397583, -0.5441946387290955, -0.45756208896636963, -0.5761431455612183, -0.8120813369750977, 0.36418798565864563, 0.3665755093097687, 0.3494430184364319, 0.4760853946208954, 0.20877429842948914, 0.5124037861824036, -0.48577287793159485, 0.8750970959663391, 0.2613421380519867, -0.8181123733520508, 0.20883432030677795, -0.5371170043945312, 0.10016017407178879, 0.6623020768165588, 0.37001895904541016, -0.309575617313385, -0.6293511986732483, -0.3112930357456207, -0.5042077302932739, 0.7977603673934937, 0.3055814504623413, 0.3498179316520691, -0.06812763959169388, 0.5810745358467102, 0.028224213048815727, 0.2724449038505554, -0.9126590490341187, -0.03897075355052948, 0.07608078420162201, -0.4019906222820282, -0.5288718938827515, -0.42417728900909424, -0.25105950236320496, -0.20349770784378052, 0.468767374753952, 0.14117331802845, 0.20429536700248718, -0.0019717798568308353, -0.2956089377403259, 0.009945249184966087, 0.23027242720127106, 0.7355200052261353, 0.3824533522129059, -0.3570850193500519, 0.08439969271421432, 0.18173685669898987, -0.576561450958252, 0.26310303807258606, -0.2800985872745514, -0.0859786793589592, -0.16600064933300018, 0.8659319281578064, 0.7228456139564514, 0.09763524681329727, -0.6088057160377502, 0.6396051645278931, 0.17550240457057953, -0.3424205780029297, -0.47488468885421753, 0.2986268401145935, 0.14343196153640747, 0.47662490606307983, 0.3243779242038727, -0.1623380035161972, 0.07481241971254349, -0.667392373085022, -0.05897054821252823, 0.3230629861354828, -0.2609710693359375, 0.05757313221693039, 0.3097067177295685, 0.05115849897265434, -0.1753961443901062, 0.28357383608818054, -0.04338909685611725, -0.4248506724834442, 0.748254656791687, 0.7590147256851196, 0.6907021403312683, -0.10683384537696838, 0.06157207861542702, 0.17530784010887146, 0.40331804752349854, 0.058364637196063995, 0.054614532738924026, -0.02208724617958069, -0.6500204801559448, -0.3821214735507965, -0.7035195231437683, -0.5857913494110107, 0.2854117453098297, -0.5194006562232971, 0.1393987536430359, -0.4725699722766876, -0.2060045450925827, -0.22728995978832245, 0.10889267921447754, -0.1846768707036972, 0.08307953178882599, 0.10054627805948257, 0.5108152627944946, -0.8086666464805603, 0.8643542528152466, 0.3616334795951843, -0.5109595060348511, -0.6146101951599121, 0.23149187862873077, -0.1752161979675293, -0.7623435258865356, 0.5896946787834167, 0.18287168443202972, -0.5030888915061951, 0.1089063361287117, -0.4861888289451599, -0.6585845351219177, 1.173174262046814, 0.850148618221283, -0.35114341974258423, 0.07937628775835037, 0.1740795075893402, 0.45049190521240234, -0.20154988765716553, 0.38366708159446716, 0.7728509306907654, 0.3265688419342041, 0.24675697088241577, -0.8479065895080566, -0.0564534068107605, -0.05015400052070618, -0.0023916573263704777, -0.14300477504730225, -0.6540480256080627, 0.7661644220352173, -0.11913834512233734, -0.11437281221151352, 0.5145439505577087, 0.5228315591812134, 0.30283212661743164, 0.14090022444725037, 0.2050492912530899, 0.2015453279018402, 0.7780939936637878, -0.015042277052998543, 1.2061970233917236, 0.18285079300403595, 0.36035531759262085, 0.9543697834014893, -0.5354207754135132, 1.1732122898101807, 0.5135573744773865, -0.380724161863327, 0.5416750311851501, 0.42997321486473083, -0.07261668890714645, 0.5237699151039124, 0.6522296667098999, -0.6312589049339294, -0.1376248449087143, -0.24499017000198364, -0.18951508402824402, 0.3748672902584076, 0.1437995731830597, -0.37868091464042664, 0.11538710445165634, 0.0073804352432489395, 0.16265968978405, 0.29647111892700195, -0.3029636740684509, 0.7613638639450073, 0.3275425136089325, -0.5689016580581665, 0.8928295373916626, 0.1437426209449768, 0.5620216727256775, -0.4919545352458954, 0.016204673796892166, -0.24616165459156036, 0.49737417697906494, -0.23442384600639343, -0.8945557475090027, 0.29680201411247253, 0.3887534439563751, -0.23553016781806946, -0.013591050170361996, 0.5030646920204163, -0.3571242392063141, -0.6678599715232849, 0.23319658637046814, 0.15987582504749298, 0.7712692022323608, 0.01780518889427185, -0.30711829662323, 0.25231999158859253, 0.01722162775695324, -0.5298375487327576, 0.22952677309513092, 0.4249812364578247, 0.08573800325393677, 0.7088016271591187, 0.16765138506889343, 0.23133543133735657, 0.06468706578016281, 0.2829750180244446, 0.38441237807273865, -0.8066539168357849, -0.049228422343730927, -0.9707213640213013, 0.008731703273952007, 0.01622239500284195, -0.3193363845348358, 0.9174153804779053, 0.5226511359214783, 0.34303373098373413, -0.24563734233379364, 0.7178635001182556, 0.35629576444625854, 0.5619365572929382, -0.6260403990745544, 0.8127602338790894, -0.6348399519920349, 0.4294111430644989, -0.4501033425331116, -1.023146629333496, -0.4569694995880127, 0.8469449281692505, -0.44339150190353394, 0.022335179150104523, 0.870351254940033, 0.7354904413223267, 0.17404882609844208, 0.027261856943368912, 0.584239661693573, 0.061930302530527115, 0.08941832184791565, 0.5264078378677368, 1.049569010734558, -0.4582011103630066, 0.7377766370773315, 0.15246838331222534, -0.1267194151878357, -0.19888557493686676, -1.1834189891815186, -0.9661121964454651, -0.3032614290714264, -0.3949430286884308, 0.024851927533745766, 0.13044263422489166, 0.5124156475067139, 0.006494092755019665, -0.5754513144493103, -0.6038050055503845, 0.0701906755566597, 0.0834825187921524, -0.05108855664730072, -0.18520478904247284, 0.25685185194015503, -0.36542123556137085, -0.7036444544792175, 0.4320398271083832, -0.1374034583568573, 0.052578628063201904, -0.19072966277599335, 0.020628919824957848, -0.26543131470680237, 0.6063452363014221, 0.5842577815055847, 0.033411670476198196, -0.6600519418716431, -0.2632753252983093, -0.5396355390548706, -0.37765413522720337, -0.04453076049685478, 0.755511462688446, -0.5660791993141174, -0.023116499185562134, 0.10848889499902725, 0.33276548981666565, 0.6010729670524597, 0.07553640007972717, 0.5026907920837402, -0.8613221645355225, -0.13083292543888092, 0.27220186591148376, 0.2751235067844391, 0.40923264622688293, -0.32545772194862366, 0.3532780408859253, 0.2817480266094208, -0.7300922274589539, -0.8719372153282166, 0.06712810695171356, -0.9391850829124451, -0.24356743693351746, 1.4499257802963257, -0.4206600785255432, -0.16742049157619476, -0.11644959449768066, -0.1613057553768158, 0.2723589241504669, -0.2694491147994995, 0.43136706948280334, 1.2151098251342773, 0.016477633267641068, 0.18136735260486603, -0.763460636138916, 0.578812837600708, 0.6211414933204651, -0.6584299206733704, 0.36673256754875183, 0.573431670665741, 0.2968442142009735, 0.06223301589488983, 0.559857964515686, -0.08799286931753159, -0.10927426069974899, 0.00850896630436182, 0.11095505952835083, -0.054736074060201645, -0.36258360743522644, -0.2916223406791687, 0.13074582815170288, 0.443665087223053, -0.2013401985168457 ]
http://arxiv.org/abs/2406.11375v1
http://arxiv.org/pdf/2406.11375v1
Boosting Scientific Concepts Understanding: Can Analogy from Teacher Models Empower Student Models?
2024-06-17T09:51:38
2024-06-17T09:51:38
Siyu Yuan, Cheng Jiayang, Lin Qiu, Deqing Yang
cs.CL
cs.CL, cs.AI
Analogical reasoning plays a critical role in human cognition, enabling us to understand new concepts by associating them with familiar ones. Previous research in the AI community has mainly focused on identifying and generating analogies and then examining their quality under human evaluation, which overlooks the practical application of these analogies in real-world settings. Inspired by the human education process, in this paper, we propose to investigate how analogies created by teacher language models (LMs) can assist student LMs in understanding scientific concepts, thereby aligning more closely with practical scenarios. Our results suggest that free-form analogies can indeed aid LMs in understanding concepts. Additionally, analogies generated by student LMs can improve their own performance on scientific question answering, demonstrating their capability to use analogies for self-learning new knowledge. Resources are available at https://github.com/siyuyuan/SCUA.
[ -0.13324077427387238, -0.4702913165092468, 0.8407064080238342, -0.15830513834953308, -0.36474812030792236, 0.22418837249279022, -0.019964955747127533, -0.5649654865264893, 0.2825644612312317, 0.20818211138248444, -0.022910648956894875, 0.09059140086174011, -0.1716410517692566, 0.2680169343948364, -0.41873273253440857, 0.6650264859199524, 0.0130686704069376, 0.532970666885376, -0.9336262345314026, 0.044661667197942734, -0.41630256175994873, -0.1769644021987915, -0.47153258323669434, -0.6564531922340393, 0.37771356105804443, 0.4746023118495941, 0.7782204747200012, 0.9237730503082275, 0.4498988687992096, 0.33684155344963074, 0.04183841124176979, -0.05813780054450035, -0.02541106753051281, 0.17970813810825348, -0.49968162178993225, -0.7038151025772095, -0.1161356270313263, 0.2692643404006958, 0.670707643032074, 0.9985349178314209, -0.08672148734331131, 0.2598493695259094, 0.016960803419351578, 0.371877521276474, -0.2829902470111847, 0.33328479528427124, -0.7692772150039673, -0.028485368937253952, 0.3381258249282837, -0.1642317771911621, -0.23915626108646393, -0.3795892894268036, 0.20418435335159302, -1.1494041681289673, 0.3024807870388031, -0.19932621717453003, 0.9441128969192505, 0.0650763139128685, -0.21797749400138855, -0.387863427400589, -0.5553981065750122, 0.530249297618866, -0.7498741745948792, 0.26064586639404297, 0.18607236444950104, 0.49953076243400574, -0.232370987534523, -0.8544143438339233, -1.0253525972366333, -0.13261203467845917, -0.02026248723268509, 0.27036869525909424, 0.034872304648160934, -0.05379877984523773, 0.06924527883529663, 0.13619177043437958, -0.20813803374767303, 0.013118252158164978, -0.9367030262947083, 0.023411370813846588, 0.47112029790878296, 0.20101778209209442, 0.5266668200492859, -0.3481731414794922, -0.5145010948181152, -0.3686412572860718, -0.7536811232566833, 0.25637951493263245, 0.10218305885791779, 0.3861691951751709, 0.037976205348968506, 0.3262583911418915, 0.09902387857437134, 0.7284151911735535, -0.18228310346603394, -0.11998456716537476, -0.041999708861112595, -0.18601754307746887, -0.00656508281826973, 0.018045442178845406, 0.4359094798564911, 0.4598582684993744, 0.3905150294303894, -0.3506230413913727, 0.1571488082408905, 0.4855823218822479, -0.005572811234742403, -1.163813829421997, -0.31460505723953247, -0.029535403475165367, -0.20090420544147491, -0.34626442193984985, 0.20454421639442444, -0.6914786100387573, -0.32336199283599854, -0.5572332739830017, 0.6826856136322021, -0.1982111930847168, -0.3910450041294098, 0.15164658427238464, -0.4447897970676422, -0.11388585716485977, 0.33598828315734863, -0.9592898488044739, 0.5181742906570435, 0.6490025520324707, 0.6944632530212402, 0.08423219621181488, -0.44193458557128906, 0.044472698122262955, 0.1895897537469864, -0.3487403690814972, 0.7927899956703186, -0.7390444278717041, -0.5626356601715088, -0.5270644426345825, -0.23265796899795532, -0.12856338918209076, -0.6511325836181641, 0.23104225099086761, -0.23353488743305206, 0.32958051562309265, -0.19534260034561157, -0.6324722170829773, -0.19556064903736115, -0.15522071719169617, -0.3937632739543915, 0.8753176331520081, -0.1470339149236679, -0.42367908358573914, 0.03104378469288349, -0.7273787260055542, 0.004538638051599264, 0.07184018194675446, -0.43015989661216736, 0.11771518737077713, 0.2697581350803375, 0.027397306635975838, 0.38436397910118103, -0.49999570846557617, 0.3393406867980957, -0.3310835063457489, -0.25850629806518555, 0.5483982563018799, -0.09869815409183502, 0.6128761172294617, 0.5229955911636353, 0.10503977537155151, 0.1949305385351181, -0.4938761591911316, 0.09504801034927368, 0.3156629204750061, 0.3776859939098358, -0.8866831064224243, 0.023288942873477936, -0.46841564774513245, 0.2388586401939392, -0.14474180340766907, -0.4526561200618744, 0.22098632156848907, -0.5638501644134521, 0.888664722442627, 0.5907512903213501, 0.03958078846335411, 0.5688809752464294, -0.35923218727111816, 0.4146309792995453, -0.05879694223403931, -0.2356090098619461, -0.502862274646759, -0.44462209939956665, -0.6065094470977783, -0.300066202878952, 0.39024701714515686, 0.2607438564300537, -0.6418290138244629, -0.17680878937244415, -0.45448681712150574, -0.7788295149803162, -0.8424045443534851, 0.05296625941991806, 0.17372699081897736, 1.1043672561645508, 0.2642761766910553, -0.28392088413238525, -0.5206311345100403, -0.6969359517097473, -0.47416871786117554, -0.20300211012363434, -0.3860027492046356, 0.23271754384040833, 0.76307612657547, 0.19966425001621246, 1.2421759366989136, -0.5410680770874023, 0.2895214855670929, 0.2155270278453827, -0.03239541873335838, 0.08188042789697647, 0.3486408591270447, 0.5428869128227234, -0.671750009059906, -0.20763327181339264, -0.22678960859775543, -1.0770763158798218, 0.05582418665289879, -0.14162255823612213, -0.15527550876140594, -0.4158620834350586, 0.4204501807689667, -0.7409484386444092, 0.23219428956508636, -0.004227247089147568, -0.4670977294445038, 0.6211702823638916, -0.29547375440597534, 0.12413784116506577, -1.0824421644210815, 0.0375741682946682, 0.15806613862514496, -0.08860227465629578, -0.6889967918395996, 0.43675342202186584, 0.15502135455608368, -0.5055723786354065, -0.7351293563842773, 0.940093994140625, -0.3198983371257782, -0.13811750710010529, -0.3098467290401459, 0.630055844783783, 0.255309522151947, -0.11160054057836533, 0.29687440395355225, 0.9812774062156677, 0.4897933602333069, -0.5993632078170776, 0.15509755909442902, 0.08327731490135193, -0.4215141236782074, 0.3737452030181885, -1.0301849842071533, -0.01943265274167061, -0.21979139745235443, 0.4298085868358612, -0.5833450555801392, -0.1884704977273941, 0.17351411283016205, -0.49956464767456055, -0.2424013912677765, 0.23230649530887604, -0.4920569062232971, -0.3968682885169983, -0.27960696816444397, 0.49448737502098083, 0.4588124454021454, -0.6509875059127808, 0.45143404603004456, 0.17693078517913818, -0.07857450097799301, -0.34784093499183655, -0.5124684572219849, 0.020943989977240562, -0.4022153317928314, -0.2949256896972656, 0.1794719099998474, -0.0998818427324295, -0.5110285878181458, 0.3098427951335907, -0.23487040400505066, -0.050530146807432175, 0.3971305787563324, 0.12964680790901184, 0.5442560315132141, -0.2420578896999359, 0.4046042263507843, 0.1737077683210373, 0.021569818258285522, 0.3779290020465851, -0.19310005009174347, 0.1717233955860138, -0.22712893784046173, -0.22465254366397858, -0.5236719250679016, 0.13410718739032745, 0.6811336874961853, 0.1726723313331604, 0.6249109506607056, 0.06127598136663437, -0.5386629700660706, -0.05203016847372055, -0.10309725999832153, -0.9856767058372498, -0.4588269889354706, 0.3726770281791687, -0.5410048961639404, -0.37855270504951477, 0.3767622709274292, -0.07492715120315552, -0.35430967807769775, 0.24266491830348969, 0.2669198215007782, -0.44201087951660156, 0.5921251773834229, 0.28590717911720276, 0.19763632118701935, 0.16037455201148987, -0.23094160854816437, 0.32953035831451416, -0.6316149234771729, -0.25965604186058044, -0.5390331149101257, 0.08108612895011902, -0.3120378851890564, -0.553242027759552, 0.3364815413951874, 0.4553065896034241, -0.2807404398918152, 0.3339984714984894, -0.6589844822883606, 0.7845902442932129, 0.362525075674057, 0.20014910399913788, 0.2967895567417145, 0.16571611166000366, -0.24248681962490082, -0.14062951505184174, -0.8324399590492249, -0.9143244624137878, 1.0444581508636475, 0.3493458330631256, 0.501501739025116, -0.13216564059257507, 0.5743282437324524, 0.014577563852071762, 0.6314881443977356, -0.7246822118759155, 0.8175559043884277, 0.19845576584339142, -0.557197630405426, -0.12732528150081635, -0.37238940596580505, -0.8476864099502563, 0.7191766500473022, -0.4915013015270233, -0.6786029934883118, -0.07901988178491592, 0.1598796546459198, -0.06746082752943039, 0.42300310730934143, -0.8502160310745239, 0.7363538146018982, -0.19700975716114044, -0.23303942382335663, -0.5100730657577515, -0.6546598076820374, 0.17872700095176697, -0.00785575620830059, 0.41682955622673035, -0.1433383971452713, 0.11169753223657608, 0.7776186466217041, -0.2965008020401001, 1.1110070943832397, -0.08959253132343292, 0.0638415589928627, 0.6351230144500732, 0.20707465708255768, -0.05629570409655571, -0.0742681622505188, -0.23668448626995087, 0.03461800888180733, 0.45493221282958984, -0.6494989991188049, -1.1223859786987305, 0.7154891490936279, -0.8286228775978088, -1.044448733329773, -0.5049746632575989, -0.9326117038726807, 0.052478279918432236, 0.0242770966142416, -0.38882774114608765, -0.11336129903793335, 0.05685940757393837, 0.015298538841307163, 0.34443679451942444, 0.2547883689403534, 0.269979327917099, 0.539873480796814, -0.26469576358795166, -0.25831225514411926, 1.1457988023757935, -0.09007791429758072, 0.6715180277824402, 0.08320216834545135, 0.609513521194458, -0.339720219373703, 0.047197651118040085, -0.6242551207542419, 0.3874523341655731, -1.0114136934280396, -0.39461785554885864, -0.45469972491264343, -0.04584283381700516, -0.5842453241348267, -0.20882774889469147, 0.037029389292001724, -1.0822752714157104, -0.40396392345428467, -0.24849125742912292, 0.3521628975868225, 0.6421278715133667, -0.02370988018810749, 0.17072072625160217, -0.43836772441864014, 0.376718670129776, 0.45906585454940796, -0.2675931453704834, 0.4025188386440277, -0.5407170653343201, -0.13123810291290283, 0.4287894070148468, -0.6549049615859985, -1.1082044839859009, 0.2819671928882599, 0.2489461451768875, 0.6625945568084717, 0.5746974349021912, -0.19989840686321259, 0.7280333638191223, -0.4212292730808258, 0.808481752872467, 0.38347887992858887, -1.1669330596923828, 0.570354700088501, -0.1763293594121933, -0.08859352767467499, 0.16926716268062592, 0.5456960201263428, -0.5352315902709961, -0.30426153540611267, -0.639966607093811, -0.6297553777694702, 0.20599012076854706, 0.03696577250957489, 0.3826863765716553, 0.07617519795894623, 0.8004904985427856, 0.2440301477909088, 0.3692456781864166, -0.792572021484375, -0.27310213446617126, -0.6415033936500549, -0.5557141900062561, -0.0741388276219368, 0.12688706815242767, -0.1620090901851654, -0.6002413630485535, 0.5595988631248474, -0.24174147844314575, 0.10179094970226288, 0.11225128918886185, 0.10079993307590485, -0.15776552259922028, 0.37753379344940186, 0.5100893378257751, 0.7722931504249573, 0.046573206782341, 0.49537193775177, 0.4030536711215973, -0.23815032839775085, 0.1088593378663063, 0.08528035879135132, -0.2825186848640442, -0.2764614522457123, 0.21844005584716797, 0.47397658228874207, 0.27481478452682495, -0.8081206679344177, 0.08749265968799591, 0.2340593934059143, 0.08231180906295776, 0.04910433292388916, 0.3673727512359619, 0.4278787672519684, 0.10470923781394958, 0.589697003364563, 0.11501901596784592, -0.026374205946922302, -0.8586025834083557, 0.05875613912940025, 0.4587341547012329, -0.0007945208344608545, -0.6009624004364014, 0.8824376463890076, 0.10570191591978073, -0.3898388743400574, 0.3124222457408905, 0.16471152007579803, -0.5728738903999329, 1.0349470376968384, 1.2485564947128296, 0.4258052408695221, -0.379469633102417, 0.37138479948043823, 0.4486474096775055, 0.009416903369128704, -0.05605161562561989, 0.129115492105484, -0.33039650321006775, -0.9098583459854126, -0.10846336930990219, -0.3650747239589691, -0.7631193399429321, -0.07937144488096237, -0.6259434223175049, 0.3346323072910309, -0.4056466519832611, 0.23228654265403748, 0.3316482901573181, -0.17228581011295319, -0.5060651898384094, 0.2748810350894928, -0.07451193034648895, 0.9013844132423401, -1.4471083879470825, 1.0153836011886597, 0.9371323585510254, -0.6787850260734558, -0.9650110602378845, -0.3451310992240906, -0.29524239897727966, -0.6341082453727722, 1.011717677116394, 0.046385835856199265, -0.15938106179237366, -0.0743241161108017, -0.5533122420310974, -0.7237465977668762, 1.2912287712097168, 0.41000896692276, -0.14654450118541718, -0.09273669868707657, 0.26001694798469543, 0.9064624905586243, -0.7196785807609558, 0.540367603302002, 0.15158461034297943, 0.27172157168388367, 0.155574768781662, -0.6864185929298401, 0.2562747001647949, -0.2692803144454956, -0.2639184892177582, -0.26579615473747253, -0.31202536821365356, 0.6895588040351868, -0.6485028862953186, -0.2253752499818802, 0.2581314146518707, 1.0270252227783203, 0.5793424248695374, 0.8352133631706238, 0.42954254150390625, 0.4195648729801178, 0.6835111975669861, 0.14434947073459625, 0.6735909581184387, -0.32393455505371094, 0.21802844107151031, 0.9798687100410461, -0.06542219966650009, 0.8366914391517639, 0.9227957129478455, -0.10262567549943924, 0.6095440983772278, 0.6029263138771057, -0.006334695965051651, 0.42655032873153687, 0.48626819252967834, -0.28937166929244995, -0.40144088864326477, -0.30550113320350647, -0.6003944277763367, 0.26192706823349, 0.6713171601295471, -0.16079634428024292, -0.2353116124868393, -0.025155488401651382, 0.028548212721943855, 0.6999247670173645, -0.2947719693183899, 0.18885207176208496, 0.29336583614349365, -0.5530925989151001, 0.5396496057510376, -0.34529560804367065, 0.27933499217033386, -0.3593522906303406, -0.3430781960487366, -0.012466940097510815, -0.0859748125076294, -0.0449584536254406, -0.7398970127105713, -0.049912434071302414, -0.2448115199804306, -0.12972399592399597, -0.0813630223274231, 0.5949022173881531, -0.5374701619148254, -0.4922246038913727, -0.10929334163665771, 0.5398939251899719, 0.414969265460968, 0.5152308940887451, -0.5515210628509521, -0.30567869544029236, -0.24090705811977386, 0.27845457196235657, 0.24927422404289246, 0.14088226854801178, -0.30745160579681396, 1.0826442241668701, 0.6800216436386108, 0.3450961112976074, -0.23215189576148987, -0.24166853725910187, 0.982059895992279, -0.5380898118019104, -0.35829970240592957, -0.5020806193351746, 0.17238979041576385, 0.09694622457027435, 0.0037581485230475664, 0.6909972429275513, 0.4338030517101288, 0.9539614319801331, -0.37174704670906067, 0.5957021713256836, 0.34136390686035156, 0.41806939244270325, -0.3156574070453644, 0.7391893863677979, -0.45983240008354187, 0.3534298241138458, -0.31296736001968384, -0.7950820326805115, -0.3185485601425171, 0.8338285684585571, -0.36158719658851624, -0.18205881118774414, 0.5617411732673645, 0.6011515855789185, -0.315878689289093, 0.17174986004829407, 0.3005785048007965, 0.14279265701770782, 0.338589072227478, 0.24103166162967682, 1.0274964570999146, -0.4260636270046234, 0.08112015575170517, -0.2668874263763428, 0.05935516580939293, 0.048273876309394836, -0.9462939500808716, -1.0094364881515503, -0.6508567333221436, -0.2776983976364136, -0.18565791845321655, 0.22352690994739532, 1.0763816833496094, 0.6369270086288452, -0.6244320273399353, -0.3112274706363678, -0.19874413311481476, 0.23193378746509552, -0.21370841562747955, -0.21662692725658417, 0.5895256400108337, -0.19513197243213654, -0.7452747225761414, 0.5263738632202148, -0.32387691736221313, 0.4369099736213684, -0.23284727334976196, -0.0901062861084938, 0.16453659534454346, 0.5886140465736389, 0.30301567912101746, 0.5019623637199402, -1.0142691135406494, -0.34628981351852417, 0.15297776460647583, 0.018203509971499443, -0.10978947579860687, 0.9441124796867371, -1.271411657333374, 0.6661073565483093, 0.35964420437812805, 0.3879168629646301, 0.35067638754844666, 0.071967713534832, 0.37345439195632935, -0.27545881271362305, 0.4759848713874817, 0.18392035365104675, 0.32273024320602417, 0.3728864789009094, -0.1200023964047432, 0.44176068902015686, 0.3708692789077759, -0.31407004594802856, -1.1185200214385986, 0.1920391172170639, -0.7460190057754517, -0.5089388489723206, 0.7664893865585327, -0.2256823182106018, -0.20386186242103577, 0.3193114101886749, 0.029465660452842712, 0.22462482750415802, -0.2571942210197449, 1.0795810222625732, 0.6329130530357361, -0.071157306432724, -0.043816111981868744, -0.5288166403770447, 0.3291729688644409, 0.7491903305053711, -0.8360550403594971, -0.3013136088848114, 0.09222391247749329, 0.46759116649627686, 0.26086199283599854, -0.0024766006972640753, 0.023643234744668007, 0.3036390244960785, -0.18165816366672516, 0.20835880935192108, -0.3253549635410309, -0.2222660928964615, 0.00042222285992465913, -0.12586481869220734, 0.02707335352897644, -0.13466894626617432 ]
http://arxiv.org/abs/2406.11370v1
http://arxiv.org/pdf/2406.11370v1
Fairer Preferences Elicit Improved Human-Aligned Large Language Model Judgments
2024-06-17T09:48:53
2024-06-17T09:48:53
Han Zhou, Xingchen Wan, Yinhong Liu, Nigel Collier, Ivan Vulić, Anna Korhonen
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG
Large language models (LLMs) have shown promising abilities as cost-effective and reference-free evaluators for assessing language generation quality. In particular, pairwise LLM evaluators, which compare two generated texts and determine the preferred one, have been employed in a wide range of applications. However, LLMs exhibit preference biases and worrying sensitivity to prompt designs. In this work, we first reveal that the predictive preference of LLMs can be highly brittle and skewed, even with semantically equivalent instructions. We find that fairer predictive preferences from LLMs consistently lead to judgments that are better aligned with humans. Motivated by this phenomenon, we propose an automatic Zero-shot Evaluation-oriented Prompt Optimization framework, ZEPO, which aims to produce fairer preference decisions and improve the alignment of LLM evaluators with human judgments. To this end, we propose a zero-shot learning objective based on the preference decision fairness. ZEPO demonstrates substantial performance improvements over state-of-the-art LLM evaluators, without requiring labeled data, on representative meta-evaluation benchmarks. Our findings underscore the critical correlation between preference fairness and human alignment, positioning ZEPO as an efficient prompt optimizer for bridging the gap between LLM evaluators and human judgments.
[ -0.2180294245481491, -0.37222960591316223, 0.7904199957847595, 0.04135021194815636, -0.17252875864505768, -0.20817604660987854, -0.4525775909423828, -0.3551400601863861, -0.13913780450820923, 0.30793166160583496, -0.35890722274780273, -0.36425936222076416, -0.4745282530784607, 0.21468214690685272, 0.27151814103126526, 0.8800240755081177, 0.3282964825630188, 0.14903002977371216, -0.20651549100875854, -0.07349838316440582, -0.6529455184936523, -0.1876789927482605, -0.5901307463645935, -0.5651229619979858, 0.5657635927200317, 0.6113393902778625, 1.026488184928894, 0.5681008100509644, 0.026258831843733788, 0.2411363571882248, 0.006080684717744589, -0.11121601611375809, -0.39326775074005127, 0.25576478242874146, -0.2474064975976944, -0.5050637722015381, -0.5205709338188171, 0.07563396543264389, 0.3972717523574829, 0.7272089123725891, -0.04366063326597214, 0.16708381474018097, 0.13690806925296783, 0.6687285304069519, -0.7742866277694702, -0.0539478100836277, -0.8142408728599548, 0.10050611943006516, -0.0829605981707573, -0.245603546500206, -0.5548619627952576, -0.4973149001598358, 0.17724131047725677, -0.5128133893013, 0.13303793966770172, 0.22263363003730774, 0.7891878485679626, 0.1477297842502594, -0.3855220079421997, 0.02883673831820488, -0.30689242482185364, 1.1950095891952515, -0.866364061832428, 0.31042852997779846, 0.04122786223888397, 0.4532180428504944, -0.3854256272315979, -0.1519382745027542, -0.7047619223594666, -0.2277027666568756, 0.28172609210014343, 0.053401798009872437, -0.15330028533935547, 0.24563387036323547, 0.09956072270870209, 0.11048265546560287, -0.7038847804069519, 0.41915133595466614, 0.059138763695955276, -0.4700540006160736, 0.6068295240402222, 0.17927023768424988, 0.3371274173259735, -0.5672045946121216, -0.34688910841941833, 0.00829004030674696, -0.71225506067276, 0.3849610686302185, 0.7472732663154602, 0.42861273884773254, 0.16469652950763702, 0.5575523376464844, -0.46878495812416077, 0.9379705786705017, 0.27634188532829285, -0.2668507993221283, 0.5742887258529663, -0.044652439653873444, -0.18762408196926117, 0.1546742469072342, 1.0040216445922852, 1.0307276248931885, 0.3770369589328766, -0.1483204960823059, -0.451494425535202, 0.26681020855903625, 0.09963329136371613, -0.9161337018013, 0.29774588346481323, 0.1990421861410141, -0.45270758867263794, -0.5842055082321167, -0.07690523564815521, -0.7994440793991089, -0.2965492010116577, -0.44678184390068054, 0.4955642521381378, -0.19423185288906097, 0.09361232072114944, 0.40973514318466187, -0.08991500735282898, 0.2773036062717438, 0.45071905851364136, -1.0758370161056519, -0.07990597188472748, 0.7918878793716431, 0.5973164439201355, -0.06574911624193192, -0.17695938050746918, -1.0243321657180786, -0.0241695586591959, -0.42769789695739746, 0.779643714427948, -0.5584384202957153, -0.21612440049648285, -0.10187668353319168, -0.18666084110736847, 0.24414274096488953, -0.3663926124572754, 0.8834730982780457, -0.35195690393447876, 0.6474907994270325, -0.3898566663265228, -0.4222281873226166, 0.04874162748456001, 0.19444581866264343, -0.3355032801628113, 0.599949061870575, 0.21969212591648102, -0.6160981059074402, 0.8013403415679932, -0.37684306502342224, -0.267194002866745, 0.1755995750427246, -0.41984090209007263, -0.29419031739234924, 0.2509559690952301, 0.23331741988658905, 0.3965071141719818, -0.6027275323867798, 0.6875905990600586, -0.5410733222961426, -0.3588363230228424, 0.12793083488941193, -0.4784810245037079, 0.7828361392021179, 0.3460780382156372, -0.5171520113945007, 0.39988845586776733, -0.5602883696556091, 0.13939031958580017, 0.12558484077453613, -0.22822244465351105, -0.12765493988990784, 0.01148639339953661, -0.2259397804737091, 0.33604979515075684, 0.21153275668621063, -0.6137773394584656, 0.07846277207136154, -0.7175102829933167, 0.21980872750282288, 1.1923178434371948, -0.3726116716861725, 0.7917677760124207, -0.5470244288444519, 0.5477919578552246, -0.3475070893764496, 0.49332359433174133, 0.015767162665724754, -0.4913404881954193, -0.5998306274414062, 0.018445756286382675, 0.08715396374464035, 0.3488316237926483, -0.5068509578704834, 0.7386796474456787, -0.2498193383216858, -0.2371300756931305, -0.6155325770378113, 0.2378397285938263, 0.39460068941116333, 0.980474591255188, 0.014487341046333313, -0.14299748837947845, -0.3089846968650818, -0.9947081804275513, -0.31439509987831116, -0.190908282995224, -0.1806837022304535, 0.41933465003967285, -0.14656735956668854, 0.03688296303153038, 1.160391092300415, -0.4395660161972046, 0.01337273046374321, -0.31630322337150574, -0.05654699727892876, 0.35192355513572693, 0.13027890026569366, 0.9614332914352417, -0.5420624017715454, -0.7048764228820801, -0.1912340521812439, -0.45236706733703613, -0.6448772549629211, 0.14355316758155823, -0.29564666748046875, 0.3785695433616638, -0.05369631573557854, -0.43001589179039, 0.014935968443751335, 0.5098959803581238, -0.5167169570922852, 0.5517327785491943, 0.08017871528863907, 0.3105350136756897, -0.8846476674079895, 0.021671006456017494, -0.12120470404624939, -0.25005999207496643, -0.5302852392196655, -0.25251129269599915, 0.09460009634494781, -0.08381979912519455, -0.5669601559638977, 0.9018465876579285, -0.3249712884426117, -0.14334245026111603, -0.3443530797958374, 0.3227238357067108, 0.37152060866355896, 0.303347647190094, -0.06521479785442352, 0.7555916905403137, 0.5078781843185425, -0.3670729100704193, 0.13281644880771637, -0.014241451397538185, -0.4016447961330414, 0.5994386076927185, -0.7494227886199951, 0.2917267680168152, -0.38409826159477234, 0.048948321491479874, -0.8882130980491638, -0.1324712336063385, 0.26980268955230713, -0.5672750473022461, 0.1987471729516983, -0.12460745126008987, -0.30290117859840393, -0.1611631065607071, -0.7307448983192444, 0.21825352311134338, 0.7211422920227051, -0.5734007954597473, 0.26254740357398987, 0.2974611222743988, -0.17500492930412292, -0.9840897917747498, -0.32277968525886536, -0.017277326434850693, -0.21897022426128387, -0.8364039659500122, 0.20849718153476715, -0.23534594476222992, -0.28175580501556396, -0.160415381193161, -0.09126842021942139, 0.463838130235672, 0.1972097009420395, 0.2757101058959961, 0.5765793323516846, -0.10029411315917969, 0.1640663892030716, 0.0710601806640625, -0.36408036947250366, -0.18391595780849457, -0.29649871587753296, 0.6957388520240784, -0.08397296816110611, -0.19686615467071533, -0.3756910562515259, 0.11179991066455841, 0.3985391855239868, 0.06465920060873032, 0.40219366550445557, 0.32963326573371887, -0.06478822231292725, -0.17914612591266632, -0.7099171876907349, -0.016072779893875122, -0.46076253056526184, 0.019301723688840866, -0.2557826340198517, -0.9523651003837585, 0.15432235598564148, 0.3458777666091919, 0.2517390251159668, 0.4287302792072296, 0.40516719222068787, 0.12853455543518066, 1.270739197731018, 0.5881996154785156, -0.27905187010765076, 0.48048481345176697, 0.3083856403827667, 0.19078874588012695, -0.7000963091850281, -0.01823926530778408, -0.6725332736968994, -0.39395877718925476, -0.15821728110313416, -0.23945865035057068, 0.22414642572402954, 0.33098629117012024, -0.3397647440433502, 0.07800202816724777, -0.4758823812007904, 0.5235244035720825, 0.3692398965358734, -0.10416581481695175, 0.2250228226184845, -0.05221681669354439, -0.18389004468917847, -0.21894338726997375, -0.6131552457809448, -0.9368590116500854, 1.1805905103683472, 0.21944734454154968, 0.5467225909233093, 0.06071901321411133, 0.7128288149833679, 0.13557186722755432, 0.30950987339019775, -0.844948947429657, 0.47367265820503235, -0.08858315646648407, -0.3420614004135132, -0.33612552285194397, -0.5871288776397705, -0.9108512997627258, 0.2810518145561218, -0.33116573095321655, -0.6392532587051392, 0.17755912244319916, 0.37415811419487, -0.6536843776702881, 0.02489447221159935, -0.7985481023788452, 0.9354969263076782, -0.5021835565567017, -0.47564491629600525, -0.13574326038360596, -0.6299588084220886, 0.29080289602279663, -0.08360201865434647, 0.2101505994796753, -0.6677351593971252, -0.19012683629989624, 0.41715288162231445, -0.40435531735420227, 0.621721088886261, -0.3592848777770996, -0.09180749207735062, 0.16453982889652252, 0.13023267686367035, 0.29173171520233154, -0.009266311302781105, -0.6729495525360107, 0.1443604975938797, -0.5128806233406067, -0.37009096145629883, -0.6914907693862915, 0.7728951573371887, -0.7725663185119629, -0.7923835515975952, -0.2189258188009262, -0.3694804906845093, -0.2302495390176773, 0.28540512919425964, 0.39646223187446594, 0.2997564673423767, -0.20978377759456635, 0.0010836082510650158, 0.30734002590179443, -0.5434945821762085, 0.4638367295265198, 0.5712921023368835, -0.32831862568855286, -0.4363822042942047, 0.7216303944587708, -0.1349334865808487, 0.5595614910125732, 0.36764270067214966, 0.63201504945755, -0.3484255075454712, -0.4007534980773926, -0.6471768617630005, -0.014657584019005299, -0.44859784841537476, -0.49840298295021057, -0.5573103427886963, 0.21405930817127228, -0.6967096924781799, -0.5443769097328186, -0.1516173928976059, -0.4644060730934143, -0.1825929582118988, -0.07965599745512009, 0.10724686086177826, 0.1987297087907791, -0.04245637729763985, 0.20970897376537323, -0.6756905317306519, 0.3317142426967621, 0.4076768457889557, 0.3037891387939453, 0.003618997987359762, -0.7409178018569946, 0.255048543214798, 0.049479298293590546, -0.26318201422691345, -0.6375060081481934, 0.3889707326889038, 0.030299272388219833, 0.640649676322937, 0.5903159976005554, 0.2530316412448883, 0.4370096027851105, -0.5634617209434509, 0.7007437944412231, 0.5657422542572021, -1.0356512069702148, 0.6941964626312256, -0.3421163856983185, 0.2917839288711548, 0.70319002866745, 0.1336255520582199, -0.5409292578697205, -0.12399790436029434, -0.3387814462184906, -0.6522830128669739, 0.8880913853645325, -0.18787820637226105, 0.2963888645172119, -0.18913249671459198, 0.31753960251808167, 0.5079544186592102, 0.28404319286346436, -0.7186519503593445, 0.003290580352768302, -0.18234758079051971, -0.16537761688232422, -0.1782078742980957, -0.3577033579349518, 0.08223457634449005, 0.1334342211484909, 0.5554115176200867, -0.34123295545578003, -0.2519589364528656, -0.025300191715359688, -0.17803899943828583, -0.5000283718109131, 0.6513751745223999, 0.37500324845314026, 0.5256717205047607, -0.30829519033432007, 0.06259547919034958, -0.06241249293088913, -0.008122428320348263, 0.35313522815704346, -0.19622182846069336, -0.7180353999137878, -0.06407726556062698, 0.05536503344774246, 0.9398252964019775, 0.20245075225830078, -0.8124731779098511, 1.033678412437439, -0.0602819100022316, -0.09460733085870743, 0.11975233256816864, 0.3815656900405884, -0.10235225409269333, 0.1727205514907837, 0.14026227593421936, 0.09208505600690842, 0.24895615875720978, -0.4853372275829315, 0.04659680277109146, 0.6126351356506348, -0.2337425947189331, -0.3354492783546448, 0.6531255841255188, 0.5019495487213135, -0.4360038638114929, 0.520469069480896, -0.4330306947231293, -0.5137740969657898, 0.3482203781604767, 0.47820112109184265, 1.0170971155166626, -0.2596425712108612, 0.27664509415626526, 0.39171847701072693, 0.08548290282487869, -0.03768963739275932, 0.20190489292144775, -0.13729937374591827, -1.0607584714889526, -0.41075363755226135, -0.7740621566772461, -0.26812252402305603, -0.1817598044872284, -0.4250134527683258, 0.6813117265701294, -0.4716438353061676, -0.3874599039554596, -0.13165664672851562, 0.11776707321405411, -0.6868917346000671, -0.048752978444099426, 0.2943439185619354, 0.584642767906189, -0.8054178357124329, 0.6914190053939819, 0.31353649497032166, -0.272294282913208, -0.7187591195106506, -0.07359250634908676, 0.1663224846124649, -0.9089208841323853, 0.6372354626655579, 0.40318378806114197, -0.19282802939414978, -0.25440800189971924, -0.3854193091392517, -0.5380280017852783, 0.9756777882575989, 0.935085117816925, -1.031105637550354, 0.06391965597867966, -0.043838486075401306, 0.26167047023773193, -0.2795264720916748, 0.45653438568115234, 0.37385421991348267, 0.5055302977561951, -0.08213591575622559, -0.9026041626930237, 0.016594020649790764, -0.0670548602938652, -0.03965585678815842, 0.3475155532360077, -0.7735375761985779, 0.6273135542869568, -0.519000232219696, -0.24525649845600128, -0.03655153512954712, 0.4609724283218384, 0.41677650809288025, 0.32697156071662903, 0.8411971926689148, 0.5149514675140381, 0.7554160952568054, 0.06862279772758484, 0.9858284592628479, -0.311249315738678, 0.08692346513271332, 1.2306958436965942, -0.6708081364631653, 0.6772834062576294, 0.511216402053833, 0.016200849786400795, 0.2654231786727905, 0.42163270711898804, 0.11371631920337677, 0.357082337141037, 0.13817253708839417, -0.3122155964374542, -0.4062972664833069, -0.34917470812797546, -0.1907888650894165, 0.3480257987976074, -0.2276812046766281, -0.20830297470092773, -0.24577510356903076, -0.24873629212379456, 0.021577414125204086, 0.23826490342617035, -0.1903127282857895, 0.6495418548583984, -0.0008202744647860527, -0.9103706479072571, 0.28650063276290894, 0.09940633177757263, 1.0300912857055664, -0.4287989139556885, 0.16826759278774261, -0.25001126527786255, -0.12416352331638336, -0.2598932981491089, -0.8810073733329773, -0.06025242432951927, 0.1929454207420349, -0.39351579546928406, -0.36110541224479675, 0.7863512635231018, -0.2794256806373596, -0.18910856544971466, 0.4678923487663269, 0.3659977912902832, 0.06851820647716522, -0.020844196900725365, -0.6833928823471069, 0.03522343561053276, 0.20046694576740265, -0.38099029660224915, 0.49773329496383667, 0.3897008001804352, -0.09320268779993057, 0.4228847622871399, 0.7036194801330566, 0.0968010351061821, -0.09807185083627701, 0.5349726676940918, 0.5124387145042419, -0.6729013323783875, -0.29159092903137207, -0.9574352502822876, 0.3925020396709442, -0.02706271782517433, -0.3399994373321533, 0.5685012936592102, 0.5403897762298584, 0.7596520185470581, 0.13350002467632294, 0.7567136883735657, 0.09028847515583038, 0.42050066590309143, -0.4235590100288391, 0.6039413213729858, -0.49085503816604614, 0.20112201571464539, -0.32277950644493103, -1.2371973991394043, -0.22756797075271606, 0.5236039161682129, -0.3600213825702667, 0.039817750453948975, 0.23865364491939545, 0.8198893666267395, 0.21613222360610962, -0.24483856558799744, 0.6461950540542603, -0.26040902733802795, 0.43765318393707275, 0.8176062703132629, 0.8660491704940796, -0.1734519898891449, 0.44770073890686035, -0.2307487577199936, -0.3802596628665924, -0.26865872740745544, -1.1958850622177124, -0.7477331757545471, -0.10413410514593124, -0.023463064804673195, -0.049872130155563354, -0.010208974592387676, 1.3633025884628296, 0.5503868460655212, -0.5093012452125549, -0.21285253763198853, 0.047591835260391235, 0.18977071344852448, 0.3119252324104309, -0.279873788356781, 0.15890243649482727, -0.7203287482261658, -0.9350822567939758, 0.3183635175228119, 0.5847262740135193, -0.021754110231995583, -0.006553046405315399, -0.4878481328487396, 0.337583065032959, -0.0075981831178069115, 0.6238770484924316, -0.008063937537372112, -0.8033508062362671, -0.5843554735183716, 0.10741463303565979, -0.31320279836654663, 0.24494194984436035, 0.6088628172874451, -0.8233534693717957, 0.7137148380279541, 0.8066699504852295, 0.5371485948562622, -0.21705570816993713, -0.034416314214468, 0.9914289116859436, -0.3418489098548889, 0.16109736263751984, 0.3588351905345917, 0.45613619685173035, 0.39914125204086304, -0.3694383502006531, 0.30092212557792664, -0.007215934339910746, -0.6589221358299255, -0.7843655347824097, 0.13652512431144714, -0.9175112843513489, -0.22627559304237366, 1.1330184936523438, 0.07843849807977676, -0.23005478084087372, 0.19679726660251617, -0.26385313272476196, 0.17045067250728607, -0.8767642378807068, 0.7699167132377625, 0.5752729177474976, -0.12750904262065887, 0.0862475037574768, -0.4608086347579956, 0.35632747411727905, 0.8452921509742737, -0.6448137164115906, -0.025850934907794, 0.7743772864341736, 0.39771023392677307, -0.10066826641559601, 0.724880576133728, -0.18189652264118195, 0.3916507363319397, -0.42312443256378174, 0.37902629375457764, 0.030089184641838074, -0.2147037833929062, -0.6301026344299316, 0.06794397532939911, 0.43959373235702515, -0.03912048786878586 ]
http://arxiv.org/abs/2406.11368v1
http://arxiv.org/pdf/2406.11368v1
Improving Quotation Attribution with Fictional Character Embeddings
2024-06-17T09:46:35
2024-06-17T09:46:35
Gaspard Michel, Elena V. Epure, Romain Hennequin, Christophe Cerisara
cs.CL
cs.CL
Humans naturally attribute utterances of direct speech to their speaker in literary works. When attributing quotes, we process contextual information but also access mental representations of characters that we build and revise throughout the narrative. Recent methods to automatically attribute such utterances have explored simulating human logic with deterministic rules or learning new implicit rules with neural networks when processing contextual information. However, these systems inherently lack \textit{character} representations, which often leads to errors on more challenging examples of attribution: anaphoric and implicit quotes. In this work, we propose to augment a popular quotation attribution system, BookNLP, with character embeddings that encode global information of characters. To build these embeddings, we create DramaCV, a corpus of English drama plays from the 15th to 20th century focused on Character Verification (CV), a task similar to Authorship Verification (AV), that aims at analyzing fictional characters. We train a model similar to the recently proposed AV model, Universal Authorship Representation (UAR), on this dataset, showing that it outperforms concurrent methods of characters embeddings on the CV task and generalizes better to literary novels. Then, through an extensive evaluation on 22 novels, we show that combining BookNLP's contextual information with our proposed global character embeddings improves the identification of speakers for anaphoric and implicit quotes, reaching state-of-the-art performance. Code and data will be made publicly available.
[ -0.006467204540967941, -0.26995617151260376, 0.49372127652168274, -0.04413864389061928, -0.2818582057952881, 0.08633612096309662, -0.19199718534946442, -0.5894079804420471, 0.2310197353363037, 0.7171458601951599, -0.41747748851776123, -0.25218087434768677, -0.19938530027866364, 0.20664836466312408, -0.034508608281612396, 0.8429446816444397, 0.1134338527917862, 0.07768823951482773, -0.5655407905578613, -0.15485098958015442, -0.46108731627464294, -0.675220787525177, -0.6389468312263489, -0.3081166744232178, 0.7516806721687317, 0.06380221247673035, 0.6568372249603271, 0.5515307188034058, 0.1957974135875702, 0.3333292305469513, 0.07401730120182037, 0.48480165004730225, -0.13584129512310028, 0.5480154752731323, -0.3319738805294037, -0.5153989791870117, 0.03064480610191822, -0.07778485864400864, 0.8249949812889099, 0.3356249928474426, -0.14586040377616882, -0.09900358319282532, 0.14333222806453705, 0.30233100056648254, -0.669668436050415, 0.5372337102890015, -0.5177764892578125, 0.22457590699195862, -0.052330613136291504, -0.3059695065021515, -0.5743277072906494, -0.8054680824279785, -0.10882389545440674, -0.7198366522789001, 0.06268837302923203, 0.3067571520805359, 0.7446088194847107, 0.07453785091638565, -0.4365842044353485, -0.38169991970062256, -0.6923717260360718, 0.816133975982666, -0.5895051956176758, -0.11022723466157913, 0.36964213848114014, 0.13219919800758362, 0.025398068130016327, -0.21795658767223358, -0.4455130398273468, -0.5627241134643555, -0.24110792577266693, 0.07993590831756592, -0.15739303827285767, 0.0007327650091610849, 0.14647650718688965, 0.16322961449623108, -0.19755186140537262, -0.110378198325634, 0.10663992911577225, -0.39567866921424866, 0.6450843811035156, -0.005849097855389118, 0.3343821167945862, -0.4175705909729004, -0.2673133909702301, -0.367586225271225, -0.565777063369751, 0.0642809048295021, 0.5551118850708008, 0.2744225859642029, 0.30984336137771606, 0.4843505024909973, 0.3129803538322449, 0.1667940616607666, -0.0968785360455513, 0.4574032127857208, 0.0678502544760704, -0.17602957785129547, 0.11641567945480347, 0.4541630744934082, 0.6754525303840637, 0.433767706155777, 0.8029548525810242, -0.1675044298171997, 0.06662366539239883, -0.040481869131326675, 0.2875300943851471, -0.4552723169326782, -0.1722860485315323, -0.10046189278364182, -0.030118586495518684, -0.3502463698387146, 0.10705895721912384, -0.3733353316783905, -0.9603219628334045, -0.17073270678520203, 0.34932804107666016, -0.7426167130470276, -0.04126196727156639, -0.23384562134742737, -0.4356853663921356, 0.2373838573694229, 0.44757622480392456, -0.8674626350402832, 0.15347668528556824, 0.3884655833244324, 0.7543655633926392, 0.09052947163581848, -0.12036646157503128, -0.5619412064552307, 0.6785306930541992, -0.6654810309410095, 0.8477399349212646, -0.5193105936050415, -0.03925606235861778, 0.26808568835258484, -0.06689513474702835, -0.07390914857387543, -0.38132402300834656, 0.7019180655479431, -0.19581817090511322, 0.17121697962284088, -0.7227028012275696, -0.6532138586044312, 0.05450660362839699, 0.02502523362636566, -0.8551562428474426, 0.5846275091171265, -0.2228696644306183, -0.5495914816856384, 0.2474282681941986, -0.6078066229820251, -0.38191112875938416, 0.12940526008605957, -0.45582589507102966, -0.14135703444480896, 0.2307972013950348, 0.49636557698249817, 0.617580771446228, -0.2914596199989319, 0.007249897345900536, -0.1348276287317276, -0.3040519654750824, 0.6364833116531372, -0.507543683052063, 0.7056941390037537, 0.15431301295757294, 0.018513571470975876, -0.31455710530281067, -0.45418810844421387, -0.0005683072959072888, 0.02136024460196495, -0.1821964979171753, -0.6970114707946777, 0.18150071799755096, 0.22376517951488495, -0.3145030736923218, 0.042972829192876816, -0.7205908894538879, 0.2902415096759796, -0.5172842741012573, 0.2758190631866455, 0.7763509750366211, 0.1869555413722992, 0.3388064205646515, -0.515403687953949, 0.46144744753837585, -0.4146183133125305, -0.16685311496257782, -0.20591334998607635, -0.4421016573905945, -0.3156093955039978, -0.4903605878353119, 0.4030795693397522, 0.7645860314369202, -0.8500134944915771, 0.6069226264953613, -0.19986170530319214, -0.23196148872375488, -0.3168962001800537, -0.11395964026451111, 0.5464223623275757, 0.24355199933052063, 0.3086903691291809, -0.1744237095117569, -0.5220441818237305, -0.7327296733856201, -0.6840804815292358, -0.6212344169616699, -0.4367642402648926, 0.36220186948776245, 0.20641344785690308, 0.3586282432079315, 0.9417859315872192, -0.5279266238212585, -0.5126926898956299, -0.2756916582584381, 0.22361551225185394, -0.12752707302570343, 0.5709201097488403, 0.48143574595451355, -0.4672597348690033, -0.461373507976532, 0.1043902263045311, -0.8670092225074768, -0.0673586055636406, -0.29472482204437256, -0.08232554793357849, -0.02923319675028324, 0.624744713306427, -0.4787682592868805, 0.19896769523620605, 0.012106891721487045, -0.49449673295021057, 0.6117033362388611, -0.2321256548166275, 0.5923508405685425, -1.0296082496643066, -0.005365310702472925, -0.15919460356235504, -0.43001317977905273, -0.19068266451358795, 0.056011512875556946, 0.02688102424144745, 0.014233870431780815, -0.4060102701187134, 0.5647569298744202, -0.5970395803451538, 0.25973427295684814, 0.16507142782211304, 0.14093133807182312, 0.21197590231895447, 0.5092465281486511, -0.06001986563205719, 0.6144335269927979, 0.22984085977077484, -0.3242987394332886, 0.5985047221183777, 0.3372344672679901, -0.5977368354797363, 0.7485662698745728, -0.5393577218055725, -0.026816530153155327, -0.1516183316707611, 0.5449755191802979, -1.186846375465393, -0.3390505909919739, 0.1589381843805313, -0.2569398283958435, 0.4065770208835602, -0.348283588886261, -0.5930473208427429, 0.07099055498838425, -0.36059656739234924, 0.3546818196773529, 0.5323458313941956, -0.4248207211494446, 0.7789002656936646, 0.14344798028469086, -0.36219990253448486, -0.6600569486618042, -0.9173742532730103, 0.29547321796417236, -0.24595895409584045, -0.48852595686912537, 0.5474979281425476, -0.005964140873402357, -0.12698698043823242, -0.13968521356582642, 0.03168553486466408, -0.16929994523525238, -0.2475263625383377, -0.0032355908770114183, 0.1198277473449707, -0.16309083998203278, 0.29806482791900635, 0.21878160536289215, 0.036443646997213364, 0.13883428275585175, -0.00047300217556767166, 0.09780439734458923, 0.012601938098669052, -0.26409563422203064, -0.49620333313941956, 0.5652396082878113, 0.3972605764865875, -0.027305956929922104, 0.6903985738754272, 0.5093621015548706, -0.3123556077480316, -0.3586950898170471, -0.5338038802146912, -0.06157032027840614, -0.46147996187210083, 0.2544030249118805, -0.09610448777675629, -0.6397348046302795, 0.7355635166168213, 0.05227178707718849, -0.11745452880859375, 0.5118798017501831, 0.25379928946495056, -0.2820768356323242, 0.7558267116546631, 0.3331034481525421, -0.0696074590086937, 0.656999945640564, -0.0542173758149147, -0.21439549326896667, -0.7454467415809631, -0.15369251370429993, -0.5602453351020813, -0.21001985669136047, -0.3361611068248749, -0.577757716178894, 0.19364027678966522, -0.14938916265964508, -0.09439320117235184, 0.49658268690109253, -0.3216746747493744, 0.9692549705505371, 0.36289486289024353, 0.17318184673786163, 0.30645987391471863, 0.23514637351036072, -0.5963146090507507, -0.2685053050518036, -0.46880805492401123, -0.5252487063407898, 0.9728448987007141, 0.2179630547761917, 0.7418406009674072, 0.44563382863998413, 0.494905561208725, 0.9043903946876526, 0.006332087330520153, -0.48670148849487305, 0.4814609885215759, -0.24417121708393097, -0.7685935497283936, -0.3263462483882904, -0.27257341146469116, -0.7201961278915405, 0.06685271859169006, -0.15956483781337738, -0.9787590503692627, 0.6228739023208618, 0.273784875869751, -0.5904378890991211, 0.25766539573669434, -0.575274646282196, 0.6594019532203674, 0.22499392926692963, -0.3331160247325897, -0.09933219850063324, -0.5002868175506592, 0.14388267695903778, 0.1290338784456253, -0.018539538607001305, 0.06014585122466087, -0.05790916830301285, 0.6820650100708008, -0.49133774638175964, 0.9282771944999695, -0.18148481845855713, -0.317382276058197, 0.4297720491886139, 0.14150768518447876, 0.7217958569526672, 0.0806606337428093, -0.45902690291404724, 0.04705701395869255, 0.1102207601070404, -0.16152669489383698, -0.7134484052658081, 0.6499118208885193, -0.6915615200996399, -0.11206488311290741, -0.7327089905738831, -0.48480549454689026, -0.27320587635040283, -0.34796059131622314, 0.34228038787841797, 0.6077637076377869, -0.5805506706237793, 0.4874776005744934, 0.6455046534538269, -0.17680183053016663, 0.44176703691482544, 0.10759585350751877, 0.04958667978644371, -0.6863150596618652, 0.8219729065895081, 0.04974191263318062, 0.1984819918870926, 0.5441237092018127, 0.18108370900154114, -0.48735886812210083, -0.14819218218326569, -0.30487149953842163, 0.27217406034469604, -0.996305525302887, -0.22065021097660065, -0.4659952223300934, -0.2982749342918396, -0.4526323676109314, -0.2947753071784973, -0.3441483974456787, -0.6373841762542725, -0.3074949383735657, -0.02014390379190445, 0.4927273690700531, 0.5856742262840271, -0.1656307727098465, 0.3777316212654114, -0.37722766399383545, 0.12381646037101746, 0.2699592411518097, 0.12460731714963913, -0.02326628565788269, -0.6908509135246277, -0.4993628263473511, -0.16734033823013306, -0.3166831135749817, -0.8193315863609314, 0.3048592507839203, 0.5739477276802063, 0.45889925956726074, 0.3626917004585266, 0.3186691105365753, 0.5592666268348694, -0.9234349131584167, 0.8646228313446045, 0.19734017550945282, -0.9148188829421997, 0.3905352056026459, -0.44065430760383606, 0.08298473805189133, 0.6471673846244812, 0.22747990489006042, -0.6404510736465454, -0.5114331245422363, -0.47004351019859314, -0.6551395654678345, 0.7223885655403137, 0.5319823026657104, 0.4222196042537689, 0.09140478074550629, 0.4349900782108307, 0.04942603409290314, 0.2345394790172577, -0.7143076658248901, -0.11823316663503647, -0.12798792123794556, -0.37538444995880127, -0.31726130843162537, -0.1637439876794815, -0.1378292590379715, -0.37447720766067505, 0.5295824408531189, -0.10242872685194016, 0.47763386368751526, 0.39612239599227905, -0.19576416909694672, -0.004405390005558729, 0.20988436043262482, 0.3991909325122833, 0.30426767468452454, -0.34956347942352295, -0.0807005912065506, -0.09398989379405975, -0.38274481892585754, 0.12977181375026703, 0.1333046704530716, 0.03317909315228462, 0.13885945081710815, 0.7114343643188477, 0.560772180557251, 0.13269102573394775, -0.3419874608516693, 0.5882410407066345, -0.08565449714660645, -0.07774536311626434, -0.6650456190109253, 0.30356934666633606, -0.04442055523395538, 0.5697551369667053, 0.5824599266052246, 0.19670109450817108, 0.0780479907989502, -0.6822917461395264, 0.27513620257377625, 0.3797397315502167, -0.42738884687423706, -0.04583776742219925, 0.5361563563346863, 0.25717881321907043, -0.32036301493644714, 0.3455556631088257, -0.03994154930114746, -0.41166576743125916, 0.47551804780960083, 0.46165400743484497, 1.098839282989502, -0.35689422488212585, 0.4836525022983551, 0.1463567465543747, 0.4032697081565857, 0.013061005622148514, 0.006442983169108629, -0.10147328674793243, -0.7174074053764343, -0.460578054189682, -0.5414134860038757, -0.663059413433075, -0.13896237313747406, -0.3321102261543274, 0.14741520583629608, -0.5912849307060242, 0.01430562511086464, -0.1838119775056839, -0.04306507483124733, -0.509060800075531, 0.002057106699794531, 0.4568118751049042, 0.2524842321872711, -0.939956545829773, 0.6854656934738159, 0.5083420872688293, -0.6586861610412598, -0.5196411609649658, 0.1432344913482666, -0.08656957745552063, -0.5450260639190674, 0.4516299068927765, 0.10768833756446838, 0.01625135913491249, 0.12872150540351868, -0.6592153310775757, -0.7725339531898499, 1.0875221490859985, 0.9201437830924988, -0.2879645526409149, -0.2935136556625366, 0.03539939224720001, 0.42686927318573, -0.7757806777954102, 0.6153581738471985, 0.02270546182990074, 0.36487650871276855, 0.20233525335788727, -0.570843517780304, 0.20292989909648895, -0.22057783603668213, 0.06727863103151321, -0.24254944920539856, -0.22592709958553314, 0.6331186294555664, 0.08277478069067001, -0.04039672762155533, 0.29322147369384766, 0.8720782995223999, 0.2108704298734665, 0.0163290835916996, 0.5336695909500122, 0.024985715746879578, 0.9898021221160889, -0.03285153955221176, 1.2521473169326782, 0.2502458095550537, 0.11592243611812592, 1.1509768962860107, -0.13597118854522705, 0.805681049823761, 0.34584611654281616, -0.15357822179794312, 1.0968211889266968, 0.3290099501609802, -0.13795140385627747, 0.5080345273017883, 0.3965695798397064, -0.4473940432071686, -0.40228819847106934, -0.3576243817806244, -0.30027154088020325, 0.2820841670036316, 0.24327951669692993, -0.5740616917610168, 0.028711747378110886, 0.17029224336147308, 0.011349307373166084, 0.3354177176952362, -0.06667086482048035, 0.6480005383491516, 0.18126949667930603, -0.4348021149635315, 0.43822675943374634, -0.06597228348255157, 0.4999057948589325, -0.9148941040039062, -0.22517086565494537, -0.11899855732917786, 0.3368838131427765, -0.013591339811682701, -0.4450337588787079, 0.010580378584563732, -0.006811405066400766, -0.26751598715782166, -0.26313117146492004, 0.659054160118103, -0.6114185452461243, -0.7204086184501648, 0.10515341907739639, -0.024204133078455925, 0.37582460045814514, -0.35240280628204346, -0.586131751537323, -0.11942395567893982, 0.05263163149356842, -0.2101021409034729, -0.023055247962474823, 0.6678997278213501, 0.06676953285932541, 0.4847137928009033, 0.5117563605308533, 0.32468360662460327, -0.2550681531429291, 0.23526325821876526, 0.5856932401657104, -0.7173410058021545, -0.5653112530708313, -0.8119133710861206, 0.7534151077270508, -0.4639272391796112, -0.31472498178482056, 0.7645931243896484, 0.20631933212280273, 0.3999076187610626, -0.22763799130916595, 0.8750036954879761, 0.05177467316389084, 0.25114721059799194, -0.6343740224838257, 1.0258287191390991, -0.5843908190727234, 0.39305657148361206, -0.6672776937484741, -1.0913360118865967, -0.26291170716285706, 0.8100038766860962, -0.010578153654932976, 0.01736912503838539, 0.8424787521362305, 0.6588499546051025, 0.01882537454366684, 0.04108787700533867, 0.5082454681396484, 0.12897507846355438, 0.3659748136997223, 0.34865638613700867, 0.8122289776802063, -0.7052550911903381, 0.5531263947486877, 0.17095331847667694, -0.12568944692611694, -0.30005303025245667, -1.319615125656128, -0.8364087343215942, -0.5276050567626953, -0.646160364151001, -0.26659101247787476, 0.3384055197238922, 1.0386513471603394, 0.3233698904514313, -0.7811731100082397, -0.2917596101760864, 0.002645897213369608, 0.06776272505521774, -0.46631574630737305, -0.20359869301319122, 0.3368097245693207, -0.30405598878860474, -0.6238448619842529, 0.5152191519737244, -0.13100787997245789, -0.2335200011730194, -0.2636707127094269, -0.0914771556854248, -0.4110044240951538, 0.6086058616638184, 0.3935590386390686, 0.2599133551120758, -0.746408224105835, -0.5482881665229797, -0.410386860370636, 0.05790690705180168, -0.03389906510710716, 0.8399009108543396, -0.6442050337791443, 0.44111526012420654, 0.222110778093338, 0.5829170346260071, 0.1484677642583847, 0.15890400111675262, 1.0175578594207764, -1.1520133018493652, -0.17849227786064148, 0.35303398966789246, 0.39638233184814453, 0.5616294145584106, -0.6175105571746826, 0.30215996503829956, 0.3961228132247925, -0.6430297493934631, -0.7515604496002197, 0.14754608273506165, -0.9275414347648621, -0.215443417429924, 1.0949987173080444, -0.3133123219013214, -0.29485759139060974, -0.14921602606773376, -0.2089400291442871, 0.34019991755485535, -0.7017431855201721, 0.34473416209220886, 1.0709282159805298, 0.03967796266078949, 0.12578776478767395, -0.28700774908065796, 0.7191905379295349, 0.5582727789878845, -0.4853588342666626, 0.5886577367782593, 0.7253984808921814, -0.06111307442188263, 0.37910565733909607, 0.3787569999694824, -0.00969913974404335, 0.09194441884756088, 0.0017714399145916104, 0.43303242325782776, -0.11686360090970993, -0.4144969880580902, -0.1524105817079544, 0.20223943889141083, -0.1742600053548813, -0.03546442091464996 ]
http://arxiv.org/abs/2406.16937v1
http://arxiv.org/pdf/2406.16937v1
A Complete Survey on LLM-based AI Chatbots
2024-06-17T09:39:34
2024-06-17T09:39:34
Sumit Kumar Dam, Choong Seon Hong, Yu Qiao, Chaoning Zhang
cs.CL
cs.CL, cs.AI
The past few decades have witnessed an upsurge in data, forming the foundation for data-hungry, learning-based AI technology. Conversational agents, often referred to as AI chatbots, rely heavily on such data to train large language models (LLMs) and generate new content (knowledge) in response to user prompts. With the advent of OpenAI's ChatGPT, LLM-based chatbots have set new standards in the AI community. This paper presents a complete survey of the evolution and deployment of LLM-based chatbots in various sectors. We first summarize the development of foundational chatbots, followed by the evolution of LLMs, and then provide an overview of LLM-based chatbots currently in use and those in the development phase. Recognizing AI chatbots as tools for generating new knowledge, we explore their diverse applications across various industries. We then discuss the open challenges, considering how the data used to train the LLMs and the misuse of the generated knowledge can cause several issues. Finally, we explore the future outlook to augment their efficiency and reliability in numerous applications. By addressing key milestones and the present-day context of LLM-based chatbots, our survey invites readers to delve deeper into this realm, reflecting on how their next generation will reshape conversational AI.
[ -0.1753765344619751, -0.9403278827667236, 0.41411906480789185, -0.08562123775482178, 0.376129686832428, 0.3745243549346924, -0.18829955160617828, -0.497550368309021, 0.10727106034755707, 0.7165612578392029, -0.5456525683403015, -0.3591909408569336, -0.560123085975647, -0.2139272540807724, -0.46333467960357666, 0.8343145251274109, 0.2696008086204529, -0.1808706820011139, -0.6627144813537598, -0.04546348378062248, -0.4685207009315491, -0.6712993383407593, -0.6771600842475891, -0.6289147138595581, 0.38523396849632263, 0.46960145235061646, 0.7305815815925598, 0.3201259672641754, 0.4079355299472809, 0.3680119514465332, -0.20186083018779755, 0.28681519627571106, -0.6946392059326172, 0.3010208010673523, 0.33910754323005676, -0.9233105778694153, -0.35720452666282654, 0.058163195848464966, 0.3760111927986145, 0.5398374199867249, -0.1847882866859436, -0.02529974840581417, -0.041683629155159, 0.43739116191864014, -0.2840290069580078, 0.4178861975669861, -1.0014564990997314, 0.02018403634428978, -0.04808128625154495, -0.28685760498046875, -0.31648218631744385, -0.3441949188709259, 0.123182512819767, -0.36283251643180847, -0.09757993370294571, -0.010576832108199596, 0.4941558837890625, 0.3944961130619049, -0.5230872631072998, -0.5564037561416626, -1.062467098236084, 0.7663148641586304, -0.5062205195426941, 0.30975964665412903, 0.116617351770401, 0.6120686531066895, -0.4737348258495331, -0.7041433453559875, -0.3931240141391754, -0.5123082995414734, 0.24086785316467285, 0.16853678226470947, -0.15053246915340424, -0.14034658670425415, -0.10142342001199722, 0.4060802459716797, -0.3289107084274292, 0.42930182814598083, -0.3223632574081421, -0.05391187220811844, 0.6316452622413635, 0.30029019713401794, 0.49048882722854614, 0.33566567301750183, -0.2984982430934906, -0.09458962827920914, -0.995141327381134, -0.2005561888217926, 0.27064603567123413, -0.009648597799241543, -0.2422274649143219, 0.6856591105461121, -0.20898117125034332, 0.5298624634742737, -0.27458152174949646, -0.24018897116184235, 0.177865669131279, -0.2825254201889038, -0.21279023587703705, -0.0448235459625721, 0.9173601865768433, 0.23140132427215576, 0.3996904790401459, -0.10765553265810013, -0.026285886764526367, -0.28045979142189026, 0.19787734746932983, -0.3491165041923523, -0.0012403851142153144, 0.19294357299804688, -0.11092408746480942, -0.5020610094070435, -0.46907874941825867, -0.42170456051826477, -0.7728233933448792, -0.03774150833487511, -0.11201693117618561, -0.17226417362689972, -0.1951119601726532, -0.16997838020324707, -0.024789493530988693, 0.7941544055938721, 0.6001664400100708, -0.8242308497428894, -0.06288167834281921, 0.7323982119560242, 0.7135826349258423, 0.016307080164551735, -0.2058124542236328, 0.05729524418711662, -0.07069455087184906, -0.4268561005592346, 0.9214824438095093, -0.44061508774757385, -0.4636973738670349, 0.3556031584739685, -0.3185250461101532, 0.02916504070162773, -0.7152193784713745, 0.10655887424945831, -0.5210379362106323, 0.32732608914375305, 0.29175737500190735, -0.5807350277900696, -0.1486271619796753, 0.8013913631439209, -0.3735579252243042, 0.701720654964447, -0.023582730442285538, -0.3589361906051636, 0.14653445780277252, -0.7665305137634277, -0.321988582611084, 0.26082319021224976, -0.33409592509269714, -0.21569915115833282, -0.23732048273086548, 0.2662108242511749, 0.5081389546394348, -0.6262428760528564, 0.06967436522245407, -0.18553698062896729, -0.26954054832458496, 0.6473171710968018, -0.7144033908843994, 0.6909418106079102, 0.1882689893245697, 0.010000730864703655, 0.11221426725387573, -0.4119075834751129, -0.05839087814092636, 0.06905407458543777, -0.2142511010169983, 0.23698203265666962, 0.34084826707839966, -0.30234211683273315, 0.09966554492712021, 0.469601035118103, -0.46454304456710815, 0.15918153524398804, -0.41773492097854614, 0.6498561501502991, 0.6673372983932495, 0.12766386568546295, 0.35477814078330994, -0.5530354380607605, 0.6018028259277344, -0.0460384376347065, 0.3468984365463257, -0.4355825185775757, -0.6460882425308228, -0.9134883284568787, 0.007028179708868265, -0.09276281297206879, 0.7014221549034119, -0.6186971664428711, 0.47116169333457947, -0.3706318438053131, -0.8694494962692261, -0.546022355556488, 0.09859195351600647, -0.10241702198982239, 0.31198540329933167, -0.011355102062225342, 0.1110057532787323, -0.1955554336309433, -0.60887610912323, 0.0608149915933609, -0.5803580284118652, -0.060753434896469116, 0.6910923719406128, 0.14442229270935059, -0.5046514868736267, 0.8588849902153015, -0.35032472014427185, -0.17928995192050934, -0.6949053406715393, -0.2887697219848633, 0.019979186356067657, 0.20390133559703827, 0.25730302929878235, -0.6200775504112244, -0.37924376130104065, 0.19453369081020355, -0.8372352719306946, 0.07323919981718063, -0.32654476165771484, 0.004821820184588432, 0.1644829660654068, 0.5659012794494629, -0.7090247869491577, 0.17769938707351685, 0.5459179282188416, 0.19235172867774963, 0.23153945803642273, 0.033778849989175797, -0.07830542325973511, -1.049375057220459, -0.018474334850907326, -0.2507088780403137, -0.15967917442321777, -0.5926505923271179, -0.22327327728271484, -0.4106696546077728, -0.13959449529647827, -0.6118744611740112, 0.7458046674728394, -0.3607501983642578, -0.047865208238363266, -0.3119688630104065, 0.41660308837890625, -0.5862604975700378, 0.43329742550849915, -0.09622174501419067, 0.6512040495872498, 0.5720381140708923, -0.5931413769721985, 0.6424520015716553, 0.5308820605278015, -0.1641717404127121, 0.3636862635612488, -0.6165035963058472, 0.4068724811077118, -0.009998457506299019, 0.2508232891559601, -0.8777652382850647, -0.16871047019958496, 0.5024402737617493, -0.6919159889221191, -0.10946425795555115, -0.16900348663330078, -0.5649699568748474, -0.2079734057188034, -0.06734412908554077, 0.04475020617246628, 0.8422285318374634, -0.35476988554000854, 0.382708877325058, 0.5292584896087646, -0.2137596756219864, -0.5811062455177307, -0.664337694644928, 0.36699214577674866, -0.13184812664985657, -0.6302053332328796, -0.16385328769683838, -0.1433788686990738, -0.3772508203983307, -0.27429166436195374, 0.04100453108549118, -0.06937936693429947, 0.27142804861068726, 0.3641315698623657, 0.09269791841506958, -0.12094110995531082, -0.06195561960339546, -0.33235740661621094, -0.02845725417137146, 0.10996932536363602, -0.07973086833953857, 0.9266126155853271, -0.012398068793118, -0.7103107571601868, -0.3910776674747467, -0.1085851863026619, 0.4747302830219269, -0.026789885014295578, 0.5612232089042664, 0.3883230984210968, 0.05417386814951897, -0.06874097138643265, -0.6342117190361023, -0.06442319601774216, -0.4773003160953522, 0.40994834899902344, 0.10952194780111313, -1.1732040643692017, 0.4526959955692291, -0.18512412905693054, 0.49226850271224976, 0.3254018723964691, 0.8446978330612183, -0.2101639360189438, 0.6734626889228821, 0.71893709897995, -0.35487717390060425, 0.6916054487228394, -0.08361780643463135, 0.23380731046199799, -0.406851589679718, -0.46077024936676025, -0.4337969422340393, -0.2703917622566223, -0.675423264503479, -0.33823055028915405, 0.3063845634460449, -0.4322073459625244, -0.1312689483165741, 0.046247031539678574, -0.16176994144916534, 0.4299675226211548, 0.6190983653068542, -0.05534897744655609, 0.3316534459590912, -0.2013290971517563, 0.6279146671295166, 0.47551652789115906, -0.6324993968009949, -0.6237258315086365, 1.2674790620803833, 0.3968031704425812, 0.692071259021759, -0.0520937442779541, 0.4973074197769165, 0.5196039080619812, 0.34817957878112793, -0.9205292463302612, 0.5907320380210876, 0.2908303439617157, -0.5327810049057007, -0.3791431486606598, -0.47941428422927856, -1.0383071899414062, -0.1479446142911911, 0.07834883779287338, -0.4080252945423126, -0.45429345965385437, 0.005152675788849592, 0.0392584390938282, 0.26017290353775024, -0.4197542369365692, 0.5738896727561951, -0.5017379522323608, 0.24334076046943665, -0.28062719106674194, -0.6865084171295166, 0.36693865060806274, 0.0339682437479496, -0.07259511947631836, -0.34401050209999084, -0.024886181578040123, 0.4652763307094574, -0.41698312759399414, 0.9116790294647217, -0.07793092727661133, -0.3624532222747803, 0.7713954448699951, -0.24063734710216522, 0.3613516688346863, -0.08575375378131866, 0.16306361556053162, 0.38177451491355896, -0.2436334639787674, -0.30216869711875916, -0.6186744570732117, 0.37001895904541016, -0.9062539339065552, -0.5633362531661987, -0.255628377199173, -0.4603063464164734, -0.38552504777908325, -0.0042181117460131645, -0.05233880132436752, 0.14847582578659058, -0.5784009695053101, 0.29332873225212097, 0.5153224468231201, -0.43562760949134827, 0.36502906680107117, 0.47606056928634644, -0.17200250923633575, -0.22688864171504974, 0.8581952452659607, -0.17481642961502075, 0.28232714533805847, 0.5759416222572327, -0.08871156722307205, -0.1839531809091568, -0.6319369673728943, -0.40113574266433716, 0.07217057794332504, -0.4599497318267822, -0.13640165328979492, -0.4465515613555908, -0.6323052048683167, -0.3984861969947815, -0.13623212277889252, -0.4055105149745941, -0.0791693702340126, -0.28424501419067383, 0.12530596554279327, 0.5206891298294067, 0.882459282875061, 0.34069380164146423, 0.621197521686554, -0.6991547346115112, -0.025943469256162643, 0.42404478788375854, 0.17601299285888672, -0.07070878893136978, -0.24761101603507996, -0.11460594832897186, 0.3640916049480438, -0.38235726952552795, -0.4745156466960907, 0.1820397526025772, 0.17522530257701874, 0.7264368534088135, 0.3987230956554413, -0.07243464887142181, 0.20374521613121033, -0.194343701004982, 1.111435890197754, 0.06758318096399307, -0.26260313391685486, 0.45369017124176025, -0.396786093711853, 0.10120964050292969, 0.24237266182899475, 0.18556465208530426, -1.021658182144165, -0.42416951060295105, -0.4968160390853882, -0.6173627376556396, 0.6963369250297546, 0.22083988785743713, 0.5974308252334595, 0.18551896512508392, 0.24314086139202118, 0.15452435612678528, 0.3182879388332367, -0.4363926351070404, -0.3149239718914032, 0.06181110814213753, -0.33009785413742065, -0.1104261726140976, 0.04324745014309883, -0.0609331876039505, 0.26770487427711487, 0.5298014283180237, -0.07823718339204788, 0.5528164505958557, -0.3516177535057068, -0.29043301939964294, 0.41621068120002747, 0.3907283842563629, 0.4051625728607178, 0.4803719222545624, 0.040570180863142014, -0.27769219875335693, 0.06327788531780243, -0.346242219209671, 0.1648741513490677, -0.19098255038261414, -0.13513308763504028, -0.33751246333122253, 0.2700962424278259, 0.662781834602356, -0.05574595555663109, -1.081178069114685, 0.5399608612060547, -0.03214476257562637, -0.1956503838300705, -0.7524455189704895, 0.4644131362438202, 0.08775002509355545, 0.4721467196941376, 0.13930034637451172, -0.016381334513425827, -0.35913029313087463, -0.7267848253250122, 0.08846577256917953, 0.5808444023132324, -0.5146076083183289, -0.16824932396411896, 0.4562387466430664, 0.44912686944007874, -0.44024017453193665, 0.9451268315315247, -0.02200062945485115, -0.2510572671890259, 0.5710614323616028, 0.29797011613845825, 0.8781219720840454, 0.20474392175674438, 0.17820867896080017, -0.3119126558303833, 0.1447955071926117, 0.1494700014591217, 0.17513792216777802, -0.24583128094673157, -1.094817876815796, -0.08126352727413177, -0.2619306743144989, -0.9490314722061157, 0.18730564415454865, 0.034930165857076645, 0.16728125512599945, -0.5574169158935547, 0.020813941955566406, -0.3691205084323883, -0.06773093342781067, -0.7451559901237488, -0.10868251323699951, 0.36307990550994873, 0.6946544647216797, -0.34623005986213684, 0.583892285823822, 0.7586384415626526, -0.4006032645702362, -0.13931769132614136, -0.07272627204656601, 0.07327982038259506, -1.3629021644592285, 0.2544957995414734, 0.022019408643245697, -0.01713733747601509, 0.0072072818875312805, -0.8819178342819214, -0.6227551698684692, 1.1119084358215332, 0.14525559544563293, -0.3723679780960083, -0.10590983182191849, 0.7241511344909668, 0.6815547943115234, -0.24703186750411987, 0.5821581482887268, 0.5604883432388306, 0.19690389931201935, 0.26143011450767517, -0.7986223697662354, -0.5090464353561401, -0.2714413106441498, -0.15972347557544708, -0.045698922127485275, -0.9528611302375793, 0.44720059633255005, 0.04419559985399246, -0.09884258359670639, 0.24345843493938446, 0.6558474898338318, 0.0946056991815567, 0.46414172649383545, 0.3045540452003479, 0.17147986590862274, 0.6440186500549316, -0.10235986858606339, 0.5609854459762573, -0.3928986191749573, -0.058149032294750214, 0.8217174410820007, -0.3577597439289093, 0.6200460195541382, 0.05470628663897514, -0.23470070958137512, 0.36708274483680725, 0.5462989807128906, -0.30261778831481934, 0.03885367512702942, 0.3476610481739044, -0.25175532698631287, -0.07415372878313065, -0.2793150246143341, -0.1467917263507843, 0.7438970804214478, 0.48445284366607666, -0.17318478226661682, -0.10278955847024918, -0.03377819433808327, 0.24504663050174713, -0.29789769649505615, -0.2312234491109848, 1.1091938018798828, -0.006514617707580328, -0.5365791320800781, 0.33814942836761475, -0.21012276411056519, 0.7929172515869141, -0.661481499671936, 0.049900736659765244, -0.49337634444236755, 0.07402516901493073, 0.12606440484523773, -0.9527297616004944, 0.038935646414756775, 0.21176861226558685, 0.12099499255418777, -0.3322824239730835, 0.8510704040527344, -0.28353187441825867, -0.08118386566638947, -0.0269740279763937, 1.0477657318115234, 0.5764128565788269, -0.23301932215690613, -0.5213896036148071, -0.08517298102378845, -0.013567253947257996, -0.013377290219068527, 0.2732481062412262, 0.38454145193099976, 0.10036386549472809, 1.0820056200027466, 0.435079962015152, -0.003897987073287368, 0.18322964012622833, 0.0028746058233082294, 0.7674370408058167, -0.7716214060783386, -0.118232861161232, -0.6927022933959961, 0.33587411046028137, -0.031909290701150894, -0.3421979546546936, 0.7196738719940186, 0.4178093373775482, 0.7519488334655762, 0.23639017343521118, 1.0843297243118286, -0.07051992416381836, 0.4367038905620575, -0.3489231467247009, 1.0125622749328613, -0.4214740991592407, 0.20021411776542664, 0.13086210191249847, -0.7457260489463806, -0.0007198807434178889, -0.025105929002165794, -0.16667674481868744, 0.2762382924556732, 0.036679707467556, 0.7283715605735779, 0.27241504192352295, 0.22291481494903564, 0.42049118876457214, 0.1435224562883377, 0.5874865055084229, 0.4643133878707886, 1.3223673105239868, -0.19234183430671692, 0.8202468752861023, 0.10296573489904404, 0.026848265901207924, -0.4557497203350067, -0.3369919955730438, -0.812696635723114, -0.492098867893219, -0.34744784235954285, 0.13074715435504913, 0.10816695541143417, 0.7904085516929626, 0.47755298018455505, -0.5146817564964294, -0.337280809879303, -0.15626651048660278, 0.2736925482749939, 0.05631648376584053, -0.17912700772285461, -0.1657111942768097, -0.5519511699676514, -0.8345276117324829, 0.6248998045921326, 0.05571945384144783, 0.2859008312225342, -0.46869605779647827, -0.049563176929950714, 0.08775592595338821, 0.07120942324399948, 0.666854202747345, 0.5556796193122864, -0.4859548807144165, -0.1409091055393219, 0.0823291763663292, -0.13180328905582428, 0.30532902479171753, 0.6504613161087036, -0.7742499709129333, 0.13334134221076965, 0.42434248328208923, 0.8527198433876038, 0.3215572237968445, -0.16203585267066956, 0.6664006114006042, -0.655724823474884, -0.030186573043465614, 0.34555336833000183, 0.023463111370801926, 0.45478320121765137, -0.07231111079454422, 0.5697771906852722, 0.23017920553684235, -0.773461639881134, -0.6904421448707581, 0.1433945596218109, -0.8207305073738098, -0.06348119676113129, 1.0418533086776733, 0.12007071822881699, -0.0005326429381966591, -0.12198720127344131, -0.1624656617641449, 0.2620186507701874, -0.5044800639152527, 0.6364910006523132, 0.5299367308616638, -0.44696134328842163, -0.25784584879875183, -0.4773072600364685, 0.361225426197052, 0.11236867308616638, -1.09233558177948, 0.18024687469005585, 0.5802969336509705, 0.09416573494672775, -0.09005522727966309, 0.7209876179695129, -0.00008656428690301254, -0.1284974068403244, 0.15208907425403595, 0.16043606400489807, 0.0688386783003807, -0.34830576181411743, -0.16651961207389832, 0.038457389920949936, 0.26352062821388245, -0.1899005025625229 ]
http://arxiv.org/abs/2406.11357v2
http://arxiv.org/pdf/2406.11357v2
Refiner: Restructure Retrieval Content Efficiently to Advance Question-Answering Capabilities
2024-06-17T09:25:10
2024-06-18T02:44:27
Zhonghao Li, Xuming Hu, Aiwei Liu, Kening Zheng, Sirui Huang, Hui Xiong
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are limited by their parametric knowledge, leading to hallucinations in knowledge-extensive tasks. To address this, Retrieval-Augmented Generation (RAG) incorporates external document chunks to expand LLM knowledge. Furthermore, compressing information from document chunks through extraction or summarization can improve LLM performance. Nonetheless, LLMs still struggle to notice and utilize scattered key information, a problem known as the "lost-in-the-middle" syndrome. Therefore, we typically need to restructure the content for LLM to recognize the key information. We propose $\textit{Refiner}$, an end-to-end extract-and-restructure paradigm that operates in the post-retrieval process of RAG. $\textit{Refiner}$ leverages a single decoder-only LLM to adaptively extract query-relevant contents verbatim along with the necessary context, and section them based on their interconnectedness, thereby highlights information distinction, and aligns downstream LLMs with the original context effectively. Experiments show that a trained $\textit{Refiner}$ (with 7B parameters) exhibits significant gain to downstream LLM in improving answer accuracy, and outperforms other state-of-the-art advanced RAG and concurrent compressing approaches in various single-hop and multi-hop QA tasks. Notably, $\textit{Refiner}$ achieves a 80.5% tokens reduction and a 1.6-7.0% improvement margin in multi-hop tasks compared to the next best solution. $\textit{Refiner}$ is a plug-and-play solution that can be seamlessly integrated with RAG systems, facilitating its application across diverse open-source frameworks.
[ -0.47016820311546326, -0.5624714493751526, 0.6312998533248901, -0.23063693940639496, -0.25576239824295044, 0.3254013657569885, -0.3261210322380066, -0.2792277932167053, 0.4398730993270874, 0.6638665795326233, -0.5221264362335205, -0.025103986263275146, -0.3636479377746582, 0.2088046669960022, -0.6127244234085083, 1.0130938291549683, -0.014900533482432365, -0.20915549993515015, -0.4199655055999756, -0.0718470886349678, -0.6144922375679016, -0.2784952223300934, -0.8532423973083496, -0.20429088175296783, 0.8170196413993835, 0.5569576025009155, 0.3087950050830841, 0.28514695167541504, 0.35265541076660156, 0.35891085863113403, -0.12291508167982101, 0.38328951597213745, -0.9144319295883179, 0.7600545287132263, -0.5255457758903503, -0.5733796954154968, -0.01965561881661415, -0.29926323890686035, 0.5585783123970032, 0.33847618103027344, -0.49691811203956604, 0.5139488577842712, -0.16530421376228333, 0.8290726542472839, -0.782919704914093, -0.23704327642917633, -0.9227285385131836, -0.43312883377075195, -0.16058318316936493, -0.40997523069381714, -0.522261381149292, -0.29986515641212463, -0.1481744796037674, -0.6322454214096069, 0.4586992561817169, 0.2769084870815277, 1.044393539428711, 0.5638097524642944, -0.2809467613697052, -0.0020591402426362038, -0.7904662489891052, 0.6945930123329163, -0.6108397841453552, 0.6913855075836182, -0.058133434504270554, 0.6089456081390381, -0.2909124791622162, -1.2502379417419434, -0.6056941151618958, 0.46608301997184753, -0.17538240551948547, 0.32170283794403076, 0.030340738594532013, -0.24723529815673828, 0.09538029134273529, 0.6180371046066284, -0.5110486149787903, -0.1992207020521164, -0.6311131715774536, -0.012475099414587021, 0.39031070470809937, 0.0827142521739006, 0.07514320313930511, -0.053100381046533585, -0.30466893315315247, -0.0024035039823502302, -0.5405241250991821, -0.01616159826517105, 0.11193133890628815, 0.20509620010852814, 0.587891697883606, 0.43282610177993774, -0.38724514842033386, 0.5022826790809631, 0.2184128612279892, 0.028034040704369545, 0.12011980265378952, -0.18735256791114807, -0.47860854864120483, -0.22789768874645233, 0.34242311120033264, 0.09181410819292068, -0.010895177721977234, -0.22158190608024597, -0.4070333242416382, -0.5247491598129272, 0.7625246644020081, -0.9482362866401672, -0.02419891580939293, 0.27051544189453125, -0.47681674361228943, -0.08659769594669342, 0.0662575289607048, -0.7484427094459534, -0.23515459895133972, -0.42759549617767334, 0.29491981863975525, -0.184269517660141, -0.3998733162879944, 0.14871853590011597, -0.4769931137561798, 0.5110352039337158, 0.47937050461769104, -0.6134335398674011, 0.29540225863456726, 0.7830683588981628, 0.5924598574638367, 0.07624568045139313, 0.04211127758026123, -0.8086465001106262, 0.2619669437408447, -0.024851249530911446, 1.163172721862793, -0.6462684273719788, -0.2986508309841156, -0.04271550849080086, 0.19532249867916107, 0.024554088711738586, -0.7581110596656799, 0.6782269477844238, -1.1761395931243896, 0.4566969573497772, -0.3400365114212036, -0.3985039293766022, -0.466019868850708, 0.4239633083343506, -0.7487928867340088, 1.1888197660446167, 0.38600894808769226, -0.7242857217788696, 0.09394345432519913, -0.24818286299705505, -0.13874231278896332, 0.06069320812821388, -0.06495986878871918, -0.26610180735588074, 0.5521434545516968, 0.12825517356395721, -0.03787636011838913, -0.5897735357284546, 0.30065062642097473, -0.02283387817442417, -0.5548036694526672, 0.17735044658184052, -0.23564954102039337, 0.3385600447654724, 0.2604825496673584, 0.15582047402858734, 0.2807708978652954, -0.5405250787734985, 0.2534249722957611, -0.03717833012342453, -0.6485293507575989, -0.20976760983467102, -0.11953233182430267, 0.14618153870105743, 0.14768745005130768, 0.4290955364704132, -0.4757826626300812, 0.19901207089424133, -0.36892619729042053, 0.13704688847064972, 0.8278000354766846, 0.2120305746793747, 0.2970122992992401, -0.578303337097168, 0.6767955422401428, -0.4295322895050049, 0.1194862350821495, -0.26271864771842957, -0.14395101368427277, -1.0304051637649536, -0.21450386941432953, 0.3582542836666107, 0.513763427734375, -0.7527996301651001, 0.028370842337608337, -0.4609861671924591, -0.45993754267692566, -0.6934216618537903, 0.17834684252738953, 0.325498104095459, 0.588096559047699, 0.48079878091812134, -0.24289655685424805, -0.7253358960151672, -0.8604499101638794, -0.4236243963241577, -0.04678994417190552, -0.21753166615962982, 0.1476007103919983, 0.15629559755325317, -0.16436950862407684, 0.8609961271286011, -0.7219892740249634, -0.08429113030433655, -0.23939314484596252, 0.022739339619874954, 0.37557512521743774, 0.19302284717559814, -0.006186650134623051, -0.8897061944007874, -0.5166113972663879, -0.14239758253097534, -0.3645882308483124, -0.2697915732860565, 0.021984519436955452, -0.41964712738990784, 0.1172490045428276, 0.7447260618209839, -0.49489039182662964, 0.24148766696453094, 0.17607229948043823, -0.2514685094356537, 0.5985475778579712, -0.18894247710704803, 0.1297893077135086, -1.1185609102249146, 0.2993912696838379, -0.5542334318161011, -0.23833176493644714, -0.595977246761322, 0.36366933584213257, -0.09453699737787247, -0.055532656610012054, -0.20546427369117737, 0.6002675294876099, -0.4185042977333069, -0.19566552340984344, -0.5626171827316284, 0.2459009736776352, 0.3982434868812561, 0.534148633480072, 0.034213270992040634, 0.7562505006790161, -0.0982249528169632, -0.2957850396633148, 0.2463679015636444, 0.20118501782417297, -0.16170938313007355, 0.49597814679145813, -0.6214331984519958, 0.3287474811077118, -0.5551100969314575, 0.31561899185180664, -1.3321996927261353, -0.1624174565076828, -0.14807257056236267, -0.5635777711868286, 0.5190221071243286, -0.21712462604045868, -0.4050026834011078, -0.034068018198013306, -0.3777259588241577, 0.42121392488479614, 0.649736225605011, -0.49147549271583557, 0.8771279454231262, 0.08343574404716492, -0.3725470006465912, -0.6051462292671204, -0.34741994738578796, -0.09026877582073212, -0.12295948714017868, -0.5471470952033997, 0.29966169595718384, -0.11033755540847778, 0.03135623782873154, -0.019009947776794434, -0.43215829133987427, -0.07050742208957672, -0.005358065478503704, 0.09989453107118607, 0.2439480721950531, -0.11770729720592499, 0.31464672088623047, 0.11619178205728531, -0.26776137948036194, -0.08873730152845383, -0.21674145758152008, 0.6935023069381714, 0.1187460869550705, -0.24971581995487213, 0.1222066804766655, 0.44457128643989563, 0.8169694542884827, -0.6234879493713379, 0.6369453072547913, 0.7712902426719666, -0.2832458019256592, -0.12601260840892792, -0.8958540558815002, -0.25094273686408997, -0.5049397349357605, 0.21387194097042084, -0.42860427498817444, -0.9767117500305176, 0.5040320158004761, -0.26683780550956726, 0.40335407853126526, 0.2969370484352112, 0.3521229922771454, 0.02602769248187542, 0.5522042512893677, 0.6002209186553955, 0.2353070080280304, 0.5481492280960083, -0.10850456357002258, 0.4169115126132965, -1.3046503067016602, -0.4579344689846039, -0.6538323163986206, -0.5151370167732239, -0.34633591771125793, -0.6229087710380554, 0.2823169529438019, 0.3183702528476715, -0.3525490462779999, 0.0044107213616371155, -0.6208941340446472, 0.4916855990886688, 0.5411441922187805, 0.06584280729293823, 0.45707008242607117, 0.045871373265981674, 0.06309985369443893, 0.07100418210029602, -0.6383023262023926, -0.2944035828113556, 1.033693790435791, 0.1566355675458908, 0.6973319053649902, 0.18759654462337494, 0.811585009098053, -0.0698300451040268, 0.621394693851471, -0.6774766445159912, 0.44171226024627686, -0.06093199551105499, -0.5595500469207764, -0.3043400049209595, -0.24956387281417847, -0.8398894667625427, 0.4541025161743164, -0.15327046811580658, -0.38759931921958923, 0.29937684535980225, -0.21330025792121887, -0.3357189893722534, 0.3571615219116211, -0.6463956236839294, 0.6398398280143738, -0.08951234817504883, -0.4837254583835602, -0.2479901909828186, -0.4434565305709839, 0.3138449192047119, -0.18310536444187164, 0.2872053384780884, -0.0050315759144723415, -0.33168521523475647, 0.5856321454048157, -0.42382851243019104, 0.44562023878097534, -0.2240409404039383, -0.17218461632728577, 0.21669374406337738, 0.1795264184474945, 0.6159915328025818, 0.027869069948792458, -0.07130461186170578, -0.27578017115592957, 0.013444622978568077, -0.29092657566070557, -0.964089572429657, 0.657903254032135, -0.44367173314094543, -0.8598668575286865, -0.27161678671836853, -0.5193539261817932, -0.07339222729206085, 0.42733991146087646, -0.02376840077340603, 0.4120544195175171, 0.08435801416635513, 0.13833673298358917, 0.7966076135635376, -0.22096392512321472, 0.1808445304632187, 0.7740854024887085, -0.5282822847366333, -0.5581774711608887, 0.855538547039032, -0.1811000108718872, 0.2779756188392639, 0.646915078163147, 0.05420123413205147, -0.5730049014091492, -0.5488175749778748, -0.22187773883342743, 0.33963632583618164, -0.7855611443519592, -0.5146726965904236, -0.6139865517616272, -0.2380078285932541, -0.30390340089797974, -0.14886315166950226, -0.2631787657737732, -0.37859591841697693, -0.11181875318288803, 0.02415582723915577, 0.47560256719589233, 0.44072943925857544, 0.2177722454071045, 0.21829429268836975, -0.8901839256286621, 0.5258100628852844, 0.3928767442703247, 0.5469046235084534, 0.11962415277957916, -0.7888350486755371, -0.31761008501052856, -0.15847554802894592, -0.0428505577147007, -0.6847351789474487, 0.2681051194667816, 0.04311883822083473, 0.43982458114624023, 0.2621205151081085, 0.11105446517467499, 0.9702491760253906, -0.5155619382858276, 0.5163666605949402, -0.13681906461715698, -0.5001228451728821, 0.23725523054599762, -0.1385897547006607, 0.4262492060661316, 0.9622424244880676, 0.15938128530979156, -0.8684768080711365, -0.4276750683784485, -0.5238462090492249, -1.163528323173523, 0.4604778587818146, -0.08484521508216858, -0.14945457875728607, -0.06160864979028702, 0.5437674522399902, 0.13482393324375153, 0.33561110496520996, -0.3193191587924957, 0.031059719622135162, -0.045657359063625336, -0.1588408648967743, 0.15527139604091644, -0.4547923505306244, 0.006612733937799931, -0.10284755378961563, 0.7999855279922485, -0.005839685909450054, 0.1631787121295929, 0.3106640577316284, -0.00041422920185141265, -0.145277738571167, 0.535062313079834, 0.19134561717510223, 0.6503213047981262, -0.38529542088508606, 0.12313780933618546, 0.08586884289979935, -0.38218948245048523, 0.08767536282539368, 0.12922969460487366, -0.15705595910549164, 0.018824351951479912, 0.1712706834077835, 0.34479841589927673, 0.21661412715911865, -1.0237016677856445, 0.11940788477659225, -0.33039799332618713, 0.06815279275178909, -0.5050888657569885, 0.0007992464816197753, 0.10295254737138748, 0.39600610733032227, 0.5135191082954407, -0.015672598034143448, 0.25346699357032776, -0.4638056457042694, 0.27762553095817566, 0.3518258035182953, -0.11931539326906204, 0.11185015738010406, 0.6120702624320984, 0.16491000354290009, -0.1814330667257309, 0.8718235492706299, -0.17231085896492004, -0.5293490290641785, 0.20975574851036072, 0.47123342752456665, 1.0387029647827148, -0.20174044370651245, -0.07220245897769928, 0.5387983918190002, 0.20255990326404572, -0.14464594423770905, 0.43667128682136536, -0.03958875685930252, -0.5331703424453735, -0.7597208619117737, -0.9279260039329529, -0.1977081298828125, 0.09512221068143845, -0.7484551668167114, 0.26070544123649597, -0.2960013747215271, 0.16074422001838684, -0.39183345437049866, -0.032701555639505386, -0.411796897649765, 0.10044705122709274, -0.19201873242855072, 1.0827170610427856, -0.4895920753479004, 0.5088175535202026, 0.7764034867286682, -0.48896005749702454, -0.7835512757301331, -0.17368851602077484, -0.32946306467056274, -0.6117116808891296, 0.47368213534355164, 0.12108895927667618, -0.17329663038253784, 0.048645343631505966, -0.2178073525428772, -1.1198543310165405, 1.1753194332122803, 0.125205397605896, -0.6759610772132874, -0.243620365858078, -0.24137331545352936, 0.46564188599586487, -0.1506098061800003, 0.5769380927085876, 0.5788140296936035, 0.5099706053733826, 0.4349730312824249, -0.7803611755371094, 0.4025546610355377, -0.40628206729888916, 0.08583581447601318, 0.5936988592147827, -0.787165641784668, 0.7640007138252258, 0.0259214099496603, -0.446155846118927, 0.1318885087966919, 0.5223069787025452, 0.27140307426452637, 0.20541036128997803, 0.5466390252113342, 0.8578742146492004, 0.8030641674995422, -0.013697047717869282, 0.8340489268302917, -0.26846352219581604, 0.1313588172197342, 1.4009952545166016, -0.17504730820655823, 1.09671950340271, 0.6712067127227783, 0.05023788660764694, 0.861778199672699, 0.462802916765213, 0.2831271290779114, 0.5133729577064514, 0.3141274154186249, -0.33135467767715454, -0.32240426540374756, -0.20011258125305176, -0.21168316900730133, 0.19801120460033417, 0.2533007562160492, -0.11123968660831451, -0.462316632270813, -0.18015864491462708, -0.07668589800596237, 0.2020350694656372, -0.17854392528533936, 0.8801887631416321, -0.18363535404205322, -0.9169583320617676, 0.8640859127044678, -0.056839294731616974, 0.5477814078330994, -0.6758336424827576, -0.22917833924293518, -0.45769456028938293, 0.09214740991592407, -0.42616310715675354, -0.6225672960281372, 0.5017852783203125, -0.041108205914497375, -0.4467741847038269, -0.3518840968608856, 0.8697674870491028, -0.6478678584098816, -0.31180697679519653, 0.07015383988618851, 0.5303861498832703, 0.2572212517261505, -0.39841756224632263, -0.31841734051704407, 0.22664383053779602, 0.2026701271533966, -0.2551104426383972, 0.22595970332622528, 0.5306648015975952, -0.029326453804969788, 0.625251054763794, 0.8498623967170715, -0.006715662311762571, -0.03252271190285683, 0.1447671502828598, 1.117636799812317, -0.663989782333374, -0.21861259639263153, -0.44874078035354614, 0.6244522333145142, -0.1467868685722351, 0.12866899371147156, 0.6139534711837769, 0.9644995927810669, 0.9412897825241089, 0.03325001895427704, 0.6673166751861572, -0.13412700593471527, 0.8862541317939758, -0.345111221075058, 0.43085598945617676, -0.8101032376289368, 0.32302600145339966, 0.08252128213644028, -0.8849172592163086, 0.11715906113386154, 0.23538808524608612, -0.10228469967842102, -0.12698407471179962, 0.6104173064231873, 0.7869523763656616, -0.0346621610224247, -0.19153551757335663, 0.012457323260605335, 0.05383622273802757, 0.49312201142311096, 0.6358551383018494, 0.67228764295578, -0.4160325527191162, 0.8986456990242004, 0.14503741264343262, -0.05589255318045616, -0.23447038233280182, -0.45495662093162537, -0.6826415657997131, -0.4536032974720001, 0.04667865112423897, -0.3334529995918274, -0.26924893260002136, 0.43210774660110474, 0.3233552575111389, -0.4556399881839752, -0.19018304347991943, -0.015877235680818558, 0.238072007894516, -0.1330759972333908, -0.26496338844299316, 0.2376696765422821, -0.7547518014907837, -0.7000485062599182, 0.31570154428482056, 0.3320915997028351, -0.2869555950164795, -0.272605836391449, 0.1456824094057083, -0.39524945616722107, 0.0979895070195198, 0.6006792187690735, 0.3211723566055298, -0.5782207250595093, -0.24705833196640015, 0.3367637097835541, 0.3477475345134735, -0.02609892003238201, 0.9215036034584045, -0.9567793607711792, 0.5363265872001648, 0.7776540517807007, 0.9376991391181946, 0.7709763050079346, 0.3413490056991577, 0.538689911365509, -0.7273914217948914, -0.05084115266799927, 0.22651520371437073, 0.3354760706424713, 0.26549288630485535, -0.33191537857055664, 0.5747475028038025, 0.07367746531963348, -0.7045750021934509, -0.8142613768577576, 0.3881278336048126, -0.7818228006362915, -0.5433379411697388, 0.8503091335296631, 0.08332545310258865, -0.29880598187446594, -0.15840686857700348, -0.4288204610347748, 0.322029709815979, -0.486291766166687, 0.8511453866958618, 0.5782963633537292, -0.08819776773452759, -0.3334980010986328, -0.603790819644928, 0.3307573199272156, 0.4672990143299103, -0.7655391097068787, 0.3222854435443878, 0.6373828649520874, 0.5261952877044678, 0.27696582674980164, 0.6913005709648132, -0.185133695602417, 0.17829714715480804, -0.2808312177658081, 0.05253804847598076, -0.2561936378479004, -0.22276148200035095, -0.157537043094635, 0.1796671748161316, 0.16995902359485626, -0.07205034792423248 ]
http://arxiv.org/abs/2406.12937v1
http://arxiv.org/pdf/2406.12937v1
Self-Train Before You Transcribe
2024-06-17T09:21:00
2024-06-17T09:21:00
Robert Flynn, Anton Ragni
eess.AS
eess.AS, cs.CL, cs.LG, cs.SD
When there is a mismatch between the training and test domains, current speech recognition systems show significant performance degradation. Self-training methods, such as noisy student teacher training, can help address this and enable the adaptation of models under such domain shifts. However, self-training typically requires a collection of unlabelled target domain data. For settings where this is not practical, we investigate the benefit of performing noisy student teacher training on recordings in the test set as a test-time adaptation approach. Similarly to the dynamic evaluation approach in language modelling, this enables the transfer of information across utterance boundaries and functions as a method of domain adaptation. A range of in-domain and out-of-domain datasets are used for experiments demonstrating large relative gains of up to 32.2%. Interestingly, our method showed larger gains than the typical self-training setup that utilises separate adaptation data.
[ -0.16630728542804718, -0.21816761791706085, 0.015200062654912472, 0.06082167476415634, -0.1241910383105278, 0.2752833664417267, -0.21116693317890167, -0.39646390080451965, -0.27638107538223267, 0.3844078779220581, -0.5400679707527161, 0.04228437319397926, -0.5637417435646057, -0.030517837032675743, -0.6663120985031128, 0.8043293356895447, 0.04831729829311371, 0.37302401661872864, -0.08225119113922119, -0.09014647454023361, -0.7728260159492493, -0.8575725555419922, -0.5190655589103699, -0.28686824440956116, 0.06216878443956375, 0.30299651622772217, 0.17847096920013428, 0.5324655771255493, 0.2469855397939682, 0.23378632962703705, 0.42627373337745667, -0.004051448777318001, -0.601820170879364, 0.37913820147514343, -0.3628070056438446, -0.35896098613739014, 0.025671597570180893, 0.3460807502269745, 0.8849021792411804, 0.7071789503097534, -0.13490237295627594, 0.29945123195648193, 0.4036073386669159, 0.33840227127075195, -0.6720508337020874, 0.1693217158317566, -0.6621173620223999, 0.3836340606212616, -0.23416154086589813, -0.31036919355392456, -0.5206778049468994, -0.07597272843122482, 0.3022012710571289, -0.5157034993171692, 0.3050718605518341, -0.32228970527648926, 0.3936985731124878, 0.3466307520866394, -0.1167171448469162, -0.1410735845565796, -1.1634719371795654, 0.8403254747390747, -0.6296192407608032, 0.9741799235343933, 0.5546067357063293, 0.38244593143463135, -0.10978823900222778, -0.7033613920211792, -0.41435039043426514, 0.02700941264629364, 0.04884880408644676, 0.28750503063201904, -0.0777435228228569, -0.23718178272247314, 0.17678529024124146, 0.22686229646205902, -0.5235259532928467, 0.028660079464316368, -0.5643748044967651, -0.30565503239631653, 0.5751997828483582, -0.12768591940402985, 0.24006658792495728, 0.3541322350502014, -0.22232438623905182, -0.48950082063674927, -0.2837877869606018, -0.004902527201920748, 0.25619083642959595, 0.6661579608917236, -0.02225431054830551, 0.07139302790164948, 0.1989244818687439, 0.6382015943527222, 0.3213244080543518, -0.34532731771469116, 0.35520195960998535, -0.12092544883489609, -0.15130190551280975, 0.3733615279197693, 0.3708336055278778, -0.2066882997751236, 0.59299635887146, -0.456109881401062, -0.14216509461402893, 0.06846119463443756, 0.37993037700653076, -0.8480032682418823, -0.37829333543777466, -0.08472403883934021, -0.29434964060783386, -0.14731541275978088, -0.2889333963394165, -0.7468790411949158, -0.2123669683933258, -0.5359585881233215, 0.8206852078437805, -0.3321038782596588, -0.3330792784690857, 0.25010985136032104, -0.08031603693962097, 0.07418960332870483, 0.23051486909389496, -0.8751589059829712, 0.736724853515625, 0.20046696066856384, 0.689348042011261, -0.4749457538127899, -0.4957914650440216, -0.7418714761734009, 0.16872313618659973, -0.3530898690223694, 0.614215612411499, -0.3194250464439392, -0.6870433688163757, -0.14692242443561554, -0.00491455290466547, -0.5788691639900208, -0.7476344704627991, 0.307537704706192, -0.40825411677360535, 0.33415549993515015, 0.26164954900741577, -0.5343406796455383, 0.13285759091377258, -0.3122994601726532, -0.45874470472335815, 1.3011802434921265, 0.3560626208782196, -0.25246843695640564, 0.42821410298347473, -0.519649088382721, -0.7583563327789307, -0.07371223717927933, -0.050886865705251694, -0.571904718875885, -0.0049755466170609, 0.06231406331062317, 0.4515024423599243, 0.25718238949775696, -0.21440055966377258, -0.08069724589586258, -0.3275197446346283, 0.5661796927452087, -0.442223459482193, 0.626447856426239, 0.3203813135623932, -0.55756014585495, -0.5263381600379944, -0.8218922019004822, 0.34046390652656555, 0.015896087512373924, -0.5283653140068054, -0.5537141561508179, -0.09000290185213089, -0.29433244466781616, 0.061859868466854095, -0.33011141419410706, -0.40403059124946594, 0.11706775426864624, -0.41709694266319275, 0.38314443826675415, 0.8030170798301697, 0.0029647278133779764, 0.370926171541214, -0.26422086358070374, 0.6169788241386414, 0.27856290340423584, 0.08608809113502502, 0.23304058611392975, -0.09050018340349197, -0.6194987297058105, 0.022751417011022568, 0.8604401350021362, 0.33427488803863525, -0.4598809778690338, 0.1421399712562561, -0.3458673059940338, -0.37272194027900696, -0.7662419080734253, 0.2257125973701477, 0.3745318651199341, 0.5674141049385071, 0.5150644779205322, -0.7436279654502869, -0.5599613189697266, -0.35785987973213196, -0.5005046725273132, -0.17491838335990906, 0.07804987579584122, 0.23730982840061188, 0.3099476397037506, -0.023157907649874687, 0.6365541219711304, -0.2631796896457672, -0.5850496292114258, -0.0645061731338501, 0.06899838149547577, -0.2809062898159027, 0.6252430081367493, 0.49615079164505005, -0.6662617325782776, -0.5709800720214844, -0.4740898907184601, -0.17533856630325317, -0.08557435125112534, -0.49697038531303406, -0.1256416290998459, 0.016921380534768105, 0.3265042006969452, -0.03355798497796059, 0.4281405806541443, 0.724553644657135, -0.09661160409450531, 0.3374846577644348, -0.0555141419172287, 0.09801837056875229, -0.7750297784805298, -0.1941007673740387, -0.3605039417743683, -0.5264548659324646, -0.8904232382774353, -0.5531367659568787, -0.09402263909578323, -0.31168657541275024, -0.4673561155796051, 0.5867177844047546, -0.6243423223495483, -0.18987448513507843, -0.2921740412712097, 0.03312356397509575, -0.0620800144970417, 0.45640164613723755, 0.11863719671964645, 1.3732202053070068, 0.6188535690307617, -0.9091683626174927, -0.15133120119571686, 0.5454361438751221, -0.3613249361515045, 0.3365798592567444, -0.20798304677009583, 0.5684282779693604, 0.17557696998119354, -0.1466822773218155, -0.8603519797325134, 0.0643739104270935, 0.2934384047985077, -0.5914813876152039, 0.7243253588676453, -0.14104752242565155, 0.1822124868631363, -0.42957064509391785, 0.0948849618434906, 0.43227648735046387, 0.6012594103813171, -0.850236177444458, 0.5808161497116089, 0.5142784714698792, 0.07472298294305801, -0.5356874465942383, -0.9876585602760315, -0.11934655904769897, -0.224945530295372, 0.01710653491318226, 0.3435790240764618, -0.32674139738082886, 0.16065345704555511, -0.24150826036930084, -0.401725172996521, -0.5124555230140686, 0.3005317449569702, 0.5123022794723511, -0.2581179738044739, -0.15645276010036469, 0.45712509751319885, -0.16356141865253448, 0.11614411324262619, 0.19962024688720703, -0.44443607330322266, 0.3503858745098114, 0.22734461724758148, -0.11638157814741135, -0.5180414319038391, 0.17570333182811737, 0.18812155723571777, -0.1591823548078537, 0.34399864077568054, 0.2614704370498657, -0.27798718214035034, -0.9959535598754883, -0.3330312967300415, -0.36594370007514954, -0.4912058711051941, 0.29866230487823486, -0.6347152590751648, -0.4610249400138855, 0.0072507839649915695, -0.38018277287483215, -0.32190439105033875, 0.13990385830402374, 0.43534237146377563, -0.3166772425174713, 0.5111526846885681, 0.6680257320404053, -0.19838407635688782, 0.8007632493972778, -0.20172493159770966, 0.23182235658168793, -0.7271318435668945, -0.06350147724151611, -0.5707216858863831, -0.23333832621574402, -0.21828244626522064, -0.3497149646282196, 0.24401746690273285, -0.30181536078453064, -0.04037819430232048, 0.46059492230415344, -0.5934429168701172, 0.30740851163864136, 0.658277153968811, 0.31540900468826294, 0.0844501256942749, 0.29125598073005676, 0.18418274819850922, -0.5321820378303528, -0.7160193920135498, -0.0006117377779446542, 1.3235535621643066, 0.15879634022712708, 0.9895126819610596, -0.08854330331087112, 0.656878650188446, 0.6337869167327881, 0.2580322027206421, -0.6768186688423157, 0.272323340177536, -0.24703429639339447, -0.6368197798728943, -0.7277069091796875, -0.3658883273601532, -1.159942626953125, 0.13805629312992096, -0.04276159033179283, -0.199191153049469, 0.5238043069839478, 0.13253769278526306, -0.4937158226966858, 0.24966134130954742, -0.7615174055099487, 0.6490854620933533, -0.3595057725906372, -0.041406795382499695, -0.029338495805859566, -0.4315544068813324, -0.18936270475387573, -0.6906018257141113, 0.10089153051376343, -0.004654405638575554, 0.37726688385009766, 1.2120943069458008, -0.24242116510868073, 1.0474903583526611, -0.3451525866985321, 0.0995277538895607, 0.5386487245559692, 0.356975257396698, 0.24156618118286133, -0.49931448698043823, -0.18918992578983307, 0.13380242884159088, 0.24011768400669098, -0.2056981772184372, -0.8882210850715637, 0.25494685769081116, -1.238792061805725, -0.609494686126709, -0.516508162021637, -0.5550495386123657, -0.6149125695228577, 0.11140178143978119, 0.0793992131948471, 0.5530028939247131, -0.2842831015586853, -0.01589498482644558, 0.6312861442565918, 0.1810787171125412, 0.441660076379776, 0.7230236530303955, 0.14102330803871155, -0.221628338098526, 1.0636811256408691, 0.4268094003200531, 0.6138557195663452, 0.02160484902560711, 0.34004873037338257, -0.4947335422039032, -0.6856719255447388, -0.28310826420783997, 0.13179896771907806, -0.865085244178772, -0.25258955359458923, -0.49772387742996216, -0.5138658881187439, -0.8785901665687561, 0.23968233168125153, -0.476732075214386, -0.5339540243148804, -0.5284384489059448, -0.024515891447663307, 0.21290139853954315, 0.6404207348823547, -0.4239361882209778, 0.5310620665550232, -0.452862411737442, 0.10808008164167404, 0.5999242663383484, 0.22766335308551788, -0.2498435229063034, -1.34420907497406, -0.4857546091079712, 0.024956202134490013, -0.35369277000427246, -0.6695021390914917, 0.6807938814163208, 0.9520266056060791, 0.6053606867790222, -0.126063734292984, 0.23006343841552734, 0.8684561848640442, -0.5599439144134521, 0.6170616745948792, -0.06424218416213989, -1.1628973484039307, 0.6803328990936279, 0.28254222869873047, 0.1241287887096405, 0.7064856290817261, 0.5747303366661072, -0.43201372027397156, -0.13929952681064606, -0.5994099378585815, -0.17464327812194824, 0.590881884098053, 0.0823495090007782, 0.3323991298675537, 0.5576664209365845, 0.6727200746536255, 0.32745906710624695, 0.06605309247970581, -0.6689963936805725, -0.16984789073467255, -0.5355986952781677, -0.14330682158470154, -0.23701974749565125, -0.06828585267066956, -0.25017085671424866, -0.4771755039691925, 0.7424939274787903, -0.3380272686481476, 0.4647837281227112, 0.36674296855926514, -0.2526976764202118, -0.274954617023468, 0.10905180126428604, 0.3227570950984955, 0.5406769514083862, 0.029680617153644562, 0.30606210231781006, 0.5847810506820679, -0.8700371980667114, 0.563435435295105, -0.0364951528608799, 0.14768314361572266, 0.1322949230670929, 0.3980419933795929, 0.6006923317909241, 0.2234238088130951, -0.3567611575126648, 0.781602680683136, -0.0441850982606411, -0.36434823274612427, -0.15635071694850922, 0.3360740840435028, -0.41951122879981995, 0.2059348076581955, 0.07044617086648941, 0.09195715188980103, 0.24399128556251526, -0.6161532402038574, 0.46170562505722046, -0.06205104663968086, -0.4837760329246521, -0.5026938319206238, 0.7110021710395813, 0.036423880606889725, -0.3891630470752716, 0.6386022567749023, 0.18543292582035065, -0.5952712893486023, 0.23955819010734558, 0.9545300006866455, 0.9429670572280884, -0.9048665761947632, 0.23887890577316284, 0.252535879611969, -0.0027089628856629133, -0.02449539676308632, 0.38767534494400024, -0.3013170659542084, -0.7212926745414734, -0.3321833610534668, -0.47590816020965576, -0.5280120968818665, 0.17925125360488892, -0.6819014549255371, 0.1187797412276268, -0.29580068588256836, -0.10432548820972443, 0.16295017302036285, -0.041951607912778854, -0.725481390953064, 0.6366637349128723, 0.24137955904006958, 0.5457176566123962, -0.8396288752555847, 1.1701431274414062, 0.39706578850746155, -0.002328761387616396, -0.9697827100753784, 0.09228428453207016, -0.4094386100769043, -1.038676142692566, 0.9086487889289856, -0.16810820996761322, -0.19702687859535217, 0.0733853206038475, -0.30862200260162354, -0.9512151479721069, 0.7931631803512573, 0.44359979033470154, -0.7896662354469299, 0.17958898842334747, 0.5075806379318237, 0.617715060710907, -0.40428829193115234, -0.09675631672143936, 0.6911777853965759, 0.2277604341506958, -0.07361416518688202, -0.9567658305168152, -0.045863982290029526, 0.16439121961593628, -0.15866801142692566, -0.13973353803157806, -0.648409366607666, 0.49409234523773193, -0.12706004083156586, -0.48624274134635925, -0.2764221429824829, 0.6021900773048401, -0.5111963748931885, 0.0827021673321724, 0.8297593593597412, 0.13633108139038086, 1.0096355676651, -0.0032570436596870422, 0.6972063183784485, -0.24169921875, 0.1794721931219101, 1.4744864702224731, -0.20907512307167053, 0.6893555521965027, 0.35085976123809814, -0.39153656363487244, 0.15230253338813782, 0.6321995258331299, -0.11062945425510406, 0.9031972289085388, 0.36949291825294495, -0.18431472778320312, -0.5324880480766296, -0.02161294035613537, -0.4910125732421875, 0.5276810526847839, 0.04497755318880081, -0.2654183506965637, -0.018587341532111168, 0.3466562330722809, -0.45174500346183777, 0.009909051470458508, -0.09496135264635086, 0.7552980184555054, 0.3289344906806946, -0.2949236035346985, 0.7933292388916016, -0.6258172392845154, 0.0969102680683136, -0.5017912983894348, 0.07925111800432205, -0.04135749861598015, 0.44271597266197205, -0.043917447328567505, -0.5354622006416321, 0.34072282910346985, -0.34014222025871277, -0.0012632061261683702, -0.5978922247886658, 0.850624144077301, -0.623567521572113, -0.20080772042274475, 0.45208293199539185, 0.6900814771652222, 0.5840376615524292, -0.038962602615356445, -0.8273165822029114, -0.0073336404748260975, -0.07980327308177948, -0.19279329478740692, 0.41450706124305725, 0.46706682443618774, 0.1504024863243103, 0.5971828103065491, 0.49382293224334717, 0.32684651017189026, 0.26615050435066223, 0.3107249140739441, 1.006646990776062, -0.5821152329444885, -0.4373878240585327, -0.41323843598365784, 0.022452741861343384, 0.294140487909317, -0.49048447608947754, 0.720467209815979, 0.6209948062896729, 1.0834349393844604, -0.12403988093137741, 0.8951518535614014, 0.5389591455459595, 0.9935175180435181, -0.4107269048690796, 0.5219518542289734, -0.4291389286518097, -0.03331970423460007, -0.04450834542512894, -0.5161914229393005, -0.1151794046163559, 0.5376221537590027, -0.2835119664669037, 0.08920655399560928, 0.5425825119018555, 0.5572607517242432, -0.20801912248134613, 0.16327732801437378, 0.7738727331161499, 0.26777487993240356, 0.19193097949028015, 0.4135214388370514, 0.9982309341430664, -0.7199369668960571, 0.6667606234550476, -0.4094516634941101, -0.1146632507443428, 0.08766689151525497, -0.34184783697128296, -1.123192310333252, -0.6482205986976624, -0.6117420792579651, -0.5284839272499084, 0.4964318871498108, 0.5499638915061951, 1.1377257108688354, -0.9175055027008057, -0.48151254653930664, 0.4432699680328369, -0.3896164894104004, -0.43765273690223694, -0.1339687556028366, 0.36043673753738403, -0.4622243642807007, -0.6839836239814758, 0.7916436195373535, -0.24245885014533997, 0.6450358629226685, -0.17390337586402893, -0.045316100120544434, 0.14165689051151276, 0.17122600972652435, 0.3306416869163513, 0.40502363443374634, -0.011444352567195892, -0.41518524289131165, -0.1499723345041275, 0.06889470666646957, 0.4952549636363983, 0.8546421527862549, -0.9367973804473877, 0.6086490750312805, -0.030321726575493813, 0.8578550219535828, 0.8546069264411926, 0.04282193258404732, 0.6075001358985901, -0.6468328833580017, 0.15867961943149567, 0.30821263790130615, -0.20410463213920593, 0.26917779445648193, -0.6529802680015564, 0.8065863847732544, 0.42916595935821533, -0.5774797201156616, -0.9706300497055054, -0.18646644055843353, -0.8090499043464661, -0.19725407660007477, 0.9616618752479553, -0.27219158411026, -0.29822149872779846, -0.2878245711326599, -0.001049889368005097, 0.4019046723842621, -0.36302390694618225, 0.9680876135826111, 0.5408936738967896, -0.1815980076789856, 0.059206195175647736, -0.425416499376297, 0.8808097839355469, 0.6528975963592529, -0.6931099891662598, 0.13133549690246582, -0.10294490307569504, 0.6193513870239258, 0.05378178134560585, 0.609489917755127, -0.007103323470801115, 0.14166131615638733, 0.067050039768219, 0.1692613959312439, 0.1279822587966919, -0.5387187004089355, -0.6448948383331299, -0.033564940094947815, -0.027675287798047066, -0.6867856979370117 ]