id
stringlengths 33
33
| doc_url
stringlengths 33
33
| title
stringlengths 13
211
| publication_date
timestamp[s] | update_date
timestamp[s] | authors
stringlengths 6
16.6k
| category_primary
stringclasses 60
values | category_all
stringlengths 5
132
| abstract
stringlengths 123
1.99k
| embeddings
listlengths 768
768
|
---|---|---|---|---|---|---|---|---|---|
http://arxiv.org/abs/2405.20612v1
|
http://arxiv.org/pdf/2405.20612v1
|
UniBias: Unveiling and Mitigating LLM Bias through Internal Attention and FFN Manipulation
| 2024-05-31T03:59:15 | 2024-05-31T03:59:15 |
Hanzhang Zhou, Zijian Feng, Zixiao Zhu, Junlang Qian, Kezhi Mao
|
cs.CL
|
cs.CL, cs.AI
|
Large language models (LLMs) have demonstrated impressive capabilities in
various tasks using the in-context learning (ICL) paradigm. However, their
effectiveness is often compromised by inherent bias, leading to prompt
brittleness, i.e., sensitivity to design settings such as example selection,
order, and prompt formatting. Previous studies have addressed LLM bias through
external adjustment of model outputs, but the internal mechanisms that lead to
such bias remain unexplored. Our work delves into these mechanisms,
particularly investigating how feedforward neural networks (FFNs) and attention
heads result in the bias of LLMs. By Interpreting the contribution of
individual FFN vectors and attention heads, we identify the biased LLM
components that skew LLMs' prediction toward specific labels. To mitigate these
biases, we introduce UniBias, an inference-only method that effectively
identifies and eliminates biased FFN vectors and attention heads. Extensive
experiments across 12 NLP datasets demonstrate that UniBias significantly
enhances ICL performance and alleviates prompt brittleness of LLMs.
|
[
-0.3200373649597168,
-0.48294299840927124,
0.3881966173648834,
0.37448352575302124,
-0.23462693393230438,
0.0843900740146637,
-0.4962764382362366,
-0.22546645998954773,
-0.12616293132305145,
0.671593427658081,
-0.809679388999939,
-0.18641197681427002,
-0.5138677954673767,
0.026832381263375282,
-0.19897210597991943,
1.0357773303985596,
0.16851794719696045,
0.3533360958099365,
-0.475716769695282,
-0.12340573221445084,
-0.5075498819351196,
-0.1670108437538147,
-0.5903339982032776,
-0.7853869199752808,
0.4978381097316742,
0.3578318655490875,
0.4535903334617615,
0.5297183990478516,
0.32108554244041443,
0.2927660048007965,
-0.4284460246562958,
-0.07030349224805832,
-0.5252920389175415,
0.18277542293071747,
-0.3486453890800476,
-0.5186256170272827,
-0.010632287710905075,
-0.20475900173187256,
0.8302995562553406,
0.9662923216819763,
0.18030959367752075,
0.17899972200393677,
0.5606695413589478,
0.7710679769515991,
-0.5840979218482971,
0.03565658628940582,
-0.8558977246284485,
0.0639127567410469,
-0.5258391499519348,
-0.32909345626831055,
-0.5837347507476807,
0.0204949751496315,
0.329815536737442,
-0.3018532693386078,
0.0649595633149147,
-0.024375876411795616,
0.2571214735507965,
0.6014911532402039,
-0.4667989909648895,
-0.2881214916706085,
-0.511358916759491,
0.9440849423408508,
-0.795539379119873,
0.49061697721481323,
0.06857085973024368,
-0.24300932884216309,
-0.6887906789779663,
-0.43567854166030884,
-0.208477184176445,
-0.11718057841062546,
-0.01399049162864685,
-0.018807008862495422,
-0.24835680425167084,
0.1248864009976387,
0.318739116191864,
-0.050138041377067566,
-0.26916226744651794,
0.35492804646492004,
-0.41509488224983215,
-0.16074872016906738,
0.23395147919654846,
-0.13126105070114136,
0.18441689014434814,
0.06843669712543488,
-0.5197514295578003,
0.03635837882757187,
-1.103045105934143,
0.41051340103149414,
0.40141040086746216,
0.3916618525981903,
0.21573282778263092,
0.557854175567627,
-0.022707872092723846,
0.5727250576019287,
0.18816375732421875,
-0.13880284130573273,
0.26228415966033936,
0.15650944411754608,
-0.49611297249794006,
0.2067805379629135,
0.8412870168685913,
0.15992045402526855,
0.30665627121925354,
-0.46081387996673584,
-0.35016611218452454,
0.03807007148861885,
0.3218064606189728,
-0.5958117246627808,
0.122133769094944,
0.2915942966938019,
-0.44338053464889526,
-0.47675782442092896,
-0.1605326235294342,
-0.8729832172393799,
-0.4218522310256958,
-0.4639311134815216,
0.2132687270641327,
-0.2527391016483307,
0.18280355632305145,
-0.33418193459510803,
0.011456108652055264,
-0.1457633376121521,
0.029831279069185257,
-0.9091068506240845,
0.12254992872476578,
0.3964359760284424,
0.6156968474388123,
-0.39110663533210754,
-0.29881471395492554,
-0.6103549003601074,
0.08961191773414612,
-0.37531551718711853,
0.9579945802688599,
-0.6350050568580627,
-0.22681614756584167,
-0.05946682021021843,
-0.004670586436986923,
0.15962357819080353,
-0.5815004110336304,
0.7258124351501465,
-0.492203950881958,
-0.045252058655023575,
-0.5404707789421082,
-0.2223844826221466,
-0.23038120567798615,
-0.05611974745988846,
-0.46368297934532166,
0.9138232469558716,
0.1387408971786499,
-0.8883858323097229,
0.2566412091255188,
-0.507435142993927,
-0.5012986660003662,
-0.12430424243211746,
-0.23702330887317657,
-0.11003080010414124,
0.5178079009056091,
0.3592927157878876,
0.3787635564804077,
-0.5847440958023071,
0.3305925130844116,
-0.3185330331325531,
-0.3706231117248535,
0.516482412815094,
-0.6609996557235718,
0.7915171384811401,
0.048383839428424835,
-0.463657945394516,
0.4537857174873352,
-0.4994952380657196,
-0.1455148160457611,
0.06955362856388092,
-0.3554230332374573,
-0.4990383982658386,
0.04251837730407715,
-0.24789011478424072,
0.36743807792663574,
-0.06868056207895279,
-0.5305184721946716,
0.2623281478881836,
-0.6442319750785828,
0.4543796479701996,
1.0966964960098267,
-0.20981144905090332,
0.8554860949516296,
-0.23699034750461578,
0.2574153542518616,
0.31214097142219543,
0.15526138246059418,
-0.26953673362731934,
-0.2561764121055603,
-0.6653693318367004,
-0.09805002063512802,
0.28783872723579407,
0.28876492381095886,
-0.6228631138801575,
-0.03692076727747917,
-0.028863774612545967,
-0.23653976619243622,
-0.5935192704200745,
0.6569456458091736,
0.6200534105300903,
0.8901059031486511,
0.12387329339981079,
-0.4834069311618805,
-0.37119242548942566,
-0.8319162726402283,
-0.3222944736480713,
0.13743597269058228,
-0.17654240131378174,
0.038475509732961655,
0.2536008954048157,
-0.37900641560554504,
0.8272433280944824,
0.015053891576826572,
-0.5489032864570618,
-0.14708757400512695,
0.12030445784330368,
0.1894330382347107,
0.2526288628578186,
0.5509787797927856,
-0.5754213333129883,
-0.23701180517673492,
-0.23078607022762299,
-0.5202508568763733,
-0.5632703900337219,
-0.35237640142440796,
-0.09461306035518646,
0.251102477312088,
0.5688148736953735,
-0.48956552147865295,
0.4325266182422638,
0.31999140977859497,
-0.2289029210805893,
0.35956230759620667,
-0.07486161589622498,
-0.2857302129268646,
-0.6430875062942505,
-0.10590451955795288,
0.342817485332489,
0.07349832355976105,
-0.37893491983413696,
-0.27827557921409607,
0.18247072398662567,
0.43620187044143677,
-0.5731729865074158,
0.6019574999809265,
-0.694343090057373,
-0.4129941761493683,
-0.4872664511203766,
0.20835527777671814,
0.059398286044597626,
0.793127715587616,
-0.11839960515499115,
0.7355858683586121,
0.5504553914070129,
-0.6795717477798462,
0.1783236414194107,
0.21218852698802948,
-0.22567035257816315,
0.43655097484588623,
-0.6418556571006775,
0.08822082728147507,
-0.5102710723876953,
0.23808203637599945,
-0.9868068695068359,
0.06744782626628876,
0.2833213210105896,
-0.3518630564212799,
0.6471960544586182,
-0.20804806053638458,
-0.2900717556476593,
-0.22220130264759064,
-0.5033835768699646,
0.3315870761871338,
0.20761804282665253,
-0.8302685022354126,
0.6072562336921692,
0.41030019521713257,
-0.06250368803739548,
-0.9458128809928894,
-0.7882872223854065,
-0.24001535773277283,
-0.2936452031135559,
-0.2913981080055237,
0.47903087735176086,
-0.3859246075153351,
-0.6325236558914185,
-0.21309566497802734,
-0.16308671236038208,
0.33632320165634155,
0.13777685165405273,
0.47731876373291016,
0.12648142874240875,
-0.08111000806093216,
0.1265954077243805,
0.27947184443473816,
-0.042003314942121506,
0.4144001007080078,
-0.4263560473918915,
0.4990050196647644,
0.16815359890460968,
-0.21040919423103333,
-0.4286613166332245,
0.22805865108966827,
0.8588712215423584,
-0.324250727891922,
0.5275299549102783,
0.1572990119457245,
-0.3051735758781433,
-0.48025116324424744,
-0.4297291934490204,
-0.3646964728832245,
-0.48662322759628296,
0.24327519536018372,
-0.05964343994855881,
-0.5940186977386475,
0.5744214057922363,
-0.30621376633644104,
0.26175859570503235,
0.159171000123024,
0.8256828188896179,
-0.1099497601389885,
1.0073217153549194,
0.5652578473091125,
-0.32679763436317444,
0.5620001554489136,
0.02235409803688526,
0.03283056989312172,
-1.5041203498840332,
-0.423908531665802,
-0.4256305396556854,
-0.4940332770347595,
-0.24803221225738525,
-0.3025660514831543,
0.24654734134674072,
-0.08981317281723022,
-0.20279386639595032,
-0.13593131303787231,
-0.5328509211540222,
0.6372029185295105,
0.6498438119888306,
-0.004243797156959772,
0.07022170722484589,
-0.11592399328947067,
-0.47786298394203186,
-0.10008745640516281,
-0.5743590593338013,
-0.3975701928138733,
1.2622191905975342,
0.5087854862213135,
0.9390323162078857,
-0.09301307797431946,
0.002688604174181819,
0.2677609324455261,
0.604536235332489,
-0.6552188396453857,
0.2868940830230713,
0.09983900934457779,
-0.5101118683815002,
-0.16878458857536316,
-0.3308260142803192,
-0.756237804889679,
0.4518389105796814,
-0.11855880171060562,
-1.0254250764846802,
0.30116522312164307,
0.21420036256313324,
-0.4966040849685669,
0.4170362055301666,
-0.5567847490310669,
0.6202524304389954,
-0.6537559032440186,
-0.6913190484046936,
0.22734375298023224,
-0.7132924795150757,
0.3891964256763458,
-0.21975621581077576,
0.2682023346424103,
-0.17347440123558044,
0.047600146383047104,
0.6408765316009521,
0.058158352971076965,
1.1414315700531006,
0.14724837243556976,
-0.246267631649971,
0.16986991465091705,
0.22912541031837463,
0.4824985861778259,
0.36454325914382935,
-0.07058831304311752,
0.27212879061698914,
-0.3766900897026062,
-0.1536499410867691,
-0.3996148407459259,
0.9380486607551575,
-0.6924065351486206,
-0.24578014016151428,
-0.4689846634864807,
-0.7420934438705444,
-0.5033524036407471,
0.20973046123981476,
0.5965229868888855,
0.5667291283607483,
-0.13377338647842407,
0.1758490949869156,
1.0607142448425293,
-0.030582454055547714,
0.7216972708702087,
0.4872049391269684,
-0.16740360856056213,
-0.170488178730011,
0.3691558837890625,
0.10310386121273041,
0.1593984067440033,
0.2942739725112915,
0.3199092149734497,
-0.2516714036464691,
-0.6313119530677795,
-0.5094709396362305,
0.14438915252685547,
-0.8406375646591187,
-0.3632579445838928,
-0.5067023634910583,
0.15655532479286194,
-0.5972359776496887,
-0.1496720165014267,
-0.5012418031692505,
0.019634807482361794,
-0.49118155241012573,
-0.07145065814256668,
0.007219941820949316,
0.8213667273521423,
0.06298816204071045,
0.6511783599853516,
-0.4444611668586731,
0.023043876513838768,
0.1320686936378479,
0.3716594874858856,
0.28515347838401794,
-0.8120308518409729,
0.09998561441898346,
0.12336075305938721,
-0.3823525309562683,
-0.9965534806251526,
0.6738606691360474,
0.011972106993198395,
0.7104321122169495,
0.86893630027771,
-0.06923159211874008,
0.3279561400413513,
-0.4481543004512787,
0.35501807928085327,
-0.05396885424852371,
-0.9462994933128357,
0.43035849928855896,
-0.41296741366386414,
0.44006505608558655,
0.4877050817012787,
0.33560076355934143,
-0.4029916822910309,
-0.24714064598083496,
-0.3361246883869171,
-0.9225229620933533,
0.8084639310836792,
-0.0084383524954319,
0.08760286867618561,
0.11448725312948227,
0.4859974980354309,
0.14034540951251984,
0.3702758848667145,
-0.8257578611373901,
-0.3604210615158081,
0.11844505369663239,
-0.18579180538654327,
-0.04742046073079109,
-0.5779313445091248,
-0.22829745709896088,
-0.15986497700214386,
0.8903239965438843,
-0.4443255662918091,
0.06551332026720047,
0.1243956983089447,
-0.23909486830234528,
-0.47989675402641296,
0.17190766334533691,
0.7030555009841919,
0.6895394921302795,
-0.11386603116989136,
0.08747643232345581,
0.26945969462394714,
-0.23125413060188293,
-0.25439295172691345,
-0.15278615057468414,
-0.5395312905311584,
-0.22428131103515625,
0.38635554909706116,
0.8472045660018921,
0.6773682832717896,
-0.7923431396484375,
0.3442903459072113,
-0.26182419061660767,
0.2472061812877655,
-0.4315372109413147,
-0.11603327095508575,
-0.045671917498111725,
0.42026838660240173,
0.4847249686717987,
0.10997115075588226,
0.020803358405828476,
-0.7158451080322266,
0.11474356055259705,
0.7150220274925232,
-0.6454420685768127,
-0.37102067470550537,
0.6656337380409241,
0.17746129631996155,
-0.33433330059051514,
0.675453782081604,
0.2548043131828308,
-0.5728800296783447,
0.4750523865222931,
0.8443172574043274,
0.6719485521316528,
-0.3824044466018677,
0.0882897600531578,
0.0017882540123537183,
0.5978808403015137,
0.02601642906665802,
0.04286154359579086,
-0.05662677437067032,
-0.8233168721199036,
-0.32677575945854187,
-0.5688234567642212,
-0.32170718908309937,
0.2413366138935089,
-0.6375440955162048,
0.041893478482961655,
-0.4922366738319397,
-0.06698501855134964,
-0.10276560485363007,
-0.3193202018737793,
-0.4834389388561249,
0.20722752809524536,
0.37213483452796936,
0.779304563999176,
-0.791739284992218,
0.8192100524902344,
0.702803373336792,
-0.26653429865837097,
-0.47285544872283936,
0.14598941802978516,
0.3463016450405121,
-0.5755408406257629,
0.5603629946708679,
0.2529807984828949,
-0.02487693913280964,
-0.1550593227148056,
-0.7592238783836365,
-1.0799273252487183,
0.8640061020851135,
0.6066049337387085,
-0.6316132545471191,
-0.039150483906269073,
0.09329817444086075,
0.2021307349205017,
-0.38482046127319336,
0.5103209614753723,
0.6984196305274963,
0.32860612869262695,
0.04655536636710167,
-0.6488527655601501,
-0.12900429964065552,
-0.04538585618138313,
-0.1069859117269516,
0.19412776827812195,
-0.7856284976005554,
0.7723121643066406,
-0.3094797134399414,
0.10525190085172653,
-0.3042753338813782,
0.8926314115524292,
0.15080797672271729,
0.1756698191165924,
0.3217461109161377,
0.4081880748271942,
0.8530734181404114,
-0.11383136361837387,
0.7475329637527466,
-0.12457016855478287,
-0.12763389945030212,
1.177204966545105,
-0.4220753312110901,
0.4573143422603607,
0.9757686853408813,
0.22485995292663574,
0.3269692361354828,
0.600924015045166,
0.21387489140033722,
0.6316770315170288,
0.24130778014659882,
-0.13620921969413757,
-0.03581317514181137,
-0.3228829801082611,
0.11269686371088028,
0.5848420262336731,
0.45894110202789307,
-0.4701218008995056,
-0.1540622115135193,
0.24483837187290192,
0.21178381145000458,
-0.018101125955581665,
-0.459106981754303,
0.6760684251785278,
0.23268099129199982,
-0.8786001801490784,
0.08975990861654282,
-0.059442222118377686,
0.9242135882377625,
-0.7077367901802063,
0.22117111086845398,
-0.40739041566848755,
0.5076996684074402,
-0.019053667783737183,
-0.619956910610199,
0.22093936800956726,
-0.039067499339580536,
-0.3847528100013733,
-0.3564344644546509,
0.8484947681427002,
-0.30607908964157104,
-0.3592835068702698,
0.6576147675514221,
0.15914511680603027,
-0.1653013974428177,
-0.3214172422885895,
-0.649907112121582,
0.36346927285194397,
0.19004429876804352,
-0.6323804259300232,
0.690902829170227,
0.5364365577697754,
-0.22879494726657867,
0.9451741576194763,
0.6397499442100525,
0.023182271048426628,
-0.04248625785112381,
-0.046431589871644974,
0.9890390634536743,
-0.33164769411087036,
-0.20309294760227203,
-0.9364341497421265,
0.4361058473587036,
0.11084551364183426,
-0.5510329008102417,
0.7468544244766235,
0.27262574434280396,
1.0041083097457886,
0.08601654320955276,
0.6516391038894653,
0.46115076541900635,
0.3715137839317322,
-0.4894903004169464,
0.8255038261413574,
-0.454863965511322,
0.36823803186416626,
-0.32638487219810486,
-0.8892679810523987,
-0.2470201998949051,
0.48762747645378113,
-0.1493808925151825,
-0.045947182923555374,
0.5779377818107605,
0.5856652855873108,
0.18145067989826202,
-0.10659851878881454,
0.17441047728061676,
0.23165252804756165,
0.13859017193317413,
0.6053788065910339,
0.6450207233428955,
-0.08195126056671143,
0.43463781476020813,
-0.6516197323799133,
-0.2696681618690491,
0.0007173885242082179,
-1.0097635984420776,
-1.1236820220947266,
-0.4643906354904175,
-0.1823468953371048,
-0.25651469826698303,
0.0015831473283469677,
1.1047494411468506,
0.5333703756332397,
-0.7736783027648926,
-0.09392113238573074,
0.13564908504486084,
0.3000686466693878,
-0.05268964171409607,
-0.1496146321296692,
0.28262412548065186,
-0.37956178188323975,
-0.7418373227119446,
0.6898508071899414,
0.39732035994529724,
-0.04737536981701851,
-0.3990618586540222,
0.08857361227273941,
-0.014225997030735016,
0.2862445116043091,
0.4189149737358093,
0.29414102435112,
-0.6226146817207336,
0.12086871266365051,
-0.052920643240213394,
-0.011882142163813114,
0.14135365188121796,
0.8718025088310242,
-1.0519636869430542,
0.26344364881515503,
0.5318246483802795,
0.5042997002601624,
-0.22352094948291779,
-0.049025002866983414,
0.6902915239334106,
-0.8912065029144287,
0.2931598126888275,
0.2932325303554535,
0.6438866257667542,
0.5007442831993103,
-0.615860641002655,
0.3384937644004822,
0.0996413379907608,
-0.6324777603149414,
-1.0327950716018677,
0.09531590342521667,
-0.6964623928070068,
-0.46142470836639404,
1.2676219940185547,
0.13273973762989044,
-0.6480520367622375,
0.0653207078576088,
-0.2189176082611084,
0.30665552616119385,
-0.3195912539958954,
0.8227960467338562,
0.5170809030532837,
-0.023273415863513947,
-0.0748978927731514,
-0.6375847458839417,
0.5433267951011658,
0.6687321662902832,
-0.5142943859100342,
0.2776833474636078,
0.382845014333725,
0.30746811628341675,
0.0036375639028847218,
0.37125658988952637,
-0.07598963379859924,
0.002330284332856536,
-0.6129149794578552,
0.27228033542633057,
0.047749683260917664,
-0.6748007535934448,
-0.5734698176383972,
-0.017788561061024666,
-0.07927121967077255,
0.11485417932271957
] |
http://arxiv.org/abs/2405.20611v1
|
http://arxiv.org/pdf/2405.20611v1
|
Bi-Directional Transformers vs. word2vec: Discovering Vulnerabilities in Lifted Compiled Code
| 2024-05-31T03:57:19 | 2024-05-31T03:57:19 |
Gary A. McCully, John D. Hastings, Shengjie Xu, Adam Fortier
|
cs.CR
|
cs.CR, cs.CL, cs.LG, cs.SE, D.4.6; I.2.6; I.5.1
|
Detecting vulnerabilities within compiled binaries is challenging due to lost
high-level code structures and other factors such as architectural
dependencies, compilers, and optimization options. To address these obstacles,
this research explores vulnerability detection by using natural language
processing (NLP) embedding techniques with word2vec, BERT, and RoBERTa to learn
semantics from intermediate representation (LLVM) code. Long short-term memory
(LSTM) neural networks were trained on embeddings from encoders created using
approximately 118k LLVM functions from the Juliet dataset. This study is
pioneering in its comparison of word2vec models with multiple bidirectional
transformer (BERT, RoBERTa) embeddings built using LLVM code to train neural
networks to detect vulnerabilities in compiled binaries. word2vec Continuous
Bag of Words (CBOW) models achieved 92.3% validation accuracy in detecting
vulnerabilities, outperforming word2vec Skip-Gram, BERT, and RoBERTa. This
suggests that complex contextual NLP embeddings may not provide advantages over
simpler word2vec models for this task when a limited number (e.g. 118K) of data
samples are used to train the bidirectional transformer-based models. The
comparative results provide novel insights into selecting optimal embeddings
for learning compiler-independent semantic code representations to advance
machine learning detection of vulnerabilities in compiled binaries.
|
[
-0.14165300130844116,
-0.5113411545753479,
0.3350991904735565,
0.045390862971544266,
0.09492620825767517,
0.09239012748003006,
-0.029394671320915222,
-0.6764662861824036,
-0.24685531854629517,
0.531703770160675,
-0.3739567995071411,
-0.5717178583145142,
-0.8757115602493286,
-0.029795264825224876,
-0.4066515564918518,
0.8770484924316406,
0.1432400345802307,
-0.015572917647659779,
-0.3072379231452942,
-0.22847944498062134,
-0.6824597120285034,
-0.4625779390335083,
-0.24642273783683777,
-0.16642743349075317,
0.17209455370903015,
0.207846000790596,
0.7867631912231445,
-0.08813869208097458,
0.6364231109619141,
0.29416435956954956,
-0.06612391769886017,
-0.12255913019180298,
-0.27734723687171936,
0.1318669468164444,
-0.0006742723635397851,
-0.7402949333190918,
0.23476643860340118,
-0.17901593446731567,
-0.008542156778275967,
0.2408786565065384,
0.09981216490268707,
-0.04653865844011307,
-0.03736334666609764,
0.6899543404579163,
-0.6328212022781372,
0.09748661518096924,
-0.8299820423126221,
0.35335013270378113,
0.009509099647402763,
-0.2671412229537964,
-0.6878260374069214,
-0.26272064447402954,
0.05856829509139061,
0.0669960230588913,
0.09243336319923401,
-0.08408009260892868,
0.6356037855148315,
0.29440560936927795,
-0.49541452527046204,
-0.6198171377182007,
-0.9103158116340637,
0.6046647429466248,
-0.3923521041870117,
0.5478066802024841,
0.22780026495456696,
0.3194439113140106,
-0.18685650825500488,
-0.5081558227539062,
-0.2726070284843445,
-0.3467434048652649,
0.21231818199157715,
0.09554190933704376,
-0.43245935440063477,
-0.10176970809698105,
0.1116371750831604,
-0.0312897227704525,
-0.8158902525901794,
0.39572829008102417,
-0.398758202791214,
-0.3799411356449127,
0.2612189054489136,
-0.20528878271579742,
0.23507848381996155,
-0.3918212056159973,
-0.6838538646697998,
-0.30030372738838196,
-1.007166862487793,
0.03349187225103378,
0.6508158445358276,
0.14454887807369232,
-0.14561490714550018,
0.5634342432022095,
0.4835185706615448,
0.451608806848526,
-0.31175345182418823,
0.07819956541061401,
0.29657283425331116,
-0.1832798272371292,
0.07206220179796219,
-0.017207274213433266,
0.6151986122131348,
0.1571965515613556,
0.1497497856616974,
-0.604531466960907,
-0.2705991268157959,
0.08891773968935013,
0.6641891002655029,
-0.6533176898956299,
-0.2992325723171234,
0.32015788555145264,
-0.3102671504020691,
-0.45125365257263184,
0.27934709191322327,
-0.6184409856796265,
-0.39467498660087585,
0.005871879868209362,
0.3325504660606384,
-0.5676113963127136,
-0.07691480219364166,
0.015906238928437233,
-0.3743912875652313,
0.614120602607727,
-0.2237565815448761,
-0.5447500944137573,
-0.03187381848692894,
0.9150802493095398,
0.8694471120834351,
0.04192161560058594,
0.1434781551361084,
-0.5765759348869324,
-0.02264433540403843,
-0.17174015939235687,
0.714080274105072,
-0.26376834511756897,
-0.4865157902240753,
0.4884193241596222,
-0.12181670218706131,
0.3843160569667816,
-0.5462130308151245,
0.5835363864898682,
-0.6986696124076843,
0.19524918496608734,
0.014015022665262222,
-0.19709710776805878,
-0.008478982374072075,
0.3269113600254059,
-0.6853392720222473,
1.1834989786148071,
0.40812909603118896,
-1.1576930284500122,
0.1066674143075943,
-0.0231939647346735,
-0.35306069254875183,
-0.2537056505680084,
-0.2731628119945526,
-0.6145622730255127,
0.19153845310211182,
0.10208852589130402,
0.4287000894546509,
-0.18120132386684418,
-0.22430327534675598,
-0.15317465364933014,
-0.1223573386669159,
0.32682397961616516,
-0.4297427833080292,
0.7229585647583008,
-0.03587174415588379,
-0.4794119596481323,
0.04307544603943825,
-0.5479615926742554,
-0.21885980665683746,
0.13557347655296326,
-0.4073450565338135,
-0.536621630191803,
0.14761872589588165,
-0.03642043471336365,
0.44653743505477905,
0.015451361425220966,
-0.619358241558075,
0.09015917032957077,
-0.8322001695632935,
0.142973855137825,
0.7979061007499695,
-0.2108137309551239,
0.44764891266822815,
0.02938423678278923,
0.4257456660270691,
0.3323519825935364,
0.26638326048851013,
0.26297324895858765,
-0.655383288860321,
-0.5669611096382141,
0.0654078796505928,
0.2716621458530426,
1.0255162715911865,
-1.1504757404327393,
0.7127591371536255,
-0.23214758932590485,
-0.30269643664360046,
-0.3401327133178711,
0.1718500256538391,
0.5661731362342834,
0.3657502233982086,
0.44574207067489624,
-0.1361071914434433,
-0.6043385863304138,
-0.9229627847671509,
-0.2928868532180786,
-0.45815691351890564,
-0.25388824939727783,
0.09644056856632233,
0.5180454254150391,
-0.45325392484664917,
0.7093282341957092,
-0.40564122796058655,
-0.13253088295459747,
-0.5119308233261108,
0.06796155869960785,
0.04591601714491844,
0.19147595763206482,
0.6522652506828308,
-0.7141574025154114,
-0.157986581325531,
-0.11071550101041794,
-0.6326392292976379,
-0.00120503269135952,
0.01859615556895733,
-0.059444643557071686,
0.365723580121994,
0.5429845452308655,
-0.305714875459671,
0.664300799369812,
0.9747637510299683,
-0.4485202729701996,
0.4978228211402893,
-0.49489670991897583,
-0.28803765773773193,
-1.0792149305343628,
-0.21272526681423187,
-0.296105295419693,
-0.35883376002311707,
-0.626728892326355,
0.1936449110507965,
0.4030318260192871,
-0.05228371173143387,
-0.5700834393501282,
-0.0857648104429245,
-0.5954486131668091,
-0.3071554899215698,
-0.060197945684194565,
0.19201971590518951,
-0.06945287436246872,
0.2647433876991272,
-0.26445725560188293,
0.6150588989257812,
0.4661847949028015,
-0.3362812101840973,
0.5075677037239075,
0.239532008767128,
-0.32213640213012695,
-0.08411543071269989,
-0.7867461442947388,
0.46049433946609497,
-0.16796720027923584,
0.129706472158432,
-0.9532055258750916,
0.27553653717041016,
0.17529675364494324,
-0.40913650393486023,
0.707922637462616,
-0.2598974406719208,
-0.5116530656814575,
-0.545823872089386,
-0.7247618436813354,
0.07965514063835144,
0.701524555683136,
-0.6162632703781128,
0.3370937407016754,
0.28056782484054565,
0.115751713514328,
-0.5247460603713989,
-1.1255040168762207,
0.06715276092290878,
0.021792331710457802,
-0.7839645147323608,
0.18730704486370087,
0.10757596790790558,
0.05265830084681511,
-0.09090283513069153,
-0.05232685059309006,
0.25495174527168274,
0.18787412345409393,
0.632839560508728,
0.45234590768814087,
-0.050070349127054214,
0.07981380075216293,
-0.11858364194631577,
-0.5237792134284973,
0.24407696723937988,
-0.4183730483055115,
0.5009579062461853,
-0.28617948293685913,
-0.5809192657470703,
0.0978260189294815,
0.3848765194416046,
0.2798269987106323,
-0.34506168961524963,
0.9251258373260498,
0.595355212688446,
-0.13363014161586761,
-0.19470518827438354,
-0.29007044434547424,
-0.10273215174674988,
-0.45184895396232605,
0.4252837300300598,
-0.16820108890533447,
-0.9930213093757629,
0.410216361284256,
-0.1495552361011505,
0.021893566474318504,
0.3168115019798279,
0.6644797325134277,
0.17818772792816162,
0.7340215444564819,
0.7134590148925781,
-0.3936656415462494,
0.24273782968521118,
-0.4231107234954834,
0.5157170295715332,
-0.6680457592010498,
-0.49839600920677185,
-0.7213173508644104,
-0.20713263750076294,
-0.9095859527587891,
-0.9291595220565796,
0.5733153820037842,
-0.15179163217544556,
0.09545596688985825,
0.7701919078826904,
-0.7615299224853516,
0.22165367007255554,
0.3088066875934601,
0.0590704008936882,
-0.14197060465812683,
-0.03273770958185196,
-0.3181016445159912,
0.1629003882408142,
-0.4133973717689514,
-0.24292850494384766,
1.2251938581466675,
0.68756502866745,
0.6753848195075989,
0.5197170972824097,
0.8674604892730713,
0.20946793258190155,
-0.16517426073551178,
-0.905034601688385,
0.3115372657775879,
-0.13161876797676086,
-0.40807873010635376,
-0.10496625304222107,
-0.29506930708885193,
-1.0784132480621338,
-0.019847918301820755,
-0.21308352053165436,
-0.5779595375061035,
0.2943432927131653,
-0.22022636234760284,
-0.2739451825618744,
0.388740211725235,
-0.6928514242172241,
0.7126278877258301,
-0.26423379778862,
-0.2586345374584198,
-0.18138378858566284,
-0.8877301216125488,
0.11949367821216583,
0.2245861142873764,
0.2364431470632553,
0.08253134042024612,
-0.041780710220336914,
0.39290645718574524,
-0.31150180101394653,
0.6935046911239624,
-0.2829570472240448,
-0.22933842241764069,
0.38325491547584534,
0.2852915823459625,
0.8507553935050964,
0.15964652597904205,
-0.07722719758749008,
0.22423504292964935,
-0.18465052545070648,
-0.34106388688087463,
-0.39408066868782043,
0.729827880859375,
-0.7523164749145508,
-0.42936521768569946,
-0.5883766412734985,
-0.22086241841316223,
-0.25669392943382263,
-0.1520601361989975,
0.3982829749584198,
0.6201689839363098,
-0.17237497866153717,
0.35962483286857605,
0.8479228615760803,
-0.6099048256874084,
0.6348148584365845,
0.26745983958244324,
-0.07435314357280731,
-0.17975686490535736,
0.5729644894599915,
-0.1351556032896042,
0.12622052431106567,
0.683474063873291,
0.20390143990516663,
-0.13242864608764648,
-0.6862300038337708,
-0.2289678454399109,
-0.04604821279644966,
-0.6221491694450378,
-0.734862744808197,
-0.5542820692062378,
-0.4756021201610565,
-0.3308067321777344,
-0.12621952593326569,
-0.5265774130821228,
-0.2897881269454956,
-0.0756487101316452,
-0.4217666983604431,
0.4577209949493408,
0.5622348785400391,
-0.08876009285449982,
-0.11828318983316422,
-0.9725672006607056,
0.33062154054641724,
0.3668997287750244,
-0.015305261127650738,
-0.3441852629184723,
-0.5222037434577942,
-0.20807313919067383,
-0.021137362346053123,
-0.33461999893188477,
-1.1289676427841187,
0.48156923055648804,
-0.08201788365840912,
0.20360305905342102,
0.33367493748664856,
-0.07193963974714279,
0.23005229234695435,
-0.5609209537506104,
0.797710120677948,
0.30255869030952454,
-0.6174927949905396,
0.7092986702919006,
0.1918477863073349,
0.12516039609909058,
0.5987499952316284,
0.41386088728904724,
-0.3213615417480469,
-0.38711607456207275,
-0.38278448581695557,
-0.9882040023803711,
0.47971224784851074,
0.2871730923652649,
0.24329137802124023,
-0.11938817799091339,
0.13711896538734436,
0.10684339702129364,
-0.12147743254899979,
-0.4723864197731018,
-0.13723166286945343,
-0.1946212202310562,
-0.0235876627266407,
0.22448018193244934,
-0.5440015196800232,
0.0054835663177073,
-0.23266197741031647,
0.3081341087818146,
-0.06526642292737961,
0.785566508769989,
0.1069803535938263,
-0.2638363242149353,
0.21417316794395447,
0.19238409399986267,
0.4159763753414154,
0.11490289866924286,
-0.2592339515686035,
0.5035890936851501,
0.20743247866630554,
-0.5450929999351501,
-0.058593083173036575,
0.05009116232395172,
-0.09314907342195511,
0.14285911619663239,
0.7954344749450684,
0.8846125602722168,
0.4402807652950287,
-0.6990435123443604,
1.0619540214538574,
-0.0941753014922142,
-0.00879297312349081,
-0.6467409729957581,
-0.053192172199487686,
0.22168859839439392,
0.23143230378627777,
-0.0018743617692962289,
0.2489389330148697,
0.23032942414283752,
-0.7360025644302368,
0.1945897787809372,
0.505394697189331,
-0.6064451932907104,
-0.4497114419937134,
0.35393136739730835,
0.16218778491020203,
-0.20203067362308502,
1.0635921955108643,
-0.05122126266360283,
-0.6632317304611206,
0.6183267831802368,
0.5393393635749817,
1.1819217205047607,
-0.27551695704460144,
0.1879514902830124,
0.15029606223106384,
0.6345134377479553,
0.27554264664649963,
0.22817464172840118,
-0.016555365175008774,
-0.7644013166427612,
-0.07312311232089996,
-0.5620691776275635,
-0.003362509189173579,
-0.31795331835746765,
-0.594487190246582,
0.2875858247280121,
-0.40888842940330505,
-0.04436010122299194,
-0.33519405126571655,
-0.30103057622909546,
-0.7969537377357483,
-0.3943273723125458,
0.3583260476589203,
1.0776960849761963,
-0.9129462242126465,
0.8548190593719482,
0.38505589962005615,
-0.3151930272579193,
-0.7314684391021729,
0.17194929718971252,
0.05026945471763611,
-0.7962805032730103,
0.6165322661399841,
0.3971973657608032,
-0.0002779612841550261,
-0.5821064114570618,
-0.20689967274665833,
-0.45762425661087036,
1.1352827548980713,
0.3467768430709839,
-0.5120718479156494,
-0.13408388197422028,
0.4676281809806824,
0.6098759770393372,
0.10954655706882477,
0.44291284680366516,
0.5820522308349609,
0.3989580571651459,
0.25014400482177734,
-0.5218603610992432,
-0.16089381277561188,
-0.02377202920615673,
0.29040008783340454,
0.35512423515319824,
-0.28463512659072876,
0.38048282265663147,
-0.2568577229976654,
-0.061829354614019394,
-0.16023486852645874,
0.7180101275444031,
0.03165430575609207,
0.2617590129375458,
0.4853902757167816,
0.6629982590675354,
0.2461303472518921,
-0.16938872635364532,
1.2481210231781006,
-0.3120860755443573,
0.16512469947338104,
0.9309793710708618,
-0.1361275315284729,
1.1295443773269653,
0.5590984225273132,
-0.3358473777770996,
0.9236963391304016,
0.12141295522451401,
0.05436090752482414,
0.7100715637207031,
0.2419988065958023,
-0.2924085259437561,
0.02707258239388466,
0.34658414125442505,
-0.23668557405471802,
0.5619398951530457,
0.2671569585800171,
-0.29728323221206665,
-0.34405383467674255,
0.22532671689987183,
0.10713622719049454,
-0.03462619706988335,
0.1281559318304062,
0.8634069561958313,
0.24853408336639404,
-0.3209541440010071,
0.4878494143486023,
0.39695507287979126,
0.7512010931968689,
-0.8115013837814331,
0.19480974972248077,
-0.11654723435640335,
0.37273889780044556,
-0.2102184295654297,
-0.8314058780670166,
0.7939106225967407,
0.09239818155765533,
-0.05903765931725502,
-0.18211795389652252,
0.9493985176086426,
-0.17708320915699005,
-0.3373289108276367,
0.7312231659889221,
0.021263718605041504,
-0.10159479081630707,
-0.3399096131324768,
-0.6302197575569153,
0.1180533692240715,
-0.051274266093969345,
-0.33375969529151917,
0.4519450068473816,
0.46184152364730835,
0.10687564313411713,
0.6225228905677795,
0.638332188129425,
-0.014229913242161274,
0.31924620270729065,
0.1834297478199005,
1.0655053853988647,
-0.4050805866718292,
-0.2157384604215622,
-0.7451276779174805,
0.5734745860099792,
-0.033137835562229156,
-0.027640055865049362,
0.7491985559463501,
0.6377452611923218,
0.6253609657287598,
-0.34117674827575684,
0.5349801182746887,
-0.09318149834871292,
0.18542297184467316,
-0.5702194571495056,
0.29614681005477905,
-0.09573846310377121,
0.5372576117515564,
0.001712694764137268,
-0.6988781690597534,
-0.3227360248565674,
0.41748371720314026,
-0.22981776297092438,
-0.10502616316080093,
0.6801967620849609,
1.2033194303512573,
0.10432156175374985,
-0.32161837816238403,
0.3045346438884735,
0.2266966700553894,
0.44244903326034546,
0.8894273042678833,
0.7428066730499268,
-0.7061043381690979,
0.5459681749343872,
-0.3312569558620453,
-0.2391323298215866,
-0.4214302599430084,
-0.9315581917762756,
-0.955463707447052,
-0.5297943353652954,
-0.21011897921562195,
-0.6525082588195801,
0.17950044572353363,
0.6701040863990784,
0.3309074342250824,
-0.9556059241294861,
0.2849033772945404,
-0.30858826637268066,
0.2565927803516388,
-0.09828823804855347,
-0.24076226353645325,
0.36112353205680847,
-0.22534339129924774,
-0.17619171738624573,
0.41331708431243896,
0.608821451663971,
-0.11571095883846283,
-0.5389630794525146,
-0.13815107941627502,
-0.0807252898812294,
0.11277250200510025,
0.7354697585105896,
0.17528457939624786,
-0.47536712884902954,
-0.6999013423919678,
-0.15738461911678314,
-0.3256920278072357,
-0.07895167917013168,
0.8244263529777527,
-0.8416167497634888,
0.4650964140892029,
1.0636006593704224,
0.7062382698059082,
0.32247647643089294,
-0.34542396664619446,
0.2604545056819916,
-1.0477313995361328,
0.6390551328659058,
0.4199221134185791,
0.17830519378185272,
0.3198029696941376,
-0.4599500894546509,
0.3628041446208954,
0.11310636252164841,
-0.4487730860710144,
-0.6379473209381104,
0.3800659775733948,
-0.9844996929168701,
-0.5219282507896423,
1.2311244010925293,
-0.09043611586093903,
-0.34667494893074036,
-0.13034771382808685,
-0.06790260970592499,
0.31306192278862,
0.15081904828548431,
0.5857973694801331,
0.22544722259044647,
0.05423375964164734,
0.10927639901638031,
-0.7045827507972717,
0.2930649518966675,
0.12612999975681305,
-0.5541882514953613,
-0.09272417426109314,
0.10809219628572464,
0.21833504736423492,
0.2273954451084137,
0.00998112466186285,
-0.5444126129150391,
0.012596756219863892,
0.14030885696411133,
0.2802898585796356,
-0.25750669836997986,
-0.46643951535224915,
-0.4008719027042389,
0.16299189627170563,
0.08438748866319656,
-0.36205726861953735
] |
http://arxiv.org/abs/2405.20608v1
|
http://arxiv.org/pdf/2405.20608v1
|
Identifying while Learning for Document Event Causality Identification
| 2024-05-31T03:48:00 | 2024-05-31T03:48:00 |
Cheng Liu, Wei Xiang, Bang Wang
|
cs.CL
|
cs.CL
|
Event Causality Identification (ECI) aims to detect whether there exists a
causal relation between two events in a document. Existing studies adopt a kind
of identifying after learning paradigm, where events' representations are first
learned and then used for the identification. Furthermore, they mainly focus on
the causality existence, but ignoring causal direction. In this paper, we take
care of the causal direction and propose a new identifying while learning mode
for the ECI task. We argue that a few causal relations can be easily identified
with high confidence, and the directionality and structure of these identified
causalities can be utilized to update events' representations for boosting next
round of causality identification. To this end, this paper designs an
*iterative learning and identifying framework*: In each iteration, we construct
an event causality graph, on which events' causal structure representations are
updated for boosting causal identification. Experiments on two public datasets
show that our approach outperforms the state-of-the-art algorithms in both
evaluations for causality existence identification and direction
identification.
|
[
-0.0835224837064743,
-0.5353192687034607,
0.8668019771575928,
0.1714469939470291,
-0.40062254667282104,
0.12057610601186752,
-0.22146882116794586,
-0.5617881417274475,
0.2627880573272705,
0.03469421714544296,
-0.9132013320922852,
-0.5504708886146545,
-0.7703918218612671,
0.04996754229068756,
-0.5374575853347778,
0.9737852811813354,
-0.11571759730577469,
0.07958219200372696,
-0.2527497112751007,
-0.15660469233989716,
-0.44378662109375,
-0.42238616943359375,
-1.4398980140686035,
-0.3762851059436798,
0.9347229599952698,
0.3378969132900238,
-0.12942057847976685,
0.8176513314247131,
0.36506977677345276,
0.4547578990459442,
0.03301972523331642,
-0.06473618745803833,
-0.6008952260017395,
0.037268538028001785,
-0.10503148287534714,
-0.47200730443000793,
-0.10147260874509811,
0.20175759494304657,
1.0547696352005005,
0.786895215511322,
0.09974415600299835,
0.016428081318736076,
0.05814795196056366,
0.5717371702194214,
-0.6067138314247131,
0.5149238705635071,
-0.6201260089874268,
-0.11765392869710922,
-0.5034804344177246,
-0.7629008889198303,
-0.4801290035247803,
-0.22185873985290527,
-0.05843646079301834,
-0.8087067604064941,
0.5254309177398682,
0.05643429979681969,
0.9497687816619873,
-0.14193278551101685,
-0.4919257164001465,
-0.44710052013397217,
-0.7000328898429871,
0.7307797074317932,
-0.21941640973091125,
0.5396406054496765,
0.2930819094181061,
0.4826160967350006,
-0.026606936007738113,
-0.7105414271354675,
-0.4813956618309021,
0.08710058778524399,
-0.1135755330324173,
0.3592965602874756,
0.2373877465724945,
-0.23933649063110352,
0.4113249182701111,
-0.31910598278045654,
-0.3535608649253845,
0.22277608513832092,
-0.4901103079319,
-0.1465582400560379,
0.6757974624633789,
0.15410275757312775,
0.1419859081506729,
-0.12576058506965637,
-0.5440641641616821,
-0.15450803935527802,
-0.6649653911590576,
0.08159589022397995,
0.5235115885734558,
0.23080264031887054,
0.04959423094987869,
0.2099442481994629,
-0.06190909817814827,
0.2639741599559784,
0.4577694237232208,
-0.47508499026298523,
0.32848355174064636,
-0.38782942295074463,
-0.04539918899536133,
0.2838762104511261,
0.4780549108982086,
0.3564286231994629,
-0.2805357277393341,
-0.40097475051879883,
-0.2584209740161896,
-0.0900958776473999,
0.254618376493454,
-0.46562477946281433,
0.022315625101327896,
0.15839502215385437,
-0.6870905756950378,
-0.32161787152290344,
0.3800070285797119,
-0.7848955392837524,
-0.7450264692306519,
-0.44385090470314026,
0.4209132194519043,
-0.37634119391441345,
-0.2781884968280792,
-0.3650343418121338,
-0.4091404378414154,
0.6937932968139648,
0.4184657037258148,
-0.7279689908027649,
-0.08127283304929733,
0.9031994342803955,
0.5981109738349915,
0.013977558352053165,
-0.46796873211860657,
-0.7022922039031982,
0.2435777187347412,
-0.3929234743118286,
1.0089906454086304,
-0.5573129057884216,
-0.37188950181007385,
0.20207707583904266,
0.40163812041282654,
-0.24117879569530487,
-0.07748331874608994,
0.5598127245903015,
-0.9552449584007263,
0.16881291568279266,
-0.6346400380134583,
-0.7067524194717407,
-0.19857332110404968,
0.21250233054161072,
-0.6449392437934875,
0.7050275802612305,
-0.10497421026229858,
-1.0434730052947998,
0.9156235456466675,
-0.2764522135257721,
-0.5106237530708313,
0.03849204257130623,
-0.2932603657245636,
-0.7995799779891968,
-0.007205604109913111,
-0.1789255291223526,
0.3540475368499756,
0.08312109857797623,
0.32776644825935364,
-0.3566209673881531,
-0.09775572270154953,
0.13089418411254883,
-0.3149532079696655,
0.9081953167915344,
-0.11794349551200867,
-0.1653582751750946,
0.5129991173744202,
-1.341211199760437,
-0.544980525970459,
0.05253470316529274,
-0.24632489681243896,
-0.400351881980896,
0.5253769755363464,
-0.1015186682343483,
0.061068229377269745,
0.0999395102262497,
-0.682044506072998,
0.14766767621040344,
-0.10612644255161285,
0.02568119578063488,
1.1507091522216797,
0.40413975715637207,
0.48210152983665466,
-0.18587486445903778,
0.1633303314447403,
0.18620936572551727,
0.11513105779886246,
-0.1958165019750595,
-0.5490658283233643,
-0.7527500987052917,
-0.16501151025295258,
0.17112576961517334,
0.42879849672317505,
-0.732454240322113,
0.2799522578716278,
-0.12331509590148926,
-0.32141488790512085,
0.11028644442558289,
-0.009298263117671013,
0.2652992904186249,
0.8770714998245239,
0.2900989353656769,
-0.05892789363861084,
-0.8521345257759094,
-0.2824040949344635,
-0.19586701691150665,
-0.5226612687110901,
-0.21301859617233276,
0.11185741424560547,
0.38333451747894287,
-0.08695553243160248,
0.5396115183830261,
-0.3462248742580414,
-0.1999342441558838,
-0.11890777945518494,
0.6714355945587158,
0.0018623840296640992,
0.34078189730644226,
0.4804283678531647,
-0.8392682075500488,
-0.23551957309246063,
-0.04346991702914238,
-0.6972384452819824,
-0.07017666846513748,
-0.6879656910896301,
-0.19614166021347046,
0.11690264195203781,
0.9815506339073181,
0.0943298414349556,
0.6050086617469788,
-0.2164456695318222,
-0.5467091202735901,
0.4074203670024872,
-0.4783286452293396,
0.0773722380399704,
-0.8545790910720825,
0.027776548638939857,
0.26230159401893616,
0.026367532089352608,
-0.542755126953125,
-0.15631331503391266,
0.49349650740623474,
-0.09718003123998642,
-0.362955778837204,
0.40612637996673584,
-0.7215024828910828,
0.11770039796829224,
-0.30755743384361267,
0.3878714442253113,
-0.08917679637670517,
0.6400204300880432,
0.303725928068161,
0.28279387950897217,
0.7861461639404297,
-0.7520003914833069,
-0.004852212965488434,
0.06623197346925735,
-0.19513992965221405,
0.8589046001434326,
-0.22078844904899597,
0.027185847982764244,
-0.7768828272819519,
0.227514386177063,
-0.8256761431694031,
-0.20449775457382202,
0.21942618489265442,
-0.33974510431289673,
0.776584267616272,
-0.21860550343990326,
-0.15038342773914337,
-0.3662433922290802,
-0.4212735593318939,
0.2957680821418762,
0.05114087834954262,
-0.8979978561401367,
1.0950616598129272,
0.32169467210769653,
0.2975529730319977,
-0.6508280634880066,
0.09791897237300873,
-0.31352922320365906,
-0.47797346115112305,
-0.26273012161254883,
0.44022202491760254,
0.13715922832489014,
-0.08785273134708405,
-0.2963593006134033,
-0.16676416993141174,
-0.15411697328090668,
0.28963667154312134,
0.5175169110298157,
0.5048103332519531,
-0.015702271834015846,
0.37963876128196716,
-0.09748410433530807,
-0.6911066770553589,
0.19682057201862335,
-0.21258199214935303,
-0.03487091884016991,
0.38900843262672424,
-0.40561723709106445,
-0.730858325958252,
0.7193704843521118,
0.4012947976589203,
-0.2941263020038605,
0.73006671667099,
0.8290141820907593,
-0.638621985912323,
0.1876148283481598,
-0.6069823503494263,
-0.10984859615564346,
-0.4693985879421234,
0.4039939045906067,
-0.5048879384994507,
-0.15938112139701843,
0.6837096214294434,
-0.2685699760913849,
-0.1281135380268097,
0.572380781173706,
0.17076042294502258,
-0.22264620661735535,
0.8558213114738464,
1.0393832921981812,
-0.570816695690155,
0.8375903964042664,
-0.2319505363702774,
0.22146056592464447,
-0.877208948135376,
-0.6227375864982605,
-0.9640066623687744,
-0.14826206862926483,
-0.5776635408401489,
-0.1584014594554901,
0.45028772950172424,
0.4116155803203583,
-0.13183757662773132,
0.2845483720302582,
-0.14721547067165375,
0.5606908798217773,
0.5351385474205017,
0.3421472907066345,
0.2599809169769287,
-0.4742973744869232,
0.05519866570830345,
0.2331864982843399,
-0.4902767837047577,
-0.16306956112384796,
1.2357603311538696,
0.05812818929553032,
0.3512471318244934,
-0.09640993177890778,
1.0942777395248413,
-0.1495528221130371,
0.7363899946212769,
-0.5020194053649902,
0.42539215087890625,
0.3815617263317108,
-0.34827062487602234,
-0.25055640935897827,
-0.2927270829677582,
-1.212007761001587,
-0.22409175336360931,
-0.6010962128639221,
-1.0409528017044067,
0.6111932992935181,
-0.1501370668411255,
-0.06738192588090897,
0.231869176030159,
-0.5053699612617493,
0.7626399993896484,
0.026505401358008385,
-0.4353809058666229,
-0.4678138196468353,
-0.6372849941253662,
-0.2596733868122101,
0.04259665310382843,
0.17835621535778046,
0.1825169026851654,
0.06757105141878128,
1.0304174423217773,
-0.14484763145446777,
0.901236355304718,
-0.30075424909591675,
0.09042976051568985,
0.42373913526535034,
-0.4617560803890228,
0.8646479249000549,
0.3987225294113159,
-0.18539321422576904,
0.11456675082445145,
-0.1565704643726349,
-0.3486822545528412,
-0.7580503821372986,
0.7598491907119751,
-0.5113605856895447,
-0.6247828006744385,
-0.30226895213127136,
-0.010713457129895687,
0.06939874589443207,
0.5240302085876465,
0.2324400544166565,
0.9645747542381287,
-0.27443715929985046,
-0.1441550999879837,
0.507585883140564,
-0.03318922594189644,
0.8810206651687622,
0.7245087623596191,
0.26201483607292175,
-0.07416923344135284,
1.1875673532485962,
0.20073924958705902,
-0.3260846734046936,
0.33610963821411133,
0.21905730664730072,
-0.3942415118217468,
-0.5381396412849426,
-0.35795900225639343,
0.46225228905677795,
-0.8969361186027527,
-0.1083170473575592,
-0.43323102593421936,
-0.031758081167936325,
-0.1876772940158844,
-0.45602208375930786,
-0.14568552374839783,
-0.09656009078025818,
-0.6016107201576233,
-0.36554601788520813,
-0.02569212019443512,
0.43440961837768555,
-0.15309597551822662,
-0.09787119925022125,
-0.3286621868610382,
0.24142098426818848,
0.3766530156135559,
0.34391283988952637,
0.10314121842384338,
-0.07840823382139206,
-0.052931901067495346,
-0.4576048254966736,
-0.41943249106407166,
-1.2140296697616577,
0.06958699971437454,
0.171511709690094,
0.6187779307365417,
1.148565411567688,
-0.018138010054826736,
0.6748267412185669,
-0.7046014070510864,
0.2943611145019531,
0.34472912549972534,
-0.7370970845222473,
0.6149850487709045,
-0.18027766048908234,
-0.09189423173666,
0.6035025119781494,
0.7463359832763672,
-0.2742612659931183,
-0.5571039319038391,
-0.9173038601875305,
-0.7539583444595337,
0.5791346430778503,
-0.05744602531194687,
-0.1278616338968277,
-0.32150864601135254,
0.7116336822509766,
-0.018396485596895218,
0.046267133206129074,
-0.7153303027153015,
-0.3613443970680237,
0.019396061077713966,
-0.12933290004730225,
-0.07242348045110703,
-0.33739781379699707,
-0.17262940108776093,
-0.27330249547958374,
0.7990988492965698,
-0.16799619793891907,
0.4725739061832428,
0.36997562646865845,
0.016671599820256233,
-0.31043097376823425,
0.027845704928040504,
0.2745244801044464,
1.0013633966445923,
-0.2542029619216919,
0.08765807747840881,
0.007553980220109224,
-0.1325209140777588,
-0.16907109320163727,
0.34627601504325867,
-0.10200832039117813,
-0.1644456684589386,
0.8532450795173645,
0.6933074593544006,
0.35486868023872375,
-0.3762354254722595,
0.7718284130096436,
0.10129112750291824,
-0.0714406967163086,
-0.38454121351242065,
-0.00823842454701662,
-0.16434067487716675,
0.5757669806480408,
0.5050367712974548,
-0.20385479927062988,
0.2406732141971588,
-0.6952396035194397,
0.24030473828315735,
0.6600597500801086,
-0.5954356789588928,
-0.34354254603385925,
0.7582224011421204,
0.272257536649704,
-0.4618934392929077,
0.4964834153652191,
-0.3707018196582794,
-0.6756117939949036,
0.7796779870986938,
0.4845437705516815,
0.9412792921066284,
-0.0870562493801117,
0.23404251039028168,
0.6882025003433228,
0.2083510160446167,
0.20648831129074097,
0.23483149707317352,
-0.4478553831577301,
-0.8579198122024536,
-0.14581544697284698,
-0.27672356367111206,
-0.1524348258972168,
-0.037307608872652054,
-0.8420943021774292,
0.48491182923316956,
-0.2628166973590851,
-0.026763688772916794,
0.3893706202507019,
0.2594582438468933,
-0.676056981086731,
0.07654686272144318,
0.23545219004154205,
0.5913476347923279,
-1.2173036336898804,
0.8497918844223022,
0.3254610002040863,
-0.429280549287796,
-0.8060560822486877,
0.029200835153460503,
0.21089762449264526,
-0.39370977878570557,
0.4455850422382355,
0.40975120663642883,
-0.04644327610731125,
0.004058795515447855,
-0.3999923765659332,
-0.6774531602859497,
1.4193356037139893,
-0.35497787594795227,
-0.5169801712036133,
0.09568320959806442,
-0.5138470530509949,
0.4191769063472748,
-0.3215734362602234,
0.5323092937469482,
0.39202702045440674,
0.5559534430503845,
0.023693816736340523,
-0.22565600275993347,
0.22084321081638336,
0.021970510482788086,
-0.16706477105617523,
0.22516299784183502,
-0.5595356225967407,
0.5525322556495667,
-0.3237496316432953,
-0.7833853960037231,
-0.19106389582157135,
0.9102261066436768,
0.016624432057142258,
0.8603287935256958,
0.5881959199905396,
0.1810343861579895,
1.2958487272262573,
-0.18944062292575836,
0.9950132966041565,
-0.27873313426971436,
0.32597365975379944,
0.9078733921051025,
-0.017463963478803635,
0.6134210824966431,
0.45977258682250977,
0.07616514712572098,
0.7849265336990356,
0.6450833082199097,
0.2213258445262909,
0.7011623978614807,
-0.17518401145935059,
-0.3362848162651062,
-0.22633428871631622,
0.42040225863456726,
-0.15691052377223969,
-0.02027890458703041,
0.23054364323616028,
-0.23249147832393646,
-0.36752834916114807,
0.17208698391914368,
-0.002316795289516449,
-0.13430523872375488,
-0.3706822991371155,
0.9189366698265076,
-0.29682356119155884,
-0.4650118052959442,
0.28059935569763184,
0.24943506717681885,
0.06682141870260239,
-0.6229727268218994,
-0.023158933967351913,
-0.11702249944210052,
-0.08625764399766922,
-0.0951160341501236,
-0.2869891822338104,
0.3251388370990753,
-0.41105103492736816,
-0.3346421718597412,
-0.040415097028017044,
0.8509471416473389,
-0.44462376832962036,
-0.6560088396072388,
0.5017973184585571,
0.18524065613746643,
-0.30283915996551514,
0.2886803150177002,
-0.5155692100524902,
0.030435696244239807,
-0.23834452033042908,
-0.17611926794052124,
0.2864600718021393,
0.8055822253227234,
-0.3623061776161194,
0.6701792478561401,
0.46689197421073914,
-0.13669489324092865,
-0.18701553344726562,
0.27281028032302856,
0.9589411616325378,
-0.6487091779708862,
-0.5856218338012695,
-0.6890631318092346,
0.3924945592880249,
-0.4941616356372833,
-0.35109972953796387,
0.6883078813552856,
0.29739871621131897,
0.7269385457038879,
0.18731197714805603,
0.2305096536874771,
0.16393278539180756,
0.3098914623260498,
-0.6465087532997131,
0.4032987952232361,
-0.3955443799495697,
0.3005824089050293,
-0.48806771636009216,
-0.6075364351272583,
-0.39781954884529114,
0.4978444576263428,
-0.5381320118904114,
-0.30367007851600647,
1.19468355178833,
0.7581865191459656,
-0.005462430417537689,
0.28378045558929443,
-0.05864621326327324,
0.16850167512893677,
0.2085365504026413,
0.3470725119113922,
0.6054274439811707,
-0.36095985770225525,
0.18325692415237427,
-0.2414141744375229,
-0.7555092573165894,
-0.1318695843219757,
-1.166201114654541,
-0.914935290813446,
-0.9798257946968079,
-0.796162486076355,
-0.18674792349338531,
0.051984142512083054,
0.4190642237663269,
0.6982717514038086,
-0.7351197600364685,
0.04368741065263748,
-0.26511237025260925,
0.5998689532279968,
-0.6590007543563843,
-0.24543847143650055,
0.8271530866622925,
-0.5689811110496521,
-0.5504782795906067,
0.5553473234176636,
0.3488524854183197,
-0.28360649943351746,
0.01688489131629467,
0.23853594064712524,
-0.3610987365245819,
0.2402731031179428,
0.44187596440315247,
0.5093140602111816,
-0.14446409046649933,
-0.7155629992485046,
-0.5010397434234619,
0.3155515193939209,
0.22611118853092194,
1.17257559299469,
-0.7118251919746399,
0.7567179203033447,
0.25446632504463196,
0.6176542639732361,
0.6021631360054016,
-0.06713423132896423,
0.32298946380615234,
-0.7247670888900757,
0.35219693183898926,
-0.23630376160144806,
0.5161855816841125,
0.08710591495037079,
-0.6663383841514587,
0.22584034502506256,
0.4844488501548767,
-0.3091084361076355,
-0.5143021941184998,
0.10652249306440353,
-1.0712121725082397,
-0.09328249096870422,
0.7989015579223633,
-0.12810423970222473,
-0.6088669896125793,
-0.3714405596256256,
0.028750918805599213,
0.4222105145454407,
-0.01749201864004135,
0.9661059975624084,
0.5215981602668762,
-0.16734007000923157,
0.1178322359919548,
-0.09861700236797333,
0.5257472991943359,
-0.13866420090198517,
-0.614281177520752,
-0.33788877725601196,
0.5109260082244873,
0.28261658549308777,
0.23959098756313324,
0.8925181031227112,
-0.20565244555473328,
0.1811758428812027,
0.016722850501537323,
-0.271369606256485,
0.2248418629169464,
-0.8543619513511658,
-0.1461815983057022,
0.2664238512516022,
-0.2662207782268524,
-0.4028873145580292
] |
http://arxiv.org/abs/2405.20602v1
|
http://arxiv.org/pdf/2405.20602v1
|
Masked Language Modeling Becomes Conditional Density Estimation for Tabular Data Synthesis
| 2024-05-31T03:26:42 | 2024-05-31T03:26:42 |
Seunghwan An, Gyeongdong Woo, Jaesung Lim, ChangHyun Kim, Sungchul Hong, Jong-June Jeon
|
cs.LG
|
cs.LG, cs.CL
|
In this paper, our goal is to generate synthetic data for heterogeneous
(mixed-type) tabular datasets with high machine learning utility (MLu). Given
that the MLu performance relies on accurately approximating the conditional
distributions, we focus on devising a synthetic data generation method based on
conditional distribution estimation. We propose a novel synthetic data
generation method, MaCoDE, by redefining the multi-class classification task of
Masked Language Modeling (MLM) as histogram-based non-parametric conditional
density estimation. Our proposed method enables estimating conditional
densities across arbitrary combinations of target and conditional variables.
Furthermore, we demonstrate that our proposed method bridges the theoretical
gap between distributional learning and MLM. To validate the effectiveness of
our proposed model, we conduct synthetic data generation experiments on 10
real-world datasets. Given the analogy between predicting masked input tokens
in MLM and missing data imputation, we also evaluate the performance of
multiple imputations on incomplete datasets with various missing data
mechanisms. Moreover, our proposed model offers the advantage of enabling
adjustments to data privacy levels without requiring re-training.
|
[
-0.4498961567878723,
-0.944378674030304,
0.15568991005420685,
-0.0370924174785614,
-0.028933105990290642,
0.4433111250400543,
-0.12139318138360977,
-0.19965191185474396,
0.5468073487281799,
0.9736328125,
-0.5227957367897034,
-0.7668604850769043,
-0.24835175275802612,
0.061597760766744614,
-0.3387356102466583,
0.929779052734375,
0.0671347826719284,
-0.22876301407814026,
-0.09231454133987427,
-0.07266461104154587,
-0.6604651212692261,
-0.5693587064743042,
0.053925514221191406,
0.20410241186618805,
0.21769827604293823,
0.594713032245636,
0.6549586653709412,
0.7276508808135986,
0.11751024425029755,
0.3371727168560028,
0.5357059240341187,
0.4232405424118042,
-0.38650986552238464,
0.1817249208688736,
0.21541130542755127,
-0.29376494884490967,
-0.38206636905670166,
0.1517942100763321,
0.897983193397522,
0.856968104839325,
-0.32695063948631287,
0.018662353977560997,
-0.03207575902342796,
0.61270672082901,
-0.7201822400093079,
0.07861647754907608,
-1.1723676919937134,
0.4224434494972229,
-0.05563933774828911,
-0.34850549697875977,
-0.6489484310150146,
-0.29152730107307434,
-0.2037576138973236,
-0.33664679527282715,
0.7917170524597168,
0.37446895241737366,
0.6177096962928772,
0.17379502952098846,
-0.26001298427581787,
-0.04474173113703728,
-0.6246803402900696,
0.6903601884841919,
-0.6947814226150513,
0.5152138471603394,
0.5901955366134644,
0.7308754324913025,
-0.23517534136772156,
-0.8230565786361694,
-0.828262209892273,
-0.6085191965103149,
-0.19872575998306274,
0.10052452981472015,
0.10292477905750275,
0.09811411798000336,
0.37818488478660583,
0.20787568390369415,
-0.6249243021011353,
-0.2112232893705368,
-0.4690403938293457,
-0.4315488338470459,
0.6043971180915833,
0.22775974869728088,
0.3359081745147705,
-0.26464033126831055,
-0.2661195993423462,
-0.01212465949356556,
-0.60992830991745,
-0.1990392804145813,
0.8367128968238831,
0.45024359226226807,
-0.22740820050239563,
0.8354018926620483,
-0.31025269627571106,
0.727328896522522,
-0.10232967138290405,
-0.28605058789253235,
0.4493792653083801,
-0.21315953135490417,
-0.42634671926498413,
0.47598880529403687,
0.7678897380828857,
0.08011051267385483,
-0.07260152697563171,
-0.08017239719629288,
-0.27623307704925537,
0.12295959889888763,
0.31741243600845337,
-0.7365812063217163,
-0.6099735498428345,
0.12572884559631348,
-0.10853619128465652,
-0.49343639612197876,
0.11461058259010315,
-0.8971476554870605,
-0.3413071930408478,
-0.17904941737651825,
0.33397337794303894,
-0.024343382567167282,
-0.1226525530219078,
-0.05877244845032692,
-0.10017158836126328,
-0.5208820700645447,
-0.00679220724850893,
-0.9556010961532593,
0.4748387634754181,
0.3068709075450897,
0.6468240022659302,
-0.17013682425022125,
-0.0853581503033638,
-0.7026617527008057,
0.38439908623695374,
-0.632295548915863,
0.3186074495315552,
-0.5743709802627563,
-0.23612149059772491,
-0.009380689822137356,
0.05028248950839043,
0.061187997460365295,
-0.6880992650985718,
0.21715790033340454,
-0.12572656571865082,
0.059669580310583115,
0.18867303431034088,
-0.300859659910202,
-0.0184065792709589,
0.16288447380065918,
-0.9311050772666931,
1.058947205543518,
0.2856120765209198,
-0.8407245874404907,
0.6477881073951721,
-0.4425503611564636,
-0.4747060239315033,
0.2837027609348297,
-0.2683659791946411,
-0.8104457855224609,
-0.18654946982860565,
0.1352260708808899,
0.5688729882240295,
-0.04120891913771629,
0.7919528484344482,
-0.40642398595809937,
-0.029042929410934448,
0.3421611785888672,
-0.3638783097267151,
0.5038115978240967,
0.1671099215745926,
-0.2812144458293915,
-0.032107774168252945,
-1.0811511278152466,
-0.10480496287345886,
-0.35718873143196106,
-0.06913039833307266,
-0.17681223154067993,
0.14138980209827423,
-0.030197054147720337,
0.22339239716529846,
-0.18529260158538818,
-0.6607361435890198,
-0.1171509325504303,
-0.3483039140701294,
0.17289501428604126,
0.6543586850166321,
0.21517880260944366,
0.5364732146263123,
-0.1520986258983612,
0.6324634552001953,
0.04338955506682396,
0.014085104689002037,
0.19489416480064392,
-0.6089349985122681,
-0.4343412518501282,
-0.7078856229782104,
0.38593050837516785,
0.4244266152381897,
-0.9372409582138062,
0.23703400790691376,
-0.09282376617193222,
-0.2211769074201584,
-0.2573287785053253,
0.10815916955471039,
0.29890334606170654,
0.8115773797035217,
0.3266713619232178,
0.012715570628643036,
-0.9676157832145691,
-0.9431565999984741,
0.09060502052307129,
0.15367677807807922,
0.16514752805233002,
0.4125276505947113,
0.4229457378387451,
-0.4426268935203552,
1.0571852922439575,
-0.6142311692237854,
-0.21386730670928955,
-0.635170042514801,
-0.05359408259391785,
-0.03086230158805847,
0.6696189641952515,
0.44139042496681213,
-0.7113938927650452,
-0.6715980172157288,
0.14538487792015076,
-0.6025236248970032,
-0.14093391597270966,
-0.12257874757051468,
-0.4415585398674011,
0.27636265754699707,
0.2006525844335556,
-0.2960347831249237,
0.5256065130233765,
0.7658296227455139,
0.15652742981910706,
0.6842758655548096,
-0.2843162715435028,
-0.09307432174682617,
-1.1127070188522339,
-0.10510136187076569,
0.07757795602083206,
-0.1918186992406845,
-1.0139696598052979,
-0.24724383652210236,
0.21741466224193573,
-0.7200267910957336,
-0.42584317922592163,
0.7301100492477417,
-0.5314667820930481,
-0.2945236265659332,
-0.008319678716361523,
-0.08660703897476196,
-0.07416661083698273,
0.5730195641517639,
0.1710103303194046,
0.6957905292510986,
0.5823732614517212,
-0.6192290186882019,
0.06976990401744843,
0.24636605381965637,
-0.4547157883644104,
0.20453277230262756,
-0.3960950970649719,
-0.3222772181034088,
-0.10318209230899811,
0.39701324701309204,
-0.8360065221786499,
-0.4590771794319153,
0.34861621260643005,
-0.3079247772693634,
0.3218049705028534,
-0.21559064090251923,
-0.3361838757991791,
-0.32342806458473206,
-0.20080110430717468,
0.2808801829814911,
0.4868900179862976,
-0.36154165863990784,
0.5141661763191223,
0.8330392837524414,
-0.05022646114230156,
-0.6445071697235107,
-0.7987208962440491,
0.2631581425666809,
-0.2232179492712021,
-0.6175016760826111,
0.5582646727561951,
-0.1390133649110794,
-0.25991520285606384,
-0.25742921233177185,
-0.13242954015731812,
-0.3091217875480652,
-0.14686840772628784,
0.2979064881801605,
0.4152485728263855,
0.04519601911306381,
0.02435234561562538,
0.3603864908218384,
-0.0612909272313118,
-0.1698002964258194,
0.006957555189728737,
0.603361189365387,
0.500279426574707,
0.021112607792019844,
-0.2593340277671814,
0.22143355011940002,
-0.008900033310055733,
-0.14188097417354584,
0.9328191876411438,
0.5029752850532532,
-0.5391457676887512,
-0.9186144471168518,
-0.5064314603805542,
-0.30407947301864624,
-0.5335257649421692,
0.22654518485069275,
-0.6244563460350037,
-0.3415890634059906,
0.538909912109375,
0.5111144185066223,
-0.03700239583849907,
0.19414682686328888,
0.6293794512748718,
0.08469902724027634,
1.1682764291763306,
0.5335782170295715,
0.3137665390968323,
0.43601444363594055,
-0.5084043741226196,
0.3982357084751129,
-0.5530416369438171,
-0.19411437213420868,
-0.43807750940322876,
-0.20784945785999298,
-1.0486921072006226,
-0.26018625497817993,
0.5364927649497986,
-0.36704209446907043,
0.1612340658903122,
0.3141350746154785,
-0.3384997248649597,
0.2660340368747711,
0.5207622051239014,
0.30074459314346313,
-0.016347704455256462,
0.4455421566963196,
-0.23823422193527222,
0.0609620027244091,
-0.7596162557601929,
-0.3083215355873108,
1.210533618927002,
0.08990420401096344,
0.4919707775115967,
-0.18638034164905548,
0.9778966903686523,
0.5756514072418213,
0.5743334293365479,
-0.2703237533569336,
0.5591559410095215,
-0.15595288574695587,
-0.7269301414489746,
-0.3215542137622833,
-0.7777955532073975,
-0.6854061484336853,
0.45356184244155884,
-0.2787908613681793,
-0.4254052937030792,
0.35910293459892273,
0.32156962156295776,
0.12158767133951187,
0.3406534790992737,
-0.794453501701355,
0.8070579171180725,
0.22794173657894135,
-0.36551469564437866,
0.19242160022258759,
-0.5726519227027893,
0.8719030022621155,
-0.29494571685791016,
0.3095415532588959,
-0.25494471192359924,
0.27766525745391846,
0.754123866558075,
-0.7812354564666748,
0.7009724974632263,
-0.4221004843711853,
0.1659402996301651,
0.41781970858573914,
0.2550548315048218,
0.618356466293335,
0.28670603036880493,
-0.44024598598480225,
0.19778110086917877,
-0.0918622761964798,
-0.4287748336791992,
-0.5440590381622314,
0.7496874332427979,
-0.5202481150627136,
-0.44174984097480774,
-0.17909297347068787,
-0.9345325827598572,
-0.43543848395347595,
-0.15747106075286865,
0.18267463147640228,
0.5362963080406189,
0.07371601462364197,
0.0835176408290863,
0.23240728676319122,
-0.36617958545684814,
0.3076450228691101,
0.3019276261329651,
0.16865965723991394,
-0.5669112801551819,
1.3058481216430664,
0.3015105128288269,
0.3561387360095978,
0.47665539383888245,
0.20115716755390167,
-0.24331721663475037,
-0.37317532300949097,
-0.7636464238166809,
0.08868678659200668,
-0.5578020215034485,
-0.16229131817817688,
-0.9759505987167358,
-0.2812558710575104,
-0.3739437460899353,
-0.27539148926734924,
-0.016762614250183105,
-0.6119753122329712,
0.0018746565328910947,
-0.42877233028411865,
0.11801263689994812,
0.165723979473114,
-0.14957499504089355,
0.18174229562282562,
-0.46517908573150635,
0.6451151371002197,
0.20152688026428223,
0.04768453538417816,
-0.22206991910934448,
-0.3192901611328125,
-0.1917983889579773,
0.37745681405067444,
-0.14529746770858765,
-0.9012768268585205,
0.991462767124176,
0.1816617250442505,
0.6865883469581604,
0.03693793714046478,
0.25233981013298035,
0.6305926442146301,
-0.6032127141952515,
0.40928059816360474,
0.15024033188819885,
-0.6959040760993958,
0.18169236183166504,
-0.1871354728937149,
-0.41888338327407837,
0.4229285717010498,
0.1364118903875351,
-0.17855794727802277,
-0.7883515357971191,
-0.6115203499794006,
-0.6178589463233948,
0.7627763152122498,
0.41480597853660583,
0.2531956732273102,
-0.01790729910135269,
-0.028528830036520958,
0.5006063580513,
0.6919297575950623,
-1.031468391418457,
-0.4086393713951111,
-0.39812612533569336,
-0.48617321252822876,
-0.3030679523944855,
-0.14639921486377716,
0.13190899789333344,
-0.2439127266407013,
0.6376641988754272,
0.06130581721663475,
0.3341221809387207,
-0.19827966392040253,
-0.3350106179714203,
-0.0857987105846405,
0.07058372348546982,
0.7891799211502075,
0.6876621842384338,
-0.49817392230033875,
0.36524292826652527,
-0.005371531937271357,
-0.6694282293319702,
0.15489813685417175,
0.036351487040519714,
-0.3592776656150818,
0.39338329434394836,
-0.1203877329826355,
0.8685797452926636,
-0.1428765207529068,
-0.7142559289932251,
0.2229147106409073,
0.3180340826511383,
-0.42249903082847595,
-0.1930190771818161,
0.16013836860656738,
-0.4263569712638855,
-0.31127992272377014,
0.2995532751083374,
-0.10765596479177475,
0.12739598751068115,
-0.6091467142105103,
0.4934628903865814,
0.6001943945884705,
-0.24463312327861786,
-0.2400803416967392,
0.6290216445922852,
-0.18221576511859894,
-0.2706449031829834,
0.21493171155452728,
-0.3587542176246643,
-0.41234922409057617,
0.8006170988082886,
0.7340711951255798,
0.8294060230255127,
-0.323236346244812,
0.710979163646698,
0.29924726486206055,
0.3478618264198303,
0.24262747168540955,
0.14685213565826416,
-0.17314551770687103,
-0.7188642621040344,
-0.019149787724018097,
-0.832097589969635,
-0.21928830444812775,
0.060471564531326294,
-0.18022958934307098,
0.2202967256307602,
-0.5147691965103149,
0.11815566569566727,
0.15202756226062775,
0.01534000039100647,
-0.49493443965911865,
0.46422043442726135,
-0.263163685798645,
0.32082054018974304,
-0.9878184199333191,
0.8730136156082153,
0.037421684712171555,
-0.3922097086906433,
-0.6915525197982788,
-0.031591203063726425,
-0.467511385679245,
-0.7397168874740601,
0.7124046087265015,
0.07663760334253311,
0.24604158103466034,
0.1738101989030838,
-0.39974597096443176,
-0.5262390971183777,
0.6909976601600647,
0.17763864994049072,
-0.5586184859275818,
0.2917448878288269,
0.6217714548110962,
0.36205700039863586,
-0.5696214437484741,
-0.008794941939413548,
0.27073827385902405,
0.42811980843544006,
0.06963828951120377,
-0.43494442105293274,
0.06395182758569717,
-0.12087677419185638,
-0.0013639850076287985,
0.38645800948143005,
0.11387580633163452,
0.957802414894104,
-0.12697824835777283,
-0.2489844262599945,
-0.2193898856639862,
0.30730611085891724,
0.39467716217041016,
0.5631585121154785,
0.20092061161994934,
0.3872585892677307,
0.6436873078346252,
0.19164812564849854,
0.971565842628479,
-0.2810054421424866,
0.1546073704957962,
0.7778507471084595,
-0.7148352861404419,
0.5200396776199341,
0.26171261072158813,
-0.13339297473430634,
0.37177392840385437,
0.4464043080806732,
-0.1211475133895874,
0.7274829745292664,
0.29439765214920044,
-0.3425924777984619,
0.020576011389493942,
0.2241460531949997,
-0.28612542152404785,
0.10277994722127914,
0.3630683422088623,
-0.3978671431541443,
-0.05244036391377449,
0.4004438817501068,
-0.3041211664676666,
-0.12119809538125992,
-0.09731093049049377,
0.47511759400367737,
-0.1630464792251587,
-0.3928543031215668,
0.9644858837127686,
0.4627724587917328,
0.2257542461156845,
-0.2268083691596985,
-0.16026686131954193,
-0.5445024371147156,
-0.1537073701620102,
-0.20904068648815155,
-0.26369357109069824,
0.2526301145553589,
-0.002267285017296672,
-0.13559554517269135,
-0.0718984454870224,
0.502737283706665,
-0.6671196222305298,
-0.9747392535209656,
-0.4615275263786316,
0.3235633671283722,
0.14971916377544403,
0.06475939601659775,
-0.5476803779602051,
-0.1035478487610817,
0.07760803401470184,
0.07509370893239975,
0.3245602250099182,
0.2813798189163208,
-0.43968987464904785,
0.788715660572052,
1.042188048362732,
0.10983669757843018,
0.5318024754524231,
0.22036129236221313,
0.6084733605384827,
-0.4351298213005066,
-0.8030562996864319,
-0.6979766488075256,
0.5259464979171753,
-0.04217444732785225,
0.16486972570419312,
0.7835252285003662,
0.8736382722854614,
0.564395010471344,
-0.27033981680870056,
0.8962883949279785,
-0.030570287257432938,
0.47502315044403076,
-0.7122157216072083,
0.6442498564720154,
-0.4183819890022278,
0.32841575145721436,
-0.36362379789352417,
-1.0889897346496582,
-0.32340410351753235,
0.3550277650356293,
-0.28186658024787903,
0.0813748762011528,
0.6341673731803894,
1.2646042108535767,
-0.49735182523727417,
-0.27995434403419495,
0.6608989238739014,
0.15741251409053802,
0.23825602233409882,
-0.022972818464040756,
0.6261544227600098,
-0.3662329316139221,
0.28415292501449585,
-0.6473451852798462,
0.0777706727385521,
-0.29471489787101746,
-0.5783879160881042,
-0.8373738527297974,
-0.6217595338821411,
-0.24792014062404633,
-0.23816555738449097,
0.030058013275265694,
0.6191259622573853,
0.7813658118247986,
-0.8532814979553223,
-0.36603930592536926,
-0.4457411766052246,
0.24921657145023346,
0.07109946012496948,
-0.32318001985549927,
0.5195090770721436,
-0.18090343475341797,
-0.6350437998771667,
0.3449139893054962,
0.16665995121002197,
0.1660854071378708,
-0.2683660089969635,
-0.18851913511753082,
0.10278630256652832,
0.15957176685333252,
0.5928247570991516,
0.14166975021362305,
-0.561977207660675,
0.12004311382770538,
-0.09037775546312332,
-0.1103123277425766,
0.24412889778614044,
0.6593510508537292,
-0.8843322992324829,
0.5130636096000671,
0.39158526062965393,
0.3625052869319916,
0.7430998086929321,
0.13807177543640137,
0.396444708108902,
-1.1808109283447266,
0.6212086081504822,
0.07446875423192978,
0.30774906277656555,
0.20247966051101685,
-0.3006667196750641,
0.12488047033548355,
0.23179486393928528,
-0.0867685005068779,
-1.4573816061019897,
0.19216948747634888,
-0.8514452576637268,
-0.11563632637262344,
1.0190941095352173,
0.3634345531463623,
-0.2052377611398697,
-0.16246397793293,
-0.2174842804670334,
0.2863282263278961,
-0.4672594666481018,
0.9739447832107544,
0.05540213733911514,
0.19597803056240082,
-0.18214575946331024,
-1.0411152839660645,
0.6163958311080933,
0.05120551213622093,
-1.0354008674621582,
-0.11328967660665512,
0.7258832454681396,
0.2765169143676758,
-0.1627122014760971,
0.39182841777801514,
0.26531001925468445,
0.04184792935848236,
0.09438923746347427,
0.15706190466880798,
-0.2636469900608063,
-0.5839338898658752,
0.42977720499038696,
0.3097131848335266,
-0.5258170366287231,
-0.28774550557136536
] |
http://arxiv.org/abs/2405.20588v1
|
http://arxiv.org/pdf/2405.20588v1
|
DAFNet: Dynamic Auxiliary Fusion for Sequential Model Editing in Large Language Models
| 2024-05-31T02:56:49 | 2024-05-31T02:56:49 |
Taolin Zhang, Qizhou Chen, Dongyang Li, Chengyu Wang, Xiaofeng He, Longtao Huang, Hui Xue, Jun Huang
|
cs.CL
|
cs.CL
|
Recently, while large language models (LLMs) have demonstrated impressive
results, they still suffer from hallucination, i.e., the generation of false
information. Model editing is the task of fixing factual mistakes in LLMs; yet,
most previous works treat it as a one-time task, paying little attention to
ever-emerging mistakes generated by LLMs. We address the task of sequential
model editing (SME) that aims to rectify mistakes continuously. A Dynamic
Auxiliary Fusion Network (DAFNet) is designed to enhance the semantic
interaction among the factual knowledge within the entire sequence, preventing
catastrophic forgetting during the editing process of multiple knowledge
triples. Specifically, (1) for semantic fusion within a relation triple, we
aggregate the intra-editing attention flow into auto-regressive self-attention
with token-level granularity in LLMs. We further leverage multi-layer diagonal
inter-editing attention flow to update the weighted representations of the
entire sequence-level granularity. (2) Considering that auxiliary parameters
are required to store the knowledge for sequential editing, we construct a new
dataset named \textbf{DAFSet}, fulfilling recent, popular, long-tail and robust
properties to enhance the generality of sequential editing. Experiments show
DAFNet significantly outperforms strong baselines in single-turn and sequential
editing. The usage of DAFSet also consistently improves the performance of
other auxiliary network-based methods in various scenarios
|
[
-0.3210146427154541,
-0.9743421077728271,
0.5602003931999207,
0.40529268980026245,
-0.010832850821316242,
0.13274641335010529,
-0.07236519455909729,
-0.29707062244415283,
0.25465768575668335,
0.5162411332130432,
-0.7501365542411804,
-0.4158550500869751,
-0.4448399543762207,
0.19167788326740265,
-0.8358473181724548,
0.610366702079773,
-0.18829216063022614,
-0.2588987946510315,
-0.2935158610343933,
-0.09225883334875107,
-0.5563397407531738,
-0.23837310075759888,
-0.8473170399665833,
-0.1560487002134323,
0.8072810769081116,
0.40797966718673706,
0.8672698736190796,
1.0286494493484497,
0.6789981722831726,
0.5178118348121643,
-0.17076127231121063,
0.4096841514110565,
-0.5752372145652771,
0.3422134816646576,
-0.3003790080547333,
-0.0451556034386158,
-0.7853208184242249,
-0.31262534856796265,
1.1342339515686035,
0.6271410584449768,
0.00312423100695014,
0.04719720408320427,
-0.11359654366970062,
0.8350611925125122,
-0.42103055119514465,
-0.02296389266848564,
-0.7276085019111633,
0.053491391241550446,
-0.17316429316997528,
0.015587502159178257,
-0.12329351156949997,
0.007478244602680206,
0.028338922187685966,
-0.47977620363235474,
0.11371353268623352,
-0.17960691452026367,
0.5848281383514404,
0.8367602229118347,
-0.504034698009491,
0.0722794383764267,
-0.8059185743331909,
0.25347721576690674,
-0.6803175210952759,
0.28577721118927,
0.10904788970947266,
0.08960942924022675,
-0.5135058164596558,
-1.0032392740249634,
-0.8747900724411011,
-0.10752472281455994,
-0.07065395265817642,
-0.10044095665216446,
0.004440795164555311,
0.3061455190181732,
0.1719357967376709,
0.4894935190677643,
-0.3545205295085907,
0.19943548738956451,
0.010342372581362724,
-0.0740911141037941,
0.9397656917572021,
0.3120737671852112,
0.30529698729515076,
-0.06756764650344849,
-0.24798791110515594,
-0.006529089063405991,
-0.510577380657196,
-0.45862069725990295,
0.3490438163280487,
-0.004870207514613867,
0.14784248173236847,
0.48939377069473267,
-0.40313875675201416,
0.9447030425071716,
0.5083534121513367,
0.010017255321145058,
0.2421671748161316,
-0.5436812043190002,
-0.29769784212112427,
0.1004079207777977,
0.8928780555725098,
-0.005806578788906336,
-0.15997762978076935,
-0.06679683923721313,
-0.22007624804973602,
-0.2066013664007187,
0.24870361387729645,
-0.40979692339897156,
-0.3626748025417328,
0.4051218330860138,
-0.25128376483917236,
-0.5480874180793762,
0.08056272566318512,
-0.4900950491428375,
-0.4775030314922333,
-0.43482404947280884,
0.4579122066497803,
-0.3328757584095001,
-0.23701955378055573,
0.18713989853858948,
-0.058232635259628296,
-0.3664821684360504,
0.28099730610847473,
-0.7332679629325867,
0.291278600692749,
0.566582441329956,
0.8990312814712524,
-0.21031349897384644,
-0.716262698173523,
-0.6191315054893494,
0.321963906288147,
-0.18888312578201294,
0.7154085636138916,
-0.42095765471458435,
-0.35182681679725647,
-0.431301474571228,
-0.16528154909610748,
-0.16117699444293976,
-0.2861819565296173,
0.3694577217102051,
-0.7897779941558838,
-0.12778082489967346,
-0.23018746078014374,
-0.6007040143013,
-0.2104608416557312,
0.07659291476011276,
-0.8497616648674011,
1.0606393814086914,
-0.07122848927974701,
-0.7676144242286682,
0.0340714193880558,
-0.7206620573997498,
-0.5006479024887085,
-0.18197354674339294,
-0.13158193230628967,
-0.3103148639202118,
-0.04537244886159897,
0.2338876873254776,
0.4355103671550751,
0.04490159451961517,
0.5245687961578369,
-0.3913991153240204,
-0.27982887625694275,
0.33964860439300537,
-0.48365339636802673,
0.4725678563117981,
-0.03481132909655571,
-0.34571602940559387,
0.46565133333206177,
-1.0211563110351562,
-0.43589451909065247,
0.09325302392244339,
-0.10027365386486053,
-0.24406547844409943,
-0.03474763035774231,
-0.2992367148399353,
0.5599395632743835,
0.21468840539455414,
-0.5112177133560181,
0.4765833616256714,
-0.4092070758342743,
0.33249759674072266,
1.0082284212112427,
0.3307000994682312,
0.38917332887649536,
-0.41439566016197205,
0.19143187999725342,
0.17523986101150513,
0.03511817380785942,
-0.28887492418289185,
-0.10744012147188187,
-0.9859139323234558,
-0.4306849241256714,
0.5810080170631409,
0.5452240109443665,
-0.9190585017204285,
0.5081595778465271,
-0.4195794463157654,
-0.27904585003852844,
-0.29419389367103577,
0.28413984179496765,
0.17250743508338928,
0.6561873555183411,
0.1875249147415161,
-0.08152984827756882,
-0.6015744805335999,
-0.9762507677078247,
-0.0664333775639534,
-0.012508368119597435,
0.24330607056617737,
0.13252101838588715,
0.3699627220630646,
-0.4657444953918457,
1.0065619945526123,
-0.3721587359905243,
-0.4999917149543762,
0.14996998012065887,
0.22008948028087616,
0.06356282532215118,
0.4999234080314636,
0.40153345465660095,
-0.8973876237869263,
-0.48526114225387573,
-0.11903469264507294,
-0.6909437775611877,
-0.17022493481636047,
-0.4607078433036804,
-0.46422839164733887,
0.2378946840763092,
0.35363224148750305,
-0.6266353726387024,
0.16734905540943146,
0.47386592626571655,
-0.4001341462135315,
0.3432755172252655,
-0.3131128251552582,
0.32009580731391907,
-0.907913327217102,
0.06317465007305145,
-0.30280640721321106,
-0.21322236955165863,
-0.6974582672119141,
-0.08643428981304169,
0.0882105678319931,
0.18413938581943512,
-0.37020301818847656,
0.6781441569328308,
-0.41384321451187134,
-0.09910646826028824,
-0.44127750396728516,
0.029797401279211044,
0.009797196835279465,
0.4863641560077667,
0.08928459137678146,
0.5158003568649292,
0.4374781548976898,
-0.5516870021820068,
0.6189331412315369,
0.49767014384269714,
-0.15959352254867554,
0.18412107229232788,
-0.5450807213783264,
0.3563677668571472,
-0.15173088014125824,
0.3881320655345917,
-0.9130571484565735,
-0.35261914134025574,
0.2935296595096588,
-0.17486700415611267,
0.3309933543205261,
0.11036571115255356,
-0.6971895694732666,
-0.3667435348033905,
-0.09385950863361359,
0.3906708359718323,
-0.009690903127193451,
-0.5954795479774475,
0.6673832535743713,
0.37350764870643616,
-0.3433379530906677,
-0.7659022808074951,
-0.6830822229385376,
0.3775029480457306,
0.13250575959682465,
-1.0433155298233032,
0.7035004496574402,
-0.04079524800181389,
-0.23486118018627167,
0.3234062194824219,
-0.15903298556804657,
-0.12074360251426697,
0.04770269989967346,
0.09345008432865143,
0.2977612614631653,
0.011782902292907238,
0.3454338312149048,
0.30186769366264343,
-0.1556294858455658,
-0.15813462436199188,
-0.289946585893631,
0.3104737401008606,
-0.0019020402105525136,
-0.3792530596256256,
-0.4651435613632202,
0.44400423765182495,
0.7106257677078247,
-0.28899165987968445,
0.7040900588035583,
0.5098018050193787,
-0.44316163659095764,
-0.09050802141427994,
-0.7658458352088928,
-0.10733958333730698,
-0.49772775173187256,
0.518514096736908,
-0.4912475049495697,
-0.9362425208091736,
0.590256929397583,
0.24381126463413239,
0.08470111340284348,
0.6523808836936951,
0.49724844098091125,
-0.08438946306705475,
0.949105441570282,
0.4258880019187927,
0.0015269547002390027,
0.40579670667648315,
-0.2614430785179138,
-0.024801194667816162,
-0.6900839805603027,
0.09811291098594666,
-0.024594750255346298,
-0.5913113951683044,
-0.42085275053977966,
-0.4522288739681244,
0.4931320250034332,
-0.14092089235782623,
-0.21347196400165558,
0.014093374833464622,
-0.28450843691825867,
0.4683106541633606,
0.40660348534584045,
0.12796197831630707,
0.4912896752357483,
-0.2532368004322052,
-0.10857976227998734,
0.2681942880153656,
-0.9259218573570251,
-0.20728494226932526,
0.7437092065811157,
0.430698424577713,
0.5572146773338318,
0.050024330615997314,
0.7097685933113098,
0.38786375522613525,
-0.027285786345601082,
-0.514268159866333,
0.6167827844619751,
-0.1897331029176712,
-0.4216218888759613,
-0.6010178327560425,
-0.6035200357437134,
-0.474454402923584,
0.322018563747406,
-0.21667997539043427,
-0.28018948435783386,
0.4551713466644287,
0.6053326725959778,
-0.5251187682151794,
0.4179573953151703,
-0.4231148064136505,
0.8758478760719299,
-0.21853139996528625,
-0.4993605315685272,
-0.38601234555244446,
-0.7152571678161621,
0.6466657519340515,
-0.28001996874809265,
0.09541547298431396,
-0.05511565878987312,
-0.11072812229394913,
0.5062136650085449,
-0.6670102477073669,
0.8044651746749878,
-0.03820669278502464,
-0.14903198182582855,
0.13331520557403564,
0.18356072902679443,
0.8731810450553894,
0.2504573166370392,
-0.049158621579408646,
0.2350912094116211,
-0.07582461833953857,
-0.1438775658607483,
-0.74321049451828,
0.9696849584579468,
-0.5490915775299072,
-0.5331626534461975,
-0.5632687211036682,
-0.7047737836837769,
-0.32167869806289673,
0.25535115599632263,
0.01996788941323757,
0.5884281396865845,
-0.19329366087913513,
0.005854640156030655,
0.6787052154541016,
0.05939638242125511,
0.5188275575637817,
0.38416552543640137,
-0.14492645859718323,
-0.3120803236961365,
0.7684699892997742,
0.3354605734348297,
0.29346776008605957,
0.36748918890953064,
0.09277278929948807,
-0.09793893247842789,
-0.6343642473220825,
-0.5268471837043762,
0.2941782474517822,
-0.7327398061752319,
-0.16877615451812744,
-1.1003562211990356,
-0.3599770665168762,
-0.41522860527038574,
-0.06269670277833939,
-0.49586400389671326,
-0.6672409176826477,
-0.21057672798633575,
0.06963786482810974,
0.49716654419898987,
0.7338606715202332,
-0.41619712114334106,
0.2820690870285034,
-1.0513635873794556,
0.5610174536705017,
0.4163854420185089,
0.48958393931388855,
0.14941909909248352,
-0.4987359046936035,
-0.25668177008628845,
0.13282033801078796,
-0.0400317944586277,
-0.6928579211235046,
0.19779662787914276,
0.3069722652435303,
0.5294736623764038,
-0.06366173923015594,
-0.06265740096569061,
0.7241795063018799,
-0.618057370185852,
0.5137029886245728,
-0.06176302582025528,
-0.9405180215835571,
0.2867545783519745,
-0.4644371271133423,
0.6756321787834167,
0.49104931950569153,
0.16405127942562103,
-0.8330830931663513,
-0.3568376898765564,
-0.6332877278327942,
-0.7947040796279907,
0.7850399613380432,
0.15514899790287018,
-0.05353796109557152,
-0.07372567057609558,
0.43749332427978516,
0.018049459904432297,
0.2681468725204468,
-0.29715055227279663,
-0.3448127508163452,
-0.08175061643123627,
-0.4231526851654053,
0.12477265298366547,
-0.5412920117378235,
0.03541921451687813,
-0.33412110805511475,
1.037237286567688,
-0.02583453804254532,
0.2249036729335785,
0.2983079254627228,
-0.21294212341308594,
-0.12073490023612976,
-0.046249739825725555,
0.7011759281158447,
0.6227914094924927,
-0.1090274378657341,
-0.057957012206315994,
0.26945221424102783,
-0.4269847869873047,
0.2742077112197876,
0.2841295599937439,
-0.24703365564346313,
-0.04759640991687775,
0.3703264594078064,
1.0519052743911743,
0.31145596504211426,
-0.2947162091732025,
0.2714453935623169,
-0.09511453658342361,
-0.26494765281677246,
-0.3271474242210388,
0.1191270723938942,
-0.010265725664794445,
0.10970325022935867,
0.1901128590106964,
0.3556370437145233,
0.36130306124687195,
-0.2359078973531723,
0.4422467052936554,
0.1427558809518814,
-0.21717971563339233,
-0.10000453144311905,
0.3601067066192627,
0.39506134390830994,
-0.09264659881591797,
0.5988192558288574,
-0.023646291345357895,
-0.4143555462360382,
0.4015181362628937,
0.13328446447849274,
0.9328044056892395,
-0.22619494795799255,
0.1369415819644928,
0.39049676060676575,
0.07593777775764465,
-0.06757714599370956,
-0.023622604086995125,
-0.066673643887043,
-0.7374698519706726,
-0.767360270023346,
-0.5197284817695618,
-0.18940792977809906,
0.020099250599741936,
-0.23221798241138458,
0.3879868984222412,
-0.30924636125564575,
-0.0336989089846611,
-0.00591300567612052,
-0.2670110762119293,
-0.4018845558166504,
0.22562699019908905,
0.08793363720178604,
0.8521848320960999,
-0.5050826072692871,
0.8674892783164978,
0.5867266058921814,
-0.24435187876224518,
-0.49718156456947327,
-0.12702074646949768,
0.2486770749092102,
-0.37963414192199707,
0.6249996423721313,
-0.10285031050443649,
-0.21570748090744019,
0.3253144919872284,
-0.04168414697051048,
-1.3025367259979248,
0.927126944065094,
0.2275822013616562,
-0.7672634720802307,
-0.3216266632080078,
0.0676959902048111,
0.24917706847190857,
-0.2535081207752228,
-0.06051908805966377,
0.63148432970047,
0.5951728820800781,
0.4344750642776489,
-0.8980553150177002,
-0.06025299057364464,
-0.2999161183834076,
0.03942616283893585,
0.33778440952301025,
-0.7043589949607849,
0.6421945691108704,
-0.011621112935245037,
-0.17578516900539398,
-0.022605732083320618,
0.856601893901825,
-0.1368902623653412,
-0.1860968917608261,
0.7911868691444397,
0.5142809748649597,
0.7103952765464783,
-0.0312221460044384,
0.9204405546188354,
-0.21409370005130768,
-0.05358600243926048,
1.5501829385757446,
-0.37369397282600403,
0.6433931589126587,
0.35087716579437256,
0.2010044902563095,
0.4105169475078583,
0.5550071597099304,
0.10320233553647995,
0.46268221735954285,
0.014624367468059063,
-0.31987884640693665,
-0.15598277747631073,
0.23980970680713654,
-0.2054625004529953,
0.6214792728424072,
0.22461892664432526,
-0.36693692207336426,
0.03567224740982056,
0.25198236107826233,
-0.09566915780305862,
0.05197850614786148,
-0.16770948469638824,
1.075635313987732,
-0.0964106023311615,
-0.5705073475837708,
0.4731057286262512,
0.07363063097000122,
0.42452433705329895,
-0.6141061782836914,
-0.12666445970535278,
-0.15466628968715668,
0.24301692843437195,
-0.16909854114055634,
-0.7543073892593384,
0.649736225605011,
-0.14054664969444275,
-0.46839335560798645,
-0.16536393761634827,
0.8476045727729797,
-0.7089923620223999,
-0.6271525025367737,
0.10561857372522354,
0.16114796698093414,
-0.42330312728881836,
-0.10758508741855621,
-0.7938579320907593,
0.4835318326950073,
-0.15501464903354645,
-0.39874738454818726,
0.11857215315103531,
0.3228198289871216,
0.12353932112455368,
0.6108225584030151,
0.6067268252372742,
0.1813415288925171,
0.00602907408028841,
0.05685735493898392,
0.760506808757782,
-0.6212013959884644,
-0.5967659950256348,
-0.8524171710014343,
0.8428114652633667,
-0.41207531094551086,
-0.17141322791576385,
0.5988648533821106,
0.18953117728233337,
0.7280749082565308,
0.05295613780617714,
0.8504860997200012,
-0.03218208625912666,
0.4691152274608612,
-0.7069608569145203,
0.7436670660972595,
-0.41019541025161743,
0.24447762966156006,
-0.1830643266439438,
-0.9168799519538879,
-0.4115878939628601,
0.4370962381362915,
-0.2777360677719116,
-0.05723602697253227,
0.7455922961235046,
0.8763428926467896,
-0.04972737282514572,
0.139815092086792,
0.20395687222480774,
0.5505791306495667,
0.1740029901266098,
0.2653830349445343,
0.7317419052124023,
-0.4310597777366638,
0.24538126587867737,
-0.6566277146339417,
-0.2809511423110962,
-0.07783953845500946,
-1.0568186044692993,
-0.7197454571723938,
-0.7560222148895264,
-0.5789839029312134,
-0.0933917909860611,
0.18098074197769165,
1.1608524322509766,
0.569348931312561,
-0.6604756712913513,
-0.13152560591697693,
-0.12498583644628525,
0.07086782157421112,
-0.3823142945766449,
-0.1486060470342636,
0.4889434576034546,
-0.3618728220462799,
-0.5911093950271606,
0.6661127805709839,
0.5347623229026794,
0.08800464868545532,
-0.3559012711048126,
0.054564014077186584,
-0.6917023658752441,
0.06899015605449677,
0.5959709286689758,
0.14222662150859833,
-0.6066523790359497,
-0.2813766598701477,
-0.06781019270420074,
-0.10039681941270828,
-0.06349296867847443,
0.6801402568817139,
-0.6607788801193237,
0.5888692736625671,
0.6805281639099121,
0.9138640761375427,
0.39127615094184875,
-0.161301389336586,
0.7890722155570984,
-0.6292822957038879,
0.0880514532327652,
0.08561276644468307,
0.4309963881969452,
0.4276188015937805,
-0.6324582695960999,
0.3826712965965271,
0.31555578112602234,
-0.6852340698242188,
-0.7709897756576538,
0.08882935345172882,
-0.8114867806434631,
-0.15570838749408722,
1.092890977859497,
0.07277632504701614,
-0.28277119994163513,
0.08096760511398315,
-0.4167279601097107,
0.32091838121414185,
-0.14384858310222626,
0.722172737121582,
0.7521476149559021,
-0.1055096983909607,
-0.15395034849643707,
-0.17705371975898743,
0.5232283473014832,
0.4297350347042084,
-0.5336299538612366,
0.15233749151229858,
0.7932116389274597,
-0.09420192241668701,
-0.10947456955909729,
0.5769367814064026,
0.07822580635547638,
0.5176433324813843,
0.012575213797390461,
-0.005490500945597887,
-0.5973232984542847,
-0.5750247836112976,
-0.5046300888061523,
-0.004250272177159786,
-0.08488877862691879,
-0.04803333804011345
] |
http://arxiv.org/abs/2405.20585v1
|
http://arxiv.org/pdf/2405.20585v1
|
GAMedX: Generative AI-based Medical Entity Data Extractor Using Large Language Models
| 2024-05-31T02:53:22 | 2024-05-31T02:53:22 |
Mohammed-Khalil Ghali, Abdelrahman Farrag, Hajar Sakai, Hicham El Baz, Yu Jin, Sarah Lam
|
cs.CL
|
cs.CL, cs.AI
|
In the rapidly evolving field of healthcare and beyond, the integration of
generative AI in Electronic Health Records (EHRs) represents a pivotal
advancement, addressing a critical gap in current information extraction
techniques. This paper introduces GAMedX, a Named Entity Recognition (NER)
approach utilizing Large Language Models (LLMs) to efficiently extract entities
from medical narratives and unstructured text generated throughout various
phases of the patient hospital visit. By addressing the significant challenge
of processing unstructured medical text, GAMedX leverages the capabilities of
generative AI and LLMs for improved data extraction. Employing a unified
approach, the methodology integrates open-source LLMs for NER, utilizing
chained prompts and Pydantic schemas for structured output to navigate the
complexities of specialized medical jargon. The findings reveal significant
ROUGE F1 score on one of the evaluation datasets with an accuracy of 98\%. This
innovation enhances entity extraction, offering a scalable, cost-effective
solution for automated forms filling from unstructured data. As a result,
GAMedX streamlines the processing of unstructured narratives, and sets a new
standard in NER applications, contributing significantly to theoretical and
practical advancements beyond the medical technology sphere.
|
[
0.02044559270143509,
-0.8904116749763489,
0.8898396492004395,
-0.0733681246638298,
-0.14118742942810059,
0.3177548348903656,
-0.056530795991420746,
-0.44808515906333923,
0.19287092983722687,
0.7723301649093628,
-0.2610956132411957,
-0.7336099743843079,
-0.6611571907997131,
0.1759868562221527,
-0.3441621959209442,
1.0331010818481445,
-0.19226251542568207,
0.1306086778640747,
-0.47772565484046936,
0.07872998714447021,
-0.1927655041217804,
-0.70769202709198,
-1.0648138523101807,
-0.5623059272766113,
0.31079667806625366,
0.2595071792602539,
0.646788477897644,
0.9079237580299377,
0.7560790777206421,
0.32472363114356995,
0.0986933782696724,
0.17539061605930328,
-0.16494137048721313,
0.4192659854888916,
0.00037379495915956795,
-0.4356856048107147,
-0.5935196280479431,
-0.48305296897888184,
0.5047028660774231,
0.38771143555641174,
-0.5502027273178101,
-0.059072691947221756,
-0.2901354432106018,
0.368401437997818,
-0.2867192327976227,
0.5204706788063049,
-0.25017285346984863,
0.2603849470615387,
-0.3093092441558838,
-0.17390650510787964,
-0.2793219983577728,
-0.21923385560512543,
0.1377275139093399,
-0.7068995237350464,
0.126158207654953,
-0.008340364322066307,
0.8874471187591553,
0.2418133169412613,
-0.2052677869796753,
-0.35572174191474915,
-0.9195429682731628,
0.4486773908138275,
-0.6848096251487732,
0.5821924805641174,
-0.027593836188316345,
0.27270007133483887,
-0.41213423013687134,
-0.9156875610351562,
-0.7189593315124512,
0.01825563982129097,
0.22306270897388458,
0.23530617356300354,
-0.4941396713256836,
0.11986519396305084,
0.46741601824760437,
0.6136002540588379,
-0.567395031452179,
0.39443716406822205,
-0.18693271279335022,
0.08647961169481277,
0.8163466453552246,
0.39208853244781494,
0.8424235582351685,
-0.16995877027511597,
-0.4543088972568512,
0.05209290608763695,
-0.6880679130554199,
-0.09119164943695068,
-0.30553269386291504,
-0.007286528591066599,
-0.12240632623434067,
0.7053524255752563,
0.005694243125617504,
0.26535773277282715,
0.0909946858882904,
-0.4930700957775116,
0.4014507830142975,
0.1704828292131424,
-0.41655266284942627,
0.2794538140296936,
1.0245821475982666,
0.28050553798675537,
0.029460959136486053,
-0.597359836101532,
-0.4866110384464264,
0.035623107105493546,
0.18799057602882385,
-0.9163192510604858,
-0.3677983283996582,
0.5393161177635193,
-0.7304925918579102,
-0.19426223635673523,
0.02466551959514618,
-1.3150264024734497,
-0.7529293894767761,
-0.29561489820480347,
0.1183958351612091,
-0.4331013560295105,
-0.2362520545721054,
0.08072561025619507,
-0.11935950815677643,
0.17526105046272278,
0.42321836948394775,
-0.5975226759910583,
0.5045549273490906,
0.7847816944122314,
0.8567769527435303,
-0.6985813975334167,
0.322928786277771,
-0.8404437899589539,
0.1418031007051468,
-0.31802037358283997,
0.7211679220199585,
-0.5039259195327759,
-0.5879717469215393,
-0.10691606253385544,
-0.07926712185144424,
0.13186034560203552,
-1.0092594623565674,
0.4702151119709015,
-0.6212204694747925,
-0.05248681455850601,
0.4825286865234375,
-0.8365625739097595,
0.029453106224536896,
0.04079756140708923,
-1.0205116271972656,
0.649558424949646,
0.1455182582139969,
-0.3560217618942261,
0.4564187824726105,
-0.6481761932373047,
-0.5264168977737427,
0.6562852263450623,
-0.5648961067199707,
-0.7245153188705444,
0.3255082368850708,
0.404464453458786,
0.4174594283103943,
-0.7905497550964355,
0.4127250909805298,
0.025890156626701355,
-0.05407571792602539,
0.20237110555171967,
-0.2922234833240509,
0.6875715255737305,
0.2783645987510681,
-0.1709624081850052,
0.1905142366886139,
-0.9595963954925537,
0.10141707956790924,
0.40696844458580017,
-0.5831264853477478,
-0.5103917121887207,
0.11063369363546371,
0.2357967346906662,
0.3324674665927887,
-0.17869533598423004,
-0.49409720301628113,
0.22613036632537842,
-0.5172222852706909,
0.37168067693710327,
0.39415162801742554,
0.3296873867511749,
0.3617720603942871,
-0.17053522169589996,
0.8154840469360352,
0.05083007365465164,
-0.11151492595672607,
-0.08794118463993073,
-0.428882360458374,
-0.3698398172855377,
-0.6036630868911743,
0.6049579977989197,
0.7057552933692932,
-1.030579686164856,
0.5069486498832703,
-0.5148227214813232,
-0.41002917289733887,
-0.5677632689476013,
-0.03819071501493454,
0.19095516204833984,
0.4480178654193878,
0.28793856501579285,
-0.273772656917572,
-0.48718032240867615,
-0.5066264867782593,
0.2075621485710144,
-0.17232602834701538,
-0.23660396039485931,
0.452871173620224,
0.4377893805503845,
-0.4704359173774719,
0.8101552128791809,
-0.6529011726379395,
-0.3525893986225128,
-0.49274641275405884,
0.1730993092060089,
0.11659857630729675,
0.35557180643081665,
0.05295601487159729,
-0.8852112889289856,
-0.13897283375263214,
0.2418043166399002,
-0.9549663662910461,
-0.026281695812940598,
-0.23432323336601257,
0.14982672035694122,
-0.006199494935572147,
0.5304979085922241,
-0.8891106843948364,
0.3480011224746704,
0.3024202287197113,
-0.1510237753391266,
0.3107162117958069,
-0.3097376227378845,
0.08496743440628052,
-1.2788074016571045,
0.04684162884950638,
0.0011625573970377445,
-0.14867153763771057,
-0.5489054918289185,
0.13624727725982666,
-0.08559374511241913,
-0.24397729337215424,
-0.19306272268295288,
0.7565076351165771,
-0.7323936223983765,
0.05140329897403717,
-0.1223091259598732,
0.04343103617429733,
-0.1015481948852539,
-0.039718013256788254,
0.34882718324661255,
0.6921654939651489,
0.5941081047058105,
-0.5398616790771484,
0.7103464603424072,
0.5551671981811523,
-0.3690250813961029,
0.6065815091133118,
-0.5732790231704712,
0.21469689905643463,
-0.2542678117752075,
0.014236320741474628,
-0.3541420102119446,
-0.2576257288455963,
0.3242676854133606,
-0.27147549390792847,
0.41883260011672974,
-0.12584491074085236,
-0.5579782128334045,
-0.4191382825374603,
0.23524686694145203,
0.21060054004192352,
0.6146273612976074,
-0.5615944862365723,
0.7541762590408325,
0.9249416589736938,
-0.5374428033828735,
-0.14536075294017792,
-0.43863388895988464,
0.362838476896286,
-0.21563011407852173,
-0.17081871628761292,
0.5684978365898132,
0.07700727880001068,
-0.5030580759048462,
0.056094370782375336,
-0.1593557596206665,
-0.4931143522262573,
-0.07093290239572525,
0.4907973110675812,
0.6182504892349243,
-0.5554168820381165,
0.36706042289733887,
0.021299615502357483,
-0.23275697231292725,
0.2844037413597107,
-0.12050366401672363,
0.3973881006240845,
0.5619539618492126,
-0.1143871620297432,
-0.33881279826164246,
0.6576905250549316,
0.6741786599159241,
-0.3620401918888092,
0.46579256653785706,
0.12128657102584839,
-0.9237959384918213,
-0.21207699179649353,
-0.35779130458831787,
0.043819576501846313,
-0.3281972110271454,
0.5530877113342285,
-0.29863786697387695,
-0.7344014644622803,
0.35959392786026,
-0.4328673183917999,
-0.054681725800037384,
0.5551048517227173,
0.5003916025161743,
0.18006372451782227,
1.1155529022216797,
0.5445141196250916,
-0.03516855090856552,
0.10175881534814835,
0.018707910552620888,
0.11244629323482513,
-0.7422134876251221,
-0.46909070014953613,
-0.4552660286426544,
0.054184094071388245,
-0.5532462000846863,
-0.44297829270362854,
0.3438001573085785,
-0.026492392644286156,
-0.036351948976516724,
-0.06284832954406738,
-0.3778334856033325,
0.3341934382915497,
0.2650068402290344,
0.1323680728673935,
0.41463562846183777,
-0.008052997291088104,
0.1643449068069458,
-0.16482600569725037,
-0.3538745641708374,
-0.47847771644592285,
1.0326619148254395,
0.26280486583709717,
0.888407826423645,
0.21969638764858246,
0.9007639288902283,
0.33281397819519043,
0.4932478070259094,
-0.9294929504394531,
0.3222527503967285,
-0.2762686610221863,
-0.2995331883430481,
-0.16240563988685608,
-0.6404048800468445,
-1.0504318475723267,
-0.12292718887329102,
-0.5410828590393066,
-0.7275546193122864,
0.16509734094142914,
-0.3237314820289612,
-0.7457390427589417,
0.48969483375549316,
-0.38290730118751526,
0.7104967832565308,
-0.34531301259994507,
0.10266116261482239,
0.20826272666454315,
-0.30744269490242004,
0.16471539437770844,
-0.3202488422393799,
0.0535949170589447,
0.1790028065443039,
-0.050472136586904526,
0.6358107328414917,
-0.46721673011779785,
0.2298315316438675,
0.00685666361823678,
-0.1997259110212326,
0.03968523442745209,
0.04743126779794693,
0.5068605542182922,
0.27103421092033386,
0.10235290974378586,
0.580298125743866,
-0.2077624648809433,
0.21802739799022675,
-0.7004905939102173,
0.6029028296470642,
-0.5152568817138672,
-0.4410029351711273,
-0.6152551770210266,
-0.3327009677886963,
-0.14689959585666656,
0.34216609597206116,
0.17091652750968933,
0.43423348665237427,
-0.4206320643424988,
-0.09647022932767868,
0.7886547446250916,
-0.5559794306755066,
0.2437961846590042,
0.4512808620929718,
-0.26543477177619934,
-0.5079070329666138,
0.8854320049285889,
-0.03679100051522255,
-0.025182534009218216,
0.7226507067680359,
-0.10136967897415161,
-0.36090928316116333,
-0.6187213063240051,
-0.760343611240387,
0.11903625726699829,
-0.31216704845428467,
-0.4746699631214142,
-0.9101988077163696,
-0.7306559085845947,
-0.16651612520217896,
0.09802770614624023,
-0.2026282101869583,
-0.009873499162495136,
-0.48648300766944885,
-0.17862361669540405,
0.24074159562587738,
0.8428794741630554,
0.2232692390680313,
0.17584843933582306,
-0.9442325830459595,
0.637713611125946,
0.10890916734933853,
0.31096312403678894,
-0.28086045384407043,
-0.03681290149688721,
0.2712659537792206,
-0.2834117114543915,
0.10501634329557419,
-0.9841785430908203,
0.6905657052993774,
0.029974060133099556,
0.5639051198959351,
0.6254534721374512,
-0.1649959683418274,
0.5972878932952881,
-0.9470731019973755,
0.540858268737793,
0.41476619243621826,
-0.6783490180969238,
0.5053155422210693,
0.059955328702926636,
-0.08201241493225098,
0.16430747509002686,
0.3115345239639282,
-0.5631141066551208,
0.0776260495185852,
-0.6184975504875183,
-0.893088161945343,
0.5639965534210205,
-0.02859218791127205,
-0.1618177741765976,
-0.2036198377609253,
0.5654048919677734,
0.16701456904411316,
0.10750290006399155,
-0.32379457354545593,
-0.4962654113769531,
0.36432990431785583,
-0.5415288209915161,
-0.13930518925189972,
-0.24490272998809814,
0.07742832601070404,
0.10525441914796829,
0.39767932891845703,
0.11754423379898071,
0.4584199786186218,
0.26549190282821655,
-0.1400528848171234,
-0.22888807952404022,
0.36533623933792114,
0.1533745527267456,
0.34610801935195923,
0.13260740041732788,
0.04211460426449776,
-0.08345527201890945,
-0.6855966448783875,
0.13824345171451569,
0.49830174446105957,
-0.44766995310783386,
0.1966685950756073,
0.17626717686653137,
0.6732630729675293,
0.04207266867160797,
-0.9600048065185547,
0.45512616634368896,
-0.2592851519584656,
0.033892180770635605,
-0.38143882155418396,
0.12743991613388062,
-0.2161017656326294,
0.4367053508758545,
0.10893330723047256,
-0.12010561674833298,
0.402283638715744,
-0.30434998869895935,
0.5918374061584473,
0.45235276222229004,
-0.4458388388156891,
-0.05310412496328354,
0.9931381344795227,
0.028804296627640724,
-0.5742582678794861,
0.8974953293800354,
-0.09160062670707703,
-0.06490340828895569,
0.6688344478607178,
0.8489082455635071,
0.8686906695365906,
-0.3144993484020233,
0.4031914174556732,
0.297344833612442,
-0.11702550947666168,
-0.12652170658111572,
0.23883527517318726,
0.24041955173015594,
-0.6451579332351685,
-0.4515855312347412,
-0.6745865941047668,
-0.3232905864715576,
0.4659844934940338,
-0.5836958885192871,
0.20532773435115814,
-0.46769702434539795,
-0.10639535635709763,
0.37518492341041565,
-0.23679673671722412,
-0.5531233549118042,
0.3303163945674896,
0.4653080403804779,
0.5602796077728271,
-0.38759103417396545,
0.4853961169719696,
0.715244710445404,
-0.6971815824508667,
-0.7736984491348267,
0.07362709194421768,
0.21259260177612305,
-0.7384806871414185,
0.5965260863304138,
-0.133372962474823,
0.4303723871707916,
0.19790251553058624,
-0.18669898808002472,
-0.650383472442627,
0.959886908531189,
0.22827230393886566,
-0.8071726560592651,
-0.3012520968914032,
0.18603764474391937,
0.45313185453414917,
-0.46336066722869873,
0.24701449275016785,
0.5910446047782898,
0.14052726328372955,
0.0564546063542366,
-0.6879371404647827,
0.18579638004302979,
-0.31792783737182617,
-0.059921350330114365,
0.43114563822746277,
0.06102108955383301,
0.7590556144714355,
-0.48902103304862976,
-0.5590920448303223,
0.14863038063049316,
0.507469654083252,
0.08746161311864853,
0.2578214406967163,
0.2801052927970886,
0.6444275975227356,
1.0481882095336914,
-0.2048685997724533,
1.1562639474868774,
0.0035216729156672955,
0.16491344571113586,
0.8789151310920715,
-0.5547492504119873,
0.7064241170883179,
0.15405994653701782,
-0.14427228271961212,
0.5359247326850891,
0.3425605297088623,
-0.14034375548362732,
0.3286709189414978,
0.36063823103904724,
-0.4027514159679413,
-0.1705007702112198,
-0.06824502348899841,
-0.18330182135105133,
0.6048150062561035,
0.4019957184791565,
-0.594660222530365,
-0.22222882509231567,
0.10889609903097153,
0.24822105467319489,
-0.11338067799806595,
-0.5356959700584412,
1.242153286933899,
0.15829044580459595,
-0.4827481508255005,
-0.04633517935872078,
0.05426578223705292,
0.2942506670951843,
-0.4512137174606323,
-0.6666786670684814,
-0.03348441421985626,
0.28317582607269287,
-0.10871579498052597,
-0.5836092233657837,
0.01198522001504898,
0.183853879570961,
-0.3347635269165039,
0.048772815614938736,
0.6896559596061707,
-0.41715148091316223,
-0.49015459418296814,
0.14467081427574158,
0.7232943773269653,
0.22001193463802338,
-0.23669792711734772,
-0.7198603749275208,
-0.046678368002176285,
-0.2354404181241989,
0.19183170795440674,
0.1789068728685379,
0.7063689827919006,
-0.14492255449295044,
0.41341087222099304,
0.8156571388244629,
0.6833750009536743,
-0.37438544631004333,
0.14150449633598328,
0.5665991306304932,
-0.7621115446090698,
-0.4002818167209625,
-0.9566971063613892,
0.3136795163154602,
-0.2752480208873749,
-0.4020545482635498,
0.255888432264328,
0.8406298160552979,
0.5197913646697998,
-0.019936000928282738,
0.8366132974624634,
-0.05510585755109787,
0.48944827914237976,
-0.6753983497619629,
0.9412438869476318,
-0.42164599895477295,
0.1025877594947815,
-0.25641947984695435,
-0.7030057311058044,
-0.480457067489624,
0.40746110677719116,
0.06630383431911469,
-0.1777743548154831,
0.5890517234802246,
0.4348165988922119,
0.08762947469949722,
-0.061704594641923904,
0.3280966281890869,
0.3158021569252014,
0.5127335786819458,
0.5397287607192993,
0.5976364612579346,
-0.39750152826309204,
0.25034627318382263,
0.07359901815652847,
-0.37292206287384033,
-0.03886840119957924,
-0.5018318295478821,
-0.5773699879646301,
-0.4166857898235321,
-0.6092777252197266,
-0.3380259871482849,
0.17770273983478546,
1.051103115081787,
0.40946078300476074,
-0.9605382084846497,
0.21076205372810364,
-0.07330028712749481,
0.07761093974113464,
-0.3385131061077118,
-0.3031438887119293,
0.5564789772033691,
-0.02815352939069271,
-0.7635350823402405,
0.332033634185791,
0.5878621339797974,
0.006492163985967636,
0.06297723203897476,
-0.1082732081413269,
0.13961289823055267,
-0.04602949321269989,
0.5249794721603394,
0.46262452006340027,
-0.6606241464614868,
-0.03254375234246254,
0.10534823685884476,
-0.30818694829940796,
0.2803405225276947,
0.7886767387390137,
-0.7672335505485535,
0.4929107129573822,
0.07553166151046753,
0.9891533851623535,
0.20852936804294586,
0.07376856356859207,
0.5356075763702393,
-0.26214736700057983,
-0.43930748105049133,
0.31675294041633606,
0.3194119930267334,
0.2690184414386749,
-0.6436187624931335,
0.45053398609161377,
0.2653287947177887,
-0.384219229221344,
-0.6507364511489868,
-0.10295330733060837,
-0.8781450986862183,
-0.09588295221328735,
1.3195531368255615,
-0.061607394367456436,
-0.1671953797340393,
-0.3537694215774536,
-0.2845700681209564,
0.25189194083213806,
-0.35219305753707886,
0.7738404273986816,
0.3159465789794922,
-0.2980961203575134,
-0.22864829003810883,
-0.7445547580718994,
0.6051328778266907,
-0.23662395775318146,
-1.3480565547943115,
0.005585903767496347,
0.7006723284721375,
0.18766461312770844,
0.11071091890335083,
0.8539726734161377,
-0.4548659026622772,
0.26135894656181335,
-0.0756024494767189,
0.4560154378414154,
0.15533924102783203,
-0.21969732642173767,
-0.4385527968406677,
0.2050960510969162,
-0.3420727550983429,
-0.15126456320285797
] |
http://arxiv.org/abs/2405.20582v1
|
http://arxiv.org/pdf/2405.20582v1
|
The Point of View of a Sentiment: Towards Clinician Bias Detection in Psychiatric Notes
| 2024-05-31T02:28:41 | 2024-05-31T02:28:41 |
Alissa A. Valentine, Lauren A. Lepow, Alexander W. Charney, Isotta Landi
|
cs.CL
|
cs.CL, cs.AI, cs.LG
|
In psychiatry, negative patient descriptions and stigmatizing language can
contribute to healthcare disparities in two ways: (1) read by patients they can
harm their trust and engagement with the medical center; (2) read by future
providers they may negatively influence the future perspective of a patient. By
leveraging large language models, this work aims to identify the sentiment
expressed in psychiatric clinical notes based on the reader's point of view.
Extracting sentences from the Mount Sinai Health System's large and diverse
clinical notes, we used prompts and in-context learning to adapt three large
language models (GPT-3.5, Llama 2, Mistral) to classify the sentiment conveyed
by the sentences according to the provider or non-provider point of view.
Results showed that GPT-3.5 aligns best to provider point of view, whereas
Mistral aligns best to non-provider point of view.
|
[
-0.4872323274612427,
-0.4810396432876587,
1.4047905206680298,
0.2825325131416321,
-0.3210958242416382,
-0.45204100012779236,
0.02781962975859642,
-0.33303606510162354,
0.46607837080955505,
0.5406763553619385,
-0.48506343364715576,
-0.6426266431808472,
-0.9754831194877625,
-0.015366770327091217,
-0.07634870707988739,
1.366837978363037,
-0.027478205040097237,
0.4468914568424225,
-0.021845512092113495,
-0.1925368309020996,
-0.15990972518920898,
-0.8725327849388123,
-0.6406288743019104,
-0.11066964268684387,
0.4986245930194855,
0.06577746570110321,
0.6420742869377136,
0.21997688710689545,
0.4730677604675293,
0.19459615647792816,
-0.12690317630767822,
-0.37683993577957153,
0.035000987350940704,
0.09856867790222168,
-0.3880057632923126,
-0.5246247053146362,
-0.8124063611030579,
0.1976100653409958,
0.2896733582019806,
0.710688054561615,
-0.05059097707271576,
0.1078309491276741,
-0.01600809022784233,
0.49612048268318176,
-0.509981632232666,
0.033964190632104874,
-0.2620474696159363,
0.3565230071544647,
-0.18867580592632294,
0.1326885223388672,
-0.41126590967178345,
-0.3473805785179138,
0.36636292934417725,
-0.2615089416503906,
0.5299845337867737,
-0.24813416600227356,
0.6575816869735718,
0.15760961174964905,
-0.5910258889198303,
-0.19590401649475098,
-0.3358667492866516,
0.7756311297416687,
-0.9868125319480896,
0.12866206467151642,
0.45616793632507324,
0.0786948949098587,
0.04404490813612938,
-0.16966615617275238,
-0.8076983094215393,
-0.12172110378742218,
-0.16293415427207947,
0.1742507517337799,
-0.06644189357757568,
0.16320137679576874,
0.8051840662956238,
0.31877684593200684,
-0.38321295380592346,
-0.024233216419816017,
-0.2303801327943802,
0.06889723241329193,
0.4686352610588074,
0.12738166749477386,
0.1762940138578415,
-0.5973337888717651,
-0.17572671175003052,
0.11046402901411057,
-0.34111908078193665,
-0.07308787107467651,
0.07856207340955734,
-0.08566703647375107,
-0.16268840432167053,
0.4142344295978546,
0.18484196066856384,
0.39130309224128723,
0.2116585373878479,
-0.30863502621650696,
0.2997893989086151,
0.4048646092414856,
-0.2582690119743347,
0.3865245580673218,
0.8199262022972107,
0.889645516872406,
0.02166461944580078,
0.2957417666912079,
-0.21749591827392578,
0.5300610065460205,
0.5211480259895325,
-0.3773142099380493,
-0.38268807530403137,
0.2780435085296631,
-0.8103253841400146,
-0.4361976087093353,
-0.23779185116291046,
-1.0725159645080566,
-1.1651310920715332,
-0.04966909438371658,
0.05940669775009155,
-0.2561163306236267,
-0.30957168340682983,
0.04018988087773323,
-0.20943337678909302,
0.068553626537323,
0.5719069242477417,
-0.7020627856254578,
0.2564873993396759,
0.7018346190452576,
0.9258216023445129,
0.2073071300983429,
0.023376334458589554,
-0.5698871612548828,
0.08084457367658615,
-0.26428303122520447,
0.8083035945892334,
-0.30522799491882324,
-0.6285448670387268,
0.08643951267004013,
0.08497772365808487,
0.10130929946899414,
-0.5869367122650146,
0.9272757172584534,
0.18981358408927917,
0.5864692330360413,
-0.686037540435791,
-0.43986767530441284,
-0.004263328853994608,
0.3439939618110657,
-0.5322402715682983,
0.4285256862640381,
0.5951092839241028,
-1.1170692443847656,
0.6275261640548706,
-0.5344188809394836,
-0.4310116171836853,
-0.15116366744041443,
-0.3432558476924896,
-0.47526073455810547,
0.6273578405380249,
0.4141038954257965,
0.39874252676963806,
-0.08742579072713852,
0.2878355383872986,
-0.4293249249458313,
0.034268081188201904,
0.4882374405860901,
-0.1385859102010727,
0.4869788587093353,
0.28986746072769165,
-0.2943500578403473,
-0.1506037712097168,
-0.6592583060264587,
-0.496105432510376,
-0.2099180668592453,
-0.16670742630958557,
-0.7997004985809326,
0.27680733799934387,
0.1879582405090332,
0.7661578059196472,
-0.03274988383054733,
-0.6587249636650085,
0.18590649962425232,
-0.46625202894210815,
0.36167389154434204,
0.7465494871139526,
0.2873375415802002,
0.2649502158164978,
-0.22678546607494354,
0.5588124394416809,
0.7020601034164429,
0.5983321070671082,
-0.05195429548621178,
-0.4536443054676056,
-0.6439343094825745,
-0.5537718534469604,
-0.2656708359718323,
0.24593721330165863,
-0.3274998962879181,
0.19064509868621826,
-0.027446715161204338,
0.06103314086794853,
-0.8130490183830261,
-0.15948787331581116,
0.4016062021255493,
1.123934268951416,
0.45198872685432434,
-0.40196752548217773,
-0.5005938410758972,
-1.1717199087142944,
-0.47943827509880066,
-0.45976123213768005,
0.12308613210916519,
0.2156236171722412,
0.22700726985931396,
-0.32090499997138977,
0.6648086905479431,
-0.6718220114707947,
-0.3099903464317322,
-0.2540140748023987,
-0.03606346994638443,
0.43543294072151184,
0.22068817913532257,
0.3392830789089203,
-0.5483460426330566,
-0.46164047718048096,
-0.03976961970329285,
-0.7052303552627563,
-0.2727402150630951,
-0.0020111403428018093,
0.08454017341136932,
-0.02003823220729828,
0.394863098859787,
-0.7351287603378296,
0.42445430159568787,
0.29340463876724243,
-0.35784509778022766,
0.14425764977931976,
-0.039855316281318665,
0.04779411852359772,
-1.398630142211914,
-0.1006801426410675,
0.6871941685676575,
-0.1497998982667923,
-0.632256805896759,
-0.3167478144168854,
-0.06501887738704681,
0.1543351262807846,
-0.14037494361400604,
0.25851503014564514,
-0.1244925931096077,
0.20063811540603638,
-0.134940505027771,
0.2504056990146637,
0.22780868411064148,
-0.040751926600933075,
0.3320348858833313,
0.28063124418258667,
0.5000860095024109,
-0.2856455445289612,
-0.011479596607387066,
0.34085267782211304,
-0.30143216252326965,
1.1493782997131348,
-0.35726335644721985,
-0.14223532378673553,
-0.42509040236473083,
0.5073661804199219,
-0.8130648732185364,
-0.20973767340183258,
0.5180732011795044,
-0.3099227547645569,
0.04314437881112099,
-0.40803271532058716,
-0.14426419138908386,
-0.3831782639026642,
-0.24407248198986053,
0.3934985399246216,
0.3584023416042328,
-0.19621463119983673,
0.13139906525611877,
0.6097176671028137,
-0.3712095022201538,
-0.592626690864563,
-0.6315035223960876,
0.12958024442195892,
-0.47371765971183777,
0.09325829148292542,
-0.07793574035167694,
0.5114532113075256,
-0.7530016899108887,
-0.39001500606536865,
-0.049654219299554825,
0.027072858065366745,
-0.024146024137735367,
0.5032745003700256,
0.4953368306159973,
-0.2714030146598816,
0.23825722932815552,
0.3106273412704468,
-0.09108199179172516,
0.4695415496826172,
-0.23887357115745544,
0.4850209057331085,
0.24197663366794586,
-0.3305874764919281,
-0.4456511437892914,
0.800703763961792,
0.7724645137786865,
0.044002238661050797,
0.7824622988700867,
0.2266175001859665,
-0.3689407408237457,
-0.0996881052851677,
-0.6410912275314331,
0.00210996950045228,
-0.3834463655948639,
0.6125336289405823,
-0.04863473400473595,
-0.6086528301239014,
0.2625642418861389,
0.14656834304332733,
-0.1800261288881302,
0.361325740814209,
0.4475526809692383,
-0.11462399363517761,
1.496341586112976,
0.5553719997406006,
-0.6045324802398682,
0.21545961499214172,
0.04290573671460152,
0.7283589243888855,
-1.1602394580841064,
-0.17353790998458862,
-0.5802188515663147,
-0.16142353415489197,
-0.6883676648139954,
-0.2709026634693146,
0.6479445099830627,
-0.009355142712593079,
-0.1970764696598053,
-0.2134203165769577,
-0.7550727725028992,
-0.034788891673088074,
0.12468677759170532,
0.29706522822380066,
0.059712473303079605,
-0.15581822395324707,
-0.08157090097665787,
-0.38469770550727844,
-0.0850907489657402,
-0.7015422582626343,
0.8661382794380188,
0.8560224771499634,
0.529628336429596,
0.126229926943779,
0.5422791242599487,
0.31001007556915283,
0.752707302570343,
-0.8798770308494568,
0.3443507254123688,
-0.15121132135391235,
-0.46658509969711304,
0.10831248015165329,
-0.16074439883232117,
-0.3082350790500641,
0.31961849331855774,
0.1936153918504715,
-0.8542386889457703,
0.4985816776752472,
0.09957742691040039,
-0.29086899757385254,
0.2693955600261688,
-0.579701840877533,
0.8003938794136047,
-0.07312427461147308,
0.11049909889698029,
-0.16820602118968964,
-0.584317147731781,
0.2919178307056427,
0.1337963342666626,
0.4351377785205841,
-0.0838480144739151,
-0.10267800092697144,
0.5320813655853271,
-0.6217967867851257,
0.6622219681739807,
-0.618643581867218,
-0.4145687520503998,
-0.15123173594474792,
0.1317533701658249,
0.11263857781887054,
0.4231526553630829,
-0.18985615670681,
-0.04767386242747307,
0.09574752300977707,
-0.3164029121398926,
-0.4377007782459259,
0.6965647339820862,
-0.9831045269966125,
-0.7390024065971375,
-0.716590940952301,
-0.3778310716152191,
-0.579563558101654,
-0.021736932918429375,
0.4692980647087097,
0.4314716160297394,
-0.25058794021606445,
-0.6759395599365234,
0.7425053119659424,
-0.6342238187789917,
0.07275673747062683,
0.37501126527786255,
-0.29277002811431885,
-0.2914535105228424,
0.30958449840545654,
-0.28115713596343994,
0.13796700537204742,
0.4829058051109314,
0.09070085734128952,
-0.3324156105518341,
-0.4399942457675934,
-0.26440536975860596,
0.639667272567749,
-0.8573781251907349,
0.1322326362133026,
-1.0462435483932495,
0.07367824763059616,
-0.603490948677063,
-0.34078294038772583,
-0.06378307193517685,
-0.14231432974338531,
-0.20709557831287384,
-0.25278156995773315,
0.30357280373573303,
0.844864547252655,
0.27594196796417236,
0.6237702965736389,
-0.5651710033416748,
0.08665013313293457,
-0.12603624165058136,
0.14349175989627838,
-0.11077559739351273,
-0.40034615993499756,
-0.13301384449005127,
-0.17174288630485535,
-0.5023918151855469,
-0.9895645380020142,
0.6146080493927002,
-0.3070872724056244,
0.3138948678970337,
0.8918062448501587,
-0.1327318400144577,
0.47223392128944397,
-0.3890607953071594,
0.9644726514816284,
0.5498313903808594,
-1.0819039344787598,
0.8645381927490234,
-0.402681440114975,
0.21764463186264038,
0.5887095332145691,
0.5789640545845032,
-1.0896003246307373,
-0.5576709508895874,
-0.5207396745681763,
-0.6449609994888306,
0.7192471623420715,
-0.7294570803642273,
0.02665824629366398,
-0.35503819584846497,
0.56154865026474,
0.23015561699867249,
0.39703187346458435,
-0.7756467461585999,
-0.15426860749721527,
-0.4352913200855255,
-0.5421175956726074,
-0.6255810260772705,
-0.5617538690567017,
-0.2943854033946991,
-0.10502015799283981,
0.34934356808662415,
-0.12257803231477737,
0.3790822923183441,
0.5012030005455017,
-0.09374319761991501,
-0.24969199299812317,
0.5135456323623657,
0.5459663271903992,
0.6386826038360596,
-0.2786563038825989,
0.43791288137435913,
-0.06617111712694168,
-0.8055214285850525,
0.006806542631238699,
-0.03690895810723305,
-0.14989738166332245,
0.2803547978401184,
0.3832307755947113,
0.7681766152381897,
-0.21288050711154938,
-0.31495752930641174,
0.9969677329063416,
-0.05586928501725197,
-0.08725292980670929,
-0.26690685749053955,
-0.26082345843315125,
-0.19512231647968292,
0.2520311176776886,
-0.04285252094268799,
0.1068064272403717,
0.49008846282958984,
-0.7263217568397522,
0.09638707339763641,
0.36621350049972534,
-0.9023876786231995,
-0.4842018783092499,
0.4698096811771393,
-0.2539438009262085,
0.020976008847355843,
0.7023805379867554,
0.21545273065567017,
-0.7490237951278687,
0.23412008583545685,
0.4339381456375122,
1.0484766960144043,
-0.295528382062912,
0.6364685893058777,
0.16885505616664886,
-0.039844099432229996,
-0.20470201969146729,
0.1931215226650238,
0.08728571981191635,
-0.4208507239818573,
-0.20814844965934753,
-0.5373982787132263,
-0.20108698308467865,
0.3822706341743469,
-0.9938806891441345,
0.3600563108921051,
-0.8960594534873962,
-0.6926050186157227,
0.17005132138729095,
-0.16962018609046936,
-0.2897174656391144,
0.4014425277709961,
0.4788322150707245,
0.7271091938018799,
-1.0302428007125854,
0.8690898418426514,
1.1196638345718384,
-0.30592450499534607,
-0.6664136648178101,
0.49680423736572266,
0.1754540055990219,
-0.40738457441329956,
0.38673651218414307,
0.1423804610967636,
0.05056566745042801,
-0.7600453495979309,
-0.2314286082983017,
-0.11070636659860611,
0.4502493739128113,
0.16785229742527008,
-0.5467373132705688,
-0.1455467939376831,
0.24292993545532227,
0.9387313723564148,
-0.4588460326194763,
0.4378414750099182,
0.3921610116958618,
0.036022819578647614,
-0.3735613524913788,
-0.9308065176010132,
0.07576268911361694,
-0.2428044229745865,
-0.06490382552146912,
0.3729574680328369,
-0.5345616936683655,
1.2230725288391113,
0.14064665138721466,
0.29601263999938965,
-0.38410624861717224,
0.15954701602458954,
0.062037184834480286,
0.5556098222732544,
0.4452989101409912,
0.5973047018051147,
0.6429297924041748,
0.13235466182231903,
1.1392074823379517,
-0.02444818802177906,
0.3143325746059418,
0.7540384531021118,
-0.6810441017150879,
0.5986414551734924,
0.8586521148681641,
-0.1394200474023819,
0.7885940670967102,
0.2120388001203537,
0.22493809461593628,
0.8678969740867615,
0.18947573006153107,
-0.7096655964851379,
0.05258055776357651,
-0.3349197804927826,
-0.4916463792324066,
0.0003049908555112779,
0.5949174165725708,
-0.9734753370285034,
-0.15297700464725494,
0.13247404992580414,
0.4385257959365845,
0.16524258255958557,
-0.512154757976532,
0.715623676776886,
0.5970802903175354,
-0.801048755645752,
0.23886682093143463,
0.15019777417182922,
0.3921589255332947,
-0.1677493453025818,
0.05425058305263519,
-0.2612557113170624,
0.7723859548568726,
-0.32186245918273926,
-0.7611600756645203,
0.13778583705425262,
0.1807337999343872,
-0.5299062132835388,
-0.15853562951087952,
0.351694792509079,
-0.008169862441718578,
-0.39425960183143616,
0.1581672728061676,
0.3697379529476166,
-0.03212772309780121,
-0.021244367584586143,
-0.6638429164886475,
-0.03582710772752762,
0.04586724564433098,
0.02158326469361782,
0.6927289366722107,
0.6907347440719604,
-0.2667567729949951,
0.41928666830062866,
0.0030536558479070663,
0.4951046109199524,
-0.22368992865085602,
0.3531983196735382,
0.8313583135604858,
-0.6389492750167847,
-0.7803571224212646,
-1.0515342950820923,
0.22202329337596893,
-0.26363512873649597,
-0.5237002968788147,
0.6636025309562683,
0.4023588001728058,
0.5214529633522034,
-0.19648602604866028,
1.0993397235870361,
0.10707051306962967,
1.0260248184204102,
-0.12497994303703308,
0.42392921447753906,
-0.40701672434806824,
0.2922515571117401,
-0.7658972144126892,
-0.6434099078178406,
-0.2254844456911087,
0.9693121314048767,
-0.858171284198761,
-0.09586210548877716,
0.6458097100257874,
0.6196721792221069,
-0.052527282387018204,
0.14336617290973663,
0.08401104062795639,
0.4046112895011902,
0.5343469381332397,
0.7988697290420532,
1.1125441789627075,
-0.2290995568037033,
-0.3703600764274597,
-0.2972160577774048,
-0.3468974828720093,
0.012822006829082966,
-0.7065970301628113,
-0.8774875998497009,
-0.42965492606163025,
-0.40224575996398926,
-0.715225875377655,
-0.20034779608249664,
0.8885605931282043,
0.3522394299507141,
-0.9430051445960999,
-0.08256173133850098,
0.14940495789051056,
0.033439844846725464,
-0.06759676337242126,
-0.24982485175132751,
0.40361177921295166,
-0.018631091341376305,
-0.36859479546546936,
-0.3381902277469635,
0.5683152675628662,
-0.3490099608898163,
-0.3154919147491455,
0.22512100636959076,
0.0305661428719759,
-0.12128034234046936,
0.5085859298706055,
-0.14192238450050354,
-0.6374763250350952,
-0.2136106938123703,
-0.22246752679347992,
-0.4215982258319855,
0.24904900789260864,
1.0210120677947998,
-0.592117965221405,
0.23916642367839813,
0.0636618509888649,
-0.04728025197982788,
0.12815463542938232,
0.0663454681634903,
0.4851020574569702,
-0.22488941252231598,
0.1508207619190216,
0.518244206905365,
0.35461172461509705,
0.4141523540019989,
-0.592242419719696,
-0.19506141543388367,
0.2450563758611679,
-0.4432642459869385,
-0.8997843861579895,
0.2196027636528015,
-0.9128491878509521,
-0.2131940871477127,
0.8726786375045776,
-0.19489063322544098,
-0.20975667238235474,
-0.35946789383888245,
-0.4775221347808838,
0.19187264144420624,
-0.4655463695526123,
1.0895007848739624,
0.5674849152565002,
-0.18541976809501648,
-0.26270559430122375,
-0.8975062966346741,
0.7935273051261902,
0.40878161787986755,
-0.5086506009101868,
-0.0793236717581749,
0.6458751559257507,
0.36399734020233154,
0.009888021275401115,
0.9815903902053833,
-0.5169569253921509,
0.07995490729808807,
-0.23959386348724365,
0.002637972589582205,
0.6865707635879517,
0.08680254220962524,
-0.5161764621734619,
0.08961082249879837,
0.3434310257434845,
-0.0391274094581604
] |
http://arxiv.org/abs/2405.20574v1
|
http://arxiv.org/pdf/2405.20574v1
|
Open Ko-LLM Leaderboard: Evaluating Large Language Models in Korean with Ko-H5 Benchmark
| 2024-05-31T02:05:45 | 2024-05-31T02:05:45 |
Chanjun Park, Hyeonwoo Kim, Dahyun Kim, Seonghwan Cho, Sanghoon Kim, Sukyung Lee, Yungi Kim, Hwalsuk Lee
|
cs.CL
|
cs.CL, cs.AI
|
This paper introduces the Open Ko-LLM Leaderboard and the Ko-H5 Benchmark as
vital tools for evaluating Large Language Models (LLMs) in Korean.
Incorporating private test sets while mirroring the English Open LLM
Leaderboard, we establish a robust evaluation framework that has been well
integrated in the Korean LLM community. We perform data leakage analysis that
shows the benefit of private test sets along with a correlation study within
the Ko-H5 benchmark and temporal analyses of the Ko-H5 score. Moreover, we
present empirical support for the need to expand beyond set benchmarks. We hope
the Open Ko-LLM Leaderboard sets precedent for expanding LLM evaluation to
foster more linguistic diversity.
|
[
-0.16642692685127258,
-0.42921751737594604,
0.6193692684173584,
0.5752934217453003,
-0.2748056948184967,
0.19785070419311523,
-0.6165526509284973,
-0.23806966841220856,
-0.10247031599283218,
0.6517067551612854,
-0.30989429354667664,
-1.120257019996643,
-0.5188860297203064,
-0.04468613117933273,
-0.01824539713561535,
0.569591760635376,
-0.39282727241516113,
0.22139151394367218,
-0.3287542760372162,
-0.2931731045246124,
-0.6082783341407776,
-0.4874695837497711,
-0.2614019513130188,
-0.4778877794742584,
0.38864389061927795,
0.42034563422203064,
0.8054986596107483,
0.8128342628479004,
0.6649898886680603,
0.26629287004470825,
-0.2094247192144394,
-0.36056625843048096,
-0.7311385273933411,
0.558595597743988,
-0.33653199672698975,
-0.538476288318634,
-0.6658169627189636,
0.012924276292324066,
1.0384434461593628,
0.9002298712730408,
-0.026514926925301552,
0.5286134481430054,
-0.11275500059127808,
0.8003654479980469,
-0.6761561632156372,
0.6735531687736511,
-0.44609105587005615,
0.09030187129974365,
-0.29877176880836487,
0.24416235089302063,
-0.37299633026123047,
-0.7404518723487854,
0.0587751530110836,
-0.2821226418018341,
-0.4706154465675354,
0.04801267758011818,
0.5939736366271973,
0.05696713179349899,
-0.38399460911750793,
-0.19362622499465942,
-0.5840637683868408,
0.8010476231575012,
-0.4826061725616455,
0.8574385643005371,
0.309002161026001,
0.7371852397918701,
-0.12307411432266235,
-0.5871172547340393,
-0.04245558753609657,
-0.41761356592178345,
0.2418293058872223,
0.38537079095840454,
0.0998273566365242,
-0.04415954649448395,
-0.058348122984170914,
0.6884577870368958,
-0.4700806438922882,
0.2781398594379425,
-0.28547853231430054,
-0.1103486567735672,
0.9955073595046997,
0.2744910717010498,
0.18308718502521515,
-0.08716786652803421,
-0.28113657236099243,
-0.12127193808555603,
-0.7658647894859314,
-0.34307780861854553,
0.7481407523155212,
0.35135379433631897,
-0.17244002223014832,
0.7216611504554749,
-0.40091851353645325,
0.19975626468658447,
-0.44960880279541016,
-0.41812434792518616,
0.4294853210449219,
-0.6119400262832642,
-0.11354593932628632,
0.23466144502162933,
0.8392329216003418,
0.4488711953163147,
0.5370283722877502,
-0.36685508489608765,
-0.024941226467490196,
0.010786090046167374,
-0.1547989547252655,
-0.7571152448654175,
-0.3784227669239044,
0.0739554762840271,
-0.7980793714523315,
-0.4480235278606415,
0.23734833300113678,
-1.297751545906067,
-0.34327712655067444,
-0.01442924328148365,
0.3360978364944458,
0.3156086504459381,
-0.5915012955665588,
0.09187337011098862,
-0.013178151100873947,
0.12010513991117477,
0.1789817065000534,
-0.3939913809299469,
0.6077485680580139,
0.6720283031463623,
0.746351420879364,
-0.5917409062385559,
-0.31630516052246094,
-0.3288101255893707,
-0.10531150549650192,
-0.6142929792404175,
0.33938872814178467,
-0.5594519376754761,
-0.4666758179664612,
0.15797555446624756,
0.2425883412361145,
-0.05209678038954735,
-0.9616239666938782,
0.670412003993988,
-0.5949741005897522,
0.08726388216018677,
-0.21327170729637146,
-0.5519797205924988,
0.09181737154722214,
0.06143765151500702,
-0.7045485377311707,
1.1867564916610718,
0.19660688936710358,
-0.2966093122959137,
0.05187464877963066,
-0.7259003520011902,
0.04292678087949753,
0.15767799317836761,
-0.12106055021286011,
-0.39347848296165466,
0.022018849849700928,
0.03028075210750103,
0.4035521149635315,
0.005517454352229834,
0.1601438671350479,
-0.5472519397735596,
-0.18600916862487793,
0.13759562373161316,
-0.17424476146697998,
0.7173312902450562,
0.24679070711135864,
-0.01632983423769474,
0.24813096225261688,
-0.7349680662155151,
0.4094729721546173,
0.20320124924182892,
-0.4482231140136719,
-0.5531589984893799,
-0.303814172744751,
-0.17885825037956238,
0.23674240708351135,
0.5583571195602417,
-0.4184074401855469,
0.06577865034341812,
-0.30191341042518616,
-0.08615110069513321,
1.005515456199646,
0.057686056941747665,
0.44985252618789673,
-0.12094555795192719,
0.8273158073425293,
-0.022087091580033302,
0.033377405256032944,
-0.3914604187011719,
-0.6804564595222473,
-0.3004452586174011,
-0.445099413394928,
0.7560587525367737,
0.49583935737609863,
-0.17265178263187408,
0.5741782784461975,
-0.3913578391075134,
-0.7950786352157593,
-1.0284416675567627,
0.237228125333786,
0.5675215125083923,
0.069122314453125,
-0.008537176065146923,
-0.2555185854434967,
-0.5039940476417542,
-0.8351617455482483,
-0.44146934151649475,
0.06697021424770355,
0.037464044988155365,
0.5730134844779968,
0.7562918663024902,
0.00837714597582817,
0.4721040725708008,
-0.48878633975982666,
0.01555778831243515,
-0.19040468335151672,
-0.36477130651474,
0.4061478078365326,
0.3189046382904053,
0.12522967159748077,
-0.39799991250038147,
-0.9009248614311218,
0.3107876181602478,
-0.789221465587616,
-0.38668006658554077,
0.5281969308853149,
-0.19114868342876434,
0.05390738695859909,
0.589758574962616,
-0.3751879036426544,
0.337698370218277,
0.9214711785316467,
-0.523139476776123,
0.7778181433677673,
0.07693058252334595,
0.2786749601364136,
-1.0569254159927368,
-0.06833095848560333,
-0.4151100516319275,
-0.30590012669563293,
-0.3644334375858307,
0.4609813094139099,
0.0802047848701477,
-0.20112168788909912,
-0.355415403842926,
0.8457489013671875,
-0.5259515047073364,
-0.7405010461807251,
-0.11228395998477936,
0.44613996148109436,
-0.19769468903541565,
0.12963370978832245,
-0.39357542991638184,
0.5505909323692322,
0.3357323706150055,
-0.4363424777984619,
0.4718672037124634,
0.16110333800315857,
-0.7780340909957886,
0.1800231784582138,
-0.5710252523422241,
0.14380775392055511,
0.14751341938972473,
-0.07716216146945953,
-1.062544822692871,
-0.3825174868106842,
0.18660686910152435,
-0.20377448201179504,
0.11894334852695465,
-0.2797091007232666,
-0.718328595161438,
-0.33181336522102356,
-0.5001645088195801,
0.18879082798957825,
0.7869682312011719,
-0.7189880013465881,
-0.00764774763956666,
0.3102116882801056,
-0.262253075838089,
-0.33983200788497925,
-0.36160969734191895,
-0.2741071879863739,
-0.25485190749168396,
-0.7468008399009705,
0.24093182384967804,
-0.2777343988418579,
-0.6307401061058044,
0.2292976677417755,
-0.32984861731529236,
-0.06473395228385925,
0.2974492609500885,
0.33419591188430786,
0.2687847316265106,
-0.5907753705978394,
-0.0008865094860084355,
0.049395911395549774,
-0.026725979521870613,
0.13607336580753326,
0.03739257901906967,
0.7539222836494446,
-0.3111921548843384,
-0.44146302342414856,
-0.4044964611530304,
0.02540576085448265,
0.7179890871047974,
-0.06189770996570587,
0.7326361536979675,
0.23873372375965118,
-0.3567304015159607,
0.002097486983984709,
-0.3277044892311096,
0.15907979011535645,
-0.4857119917869568,
0.6065694093704224,
-0.499455988407135,
-1.0712279081344604,
0.7719653248786926,
-0.5381753444671631,
-0.34246954321861267,
0.3377537131309509,
0.9216150641441345,
0.21921825408935547,
0.9847727417945862,
0.4822166860103607,
-0.22411423921585083,
0.12613114714622498,
0.2920275330543518,
0.2453479766845703,
-0.8056982755661011,
-0.13472074270248413,
-0.5411556959152222,
-0.17782677710056305,
-0.8768234252929688,
-0.23190182447433472,
0.30824828147888184,
0.5878778696060181,
-0.2561732828617096,
0.05503325164318085,
-0.12261247634887695,
0.8982831239700317,
0.2196168452501297,
-0.1785769909620285,
0.6598441004753113,
-0.2057628333568573,
-0.593432605266571,
-0.336905300617218,
-0.45548707246780396,
-0.6781794428825378,
1.4311662912368774,
0.7325670123100281,
0.8575913310050964,
0.054990094155073166,
0.7243840098381042,
0.00048177866847254336,
0.23662246763706207,
-0.6570388078689575,
0.6447913646697998,
0.01811097003519535,
-0.45670926570892334,
-0.4145350158214569,
-0.3390693962574005,
-0.7840560674667358,
0.4613991379737854,
0.17600661516189575,
-0.8513413667678833,
-0.14433501660823822,
-0.23815424740314484,
0.06532866507768631,
0.03408432751893997,
-0.7405489087104797,
1.0969927310943604,
0.07143045961856842,
-0.19100892543792725,
0.1553608775138855,
-0.24079445004463196,
0.7364120483398438,
-0.05826426297426224,
0.10497697442770004,
-0.3225625455379486,
-0.21274687349796295,
0.7818232774734497,
-0.1666387915611267,
0.5984999537467957,
-0.12765604257583618,
-0.23341265320777893,
0.04680249094963074,
-0.004857921041548252,
0.4705839157104492,
0.12393691390752792,
-0.16268035769462585,
0.40510454773902893,
-0.15272466838359833,
-0.19428393244743347,
-0.6421631574630737,
1.029344081878662,
-0.8485125303268433,
-0.22128383815288544,
-0.24652494490146637,
-0.5123630166053772,
-0.20579762756824493,
0.34941989183425903,
-0.09306110441684723,
-0.15103408694267273,
-0.21817471086978912,
0.4232621490955353,
0.5397430658340454,
-0.3320089876651764,
0.1997964233160019,
0.5293333530426025,
-1.0477052927017212,
-0.7939562797546387,
0.7123373746871948,
0.23838433623313904,
0.5136710405349731,
-0.1975553184747696,
0.338608980178833,
-0.25549858808517456,
-0.5800225138664246,
-0.15666352212429047,
0.27822479605674744,
-0.7404605746269226,
0.016331732273101807,
-0.30855974555015564,
-0.44944196939468384,
-0.479270339012146,
0.09195443987846375,
-0.8916749358177185,
-0.37663957476615906,
0.26119524240493774,
-0.18420715630054474,
0.046084921807050705,
0.8200408220291138,
0.13674505054950714,
0.328065425157547,
-0.5642737150192261,
0.19937844574451447,
0.06434876471757889,
0.8979699015617371,
-0.02288808487355709,
-0.27501437067985535,
-0.20890076458454132,
-0.308971643447876,
-0.3059927225112915,
-0.8118928074836731,
0.13197030127048492,
-0.23376324772834778,
0.8813429474830627,
0.26902756094932556,
-0.005274289287626743,
0.4802943766117096,
-0.6724244356155396,
0.8610926866531372,
-0.010723154060542583,
-0.8134768605232239,
0.4484805464744568,
-0.3836982846260071,
0.6194998621940613,
0.5754817724227905,
0.6666600108146667,
-0.6232378482818604,
-0.40378138422966003,
-0.49008890986442566,
-0.6209393739700317,
0.5735818147659302,
0.34889334440231323,
-0.042118512094020844,
0.21703802049160004,
0.1780940592288971,
0.413118451833725,
0.543798565864563,
-0.7970066070556641,
-0.4690968990325928,
-0.04956980049610138,
-0.35308435559272766,
-0.03656672686338425,
-0.35169196128845215,
-0.07493892312049866,
-0.2795507609844208,
0.5250928997993469,
0.02708275057375431,
0.22519584000110626,
-0.1221093088388443,
0.014869085513055325,
-0.28084155917167664,
0.4347778856754303,
0.4203934073448181,
0.8088864088058472,
-0.2673598527908325,
-0.026297882199287415,
0.10379227995872498,
-0.58320152759552,
0.04820464923977852,
-0.04163371026515961,
0.04531022161245346,
0.06664761155843735,
0.5102728605270386,
0.6829957962036133,
0.4323156774044037,
-0.7219817638397217,
0.46115466952323914,
0.19188342988491058,
-0.24884717166423798,
-0.13507452607154846,
0.07792309671640396,
0.419411301612854,
0.3887493908405304,
-0.009586146101355553,
-0.5948689579963684,
-0.2657729685306549,
-0.8030661344528198,
0.1536111831665039,
0.11762376129627228,
-0.346879243850708,
-0.4281459450721741,
0.43670418858528137,
-0.14419837296009064,
-0.30847954750061035,
0.49861249327659607,
-0.18867795169353485,
-0.6700952649116516,
0.5938704609870911,
0.6709303855895996,
0.9043397307395935,
-0.7294234037399292,
0.1264243721961975,
0.36548036336898804,
0.47512131929397583,
-0.18140074610710144,
0.5776025056838989,
0.16161201894283295,
-0.5587503910064697,
-0.36033037304878235,
-0.6425259709358215,
-0.4993821680545807,
0.41205230355262756,
-0.7752789855003357,
0.32344353199005127,
-0.27958783507347107,
0.13629969954490662,
-0.33889976143836975,
0.16238921880722046,
-0.35549110174179077,
-0.21569892764091492,
0.0924716368317604,
0.9396100640296936,
-0.6323881149291992,
0.7058396339416504,
0.43354952335357666,
-0.08184536546468735,
-0.2591147720813751,
0.11131371557712555,
-0.2898182272911072,
-0.8173124194145203,
0.7950080633163452,
0.20339301228523254,
0.37102416157722473,
-0.19435474276542664,
-0.502530574798584,
-1.0847939252853394,
1.3007750511169434,
0.22706322371959686,
-0.6501666903495789,
0.14854714274406433,
0.31157925724983215,
0.5769143104553223,
-0.591939389705658,
-0.00021550201927311718,
0.5555464625358582,
0.755605936050415,
-0.28461337089538574,
-1.234623908996582,
0.08941067010164261,
-0.028023572638630867,
-0.027810096740722656,
0.2883039712905884,
-0.8761998414993286,
0.7437832355499268,
0.0743953138589859,
-0.10547610372304916,
0.2755022943019867,
0.4797920882701874,
0.5049787163734436,
0.514192521572113,
0.31286463141441345,
0.4916725754737854,
0.746362566947937,
-0.017240401357412338,
0.8616000413894653,
-0.25771456956863403,
0.34563905000686646,
1.5094637870788574,
-0.7295414805412292,
0.991272509098053,
0.12001767754554749,
-0.3266160190105438,
0.30474886298179626,
0.3571467399597168,
-0.06418442726135254,
0.7711777687072754,
0.5147656202316284,
-0.12364345788955688,
-0.06925319135189056,
0.08817534148693085,
-0.5622338652610779,
0.5861828923225403,
0.05115629360079765,
-0.4827388525009155,
-0.45119088888168335,
-0.08281953632831573,
0.37168243527412415,
0.24533703923225403,
-0.5842868089675903,
0.5321328043937683,
0.2388608753681183,
-0.48807916045188904,
0.22503562271595,
0.09427221864461899,
0.2316949963569641,
-0.5899689197540283,
0.09429782629013062,
-0.16019830107688904,
0.31739887595176697,
-0.04359354451298714,
-0.8318684697151184,
0.19357964396476746,
-0.0069602360017597675,
-0.05753026530146599,
-0.16407759487628937,
0.9680172204971313,
-0.6329482197761536,
-0.3538145422935486,
0.6725301146507263,
0.694526195526123,
0.31432440876960754,
0.0027611772529780865,
-0.48177996277809143,
0.5570203065872192,
-0.3174002766609192,
-0.3941361904144287,
0.5896002054214478,
0.33930376172065735,
-0.2774418294429779,
0.5530725717544556,
0.5035322904586792,
0.1314561665058136,
0.37698492407798767,
0.16189981997013092,
0.7392076849937439,
-0.6641724705696106,
-0.40551167726516724,
-0.9703310132026672,
0.2250872105360031,
-0.22871406376361847,
-0.33505403995513916,
1.2485567331314087,
0.7981898188591003,
1.0559422969818115,
-0.1891935169696808,
0.8520776033401489,
0.44892221689224243,
0.4918072521686554,
-0.5908585786819458,
1.1474661827087402,
-0.13930444419384003,
0.08366473764181137,
-0.3743874132633209,
-1.133687973022461,
-0.08411544561386108,
0.2436942309141159,
-0.4352433681488037,
0.07022940367460251,
0.9429430961608887,
0.5020760893821716,
0.12073154747486115,
0.13323789834976196,
0.6384376883506775,
0.6869217753410339,
0.1252831518650055,
0.24524793028831482,
0.8799256086349487,
-0.6043364405632019,
0.5446173548698425,
-0.3923666775226593,
-0.21963557600975037,
-0.021684959530830383,
-0.9755380749702454,
-1.2671931982040405,
-0.34134697914123535,
-0.45964717864990234,
-0.35227251052856445,
0.33158746361732483,
0.6435830593109131,
0.3202114701271057,
-0.6952424049377441,
-0.4441634714603424,
0.19102761149406433,
0.48006248474121094,
-0.13500364124774933,
-0.351462721824646,
0.3985145092010498,
-0.3320305049419403,
-0.6464619040489197,
0.6556878089904785,
0.28254640102386475,
-0.09682859480381012,
-0.5522799491882324,
-0.2914489805698395,
0.0098505774512887,
0.0022675474174320698,
0.7078534960746765,
-0.1375184953212738,
-0.492905855178833,
-0.16220375895500183,
0.054189711809158325,
0.03246210888028145,
-0.028974220156669617,
0.38565653562545776,
-0.512157678604126,
0.4264497756958008,
0.4892290532588959,
0.6912955641746521,
0.29456955194473267,
-0.2203560620546341,
0.6501663327217102,
-0.5008059740066528,
-0.1328231692314148,
-0.05050898343324661,
0.15955540537834167,
0.04189656302332878,
-0.002652131486684084,
0.8106681108474731,
0.3411920964717865,
-0.7198665142059326,
-1.2983747720718384,
0.09167353063821793,
-0.8468123078346252,
-0.043505605310201645,
1.2893247604370117,
-0.33371517062187195,
-0.5055262446403503,
-0.028449466452002525,
0.08825252205133438,
-0.09555095434188843,
-0.2729065418243408,
0.497062623500824,
1.4116677045822144,
0.23951657116413116,
0.06866582483053207,
-1.0156946182250977,
0.3138602674007416,
-0.11151569336652756,
-0.9384070634841919,
0.09158314764499664,
0.08742696791887283,
0.35973668098449707,
0.04452601075172424,
0.6131040453910828,
-0.7606379389762878,
0.24669364094734192,
0.07709664106369019,
-0.1423003077507019,
0.003022120799869299,
-0.5835678577423096,
-0.4230726361274719,
0.3114932179450989,
-0.04610429331660271,
-0.2904014587402344
] |
http://arxiv.org/abs/2405.20541v1
|
http://arxiv.org/pdf/2405.20541v1
|
Perplexed by Perplexity: Perplexity-Based Data Pruning With Small Reference Models
| 2024-05-30T23:50:20 | 2024-05-30T23:50:20 |
Zachary Ankner, Cody Blakeney, Kartik Sreenivasan, Max Marion, Matthew L. Leavitt, Mansheej Paul
|
cs.LG
|
cs.LG, cs.CL
|
In this work, we investigate whether small language models can determine
high-quality subsets of large-scale text datasets that improve the performance
of larger language models. While existing work has shown that pruning based on
the perplexity of a larger model can yield high-quality data, we investigate
whether smaller models can be used for perplexity-based pruning and how pruning
is affected by the domain composition of the data being pruned. We demonstrate
that for multiple dataset compositions, perplexity-based pruning of pretraining
data can \emph{significantly} improve downstream task performance: pruning
based on perplexities computed with a 125 million parameter model improves the
average performance on downstream tasks of a 3 billion parameter model by up to
2.04 and achieves up to a $1.45\times$ reduction in pretraining steps to reach
commensurate baseline performance. Furthermore, we demonstrate that such
perplexity-based data pruning also yields downstream performance gains in the
over-trained and data-constrained regimes.
|
[
-0.42716023325920105,
-0.6006767153739929,
0.527056872844696,
0.040883537381887436,
-0.4109794795513153,
-0.22559134662151337,
-0.2300257682800293,
-0.21915754675865173,
-0.056953854858875275,
0.7372535467147827,
-0.8832707405090332,
-0.35168901085853577,
-0.5659365057945251,
0.2244398295879364,
-0.508117139339447,
1.0388479232788086,
0.10524445027112961,
-0.1846853494644165,
-0.18476763367652893,
-0.05049247667193413,
-0.3209693729877472,
-1.0036914348602295,
-0.15768831968307495,
-0.4241320490837097,
0.851945161819458,
0.8329120874404907,
0.9728177785873413,
0.9064171314239502,
0.8046671748161316,
0.27486854791641235,
-0.006009950768202543,
0.11603403091430664,
-0.9351141452789307,
0.18982258439064026,
-0.3193647563457489,
-0.6930698752403259,
-0.21694272756576538,
0.06132105365395546,
0.7221955060958862,
1.0785940885543823,
-0.024164265021681786,
0.13459235429763794,
-0.03831448033452034,
0.8313322067260742,
-0.5934374928474426,
-0.38481512665748596,
-0.6548720002174377,
0.011378669179975986,
-0.4404946565628052,
-0.04110938683152199,
-0.09125984460115433,
0.00045518740080296993,
0.18052861094474792,
-0.6754043698310852,
0.5714613795280457,
0.11321593075990677,
1.0082439184188843,
0.6211699843406677,
-0.3361155092716217,
-0.06357501447200775,
-1.0830212831497192,
0.85433429479599,
-0.8540213704109192,
0.21420079469680786,
0.25615328550338745,
0.11846861988306046,
0.06148377060890198,
-0.7268038988113403,
-0.5909816026687622,
0.14145618677139282,
-0.1614985167980194,
-0.22407454252243042,
0.028094498440623283,
-0.09539932012557983,
0.7291706800460815,
0.4806108772754669,
-0.4166688024997711,
-0.01793297752737999,
-0.2941066026687622,
-0.02036316506564617,
0.7931409478187561,
0.41626861691474915,
-0.1478894054889679,
-0.12143740057945251,
-0.1900927722454071,
-0.3231458365917206,
-1.2961231470108032,
-0.04353481903672218,
0.8869403600692749,
0.30127134919166565,
0.31209588050842285,
0.5075967907905579,
-0.42242226004600525,
0.6416918635368347,
-0.1349422186613083,
-0.15114322304725647,
0.09444217383861542,
-0.42784422636032104,
-0.2882641851902008,
-0.392920583486557,
0.47422704100608826,
-0.20838315784931183,
0.10189950466156006,
-0.38048410415649414,
-0.42078647017478943,
-0.0810592770576477,
0.3442697823047638,
-0.8484262228012085,
-0.689220130443573,
0.31758520007133484,
-0.454488068819046,
-0.07659564167261124,
0.03553229942917824,
-0.3842412233352661,
-0.42196279764175415,
-0.5818414688110352,
0.2601219713687897,
-0.5263153910636902,
-0.29883161187171936,
0.12598788738250732,
0.061364445835351944,
-0.16888296604156494,
0.47340235114097595,
-0.6108946204185486,
0.39504989981651306,
0.7809053659439087,
0.47217321395874023,
-0.16728408634662628,
-0.3516884744167328,
-0.45912736654281616,
0.14824283123016357,
-0.14797046780586243,
0.751253068447113,
-0.8185519576072693,
-0.2495349496603012,
-0.33620768785476685,
-0.07766133546829224,
-0.22583824396133423,
-0.9744418263435364,
0.5507779717445374,
-0.4303593933582306,
-0.29935938119888306,
-0.49288827180862427,
-0.5523159503936768,
-0.25846609473228455,
0.03598978370428085,
-0.9394294023513794,
0.6505811810493469,
-0.030089084059000015,
-0.999916136264801,
0.3422503173351288,
-0.3289417028427124,
-0.5727509260177612,
-0.0601491779088974,
-0.19121003150939941,
-0.5001618266105652,
0.40210747718811035,
0.09111455082893372,
0.3276605010032654,
-0.6983067393302917,
0.1426560878753662,
-0.3499910235404968,
-0.42049330472946167,
0.013623436912894249,
-0.2062096893787384,
0.5729663372039795,
0.2630680501461029,
-0.005546713713556528,
0.16015543043613434,
-0.5859514474868774,
-0.1383962631225586,
0.15750519931316376,
-0.3344231843948364,
-0.39693939685821533,
0.21301215887069702,
-0.19279742240905762,
0.2882682681083679,
0.06736860424280167,
-0.2821429669857025,
0.28191518783569336,
-0.3955046832561493,
0.38104677200317383,
0.4496816396713257,
-0.058994829654693604,
0.29401400685310364,
-0.6979572176933289,
0.5758589506149292,
0.5065933465957642,
0.05252492055296898,
-0.003408397315070033,
-0.22991591691970825,
-0.9959381818771362,
-0.12942945957183838,
0.5953293442726135,
0.5885353684425354,
-0.9709941744804382,
0.3563520908355713,
-0.5199194550514221,
-0.44812852144241333,
-0.41629382967948914,
0.22596320509910583,
0.5154722929000854,
0.43413758277893066,
0.3233041763305664,
-0.6513751149177551,
-0.4094223976135254,
-1.0172199010849,
-0.3405669629573822,
0.03691430017352104,
-0.3306875228881836,
0.35932475328445435,
0.5572202205657959,
0.07555878162384033,
1.0401630401611328,
-0.5514007806777954,
-0.13583174347877502,
-0.07225470244884491,
0.371022492647171,
0.30206769704818726,
0.8275760412216187,
0.01540268212556839,
-1.0665714740753174,
-0.22787293791770935,
-0.30386126041412354,
-0.4219333827495575,
0.14773978292942047,
-0.0034382010344415903,
0.11748325079679489,
-0.13585874438285828,
0.42917919158935547,
-0.5736263990402222,
0.4343019723892212,
0.2694666385650635,
-0.06895029544830322,
0.9070071578025818,
-0.18209414184093475,
-0.09729751199483871,
-0.7003831267356873,
0.22888362407684326,
0.0006464826874434948,
-0.045527614653110504,
-0.6448241472244263,
-0.018293438479304314,
-0.10195150226354599,
-0.08411145210266113,
-0.23258168995380402,
0.003242195351049304,
-0.536788821220398,
0.017726944759488106,
0.02967868000268936,
-0.14680074155330658,
-0.3110397458076477,
0.5369529128074646,
0.12103285640478134,
0.6835905909538269,
0.28509455919265747,
-0.5633682608604431,
0.24108979105949402,
0.322907418012619,
-0.312766432762146,
0.3751981258392334,
-0.540820837020874,
0.40468040108680725,
-0.09545136988162994,
0.13732734322547913,
-0.8102640509605408,
-0.30673864483833313,
-0.1676851361989975,
-0.3051183819770813,
0.2129712551832199,
-0.29053738713264465,
-0.6706696152687073,
-0.0559191070497036,
-0.19679804146289825,
0.6858142614364624,
0.4831535816192627,
-0.2898164689540863,
0.2996789216995239,
0.2929486036300659,
-0.4729829728603363,
-0.376745343208313,
-0.5889201164245605,
0.022500066086649895,
-0.39784568548202515,
-0.7664914131164551,
0.4432393014431,
-0.0743751972913742,
-0.0600849948823452,
-0.01651153899729252,
-0.3768283426761627,
-0.037827372550964355,
0.0745110809803009,
0.23898139595985413,
-0.033002328127622604,
-0.25188007950782776,
0.25377827882766724,
-0.001892081112600863,
-0.0561620332300663,
0.09679265320301056,
-0.3039501905441284,
0.4671318829059601,
0.23636256158351898,
-0.517596423625946,
-0.11371899396181107,
0.4685378074645996,
0.22243154048919678,
-0.24026787281036377,
0.5973464846611023,
0.09534133225679398,
-0.29557231068611145,
-0.38609087467193604,
-0.6346372365951538,
-0.5497539043426514,
-0.4756723940372467,
0.36298099160194397,
-0.8044110536575317,
-0.9003564715385437,
0.4780423939228058,
-0.44362872838974,
-0.062355272471904755,
0.3951084613800049,
0.1595723181962967,
-0.05981544777750969,
0.9515697956085205,
0.7438876032829285,
-0.14515896141529083,
0.30368563532829285,
-0.33018404245376587,
0.42899319529533386,
-0.7707549333572388,
0.12729741632938385,
-0.8716535568237305,
-0.37577924132347107,
-0.4894814193248749,
-0.3592381775379181,
0.14685992896556854,
0.2161770910024643,
-0.31572073698043823,
0.22745445370674133,
-0.3870004117488861,
0.44647350907325745,
0.5697720646858215,
0.14816202223300934,
0.5165160298347473,
0.2877758741378784,
-0.10967280715703964,
-0.188142329454422,
-1.0945894718170166,
-0.7532474994659424,
1.1691269874572754,
0.3902229368686676,
0.6549684405326843,
0.1014217957854271,
0.6074286699295044,
-0.13108031451702118,
0.38302791118621826,
-0.5079882740974426,
0.4537225365638733,
-0.527498185634613,
-0.7383362650871277,
-0.5313438177108765,
-0.8304831981658936,
-0.9251102805137634,
0.24841780960559845,
-0.22667936980724335,
-0.7953136563301086,
0.4888804256916046,
0.3600522577762604,
-0.4364815652370453,
0.1584690660238266,
-0.7776121497154236,
0.739503026008606,
0.11558931320905685,
-0.5150729417800903,
-0.19806784391403198,
-0.7128653526306152,
0.3900749087333679,
-0.19031646847724915,
0.006210397928953171,
-0.004450904205441475,
-0.14980119466781616,
0.9160673022270203,
-0.8665533661842346,
0.6607316136360168,
-0.07656192034482956,
-0.09641378372907639,
-0.056256670504808426,
0.11545494198799133,
0.6577397584915161,
0.049548856914043427,
-0.21164287626743317,
0.08410198986530304,
-0.041743289679288864,
-0.6128042340278625,
-0.5617061853408813,
0.6941761374473572,
-0.7015194296836853,
-0.9555224180221558,
0.006107709836214781,
-0.7744516730308533,
-0.7013688087463379,
0.1939278542995453,
0.442192941904068,
0.3770640790462494,
0.38487139344215393,
0.4798080027103424,
0.8020961880683899,
0.007267836946994066,
0.19822902977466583,
0.42568686604499817,
0.37347760796546936,
-0.19376616179943085,
1.1801856756210327,
0.4257209300994873,
0.25118812918663025,
0.1852301061153412,
-0.12577252089977264,
-0.047135937958955765,
-1.038960576057434,
-0.05055401846766472,
0.3966917097568512,
-0.6550132632255554,
-0.13523921370506287,
-0.38120409846305847,
-0.1608678549528122,
-0.2855345606803894,
0.2589355707168579,
-0.37947237491607666,
-0.48187369108200073,
-0.1676868349313736,
0.24298304319381714,
0.01768488995730877,
0.7084885835647583,
0.25920194387435913,
0.42900189757347107,
-0.8218702077865601,
0.11349808424711227,
0.2316102236509323,
0.3299320340156555,
0.10606096684932709,
-0.6323385238647461,
-0.34182432293891907,
0.10639052093029022,
-0.27403420209884644,
-0.731260359287262,
0.3594299554824829,
-0.0958540141582489,
0.37459492683410645,
0.1987515538930893,
0.29514771699905396,
0.8328790068626404,
-0.3355647921562195,
0.5755547881126404,
0.1851758062839508,
-0.8287675976753235,
0.22643902897834778,
-0.4421110153198242,
0.4904719293117523,
0.6596903800964355,
0.537796139717102,
-0.24315980076789856,
-0.4210003912448883,
-0.8525629639625549,
-1.1599302291870117,
0.951201856136322,
0.578873336315155,
-0.27315908670425415,
0.6740083694458008,
0.4864661693572998,
0.14329321682453156,
0.49533611536026,
-0.30105796456336975,
-0.19294382631778717,
0.008059299550950527,
-0.2104215770959854,
-0.20872555673122406,
-0.3150516450405121,
-0.43347829580307007,
-0.35919052362442017,
0.6281388998031616,
-0.10418082028627396,
0.15890981256961823,
0.2593221068382263,
-0.13777582347393036,
0.047330133616924286,
0.05508480221033096,
0.4004187285900116,
0.7791683673858643,
0.022134672850370407,
0.12467817962169647,
0.0025033368729054928,
-0.6347184777259827,
0.20045243203639984,
0.2654077410697937,
-0.18069776892662048,
-0.1802525669336319,
0.4801510274410248,
0.726234495639801,
-0.16649626195430756,
-0.4790590703487396,
0.169307142496109,
-0.044901181012392044,
-0.298793226480484,
0.07486773282289505,
0.3319411277770996,
0.17897506058216095,
0.05778161436319351,
0.6593682169914246,
0.0763590857386589,
0.14984554052352905,
-0.20457147061824799,
0.08415407687425613,
0.15402686595916748,
-0.03877820819616318,
-0.2718592882156372,
0.32885265350341797,
0.3606571853160858,
-0.23728778958320618,
0.9061845541000366,
0.031064443290233612,
-0.31214001774787903,
0.8535178303718567,
0.2688021659851074,
0.5800073146820068,
-0.10385311394929886,
-0.17400704324245453,
0.22758741676807404,
0.42817097902297974,
-0.14319604635238647,
0.16522352397441864,
-0.15437830984592438,
-0.7765513062477112,
-0.5581594705581665,
-0.3915582597255707,
-0.49635159969329834,
0.4660789370536804,
-0.4571033716201782,
-0.05881628394126892,
-0.32712748646736145,
-0.13358107209205627,
0.1708678901195526,
0.2684028148651123,
-0.6933397650718689,
0.6034187078475952,
-0.21703751385211945,
0.9163828492164612,
-0.7729732990264893,
1.2213308811187744,
0.86966472864151,
-0.46562761068344116,
-1.196092128753662,
0.4361114501953125,
-0.18118330836296082,
0.02654525451362133,
0.5806746482849121,
0.028182605281472206,
-0.15043433010578156,
0.0762452781200409,
-0.5947825908660889,
-0.9477522969245911,
0.7832720875740051,
0.768997848033905,
-0.8330816030502319,
-0.12037388235330582,
0.3519239127635956,
0.38799330592155457,
-0.3500984311103821,
-0.04595959931612015,
0.9078964591026306,
0.4508014917373657,
0.13041657209396362,
-0.9488145709037781,
0.24946129322052002,
-0.48729100823402405,
0.1530441790819168,
0.17501626908779144,
-0.43849876523017883,
1.1538376808166504,
-0.020648648962378502,
-0.4312514364719391,
0.0242104921489954,
0.4335251450538635,
0.23047268390655518,
0.20271120965480804,
0.7345134615898132,
0.5744733810424805,
0.7641366124153137,
-0.23312202095985413,
1.0343207120895386,
-0.18773090839385986,
0.35434475541114807,
1.2330985069274902,
-0.453067809343338,
0.7360490560531616,
0.8054444193840027,
-0.35490453243255615,
0.34064415097236633,
0.6151878237724304,
0.28454509377479553,
0.3004649877548218,
0.3323701024055481,
-0.077199287712574,
-0.44067317247390747,
0.11045132577419281,
-0.17142708599567413,
-0.06258225440979004,
0.2576025426387787,
-0.0011604184983298182,
-0.13257667422294617,
-0.08965396136045456,
-0.03612659126520157,
0.04531414061784744,
-0.0232451893389225,
0.6720062494277954,
0.027563774958252907,
-0.9463793635368347,
0.925186812877655,
0.04977147653698921,
0.6183405518531799,
-0.5406636595726013,
0.11033765226602554,
-0.39058181643486023,
0.3570729196071625,
-0.4972275197505951,
-0.3489135205745697,
0.4555250406265259,
-0.17517901957035065,
-0.32494619488716125,
-0.14446856081485748,
0.6698729991912842,
-0.3508857786655426,
-0.2499839812517166,
-0.03431319817900658,
0.34469762444496155,
0.05164339020848274,
-0.4978756010532379,
-0.47919511795043945,
0.10576742142438889,
0.032534826546907425,
-0.5203535556793213,
0.38496893644332886,
0.6120511889457703,
-0.16040220856666565,
0.7312023639678955,
0.6831467747688293,
0.24211271107196808,
-0.12255775183439255,
-0.20986169576644897,
1.2998963594436646,
-0.6905141472816467,
-0.42361998558044434,
-0.3725224733352661,
0.6244249939918518,
-0.34524306654930115,
-0.46252596378326416,
0.7067603468894958,
0.560120165348053,
1.062086582183838,
-0.20115025341510773,
0.7197721004486084,
0.02685314044356346,
0.7945653796195984,
-0.5013121366500854,
0.6118389368057251,
-0.6024317741394043,
0.5998970866203308,
-0.14877411723136902,
-0.6006298661231995,
-0.27018386125564575,
0.48980042338371277,
-0.8587221503257751,
0.10545174777507782,
0.9165963530540466,
1.1043250560760498,
-0.22433462738990784,
0.09888575971126556,
0.2657884359359741,
0.18451540172100067,
0.1025184765458107,
0.600504994392395,
0.6659162640571594,
-0.31048494577407837,
0.6986042261123657,
-0.5584818720817566,
-0.13814572989940643,
-0.2191135734319687,
-0.7718863487243652,
-0.6684401035308838,
-0.7813560366630554,
-0.38943374156951904,
-0.07655715197324753,
0.1219349279999733,
0.43408888578414917,
1.0500867366790771,
-0.9060271382331848,
-0.3877660632133484,
-0.3552688658237457,
0.22790271043777466,
-0.2155667543411255,
-0.16181765496730804,
0.1412060707807541,
-0.36270031332969666,
-0.5066094398498535,
0.2764560282230377,
-0.0816131979227066,
-0.13811586797237396,
-0.2417481243610382,
-0.053659602999687195,
-0.2309700846672058,
0.24793243408203125,
0.31982651352882385,
0.21524067223072052,
-0.3833695352077484,
-0.013812468387186527,
-0.3074815273284912,
-0.04781853407621384,
-0.0529223307967186,
1.3158420324325562,
-0.6783254742622375,
0.027988402172923088,
0.5396178364753723,
0.5976653695106506,
0.6799535155296326,
0.26210758090019226,
0.7791761159896851,
-0.9292624592781067,
0.4231220483779907,
0.5833396911621094,
0.043027568608522415,
0.38539624214172363,
-0.4169243574142456,
0.5052258372306824,
0.3040706217288971,
-0.4817989766597748,
-0.9047528505325317,
0.4684748947620392,
-0.43470340967178345,
-0.5332584977149963,
1.0420479774475098,
-0.41958826780319214,
-0.25375017523765564,
-0.24178172647953033,
-0.1542527824640274,
0.00039458854007534683,
-0.16774067282676697,
0.6724216938018799,
0.8845082521438599,
-0.05799884349107742,
-0.005017532501369715,
-0.39908868074417114,
0.7232640981674194,
1.006464958190918,
-0.8794500231742859,
0.2650095224380493,
0.5466916561126709,
0.2764441668987274,
0.08599605411291122,
0.255190372467041,
0.03715645521879196,
0.25251489877700806,
0.12110742926597595,
-0.19741809368133545,
-0.1004197970032692,
-0.547084629535675,
-0.35642582178115845,
0.5200810432434082,
0.15320511162281036,
0.05562456324696541
] |
http://arxiv.org/abs/2405.20535v1
|
http://arxiv.org/pdf/2405.20535v1
|
Unveiling the Impact of Coding Data Instruction Fine-Tuning on Large Language Models Reasoning
| 2024-05-30T23:20:25 | 2024-05-30T23:20:25 |
Xinlu Zhang, Zhiyu Zoey Chen, Xi Ye, Xianjun Yang, Lichang Chen, William Yang Wang, Linda Ruth Petzold
|
cs.AI
|
cs.AI, cs.CL
|
Instruction Fine-Tuning (IFT) significantly enhances the zero-shot
capabilities of pretrained Large Language Models (LLMs). While coding data is
known to boost reasoning abilities during LLM pretraining, its role in
activating internal reasoning capacities during IFT remains understudied. This
paper investigates a key question: How does coding data impact LLMs' reasoning
capacities during the IFT stage? To explore this, we thoroughly examine the
impact of coding data across different coding data proportions, model families,
sizes, and reasoning domains, from various perspectives. Specifically, we
create three IFT datasets with increasing coding data proportions, fine-tune
six LLM backbones across different families and scales on these datasets,
evaluate the tuned models' performance across twelve tasks in three reasoning
domains, and analyze the outcomes from three broad-to-granular perspectives:
overall, domain-level, and task-specific. Our holistic analysis provides
valuable insights in each perspective. First, coding data tuning enhances the
overall reasoning capabilities of LLMs across different model families and
scales. Moreover, the effect of coding data varies among different domains but
shows consistent trends across model families and scales within each domain.
Additionally, coding data generally yields comparable task-specific benefits
across different model families, with the optimal coding data proportions in
IFT datasets being task-specific.
|
[
-0.46728336811065674,
-0.4577178955078125,
0.6291298270225525,
-0.12298951297998428,
-0.08288994431495667,
-0.11450164765119553,
-0.4770917296409607,
-0.3724782168865204,
-0.5609384179115295,
0.6104863286018372,
-0.4178845286369324,
-0.606177568435669,
-0.6807084679603577,
0.08148419857025146,
-0.3734923005104065,
1.1342568397521973,
0.03466494008898735,
0.01007247157394886,
-0.3655327260494232,
0.2292521893978119,
-0.827531635761261,
-0.8860560655593872,
-0.2768988311290741,
-0.25618743896484375,
0.29366129636764526,
0.8797402381896973,
0.6186557412147522,
0.9615411758422852,
0.3936561346054077,
0.21038353443145752,
0.22859324514865875,
0.2909577488899231,
-0.7485133409500122,
-0.1738402545452118,
-0.2933940887451172,
-0.8291791081428528,
-0.36320915818214417,
-0.12954410910606384,
0.8014765381813049,
0.7487322688102722,
0.03180403262376785,
0.22315359115600586,
0.2757036089897156,
0.6971267461776733,
-0.5807300806045532,
0.46672847867012024,
-0.7869927287101746,
-0.22615107893943787,
-0.22119519114494324,
-0.6735173463821411,
-0.4737389087677002,
-0.18713217973709106,
-0.028529180213809013,
-0.2596874237060547,
0.1769363433122635,
0.016161032021045685,
0.7731115818023682,
0.5554034113883972,
-0.4258895516395569,
-0.44893988966941833,
-0.6878074407577515,
0.718531608581543,
-0.845453143119812,
0.30414140224456787,
0.5342615246772766,
-0.21511584520339966,
-0.19413216412067413,
-0.34128522872924805,
-0.3939739465713501,
-0.10894279927015305,
-0.08217783272266388,
-0.338050901889801,
-0.3297630250453949,
0.31144198775291443,
0.6390513181686401,
0.611630380153656,
-0.34712299704551697,
0.21801993250846863,
-0.4883824288845062,
0.11975423991680145,
0.6215338706970215,
0.31988948583602905,
0.19614052772521973,
-0.013683709315955639,
0.15235093235969543,
0.02229095995426178,
-0.8899874091148376,
0.09412440657615662,
0.39047250151634216,
0.41759806871414185,
-0.09933968633413315,
0.6288769841194153,
-0.5934875011444092,
1.0090491771697998,
0.31250399351119995,
-0.019221222028136253,
-0.09592118859291077,
-0.40736275911331177,
-0.29336994886398315,
0.11061418801546097,
0.39103376865386963,
0.44655439257621765,
0.6345489621162415,
-0.10476560145616531,
-0.3984110653400421,
0.1758366972208023,
0.4749426245689392,
-0.9071823358535767,
-0.36007389426231384,
-0.1045280322432518,
-0.3005957305431366,
0.09692485630512238,
0.10089080780744553,
-0.4111301004886627,
-0.22944580018520355,
-1.051600456237793,
0.3603639602661133,
-0.5096445679664612,
0.12000788003206253,
0.7512823939323425,
0.23820024728775024,
0.40421468019485474,
0.30017226934432983,
-1.0634255409240723,
0.18958500027656555,
0.9392092823982239,
0.44186699390411377,
0.11563916504383087,
-0.1886330544948578,
-0.4500901401042938,
-0.027763469144701958,
-0.34003692865371704,
0.7280956506729126,
-0.7137956023216248,
-0.0756077766418457,
-0.05635528266429901,
-0.016281671822071075,
-0.22084511816501617,
-0.5327140688896179,
0.4374653995037079,
-0.44061800837516785,
-0.2644170820713043,
-0.2564496397972107,
-0.9466667175292969,
-0.014204566366970539,
0.160561203956604,
-0.4544500708580017,
0.5480374097824097,
0.07874688506126404,
-0.6551021337509155,
0.41761937737464905,
-0.2533910274505615,
-0.5618232488632202,
-0.1035940945148468,
-0.37996095418930054,
-0.22246846556663513,
0.42242875695228577,
0.17363129556179047,
0.8870059847831726,
-0.4880167245864868,
0.12565748393535614,
-0.1995513141155243,
-0.6080712080001831,
0.24227505922317505,
-0.36627626419067383,
0.3694976270198822,
0.2044687420129776,
-0.2775602340698242,
-0.08160316199064255,
-0.7296856641769409,
0.2765556573867798,
-0.05997738987207413,
-0.3883313536643982,
-0.16322453320026398,
0.054577168077230453,
-0.7319257855415344,
0.1334722340106964,
-0.12845861911773682,
-0.4701693654060364,
0.7324023246765137,
-0.04242270439863205,
0.5110835433006287,
0.5500994920730591,
0.14836426079273224,
0.4256155490875244,
-0.42671236395835876,
0.5442960858345032,
-0.05867471173405647,
0.0687512680888176,
-0.30816906690597534,
-0.38772061467170715,
-0.6775401830673218,
0.03348282724618912,
0.3416462242603302,
0.36844244599342346,
-0.7870908379554749,
0.18137629330158234,
-0.39714694023132324,
-0.31389373540878296,
-0.5073862075805664,
-0.006058823317289352,
0.5710122585296631,
0.2647590637207031,
0.29327285289764404,
-0.07293209433555603,
-0.46684783697128296,
-0.8119499087333679,
-0.19400520622730255,
0.2217463105916977,
0.06155161187052727,
0.1880863606929779,
0.36753690242767334,
-0.06707663089036942,
0.7397595047950745,
-0.5861520171165466,
-0.023738959804177284,
-0.23938800394535065,
0.028158437460660934,
0.3011707663536072,
0.6604623794555664,
0.389935702085495,
-0.28314414620399475,
-0.36876896023750305,
0.096708744764328,
-0.38408857583999634,
-0.12014218419790268,
-0.4281671941280365,
-0.08216387778520584,
0.1697671115398407,
0.43653690814971924,
-0.4038074016571045,
0.6068354845046997,
0.4032887816429138,
-0.3190494477748871,
0.6472910642623901,
-0.4012022018432617,
0.5152971744537354,
-0.3674928545951843,
-0.4431946575641632,
-0.03693363815546036,
0.16895867884159088,
-0.6520598530769348,
0.045064497739076614,
0.298020601272583,
0.1397419422864914,
-0.005829894915223122,
0.10710706561803818,
-0.5021195411682129,
-0.20082207024097443,
-0.20675663650035858,
-0.41768166422843933,
0.011335153132677078,
0.5352367162704468,
-0.02727063000202179,
0.9779755473136902,
0.5753600597381592,
-0.7729477286338806,
-0.1437343806028366,
0.08654654771089554,
-0.7520586252212524,
0.3298878073692322,
-0.4609066843986511,
0.3630557060241699,
-0.015005205757915974,
0.03705800697207451,
-0.6842073798179626,
-0.16983141005039215,
-0.20540744066238403,
-0.4634498357772827,
0.46908870339393616,
-0.26526474952697754,
-0.873985767364502,
-0.15479828417301178,
-0.11574256420135498,
0.48037856817245483,
0.4682749807834625,
-0.5354726910591125,
0.10368280857801437,
0.16293124854564667,
0.20723667740821838,
-0.33287468552589417,
-0.7271008491516113,
-0.138237863779068,
-0.14562301337718964,
-0.628808856010437,
0.22489294409751892,
-0.16030044853687286,
-0.1799255907535553,
-0.13924051821231842,
-0.34381717443466187,
-0.09967989474534988,
-0.03363620862364769,
0.12034225463867188,
0.2730027139186859,
-0.3856770992279053,
0.062414899468421936,
0.21516792476177216,
-0.09998689591884613,
0.16954196989536285,
-0.5866308212280273,
0.48052501678466797,
-0.4780404567718506,
-0.353603720664978,
-0.39620134234428406,
0.1629384160041809,
0.32444509863853455,
-0.2642183303833008,
0.8513095378875732,
0.13029362261295319,
-0.09519665688276291,
-0.45698025822639465,
-0.4103591740131378,
0.004726302810013294,
-0.44774019718170166,
0.17258760333061218,
-0.4546280801296234,
-1.1037739515304565,
0.24516721069812775,
0.061159100383520126,
-0.06972671300172806,
0.2630566954612732,
0.6575918793678284,
-0.1102048009634018,
1.1253682374954224,
0.5152058601379395,
0.16080845892429352,
0.44878873229026794,
-0.4994388520717621,
0.27860724925994873,
-0.7413578033447266,
-0.2503964602947235,
-0.5237624645233154,
-0.20381103456020355,
-0.4460791349411011,
-0.6339187622070312,
0.12811611592769623,
0.3662526309490204,
-0.4771062433719635,
0.14897000789642334,
-0.6441671848297119,
0.8423771262168884,
0.46819770336151123,
0.14802522957324982,
0.4140481650829315,
-0.07788989692926407,
0.24926625192165375,
0.06061980128288269,
-0.9585520029067993,
-0.4581373631954193,
1.2213541269302368,
0.14637552201747894,
1.0270788669586182,
-0.2827640473842621,
0.47549551725387573,
0.20874005556106567,
0.00840077642351389,
-0.6948623061180115,
0.3927614688873291,
-0.5143311023712158,
-0.2577208876609802,
0.026476513594388962,
-0.4908290505409241,
-0.8978785276412964,
-0.12721402943134308,
-0.10062173008918762,
-0.5810729265213013,
0.35895055532455444,
0.30524176359176636,
-0.5023279190063477,
0.32263675332069397,
-1.0240825414657593,
0.7173764109611511,
-0.3650052845478058,
-0.19981643557548523,
-0.3403457701206207,
-0.5156745910644531,
0.36435243487358093,
0.011004031635820866,
0.04889518767595291,
-0.011169827543199062,
0.22652046382427216,
0.461981862783432,
-0.3701726794242859,
0.865070641040802,
0.047466885298490524,
-0.223088338971138,
0.2674051523208618,
0.02164364792406559,
0.3277217149734497,
-0.06825315952301025,
-0.1918807327747345,
0.5060445666313171,
0.27411699295043945,
-0.43898239731788635,
-0.641628086566925,
0.6618407368659973,
-0.8165929317474365,
-0.6554551720619202,
-0.05679814890027046,
-0.8641103506088257,
-0.570975124835968,
0.001066438271664083,
0.2645747661590576,
0.6856037974357605,
0.4720553755760193,
0.5482757687568665,
0.9910889863967896,
-0.3224918246269226,
-0.1592353880405426,
0.34746307134628296,
0.010633553378283978,
0.11843279749155045,
1.0128730535507202,
0.2791232466697693,
0.7930188179016113,
0.44337278604507446,
-0.009034859016537666,
0.07021155208349228,
-0.8776581883430481,
-0.4010862708091736,
0.12788818776607513,
-0.9211764931678772,
-0.542700469493866,
-0.398571640253067,
-0.2133706659078598,
-0.22259262204170227,
-0.19128204882144928,
-0.2701459228992462,
-0.22951579093933105,
-0.30949535965919495,
-0.10288000851869583,
0.40201491117477417,
0.7738344669342041,
0.1279817372560501,
0.40407654643058777,
-0.8508526682853699,
0.18705298006534576,
0.05224065110087395,
0.7652590870857239,
0.11791826784610748,
-0.5392739176750183,
-0.6320904493331909,
0.2161586880683899,
0.05529303848743439,
-0.4644821584224701,
0.037156879901885986,
0.0940011590719223,
0.5023345351219177,
0.19245633482933044,
-0.1667027771472931,
0.9011340141296387,
-0.3741512894630432,
0.6170152425765991,
-0.14550098776817322,
-0.9790018796920776,
0.38460567593574524,
-0.4624372720718384,
0.5839258432388306,
0.47465115785598755,
0.13634096086025238,
-0.2539917826652527,
-0.2347518354654312,
-0.42489826679229736,
-0.43178194761276245,
1.081437110900879,
0.06720095872879028,
0.21382255852222443,
-0.08545805513858795,
0.7707624435424805,
0.2540523409843445,
0.15189523994922638,
-0.2931922376155853,
-0.1248522400856018,
-0.11430992186069489,
-0.09449634701013565,
0.11959020793437958,
-0.2237234115600586,
0.22856062650680542,
-0.8213145136833191,
0.3609253168106079,
-0.15689116716384888,
0.4597536027431488,
-0.19191396236419678,
-0.07749161869287491,
-0.03904755413532257,
0.2991172671318054,
0.5444008708000183,
0.5502216219902039,
0.08142318576574326,
-0.010306408628821373,
0.09821003675460815,
-0.14949434995651245,
-0.22111161053180695,
-0.2161083072423935,
-0.02650141343474388,
-0.5199000835418701,
0.6639627814292908,
1.1679067611694336,
0.47386378049850464,
-0.6455106139183044,
0.29782238602638245,
-0.11478003859519958,
-0.41187790036201477,
0.1366080790758133,
0.5889895558357239,
-0.0453328900039196,
0.29049327969551086,
0.028927674517035484,
0.18798701465129852,
-0.054419614374637604,
-0.6835502982139587,
0.23134572803974152,
0.2809264361858368,
0.11742299795150757,
-0.27967801690101624,
0.42223960161209106,
-0.25421783328056335,
-0.04421099275350571,
0.8576229810714722,
-0.1246488019824028,
-0.3902374505996704,
0.7533465027809143,
0.6108995079994202,
0.45780324935913086,
-0.13406409323215485,
-0.12549953162670135,
0.4724859595298767,
0.4196412265300751,
-0.052907951176166534,
0.2543542683124542,
-0.22548700869083405,
-0.7905512452125549,
-0.7172542810440063,
-0.6668109893798828,
-0.08305694162845612,
0.08934015035629272,
-0.8230655193328857,
0.2328394204378128,
-0.46286219358444214,
0.2266560196876526,
-0.15048444271087646,
0.05880609154701233,
-0.9512647390365601,
0.3457494080066681,
0.5182669758796692,
0.7971919775009155,
-0.4211152195930481,
1.1209419965744019,
0.34737518429756165,
-0.3286198377609253,
-1.336118221282959,
0.16457010805606842,
-0.11436431854963303,
-0.9065818190574646,
0.6270644664764404,
0.10626300424337387,
-0.27817052602767944,
0.15659767389297485,
-0.7509912848472595,
-1.1011900901794434,
0.8026983737945557,
0.7314677238464355,
-0.790433406829834,
-0.0722876787185669,
0.3773452937602997,
0.5905287861824036,
-0.6068612337112427,
-0.06732188165187836,
1.0805885791778564,
0.4317721128463745,
0.22275899350643158,
-0.8703590631484985,
-0.16741561889648438,
-0.1776740998029709,
-0.11487045884132385,
0.3113701045513153,
-0.24945445358753204,
0.9807733297348022,
-0.36691105365753174,
-0.2531009614467621,
-0.1712421029806137,
0.3613887131214142,
0.029464900493621826,
-0.024541644379496574,
0.30737802386283875,
0.34258347749710083,
0.6795468330383301,
-0.12212274223566055,
1.4982378482818604,
-0.4703976511955261,
0.28554970026016235,
1.1019917726516724,
-0.03196899965405464,
0.5213664174079895,
0.11103861778974533,
-0.13854548335075378,
0.3805364668369293,
0.5536127090454102,
-0.06881130486726761,
0.39232394099235535,
0.38695332407951355,
0.21554987132549286,
-0.3418385684490204,
0.05557938292622566,
-0.34262028336524963,
0.4544242024421692,
0.6311956644058228,
-0.14038275182247162,
-0.13940724730491638,
0.0987376794219017,
0.009563738480210304,
-0.032180771231651306,
-0.6631233096122742,
0.7115088701248169,
-0.01295303925871849,
-0.8262228965759277,
0.9952284097671509,
-0.056883715093135834,
0.5880070924758911,
-0.5262676477432251,
-0.192792609333992,
-0.12791119515895844,
0.3817078173160553,
-0.5363466143608093,
-1.1217646598815918,
0.3919244110584259,
0.18673068284988403,
-0.35922253131866455,
-0.4337715208530426,
0.7183518409729004,
-0.5446085333824158,
-0.08000313490629196,
0.06995244324207306,
0.21390001475811005,
0.05777909606695175,
-0.28468677401542664,
-0.5239327549934387,
0.34196344017982483,
0.31012842059135437,
-0.18790307641029358,
0.5741076469421387,
0.725252091884613,
-0.16289950907230377,
0.5270980596542358,
0.6464119553565979,
0.010288572870194912,
0.281277596950531,
0.1566007286310196,
1.017914891242981,
-0.5756761431694031,
-0.31402838230133057,
-0.7546262741088867,
0.5113236308097839,
0.22168974578380585,
-0.24097463488578796,
0.8526341319084167,
0.39549046754837036,
1.1347062587738037,
-0.12995634973049164,
0.5916284918785095,
-0.01695096492767334,
0.19638743996620178,
-0.7870199680328369,
0.37727999687194824,
-0.445093035697937,
0.5034719705581665,
0.03598298504948616,
-0.5590029954910278,
-0.30069899559020996,
0.4018479287624359,
-0.8937057256698608,
0.028120681643486023,
0.7102047204971313,
0.6395471692085266,
0.04495646432042122,
0.25595930218696594,
0.3995380699634552,
0.26309171319007874,
0.2023807168006897,
0.7001119256019592,
0.8219271898269653,
-0.07747160643339157,
0.27582624554634094,
-0.3560118079185486,
-0.1121126189827919,
-0.10382957756519318,
-0.6714762449264526,
-0.8023096919059753,
-0.5772470831871033,
-0.15875357389450073,
-0.012943055480718613,
-0.1474202275276184,
0.7866512537002563,
0.6665351390838623,
-0.7845664024353027,
-0.22148200869560242,
-0.11929232627153397,
-0.0020573120564222336,
-0.08501048386096954,
-0.22426415979862213,
0.2614690363407135,
-0.5281087756156921,
-0.45216020941734314,
0.26935991644859314,
0.422534704208374,
-0.40958908200263977,
0.054956961423158646,
-0.07965821027755737,
-0.10530537366867065,
0.24039392173290253,
0.7945221662521362,
0.17294996976852417,
-0.6081470847129822,
-0.47307759523391724,
-0.10100354999303818,
-0.11000789701938629,
0.24382472038269043,
1.2013226747512817,
-0.7786018252372742,
0.43865084648132324,
0.2706024944782257,
0.848869264125824,
0.46446436643600464,
0.03575726971030235,
0.6190600395202637,
-0.8234935998916626,
-0.10438939183950424,
0.1812519133090973,
0.2915150225162506,
0.0683225616812706,
-0.6454135775566101,
0.4993239641189575,
-0.09581638872623444,
-0.8627062439918518,
-0.7310836315155029,
0.12873177230358124,
-0.7959049940109253,
-0.39480891823768616,
1.263321876525879,
0.0065729920752346516,
0.15764957666397095,
-0.09283369034528732,
-0.20316973328590393,
0.08944550901651382,
-0.22274045646190643,
0.6458477973937988,
0.8791894912719727,
-0.5415010452270508,
-0.2907510995864868,
-0.8515529632568359,
0.545169472694397,
0.37489625811576843,
-0.9755204916000366,
0.3361940383911133,
0.6660598516464233,
0.31181010603904724,
-0.37373095750808716,
0.473567932844162,
0.07285451143980026,
0.299997478723526,
-0.02182496339082718,
-0.13382112979888916,
-0.20226465165615082,
-0.3547131419181824,
-0.4246821403503418,
0.004984317813068628,
0.03386414423584938,
0.12399445474147797
] |
http://arxiv.org/abs/2405.20529v1
|
http://arxiv.org/pdf/2405.20529v1
|
An Automatic Question Usability Evaluation Toolkit
| 2024-05-30T23:04:53 | 2024-05-30T23:04:53 |
Steven Moore, Eamon Costello, Huy A. Nguyen, John Stamper
|
cs.AI
|
cs.AI, cs.CL
|
Evaluating multiple-choice questions (MCQs) involves either labor intensive
human assessments or automated methods that prioritize readability, often
overlooking deeper question design flaws. To address this issue, we introduce
the Scalable Automatic Question Usability Evaluation Toolkit (SAQUET), an
open-source tool that leverages the Item-Writing Flaws (IWF) rubric for a
comprehensive and automated quality evaluation of MCQs. By harnessing the
latest in large language models such as GPT-4, advanced word embeddings, and
Transformers designed to analyze textual complexity, SAQUET effectively
pinpoints and assesses a wide array of flaws in MCQs. We first demonstrate the
discrepancy between commonly used automated evaluation metrics and the human
assessment of MCQ quality. Then we evaluate SAQUET on a diverse dataset of MCQs
across the five domains of Chemistry, Statistics, Computer Science, Humanities,
and Healthcare, showing how it effectively distinguishes between flawed and
flawless questions, providing a level of analysis beyond what is achievable
with traditional metrics. With an accuracy rate of over 94% in detecting the
presence of flaws identified by human evaluators, our findings emphasize the
limitations of existing evaluation methods and showcase potential in improving
the quality of educational assessments.
|
[
-0.5979316234588623,
-0.7414438724517822,
0.3553101122379303,
0.2158457636833191,
0.005113599821925163,
0.3766935169696808,
0.1471925526857376,
-0.29116520285606384,
-0.15867936611175537,
0.5735939741134644,
-0.7140880227088928,
-0.3158264458179474,
-0.3353945016860962,
0.2045821100473404,
-0.30643293261528015,
0.8591130971908569,
-0.22200150787830353,
-0.04260004684329033,
-0.8486091494560242,
-0.6372535228729248,
-0.32530179619789124,
-0.05824391171336174,
-0.44738534092903137,
-0.09379632025957108,
0.2458660751581192,
0.9400243163108826,
0.7755759954452515,
0.22784003615379333,
0.8780168890953064,
0.26474684476852417,
0.32824376225471497,
0.3366418778896332,
-0.05988579988479614,
0.28795504570007324,
-0.32394471764564514,
-0.09481379389762878,
-0.1992616057395935,
0.21886372566223145,
0.3281547427177429,
0.46606892347335815,
-0.1526726335287094,
0.6687316298484802,
-0.06529363989830017,
0.8847842216491699,
-0.6863950490951538,
-0.15317390859127045,
-0.42281073331832886,
0.09619960188865662,
-0.061194274574518204,
-0.005588359199464321,
-0.19337326288223267,
-0.5114132761955261,
-0.0008203851175494492,
-0.3137761652469635,
0.13070741295814514,
0.07861702889204025,
1.0844764709472656,
0.46590232849121094,
-0.47640466690063477,
-0.6032262444496155,
-0.1971578299999237,
0.801163375377655,
-0.6279945373535156,
0.5426346063613892,
0.6481547951698303,
0.8795266151428223,
-0.05625363439321518,
-0.40733602643013,
-0.40163156390190125,
-0.4879005551338196,
-0.1123911589384079,
0.20032919943332672,
-0.11752702295780182,
-0.22361968457698822,
0.10268846899271011,
0.36388710141181946,
-0.9279564023017883,
-0.15729469060897827,
-0.2395830601453781,
-0.45283764600753784,
0.8289446234703064,
0.3635963499546051,
0.6380223035812378,
-0.5946003198623657,
-0.07006784528493881,
0.05217552185058594,
-0.11990413069725037,
0.2905636727809906,
0.44031229615211487,
0.020461762323975563,
0.5239614844322205,
0.6848589181900024,
-0.2830994725227356,
0.8657948970794678,
-0.1815066784620285,
-0.07646232098340988,
0.10451088100671768,
-0.6252686977386475,
-0.12373823672533035,
-0.6176449656486511,
0.8525253534317017,
0.3780994117259979,
-0.15003573894500732,
-0.03756484389305115,
0.00749522540718317,
-0.08606406301259995,
0.6180537939071655,
-0.5611402988433838,
-0.4184991419315338,
0.5836909413337708,
-0.06954237818717957,
-0.3649226725101471,
0.15466172993183136,
-0.5599473118782043,
-0.3963266909122467,
0.08082681894302368,
0.47064024209976196,
-0.3343408703804016,
0.3144418001174927,
-0.06393374502658844,
-0.13737259805202484,
0.19354721903800964,
0.28802841901779175,
-0.41073375940322876,
0.2557041347026825,
0.1552993208169937,
0.4017339050769806,
-0.29752567410469055,
-0.35661447048187256,
-0.6189981698989868,
-0.12465979903936386,
-0.16173337399959564,
1.1298456192016602,
-0.42674708366394043,
-0.3391975462436676,
-0.34004804491996765,
-0.10608372837305069,
0.0009117777226492763,
-0.35260117053985596,
0.678853452205658,
-0.3442608416080475,
0.10704357177019119,
-0.4768911600112915,
-0.29818883538246155,
-0.02628406323492527,
0.6123050451278687,
-0.6345462203025818,
1.3101286888122559,
0.46100562810897827,
-0.6582534909248352,
0.7181617021560669,
-0.9318693280220032,
-0.4136733114719391,
0.11611489206552505,
-0.07349759340286255,
-0.6221640706062317,
-0.20789441466331482,
0.5612450242042542,
0.28764405846595764,
-0.6110390424728394,
-0.04356136545538902,
-0.09538917988538742,
-0.4761255085468292,
0.46501752734184265,
-0.40285545587539673,
0.7393468618392944,
0.22340169548988342,
-0.3002411425113678,
0.048196278512477875,
-0.87666916847229,
0.554040789604187,
-0.13498090207576752,
-0.3820972442626953,
-0.080577552318573,
-0.07283204048871994,
-0.1426205188035965,
0.42087048292160034,
0.020700549706816673,
-0.5350261330604553,
0.26500025391578674,
-0.21820417046546936,
0.27450311183929443,
0.5090091228485107,
0.18287985026836395,
0.4081176817417145,
-0.3296295702457428,
0.9705096483230591,
-0.15732234716415405,
0.6087363958358765,
0.20824964344501495,
-0.47151464223861694,
-0.8054197430610657,
-0.23520095646381378,
0.2943515479564667,
0.5329185128211975,
-0.8195614218711853,
0.36057743430137634,
0.306706964969635,
-0.8970335721969604,
-0.9106491208076477,
0.19712118804454803,
0.41686660051345825,
0.37704503536224365,
0.43551522493362427,
-0.33708807826042175,
-0.250313401222229,
-0.8781750202178955,
-0.693545937538147,
-0.18559116125106812,
0.08047203719615936,
0.8177692294120789,
0.6832336783409119,
-0.35174599289894104,
0.890958845615387,
-0.40117862820625305,
-0.2913953959941864,
-0.0749271959066391,
0.37896281480789185,
-0.19623573124408722,
0.32525891065597534,
0.4412173330783844,
-0.5234410166740417,
-0.5006829500198364,
-0.23656095564365387,
-0.5567904710769653,
-0.4078846573829651,
0.08438102155923843,
-0.37171250581741333,
0.02901795133948326,
0.1879315972328186,
-0.02202039211988449,
0.5921468138694763,
0.3190794289112091,
-0.47357049584388733,
0.7406544089317322,
-0.056505195796489716,
0.8668900728225708,
-0.582776665687561,
-0.07471905648708344,
-0.16911286115646362,
0.11661941558122635,
-0.09666004776954651,
0.37841328978538513,
0.40171387791633606,
-0.04019707813858986,
-0.43780750036239624,
0.5189169645309448,
-0.3290117681026459,
-0.3404538333415985,
0.31106653809547424,
0.30346497893333435,
0.35563746094703674,
-0.033582672476768494,
-0.9629782438278198,
1.1404279470443726,
-0.03106357902288437,
-0.44981178641319275,
0.2016134113073349,
0.4067240059375763,
-0.40058043599128723,
0.9591288566589355,
-0.6303039193153381,
0.14196160435676575,
-0.03536027669906616,
0.20430950820446014,
-1.454586148262024,
-0.5351974964141846,
0.1384076327085495,
-0.4914247393608093,
-0.25469842553138733,
-0.23700325191020966,
-0.37562841176986694,
-0.8158205151557922,
-0.4895596206188202,
0.3463691174983978,
0.1776203215122223,
-0.37450337409973145,
0.4328477084636688,
0.3271797299385071,
-0.0369752012193203,
-0.8782251477241516,
-0.7827248573303223,
0.037045545876026154,
0.25712722539901733,
-0.8202387690544128,
-0.2616775929927826,
-0.4889901280403137,
-0.12375906854867935,
-0.2435206174850464,
-0.1793598085641861,
-0.5838877558708191,
0.39530834555625916,
0.2779182493686676,
0.17154109477996826,
-0.0527481772005558,
0.21640387177467346,
0.4030517339706421,
0.037013985216617584,
-0.214591383934021,
-0.14988848567008972,
0.341109037399292,
-0.46737372875213623,
-0.7408139705657959,
-0.2831842005252838,
0.14603383839130402,
0.8923991918563843,
-0.6475237607955933,
0.1349303275346756,
0.5787932872772217,
-0.050799570977687836,
-0.10981298983097076,
-0.7214381098747253,
0.21132640540599823,
-0.4308253824710846,
0.29908981919288635,
-0.4887389540672302,
-0.7575565576553345,
0.3749464750289917,
0.1324922889471054,
0.35642126202583313,
0.6711117625236511,
0.19264627993106842,
-0.48230037093162537,
1.133783221244812,
0.18480391800403595,
0.4072188138961792,
-0.08325349539518356,
-0.34191861748695374,
-0.05114174634218216,
-0.9143144488334656,
-0.2592846751213074,
-0.7054794430732727,
-0.28823044896125793,
0.04381852224469185,
-0.502484142780304,
0.30897802114486694,
-0.0030510048381984234,
-0.2865971028804779,
0.4092036187648773,
-0.8031108379364014,
0.7971411347389221,
0.23203083872795105,
-0.07805444300174713,
0.41001394391059875,
-0.30048391222953796,
-0.5327700972557068,
-0.24697400629520416,
-0.6240184307098389,
-0.6420127749443054,
1.1348627805709839,
-0.006484542973339558,
0.54062420129776,
0.10693206638097763,
0.8183459639549255,
0.5466421246528625,
0.6334158182144165,
-0.809048056602478,
0.4624098539352417,
-0.014996516518294811,
-0.7207950949668884,
-0.8048421144485474,
-0.38155120611190796,
-0.8575477600097656,
0.510387659072876,
-0.24154885113239288,
-0.549903929233551,
-0.010326799936592579,
0.10206245630979538,
-0.45840200781822205,
0.09954171627759933,
-0.5320549607276917,
1.0396270751953125,
-0.3289918303489685,
-0.29393234848976135,
0.44082915782928467,
-0.48886626958847046,
0.4193675220012665,
-0.1715230643749237,
0.4634411036968231,
-0.3217518925666809,
-0.03511156514286995,
0.7897161841392517,
-0.5378878712654114,
0.17387555539608002,
0.08773712068796158,
0.005420589353889227,
0.43159398436546326,
0.3023984432220459,
0.0163483377546072,
0.29051631689071655,
-0.4803428053855896,
-0.23887282609939575,
0.36513516306877136,
-0.701435387134552,
-0.9058361649513245,
0.5952770709991455,
-0.7477077841758728,
-0.23698830604553223,
-0.6184713244438171,
-0.6107383370399475,
-0.48967108130455017,
0.16150455176830292,
0.31173253059387207,
0.4418088495731354,
-0.46750083565711975,
-0.05681354179978371,
0.3090546131134033,
-0.19005027413368225,
0.21928603947162628,
0.629535973072052,
-0.19684608280658722,
-0.5296137928962708,
0.8834967613220215,
0.41990938782691956,
0.10844407230615616,
-0.2842767536640167,
0.2125120311975479,
-0.3013248145580292,
-0.4480527639389038,
-0.9159851670265198,
0.008361170999705791,
-0.8656232953071594,
-0.3822006583213806,
-0.6804739236831665,
-0.024396102875471115,
-0.18924519419670105,
-0.3456012010574341,
-0.28635039925575256,
-0.4244290590286255,
-0.21705716848373413,
0.008209042251110077,
0.08065326511859894,
0.9321761131286621,
0.1999245285987854,
0.0776897519826889,
-0.846644401550293,
0.2989615797996521,
0.5525636076927185,
0.43708205223083496,
-0.11593610048294067,
-0.5999497771263123,
0.13917243480682373,
0.10480497777462006,
-0.32112422585487366,
-0.6044802665710449,
0.025641247630119324,
0.1255345642566681,
0.5537883639335632,
0.02161874622106552,
0.211794912815094,
0.6781912446022034,
-0.39176809787750244,
1.025740385055542,
0.12925152480602264,
-0.8419639468193054,
0.562644362449646,
-0.10669562220573425,
0.5140130519866943,
1.4982450008392334,
0.3779105842113495,
-0.3783223032951355,
-0.44978511333465576,
-0.6683464646339417,
-0.7968298196792603,
0.4558877646923065,
0.226893812417984,
-0.30357179045677185,
-0.19004720449447632,
0.3325732350349426,
0.35597464442253113,
0.21454311907291412,
-0.23766852915287018,
-0.07141521573066711,
-0.2081933319568634,
-0.1797722578048706,
0.015923302620649338,
-0.1279938966035843,
-0.07066252082586288,
-0.5045496821403503,
0.5884274244308472,
-0.09540600329637527,
-0.03534848615527153,
0.14862936735153198,
-0.5822256207466125,
-0.21090620756149292,
0.5671347975730896,
0.39107805490493774,
0.8313618898391724,
-0.06916368752717972,
-0.199601411819458,
0.3448244631290436,
-0.6040892004966736,
0.5139918923377991,
-0.12017077952623367,
-0.20838990807533264,
-0.13051867485046387,
0.0025684735737740993,
0.16891950368881226,
0.21265442669391632,
-0.6908146739006042,
0.7337052226066589,
-0.36513757705688477,
-0.4599205255508423,
-0.0872136652469635,
0.2815028131008148,
-0.16726210713386536,
0.08966848999261856,
0.17390835285186768,
0.3077801764011383,
0.42573052644729614,
-0.7590889930725098,
0.6105801463127136,
0.23697519302368164,
-0.918391227722168,
0.35453248023986816,
0.4572569727897644,
0.23650866746902466,
-0.6128031611442566,
0.6372743248939514,
-0.32898589968681335,
-0.4938727915287018,
0.6472942233085632,
0.07282771915197372,
0.499187171459198,
-0.2091621607542038,
0.7321587800979614,
0.20520275831222534,
0.6089838147163391,
0.1296122670173645,
0.7392710447311401,
-0.018950331956148148,
-0.26115167140960693,
-0.06454508751630783,
-0.6979821920394897,
-0.7219288945198059,
-0.28433579206466675,
-0.7589952349662781,
-0.06871990859508514,
-0.521955668926239,
-0.18734335899353027,
-0.03730437904596329,
0.15244527161121368,
-0.8301200866699219,
0.5996538400650024,
-0.8709747791290283,
0.7010970115661621,
-0.7616850733757019,
0.3034296929836273,
0.8356168866157532,
-0.9601449370384216,
-0.7696207761764526,
0.02142605371773243,
-0.0757221132516861,
-0.6512720584869385,
0.39039433002471924,
-0.1106637641787529,
-0.15987280011177063,
-0.17553123831748962,
-0.4926437437534332,
-0.8993556499481201,
1.1589219570159912,
0.050699084997177124,
-0.19510485231876373,
0.2553113102912903,
0.17645852267742157,
0.3997688293457031,
0.049901630729436874,
0.7192176580429077,
0.8984751105308533,
0.7274736166000366,
0.0833791047334671,
-0.7927014231681824,
-0.08263310045003891,
-0.28801229596138,
-0.4602712094783783,
0.27464374899864197,
-0.6362472176551819,
0.6212761402130127,
-0.21539172530174255,
0.18123264610767365,
0.2278749942779541,
0.26272234320640564,
0.17097410559654236,
0.3163844645023346,
0.5851240158081055,
0.39843496680259705,
1.1811264753341675,
-0.2736850082874298,
0.9842097163200378,
0.12450630217790604,
0.4130905568599701,
0.8743871450424194,
-0.1997976005077362,
0.7396584749221802,
0.35813531279563904,
-0.4044705033302307,
0.43238669633865356,
0.4913209080696106,
-0.016911771148443222,
0.02839558944106102,
0.7506610155105591,
0.13210995495319366,
-0.42955389618873596,
0.21395741403102875,
-0.19412162899971008,
0.6764650344848633,
0.21023449301719666,
0.053987860679626465,
-0.19554395973682404,
0.38050708174705505,
-0.29681193828582764,
0.17628030478954315,
-0.015867244452238083,
0.5614646077156067,
-0.2816435396671295,
-0.5655471682548523,
0.49376946687698364,
-0.24120083451271057,
0.35510173439979553,
-0.44007134437561035,
-0.07219423353672028,
-0.24480603635311127,
-0.11783988773822784,
-0.36993408203125,
-0.9149994254112244,
0.14235465228557587,
-0.04699115455150604,
0.02555135264992714,
0.18657425045967102,
0.7842836976051331,
-0.09531968086957932,
-0.6934236884117126,
-0.11546634882688522,
0.5989507436752319,
0.3933049142360687,
-0.04355253651738167,
-1.1571989059448242,
0.16061097383499146,
-0.13153667747974396,
-0.15122491121292114,
0.07813077419996262,
0.14420676231384277,
-0.0002937844838015735,
0.9417383074760437,
0.6766993403434753,
-0.33661898970603943,
-0.11555281281471252,
0.2313297837972641,
0.6393219828605652,
-0.5404849648475647,
-0.3578939735889435,
-0.4352051019668579,
0.7454981803894043,
-0.4356434941291809,
-0.6517940163612366,
0.8136721253395081,
0.40784722566604614,
0.4114105701446533,
0.18907098472118378,
0.9986491203308105,
0.24426564574241638,
0.5505205988883972,
-0.02057991921901703,
1.2163825035095215,
-0.8561344146728516,
0.3629890978336334,
-0.800067126750946,
-0.7848516702651978,
-0.46873220801353455,
0.7473067045211792,
-0.2736867368221283,
-0.0062398845329880714,
0.8096863031387329,
0.28700312972068787,
0.021360987797379494,
0.13391849398612976,
0.41195887327194214,
-0.06349701434373856,
0.2948169708251953,
0.20742352306842804,
0.8968586921691895,
-0.7672749757766724,
0.7943084836006165,
-0.06949359178543091,
-0.41341811418533325,
-0.4114641845226288,
-0.6361178755760193,
-1.022183895111084,
-0.5122647881507874,
-0.29851460456848145,
-0.43319374322891235,
0.20219819247722626,
0.8004756569862366,
0.3425620198249817,
-0.742518961429596,
-0.1663936823606491,
0.14226670563220978,
0.05753370374441147,
-0.07401719689369202,
-0.23223529756069183,
0.4696253538131714,
-0.32574665546417236,
-0.022345097735524178,
0.28817757964134216,
0.5128490924835205,
-0.004909058567136526,
-0.42841628193855286,
0.15172141790390015,
-0.4067571759223938,
0.5546458959579468,
0.6278374791145325,
0.275912880897522,
-0.6727057099342346,
-0.6013752222061157,
0.3913315236568451,
-0.282950222492218,
-0.01923215575516224,
0.515109121799469,
-0.5592232346534729,
0.7029558420181274,
0.34288275241851807,
0.7333419919013977,
0.27575576305389404,
-0.01737242378294468,
0.39256414771080017,
-0.45223209261894226,
-0.39225926995277405,
0.6396145820617676,
0.2322765588760376,
0.2515871822834015,
-0.28559115529060364,
0.5701236724853516,
-0.10494610667228699,
-0.7448056936264038,
-0.7674986124038696,
0.22700092196464539,
-0.7943572998046875,
-0.27484598755836487,
0.8868990540504456,
-0.06505720317363739,
-0.18223467469215393,
-0.5710445046424866,
-0.7364690899848938,
-0.022137681022286415,
-0.1130298376083374,
0.7145645618438721,
0.9786325097084045,
-0.35515061020851135,
0.15079393982887268,
-0.6115723252296448,
0.47478729486465454,
0.4639131724834442,
-1.0049083232879639,
-0.1631094515323639,
0.38297131657600403,
0.4192323684692383,
-0.10956533253192902,
0.686836838722229,
-0.22427710890769958,
0.8123728632926941,
-0.17489446699619293,
-0.12508830428123474,
-0.11227866262197495,
-0.33772939443588257,
0.014106977730989456,
0.2913016974925995,
0.012047020718455315,
0.06508754938840866
] |
http://arxiv.org/abs/2405.20527v1
|
http://arxiv.org/pdf/2405.20527v1
|
Towards Ontology-Enhanced Representation Learning for Large Language Models
| 2024-05-30T23:01:10 | 2024-05-30T23:01:10 |
Francesco Ronzano, Jay Nanavati
|
cs.CL
|
cs.CL, cs.AI, 68T50, I.2.7; I.2.6
|
Taking advantage of the widespread use of ontologies to organise and
harmonize knowledge across several distinct domains, this paper proposes a
novel approach to improve an embedding-Large Language Model (embedding-LLM) of
interest by infusing the knowledge formalized by a reference ontology:
ontological knowledge infusion aims at boosting the ability of the considered
LLM to effectively model the knowledge domain described by the infused
ontology. The linguistic information (i.e. concept synonyms and descriptions)
and structural information (i.e. is-a relations) formalized by the ontology are
utilized to compile a comprehensive set of concept definitions, with the
assistance of a powerful generative LLM (i.e. GPT-3.5-turbo). These concept
definitions are then employed to fine-tune the target embedding-LLM using a
contrastive learning framework. To demonstrate and evaluate the proposed
approach, we utilize the biomedical disease ontology MONDO. The results show
that embedding-LLMs enhanced by ontological disease knowledge exhibit an
improved capability to effectively evaluate the similarity of in-domain
sentences from biomedical documents mentioning diseases, without compromising
their out-of-domain performance.
|
[
0.06282605975866318,
-0.6278031468391418,
0.7605358362197876,
-0.38550519943237305,
-0.18294917047023773,
0.2729404866695404,
-0.13244885206222534,
-0.5020074248313904,
0.5103083252906799,
0.8397252559661865,
-0.01641540229320526,
-0.5080033540725708,
-0.626029908657074,
0.03953668102622032,
-0.10525089502334595,
0.7927389144897461,
-0.0017700630705803633,
0.52806556224823,
-0.5421045422554016,
-0.2023639976978302,
-0.1303701251745224,
-0.45511528849601746,
-0.43762555718421936,
-0.8985786437988281,
0.23543551564216614,
0.15235650539398193,
0.5495399236679077,
0.7590517997741699,
0.5421116948127747,
0.2880598306655884,
-0.10133545100688934,
0.41641923785209656,
-0.5323617458343506,
0.1617709994316101,
-0.5747039914131165,
-0.5565817356109619,
-0.3715527355670929,
-0.2388634830713272,
0.49805888533592224,
0.8162638545036316,
-0.15557540953159332,
-0.4083727300167084,
0.2884443998336792,
0.36832842230796814,
-0.35248276591300964,
0.29441937804222107,
-0.6349269151687622,
0.19851604104042053,
-0.12971100211143494,
-0.3433384597301483,
-0.18112359941005707,
-0.07113569229841232,
0.2725999653339386,
-0.7800381183624268,
-0.08190561085939407,
0.12764950096607208,
0.885775625705719,
0.26007384061813354,
-0.29340389370918274,
-0.34276068210601807,
-0.2993529140949249,
0.644534170627594,
-0.7255125045776367,
0.4439488649368286,
0.34571459889411926,
0.2939261794090271,
-0.104135662317276,
-0.6601036190986633,
-0.5215474963188171,
-0.30515822768211365,
-0.18310782313346863,
0.2437501698732376,
-0.02463444694876671,
0.1647862046957016,
0.09076213836669922,
0.3933836817741394,
-0.3463909924030304,
0.2066965103149414,
0.0384424589574337,
-0.09967494755983353,
0.3706139624118805,
0.24972638487815857,
0.3091956377029419,
-0.07596375793218613,
-0.45017340779304504,
0.010555779561400414,
-1.0351680517196655,
-0.7098994255065918,
-0.04790502041578293,
0.3986184895038605,
-0.06275822222232819,
0.5193160176277161,
0.08651222288608551,
0.5362969636917114,
0.044345829635858536,
-0.31689026951789856,
0.40628328919410706,
-0.38694193959236145,
-0.19489674270153046,
0.10957619547843933,
0.41022294759750366,
0.15096555650234222,
-0.08423936367034912,
-0.3124174177646637,
-0.0014772954164072871,
0.007057346403598785,
0.23006188869476318,
-0.9363940358161926,
-0.09600075334310532,
0.21979920566082,
-0.26375681161880493,
-0.1398584395647049,
-0.05465732887387276,
-0.5577071309089661,
-0.7447209358215332,
-0.07395502179861069,
0.4242088496685028,
-0.7237419486045837,
-0.1520860642194748,
0.23138940334320068,
-0.12499627470970154,
0.05259266495704651,
0.41882091760635376,
-0.9306735396385193,
0.14439000189304352,
0.5355002880096436,
0.5238044857978821,
0.025931742042303085,
0.1472163051366806,
-0.2582670748233795,
0.9321010708808899,
-0.12419862300157547,
0.7471511363983154,
-0.9502852559089661,
-0.34718769788742065,
0.2531822919845581,
-0.1681358814239502,
0.21750867366790771,
-0.7647457718849182,
0.24587473273277283,
-0.5495565533638,
-0.07233280688524246,
-0.21309922635555267,
-0.9644036293029785,
-0.3392084240913391,
0.5155825018882751,
-0.5463644862174988,
0.7134872674942017,
0.289600670337677,
-0.7334626913070679,
0.2871352434158325,
-0.5615372657775879,
-0.2051132321357727,
0.4081355333328247,
-0.5693402886390686,
-0.27594852447509766,
-0.012113857083022594,
0.08394622057676315,
0.7565250992774963,
-0.5261406302452087,
0.04793651029467583,
-0.4128190577030182,
-0.02433931827545166,
0.15431790053844452,
0.28812313079833984,
0.3814890384674072,
0.01432743202894926,
-0.053167760372161865,
-0.04446130990982056,
-0.5283271670341492,
-0.1954391449689865,
0.13227446377277374,
-0.09638163447380066,
-0.7918285727500916,
-0.21694150567054749,
-0.24524357914924622,
0.11865876615047455,
0.18179620802402496,
-0.6838943958282471,
0.31761088967323303,
-0.8751558661460876,
0.5447046160697937,
0.405174195766449,
0.04628150165081024,
0.4183690547943115,
-0.27382898330688477,
0.22238576412200928,
0.3003653287887573,
-0.1334865242242813,
-0.17657364904880524,
-0.4318663775920868,
-0.47252872586250305,
-0.3407439887523651,
0.3996751010417938,
0.41278132796287537,
-0.9417921304702759,
0.650743842124939,
-0.43238356709480286,
-0.23942340910434723,
-0.6581018567085266,
0.246148020029068,
0.4929295480251312,
0.5830234289169312,
0.6201896071434021,
-0.28092971444129944,
-0.43906548619270325,
-0.5818842649459839,
0.16898202896118164,
-0.043531786650419235,
-0.008701703511178493,
0.4453873932361603,
0.613821804523468,
-0.8079642057418823,
0.48778989911079407,
-0.6734606623649597,
-0.7511508464813232,
-0.2147035449743271,
-0.3306257426738739,
-0.08077812939882278,
0.39071646332740784,
0.24168185889720917,
-0.6406645774841309,
-0.5956797003746033,
0.5397793054580688,
-0.8952711820602417,
0.13461001217365265,
0.20246605575084686,
-0.07259413599967957,
-0.14091691374778748,
0.6423642635345459,
-0.3139675557613373,
0.22588898241519928,
0.3881687819957733,
-0.3683764934539795,
0.1427765190601349,
-0.504359781742096,
0.025444762781262398,
-1.3788386583328247,
-0.04788797348737717,
-0.085762619972229,
-0.3674202561378479,
-0.46895286440849304,
0.36196237802505493,
0.21898327767848969,
0.015770966187119484,
-0.23868423700332642,
0.6384984850883484,
-0.18709470331668854,
0.347818523645401,
-0.26390185952186584,
0.5321735143661499,
0.24776557087898254,
0.04175124317407608,
0.08479132503271103,
0.3082342743873596,
0.5890350937843323,
-0.3847806751728058,
0.36622175574302673,
0.6088636517524719,
-0.3220176696777344,
0.4628353416919708,
-0.49451369047164917,
-0.016117915511131287,
-0.11461755633354187,
0.3555305004119873,
-0.7738226056098938,
-0.23368136584758759,
0.2392570823431015,
-0.3136711120605469,
0.6657306551933289,
0.1211971715092659,
-0.672988772392273,
-0.01854785531759262,
-0.16932031512260437,
0.2253195196390152,
0.34391099214553833,
-0.6544212698936462,
0.7086319923400879,
0.5756674408912659,
-0.004310492891818285,
-0.3706299960613251,
-1.1080108880996704,
-0.002939353697001934,
-0.19607268273830414,
-0.647777795791626,
1.0544028282165527,
0.2558138370513916,
-0.18760967254638672,
0.38657891750335693,
0.17119988799095154,
0.028543569147586823,
-0.15756914019584656,
0.0204586423933506,
0.11423186212778091,
-0.13332080841064453,
0.8212562203407288,
0.0674438625574112,
-0.07073966413736343,
-0.29096487164497375,
-0.36853736639022827,
0.47040605545043945,
0.29471874237060547,
-0.4091915488243103,
-0.19995395839214325,
0.5058518052101135,
0.099102683365345,
-0.13858456909656525,
0.798147976398468,
0.23144184052944183,
-0.427815705537796,
-0.2966841757297516,
-0.40731552243232727,
-0.4421359598636627,
-0.39585328102111816,
0.6201058030128479,
-0.268775999546051,
-1.0467572212219238,
0.5774780511856079,
-0.44046688079833984,
-0.3063846528530121,
0.47020766139030457,
0.5393268465995789,
-0.05930795520544052,
0.7371971607208252,
0.8837828636169434,
0.10136175900697708,
0.368010938167572,
-0.39402544498443604,
0.15102997422218323,
-0.9283711314201355,
-0.41404658555984497,
-0.3747943341732025,
0.18988345563411713,
-0.5156746506690979,
-0.914988100528717,
0.39473187923431396,
0.025229599326848984,
-0.2040787637233734,
0.0442795567214489,
-0.16152352094650269,
0.14817996323108673,
-0.06716632843017578,
0.5182569622993469,
0.33192041516304016,
0.0802394300699234,
-0.5375538468360901,
-0.026072993874549866,
-0.8548957109451294,
-0.5168357491493225,
1.3053865432739258,
0.3011389672756195,
0.8340498805046082,
0.1703038215637207,
0.7518848776817322,
0.07683146744966507,
0.5490447282791138,
-0.8518959879875183,
0.1319737434387207,
-0.4727846086025238,
-0.3914217948913574,
-0.23035544157028198,
-0.4290739595890045,
-0.9173113703727722,
0.25028249621391296,
-0.461373895406723,
-0.5076041221618652,
0.06976059824228287,
0.2630598247051239,
-0.4509514272212982,
0.41549959778785706,
-0.2572210133075714,
0.5133847594261169,
-0.05713801458477974,
-0.37903937697410583,
-0.589962899684906,
-0.443389892578125,
0.1384028047323227,
-0.28211501240730286,
0.12726947665214539,
0.04712468758225441,
-0.3240091800689697,
0.5485394597053528,
-0.5082312226295471,
0.9082689881324768,
0.0905190259218216,
-0.2833653688430786,
-0.05886262282729149,
-0.32437098026275635,
0.5105929970741272,
0.004576964303851128,
-0.25487175583839417,
0.11255606263875961,
-0.1764574497938156,
-0.4124453067779541,
-0.8722041249275208,
0.7715710997581482,
-0.667557954788208,
-0.56743323802948,
-0.25218701362609863,
-0.3487105667591095,
-0.6529730558395386,
-0.05993441864848137,
0.04693538323044777,
0.49101513624191284,
-0.2678976356983185,
0.11962927877902985,
0.9466524124145508,
-0.40635356307029724,
-0.18101708590984344,
0.5537384748458862,
-0.3072766065597534,
-0.4389841854572296,
0.9735561013221741,
0.02693367190659046,
0.41283780336380005,
0.7387101650238037,
0.43467962741851807,
-0.3306247293949127,
-0.44509342312812805,
-0.2408338487148285,
0.51747727394104,
-0.8909014463424683,
-0.37185561656951904,
-0.7476619482040405,
-0.0853893980383873,
-0.5464800000190735,
-0.043218281120061874,
-0.10970727354288101,
-0.0966005027294159,
-0.26091253757476807,
-0.0007529929280281067,
0.5270200967788696,
0.8819146752357483,
0.08074438571929932,
0.14754201471805573,
-0.8851136565208435,
0.17846985161304474,
0.19237254559993744,
0.31870153546333313,
0.1314462572336197,
-0.7994604706764221,
-0.5492268800735474,
-0.03495646268129349,
-0.31602680683135986,
-0.7342820763587952,
0.3190392553806305,
0.42877519130706787,
0.8686547875404358,
0.6330572366714478,
-0.15321648120880127,
0.514047384262085,
-0.4810514748096466,
0.5374236702919006,
0.43287181854248047,
-0.6625998020172119,
0.4429672956466675,
-0.017781605944037437,
0.1097727119922638,
0.3371875584125519,
0.7543051838874817,
-0.3672717213630676,
-0.39027005434036255,
-0.6619953513145447,
-0.7014634013175964,
0.1768406480550766,
-0.17220057547092438,
0.33826953172683716,
-0.07517343759536743,
0.40404757857322693,
0.25596925616264343,
-0.002509466139599681,
-0.3924495279788971,
-0.28734931349754333,
-0.11556462943553925,
-0.25594645738601685,
-0.10853330790996552,
-0.3325252830982208,
-0.27984336018562317,
-0.28630220890045166,
0.7715492248535156,
-0.2468159943819046,
0.3083958029747009,
0.11709444969892502,
-0.21582674980163574,
0.06516589969396591,
0.09064146131277084,
0.10597705096006393,
0.37756454944610596,
-0.05495327711105347,
0.20407965779304504,
0.14911425113677979,
-0.3009835481643677,
-0.07593585550785065,
0.16413110494613647,
0.04658171907067299,
-0.2548065781593323,
0.5898370742797852,
0.6366293430328369,
0.3032912313938141,
-0.7812613248825073,
0.48530492186546326,
0.309220552444458,
-0.09306509047746658,
0.11392765492200851,
0.003940357826650143,
0.3294801414012909,
0.3174768388271332,
-0.022506557404994965,
-0.24933278560638428,
0.11121118813753128,
-0.6910059452056885,
0.25153636932373047,
0.4253751039505005,
-0.6861786842346191,
-0.1442141979932785,
0.28705039620399475,
0.3266952633857727,
0.2682698667049408,
0.39836615324020386,
-0.12954629957675934,
-0.545432448387146,
0.19460318982601166,
0.8741039037704468,
0.482928603887558,
-0.39391061663627625,
0.058792971074581146,
0.3186081051826477,
-0.15236429870128632,
0.0288066528737545,
0.2996147871017456,
0.16974985599517822,
-1.1386548280715942,
-0.5321272611618042,
-0.6538210511207581,
-0.4998680651187897,
-0.05937327444553375,
-0.3041488826274872,
0.14156973361968994,
-0.2722640335559845,
-0.06377745419740677,
0.16656911373138428,
0.074217289686203,
-0.5174757838249207,
0.16183064877986908,
0.023903077468276024,
0.658039391040802,
-0.8554675579071045,
1.2876417636871338,
0.9073157906532288,
-0.6529281139373779,
-0.590693473815918,
0.18895432353019714,
-0.34852835536003113,
-0.8274319171905518,
0.9512184858322144,
-0.038326386362314224,
0.01971091702580452,
-0.02806663140654564,
-0.2836572229862213,
-0.954112708568573,
0.9249423742294312,
0.5240560173988342,
-0.46579065918922424,
0.15418404340744019,
0.19887059926986694,
0.6859639286994934,
-0.6252058148384094,
0.04869852960109711,
0.39979231357574463,
0.41258862614631653,
0.16892047226428986,
-0.6549040675163269,
0.2885854244232178,
-0.11746074259281158,
0.08058935403823853,
0.09173326194286346,
-0.4278448224067688,
0.5214440226554871,
-0.3352263867855072,
-0.07618395239114761,
0.04601166024804115,
0.6141273975372314,
0.1428796797990799,
-0.2783140540122986,
0.08432858437299728,
0.8153932690620422,
0.9679794311523438,
0.07746206969022751,
1.2229418754577637,
-0.3096340000629425,
0.2657216489315033,
0.939425528049469,
-0.35980740189552307,
0.8483245372772217,
0.49901068210601807,
-0.2843860685825348,
0.5587304830551147,
0.3337268531322479,
0.04046452417969704,
0.6644741296768188,
0.481163889169693,
-0.3476404845714569,
-0.4015568494796753,
-0.5040224194526672,
-0.5174964070320129,
0.4732106029987335,
0.8549376726150513,
-0.5940061211585999,
-0.23362849652767181,
0.29114875197410583,
-0.15330013632774353,
0.3702048361301422,
-0.3693910539150238,
0.8526844382286072,
0.28945305943489075,
0.011163892224431038,
0.5734296441078186,
-0.032237354665994644,
0.6375198364257812,
-0.7283168435096741,
-0.40621769428253174,
-0.060665685683488846,
0.17781172692775726,
-0.24421703815460205,
-0.6357486248016357,
0.27780410647392273,
-0.4461742341518402,
-0.32763856649398804,
-0.0511544793844223,
0.7128764986991882,
-0.7996451258659363,
-0.3973937928676605,
0.744899570941925,
0.46113690733909607,
0.1033313050866127,
0.10885121673345566,
-0.6009941697120667,
0.03856080770492554,
-0.2232172191143036,
0.21381230652332306,
0.506933331489563,
0.4892927408218384,
-0.06106805428862572,
0.6123718023300171,
0.27054551243782043,
0.2600163519382477,
-0.5178738832473755,
0.12694735825061798,
1.1257826089859009,
-0.5486007928848267,
-0.36987122893333435,
-0.7890884280204773,
0.09463367611169815,
-0.18455488979816437,
-0.004960774444043636,
0.6008180379867554,
0.39396899938583374,
0.7513678669929504,
-0.005760199390351772,
0.942480742931366,
0.058338712900877,
0.5175520181655884,
-0.6381955742835999,
0.7894544005393982,
-0.8080512285232544,
0.2370879203081131,
-0.1832183301448822,
-0.49657920002937317,
-0.6173309087753296,
0.5237618088722229,
-0.24997229874134064,
0.009554801508784294,
0.7593404054641724,
0.8473882079124451,
0.05279421806335449,
-0.17695264518260956,
0.7404369115829468,
0.43726861476898193,
0.13786330819129944,
0.5440729260444641,
0.6143403053283691,
-0.3767525255680084,
0.1983376443386078,
-0.008938679471611977,
-0.31384554505348206,
-0.3657075762748718,
-0.8039753437042236,
-0.8632040619850159,
-0.48976078629493713,
-0.4428980052471161,
-0.5004668831825256,
0.23744937777519226,
1.0232042074203491,
0.6425182223320007,
-0.9470473527908325,
0.0038540808018296957,
0.15850390493869781,
-0.06813845783472061,
-0.12278350442647934,
-0.03058202564716339,
0.6226723194122314,
-0.38572952151298523,
-0.5983152985572815,
0.3801017701625824,
0.39910146594047546,
0.028364751487970352,
-0.3551892936229706,
-0.1355210244655609,
-0.1398639976978302,
0.044056765735149384,
0.8607209920883179,
-0.07417871803045273,
-0.6499812602996826,
-0.21050924062728882,
-0.4599406123161316,
-0.2862227261066437,
0.22026003897190094,
0.6798889636993408,
-0.8360724449157715,
0.548231303691864,
0.34019777178764343,
0.9648757576942444,
0.40811896324157715,
-0.27289167046546936,
0.706731915473938,
-0.48390793800354004,
0.04675597697496414,
0.4095989465713501,
0.5120329856872559,
0.5854546427726746,
-0.4439264237880707,
0.39637303352355957,
0.256012886762619,
-0.14891965687274933,
-0.4763305187225342,
0.31282705068588257,
-0.856439471244812,
-0.416143536567688,
1.3293863534927368,
-0.4062477648258209,
-0.04867062717676163,
-0.38706475496292114,
-0.014894767664372921,
0.38543885946273804,
-0.252138614654541,
0.7108855247497559,
0.30159443616867065,
-0.15722844004631042,
0.1631648987531662,
-0.26945778727531433,
0.5401491522789001,
0.3527143597602844,
-0.8859214782714844,
-0.09552950412034988,
0.06638512760400772,
0.22775353491306305,
0.19564197957515717,
0.3236890137195587,
-0.4419589340686798,
-0.11334174126386642,
-0.04627704992890358,
0.20721164345741272,
0.01360725611448288,
0.11579031497240067,
-0.23507724702358246,
0.08145416527986526,
0.02456001192331314,
0.3389749825000763
] |
http://arxiv.org/abs/2405.20526v1
|
http://arxiv.org/pdf/2405.20526v1
|
Automated Generation and Tagging of Knowledge Components from Multiple-Choice Questions
| 2024-05-30T22:57:49 | 2024-05-30T22:57:49 |
Steven Moore, Robin Schmucker, Tom Mitchell, John Stamper
|
cs.AI
|
cs.AI, cs.CL
|
Knowledge Components (KCs) linked to assessments enhance the measurement of
student learning, enrich analytics, and facilitate adaptivity. However,
generating and linking KCs to assessment items requires significant effort and
domain-specific knowledge. To streamline this process for higher-education
courses, we employed GPT-4 to generate KCs for multiple-choice questions (MCQs)
in Chemistry and E-Learning. We analyzed discrepancies between the KCs
generated by the Large Language Model (LLM) and those made by humans through
evaluation from three domain experts in each subject area. This evaluation
aimed to determine whether, in instances of non-matching KCs, evaluators showed
a preference for the LLM-generated KCs over their human-created counterparts.
We also developed an ontology induction algorithm to cluster questions that
assess similar KCs based on their content. Our most effective LLM strategy
accurately matched KCs for 56% of Chemistry and 35% of E-Learning MCQs, with
even higher success when considering the top five KC suggestions. Human
evaluators favored LLM-generated KCs, choosing them over human-assigned ones
approximately two-thirds of the time, a preference that was statistically
significant across both domains. Our clustering algorithm successfully grouped
questions by their underlying KCs without needing explicit labels or contextual
information. This research advances the automation of KC generation and
classification for assessment items, alleviating the need for student data or
predefined KC labels.
|
[
-0.5710957646369934,
-0.6340783834457397,
0.9989053010940552,
-0.4384467601776123,
0.22005914151668549,
0.3177039921283722,
-0.16894614696502686,
-0.3674049377441406,
0.09212523698806763,
0.2922998368740082,
-0.4763696491718292,
-0.7268891930580139,
-0.01479065790772438,
0.23540623486042023,
0.1397276669740677,
0.934746265411377,
-0.22209660708904266,
0.020948266610503197,
-0.6337718963623047,
0.04981270432472229,
-0.5474147200584412,
-0.29405227303504944,
-0.4481864273548126,
-0.5070922374725342,
0.6853102445602417,
0.6507791876792908,
0.2585846781730652,
0.19325703382492065,
0.4644351005554199,
0.2900357246398926,
0.37935522198677063,
0.388657808303833,
0.08561917394399643,
0.1984035074710846,
-0.4380791187286377,
-0.40470877289772034,
-0.5576679110527039,
0.1600988358259201,
0.3535361588001251,
0.5936070084571838,
-0.09968139231204987,
0.4974001348018646,
-0.019266724586486816,
0.5340250134468079,
-0.7135012745857239,
0.17751944065093994,
-0.6659153699874878,
-0.11196057498455048,
0.10153105854988098,
-0.09272322803735733,
-0.4665432274341583,
-0.2660679221153259,
0.29055139422416687,
-0.8536525964736938,
0.2705083191394806,
0.053697746247053146,
0.8723605871200562,
0.156663715839386,
-0.6383496522903442,
-0.45873185992240906,
-0.5287836194038391,
0.8458171486854553,
-0.23863022029399872,
0.49588078260421753,
0.28970131278038025,
0.5096948146820068,
-0.2038315236568451,
-0.7702984809875488,
-0.8471622467041016,
-0.16820508241653442,
-0.04673588275909424,
0.46927234530448914,
0.3371371030807495,
0.1620960384607315,
-0.09444032609462738,
0.0213029645383358,
-0.664961576461792,
-0.06614986807107925,
-0.1793413609266281,
-0.5871583819389343,
0.6310366988182068,
0.3492777347564697,
0.4320005774497986,
-0.3759884834289551,
-0.2157612144947052,
-0.14330440759658813,
-0.6984789371490479,
-0.15561941266059875,
0.2975403368473053,
0.36208057403564453,
0.41077500581741333,
0.6645546555519104,
-0.22879576683044434,
0.6800203323364258,
0.09611309319734573,
-0.43847307562828064,
0.37544652819633484,
-0.7514841556549072,
0.06879107654094696,
0.07791729271411896,
0.559760332107544,
0.3212537467479706,
-0.05692331865429878,
-0.06782566010951996,
0.17645263671875,
0.315498411655426,
0.3464517891407013,
-0.6174428462982178,
-0.4979736804962158,
0.3931301236152649,
0.14347364008426666,
-0.22989192605018616,
-0.06713183224201202,
-0.5768603682518005,
-0.03886614367365837,
-0.5844473242759705,
0.7177461981773376,
-0.15917721390724182,
-0.04455893486738205,
-0.18939168751239777,
-0.16841524839401245,
0.2242562174797058,
0.47534269094467163,
-0.8070263266563416,
0.24144959449768066,
0.2493332326412201,
0.21810176968574524,
-0.5051204562187195,
-0.26360979676246643,
-0.05313936248421669,
0.40362170338630676,
-0.14461643993854523,
1.0264910459518433,
-0.6466985940933228,
-0.2023552507162094,
-0.14412517845630646,
-0.09235795587301254,
0.0593847781419754,
-0.5901510119438171,
0.08230661600828171,
-0.8270994424819946,
0.3768879175186157,
-0.6999590396881104,
-0.7296363711357117,
-0.06643740832805634,
0.4685801565647125,
-0.37504783272743225,
1.149488091468811,
0.38503310084342957,
-0.42978641390800476,
1.0321569442749023,
-0.6999659538269043,
-0.07922139763832092,
0.3389447033405304,
-0.7231276035308838,
-0.3883936405181885,
-0.5408139228820801,
0.13459281623363495,
0.5763554573059082,
-0.26517626643180847,
0.1487356722354889,
-0.0847860723733902,
0.1593538224697113,
0.24052278697490692,
0.19163794815540314,
0.17971664667129517,
0.1065838485956192,
-0.3561643064022064,
0.07495909184217453,
-0.9024024605751038,
0.42560645937919617,
-0.021827025339007378,
-0.7259933948516846,
-0.3259772062301636,
-0.12088427692651749,
-0.19796597957611084,
0.44298359751701355,
0.04548651725053787,
-0.6117584109306335,
0.28022271394729614,
-0.04332378879189491,
0.07492318749427795,
0.8750244975090027,
0.3405720293521881,
0.5543118119239807,
-0.2993411719799042,
0.543522834777832,
0.11975091695785522,
-0.07291680574417114,
0.04113982617855072,
-0.7157232761383057,
-0.6897522211074829,
-0.13104203343391418,
0.23123255372047424,
0.3904878497123718,
-0.8801081776618958,
0.6129008531570435,
-0.1680554896593094,
-0.7814232707023621,
-0.3995763957500458,
0.2827722430229187,
0.19791506230831146,
0.5966379046440125,
0.5502740740776062,
-0.20006147027015686,
-0.15566524863243103,
-0.6714428067207336,
-0.16728675365447998,
-0.2740485370159149,
-0.15514031052589417,
0.5451882481575012,
0.5908762812614441,
-0.22871486842632294,
1.2479579448699951,
-0.8714558482170105,
-0.26865026354789734,
-0.06518276035785675,
0.017339618876576424,
-0.37259921431541443,
0.2925906181335449,
0.33582767844200134,
-0.734703779220581,
-0.7657182812690735,
0.12456806749105453,
-0.5574126839637756,
-0.11670645326375961,
-0.09114036709070206,
-0.555799126625061,
0.21808746457099915,
0.11013771593570709,
-0.5332855582237244,
0.10492822527885437,
-0.1014685407280922,
-0.29109832644462585,
0.8217251300811768,
0.1686752587556839,
0.37177449464797974,
-1.2581019401550293,
-0.008899526670575142,
-0.1762644201517105,
0.05838745832443237,
-0.46640971302986145,
0.018111323937773705,
0.007071792613714933,
0.03838169947266579,
-0.5782989859580994,
0.7094165086746216,
-0.3840591311454773,
-0.1965341418981552,
0.06596389412879944,
0.47770872712135315,
0.2804216742515564,
0.48852333426475525,
-0.12069190293550491,
0.6021328568458557,
0.35577723383903503,
-0.8801566362380981,
0.4493981599807739,
0.3395266830921173,
-0.2661491930484772,
0.6007853746414185,
-0.11867967993021011,
0.21632277965545654,
0.0573141984641552,
0.28206703066825867,
-1.3119797706604004,
-0.5734981894493103,
0.20375439524650574,
-0.5652279257774353,
0.2166750431060791,
0.11900701373815536,
-0.44564417004585266,
-0.33713605999946594,
-0.12323201447725296,
0.48348483443260193,
0.511262834072113,
-0.577674150466919,
0.9285942912101746,
0.13750091195106506,
-0.13456113636493683,
-0.47939273715019226,
-0.4355297386646271,
-0.5011355876922607,
-0.1582980453968048,
-0.6395632028579712,
0.3719143569469452,
-0.2378450185060501,
-0.05147400498390198,
0.061679862439632416,
-0.3108829855918884,
-0.08107590675354004,
-0.011860672384500504,
0.1709178239107132,
0.3718441426753998,
-0.08498440682888031,
0.6659513711929321,
0.21110162138938904,
0.034005504101514816,
0.22704853117465973,
-0.5513246059417725,
0.5247476696968079,
0.08402825891971588,
-0.6663870215415955,
-0.24686570465564728,
0.1751011610031128,
0.3650432229042053,
0.0618586465716362,
0.3510867953300476,
0.7678910493850708,
-0.17709395289421082,
-0.4895440340042114,
-0.5718494057655334,
-0.31419873237609863,
-0.5425018072128296,
0.23101964592933655,
-0.471182644367218,
-1.0941685438156128,
0.5348586440086365,
-0.17841310799121857,
0.07297702133655548,
0.6063609719276428,
0.8062145113945007,
-0.12437089532613754,
0.9783956408500671,
0.4005650579929352,
0.18760880827903748,
0.056282807141542435,
-0.11657535284757614,
0.3922346830368042,
-0.5810211896896362,
-0.43079444766044617,
-0.4802566468715668,
-0.07449112087488174,
-0.5565167665481567,
-0.42794540524482727,
0.6611034274101257,
-0.3215809464454651,
-0.2835080623626709,
0.09128107875585556,
-0.6623971462249756,
0.5506819486618042,
0.44732561707496643,
0.09765682369470596,
0.34375378489494324,
0.28266698122024536,
-0.5857622027397156,
0.0931483656167984,
-0.6954448819160461,
-0.45190802216529846,
1.483866572380066,
-0.1024223044514656,
0.5875315070152283,
0.21826551854610443,
0.9719140529632568,
0.23311038315296173,
0.4468567967414856,
-0.9629316926002502,
0.7460272908210754,
0.47687122225761414,
-0.8221828937530518,
-0.3903543949127197,
-0.4023943543434143,
-0.8362674713134766,
0.16295431554317474,
-0.13284564018249512,
-0.5550898909568787,
-0.17896060645580292,
0.14923511445522308,
-0.5206953883171082,
0.08856985718011856,
-0.785656213760376,
0.6055960059165955,
0.04665149375796318,
-0.3045904338359833,
0.006595331244170666,
-0.5507073402404785,
0.2166871428489685,
-0.4823967218399048,
0.0036910881754010916,
0.06931787729263306,
0.064717136323452,
0.9208546280860901,
-0.44201645255088806,
0.570120096206665,
-0.03450324013829231,
-0.2539203464984894,
0.889340877532959,
0.02089730091392994,
0.13468272984027863,
-0.054541200399398804,
0.1419549137353897,
-0.3463181257247925,
-0.023568864911794662,
-0.4491925835609436,
-0.8299007415771484,
0.6400811672210693,
-0.8737794756889343,
-0.6212118864059448,
-0.3773519694805145,
-0.4302878677845001,
-0.38888928294181824,
0.20353564620018005,
0.1678447276353836,
0.22471341490745544,
0.11280059814453125,
-0.44869527220726013,
0.5837587118148804,
-0.26218336820602417,
0.21157845854759216,
0.6184688210487366,
-0.16395972669124603,
-0.3362146317958832,
1.288107991218567,
0.2628580331802368,
0.6600390672683716,
0.27317050099372864,
0.22726105153560638,
-0.334408700466156,
-0.08040595054626465,
-0.46923360228538513,
0.22492320835590363,
-1.1192539930343628,
-0.24305014312267303,
-0.6883434653282166,
-0.03561870753765106,
-0.6344884037971497,
-0.3569328784942627,
-0.21213732659816742,
-0.39567863941192627,
-0.2452399730682373,
-0.3433037996292114,
0.19016021490097046,
0.7783506512641907,
0.09938768297433853,
0.1984739899635315,
-0.9472507238388062,
0.0701209157705307,
0.8630432486534119,
0.18608230352401733,
0.027438519522547722,
-0.11294690519571304,
-0.15951977670192719,
-0.22106719017028809,
-0.6023243069648743,
-0.8013880848884583,
-0.14164216816425323,
0.11999450623989105,
0.5568993091583252,
0.29066571593284607,
-0.01737368293106556,
0.38770121335983276,
-0.4186883568763733,
1.2162668704986572,
0.21318025887012482,
-0.8112984299659729,
0.555279552936554,
-0.294627845287323,
0.18068340420722961,
0.73650723695755,
0.8001329302787781,
-0.1116345077753067,
-0.3505482077598572,
-0.6449120044708252,
-0.9180130362510681,
0.5129936933517456,
0.05935480073094368,
-0.1580522656440735,
-0.14604409039020538,
0.3480339050292969,
0.27264949679374695,
0.2577434182167053,
-0.5349844694137573,
-0.4443885087966919,
0.019091583788394928,
-0.3947736322879791,
0.24346409738063812,
0.13621170818805695,
-0.1527308225631714,
-0.3506167531013489,
0.8641728758811951,
-0.34627673029899597,
0.32231009006500244,
0.2952612042427063,
-0.1319679617881775,
-0.09654583781957626,
0.5469526052474976,
0.3162190020084381,
0.7652162313461304,
-0.12359808385372162,
0.10618199408054352,
0.1998990923166275,
-0.690558910369873,
0.56831294298172,
-0.40239760279655457,
0.004073956049978733,
-0.2035307139158249,
0.045637138187885284,
0.11171947419643402,
-0.39236345887184143,
-0.7026435732841492,
0.388302206993103,
0.04270970821380615,
-0.3991308808326721,
-0.3147515654563904,
0.29300740361213684,
-0.019859788939356804,
-0.05198417231440544,
0.2610994875431061,
-0.09971155226230621,
0.0486283078789711,
-0.470048189163208,
0.46076950430870056,
0.18461520969867706,
-0.0905865877866745,
-0.30782049894332886,
0.32554328441619873,
0.2270105481147766,
0.20266538858413696,
0.5119044184684753,
-0.5839900374412537,
-0.7222064137458801,
0.5835933089256287,
0.45309749245643616,
0.5357898473739624,
-0.5147479176521301,
0.5275147557258606,
0.42771264910697937,
0.10932441800832748,
0.34353208541870117,
0.5854406356811523,
-0.23027540743350983,
-1.0655333995819092,
-0.29671967029571533,
-0.6516055464744568,
-0.4899897575378418,
-0.026666736230254173,
-0.537507176399231,
0.2973935306072235,
-0.3716161251068115,
-0.29250368475914,
0.15567618608474731,
0.04706842079758644,
-0.9467750191688538,
0.5556384325027466,
-0.045072197914123535,
0.4996119439601898,
-1.2128381729125977,
0.5379784107208252,
1.1046099662780762,
-0.6285820007324219,
-1.26395583152771,
-0.20146478712558746,
-0.03932195156812668,
-0.4734781086444855,
0.9143105745315552,
-0.11219502985477448,
0.04349425807595253,
0.18392179906368256,
-0.4328858256340027,
-1.0321965217590332,
1.4366414546966553,
-0.3339746296405792,
-0.0990300104022026,
-0.057779714465141296,
0.5167609453201294,
0.2786943316459656,
-0.372631698846817,
0.4112570285797119,
0.6310098767280579,
0.6074649095535278,
0.079713374376297,
-0.7469727993011475,
0.21235431730747223,
-0.1314024180173874,
-0.4693630337715149,
0.4659390449523926,
-0.5866912603378296,
0.7634331583976746,
-0.035577524453401566,
-0.14220698177814484,
-0.31342923641204834,
0.3312203884124756,
0.45585182309150696,
0.42705437541007996,
0.44059333205223083,
0.7498948574066162,
0.890798807144165,
-0.11935338377952576,
0.5895911455154419,
-0.043073851615190506,
0.330587238073349,
0.9489001035690308,
-0.6252492666244507,
0.5342458486557007,
0.4726693034172058,
-0.5248914957046509,
0.7319450974464417,
0.7400786280632019,
-0.2103414088487625,
0.38801607489585876,
0.4494503140449524,
-0.4571441411972046,
-0.47907721996307373,
-0.09797719866037369,
-0.3568505644798279,
0.48252519965171814,
0.5394414067268372,
-0.1729222685098648,
-0.24788208305835724,
0.0706414058804512,
-0.2064516842365265,
-0.19742660224437714,
-0.1939636617898941,
0.9247071146965027,
-0.12410125881433487,
-0.8668978214263916,
0.1509900540113449,
-0.1775147020816803,
0.26235276460647583,
-0.5191007256507874,
-0.2239815592765808,
0.19819431006908417,
-0.14147727191448212,
-0.4589598774909973,
-0.5845950245857239,
-0.09806310385465622,
-0.24428242444992065,
-0.2301209568977356,
0.1623067557811737,
0.9414401054382324,
-0.46244487166404724,
-0.28501543402671814,
0.11529074609279633,
0.7825738787651062,
0.17651231586933136,
0.21645481884479523,
-0.4068770110607147,
-0.4656984806060791,
-0.03797703981399536,
-0.2405005246400833,
0.5324149131774902,
0.022917134687304497,
-0.08753634989261627,
0.6107370257377625,
0.79486083984375,
-0.12421318888664246,
0.23356671631336212,
0.04893200844526291,
0.9693423509597778,
-0.4532039165496826,
-0.4378110468387604,
-0.45749935507774353,
0.7329548597335815,
0.11351744830608368,
-0.1739976704120636,
0.7541415691375732,
0.5603177547454834,
1.189261794090271,
-0.07597523927688599,
1.220436930656433,
-0.10763717442750931,
0.40503832697868347,
-0.5618200898170471,
0.7497054934501648,
-0.5886461734771729,
0.20962557196617126,
-0.5539495348930359,
-1.1632871627807617,
-0.051938652992248535,
0.2202642560005188,
-0.29790198802948,
0.305545449256897,
1.0893338918685913,
0.7106424570083618,
0.06873118132352829,
-0.14292694628238678,
0.18732884526252747,
-0.2641550302505493,
0.5178413987159729,
0.47687724232673645,
0.8029603362083435,
-0.4618915319442749,
0.4492171108722687,
-0.03209599107503891,
-0.12752166390419006,
0.10736352950334549,
-0.5708754062652588,
-1.0094690322875977,
-0.6896610856056213,
-0.5706836581230164,
-0.33713632822036743,
-0.4616008400917053,
1.1656169891357422,
0.46685436367988586,
-0.7596153616905212,
0.00677402364090085,
-0.07494502514600754,
0.1954164355993271,
0.12879684567451477,
-0.31369447708129883,
0.6074478030204773,
-0.5365490913391113,
-0.36086806654930115,
0.2046235203742981,
0.0027526943013072014,
0.0491783544421196,
-0.2762095332145691,
0.05992390587925911,
-0.16642098128795624,
-0.01668313331902027,
0.6878694295883179,
-0.15665455162525177,
-0.8618649244308472,
-0.5783646702766418,
0.2360333949327469,
0.04167599231004715,
0.025370744988322258,
0.6506405472755432,
-0.8085698485374451,
0.5503274202346802,
0.6293696761131287,
0.8759716749191284,
0.16281263530254364,
0.02893793396651745,
0.39591720700263977,
-0.9628498554229736,
-0.6041614413261414,
0.21999482810497284,
-0.0162418894469738,
0.1266036033630371,
-0.4074873626232147,
0.26842957735061646,
0.371754914522171,
-0.8711885809898376,
-0.5435526967048645,
0.3909456729888916,
-0.9784435033798218,
-0.24098818004131317,
1.1155033111572266,
-0.0692567527294159,
-0.08733536303043365,
-0.2814684212207794,
-0.07413102686405182,
0.37286946177482605,
-0.3532361686229706,
0.6841925978660583,
1.0082893371582031,
-0.568162739276886,
0.40127262473106384,
-0.42717888951301575,
0.5601729154586792,
0.48455488681793213,
-1.076900601387024,
-0.42558011412620544,
0.5229863524436951,
0.5954192280769348,
0.6357627511024475,
0.571904182434082,
0.13653038442134857,
0.3452710509300232,
-0.08259399235248566,
0.373451828956604,
0.12205511331558228,
-0.4547312259674072,
0.18519315123558044,
0.35717782378196716,
-0.030324921011924744,
-0.04250763729214668
] |
http://arxiv.org/abs/2405.20512v1
|
http://arxiv.org/pdf/2405.20512v1
|
How Multilingual Are Large Language Models Fine-Tuned for Translation?
| 2024-05-30T22:08:20 | 2024-05-30T22:08:20 |
Aquia Richburg, Marine Carpuat
|
cs.CL
|
cs.CL, cs.LG
|
A new paradigm for machine translation has recently emerged: fine-tuning
large language models (LLM) on parallel text has been shown to outperform
dedicated translation systems trained in a supervised fashion on much larger
amounts of parallel data (Xu et al., 2024a; Alves et al., 2024). However, it
remains unclear whether this paradigm can enable massively multilingual machine
translation or whether it requires fine-tuning dedicated models for a small
number of language pairs. How does translation fine-tuning impact the MT
capabilities of LLMs for zero-shot languages, zero-shot language pairs, and
translation tasks that do not involve English? To address these questions, we
conduct an extensive empirical evaluation of the translation quality of the
TOWER family of language models (Alves et al., 2024) on 132 translation tasks
from the multi-parallel FLORES-200 data. We find that translation fine-tuning
improves translation quality even for zero-shot languages on average, but that
the impact is uneven depending on the language pairs involved. These results
call for further research to effectively enable massively multilingual
translation with LLMs.
|
[
-0.22993426024913788,
-0.8218095898628235,
0.5050118565559387,
0.3217334449291229,
-0.2197396159172058,
0.039369042962789536,
-0.5162888765335083,
-0.7719011306762695,
0.038617197424173355,
0.6257289052009583,
-0.3380553126335144,
-0.4858527183532715,
-0.7119588255882263,
0.4538641571998596,
-0.38520294427871704,
1.1808052062988281,
-0.1607871800661087,
0.30887648463249207,
0.1327688992023468,
-0.4241213798522949,
-0.5466327667236328,
-0.5728853940963745,
-0.47830915451049805,
-0.3441189229488373,
0.6773597598075867,
0.45334044098854065,
0.8916664719581604,
1.0410337448120117,
0.6679576635360718,
0.2838493287563324,
-0.04844840615987778,
0.28928032517433167,
-0.6665189862251282,
0.036739833652973175,
-0.003507075598463416,
-0.5561347007751465,
-0.7184961438179016,
-0.1178126335144043,
0.9158011078834534,
0.918591320514679,
0.2594403326511383,
0.35623812675476074,
0.20274518430233002,
0.6322880387306213,
-0.4128073751926422,
0.06286223977804184,
-0.8230172991752625,
0.08254899829626083,
-0.42989689111709595,
-0.42806577682495117,
-0.4327221214771271,
0.05771302431821823,
-0.29696959257125854,
-0.4531572461128235,
0.3294770419597626,
0.3026414215564728,
0.6440439820289612,
0.26125869154930115,
-0.7683365941047668,
-0.06564618647098541,
-0.8762755393981934,
0.9279899001121521,
-0.5681363344192505,
0.4549645781517029,
0.30588266253471375,
0.1505722552537918,
-0.1707104742527008,
-0.25076353549957275,
-0.19293555617332458,
-0.2861945927143097,
0.03444396331906319,
-0.02204795740544796,
-0.12099695205688477,
0.12383442372083664,
0.28716927766799927,
0.4135316014289856,
-0.6488375067710876,
0.478450745344162,
-0.37758561968803406,
0.032930824905633926,
0.6042225956916809,
0.28017017245292664,
0.20041286945343018,
-0.005621261429041624,
-0.154449462890625,
0.11170238256454468,
-0.9006625413894653,
-0.008392243646085262,
0.3291790187358856,
0.6460479497909546,
-0.15617777407169342,
0.7375048398971558,
-0.3291812241077423,
0.8421134352684021,
-0.17472811043262482,
-0.14402203261852264,
0.07780732959508896,
-0.44649195671081543,
-0.27713972330093384,
-0.02373577654361725,
0.722265362739563,
0.4699297547340393,
0.6229710578918457,
-0.46769070625305176,
-0.25890442728996277,
-0.09153573960065842,
-0.03087334893643856,
-0.7964380383491516,
0.04507323354482651,
0.15667589008808136,
-0.3709132671356201,
-0.09990033507347107,
-0.27419230341911316,
-0.30650562047958374,
-0.13894182443618774,
-0.527212917804718,
0.3042367100715637,
-0.12934578955173492,
-0.16417880356311798,
0.28044670820236206,
0.12901988625526428,
0.02461162768304348,
0.3520943224430084,
-0.9012898206710815,
0.1261260211467743,
0.6564698219299316,
0.7939746975898743,
-0.19046176970005035,
-0.7960451245307922,
-0.901826024055481,
0.29944711923599243,
-0.5189469456672668,
0.7294139266014099,
-0.38235464692115784,
-0.17509855329990387,
0.11591289192438126,
0.1861872375011444,
-0.22671011090278625,
-0.5563867092132568,
0.5627244710922241,
-0.4235142171382904,
-0.15382982790470123,
-0.36205825209617615,
-0.37730246782302856,
-0.18494628369808197,
0.3163144886493683,
-0.35095110535621643,
0.6401092410087585,
-0.36458519101142883,
-0.37185728549957275,
0.23009571433067322,
-0.25201183557510376,
-0.8255487084388733,
-0.07971082627773285,
0.1484018862247467,
-0.21767692267894745,
0.5393139719963074,
0.23589801788330078,
0.6926335096359253,
-0.4170626401901245,
0.16720061004161835,
-0.5930670499801636,
-0.38037189841270447,
0.16119953989982605,
-0.5274969339370728,
0.3941764533519745,
0.3571217358112335,
0.013103598728775978,
0.18114665150642395,
-0.5868480205535889,
0.13029778003692627,
-0.04271218180656433,
-0.37114113569259644,
-0.07412202656269073,
-0.06497695297002792,
0.32565024495124817,
0.400209903717041,
0.304671049118042,
-0.55633145570755,
0.2376391440629959,
-0.24068909883499146,
0.48446232080459595,
0.40253421664237976,
-0.26283740997314453,
0.4857240617275238,
-0.27235671877861023,
0.45078831911087036,
0.004662321414798498,
0.005828693509101868,
-0.2774253189563751,
-0.4730527400970459,
-0.7028633952140808,
-0.18869100511074066,
0.3053739070892334,
0.5341829657554626,
-0.43423569202423096,
-0.0459316112101078,
-0.3006024956703186,
-0.3476392328739166,
-0.6672040820121765,
0.36669492721557617,
0.5902028679847717,
0.12895014882087708,
0.5085393190383911,
-0.15176129341125488,
-0.19422288239002228,
-0.9643535614013672,
-0.39457082748413086,
0.2081870138645172,
0.1820889413356781,
0.13539567589759827,
0.39773252606391907,
-0.10673315823078156,
0.23274977505207062,
-0.3578092157840729,
-0.41621261835098267,
-0.2938706874847412,
0.2112797349691391,
0.14540721476078033,
0.3972712457180023,
0.5647822022438049,
-0.4973126947879791,
-0.7338013052940369,
0.572613537311554,
-0.7767288684844971,
-0.069412961602211,
-0.10857214033603668,
0.1363607794046402,
0.2931799590587616,
0.5970556735992432,
-0.5568568706512451,
0.021984422579407692,
0.8286235332489014,
0.0702047273516655,
0.442854642868042,
-0.7316542267799377,
0.29851487278938293,
-0.9926108717918396,
0.14393867552280426,
-0.02577224373817444,
-0.30349594354629517,
-0.7491733431816101,
0.44509539008140564,
0.330595463514328,
-0.06999034434556961,
-0.560889482498169,
0.41452139616012573,
-0.5197529196739197,
-0.28164878487586975,
-0.5124108791351318,
0.0943416953086853,
-0.051625050604343414,
0.41605737805366516,
-0.11653021723031998,
0.6407063603401184,
0.4941304922103882,
-0.553512692451477,
0.07332457602024078,
0.05676962435245514,
-0.36115026473999023,
0.6020806431770325,
-0.6695608496665955,
0.005977213848382235,
-0.06996939331293106,
0.08868370205163956,
-0.7751238346099854,
-0.2106156200170517,
-0.09954579919576645,
-0.3260768949985504,
0.5356963276863098,
-0.11200910806655884,
-0.8082450032234192,
-0.1482885330915451,
-0.023008501157164574,
0.4822540283203125,
0.11173930019140244,
-0.32631227374076843,
0.026841893792152405,
0.16667421162128448,
-0.02887873537838459,
-0.4600103795528412,
-0.7374798059463501,
0.3069015443325043,
-0.060387592762708664,
-0.6105499267578125,
0.24901790916919708,
-0.07406804710626602,
-0.2616816461086273,
-0.2366630882024765,
-0.012061364017426968,
-0.24252355098724365,
0.18783125281333923,
0.038985222578048706,
-0.11940828710794449,
-0.35371407866477966,
0.09369780123233795,
0.17308153212070465,
-0.20365296304225922,
-0.30262070894241333,
-0.30419692397117615,
0.41850024461746216,
-0.2039952427148819,
-0.3425414264202118,
-0.33270490169525146,
0.4849744439125061,
0.8882250785827637,
-0.6441648006439209,
0.9078645706176758,
0.595318615436554,
-0.2617050111293793,
-0.0009851026115939021,
-0.5639325380325317,
0.003374952357262373,
-0.3771972358226776,
0.5870515704154968,
-0.6764845848083496,
-1.0467793941497803,
0.6001470685005188,
-0.005447822157293558,
0.16371619701385498,
0.6447852253913879,
0.6091693639755249,
-0.22153335809707642,
1.4000288248062134,
0.9103667140007019,
-0.12441887706518173,
0.23069560527801514,
-0.034036897122859955,
0.13961204886436462,
-0.6770651340484619,
0.1906343400478363,
-0.6875025033950806,
-0.5904645323753357,
-0.7848571538925171,
-0.2540281414985657,
0.3903469443321228,
0.4134119153022766,
-0.04799668863415718,
0.4672776460647583,
-0.10833854228258133,
0.5092266798019409,
0.35475942492485046,
-0.22046074271202087,
0.7833959460258484,
0.13538876175880432,
0.030369721353054047,
-0.026286611333489418,
-0.6895049214363098,
-0.43106961250305176,
1.065240502357483,
0.2755078971385956,
0.4099205434322357,
0.11045169085264206,
0.42359116673469543,
-0.11445309221744537,
0.1814277321100235,
-0.6165211200714111,
0.28747501969337463,
-0.59803307056427,
-0.7553484439849854,
-0.16270799934864044,
-0.47699397802352905,
-1.0695053339004517,
0.4943121671676636,
-0.3262345790863037,
-0.37059181928634644,
-0.2192215472459793,
0.08395475894212723,
-0.26635605096817017,
0.3942071795463562,
-0.5901791453361511,
0.9792837500572205,
-0.5409519672393799,
-0.2822052538394928,
-0.7089511156082153,
-0.5607609152793884,
0.3427009880542755,
-0.49932289123535156,
0.27255508303642273,
-0.34652748703956604,
0.1420155018568039,
0.15899522602558136,
0.039867229759693146,
0.5586430430412292,
0.2021234929561615,
-0.19458690285682678,
-0.16142719984054565,
0.16667777299880981,
0.47170716524124146,
0.012288905680179596,
-0.24236176908016205,
0.5198831558227539,
0.23010075092315674,
-0.6074146032333374,
-0.31665411591529846,
0.9537988901138306,
-0.8912771940231323,
-0.5683658719062805,
-0.16707292199134827,
-1.0551668405532837,
-0.19670261442661285,
0.38195183873176575,
0.3219160735607147,
0.27605509757995605,
-0.21496939659118652,
0.35812777280807495,
0.46076470613479614,
-0.279751181602478,
0.4634387791156769,
0.8800775408744812,
-0.3240170478820801,
-0.2369900941848755,
0.8903493285179138,
0.4019085764884949,
0.46472299098968506,
0.6897975206375122,
0.016255760565400124,
-0.10432207584381104,
-0.8541271686553955,
-0.9070413112640381,
0.3575318157672882,
-0.32489949464797974,
-0.11315783858299255,
-0.6896527409553528,
-0.0011461100075393915,
-0.26567256450653076,
-0.1544422060251236,
-0.49076589941978455,
-0.3811686635017395,
-0.13934296369552612,
0.10289203375577927,
0.1543571501970291,
0.9623160362243652,
0.14122967422008514,
0.3405839502811432,
-1.1289148330688477,
0.44061005115509033,
-0.0379706509411335,
0.256186306476593,
-0.2165709286928177,
-0.6501410007476807,
-0.6324805021286011,
0.2867213785648346,
-0.20903834700584412,
-0.5569535493850708,
0.3033071756362915,
0.25300565361976624,
0.3444657325744629,
0.15333734452724457,
-0.14337658882141113,
0.7881215810775757,
-0.9495279788970947,
0.45223724842071533,
0.066848523914814,
-0.6936712861061096,
0.005232825875282288,
-0.73537677526474,
0.48128944635391235,
0.5177191495895386,
0.108845554292202,
-0.868445873260498,
-0.5418171882629395,
-0.10791201889514923,
-0.5057405829429626,
0.6272820234298706,
-0.026908181607723236,
0.3084707260131836,
0.0751643031835556,
0.36209237575531006,
0.13431033492088318,
0.3932332396507263,
-0.6202293634414673,
-0.23320111632347107,
0.29593992233276367,
0.08846300095319748,
-0.6488197445869446,
-0.18007591366767883,
0.042686790227890015,
-0.30351704359054565,
0.26556506752967834,
-0.12285828590393066,
-0.1430196613073349,
-0.30269813537597656,
-0.193152517080307,
-0.5807059407234192,
0.42765286564826965,
0.8336628079414368,
0.5454015135765076,
-0.1725209504365921,
0.031940821558237076,
0.33240121603012085,
-0.08191502839326859,
0.0012733425246551633,
0.06863061338663101,
-0.27983367443084717,
-0.05834183469414711,
0.36909931898117065,
0.7744300365447998,
0.33004260063171387,
-0.2640371322631836,
0.2122425138950348,
0.16592511534690857,
-0.271888792514801,
0.09436873346567154,
-0.1463019698858261,
0.05391955003142357,
0.18430210649967194,
0.07181833684444427,
0.34725937247276306,
-0.17005380988121033,
-0.5215845108032227,
-0.09061524271965027,
0.6602615714073181,
-0.27859920263290405,
-0.5175132751464844,
0.8171342611312866,
0.3229176700115204,
-0.2765180468559265,
0.4397067129611969,
-0.007837856188416481,
-0.253946989774704,
0.44637981057167053,
0.5654789805412292,
0.8029595613479614,
-0.21921367943286896,
-0.10646501183509827,
0.3145569860935211,
0.6366845369338989,
-0.29592835903167725,
0.0507468581199646,
0.15354056656360626,
-0.5068950653076172,
-0.8907151818275452,
-0.7350320219993591,
-0.335537314414978,
0.057061053812503815,
-0.5574485659599304,
0.3145546019077301,
-0.13143102824687958,
0.1600787341594696,
-0.02055017650127411,
0.07678059488534927,
-0.7557158470153809,
0.1126764640212059,
0.20968244969844818,
0.9151223301887512,
-0.8930463194847107,
1.2565416097640991,
0.6949432492256165,
-0.18188853561878204,
-0.5947269201278687,
-0.06945586949586868,
-0.1539788693189621,
-0.6704108715057373,
0.5110074281692505,
0.1765124797821045,
-0.21551059186458588,
0.23199111223220825,
-0.06593487411737442,
-0.8531048893928528,
0.5940816402435303,
0.7011714577674866,
-0.713916003704071,
0.2702328860759735,
0.6765567064285278,
0.7884204387664795,
-0.12425483763217926,
-0.04063829407095909,
0.35223186016082764,
0.5122127532958984,
-0.16170503199100494,
-1.4051780700683594,
-0.43684816360473633,
-0.1713624894618988,
-0.0961768850684166,
0.445638507604599,
-0.7523713111877441,
0.7536914944648743,
-0.27900758385658264,
0.048079658299684525,
0.24848611652851105,
0.5023131370544434,
-0.19701941311359406,
0.25839123129844666,
0.10605940222740173,
0.6149949431419373,
0.630565881729126,
-0.020383985713124275,
1.266882300376892,
-0.7575585246086121,
0.23267729580402374,
1.1359833478927612,
-0.46851763129234314,
1.219801425933838,
0.4391295909881592,
-0.0700993463397026,
-0.10342629253864288,
0.5747807025909424,
0.10029589384794235,
0.25127920508384705,
0.012301715090870857,
-0.1282547116279602,
-0.4031180739402771,
-0.27456071972846985,
-0.5455672144889832,
0.520417332649231,
0.08333282172679901,
-0.23363302648067474,
-0.19315993785858154,
0.10795146971940994,
0.04372790455818176,
0.13576962053775787,
-0.3879939317703247,
0.5412425994873047,
0.15021313726902008,
-0.878764808177948,
0.6896539926528931,
0.5032305121421814,
0.5148454308509827,
-0.4575972259044647,
0.31835564970970154,
-0.302251935005188,
0.5087005496025085,
-0.13076254725456238,
-0.7540119290351868,
0.42956358194351196,
0.08302266895771027,
-0.4529281556606293,
-0.5144866108894348,
0.27701595425605774,
-0.7031652331352234,
-0.6037882566452026,
0.32834455370903015,
0.8433772921562195,
0.31421205401420593,
-0.417326420545578,
-0.5119386315345764,
0.042700424790382385,
-0.1379248946905136,
0.02551506645977497,
0.5604899525642395,
0.5046923756599426,
-0.07210425287485123,
0.4279184639453888,
0.74066561460495,
0.20577433705329895,
0.2020677924156189,
0.021901825442910194,
0.4400158226490021,
-0.5506643652915955,
-0.1347743272781372,
-0.899505615234375,
0.28077685832977295,
0.3181152939796448,
-0.5588255524635315,
1.046755075454712,
0.6792470812797546,
1.0620193481445312,
-0.10250470042228699,
0.4862287938594818,
0.4233190417289734,
0.2355562299489975,
-0.2983955144882202,
0.7095395922660828,
-0.8522433042526245,
-0.03455174341797829,
-0.16852201521396637,
-1.1511150598526,
-0.6618223190307617,
0.1725291907787323,
-0.32252776622772217,
-0.20114558935165405,
0.7085824012756348,
0.6960545778274536,
-0.16403540968894958,
-0.057262126356363297,
0.6533937454223633,
0.2547108232975006,
0.19461403787136078,
0.5626614093780518,
0.5787949562072754,
-0.5476061701774597,
0.7712812423706055,
-0.13363441824913025,
0.01001028809696436,
-0.23035264015197754,
-0.7987465262413025,
-0.8242408633232117,
-0.27373555302619934,
-0.20754387974739075,
0.01615862548351288,
0.06251785159111023,
0.6922718286514282,
0.6552239656448364,
-0.9901580810546875,
-0.5773245692253113,
0.0158685389906168,
0.11577893048524857,
-0.3665026128292084,
0.008302501402795315,
0.11625756323337555,
-0.5864787697792053,
-0.9398798942565918,
0.4957710802555084,
0.6067896485328674,
-0.04738670960068703,
-0.14078223705291748,
-0.17568638920783997,
-0.02700674533843994,
-0.16404959559440613,
0.7408987283706665,
0.22378574311733246,
-0.7949416637420654,
-0.12059859931468964,
0.3163015842437744,
-0.4507646858692169,
0.06957782804965973,
0.7262436747550964,
-0.17482976615428925,
0.5353060960769653,
0.33623725175857544,
0.6725456714630127,
0.494027316570282,
-0.32928022742271423,
0.7319219708442688,
-0.7111005783081055,
0.2879922091960907,
-0.28563860058784485,
0.45058441162109375,
0.2849408686161041,
-0.17268827557563782,
0.34763413667678833,
0.12133952975273132,
-0.7460057139396667,
-0.7188641428947449,
0.2756526470184326,
-0.7433958649635315,
-0.2510049641132355,
1.2087678909301758,
0.03915604576468468,
0.08847254514694214,
-0.12790943682193756,
-0.1568022072315216,
0.25729382038116455,
0.08919522166252136,
0.6077039241790771,
0.7751989960670471,
0.05641334131360054,
-0.16577695310115814,
-1.0404863357543945,
0.2557739317417145,
0.7293262481689453,
-0.5665457248687744,
0.20156900584697723,
0.3792765438556671,
0.03534240648150444,
-0.0648530051112175,
0.2317502647638321,
0.13034720718860626,
0.21383433043956757,
-0.3416018486022949,
-0.14453847706317902,
-0.13576434552669525,
-0.48382285237312317,
-0.48448890447616577,
0.1518932431936264,
0.4222543239593506,
-0.08790045976638794
] |
http://arxiv.org/abs/2405.20505v1
|
http://arxiv.org/pdf/2405.20505v1
|
SPOT: Text Source Prediction from Originality Score Thresholding
| 2024-05-30T21:51:01 | 2024-05-30T21:51:01 |
Edouard Yvinec, Gabriel Kasser
|
cs.CL
|
cs.CL, cs.LG
|
The wide acceptance of large language models (LLMs) has unlocked new
applications and social risks. Popular countermeasures aim at detecting
misinformation, usually involve domain specific models trained to recognize the
relevance of any information. Instead of evaluating the validity of the
information, we propose to investigate LLM generated text from the perspective
of trust. In this study, we define trust as the ability to know if an input
text was generated by a LLM or a human. To do so, we design SPOT, an efficient
method, that classifies the source of any, standalone, text input based on
originality score. This score is derived from the prediction of a given LLM to
detect other LLMs. We empirically demonstrate the robustness of the method to
the architecture, training data, evaluation data, task and compression of
modern LLMs.
|
[
-0.18945090472698212,
-0.8028422594070435,
1.056660771369934,
0.18788926303386688,
-0.35650861263275146,
-0.06893060356378555,
0.04472016170620918,
-0.612036943435669,
0.22309070825576782,
0.5543321371078491,
-0.33366337418556213,
-0.5892110466957092,
-1.0286517143249512,
0.021609056740999222,
-0.5087034106254578,
0.6810761094093323,
-0.18471677601337433,
0.060768891125917435,
-0.43673157691955566,
-0.10102005302906036,
-0.2974575161933899,
-0.5125210285186768,
-0.7597265839576721,
-0.3156045973300934,
0.40449005365371704,
0.3812035322189331,
0.40149685740470886,
0.7485461235046387,
0.6348713040351868,
0.26954469084739685,
-0.0550750270485878,
0.09963610768318176,
-0.4505103528499603,
0.3154151737689972,
-0.27166852355003357,
-0.595434844493866,
0.011557971127331257,
0.4044860303401947,
0.7065891027450562,
0.13197234272956848,
-0.030268587172031403,
0.1866992861032486,
0.35705676674842834,
0.2745564579963684,
-0.3972482681274414,
-0.04153009504079819,
-1.0888727903366089,
-0.11504831165075302,
-0.20394426584243774,
-0.4973961114883423,
-0.5405471920967102,
-0.6484906077384949,
0.05360885336995125,
-0.3867931365966797,
0.3266810178756714,
0.16640740633010864,
0.7698208093643188,
0.2958831489086151,
-0.27851659059524536,
-0.3502940833568573,
-0.49517661333084106,
0.773733377456665,
-0.44319966435432434,
0.17061692476272583,
0.4864664375782013,
0.155649796128273,
-0.2735166847705841,
-0.5940470695495605,
-0.7786531448364258,
-0.1305621862411499,
-0.050074175000190735,
-0.10698533058166504,
-0.131602481007576,
-0.5251591801643372,
-0.048608794808387756,
0.23102344572544098,
-0.41356161236763,
-0.0505579449236393,
0.1190139651298523,
-0.26183149218559265,
0.5897200107574463,
-0.023964792490005493,
0.5226560235023499,
-0.3655734360218048,
-0.653504490852356,
0.02170701138675213,
-0.8070844411849976,
0.1534997820854187,
0.16687050461769104,
0.08184514194726944,
-0.0337919220328331,
0.48731082677841187,
0.0153497364372015,
0.41862961649894714,
0.14367084205150604,
-0.16738048195838928,
-0.025670727714896202,
-0.24143768846988678,
-0.15893469750881195,
0.047549355775117874,
1.005968689918518,
0.14957158267498016,
0.32055026292800903,
0.08941349387168884,
-0.009538382291793823,
-0.031445007771253586,
0.19985321164131165,
-0.5059351921081543,
0.18462081253528595,
-0.0009319337550550699,
-0.2858271300792694,
-0.683925986289978,
0.3634398281574249,
-0.3281010687351227,
-0.734485387802124,
-0.13281425833702087,
0.26516851782798767,
-0.6834827065467834,
-0.0021393762435764074,
-0.24759218096733093,
-0.0410132072865963,
-0.010362889617681503,
0.5313945412635803,
-0.26540830731391907,
-0.11652898788452148,
0.5314233303070068,
0.8680738210678101,
-0.5127934813499451,
-0.46024999022483826,
-0.6060683131217957,
0.27703920006752014,
-0.21326130628585815,
1.0775032043457031,
-0.4052656292915344,
-0.48440486192703247,
0.047022268176078796,
-0.02312258817255497,
-0.012876211665570736,
-0.21409863233566284,
0.8461535573005676,
-0.711064875125885,
0.1054256409406662,
-0.1535205990076065,
-0.7132216095924377,
-0.08626878261566162,
0.32289594411849976,
-0.831354558467865,
1.0299851894378662,
-0.0057135154493153095,
-0.9819768071174622,
0.7652319073677063,
-0.2626086175441742,
-0.37659603357315063,
0.2753276824951172,
-0.1964995265007019,
-0.3331453502178192,
0.10595018416643143,
0.26868340373039246,
0.4322461783885956,
-0.10733340680599213,
0.408443808555603,
-0.4169536828994751,
-0.3116651475429535,
0.9268255233764648,
-0.5464385747909546,
0.5915513634681702,
0.13514886796474457,
-0.39174684882164,
-0.04272725060582161,
-0.6726407408714294,
0.11163316667079926,
0.06549844145774841,
-0.48253172636032104,
-0.7887495160102844,
-0.0331120491027832,
0.03837134316563606,
0.232394278049469,
0.4370926022529602,
-0.748545229434967,
-0.28842008113861084,
-0.3473255932331085,
0.05291524901986122,
0.996484637260437,
0.3284429907798767,
0.38451868295669556,
-0.23024146258831024,
0.4513462781906128,
0.1069238930940628,
0.0010346135823056102,
-0.03229350224137306,
-0.7447842359542847,
-0.5784050226211548,
-0.2794875204563141,
0.3621419072151184,
0.42418935894966125,
-0.6242051720619202,
0.6937044858932495,
-0.11459185928106308,
-0.4541368782520294,
-0.4883338212966919,
0.35057714581489563,
0.43263983726501465,
0.24173977971076965,
-0.02134084142744541,
-0.14040543138980865,
-0.5343694686889648,
-0.7510399222373962,
-0.6198160648345947,
-0.06043294072151184,
-0.19196294248104095,
0.3824377655982971,
0.3296336233615875,
-0.10266246646642685,
1.1558858156204224,
-0.5498679280281067,
-0.3547220230102539,
-0.1967003047466278,
0.0687984749674797,
-0.11183406412601471,
0.45675766468048096,
0.3553379476070404,
-0.8018383383750916,
-0.8368434309959412,
-0.1966228187084198,
-0.8914543986320496,
-0.11574827879667282,
0.23208265006542206,
-0.20037265121936798,
0.21737048029899597,
0.5400585532188416,
-0.6137803196907043,
0.4381124973297119,
0.8592218160629272,
-0.6827662587165833,
0.23126477003097534,
0.1230912059545517,
0.38206011056900024,
-1.547295331954956,
0.08328535407781601,
0.14231683313846588,
-0.3801744282245636,
-0.12234215438365936,
-0.02132483385503292,
0.05712504684925079,
-0.1355833113193512,
-0.24598748981952667,
0.8425377011299133,
-0.3469357192516327,
0.17100493609905243,
-0.4705513119697571,
0.44242289662361145,
0.08506660908460617,
0.023613961413502693,
-0.07771078497171402,
0.7623319625854492,
0.3832990527153015,
-0.48590797185897827,
-0.1796746701002121,
0.19927489757537842,
-0.6539191603660583,
0.6697066426277161,
-0.6422814726829529,
0.355465292930603,
0.05596156418323517,
0.08013135939836502,
-1.1568031311035156,
-0.2029210329055786,
0.002035070676356554,
-0.9796106815338135,
0.17560893297195435,
-0.18759150803089142,
-0.5470080971717834,
0.054574936628341675,
-0.166606143116951,
0.2611386179924011,
0.3835364282131195,
-0.5251509547233582,
0.3762449622154236,
0.7410327792167664,
-0.2162320911884308,
-0.5886659622192383,
-0.5769320726394653,
0.02767484448850155,
0.06714250892400742,
-0.7922863960266113,
0.1860266625881195,
-0.08616206794977188,
-0.3663381338119507,
0.25948524475097656,
-0.016430292278528214,
-0.2670658528804779,
0.20665769279003143,
0.6121967434883118,
0.19568316638469696,
-0.029965480789542198,
0.01153329387307167,
0.1402716487646103,
-0.19485461711883545,
0.0033954887185245752,
-0.151724711060524,
0.41096529364585876,
0.3675541579723358,
-0.30405518412590027,
-0.3476882576942444,
0.47375327348709106,
0.5130606293678284,
0.004626468755304813,
0.9766110181808472,
0.330857515335083,
-0.4528457224369049,
-0.7687250971794128,
-0.53911292552948,
-0.09298849105834961,
-0.5244343280792236,
0.040403854101896286,
-0.0852762907743454,
-1.1644343137741089,
0.28592780232429504,
0.28256064653396606,
-0.29353925585746765,
0.4676479995250702,
0.4419012665748596,
-0.08043903857469559,
0.8180590867996216,
1.0505839586257935,
-0.3028045892715454,
0.48994186520576477,
0.37891724705696106,
0.15802688896656036,
-0.38512086868286133,
-0.06710006296634674,
-0.5323805809020996,
-0.12013380974531174,
-0.42689692974090576,
-0.6193643808364868,
0.23834504187107086,
0.021308181807398796,
0.19541367888450623,
0.3405037820339203,
-0.3758920729160309,
0.6048307418823242,
0.8384362459182739,
0.16040566563606262,
0.5086696743965149,
0.19911335408687592,
-0.24380654096603394,
-0.20573124289512634,
-0.2776906490325928,
-0.6785110235214233,
1.1871607303619385,
0.44778215885162354,
0.5951592326164246,
-0.0928933247923851,
0.714775025844574,
0.6700860261917114,
0.5818475484848022,
-0.6359558701515198,
0.4646550416946411,
-0.07740979641675949,
-0.7267742156982422,
-0.3136070966720581,
-0.5784435868263245,
-0.8539350628852844,
-0.07141468673944473,
-0.2909601926803589,
-0.6482269167900085,
-0.03736771270632744,
0.11909209936857224,
-0.09319756925106049,
0.25335177779197693,
-0.4803239107131958,
0.5457854270935059,
0.03921012207865715,
-0.15173135697841644,
-0.2531958520412445,
-0.11367015540599823,
0.5442987084388733,
-0.3387090265750885,
0.2255672961473465,
-0.21241183578968048,
0.06622627377510071,
0.9048863649368286,
-0.06436308473348618,
0.9422506093978882,
-0.11307638138532639,
-0.0928579568862915,
0.582504153251648,
0.3819462060928345,
0.6663551330566406,
0.29646435379981995,
-0.07702187448740005,
0.38560786843299866,
-0.34307560324668884,
-0.13261038064956665,
-0.3786320388317108,
1.0498443841934204,
-0.6990361213684082,
-0.3752638101577759,
-0.4598361551761627,
-0.41976839303970337,
-0.3679366707801819,
0.42237019538879395,
0.6277663707733154,
0.04152192175388336,
-0.5573440194129944,
0.25545862317085266,
0.7801810503005981,
-0.24789570271968842,
0.32798102498054504,
0.8121839165687561,
0.06243215128779411,
-0.5126752853393555,
0.5280806422233582,
-0.18145327270030975,
-0.06034420058131218,
0.4526001811027527,
0.17671744525432587,
-0.34036561846733093,
-0.6536037921905518,
-0.2859419882297516,
0.2005254030227661,
-0.6659535765647888,
-0.40423715114593506,
-0.46507728099823,
-0.46225103735923767,
-0.40399420261383057,
-0.4320995509624481,
-0.3262462913990021,
-0.010424947366118431,
-0.20924942195415497,
-0.4116641581058502,
0.397013783454895,
0.7941040992736816,
0.186431884765625,
0.41429901123046875,
-0.9660019874572754,
0.1283978819847107,
0.30581486225128174,
0.6161219477653503,
-0.2633014917373657,
-0.7405545711517334,
-0.25843971967697144,
-0.14642547070980072,
-0.14116305112838745,
-0.664925754070282,
0.42896440625190735,
-0.18022698163986206,
0.74178147315979,
0.45279738306999207,
-0.00988459587097168,
-0.060119740664958954,
-0.48213037848472595,
0.7283150553703308,
0.32179147005081177,
-1.0795894861221313,
0.6082001328468323,
-0.3530178666114807,
-0.10843898355960846,
0.5799967050552368,
0.3692213296890259,
-0.3127616047859192,
-0.6736944317817688,
-0.7251405715942383,
-0.4784087836742401,
0.5274656414985657,
0.2720259130001068,
-0.035382822155952454,
0.056495487689971924,
0.3920276165008545,
0.21994799375534058,
0.20958198606967926,
-0.9516177773475647,
-0.15894319117069244,
0.10047302395105362,
-0.4894401729106903,
-0.2959263324737549,
-0.6560288667678833,
-0.14774881303310394,
0.25076529383659363,
0.3993139863014221,
-0.040850501507520676,
0.1650548130273819,
0.3541930317878723,
-0.19494086503982544,
-0.47093766927719116,
0.15985184907913208,
0.39900100231170654,
0.6016902327537537,
-0.14491182565689087,
0.29558151960372925,
-0.24319271743297577,
-0.6679582595825195,
0.3134712278842926,
-0.1298593282699585,
-0.5394863486289978,
0.29442712664604187,
0.36172235012054443,
0.5129590630531311,
0.1637599617242813,
-0.4188500940799713,
0.7786938548088074,
-0.017154518514871597,
-0.19632931053638458,
-0.5626486539840698,
0.03991401195526123,
0.06669717282056808,
0.17113594710826874,
0.3904629945755005,
0.2797830402851105,
-0.06864834576845169,
-0.372995525598526,
0.7434111833572388,
0.41600301861763,
-0.7675076127052307,
-0.31185582280158997,
0.5446296334266663,
0.16623514890670776,
-0.34198710322380066,
0.12848861515522003,
-0.09067769348621368,
-0.3826870620250702,
0.42574459314346313,
0.5242733359336853,
1.084633708000183,
-0.49780604243278503,
0.39859920740127563,
0.42843231558799744,
0.46596863865852356,
0.02635098621249199,
0.04539509862661362,
0.48174765706062317,
-1.337536096572876,
-0.4077816903591156,
-0.8522470593452454,
-0.42275649309158325,
0.16496087610721588,
-0.4044361114501953,
0.2038532942533493,
-0.6500391960144043,
-0.16516199707984924,
-0.254825234413147,
-0.15628419816493988,
-0.48413243889808655,
0.3444303274154663,
0.3162403702735901,
0.853098452091217,
-0.963843584060669,
1.1538506746292114,
0.5817764401435852,
-0.15582266449928284,
-0.9108308553695679,
0.21180137991905212,
0.07371802628040314,
-1.1729421615600586,
0.5227130651473999,
0.09549421072006226,
-0.15678474307060242,
-0.20117923617362976,
-0.8827829957008362,
-1.191036343574524,
1.040716528892517,
0.22644908726215363,
-0.30912837386131287,
0.30611109733581543,
0.02912513166666031,
0.32613807916641235,
-0.5131804347038269,
-0.29288017749786377,
0.3214641809463501,
0.3452848792076111,
-0.10554331541061401,
-0.6632999181747437,
0.40290045738220215,
-0.27735021710395813,
-0.14883296191692352,
0.017575455829501152,
-0.30968934297561646,
0.9114388823509216,
0.11208361387252808,
-0.1898973137140274,
-0.035341426730155945,
0.37223824858665466,
0.744102418422699,
0.5196360945701599,
0.515086829662323,
0.4795893132686615,
0.7258468866348267,
0.02547907456755638,
1.1683138608932495,
-0.18004781007766724,
0.23640066385269165,
1.0511375665664673,
-0.2573491632938385,
1.0213241577148438,
0.46496033668518066,
-0.04576461389660835,
0.6223686933517456,
0.3544526696205139,
0.03884200379252434,
0.5062724351882935,
-0.14855721592903137,
-0.11261123418807983,
-0.10272085666656494,
-0.05562347546219826,
-0.11744069308042526,
0.48407113552093506,
0.280591756105423,
-0.823575496673584,
0.1259915679693222,
-0.26690033078193665,
0.09150122851133347,
0.25824204087257385,
-0.38232123851776123,
0.6688025593757629,
0.34789225459098816,
-0.6937230229377747,
0.09037475287914276,
0.11539841443300247,
0.7806755900382996,
-0.7668662667274475,
0.073979452252388,
-0.2850039303302765,
0.3069392144680023,
-0.03269478678703308,
-0.9115387201309204,
0.10504713654518127,
-0.00815315917134285,
-0.5779449939727783,
-0.1287003755569458,
1.011385202407837,
-0.34254875779151917,
-0.5910273194313049,
0.3888430893421173,
0.5463460683822632,
-0.1350882202386856,
-0.4972240626811981,
-0.47332870960235596,
-0.08510611951351166,
0.1985766440629959,
-0.2763647735118866,
0.5594830513000488,
0.7391595840454102,
0.050524499267339706,
0.6384007930755615,
0.8361779451370239,
0.26338690519332886,
-0.012028772383928299,
-0.23361264169216156,
0.509148120880127,
-0.8503117561340332,
-0.6993908286094666,
-0.7988064289093018,
0.2975740432739258,
-0.39081576466560364,
-0.46470779180526733,
1.2075998783111572,
0.26997849345207214,
0.5903654098510742,
-0.14114034175872803,
1.1567347049713135,
0.18827232718467712,
0.8775724768638611,
-0.6356992721557617,
1.0743765830993652,
-0.427664190530777,
0.20288918912410736,
-0.6611722111701965,
-0.7860543131828308,
-0.19711200892925262,
0.4531184732913971,
-0.28424522280693054,
-0.2442363202571869,
0.9593539834022522,
0.6427844166755676,
0.07449409365653992,
-0.14579011499881744,
0.37240612506866455,
-0.0965878888964653,
0.07729685306549072,
0.3301789462566376,
0.9459864497184753,
-0.20531430840492249,
0.66462242603302,
-0.06558205187320709,
-0.2908952236175537,
-0.26219820976257324,
-0.7853953838348389,
-0.7578404545783997,
-0.47058892250061035,
-0.18109269440174103,
-0.5026536583900452,
-0.49683648347854614,
0.3418009877204895,
0.6060450077056885,
-1.0107104778289795,
0.03127843141555786,
-0.24162159860134125,
0.4673125445842743,
0.03125540167093277,
-0.32250410318374634,
0.4310830533504486,
-0.17969317734241486,
-0.6356084942817688,
0.4668966233730316,
0.20045728981494904,
0.2406134307384491,
-0.2680956721305847,
-0.019374864175915718,
0.06090172007679939,
0.37711700797080994,
0.4521995782852173,
-0.07670588791370392,
-0.5604461431503296,
-0.5536220669746399,
0.11486134678125381,
-0.4375747740268707,
-0.11932285130023956,
1.2066954374313354,
-0.4054252803325653,
0.06878681480884552,
0.4437335133552551,
0.5787873268127441,
0.2173483520746231,
0.16259878873825073,
0.8379459977149963,
-0.8530318140983582,
0.1395234763622284,
0.14516520500183105,
0.6030235886573792,
0.4581080973148346,
-0.7306962013244629,
0.2502037286758423,
0.4623396098613739,
-0.47912439703941345,
-0.6762093305587769,
0.1986716240644455,
-1.0447843074798584,
-0.4255010187625885,
1.304763674736023,
-0.3874545991420746,
-0.3529461920261383,
-0.31586501002311707,
-0.18938778340816498,
0.04487529397010803,
-0.5059500336647034,
0.8957579135894775,
0.6641936898231506,
0.38242125511169434,
-0.13792593777179718,
-0.20925377309322357,
0.7460572719573975,
0.1954319328069687,
-0.5765150189399719,
-0.15930317342281342,
0.4580724239349365,
0.6950941681861877,
0.2555607259273529,
0.8389666676521301,
-0.19180110096931458,
0.1031610444188118,
0.2694428265094757,
0.17382478713989258,
-0.022226247936487198,
-0.3386227488517761,
-0.01282728835940361,
0.5402404069900513,
0.295499324798584,
-0.21754096448421478
] |
http://arxiv.org/abs/2406.17793v1
|
http://arxiv.org/pdf/2406.17793v1
|
Deep Learning Approaches for Detecting Adversarial Cyberbullying and Hate Speech in Social Networks
| 2024-05-30T21:44:15 | 2024-05-30T21:44:15 |
Sylvia Worlali Azumah, Nelly Elsayed, Zag ElSayed, Murat Ozer, Amanda La Guardia
|
cs.LG
|
cs.LG, cs.CL, cs.CY
|
Cyberbullying is a significant concern intricately linked to technology that
can find resolution through technological means. Despite its prevalence,
technology also provides solutions to mitigate cyberbullying. To address
growing concerns regarding the adverse impact of cyberbullying on individuals'
online experiences, various online platforms and researchers are actively
adopting measures to enhance the safety of digital environments. While
researchers persist in crafting detection models to counteract or minimize
cyberbullying, malicious actors are deploying adversarial techniques to
circumvent these detection methods. This paper focuses on detecting
cyberbullying in adversarial attack content within social networking site text
data, specifically emphasizing hate speech. Utilizing a deep learning-based
approach with a correction algorithm, this paper yielded significant results.
An LSTM model with a fixed epoch of 100 demonstrated remarkable performance,
achieving high accuracy, precision, recall, F1-score, and AUC-ROC scores of
87.57%, 88.73%, 87.57%, 88.15%, and 91% respectively. Additionally, the LSTM
model's performance surpassed that of previous studies.
|
[
-0.2451387196779251,
-1.617409348487854,
0.04209662601351738,
0.06240895390510559,
-0.13384392857551575,
0.37976759672164917,
-0.35233402252197266,
-0.4683089256286621,
0.19310402870178223,
0.47451698780059814,
-0.3909643888473511,
-0.42924267053604126,
-0.9556562304496765,
-0.26664599776268005,
-0.6464725136756897,
1.0751008987426758,
0.2257918119430542,
0.12583370506763458,
0.10104676336050034,
0.12250714749097824,
-0.49371448159217834,
-0.6247031092643738,
-1.0920721292495728,
-0.38192400336265564,
0.668649435043335,
0.03810420259833336,
0.7014120817184448,
0.4288962781429291,
0.43271735310554504,
0.378415584564209,
-0.6154003739356995,
0.2939091920852661,
-0.8601905107498169,
0.25821298360824585,
-0.2286604344844818,
-0.19752399623394012,
-0.37774062156677246,
-0.17294879257678986,
0.4586622714996338,
0.20283716917037964,
0.0450948029756546,
-0.29728734493255615,
0.2928523123264313,
0.5726420879364014,
-0.37311989068984985,
-0.23428885638713837,
-0.811197817325592,
0.2949123680591583,
-0.1910795420408249,
-0.14578744769096375,
-0.4095231592655182,
-0.4706825613975525,
-0.0019888284150511026,
-0.3355846405029297,
0.36456459760665894,
-0.37482330203056335,
0.5239031910896301,
0.2689841687679291,
-0.2283099889755249,
-0.32604774832725525,
-0.8414816856384277,
0.46311694383621216,
-0.8461111187934875,
0.0945354551076889,
0.5040466785430908,
0.21617497503757477,
-0.35966756939888,
-0.5313934087753296,
-0.42860427498817444,
-0.17128227651119232,
0.2657029628753662,
-0.26115933060646057,
-0.4149216115474701,
0.17795830965042114,
0.12350768595933914,
0.0940537080168724,
-0.6808335185050964,
0.5674779415130615,
-0.4363090395927429,
-0.15867571532726288,
0.7721145153045654,
0.11834613978862762,
0.12493205815553665,
0.054602351039648056,
-0.4453078508377075,
-0.15178437530994415,
-0.46831247210502625,
-0.29570916295051575,
0.5910580158233643,
0.8054531812667847,
-0.06262325495481491,
0.1898878514766693,
0.0357726514339447,
0.38987797498703003,
0.2607761323451996,
0.04681388661265373,
0.09819164127111435,
-0.18198120594024658,
-0.2624306082725525,
0.31683191657066345,
0.9188550114631653,
0.5460882782936096,
0.6028602123260498,
0.03527292236685753,
0.049077071249485016,
0.47651681303977966,
0.5177954435348511,
-0.9003069996833801,
-0.37883198261260986,
0.04521157965064049,
-0.433024138212204,
-0.7625504732131958,
-0.42819660902023315,
-0.8929396271705627,
-1.2860727310180664,
-0.174067422747612,
0.2825319468975067,
-0.40728187561035156,
-0.48158469796180725,
-0.14111949503421783,
-0.04120037332177162,
-0.36447685956954956,
0.24295756220817566,
-0.34157922863960266,
0.2972394824028015,
0.6607759594917297,
0.8283141851425171,
-0.14466126263141632,
-0.006860013119876385,
-0.646363377571106,
-0.4248620569705963,
-0.25734150409698486,
0.5655953884124756,
-0.4408475160598755,
-0.12579789757728577,
0.26800793409347534,
-0.1823890060186386,
0.13708564639091492,
-0.45975425839424133,
0.5722407698631287,
-0.6479985117912292,
-0.03189687058329582,
0.2824265658855438,
-0.7713871002197266,
-0.3009689450263977,
0.4769040644168854,
-0.46603426337242126,
0.7284576892852783,
-0.19473983347415924,
-0.5784338712692261,
0.06649696826934814,
-0.2989392578601837,
-0.7519071102142334,
0.11044412106275558,
0.19157801568508148,
-0.8261893391609192,
-0.0353117473423481,
0.17856572568416595,
0.6779951453208923,
0.07177961617708206,
0.49560460448265076,
-0.7931063175201416,
-0.28367048501968384,
0.362862765789032,
-0.6786928772926331,
0.8611137866973877,
0.21395637094974518,
-0.6672182679176331,
0.23576468229293823,
-0.5815814733505249,
-0.07022152841091156,
0.387970894575119,
0.11550725251436234,
-0.4219623804092407,
-0.05521591752767563,
0.05609561502933502,
0.2362610399723053,
-0.09402044117450714,
-0.6269891858100891,
-0.2900078594684601,
-0.31880414485931396,
0.390380859375,
0.9340316653251648,
-0.04841214790940285,
-0.00027822976699098945,
-0.18977993726730347,
0.3874390423297882,
0.12858708202838898,
0.14477914571762085,
0.23141494393348694,
-0.372446745634079,
-0.5103649497032166,
0.1982731968164444,
0.19811981916427612,
0.5662378668785095,
-0.6760099530220032,
0.21008534729480743,
-0.0011969102779403329,
-0.6366732120513916,
-0.4807479679584503,
0.17340216040611267,
0.541477382183075,
0.4198850989341736,
0.5277059078216553,
-0.14295144379138947,
-0.778497576713562,
-0.5776036977767944,
-0.4930245876312256,
-0.012144122272729874,
0.35865527391433716,
0.3103439509868622,
0.350421279668808,
-0.19758611917495728,
0.5516868233680725,
-0.2743155062198639,
-0.5235847234725952,
-0.08413822948932648,
0.265054315328598,
-0.17538206279277802,
0.42469877004623413,
0.4718303084373474,
-1.1151947975158691,
-0.675990879535675,
-0.3144942820072174,
-0.6208218336105347,
0.055774763226509094,
0.10397521406412125,
0.3858298361301422,
0.14580515027046204,
0.6510995626449585,
-0.24706345796585083,
0.679175078868866,
0.42863479256629944,
-0.4016498029232025,
0.3753863275051117,
0.17322459816932678,
0.22450628876686096,
-0.985457181930542,
-0.3153364956378937,
0.4655330777168274,
-0.5171751379966736,
-1.1512820720672607,
0.023776350542902946,
-0.3010217845439911,
-0.14202940464019775,
-0.6161288619041443,
0.27418842911720276,
0.005700444802641869,
0.4401307702064514,
-0.6717508435249329,
0.49220743775367737,
-0.34248870611190796,
0.3730216920375824,
-0.1311117559671402,
0.32078972458839417,
0.30899426341056824,
-0.7059049606323242,
0.7119730710983276,
-0.015145428478717804,
-0.010217946954071522,
0.8336780071258545,
-0.609842836856842,
0.2402004450559616,
-0.15658344328403473,
0.33046990633010864,
-0.9506691694259644,
0.02657749317586422,
0.5550298094749451,
-0.9631303548812866,
0.37048086524009705,
-0.24993759393692017,
-0.47552821040153503,
-0.3942422568798065,
-0.469501256942749,
0.2894923985004425,
0.07943445444107056,
-0.47912856936454773,
0.34151506423950195,
0.7622222304344177,
-0.16150794923305511,
-0.5817223787307739,
-0.7446268200874329,
0.37058377265930176,
-0.24762853980064392,
-0.5067359209060669,
0.4624699652194977,
-0.2784373164176941,
-0.19449320435523987,
0.04538216441869736,
0.27953246235847473,
-0.08056066930294037,
0.49959516525268555,
0.3381020724773407,
0.022331776097416878,
-0.0954987108707428,
-0.001372220111079514,
-0.32817691564559937,
0.18537941575050354,
0.16131165623664856,
0.14434023201465607,
0.8142379522323608,
-0.10041411966085434,
0.16400077939033508,
-0.63492351770401,
0.13865317404270172,
0.1758791208267212,
0.22772739827632904,
0.7342534065246582,
0.9129649996757507,
-0.8337042331695557,
-0.30492329597473145,
-0.5885046720504761,
-0.2685970366001129,
-0.46441084146499634,
0.6108089685440063,
0.07826497405767441,
-1.0670901536941528,
0.4572893977165222,
0.06141949072480202,
-0.1840488165616989,
0.291003942489624,
0.49607813358306885,
0.049650344997644424,
1.1371532678604126,
0.36180970072746277,
-0.4416795074939728,
0.6067033410072327,
-0.06313134729862213,
0.3250863254070282,
-0.45341983437538147,
-0.13586179912090302,
-0.43408724665641785,
-0.3994828760623932,
-0.8060370087623596,
-0.2881537973880768,
0.06864470988512039,
-0.05513695254921913,
-0.36418384313583374,
0.510884165763855,
-0.5919567346572876,
0.37695351243019104,
0.4163532257080078,
0.4191282093524933,
-0.04107636213302612,
0.32800090312957764,
0.11755573749542236,
-0.1566825658082962,
-0.5871637463569641,
-0.04507257789373398,
0.974161684513092,
0.6075022220611572,
0.5221539735794067,
0.17844466865062714,
0.4720989167690277,
0.7059210538864136,
0.35836073756217957,
-0.610939085483551,
0.5646363496780396,
-0.5450560450553894,
-0.696112871170044,
-0.3186277449131012,
-0.6332542896270752,
-0.9308913350105286,
0.10537710785865784,
-0.46724146604537964,
-0.7564228773117065,
-0.050101667642593384,
0.2807725667953491,
-0.440114825963974,
0.8148344159126282,
-0.22615642845630646,
0.6450238823890686,
-0.2121402472257614,
-0.659598708152771,
-0.6174847483634949,
-0.4818331003189087,
0.3395412266254425,
0.06686042994260788,
0.33972597122192383,
0.09369399398565292,
0.5318677425384521,
0.7265666723251343,
-0.11591952294111252,
1.3797338008880615,
-0.31594642996788025,
-0.1397976279258728,
0.2587491571903229,
0.07978790253400803,
0.68553227186203,
-0.3502541780471802,
0.016412941738963127,
0.042075492441654205,
-0.6654189229011536,
-0.1296030580997467,
-0.44839704036712646,
0.9099493026733398,
-0.5939058661460876,
-0.3150031566619873,
-0.39850449562072754,
-0.3679732084274292,
-0.019490746781229973,
0.2314489185810089,
0.12572017312049866,
0.3539133667945862,
-0.4959354102611542,
0.4766896963119507,
0.9825294613838196,
-0.2691268026828766,
0.39133137464523315,
0.314254492521286,
-0.17597492039203644,
-0.6339718699455261,
1.213428258895874,
0.1592932641506195,
-0.05535704270005226,
0.18345962464809418,
0.33729174733161926,
-0.2634662687778473,
-0.6520822644233704,
-0.25902417302131653,
0.07942414283752441,
-0.418561726808548,
-0.5124221444129944,
-0.6180579662322998,
-0.48162704706192017,
-0.7005280256271362,
-0.052836865186691284,
-0.28450292348861694,
-0.1708935648202896,
-0.43357276916503906,
-0.23926176130771637,
0.43398013710975647,
0.7603573203086853,
-0.17716045677661896,
0.40711113810539246,
-0.5220420360565186,
0.5115782022476196,
0.2796511948108673,
0.3982049226760864,
0.23995773494243622,
-0.7935780882835388,
-0.20611810684204102,
0.37522459030151367,
-0.5905687808990479,
-0.9053813815116882,
0.5092436671257019,
-0.012848736718297005,
0.09542036801576614,
0.18559886515140533,
0.16047745943069458,
0.8342451453208923,
-0.22570914030075073,
0.714969277381897,
0.31868472695350647,
-0.5462620258331299,
0.6434170603752136,
-0.30812856554985046,
-0.20366133749485016,
0.24509578943252563,
0.5280275344848633,
-0.7748708724975586,
-0.2505134344100952,
-0.9102940559387207,
-0.8193077445030212,
0.4582054018974304,
0.09736721217632294,
0.1443038135766983,
-0.0012359906686469913,
0.13331106305122375,
-0.2512470781803131,
0.26877135038375854,
-0.9411382079124451,
-0.5826659202575684,
-0.20107221603393555,
-0.19601890444755554,
-0.19948554039001465,
-0.31856366991996765,
-0.17418618500232697,
0.06855066865682602,
1.029763102531433,
0.19740846753120422,
-0.10306864231824875,
-0.11098022013902664,
-0.3233295977115631,
-0.18795132637023926,
0.13438324630260468,
0.7736772894859314,
0.26897862553596497,
-0.15366806089878082,
0.09673259407281876,
0.15065674483776093,
-0.3761957883834839,
0.12079395353794098,
0.4758434593677521,
-0.30112841725349426,
0.11724066734313965,
0.09680242836475372,
0.8535506129264832,
-0.041283223778009415,
-0.5702926516532898,
0.7837755680084229,
-0.1704091578722,
-0.24883900582790375,
-0.5418012142181396,
0.02929205819964409,
-0.0774419978260994,
0.4813989996910095,
0.22606714069843292,
-0.07386255264282227,
0.2060990184545517,
-0.32708168029785156,
0.24966326355934143,
0.5122205018997192,
-0.7266077399253845,
-0.1521494835615158,
0.648540198802948,
0.27749958634376526,
-0.7770888805389404,
0.3749341368675232,
-0.07869886606931686,
-0.8036816716194153,
0.6349514722824097,
0.5843982696533203,
0.9453550577163696,
-0.6511985659599304,
0.4715483784675598,
0.2965770363807678,
0.3130866587162018,
0.24592886865139008,
-0.07440441101789474,
0.25650322437286377,
-0.7737105488777161,
-0.17346471548080444,
-0.24204455316066742,
-0.25077497959136963,
0.7891688942909241,
-0.308037668466568,
0.00572465592995286,
-0.9567778706550598,
-0.3925555944442749,
0.28593820333480835,
0.21435901522636414,
-0.560752809047699,
0.5241214632987976,
0.6834424734115601,
0.44988566637039185,
-0.8177289962768555,
0.34020015597343445,
0.4200737476348877,
-0.041024595499038696,
-0.3744395971298218,
-0.30106300115585327,
0.5434624552726746,
-0.5748534798622131,
0.48198047280311584,
0.23987354338169098,
-0.28336238861083984,
-0.22625096142292023,
-0.6755500435829163,
-0.43892702460289,
0.45721808075904846,
0.18357513844966888,
-0.720423698425293,
0.24489273130893707,
0.45939353108406067,
0.8445236682891846,
-0.17171354591846466,
0.0566469170153141,
0.2759949266910553,
0.217253178358078,
-0.3882836103439331,
-0.6941612362861633,
0.11355267465114594,
-0.20650729537010193,
0.0025522822979837656,
0.27878478169441223,
-0.6265455484390259,
0.6481807827949524,
0.15554092824459076,
-0.0740910992026329,
-0.19109390676021576,
0.6875885725021362,
0.1441493034362793,
0.4815950393676758,
0.4747256934642792,
0.6644401550292969,
0.6837127804756165,
0.17650987207889557,
0.6644029021263123,
0.010858108289539814,
0.2847607433795929,
1.1398621797561646,
0.042717307806015015,
0.5667943358421326,
0.03122224099934101,
-0.04912548139691353,
0.3123002052307129,
0.5714443325996399,
-0.10667087137699127,
0.15671654045581818,
0.5201315879821777,
-0.32088690996170044,
-0.20443880558013916,
-0.44717901945114136,
-0.3324723243713379,
0.23185408115386963,
0.7232679724693298,
-0.5269628167152405,
-0.08564312011003494,
0.23560552299022675,
0.6121134757995605,
0.6224958300590515,
-0.6810480356216431,
0.8328308463096619,
0.09748182445764542,
-0.4011703133583069,
0.598213255405426,
0.18265701830387115,
1.0274486541748047,
-0.13991980254650116,
0.014007342979311943,
-0.1369122862815857,
0.58241206407547,
-0.206003338098526,
-0.7279266119003296,
0.242112398147583,
0.2475496083498001,
-0.0420311875641346,
-0.09001408517360687,
1.1472547054290771,
-0.6043357253074646,
-0.3455201983451843,
0.6032446622848511,
-0.07747985422611237,
-0.025140713900327682,
-0.2887416183948517,
-1.0568228960037231,
0.04843745008111,
-0.0008190050139091909,
-0.024265551939606667,
0.4336773157119751,
0.09667185693979263,
0.17148354649543762,
0.6953731179237366,
0.6364574432373047,
0.1980098932981491,
0.053546108305454254,
0.32677629590034485,
0.8060375452041626,
-0.4545074701309204,
-0.4557480216026306,
-1.1684526205062866,
0.23787939548492432,
-0.5491544008255005,
-0.3670583963394165,
0.6672619581222534,
0.40948447585105896,
1.047703742980957,
0.2862701117992401,
0.7176403403282166,
0.20737731456756592,
0.8054664134979248,
-0.2112182378768921,
0.5041693449020386,
-0.3001064360141754,
-0.011631430126726627,
-0.6248663663864136,
-0.43397843837738037,
-0.5654215812683105,
0.5245905518531799,
-0.2868335545063019,
0.03734052553772926,
0.21574686467647552,
0.8064022064208984,
0.07071097195148468,
0.1149548664689064,
0.3116651177406311,
0.6067386865615845,
0.5047296285629272,
0.4344445466995239,
0.6926705837249756,
-0.769727885723114,
0.7929888367652893,
-0.3897128701210022,
-0.0525393970310688,
-0.546751856803894,
-0.7026387453079224,
-1.1057319641113281,
-0.24623814225196838,
-0.5982507467269897,
-0.8580024838447571,
0.4742104113101959,
0.7644016742706299,
0.4260846972465515,
-0.8785682916641235,
-0.07284750044345856,
0.12177304923534393,
0.1899651139974594,
-0.2839248776435852,
-0.28404393792152405,
0.2062206119298935,
-0.021045494824647903,
-0.547575831413269,
0.6099762916564941,
0.02544684149324894,
0.033610567450523376,
-0.16056524217128754,
0.018814757466316223,
-0.4430370032787323,
0.09723075479269028,
0.6670852899551392,
0.3064098358154297,
-0.4420458972454071,
-0.22461746633052826,
-0.313534140586853,
-0.06762254238128662,
-0.07232421636581421,
0.6027479767799377,
-0.7556261420249939,
0.40192729234695435,
0.3733384609222412,
1.0481613874435425,
0.5140838027000427,
0.05985863506793976,
0.19651125371456146,
-0.9422655701637268,
-0.09686170518398285,
0.4671494960784912,
0.031070580706000328,
0.7058786749839783,
-0.5301970839500427,
0.24697712063789368,
0.48939093947410583,
-0.47124454379081726,
-0.9738620519638062,
0.11703243851661682,
-0.4941631555557251,
-0.6204704642295837,
0.9999882578849792,
-0.048543717712163925,
-0.10268641263246536,
-0.10092822462320328,
-0.06275678426027298,
0.6023077368736267,
-0.3536665141582489,
1.011238694190979,
0.4979613125324249,
0.44934239983558655,
-0.16827374696731567,
-0.2657547891139984,
0.509922444820404,
0.3007265031337738,
-0.48685312271118164,
0.12625382840633392,
0.31492894887924194,
0.14917898178100586,
0.19862885773181915,
0.2947659194469452,
0.20792849361896515,
0.38153353333473206,
-0.241929292678833,
-0.14957481622695923,
-0.0827907845377922,
-0.36039504408836365,
-0.5126962065696716,
0.4276048541069031,
-0.5354573130607605,
-0.12143570929765701
] |
http://arxiv.org/abs/2405.20495v1
|
http://arxiv.org/pdf/2405.20495v1
|
Transfer Q Star: Principled Decoding for LLM Alignment
| 2024-05-30T21:36:12 | 2024-05-30T21:36:12 |
Souradip Chakraborty, Soumya Suvra Ghosal, Ming Yin, Dinesh Manocha, Mengdi Wang, Amrit Singh Bedi, Furong Huang
|
cs.CL
|
cs.CL, cs.LG
|
Aligning foundation models is essential for their safe and trustworthy
deployment. However, traditional fine-tuning methods are computationally
intensive and require updating billions of model parameters. A promising
alternative, alignment via decoding, adjusts the response distribution directly
without model updates to maximize a target reward $r$, thus providing a
lightweight and adaptable framework for alignment. However, principled decoding
methods rely on oracle access to an optimal Q-function ($Q^*$), which is often
unavailable in practice. Hence, prior SoTA methods either approximate this
$Q^*$ using $Q^{\pi_{\texttt{sft}}}$ (derived from the reference $\texttt{SFT}$
model) or rely on short-term rewards, resulting in sub-optimal decoding
performance. In this work, we propose Transfer $Q^*$, which implicitly
estimates the optimal value function for a target reward $r$ through a baseline
model $\rho_{\texttt{BL}}$ aligned with a baseline reward $\rho_{\texttt{BL}}$
(which can be different from the target reward $r$). Theoretical analyses of
Transfer $Q^*$ provide a rigorous characterization of its optimality, deriving
an upper bound on the sub-optimality gap and identifying a hyperparameter to
control the deviation from the pre-trained reference $\texttt{SFT}$ model based
on user needs. Our approach significantly reduces the sub-optimality gap
observed in prior SoTA methods and demonstrates superior empirical performance
across key metrics such as coherence, diversity, and quality in extensive tests
on several synthetic and real datasets.
|
[
-0.18994826078414917,
-0.3640218675136566,
0.36030521988868713,
0.06780604273080826,
-0.38958585262298584,
-0.10461970418691635,
0.010718355886638165,
-0.41407865285873413,
0.19075089693069458,
0.5194590091705322,
-0.8476623892784119,
-0.3472958207130432,
-0.49916747212409973,
0.035011470317840576,
-0.4231773018836975,
0.9904626607894897,
0.014452304691076279,
-0.039725638926029205,
-0.10884986817836761,
-0.06358939409255981,
-0.3981289267539978,
-0.38409480452537537,
-0.27009421586990356,
-0.13540634512901306,
0.1029164046049118,
0.5710446238517761,
0.7959759831428528,
0.9001926779747009,
0.8211039900779724,
0.1582835614681244,
0.04184892401099205,
0.14524413645267487,
-0.8651437759399414,
-0.1877814531326294,
-0.38269785046577454,
-0.6345863342285156,
-0.5830602049827576,
-0.2638281285762787,
0.6681075096130371,
0.4206421375274658,
-0.2012719064950943,
0.35607343912124634,
0.16080299019813538,
1.0174607038497925,
-0.96906977891922,
0.028938274830579758,
-0.3894917666912079,
-0.013585791923105717,
-0.12344388663768768,
-0.4561178386211395,
-0.4994249939918518,
-0.7666639685630798,
-0.07602854073047638,
-1.0262031555175781,
-0.09402495622634888,
0.12477096170186996,
1.255721092224121,
0.5483019948005676,
-0.35118940472602844,
-0.18619590997695923,
-0.7204948663711548,
0.7218913435935974,
-0.3807070851325989,
0.6359174847602844,
0.38039180636405945,
0.5886045098304749,
-0.04778090864419937,
-0.6878867149353027,
-0.4383794963359833,
-0.03392447903752327,
-0.1337614804506302,
0.11616919189691544,
-0.12152206897735596,
0.006039015017449856,
0.11671086400747299,
0.477099746465683,
-0.3990814685821533,
0.0041423882357776165,
-0.23292861878871918,
-0.35481828451156616,
0.5931551456451416,
0.3184208571910858,
0.08315318077802658,
0.024663612246513367,
-0.6934413909912109,
-0.4034707844257355,
-0.9289804697036743,
0.3859849274158478,
0.13946999609470367,
0.22233830392360687,
-0.13610509037971497,
0.580106258392334,
-0.3045903444290161,
0.6243416666984558,
0.45584994554519653,
-0.15876196324825287,
-0.08169820159673691,
-0.7758461236953735,
-0.32447895407676697,
0.009318338707089424,
0.5092645883560181,
0.5086616277694702,
0.036698926240205765,
-0.10193117707967758,
-0.25545936822891235,
0.12651270627975464,
0.16738837957382202,
-0.7800289988517761,
-0.1621713638305664,
-0.0751812756061554,
-0.3966454565525055,
-0.19757384061813354,
0.10908685624599457,
-0.7228382229804993,
-0.2946270704269409,
-0.27511829137802124,
0.5188985466957092,
-0.33414551615715027,
-0.04553188383579254,
0.4128316044807434,
0.28077271580696106,
0.46191155910491943,
0.0641891285777092,
-1.2065503597259521,
0.2941267788410187,
0.49040329456329346,
0.504349410533905,
0.017967497929930687,
-0.07693091779947281,
-0.8173927664756775,
0.14693953096866608,
-0.37753769755363464,
0.782006561756134,
-0.2579890489578247,
-0.2699097692966461,
0.027693921700119972,
-0.07974507659673691,
-0.28582459688186646,
-0.3067130744457245,
0.8432995080947876,
-0.8283939361572266,
-0.21691091358661652,
-0.778048574924469,
-0.4425370395183563,
-0.05660565197467804,
-0.056693337857723236,
-0.5040339231491089,
0.7077833414077759,
0.44276174902915955,
-0.557485044002533,
0.4160383939743042,
-0.5944628119468689,
-0.23600083589553833,
-0.03681344911456108,
0.016260042786598206,
-0.31357884407043457,
-0.01926554925739765,
0.4116906523704529,
0.33697813749313354,
-0.41372382640838623,
0.08096509426832199,
-0.09418315440416336,
-0.6973439455032349,
0.11521031707525253,
0.07938498258590698,
0.6883713006973267,
0.5031654834747314,
-0.5214672684669495,
0.13842067122459412,
-0.5544195175170898,
0.09163668006658554,
-0.09894654899835587,
-0.43571627140045166,
-0.3345889151096344,
-0.3131411075592041,
-0.1122908964753151,
-0.22437387704849243,
0.2516648471355438,
-0.4051251709461212,
0.40005725622177124,
-0.3964465856552124,
0.22198189795017242,
0.7355000972747803,
-0.23773792386054993,
0.748702347278595,
-0.31720492243766785,
0.7772730588912964,
-0.18910443782806396,
0.20658466219902039,
0.13615715503692627,
0.2713497281074524,
-0.5681616067886353,
-0.46021705865859985,
0.6969763040542603,
0.5220492482185364,
-0.6036922335624695,
0.6214036345481873,
-0.5102482438087463,
-0.1398642212152481,
-0.993904709815979,
-0.063362255692482,
0.5082429051399231,
0.7257534861564636,
0.602118730545044,
-0.006862058769911528,
-0.5484130382537842,
-0.9967328310012817,
-0.11140387505292892,
-0.04608303681015968,
0.2708944082260132,
0.11392075568437576,
0.16051672399044037,
-0.15179958939552307,
0.8269686698913574,
-0.45211559534072876,
-0.32962459325790405,
-0.12406624853610992,
-0.1902742087841034,
0.17408059537410736,
0.658900797367096,
0.5508316159248352,
-0.8165909647941589,
-0.5842794179916382,
0.13485488295555115,
-0.764824628829956,
-0.2142389416694641,
-0.2718501389026642,
-0.6383327841758728,
0.23253321647644043,
0.4314436614513397,
-0.5711848735809326,
0.3870229125022888,
0.7085270881652832,
-0.7086625695228577,
0.5288443565368652,
0.08137639611959457,
0.5835512280464172,
-1.0196257829666138,
0.4039040505886078,
-0.3705063760280609,
-0.39172086119651794,
-0.3285410404205322,
0.3906170129776001,
0.3567917048931122,
0.10086061805486679,
-0.44927847385406494,
0.2993755340576172,
-0.5193824172019958,
-0.336371511220932,
-0.24922583997249603,
-0.12670926749706268,
-0.06382470577955246,
0.3947775065898895,
-0.09446849673986435,
0.9410346746444702,
0.38907334208488464,
-0.5695140361785889,
0.15120671689510345,
0.5552659630775452,
-0.2311696708202362,
0.8875332474708557,
-0.5185168981552124,
0.08848727494478226,
-0.00777689041569829,
0.35813653469085693,
-0.8955355286598206,
0.10958780348300934,
0.596091091632843,
-0.19704394042491913,
0.2738361656665802,
-0.3607102334499359,
-0.005182786379009485,
0.07123744487762451,
-0.15773248672485352,
0.5940085649490356,
0.7732503414154053,
-0.7799786925315857,
0.4452027380466461,
0.08552581071853638,
0.10944228619337082,
-1.034744381904602,
-0.5742013454437256,
-0.2616250813007355,
-0.3035839796066284,
-0.7424798011779785,
0.5532872676849365,
-0.1004679873585701,
0.19494065642356873,
0.3045506477355957,
-0.4824621081352234,
0.1798029989004135,
0.10918443650007248,
0.15367434918880463,
0.2961542010307312,
-0.6266030073165894,
-0.42471426725387573,
0.2053644061088562,
-0.4890918731689453,
-0.13839705288410187,
-0.4069419205188751,
0.3242141008377075,
-0.35236233472824097,
-0.4039030969142914,
-0.6258600950241089,
0.0738072320818901,
0.5990703105926514,
-0.2078232765197754,
0.8086831569671631,
0.474841445684433,
-0.22171881794929504,
0.0662909671664238,
-0.28692880272865295,
-0.21448980271816254,
-0.47324058413505554,
0.2628189027309418,
-0.6737522482872009,
-0.8752331137657166,
0.48442861437797546,
0.026797983795404434,
-0.0066351634450256824,
0.3900245130062103,
0.2972765862941742,
-0.22330883145332336,
0.7425687313079834,
0.8092063665390015,
-0.11498616635799408,
0.5032606720924377,
-0.47152000665664673,
0.07660266757011414,
-0.9121208190917969,
-0.24152827262878418,
-0.6077538132667542,
-0.3423944115638733,
-0.12435459345579147,
-0.14348891377449036,
0.27879732847213745,
0.6723346710205078,
-0.20408958196640015,
0.5415284037590027,
-0.36045026779174805,
0.6215429306030273,
0.4506015479564667,
0.1493348330259323,
0.2871856689453125,
0.06883637607097626,
-0.008357600308954716,
-0.23608067631721497,
-0.7308510541915894,
-0.29877156019210815,
1.0795762538909912,
0.39001545310020447,
1.061312198638916,
0.19786354899406433,
0.8225254416465759,
0.2906648814678192,
0.1134251207113266,
-0.5958223938941956,
0.4033922851085663,
-0.2121547907590866,
-0.12062089145183563,
-0.4753592610359192,
-0.377107709646225,
-0.9511134624481201,
0.3050965964794159,
-0.529069721698761,
-0.699058473110199,
0.5365845561027527,
0.4957566261291504,
-0.5605916976928711,
0.02799164690077305,
-0.42308688163757324,
0.9815188050270081,
0.05430659279227257,
-0.3405137062072754,
-0.1120668575167656,
-0.7340651750564575,
0.6310178637504578,
0.11875857412815094,
0.015962081030011177,
0.10574399679899216,
0.16881592571735382,
0.566041886806488,
-0.4621623754501343,
0.3942980170249939,
-0.2314026951789856,
-0.03312595561146736,
0.129129558801651,
0.32472550868988037,
0.8991866707801819,
-0.05908827856183052,
-0.018630588427186012,
-0.2262527346611023,
0.5006966590881348,
-0.6448941826820374,
-0.7125632762908936,
0.49468091130256653,
-0.7658120393753052,
-0.4449140131473541,
-0.1459244042634964,
-0.5291460156440735,
-0.15095451474189758,
0.27411532402038574,
0.4964067041873932,
0.26846155524253845,
-0.0001498951605753973,
0.4339917302131653,
0.6093747019767761,
0.17046155035495758,
0.056634292006492615,
0.4683971703052521,
0.024134932085871696,
-0.12214303761720657,
0.8629881739616394,
-0.27969032526016235,
0.2665272653102875,
0.7277792692184448,
0.25171950459480286,
-0.8775115013122559,
-0.8953720927238464,
-0.6055476665496826,
0.1699560284614563,
-0.8275834918022156,
-0.49959611892700195,
-0.34158408641815186,
-0.09372633695602417,
-0.31311801075935364,
-0.44251304864883423,
-0.6365481019020081,
-0.2416325956583023,
-0.22284537553787231,
-0.08363035321235657,
0.12310522049665451,
0.3192053735256195,
-0.25664329528808594,
0.5028194785118103,
-1.0143650770187378,
0.3554544746875763,
0.10861808061599731,
0.11515116691589355,
-0.30680781602859497,
-0.7139453291893005,
-0.4521130919456482,
0.16035118699073792,
0.035655662417411804,
-0.8783936500549316,
0.22826726734638214,
0.060211531817913055,
0.5918380618095398,
0.10178434103727341,
0.5433229207992554,
1.0160995721817017,
-0.009059930220246315,
0.5050141215324402,
0.1342468112707138,
-1.1195734739303589,
0.35624679923057556,
-0.13843217492103577,
-0.05428009852766991,
0.8902789354324341,
0.2558511793613434,
-0.2880110740661621,
-0.04282969608902931,
-0.44192397594451904,
-0.7427730560302734,
0.8048267960548401,
0.1811908781528473,
-0.3024739623069763,
0.46409040689468384,
0.551409125328064,
0.0949365571141243,
-0.1000753790140152,
-0.6850024461746216,
-0.11237204819917679,
-0.18198315799236298,
-0.5035709738731384,
-0.010199729353189468,
-0.21414588391780853,
-0.30045807361602783,
0.17163316905498505,
0.6690531373023987,
-0.39087244868278503,
0.27812087535858154,
0.3253985643386841,
-0.47916480898857117,
-0.48656517267227173,
0.20959855616092682,
0.7245191335678101,
0.6897224187850952,
-0.31684067845344543,
0.16870443522930145,
0.03376297280192375,
-0.2829633951187134,
0.4254451394081116,
-0.014068955555558205,
-0.21902160346508026,
-0.4896356165409088,
0.2617296576499939,
0.7361481785774231,
0.2722906768321991,
-0.5051019787788391,
0.6026543378829956,
0.044562697410583496,
-0.280638724565506,
0.1479303240776062,
0.06198430806398392,
0.06433409452438354,
0.6879664063453674,
0.24013812839984894,
0.21393324434757233,
0.2342880517244339,
-0.2175842970609665,
0.3651105463504791,
0.41402778029441833,
-0.25145575404167175,
-0.3874635696411133,
0.7951040267944336,
0.09887710958719254,
-0.000576358288526535,
0.6383048295974731,
0.0838577002286911,
-0.2296682894229889,
0.5115389227867126,
0.7311049699783325,
0.6992017030715942,
-0.08891202509403229,
0.18575356900691986,
0.2506633996963501,
0.12812015414237976,
-0.3040918707847595,
0.3249395787715912,
-0.002474422799423337,
-0.8344314694404602,
-0.37592843174934387,
-0.7939597368240356,
-0.10641785711050034,
-0.13867582380771637,
-0.9914251565933228,
0.1266433745622635,
-0.35633254051208496,
0.07914983481168747,
-0.3354218602180481,
-0.07054738700389862,
-0.7030714154243469,
0.09094616025686264,
-0.1452246755361557,
0.893908679485321,
-1.0331677198410034,
0.9030318856239319,
0.5690103769302368,
-0.31759509444236755,
-1.1798940896987915,
-0.04948601871728897,
-0.070584237575531,
-1.0349453687667847,
0.5727687478065491,
-0.2566051483154297,
-0.4107297956943512,
0.280796080827713,
-0.2688443660736084,
-1.1052687168121338,
1.2641180753707886,
0.9193741679191589,
-0.6611427068710327,
0.0167267844080925,
-0.11815951019525528,
0.32583433389663696,
-0.5161430835723877,
0.008538498543202877,
0.7137725949287415,
0.47432753443717957,
0.29795634746551514,
-0.8106825947761536,
0.5409284234046936,
0.11175985634326935,
-0.002929198555648327,
0.2537097930908203,
-0.5322709679603577,
0.5245392322540283,
-0.2521127164363861,
-0.46143925189971924,
0.37222886085510254,
0.6602979898452759,
0.43231430649757385,
0.1188657209277153,
0.5609382390975952,
0.4432661533355713,
0.7066617012023926,
0.07451412826776505,
1.109177827835083,
-0.2838350534439087,
0.5741869211196899,
0.6167692542076111,
0.1618133783340454,
0.8282971978187561,
0.6070749759674072,
-0.2534072995185852,
0.25041627883911133,
0.7450153827667236,
0.18407729268074036,
0.9399542808532715,
0.11613281816244125,
0.22132690250873566,
-0.25587189197540283,
-0.09417972713708878,
-0.6014055609703064,
0.11477632820606232,
0.008794526569545269,
-0.2237868309020996,
-0.05717899277806282,
-0.3264480531215668,
-0.2704494595527649,
0.28943249583244324,
-0.266093909740448,
0.564099133014679,
-0.0852733701467514,
-0.5875371098518372,
1.1457080841064453,
-0.03279300406575203,
0.687272846698761,
-0.6204070448875427,
0.06441465020179749,
-0.5868189334869385,
0.21250495314598083,
-0.45408129692077637,
-0.46034738421440125,
0.3604995310306549,
-0.43726858496665955,
-0.18070510029792786,
-0.1918051540851593,
0.5456581115722656,
-0.44885972142219543,
-0.103446826338768,
0.03560884669423103,
0.22565427422523499,
0.08199988305568695,
0.16275206208229065,
-0.6879886984825134,
0.24716486036777496,
0.2205691635608673,
-0.24978284537792206,
0.49682432413101196,
0.02772151678800583,
-0.10020963847637177,
0.6136729121208191,
0.7253732681274414,
0.12098945677280426,
0.08399471640586853,
-0.3594388961791992,
0.721774160861969,
-0.7485899329185486,
-1.0135509967803955,
-0.7468562722206116,
0.6021540760993958,
0.46782320737838745,
-0.269898921251297,
0.3327159285545349,
0.37501251697540283,
0.6750892400741577,
-0.3017045259475708,
0.48633500933647156,
-0.03476019203662872,
0.2247845083475113,
-1.1592421531677246,
0.38531607389450073,
-0.6914588212966919,
0.41727206110954285,
-0.2957504093647003,
-1.1007273197174072,
-0.017931224778294563,
0.761224091053009,
-0.005211544688791037,
-0.3306301534175873,
0.7526054978370667,
0.9251745939254761,
-0.29445335268974304,
0.011236360296607018,
0.2763623595237732,
-0.07677660882472992,
0.09228838235139847,
0.9612793922424316,
1.0241773128509521,
-0.626365065574646,
0.6272311806678772,
-0.08982256799936295,
-0.2903344929218292,
-0.5504284501075745,
-0.7894845008850098,
-0.48250770568847656,
-0.48823148012161255,
-0.29466360807418823,
-0.5402762293815613,
0.3605392873287201,
0.8595003485679626,
1.005293607711792,
-0.9150065183639526,
-0.23854771256446838,
-0.038286756724119186,
0.13466547429561615,
-0.6610645651817322,
-0.20289279520511627,
0.7109016180038452,
-0.09067842364311218,
-0.636955976486206,
0.5047971606254578,
0.06875231117010117,
0.13458316028118134,
0.09050856530666351,
-0.584334671497345,
0.11456113308668137,
-0.20751483738422394,
0.23461991548538208,
0.6010859608650208,
-0.6891621351242065,
-0.4383024275302887,
0.1974273920059204,
-0.29431527853012085,
0.010677308775484562,
0.86272132396698,
-0.4995678663253784,
0.13743001222610474,
0.4809849262237549,
1.2405937910079956,
0.6369161009788513,
0.5311223864555359,
0.7280195951461792,
-0.4701800048351288,
0.09760572016239166,
0.29215818643569946,
0.13494813442230225,
-0.03710509091615677,
-0.9026018381118774,
0.6003094911575317,
0.25849756598472595,
-0.5126317739486694,
-0.9636706709861755,
0.3012315034866333,
-1.1899521350860596,
-0.1208638995885849,
0.9235824942588806,
-0.30446383357048035,
-0.23538002371788025,
0.23000341653823853,
-0.19122451543807983,
0.11634257435798645,
-0.4212650656700134,
0.6094505786895752,
0.43673139810562134,
-0.44681936502456665,
-0.4000191390514374,
-0.08508118987083435,
0.8436040878295898,
0.7802665829658508,
-0.6196389198303223,
-0.03116263449192047,
0.4820448160171509,
0.3661237955093384,
-0.06991980224847794,
0.8479971885681152,
-0.18821756541728973,
0.5614832639694214,
-0.004356503952294588,
-0.06154314801096916,
-0.33362677693367004,
-0.39950814843177795,
-0.455304890871048,
0.19996124505996704,
0.24032874405384064,
-0.6072948575019836
] |
http://arxiv.org/abs/2405.20485v1
|
http://arxiv.org/pdf/2405.20485v1
|
Phantom: General Trigger Attacks on Retrieval Augmented Language Generation
| 2024-05-30T21:19:24 | 2024-05-30T21:19:24 |
Harsh Chaudhari, Giorgio Severi, John Abascal, Matthew Jagielski, Christopher A. Choquette-Choo, Milad Nasr, Cristina Nita-Rotaru, Alina Oprea
|
cs.CR
|
cs.CR, cs.CL, cs.LG
|
Retrieval Augmented Generation (RAG) expands the capabilities of modern large
language models (LLMs) in chatbot applications, enabling developers to adapt
and personalize the LLM output without expensive training or fine-tuning. RAG
systems use an external knowledge database to retrieve the most relevant
documents for a given query, providing this context to the LLM generator. While
RAG achieves impressive utility in many applications, its adoption to enable
personalized generative models introduces new security risks. In this work, we
propose new attack surfaces for an adversary to compromise a victim's RAG
system, by injecting a single malicious document in its knowledge database. We
design Phantom, general two-step attack framework against RAG augmented LLMs.
The first step involves crafting a poisoned document designed to be retrieved
by the RAG system within the top-k results only when an adversarial trigger, a
specific sequence of words acting as backdoor, is present in the victim's
queries. In the second step, a specially crafted adversarial string within the
poisoned document triggers various adversarial attacks in the LLM generator,
including denial of service, reputation damage, privacy violations, and harmful
behaviors. We demonstrate our attacks on multiple LLM architectures, including
Gemma, Vicuna, and Llama.
|
[
-0.3242886960506439,
-0.9781487584114075,
0.1724458485841751,
-0.28045451641082764,
-0.16359281539916992,
0.32784056663513184,
0.11144198477268219,
-0.3643835484981537,
0.4630081057548523,
0.9992743730545044,
-0.14108188450336456,
-0.3325309455394745,
-0.7918122410774231,
-0.15695147216320038,
-0.8164661526679993,
1.066596269607544,
0.5958603620529175,
-0.12989798188209534,
0.003127656178548932,
-0.07058132439851761,
-0.6986768245697021,
-0.8565320372581482,
-0.6604104042053223,
0.1347026377916336,
0.5707578659057617,
0.2664496600627899,
0.7740045189857483,
0.1212855875492096,
0.43668705224990845,
0.2965897023677826,
0.09525251388549805,
0.05372530594468117,
-0.7803704142570496,
0.5560731887817383,
-0.2110486924648285,
-0.5348134636878967,
-0.487246036529541,
-0.1290578544139862,
0.4345249533653259,
0.2026257961988449,
0.14711812138557434,
-0.023672791197896004,
0.0352446511387825,
0.593708336353302,
-1.1025151014328003,
-0.5778559446334839,
-1.2204691171646118,
-0.22869248688220978,
-0.4602981209754944,
-0.35183340311050415,
-0.7281927466392517,
-0.04187571629881859,
-0.512892484664917,
-0.3961322009563446,
0.1773933470249176,
0.13781046867370605,
0.9427059292793274,
0.4233688414096832,
-0.37121474742889404,
-0.43895015120506287,
-0.579423189163208,
0.44678017497062683,
-0.23063503205776215,
0.1934596300125122,
0.28413447737693787,
0.5530557036399841,
-0.7458180785179138,
-0.7348096370697021,
-0.6493109464645386,
-0.4291321039199829,
-0.26290279626846313,
0.2459329217672348,
-0.3339819610118866,
0.014829733408987522,
0.22814220190048218,
0.25671637058258057,
-0.5923795104026794,
0.0467049740254879,
-0.26251041889190674,
-0.11260182410478592,
0.39638859033584595,
0.1180158481001854,
0.4129704236984253,
-0.38564151525497437,
-0.7024494409561157,
-0.07959384471178055,
-0.8845356106758118,
-0.3917463421821594,
0.7179884314537048,
0.22122450172901154,
-0.045793287456035614,
0.5889534950256348,
0.07896547019481659,
1.1092349290847778,
0.09951326996088028,
-0.1730232685804367,
-0.3008446991443634,
0.060691505670547485,
-0.1751890778541565,
-0.05990483611822128,
0.7776230573654175,
0.15902207791805267,
0.13558825850486755,
-0.23682843148708344,
-0.30424657464027405,
0.05716882646083832,
0.6623412370681763,
-0.476930171251297,
-0.051365695893764496,
0.37656956911087036,
0.04896978661417961,
-0.6897578835487366,
0.04066132754087448,
-0.9465476870536804,
-0.9618356227874756,
0.23881690204143524,
0.6371240615844727,
-0.5168481469154358,
-0.27829575538635254,
-0.24200645089149475,
-0.3639559745788574,
0.2560274302959442,
0.10444503277540207,
-0.7417701482772827,
0.4046705961227417,
0.9016120433807373,
0.6435210108757019,
-0.2294110804796219,
-0.05665533244609833,
-0.9306158423423767,
0.5235386490821838,
-0.45839276909828186,
0.9341517090797424,
-0.5042889714241028,
-0.8723768591880798,
0.03742106631398201,
-0.4537193775177002,
0.02503841742873192,
-0.5473870635032654,
0.45005983114242554,
-0.9128583073616028,
0.5056606531143188,
0.07350677996873856,
-0.3460288345813751,
-0.04710472375154495,
0.44704583287239075,
-0.6126664280891418,
0.8592323064804077,
0.16078294813632965,
-1.111205816268921,
-0.021825160831212997,
-0.2713332772254944,
-0.46679624915122986,
0.07975881546735764,
-0.43413540720939636,
-0.06313648074865341,
0.1986193209886551,
-0.018673347309231758,
0.42583903670310974,
-0.2904073894023895,
-0.1520489603281021,
-0.052938200533390045,
-0.42997458577156067,
0.35048797726631165,
-0.3484833538532257,
0.8346375226974487,
0.31273701786994934,
0.04323772341012955,
0.05945785716176033,
-0.9241058230400085,
-0.1580670177936554,
0.2778734564781189,
-0.17478664219379425,
-0.6248956918716431,
-0.0711088553071022,
-0.09483782947063446,
-0.05175982043147087,
0.26061177253723145,
-0.267751008272171,
0.3395170271396637,
-0.5536364316940308,
-0.25274181365966797,
0.6928296685218811,
0.5586931109428406,
0.3258778154850006,
-0.34640422463417053,
0.6405693888664246,
-0.10509827733039856,
0.029102718457579613,
-0.31723982095718384,
-0.4918235242366791,
-0.7002414464950562,
-0.4773262143135071,
0.33616164326667786,
0.6569280028343201,
-0.9772736430168152,
0.30196613073349,
-0.19185708463191986,
-0.49438419938087463,
-0.14677970111370087,
-0.1210474893450737,
0.7506865859031677,
0.847864031791687,
0.2637055814266205,
0.14577102661132812,
-0.40393975377082825,
-0.8924213647842407,
-0.5290062427520752,
-0.020468274131417274,
-0.3163366913795471,
0.27243274450302124,
0.30603089928627014,
-0.2228899598121643,
0.9545385241508484,
-0.5133224725723267,
-0.531902551651001,
-0.08098738640546799,
-0.19666381180286407,
0.08004215359687805,
0.404572457075119,
0.7335119247436523,
-0.7742818593978882,
-0.47907596826553345,
0.010993077419698238,
-0.7074276208877563,
-0.11855503916740417,
-0.34262320399284363,
-0.28021952509880066,
0.36849963665008545,
0.4699696898460388,
-0.5365881323814392,
0.4208813011646271,
0.6589716672897339,
-0.3031902611255646,
0.4553075134754181,
-0.06693217903375626,
0.10386497527360916,
-1.5070147514343262,
0.10594304651021957,
-0.503368079662323,
-0.1295914500951767,
-0.968383252620697,
0.48278525471687317,
0.061022404581308365,
-0.3506945073604584,
-0.6726865172386169,
0.9504408836364746,
-0.36284223198890686,
-0.20899765193462372,
-0.30906441807746887,
0.16430191695690155,
-0.042369723320007324,
0.4130464494228363,
-0.3760889172554016,
0.9183352589607239,
0.26542651653289795,
-0.7497451305389404,
0.21993179619312286,
0.0739310160279274,
0.1627374291419983,
0.6220735311508179,
-0.4466126561164856,
0.49768489599227905,
0.095513716340065,
0.19853559136390686,
-0.9110080599784851,
-0.5435577034950256,
0.5590266585350037,
-0.9623256921768188,
0.8073586821556091,
-0.26197782158851624,
-0.4101111888885498,
0.10132212191820145,
-0.3619159162044525,
-0.07478378713130951,
0.5208710432052612,
-0.4863608181476593,
1.0406023263931274,
0.6060699820518494,
0.3311150074005127,
-0.8488436937332153,
-0.47379788756370544,
0.5914046168327332,
-0.2792165279388428,
-0.7654276490211487,
0.3437536656856537,
0.273824542760849,
-0.42438143491744995,
-0.13033407926559448,
0.1442013829946518,
0.10857314616441727,
0.35710036754608154,
0.3661321997642517,
0.1457473337650299,
0.17357774078845978,
-0.16885915398597717,
0.060496337711811066,
-0.4380325675010681,
-0.14307524263858795,
-0.020686639472842216,
0.8198249936103821,
0.3690718114376068,
-0.5764598846435547,
-0.040652498602867126,
0.570326566696167,
0.5203561186790466,
-0.042018819600343704,
0.7707324028015137,
0.24230828881263733,
-0.4606940746307373,
-0.22593456506729126,
-0.71745365858078,
-0.17125289142131805,
-0.5080327391624451,
0.34714698791503906,
-0.6372566223144531,
-0.5466156005859375,
0.6071653962135315,
0.06411737948656082,
0.14258737862110138,
0.39543959498405457,
0.5868367552757263,
0.05198416858911514,
0.8887986540794373,
0.41820722818374634,
-0.0817672535777092,
0.29799970984458923,
-0.3784240186214447,
-0.19568440318107605,
-1.054675817489624,
-0.1393744796514511,
-0.5031879544258118,
-0.1437848061323166,
-0.36137446761131287,
-0.4014313519001007,
0.5131237506866455,
0.45920294523239136,
-0.1569395512342453,
0.35141944885253906,
-0.5268169045448303,
0.45674070715904236,
0.536504864692688,
-0.17942838370800018,
0.3198285400867462,
0.13492506742477417,
-0.41926825046539307,
0.11993927508592606,
-0.556541919708252,
-0.5223687291145325,
1.136913537979126,
0.0485326312482357,
0.8594081997871399,
0.3605164885520935,
0.8544634580612183,
0.3794812858104706,
0.32795435190200806,
-0.4369069039821625,
0.6391186714172363,
-0.2421795129776001,
-0.7574039697647095,
0.021060802042484283,
-0.0047901771031320095,
-1.0650092363357544,
0.4784492552280426,
-0.2096807211637497,
-0.7168220281600952,
0.09979297965765,
0.09756993502378464,
-0.1730463057756424,
0.3841414451599121,
-0.8575390577316284,
0.4476533532142639,
-0.30424177646636963,
-0.25852805376052856,
-0.12874241173267365,
-0.31830698251724243,
0.780798614025116,
-0.42355018854141235,
0.22482052445411682,
0.14990076422691345,
-0.3368370234966278,
0.40336042642593384,
-0.32527872920036316,
0.9510498046875,
-0.21439073979854584,
0.05186542868614197,
0.1837424635887146,
0.594508171081543,
0.7226334810256958,
0.12367195636034012,
-0.05829927325248718,
0.24717654287815094,
-0.36019596457481384,
-0.3187924921512604,
-0.7192116975784302,
0.6467390060424805,
-0.5315443277359009,
-1.1207252740859985,
-0.6719703674316406,
-0.08868464082479477,
-0.24518729746341705,
0.11424907296895981,
0.6275647282600403,
0.2068263441324234,
-0.21590256690979004,
0.00252223270945251,
0.42790043354034424,
-0.5020678639411926,
0.14696010947227478,
0.6825447082519531,
-0.3036341667175293,
-0.591526985168457,
1.1529381275177002,
-0.06256932765245438,
0.5782867670059204,
0.2735004425048828,
0.10129503905773163,
0.04355720058083534,
-0.5603610277175903,
-0.5764497518539429,
0.01570124737918377,
-0.6384502649307251,
-0.5642331838607788,
-0.8178809285163879,
-0.2969891428947449,
-0.6139580607414246,
-0.2615726888179779,
-0.21737982332706451,
-0.26911690831184387,
-0.30944329500198364,
0.28747686743736267,
0.5253914594650269,
0.7232199907302856,
-0.015618877485394478,
0.33188819885253906,
-0.8834779858589172,
0.7783604860305786,
0.352171927690506,
0.01103922538459301,
-0.05989872291684151,
-0.7164098024368286,
0.045759014785289764,
-0.04062590375542641,
-0.33182305097579956,
-1.358646273612976,
0.40501755475997925,
0.011479554697871208,
0.5533392429351807,
0.36968928575515747,
0.1933487355709076,
0.5140433311462402,
-0.667773962020874,
0.862467348575592,
0.17445670068264008,
-0.5763059258460999,
0.7035828232765198,
-0.591158390045166,
-0.07433810830116272,
0.19097931683063507,
0.20804570615291595,
-0.7176595330238342,
-0.7069244980812073,
-0.7720685005187988,
-0.7408062219619751,
0.41519951820373535,
0.14480972290039062,
0.3863953948020935,
-0.100152887403965,
0.32752472162246704,
-0.11266299337148666,
-0.01590171456336975,
-0.267120361328125,
-0.3800489008426666,
-0.12895731627941132,
0.2619068920612335,
0.36374008655548096,
-0.5561205744743347,
-0.213979110121727,
0.4273630678653717,
0.5156539082527161,
0.0789528414607048,
0.08090254664421082,
-0.02091778628528118,
-0.09511730074882507,
0.030828384682536125,
0.07086748629808426,
0.6701469421386719,
0.062073949724435806,
0.09013217687606812,
-0.12726528942584991,
0.24636273086071014,
-0.6439623832702637,
0.0705161765217781,
-0.08435363322496414,
-0.4336600601673126,
-0.11087433993816376,
0.56829833984375,
0.4934478998184204,
0.35202735662460327,
-0.4608851671218872,
0.47482433915138245,
-0.1532353162765503,
0.16393624246120453,
-0.7452011704444885,
0.42724671959877014,
-0.07419081777334213,
-0.11883573979139328,
0.6001071929931641,
0.11658147722482681,
-0.04846396669745445,
-0.2843022644519806,
0.2662840783596039,
0.7437946796417236,
-0.15427978336811066,
-0.04637801647186279,
0.5392543077468872,
0.15082573890686035,
-0.6146281957626343,
0.17852526903152466,
-0.13961397111415863,
-0.6783022284507751,
0.3576245903968811,
0.5616381168365479,
0.9751541018486023,
-0.5314788222312927,
-0.19352856278419495,
0.15689273178577423,
0.2587035000324249,
0.3780057728290558,
-0.06437230110168457,
0.1962791532278061,
-0.6950817704200745,
-0.12795321643352509,
-0.6355096101760864,
-0.6153987050056458,
0.2142181247472763,
-0.4135891795158386,
0.5340179800987244,
-0.7220113277435303,
0.029338788241147995,
-0.24954290688037872,
-0.23857828974723816,
-0.20301710069179535,
-0.08795846998691559,
0.008098004385828972,
0.5871860980987549,
-0.306584894657135,
0.8401963710784912,
0.42959126830101013,
-0.520465075969696,
-0.5711466670036316,
0.08153463155031204,
0.35376161336898804,
-0.8310761451721191,
0.8525680899620056,
-0.1947927176952362,
-0.2799184322357178,
-0.03249663487076759,
-0.17579874396324158,
-1.0114725828170776,
0.6484901905059814,
0.4276868402957916,
-0.17665457725524902,
-0.06424447894096375,
0.09614600241184235,
0.3060847222805023,
-0.13850119709968567,
0.01449285726994276,
0.5010613203048706,
0.2681964039802551,
0.2618582844734192,
-0.4693654179573059,
-0.10341010987758636,
-0.12465954571962357,
-0.17105762660503387,
0.12663507461547852,
-0.5090125799179077,
0.966312050819397,
0.051356296986341476,
-0.5760305523872375,
0.06595656275749207,
0.6414775252342224,
0.4651910364627838,
-0.09417358785867691,
0.39731669425964355,
0.7331365942955017,
0.5359267592430115,
0.0660644993185997,
1.4183692932128906,
-0.4638250470161438,
-0.27133867144584656,
1.2724530696868896,
-0.32622694969177246,
0.9865224957466125,
0.22097979485988617,
0.06135384365916252,
0.4075601100921631,
0.22490647435188293,
0.008699788711965084,
0.21821469068527222,
0.35764840245246887,
-0.40631797909736633,
0.149362251162529,
0.09773672372102737,
-0.5728313326835632,
0.5848262906074524,
0.8436012864112854,
-0.03456321358680725,
-0.22900252044200897,
0.2915264666080475,
0.23792575299739838,
0.33514872193336487,
-0.016126936301589012,
0.9732668399810791,
0.02593991719186306,
-0.5409042239189148,
0.8572009801864624,
0.07237077504396439,
0.742449939250946,
-0.6321578621864319,
-0.08074891567230225,
-0.3438608646392822,
0.18710319697856903,
-0.26355817914009094,
-0.3890162706375122,
0.3568667471408844,
0.2687442898750305,
0.02944175712764263,
0.16605645418167114,
1.0648159980773926,
0.012846846133470535,
-0.3932577073574066,
0.41077736020088196,
0.24981003999710083,
0.08211364597082138,
-0.33911019563674927,
-0.5891283750534058,
0.2895312011241913,
-0.052676256746053696,
-0.46232032775878906,
0.6803036332130432,
0.19830068945884705,
-0.1596536636352539,
0.665230393409729,
0.9350597262382507,
0.31214022636413574,
0.21933840215206146,
0.08822160214185715,
1.0871939659118652,
-0.631507158279419,
-0.4148997366428375,
-0.6200251579284668,
0.5394494533538818,
-0.2952101528644562,
-0.11833998560905457,
0.9779576063156128,
0.6286019682884216,
0.6304787993431091,
0.08534234762191772,
0.6851819157600403,
-0.02498772367835045,
1.0070905685424805,
-0.5948662161827087,
1.1100046634674072,
-0.5153543949127197,
0.6104563474655151,
-0.2395297735929489,
-0.796975314617157,
-0.3626269996166229,
0.1581297218799591,
-0.02695915475487709,
0.025919973850250244,
0.5774048566818237,
1.023886799812317,
0.3040280044078827,
-0.4046907424926758,
0.6396998763084412,
0.3035314083099365,
0.6826433539390564,
0.3880247473716736,
0.8519042134284973,
-0.5912154912948608,
0.6799946427345276,
-0.09561837464570999,
-0.16780631244182587,
-0.2576471269130707,
-0.6913086175918579,
-1.061833143234253,
-0.5175123810768127,
0.008633967489004135,
-0.7465264797210693,
0.3783780038356781,
0.3431595265865326,
0.30835646390914917,
-0.7227600812911987,
0.052062731236219406,
0.14801572263240814,
0.2827121317386627,
0.5119196176528931,
-0.2585084140300751,
0.39740318059921265,
-0.5028386116027832,
-0.6786589026451111,
0.5386461019515991,
0.21917133033275604,
0.11114566773176193,
-0.5947803854942322,
0.07878932356834412,
-0.17329871654510498,
-0.06972721964120865,
0.2766664922237396,
0.48607102036476135,
-0.9911491274833679,
-0.3458155691623688,
-0.1279548704624176,
-0.3904779255390167,
-0.31678059697151184,
0.8163507580757141,
-1.260359764099121,
0.33139121532440186,
0.4880567193031311,
0.7459884285926819,
0.05341512709856033,
0.02358265221118927,
0.39091190695762634,
-1.0739942789077759,
0.5488458275794983,
0.4625990092754364,
0.19677773118019104,
0.22620312869548798,
-0.7566463351249695,
0.4365862011909485,
0.26935821771621704,
-0.2750830054283142,
-0.9902989864349365,
0.45469212532043457,
-0.7538983225822449,
-0.6192491054534912,
1.3370583057403564,
0.15862920880317688,
-0.31948035955429077,
-0.3142749071121216,
-0.29614734649658203,
0.11063723266124725,
-0.18033374845981598,
0.6760958433151245,
0.33267995715141296,
0.19199585914611816,
0.3286358416080475,
-0.6123284697532654,
0.7017216086387634,
0.01924903132021427,
-0.669915497303009,
0.0338880755007267,
0.5643517374992371,
0.08902862668037415,
0.36994239687919617,
0.589156448841095,
-0.27630478143692017,
0.25455987453460693,
0.35500869154930115,
-0.029107311740517616,
-0.3378421664237976,
-0.2498016655445099,
-0.3927779495716095,
0.4827966094017029,
-0.13549983501434326,
-0.24573391675949097
] |
http://arxiv.org/abs/2405.20477v2
|
http://arxiv.org/pdf/2405.20477v2
|
Automated Focused Feedback Generation for Scientific Writing Assistance
| 2024-05-30T20:56:41 | 2024-06-04T16:03:57 |
Eric Chamoun, Michael Schlichktrull, Andreas Vlachos
|
cs.CL
|
cs.CL
|
Scientific writing is a challenging task, particularly for novice researchers
who often rely on feedback from experienced peers. Recent work has primarily
focused on improving surface form and style rather than manuscript content. In
this paper, we propose a novel task: automated focused feedback generation for
scientific writing assistance. We present SWIF$^{2}$T: a Scientific WrIting
Focused Feedback Tool. It is designed to generate specific, actionable and
coherent comments, which identify weaknesses in a scientific paper and/or
propose revisions to it. Our approach consists of four components - planner,
investigator, reviewer and controller - leveraging multiple Large Language
Models (LLMs) to implement them. We compile a dataset of 300 peer reviews
citing weaknesses in scientific papers and conduct human evaluation. The
results demonstrate the superiority in specificity, reading comprehension, and
overall helpfulness of SWIF$^{2}$T's feedback compared to other approaches. In
our analysis, we also identified cases where automatically generated reviews
were judged better than human ones, suggesting opportunities for integration of
AI-generated feedback in scientific writing.
|
[
-0.014479690231382847,
-0.5521854162216187,
0.7536308169364929,
0.7108694314956665,
-0.21451476216316223,
0.1477053016424179,
-0.29627832770347595,
-0.46028876304626465,
0.3572431802749634,
0.32868802547454834,
-0.6071940064430237,
-0.537933349609375,
-0.4716869592666626,
0.7017474174499512,
-0.35358017683029175,
1.362608551979065,
-0.3672843277454376,
0.29275211691856384,
-0.4382510483264923,
0.15193863213062286,
-0.1584915667772293,
-0.03367447480559349,
-0.1990271508693695,
-0.15759854018688202,
0.8893837928771973,
0.6749143600463867,
0.07421175390481949,
0.1484791785478592,
1.0225419998168945,
0.33734747767448425,
0.3672678768634796,
0.43907085061073303,
-0.32336732745170593,
0.2071334719657898,
-0.26081156730651855,
-0.36793214082717896,
-0.4903804361820221,
-0.062019217759370804,
0.5765987038612366,
0.6520557999610901,
0.24201279878616333,
0.1416219025850296,
0.15052418410778046,
0.5698617696762085,
-0.21984156966209412,
0.03699852526187897,
-0.3370414674282074,
0.10681767016649246,
-0.1369423121213913,
-0.21854634582996368,
-0.47529226541519165,
-0.5774868726730347,
-0.03262989595532417,
-0.6411253809928894,
0.6762357354164124,
-0.0009776144288480282,
0.4908103942871094,
0.5482957363128662,
-0.17068156599998474,
-0.4308745861053467,
-0.6466583609580994,
0.6616451740264893,
-0.8203626275062561,
-0.12932834029197693,
0.1521332561969757,
-0.03340529650449753,
-0.3507237136363983,
-0.6779296398162842,
-0.6110497117042542,
-0.5873468518257141,
-0.08431024104356766,
0.28349125385284424,
0.19004851579666138,
-0.007936153560876846,
0.1797187477350235,
-0.1149609163403511,
-0.37799444794654846,
-0.22658129036426544,
-0.47421586513519287,
-0.08004304021596909,
0.982049286365509,
0.04633450508117676,
0.027308428660035133,
-0.008371775969862938,
0.1427215337753296,
-0.12662701308727264,
-0.5130847692489624,
0.08419079333543777,
0.24529188871383667,
0.20246461033821106,
0.279507577419281,
0.9089427590370178,
0.039710864424705505,
0.5307597517967224,
0.1608470231294632,
-0.17692607641220093,
-0.03139735758304596,
-0.47606560587882996,
0.20596657693386078,
-0.31245750188827515,
0.8204386234283447,
0.4790043830871582,
-0.13692666590213776,
-0.0573422834277153,
-0.4264267086982727,
0.016520792618393898,
0.44497576355934143,
-0.7490660548210144,
-0.20841750502586365,
0.022372711449861526,
-0.3211269974708557,
-0.7430614829063416,
0.2652243375778198,
-0.5636430978775024,
-0.6382989287376404,
-0.07358648627996445,
0.17786072194576263,
-0.12798485159873962,
-0.027293698862195015,
-0.5215803384780884,
-0.552684485912323,
-0.3820352852344513,
0.7514926195144653,
-0.5848077535629272,
0.3016102910041809,
0.37727731466293335,
0.7816919088363647,
-0.26370784640312195,
-0.4316387176513672,
-0.36763086915016174,
0.2752860486507416,
0.017317166551947594,
1.1823339462280273,
-0.4858948290348053,
-0.8032475113868713,
-0.44132235646247864,
-0.363952100276947,
0.11447557806968689,
-0.19337163865566254,
0.2811572849750519,
0.03902783989906311,
0.11511190235614777,
-0.18002545833587646,
-0.24124249815940857,
0.14624081552028656,
-0.09363038837909698,
-0.5632108449935913,
1.0099157094955444,
0.5102350115776062,
-1.0051629543304443,
0.4817799925804138,
-0.7275073528289795,
-0.6554898023605347,
0.36576414108276367,
-0.21488775312900543,
-0.5194390416145325,
0.20825247466564178,
0.08867910504341125,
0.1379651427268982,
-0.1698225438594818,
0.3736988306045532,
-0.46573764085769653,
-0.0805489718914032,
0.32584869861602783,
0.15988115966320038,
0.14256177842617035,
-0.1262759268283844,
-0.881284236907959,
0.6188457012176514,
-0.9692910313606262,
0.17603760957717896,
-0.06411382555961609,
-0.24445925652980804,
0.10174063593149185,
-0.010179104283452034,
0.31637200713157654,
-0.22180762887001038,
0.046900469809770584,
-0.9699398279190063,
0.3496531844139099,
-0.1641661822795868,
0.6342344284057617,
0.4899232089519501,
0.2610459625720978,
0.36302605271339417,
-0.2290228307247162,
0.5015184283256531,
-0.3264331817626953,
-0.15701493620872498,
0.00805545412003994,
-0.34311002492904663,
-0.6557973623275757,
-0.1441379338502884,
0.2518647313117981,
0.36007004976272583,
-0.503302812576294,
0.22357171773910522,
0.25282442569732666,
-0.5671316385269165,
-0.6488546133041382,
0.5547837615013123,
0.535395622253418,
0.821775496006012,
0.22864192724227905,
-0.1710764467716217,
-0.6351913809776306,
-0.7450160384178162,
-0.1665896475315094,
-0.2721461355686188,
-0.1058570072054863,
0.21849219501018524,
0.63079833984375,
-0.4118921458721161,
0.9929642081260681,
-0.46499747037887573,
-0.3090393543243408,
-0.3671713173389435,
0.45016419887542725,
-0.33495548367500305,
0.3673470616340637,
0.21867424249649048,
-0.419563889503479,
-0.44179970026016235,
-0.14519816637039185,
-0.5295988321304321,
-0.6347196102142334,
-0.09059363603591919,
0.09936900436878204,
0.3184504210948944,
0.4073265492916107,
-0.4280048608779907,
0.3617175817489624,
0.27898886799812317,
-0.42665839195251465,
0.6950200796127319,
-0.12782852351665497,
-0.07103980332612991,
-0.4990655779838562,
0.5460119247436523,
0.19825907051563263,
0.053195059299468994,
-0.23924091458320618,
-0.01681305095553398,
-0.02081330120563507,
-0.17443904280662537,
0.03829984366893768,
0.5870013236999512,
-0.33165016770362854,
0.41517698764801025,
-0.46795931458473206,
0.022354545071721077,
0.19462543725967407,
0.20098872482776642,
0.26088783144950867,
0.46633970737457275,
-0.1575130671262741,
-0.17615890502929688,
0.18707896769046783,
0.16875037550926208,
0.054029375314712524,
0.37834632396698,
-1.0475066900253296,
0.39478057622909546,
-0.09997311234474182,
0.6073914170265198,
-0.9074190258979797,
-0.6354707479476929,
0.0768573060631752,
-0.5056238770484924,
0.31191202998161316,
0.4524129033088684,
-0.10234887897968292,
-0.7002540230751038,
-0.47912532091140747,
0.06742549687623978,
-0.0010876765009015799,
-0.008351258933544159,
0.473299503326416,
0.2097439467906952,
-0.8478686213493347,
-0.4443143308162689,
-0.6622887253761292,
0.14493097364902496,
0.47659653425216675,
-0.7465918064117432,
0.18689188361167908,
-0.17038176953792572,
-0.45773816108703613,
0.08935592323541641,
0.17464619874954224,
0.08352427929639816,
-0.12980081140995026,
0.6780471801757812,
0.13393014669418335,
0.0631246343255043,
-0.10637154430150986,
0.34406453371047974,
0.044774916023015976,
0.005804791580885649,
-0.051150914281606674,
-0.050810087472200394,
-0.3024716377258301,
-0.27054041624069214,
-0.42217907309532166,
0.6768838763237,
0.6202856302261353,
-0.0956595316529274,
-0.1706773340702057,
0.5328553915023804,
0.01562002394348383,
-0.5688623189926147,
-0.5147982835769653,
-0.4985610544681549,
-0.44537481665611267,
0.46501424908638,
-0.07198718190193176,
-0.8811303377151489,
0.24816983938217163,
0.18250446021556854,
0.33103322982788086,
0.4748305380344391,
0.536198616027832,
-0.33214154839515686,
1.1409103870391846,
0.9981865286827087,
0.2902819514274597,
0.14298604428768158,
-0.1532686948776245,
0.3065333068370819,
-0.4812644422054291,
-0.6418552994728088,
-0.7566387057304382,
-0.38908272981643677,
0.04932326078414917,
-0.20339398086071014,
0.41408875584602356,
0.08512278646230698,
0.09891364723443985,
0.1251520961523056,
-0.9739108681678772,
0.10848778486251831,
0.8211287260055542,
-0.052427858114242554,
-0.022923726588487625,
-0.1531430184841156,
-0.3668063282966614,
-0.2930338382720947,
-0.7316073775291443,
-0.6703028082847595,
0.9216328859329224,
0.3814248740673065,
0.7633656859397888,
-0.4852180480957031,
0.9017447233200073,
0.3125046193599701,
0.9396711587905884,
-0.6881973147392273,
0.49608534574508667,
0.06456256657838821,
-0.009943281300365925,
-0.4647306799888611,
-0.35042837262153625,
-0.4118576943874359,
-0.15342003107070923,
-0.19068585336208344,
-0.15125392377376556,
0.12217669934034348,
0.25313231348991394,
-0.3475968837738037,
-0.13611873984336853,
-0.8585515022277832,
0.40351614356040955,
-0.3429555296897888,
-0.4725625813007355,
-0.0900016725063324,
-0.6684642434120178,
0.04489390179514885,
0.026801427826285362,
0.1406509131193161,
0.1175246313214302,
0.18529744446277618,
0.9359726905822754,
-0.9289432168006897,
1.0897362232208252,
-0.6146093010902405,
-0.13685855269432068,
0.4152727723121643,
0.17943550646305084,
0.4564432203769684,
0.2789127826690674,
-0.11998403072357178,
-0.3132702708244324,
-0.037547629326581955,
-0.1580493152141571,
-0.4973282516002655,
0.7263820767402649,
-0.7579929232597351,
-0.5245617032051086,
-0.3027717173099518,
-0.762255072593689,
-0.2700885832309723,
0.5476534366607666,
0.4685317575931549,
0.17282065749168396,
-0.3201708197593689,
-0.20540256798267365,
0.035075753927230835,
0.2926430404186249,
0.4186117351055145,
0.6202020645141602,
0.1273842602968216,
-0.7952489256858826,
0.8864488005638123,
-0.08614392578601837,
-0.3325747847557068,
0.11492268741130829,
0.08672066777944565,
-0.11913516372442245,
-0.7979265451431274,
-0.6072520613670349,
0.3932279646396637,
-0.4522258937358856,
-0.46192511916160583,
-0.748991072177887,
0.03276221826672554,
-0.7218877077102661,
-0.4923778772354126,
-0.043398529291152954,
-0.8130371570587158,
-0.39110949635505676,
-0.1530156284570694,
0.21710515022277832,
1.3925114870071411,
-0.032721951603889465,
0.13683190941810608,
-0.7280845046043396,
0.24364037811756134,
0.05557478219270706,
0.2575918138027191,
0.10995283722877502,
-0.03536109998822212,
-0.1618443876504898,
-0.13385245203971863,
-0.47212085127830505,
-0.6760355234146118,
0.49729567766189575,
0.3656958341598511,
0.16503413021564484,
0.32509973645210266,
-0.21328173577785492,
0.3324664533138275,
-0.5346038341522217,
0.9173441529273987,
0.2783377170562744,
-0.8266016244888306,
0.8373344540596008,
-0.23725780844688416,
0.3408260941505432,
0.940002977848053,
0.10527341067790985,
-0.22990024089813232,
-1.1201579570770264,
-0.3182145059108734,
-0.7479117512702942,
0.5226899981498718,
-0.07694333046674728,
-0.33740952610969543,
0.023956360295414925,
0.5255574584007263,
0.42472296953201294,
0.45086202025413513,
-0.6651604175567627,
0.6015108823776245,
-0.5396896600723267,
-0.3467116057872772,
0.10544781386852264,
-0.15570132434368134,
-0.43358927965164185,
-0.36559757590293884,
0.6152504086494446,
-0.34913530945777893,
0.2426668256521225,
0.7245103716850281,
-0.151565283536911,
-0.7138871550559998,
0.017558516934514046,
0.9339330792427063,
0.732771098613739,
-0.11565154045820236,
0.15911270678043365,
-0.22171799838542938,
-0.7684685587882996,
-0.07267739623785019,
0.23050840198993683,
-0.6745776534080505,
0.24237915873527527,
0.6177200675010681,
0.5195149779319763,
-0.01537178736180067,
-0.6541749238967896,
0.43497851490974426,
0.000008471441105939448,
-0.605490505695343,
-0.07465415447950363,
0.2790440022945404,
-0.15004797279834747,
-0.09590601176023483,
0.6583179831504822,
0.3424537777900696,
0.14908801019191742,
-0.2546105980873108,
0.14197580516338348,
0.4966529607772827,
-0.44177693128585815,
-0.618680477142334,
0.7191639542579651,
0.6468304991722107,
-0.4532969295978546,
0.4236869215965271,
-0.06407396495342255,
-0.7208186388015747,
0.7186107039451599,
0.6991175413131714,
0.8282738924026489,
-0.1540604680776596,
0.5342539548873901,
0.24478021264076233,
0.23079267144203186,
0.1047481968998909,
0.593015193939209,
-0.2216246873140335,
-0.045644376426935196,
-0.2592231333255768,
-0.6212392449378967,
-0.7595451474189758,
-0.26690641045570374,
-0.46042028069496155,
0.31345900893211365,
-0.8266846537590027,
-0.3098045289516449,
0.220368430018425,
0.26112544536590576,
-0.29513147473335266,
0.055786821991205215,
-0.20211827754974365,
0.6890943646430969,
-0.740054726600647,
0.37114739418029785,
0.9818875789642334,
-0.5111265182495117,
-0.8447343707084656,
-0.21644121408462524,
-0.03264964744448662,
-0.4555688202381134,
0.6561571955680847,
0.13141994178295135,
-0.5293579697608948,
-0.2261633276939392,
-1.0557903051376343,
-0.6932017803192139,
0.8945067524909973,
-0.09937931597232819,
-0.6518007516860962,
0.00019836530555039644,
0.06755518913269043,
1.1241859197616577,
-0.47677767276763916,
0.4777017831802368,
0.18614207208156586,
0.9063142538070679,
-0.10143161565065384,
-0.8266856074333191,
0.28809046745300293,
-0.9746432304382324,
-0.1510157287120819,
-0.0775594711303711,
-0.8838203549385071,
0.3559001088142395,
-0.6704413294792175,
0.13363605737686157,
0.23123398423194885,
0.7326416373252869,
0.3344370126724243,
0.7200425267219543,
0.22859641909599304,
0.3604678511619568,
0.9145928025245667,
0.08883950859308243,
0.8857417106628418,
-0.24036115407943726,
-0.23155617713928223,
0.8974058628082275,
-0.659563422203064,
0.6702732443809509,
0.752799391746521,
0.10595066845417023,
0.6940171122550964,
0.16010017693042755,
-0.5646385550498962,
0.4946374297142029,
0.3398399353027344,
-0.14419935643672943,
0.34540846943855286,
-0.17135216295719147,
-0.24817124009132385,
-0.07311906665563583,
0.289490282535553,
-0.26710572838783264,
0.022025857120752335,
0.17477373778820038,
-0.07249081879854202,
0.24139709770679474,
-0.18921524286270142,
0.809221088886261,
0.18940386176109314,
-1.2026771306991577,
0.21611441671848297,
0.3062634766101837,
0.604601263999939,
-0.5283776521682739,
-0.298811137676239,
-0.22814686596393585,
0.20218685269355774,
-0.7602738738059998,
-0.695112943649292,
0.2901650369167328,
0.3249988257884979,
-0.562468945980072,
-0.31137287616729736,
0.5894114971160889,
-0.4821680188179016,
-0.687423825263977,
-0.050696536898612976,
0.012965532019734383,
-0.14967595040798187,
0.22435268759727478,
-0.430512398481369,
0.06864406168460846,
0.08745770156383514,
-0.4376261234283447,
-0.044362615793943405,
0.20655164122581482,
-0.2879486083984375,
0.542834997177124,
0.6414952874183655,
0.3694683909416199,
-0.10307905822992325,
0.2912466526031494,
0.8480887413024902,
-0.6177467107772827,
-0.43688738346099854,
-0.208016037940979,
0.32554784417152405,
-0.11433055251836777,
-0.5486493110656738,
0.8203824162483215,
0.3396722078323364,
0.28050652146339417,
-0.2069254070520401,
1.3228378295898438,
-0.1811906099319458,
0.8950597643852234,
0.16815030574798584,
0.8923360109329224,
-0.33028239011764526,
-0.09590795636177063,
-0.46582967042922974,
-0.9380258917808533,
-0.632418155670166,
0.3891950845718384,
-0.11092429608106613,
-0.09726958721876144,
0.945925235748291,
0.7179172039031982,
0.3123322129249573,
0.055601779371500015,
-0.5468124747276306,
0.25882577896118164,
0.4447638988494873,
0.25687432289123535,
0.6145233511924744,
0.18529848754405975,
0.3713116943836212,
-0.43755170702934265,
-0.418570876121521,
-0.3663035035133362,
-0.7940579652786255,
-0.9039123058319092,
-0.3320344388484955,
-0.38961318135261536,
-0.5729491114616394,
-0.05135307088494301,
0.5994188189506531,
0.3820108473300934,
-1.0454894304275513,
0.002487787976861,
-0.520089864730835,
-0.11634376645088196,
0.05778443440794945,
-0.2452692687511444,
0.4416629672050476,
-0.4305543303489685,
-0.43479809165000916,
0.5638996362686157,
0.482918918132782,
-0.028847718611359596,
-0.4797232449054718,
-0.030702536925673485,
0.41031748056411743,
0.10143395513296127,
0.2692203223705292,
0.5064210891723633,
-0.49980348348617554,
-0.08385494351387024,
0.2633739709854126,
-0.2814229726791382,
-0.25676533579826355,
1.2441952228546143,
-0.4497576951980591,
0.3562883734703064,
0.6665871143341064,
0.348837673664093,
0.5650894045829773,
0.052495408803224564,
0.9038733839988708,
-0.5223983526229858,
0.07156528532505035,
0.9474949240684509,
0.018482385203242302,
0.5616576671600342,
-0.5517111420631409,
0.3418525755405426,
0.29812920093536377,
-0.6475522518157959,
-1.0689125061035156,
-0.265866756439209,
-1.0015755891799927,
-0.16635341942310333,
1.1038230657577515,
-0.0379311665892601,
-0.2741777300834656,
0.056415386497974396,
-0.5534932613372803,
0.06097738817334175,
-0.48050516843795776,
1.1074632406234741,
0.700605571269989,
-0.5101128816604614,
0.08456967771053314,
0.23583680391311646,
0.6062549352645874,
0.8530300259590149,
-0.7664771676063538,
-0.23710785806179047,
0.6476436853408813,
0.22567030787467957,
0.22560478746891022,
0.6623811721801758,
-0.08632907271385193,
0.6170686483383179,
0.07904626429080963,
0.3266361951828003,
-0.46534791588783264,
-0.581587016582489,
-0.1917545199394226,
0.38522157073020935,
0.257870614528656,
0.7966800332069397
] |
http://arxiv.org/abs/2405.20468v2
|
http://arxiv.org/pdf/2405.20468v2
|
MTEB-French: Resources for French Sentence Embedding Evaluation and Analysis
| 2024-05-30T20:34:37 | 2024-06-17T14:14:54 |
Mathieu Ciancone, Imene Kerboua, Marion Schaeffer, Wissam Siblini
|
cs.CL
|
cs.CL, cs.IR, cs.LG
|
Recently, numerous embedding models have been made available and widely used
for various NLP tasks. The Massive Text Embedding Benchmark (MTEB) has
primarily simplified the process of choosing a model that performs well for
several tasks in English, but extensions to other languages remain challenging.
This is why we expand MTEB to propose the first massive benchmark of sentence
embeddings for French. We gather 15 existing datasets in an easy-to-use
interface and create three new French datasets for a global evaluation of 8
task categories. We compare 51 carefully selected embedding models on a large
scale, conduct comprehensive statistical tests, and analyze the correlation
between model performance and many of their characteristics. We find out that
even if no model is the best on all tasks, large multilingual models
pre-trained on sentence similarity perform exceptionally well. Our work comes
with open-source code, new datasets and a public leaderboard.
|
[
-0.3668805658817291,
-0.7970763444900513,
0.6226634383201599,
0.6109749674797058,
-0.08859231323003769,
-0.15723983943462372,
-0.2947230935096741,
-0.2604472041130066,
0.10599913448095322,
0.5874360799789429,
-0.3351982831954956,
-0.6427620649337769,
-0.860005795955658,
0.18569281697273254,
-0.49809303879737854,
0.6015547513961792,
-0.14501044154167175,
0.3454318642616272,
-0.4520348906517029,
-0.38494616746902466,
-0.6237570643424988,
-0.660472571849823,
-0.44973471760749817,
-0.013696168549358845,
0.56472247838974,
0.22934368252754211,
0.43032485246658325,
0.21984818577766418,
0.6939574480056763,
0.27725404500961304,
0.08228083699941635,
0.2718656361103058,
-0.546642005443573,
-0.06749299168586731,
-0.2995361387729645,
-0.17255739867687225,
-0.4485859274864197,
0.005275475326925516,
0.6194393038749695,
0.729035496711731,
-0.14733053743839264,
0.2680436670780182,
0.16410157084465027,
0.6252143979072571,
-0.572712779045105,
0.25723788142204285,
-0.2651371657848358,
0.038010820746421814,
-0.031179148703813553,
-0.23606358468532562,
-0.6755021214485168,
-0.46680229902267456,
0.10852435231208801,
-0.03798055276274681,
0.007617666851729155,
0.2475452423095703,
0.49568286538124084,
0.0025801558513194323,
-0.9247308969497681,
-0.2355996072292328,
-0.43569985032081604,
0.7653098106384277,
-0.4036801755428314,
0.7315447926521301,
0.19341634213924408,
0.1587325781583786,
0.03283952549099922,
-0.8357927799224854,
-0.3035738468170166,
-0.5215039253234863,
-0.003114339429885149,
0.05970453470945358,
-0.36587488651275635,
-0.23954099416732788,
0.274960994720459,
0.33538368344306946,
-0.9533662796020508,
-0.03916388005018234,
-0.1670440137386322,
-0.009934300556778908,
0.4347628951072693,
0.02277250401675701,
0.2704128324985504,
-0.23859862983226776,
-0.31236496567726135,
-0.2774895429611206,
-0.6093991994857788,
-0.2534728944301605,
0.45186084508895874,
0.23131787776947021,
-0.2055990844964981,
0.8156419396400452,
0.008043874986469746,
0.5288625359535217,
-0.7057016491889954,
0.420924574136734,
0.541071891784668,
-0.20086070895195007,
-0.11320457607507706,
-0.24455463886260986,
0.9192302823066711,
0.6582270264625549,
0.4161919355392456,
-0.2602813243865967,
-0.3473442792892456,
0.08573359251022339,
0.25250011682510376,
-0.8915575742721558,
-0.2597200572490692,
0.030178338289260864,
-0.4826952815055847,
-0.1209413930773735,
-0.06136308237910271,
-0.5128527879714966,
-0.27418220043182373,
-0.19974234700202942,
0.38780200481414795,
-0.39882779121398926,
-0.021033694967627525,
0.120274618268013,
-0.17729485034942627,
-0.04916035383939743,
0.047728586941957474,
-0.5238215327262878,
0.39656132459640503,
0.5442951917648315,
0.8806377649307251,
-0.11206171661615372,
-0.29748424887657166,
-0.8318662047386169,
-0.19555576145648956,
-0.28586873412132263,
0.9397808313369751,
-0.6587902307510376,
-0.49411410093307495,
0.21037612855434418,
0.16583286225795746,
-0.12547054886817932,
-0.5832315683364868,
0.7356675863265991,
-0.2365259826183319,
0.17785951495170593,
-0.3997066915035248,
-0.6914907693862915,
-0.1872919797897339,
0.2871580719947815,
-0.9637852907180786,
1.1057407855987549,
0.1262485682964325,
-0.5782424211502075,
0.14497682452201843,
-0.8288830518722534,
-0.3519635498523712,
-0.010554772801697254,
-0.035493940114974976,
-0.11411481350660324,
0.31267049908638,
0.4562476873397827,
0.670916736125946,
-0.5741283297538757,
0.2387421578168869,
-0.3733919560909271,
-0.051383282989263535,
0.16017204523086548,
-0.3899478316307068,
0.8277013301849365,
0.027109233662486076,
0.0992351546883583,
0.009236358106136322,
-0.5674871206283569,
0.18522115051746368,
0.1907668262720108,
0.059116430580616,
-0.3369348347187042,
0.03864891082048416,
0.5978687405586243,
0.13780352473258972,
0.04669680818915367,
-0.6371021866798401,
0.13972848653793335,
-0.20639586448669434,
0.5386772155761719,
0.5987289547920227,
0.11142677068710327,
0.1079174354672432,
-0.12895379960536957,
0.3440306782722473,
-0.22148755192756653,
0.0067809405736625195,
-0.01404330413788557,
-0.5241254568099976,
-0.2649115025997162,
-0.2514764368534088,
0.7327811121940613,
0.7348911166191101,
-0.4866235554218292,
0.5301064252853394,
-0.4788038730621338,
-0.4324801564216614,
-0.41919875144958496,
0.270934134721756,
0.2675672769546509,
0.06493154913187027,
0.4267139732837677,
-0.41195327043533325,
-0.29069817066192627,
-1.255168080329895,
-0.4064948856830597,
0.3366229832172394,
-0.1433209776878357,
0.1392669528722763,
0.910028338432312,
-0.1721637099981308,
0.5105026960372925,
-0.626592755317688,
-0.24253471195697784,
-0.4859367609024048,
0.2069806307554245,
0.0357598252594471,
0.5102420449256897,
0.8757678270339966,
-0.7417582273483276,
-0.4965839684009552,
-0.11050912737846375,
-0.7664321064949036,
-0.003529916051775217,
0.24379871785640717,
-0.14260423183441162,
-0.13478514552116394,
0.49570950865745544,
-0.30117517709732056,
0.061919957399368286,
0.9488512873649597,
-0.36510881781578064,
0.24440740048885345,
-0.21207992732524872,
0.29331642389297485,
-1.1846539974212646,
-0.024878142401576042,
0.21482934057712555,
-0.5499745011329651,
-0.2779434621334076,
0.12503090500831604,
0.40738463401794434,
-0.2746342420578003,
-0.42460182309150696,
0.664871335029602,
-0.2504417896270752,
0.12844491004943848,
0.03623984754085541,
0.6431140303611755,
0.005794459022581577,
0.420702189207077,
-0.12460735440254211,
0.5355368852615356,
0.5015982389450073,
-0.24260184168815613,
0.4904044568538666,
0.4494361877441406,
-0.7421722412109375,
0.5791956186294556,
-0.8425313234329224,
0.04122166335582733,
-0.025404658168554306,
0.15177546441555023,
-0.9073345065116882,
0.1105383113026619,
-0.06041451171040535,
-0.2593805193901062,
0.16755695641040802,
0.004506120923906565,
-0.9360106587409973,
-0.42138412594795227,
-0.21871958673000336,
0.23842716217041016,
0.4937262535095215,
-0.5093209743499756,
0.4795052111148834,
0.41411763429641724,
-0.33832961320877075,
-0.5105726718902588,
-0.7689908742904663,
0.12040884047746658,
0.08858387172222137,
-0.5524953007698059,
0.21651135385036469,
-0.14906145632266998,
-0.03824678435921669,
0.20944775640964508,
-0.18304939568042755,
-0.1572670191526413,
-0.06173171103000641,
0.13845787942409515,
0.11214637011289597,
-0.22721871733665466,
0.20355230569839478,
0.01200905628502369,
-0.07250647991895676,
0.040074415504932404,
-0.15910780429840088,
0.41612058877944946,
-0.28777310252189636,
-0.3256986737251282,
-0.1694813072681427,
0.4465833008289337,
0.3407719135284424,
-0.5664544701576233,
0.9262974858283997,
0.5607759356498718,
-0.4142765998840332,
-0.2411176562309265,
-0.6752794981002808,
0.0320265106856823,
-0.41242480278015137,
0.5554068684577942,
-0.3638642430305481,
-0.9001540541648865,
0.22063229978084564,
-0.1920413225889206,
0.17028503119945526,
0.5276548266410828,
0.46260273456573486,
-0.024846144020557404,
1.0307012796401978,
0.8163254857063293,
-0.02127310447394848,
0.2337590903043747,
-0.32594820857048035,
0.3346969187259674,
-0.6392408609390259,
-0.1475764960050583,
-0.5659157037734985,
-0.32812562584877014,
-0.7537038326263428,
-0.6003544926643372,
-0.007038000505417585,
-0.08872690051794052,
0.03201404586434364,
0.5954122543334961,
-0.22262068092823029,
0.4495677947998047,
0.4132501482963562,
0.11780543625354767,
0.04890543967485428,
0.05209009721875191,
-0.21088913083076477,
-0.1514945775270462,
-0.562613844871521,
-0.7341210246086121,
1.2158523797988892,
0.13204450905323029,
0.4401807188987732,
0.11501883715391159,
0.47061458230018616,
0.48018425703048706,
0.3473576307296753,
-0.5735727548599243,
0.6112316846847534,
-0.5397741198539734,
-0.5450229048728943,
-0.0777810588479042,
-0.6648994088172913,
-0.8114257454872131,
0.47608035802841187,
-0.42403295636177063,
-0.7261518836021423,
-0.15873777866363525,
0.009458369575440884,
-0.1385459303855896,
0.2694510221481323,
-0.9295377135276794,
1.3766894340515137,
-0.20125649869441986,
-0.3402094542980194,
-0.2915956974029541,
-0.20161059498786926,
0.08832651376724243,
-0.008977717719972134,
0.3411169648170471,
-0.2842787206172943,
-0.031901780515909195,
0.8082427978515625,
-0.12256475538015366,
0.3945121467113495,
-0.1682785451412201,
-0.06538423150777817,
0.12822887301445007,
-0.04385417699813843,
0.446965754032135,
0.12269897013902664,
-0.22024773061275482,
0.13479234278202057,
0.0530521497130394,
-0.4797186553478241,
-0.5837535262107849,
1.002510666847229,
-0.38492462038993835,
-0.24789488315582275,
-0.29423731565475464,
-0.40816035866737366,
-0.3986530303955078,
0.1616794615983963,
0.05791109800338745,
0.8561120629310608,
-0.7351848483085632,
0.7511284351348877,
0.34733349084854126,
-0.39657872915267944,
0.32432621717453003,
0.40070584416389465,
-0.31294843554496765,
-0.2699001431465149,
0.7990689277648926,
-0.012450999580323696,
-0.06119413301348686,
0.7438392043113708,
-0.015197823755443096,
-0.32831284403800964,
-0.33624908328056335,
-0.18164217472076416,
0.12323682755231857,
-0.6759706139564514,
0.029431559145450592,
-0.860444962978363,
0.11735408753156662,
-0.3410397171974182,
-0.17461594939231873,
-0.6118601560592651,
-0.5384576916694641,
0.34281933307647705,
-0.430019736289978,
0.13290537893772125,
0.7316610217094421,
0.1286592334508896,
0.2194947898387909,
-0.9985944628715515,
0.42961248755455017,
0.06198839098215103,
0.4660162925720215,
-0.2366076558828354,
-0.21730674803256989,
-0.3287429213523865,
-0.1487463414669037,
-0.3520910143852234,
-0.7931734323501587,
0.37804463505744934,
0.0005326119135133922,
0.6188039779663086,
0.15462933480739594,
-0.020032839849591255,
0.19140154123306274,
-0.8921006321907043,
0.7774330973625183,
0.06094946339726448,
-0.9706698656082153,
0.3769822120666504,
-0.03889856114983559,
0.1682535707950592,
0.4097304344177246,
0.5744208097457886,
-0.4003960192203522,
-0.21246814727783203,
-0.3742309510707855,
-0.8851310014724731,
0.2770393192768097,
0.5286599397659302,
0.2809060513973236,
-0.2463776022195816,
-0.014584237709641457,
0.14736464619636536,
0.3976508677005768,
-0.7822259068489075,
-0.43089526891708374,
0.07440711557865143,
-0.1994166523218155,
-0.5378634929656982,
-0.29125818610191345,
-0.1971203088760376,
-0.008162595331668854,
0.49383455514907837,
0.15251374244689941,
0.46710771322250366,
-0.1167113184928894,
-0.509970486164093,
0.13179098069667816,
0.33983945846557617,
0.42467719316482544,
0.7187212109565735,
-0.3171271085739136,
-0.014656874351203442,
0.4121897220611572,
-0.2341172993183136,
-0.019265059381723404,
0.28804633021354675,
0.2938193380832672,
0.1676349639892578,
0.5949288010597229,
0.8221140503883362,
0.4003928601741791,
-0.8594793081283569,
0.7187318801879883,
-0.19194138050079346,
-0.362203449010849,
-0.2599136233329773,
-0.14279651641845703,
0.24859239161014557,
0.26097044348716736,
0.02843032032251358,
0.06367038935422897,
0.1792929321527481,
-0.6359467506408691,
0.31754109263420105,
0.3646667003631592,
-0.4110194742679596,
-0.20651490986347198,
0.630547285079956,
0.40120574831962585,
-0.20329485833644867,
0.7203170657157898,
-0.2000427097082138,
-0.4282148778438568,
0.5275743007659912,
0.264627069234848,
0.9428548812866211,
-0.2740744948387146,
0.2902226448059082,
0.5165421366691589,
0.8003449440002441,
-0.24768103659152985,
0.4450126588344574,
0.3047736883163452,
-0.5022460222244263,
-0.5657452344894409,
-0.41602909564971924,
-0.3380117118358612,
-0.016367340460419655,
-0.7452338337898254,
0.25005823373794556,
-0.07774820178747177,
-0.0716468021273613,
-0.10599085688591003,
-0.051930300891399384,
-1.084733247756958,
0.2809477150440216,
0.07822518795728683,
1.0250847339630127,
-0.9343166947364807,
0.7199006676673889,
0.6726678609848022,
-0.17624066770076752,
-0.3081950545310974,
-0.15738876163959503,
-0.11545436829328537,
-0.6592522263526917,
0.5396416187286377,
0.49350056052207947,
0.04901830479502678,
-0.031493380665779114,
-0.30963364243507385,
-0.5277554988861084,
0.8734685182571411,
0.44890305399894714,
-0.7560070157051086,
-0.0021536441054195166,
0.0014648089418187737,
0.4393914043903351,
-0.470516175031662,
0.3669489622116089,
0.3149370551109314,
0.507519006729126,
-0.3417152464389801,
-0.7316610217094421,
0.006430476438254118,
-0.3234993815422058,
-0.07675789296627045,
0.3347528576850891,
-0.4813910126686096,
0.5456298589706421,
0.017204228788614273,
-0.10138716548681259,
0.006667261943221092,
0.5028899312019348,
-0.31326040625572205,
0.07219526171684265,
0.38154885172843933,
0.7990407943725586,
0.7057917714118958,
-0.34953778982162476,
1.4310780763626099,
-0.4278440773487091,
0.4557376503944397,
1.2090059518814087,
-0.46900761127471924,
1.2391161918640137,
0.09568352997303009,
-0.1388891041278839,
0.523657500743866,
0.3485448360443115,
-0.33069103956222534,
0.46098124980926514,
0.18480008840560913,
0.1314038634300232,
-0.2583579421043396,
0.022287292405962944,
-0.4979794919490814,
0.22616828978061676,
0.2791704535484314,
-0.3228001594543457,
-0.17684102058410645,
0.3351169228553772,
-0.25035279989242554,
0.08176153898239136,
-0.09599240869283676,
0.40115150809288025,
0.22941799461841583,
-0.33976709842681885,
0.27237468957901,
-0.017276788130402565,
0.2946925163269043,
-0.6961444020271301,
0.01699555665254593,
-0.13089874386787415,
0.1105763241648674,
0.01692654937505722,
-0.7934396266937256,
0.14984099566936493,
0.07769230008125305,
-0.06501410901546478,
-0.4786892533302307,
0.21781250834465027,
-0.4018470346927643,
-0.5115293860435486,
0.6871191263198853,
0.7393678426742554,
0.004506161902099848,
-0.37835803627967834,
-0.700385570526123,
0.021823784336447716,
-0.10682926326990128,
-0.49813222885131836,
0.25045645236968994,
0.4608973264694214,
0.16502530872821808,
0.6353890299797058,
0.4452607035636902,
-0.17874164879322052,
-0.16858109831809998,
0.2990322411060333,
0.6081761717796326,
-0.7918083071708679,
-0.366736501455307,
-0.8251558542251587,
0.631180465221405,
-0.31586581468582153,
-0.23314251005649567,
0.8724293112754822,
0.9517483711242676,
0.8744604587554932,
-0.24145454168319702,
0.8768169283866882,
-0.09361783415079117,
0.49318575859069824,
-0.5898985862731934,
0.5204206109046936,
-0.9239411354064941,
-0.035315338522195816,
-0.2751513719558716,
-1.4637929201126099,
-0.3396635353565216,
0.614324152469635,
-0.3684849739074707,
0.029154550284147263,
1.3918436765670776,
0.751964807510376,
-0.25906339287757874,
0.035568516701459885,
0.49592435359954834,
0.2619709372520447,
0.2507200539112091,
0.42903390526771545,
0.6533282399177551,
-0.5527547597885132,
0.6223558187484741,
-0.2102893590927124,
-0.18034370243549347,
-0.2600817084312439,
-1.0925003290176392,
-1.2359898090362549,
-0.6328408718109131,
-0.4490973949432373,
-0.11469793319702148,
0.11661347001791,
1.1260896921157837,
0.460340291261673,
-0.9323462247848511,
-0.19174236059188843,
0.1552008092403412,
-0.013211909681558609,
-0.3586066961288452,
-0.15985286235809326,
0.4092024266719818,
-0.14882974326610565,
-0.880867600440979,
0.5763099789619446,
0.3384952247142792,
-0.14613988995552063,
0.141555055975914,
0.19202300906181335,
-0.22804996371269226,
0.1781436949968338,
0.9362046122550964,
-0.1073550283908844,
-0.45337143540382385,
-0.22398343682289124,
0.08264180272817612,
-0.25535303354263306,
-0.141574427485466,
0.8815916776657104,
-0.23955455422401428,
0.49228131771087646,
0.4990353584289551,
0.6646935343742371,
0.4221903383731842,
-0.34742599725723267,
0.7863228917121887,
-0.7381890416145325,
0.12038323283195496,
0.0868096873164177,
0.7797805070877075,
0.2519671320915222,
0.28603416681289673,
0.8474532961845398,
0.041416194289922714,
-0.5587252378463745,
-0.9827020764350891,
0.0017230274388566613,
-0.9969096183776855,
-0.1853417605161667,
0.8781184554100037,
-0.13473249971866608,
0.1365659087896347,
0.30731940269470215,
-0.2840246558189392,
0.03870071843266487,
-0.30093640089035034,
0.3863772749900818,
1.0177326202392578,
0.18404430150985718,
-0.1807008534669876,
-1.1406230926513672,
0.16135543584823608,
0.4591233730316162,
-0.756196141242981,
-0.023504892364144325,
0.4025159776210785,
0.10696247220039368,
0.036691974848508835,
0.23738113045692444,
-0.018877053633332253,
0.11366739124059677,
0.13292932510375977,
0.15312322974205017,
-0.004860019311308861,
-0.3533306419849396,
0.009052332490682602,
0.48167887330055237,
-0.12388258427381516,
-0.06992942094802856
] |
http://arxiv.org/abs/2405.20461v1
|
http://arxiv.org/pdf/2405.20461v1
|
Scalable Detection of Salient Entities in News Articles
| 2024-05-30T20:16:27 | 2024-05-30T20:16:27 |
Eliyar Asgarieh, Kapil Thadani, Neil O'Hare
|
cs.CL
|
cs.CL
|
News articles typically mention numerous entities, a large fraction of which
are tangential to the story. Detecting the salience of entities in articles is
thus important to applications such as news search, analysis and summarization.
In this work, we explore new approaches for efficient and effective salient
entity detection by fine-tuning pretrained transformer models with
classification heads that use entity tags or contextualized entity
representations directly. Experiments show that these straightforward
techniques dramatically outperform prior work across datasets with varying
sizes and salience definitions. We also study knowledge distillation techniques
to effectively reduce the computational cost of these models without affecting
their accuracy. Finally, we conduct extensive analyses and ablation experiments
to characterize the behavior of the proposed models.
|
[
-0.7571325302124023,
-0.5224920511245728,
0.7054956555366516,
0.03152553737163544,
-0.518112301826477,
-0.051806360483169556,
-0.2889724671840668,
-0.7130496501922607,
0.27879050374031067,
0.33179572224617004,
-0.5057801604270935,
-0.41968512535095215,
-0.8363138437271118,
0.14542117714881897,
-0.7085230350494385,
1.2442348003387451,
0.1391422003507614,
-0.24777185916900635,
-0.11745333671569824,
-0.1877835988998413,
-0.24522919952869415,
-0.11316036432981491,
-0.595581591129303,
-0.04216403514146805,
0.7289317846298218,
0.2989298105239868,
0.5944027304649353,
0.49774399399757385,
0.7729917764663696,
0.2767840027809143,
-0.12249699980020523,
0.03690352290868759,
-0.25385528802871704,
0.1366398185491562,
-0.4434855282306671,
-0.6107397675514221,
-0.07753045856952667,
-0.08622701466083527,
0.5510790944099426,
0.8032678961753845,
0.13306212425231934,
0.4738588035106659,
-0.2937478721141815,
0.7463598251342773,
-0.605726957321167,
-0.06802741438150406,
-1.0088788270950317,
-0.08779636770486832,
-0.4832912087440491,
-0.014644663780927658,
-0.38712072372436523,
-0.27998825907707214,
0.34103596210479736,
-0.3556975722312927,
0.6275240778923035,
0.21193715929985046,
1.2409648895263672,
0.7791728377342224,
-0.4159407913684845,
-0.3021661341190338,
-0.6484494209289551,
0.7941253185272217,
-0.4317919909954071,
0.748867928981781,
0.06499665230512619,
0.14982418715953827,
0.24937616288661957,
-0.890568196773529,
-0.49198225140571594,
-0.18306942284107208,
-0.5329337120056152,
-0.25988882780075073,
-0.7275691032409668,
-0.07675294578075409,
0.4255194067955017,
0.34348487854003906,
-0.35695526003837585,
0.1510254591703415,
-0.29405173659324646,
0.2564318776130676,
0.28999072313308716,
-0.2699558138847351,
0.19586467742919922,
-0.3059166669845581,
-0.2701549530029297,
0.22227737307548523,
-0.33716097474098206,
-0.08304664492607117,
0.36144351959228516,
-0.0002863677800633013,
0.2596437335014343,
0.39214858412742615,
-0.2655775845050812,
0.7566710114479065,
0.6003938317298889,
-0.21230672299861908,
0.22004304826259613,
-0.3026408553123474,
-0.09970963001251221,
0.25773146748542786,
0.3517610728740692,
0.3403133451938629,
0.04365134239196777,
-0.310992568731308,
-0.26359036564826965,
-0.021196480840444565,
0.6559178829193115,
-0.8806827068328857,
-0.43716707825660706,
0.1190166026353836,
-0.4612482488155365,
-0.2508154511451721,
-0.10293492674827576,
-0.7340248227119446,
-0.1529870480298996,
-0.3838217258453369,
0.12461733818054199,
-0.4159030616283417,
-0.143437460064888,
0.034876272082328796,
-0.3539508879184723,
-0.18221868574619293,
0.2209678441286087,
-1.027589201927185,
-0.05885862559080124,
0.4294999837875366,
0.8543164730072021,
-0.27973484992980957,
-0.04195835068821907,
-0.24601922929286957,
0.15251053869724274,
0.062244608998298645,
1.0967662334442139,
-0.5894409418106079,
-0.04838554561138153,
-0.4210183620452881,
-0.09822555631399155,
0.18872126936912537,
-0.48689720034599304,
0.7186822891235352,
-0.7756016254425049,
-0.10299356281757355,
-0.3294007480144501,
-0.41510093212127686,
-0.3205491602420807,
0.22103729844093323,
-1.0523039102554321,
0.8008922934532166,
0.4236498475074768,
-1.0898516178131104,
0.7399578094482422,
-0.8402566909790039,
-0.6513833999633789,
-0.1579258292913437,
0.15644340217113495,
-0.8007582426071167,
0.6105353236198425,
0.4735282063484192,
0.5808923244476318,
-0.10864631086587906,
0.32242217659950256,
0.22823373973369598,
-0.19644378125667572,
0.1543586403131485,
-0.2857835590839386,
0.2615591883659363,
0.1795346885919571,
-0.49260851740837097,
0.03800138831138611,
-0.8433791995048523,
-0.4953012764453888,
0.009199014864861965,
-0.1815233826637268,
-0.8875323534011841,
-0.23260678350925446,
-0.13496309518814087,
-0.13728085160255432,
0.034744977951049805,
-0.25054970383644104,
0.18698783218860626,
-0.019910091534256935,
0.22179491817951202,
0.2402494251728058,
0.3781351149082184,
0.6031286120414734,
0.021746208891272545,
0.10952813923358917,
0.5559812188148499,
0.06550601869821548,
-0.5036024451255798,
-0.13958369195461273,
-0.851932168006897,
-0.39216670393943787,
0.37291908264160156,
-0.14417919516563416,
-0.9062665700912476,
0.5553854703903198,
-0.3540878891944885,
-0.6057539582252502,
-0.47052666544914246,
-0.20784780383110046,
0.022157510742545128,
0.8525186777114868,
0.6035645604133606,
-0.1049455851316452,
-0.6239107847213745,
-0.9716026186943054,
-0.7177641987800598,
0.10680363327264786,
-0.2145673781633377,
0.008549767546355724,
0.4606058895587921,
-0.28699246048927307,
1.127030849456787,
-0.6693944931030273,
-0.08624938130378723,
0.1019238755106926,
0.518890380859375,
0.18853771686553955,
0.47578200697898865,
0.8809359669685364,
-1.303411602973938,
-0.17484930157661438,
-0.22399958968162537,
-0.506523072719574,
-0.12297327071428299,
-0.1946643590927124,
0.0876573696732521,
-0.07421446591615677,
0.3928719162940979,
-0.7751181721687317,
0.30986618995666504,
0.17643383145332336,
-0.2960931658744812,
0.4062114655971527,
0.30692848563194275,
0.33547237515449524,
-0.8236368298530579,
0.09436528384685516,
0.5421813130378723,
-0.3459462821483612,
-0.7821784615516663,
-0.16049987077713013,
0.21447274088859558,
-0.07936853170394897,
-0.49765318632125854,
0.28413546085357666,
-0.7010220885276794,
-0.20381282269954681,
-0.29906541109085083,
0.10490255802869797,
0.2052864134311676,
0.39413195848464966,
0.22233158349990845,
0.6046224236488342,
0.293130099773407,
-0.7726733684539795,
0.3815585672855377,
0.01605844311416149,
-0.3379482626914978,
0.8541746735572815,
-0.5673224925994873,
-0.27337172627449036,
-0.6313198208808899,
0.18957993388175964,
-0.7895888686180115,
-0.2989673316478729,
-0.08286520838737488,
-0.3034362196922302,
0.33980488777160645,
-0.22851455211639404,
-0.4968963861465454,
-0.49838054180145264,
-0.17342925071716309,
0.3526555001735687,
0.3824627101421356,
-0.7374507784843445,
0.5586265325546265,
0.42471033334732056,
-0.04360523447394371,
-0.6369539499282837,
-0.678677499294281,
-0.1681755930185318,
-0.5597307682037354,
-0.3191087543964386,
0.485830157995224,
0.3779899775981903,
-0.12995679676532745,
0.4027831554412842,
-0.43187445402145386,
-0.13504496216773987,
0.3686341941356659,
0.19872066378593445,
0.23106208443641663,
-0.20806482434272766,
0.4071290194988251,
0.2638700604438782,
-0.23362058401107788,
-0.05534766986966133,
-0.46299564838409424,
0.45013657212257385,
-0.2027658373117447,
-0.3573606014251709,
-0.479002982378006,
0.14222027361392975,
0.7500365376472473,
-0.5491076111793518,
0.7446357011795044,
1.060737133026123,
-0.5603455901145935,
0.008993242867290974,
-0.8453164100646973,
-0.2953428328037262,
-0.4245871901512146,
0.621880829334259,
-0.09763402491807938,
-0.8313413262367249,
0.39485543966293335,
-0.49145272374153137,
0.02103411965072155,
0.6396403908729553,
0.4108636677265167,
0.06397797167301178,
0.687241792678833,
0.7689344882965088,
-0.10890360176563263,
0.7222931981086731,
-0.19867156445980072,
0.3587853014469147,
-0.6672733426094055,
-0.27322524785995483,
-0.6105629205703735,
-0.510059654712677,
-0.33066222071647644,
-0.2690195143222809,
0.5230021476745605,
0.24895070493221283,
-0.04452496021986008,
0.519612729549408,
-0.8046945929527283,
0.8448896408081055,
0.6239197850227356,
0.12378774583339691,
0.5621626973152161,
0.01171866338700056,
0.48664283752441406,
-0.052177395671606064,
-0.3122502863407135,
-0.5155147910118103,
0.7498176693916321,
0.6009717583656311,
0.7696188688278198,
-0.03494098410010338,
0.580124020576477,
0.1232762485742569,
0.4629243314266205,
-0.861506462097168,
0.13348108530044556,
-0.08199943602085114,
-0.5051019787788391,
-0.4233531355857849,
-0.22097966074943542,
-0.730545163154602,
0.17440728843212128,
-0.22776104509830475,
-0.6456820964813232,
0.5036266446113586,
0.03497402369976044,
-0.5497860908508301,
0.56550133228302,
-0.650615394115448,
0.6906524300575256,
-0.059077948331832886,
-0.04009736701846123,
-0.07579696923494339,
-0.43924427032470703,
0.460776686668396,
-0.2273751199245453,
-0.14212250709533691,
-0.3044561743736267,
-0.09552731364965439,
0.6017540693283081,
0.08797191828489304,
0.4451214373111725,
-0.2166357934474945,
-0.19763906300067902,
0.17099659144878387,
-0.42193710803985596,
0.5525917410850525,
0.38668039441108704,
-0.03403051570057869,
0.4383727014064789,
-0.5340183973312378,
-0.35444140434265137,
-0.5387875437736511,
0.6309512853622437,
-0.5032945275306702,
-0.6304124593734741,
-0.18308459222316742,
-0.5853115916252136,
-0.12277773767709732,
0.36903855204582214,
0.5426365733146667,
0.04561474546790123,
-0.012908320873975754,
0.3231237828731537,
1.0306413173675537,
0.2456541508436203,
0.7233846187591553,
0.5220372676849365,
0.13902847468852997,
0.056261274963617325,
0.6369932889938354,
0.12689074873924255,
-0.2131485939025879,
0.31667661666870117,
-0.39251112937927246,
-0.2830875813961029,
-0.7242791056632996,
-0.43238601088523865,
0.16470149159431458,
-0.5228487253189087,
-0.46666619181632996,
-0.9918588399887085,
-0.036871932446956635,
-0.09457456320524216,
-0.2560545802116394,
-0.7001278400421143,
-0.26866766810417175,
-0.6539955139160156,
-0.1402186006307602,
0.3374798893928528,
0.38470423221588135,
0.1985917091369629,
0.5057948231697083,
-0.8352993726730347,
0.5218806266784668,
0.45862311124801636,
0.47654959559440613,
0.02812550775706768,
-0.25143569707870483,
-0.39107194542884827,
-0.07724308222532272,
-0.28728386759757996,
-0.8038386106491089,
0.25656285881996155,
-0.10094710439443588,
0.49720877408981323,
0.6054054498672485,
0.1518774777650833,
0.5282673239707947,
-0.6063093543052673,
0.8764976859092712,
0.41394156217575073,
-1.1359976530075073,
0.7602102160453796,
-0.01103019155561924,
0.12820833921432495,
0.6118834614753723,
1.0047783851623535,
-0.3415478765964508,
-0.25889021158218384,
-0.5477643013000488,
-0.8112033605575562,
0.5389889478683472,
0.1915467083454132,
0.07856318354606628,
-0.033483363687992096,
0.4527680575847626,
0.17908720672130585,
0.4531431198120117,
-0.6737074255943298,
-0.3892132043838501,
-0.22800157964229584,
-0.08505190908908844,
0.2051616758108139,
-0.3857369124889374,
0.009954654611647129,
-0.11297227442264557,
0.5683570504188538,
0.12998470664024353,
0.041977494955062866,
0.2208537459373474,
-0.46883073449134827,
-0.14293122291564941,
0.25064602494239807,
0.4701005816459656,
0.6023369431495667,
0.03211390599608421,
0.5817468166351318,
0.23184826970100403,
-0.5540931224822998,
0.16155564785003662,
0.36637601256370544,
-0.13749666512012482,
0.7327853441238403,
0.11881382763385773,
0.9310691952705383,
0.6041489243507385,
-0.5226417779922485,
0.39908739924430847,
-0.1493556648492813,
0.26193946599960327,
-0.1444237381219864,
0.13646602630615234,
0.06390014290809631,
0.6011664271354675,
0.7037224173545837,
0.39550215005874634,
0.4910244941711426,
-0.4630604386329651,
0.4145015776157379,
0.30231842398643494,
-0.2864295244216919,
-0.4146096706390381,
0.7564002871513367,
0.284856915473938,
0.10281331092119217,
0.3507884740829468,
-0.2950434684753418,
-0.5416914224624634,
0.34538188576698303,
0.33486226201057434,
0.6470102667808533,
-0.39067962765693665,
0.0787036120891571,
0.13202500343322754,
0.25087401270866394,
-0.2256607860326767,
-0.42828795313835144,
-0.05607350915670395,
-0.5929158329963684,
-0.06631738692522049,
-0.7045687437057495,
-0.3421199917793274,
0.11015227437019348,
-0.7075159549713135,
0.38275057077407837,
-0.068369060754776,
-0.47491455078125,
0.8520823121070862,
-0.12949800491333008,
-0.6762464046478271,
0.24714672565460205,
0.2458704113960266,
0.6327931880950928,
-0.8874926567077637,
0.4934301972389221,
0.7606765627861023,
-0.4685975909233093,
-0.4279339611530304,
0.3293507993221283,
-0.36023566126823425,
-0.3059685528278351,
0.8221389651298523,
0.18714848160743713,
0.2837299704551697,
0.2782951593399048,
-0.46004217863082886,
-0.9075627326965332,
1.082368016242981,
0.6914719939231873,
-0.8092641830444336,
-0.38600045442581177,
-0.07483241707086563,
0.269290953874588,
-0.21770638227462769,
0.2961844801902771,
0.8950501680374146,
0.6463325619697571,
0.19594629108905792,
-0.9059324860572815,
-0.09098812937736511,
0.030826544389128685,
0.1828577071428299,
0.3365175724029541,
-0.6804258227348328,
1.0901328325271606,
-0.19275757670402527,
-0.3350633382797241,
-0.6064473986625671,
0.9394283890724182,
0.11579062789678574,
0.5434529781341553,
0.6112831234931946,
0.6090116500854492,
1.1406928300857544,
-0.33732834458351135,
0.688959538936615,
-0.34292304515838623,
0.6637822985649109,
0.8835605382919312,
-0.012385142035782337,
0.23385147750377655,
0.5268416404724121,
-0.0318211168050766,
0.5156092643737793,
0.5338705778121948,
-0.40690848231315613,
0.6533837914466858,
0.08206292241811752,
-0.4561719000339508,
0.03345280513167381,
-0.4215620160102844,
-0.3083409368991852,
0.3406534790992737,
0.2509987950325012,
-0.45187893509864807,
-0.46579882502555847,
0.35334035754203796,
0.12505599856376648,
-0.07233534008264542,
-0.648629367351532,
0.5747290849685669,
-0.025180628523230553,
-0.6303859353065491,
0.3853074312210083,
0.13677383959293365,
1.0139044523239136,
-0.2615043520927429,
0.049880728125572205,
-0.045579031109809875,
-0.03552288934588432,
-0.4617227613925934,
-0.5871706604957581,
0.5816704034805298,
0.2194698601961136,
-0.5519950985908508,
0.07768471539020538,
1.204083800315857,
-0.5738930702209473,
-0.31048986315727234,
-0.3040490746498108,
0.3850618600845337,
-0.003973950631916523,
-0.602000892162323,
-0.2875783145427704,
-0.037988558411598206,
-0.14707611501216888,
-0.5164436101913452,
-0.030309919267892838,
0.7057073712348938,
0.11319068819284439,
0.4094560742378235,
0.6285651326179504,
-0.18763159215450287,
0.006820026319473982,
-0.06525316089391708,
1.2082687616348267,
-0.5299364924430847,
-0.6369300484657288,
-0.9773719906806946,
0.6281843781471252,
-0.3970831632614136,
0.016727838665246964,
0.6914677023887634,
0.5504648685455322,
0.8689781427383423,
-0.514168918132782,
0.5755032300949097,
0.13772588968276978,
0.32402774691581726,
-0.44005969166755676,
0.8301218152046204,
-0.2646332383155823,
0.20248563587665558,
-0.1952170729637146,
-0.9448769092559814,
-0.3720392882823944,
0.47537142038345337,
-0.19350764155387878,
-0.012197121977806091,
0.6658335328102112,
0.15813884139060974,
-0.2795298993587494,
0.1425451785326004,
0.30053895711898804,
-0.05287794768810272,
0.14477932453155518,
0.2727801501750946,
0.7152270674705505,
-0.32996660470962524,
0.2298647165298462,
-0.2900031805038452,
0.0029968975577503443,
-0.4311133921146393,
-0.9559994339942932,
-1.1255873441696167,
-0.5448506474494934,
-0.5015770792961121,
0.15810030698776245,
-0.07597263902425766,
0.5612290501594543,
0.9300637245178223,
-0.8063412308692932,
0.7103738784790039,
-0.04592088237404823,
0.4772132933139801,
-0.006344526074826717,
-0.2252717763185501,
0.4463384449481964,
-0.531503438949585,
-1.021299958229065,
-0.08414844423532486,
0.3530183732509613,
0.22053830325603485,
-0.19248637557029724,
0.5695779919624329,
-0.2215091437101364,
-0.0883210152387619,
0.5692850947380066,
0.0018961919704452157,
-0.5590751767158508,
-0.4461921155452728,
-0.13382376730442047,
0.06645743548870087,
-0.05171173810958862,
0.9061594605445862,
-0.7369025349617004,
-0.06917046010494232,
0.143995463848114,
0.6831423044204712,
0.5597715973854065,
0.2799113392829895,
-0.20207953453063965,
-1.2764270305633545,
0.5508390069007874,
0.33112743496894836,
0.3310317099094391,
0.3106484115123749,
-0.7405704259872437,
0.5281680226325989,
0.3715038001537323,
-0.37952837347984314,
-0.9025803804397583,
0.014682159759104252,
-0.8300207257270813,
-0.2873762547969818,
0.67987060546875,
-0.24204829335212708,
-0.2125619798898697,
-0.010660016909241676,
-0.022156495600938797,
0.5103433132171631,
-0.38111576437950134,
0.7621829509735107,
0.4031270146369934,
-0.10841771960258484,
-0.33284103870391846,
-0.29812759160995483,
0.5549978613853455,
-0.03142036497592926,
-0.8915254473686218,
-0.09144499897956848,
0.39684706926345825,
0.34142255783081055,
0.7635291814804077,
0.18166042864322662,
0.05991487577557564,
0.1578834354877472,
-0.05404788255691528,
0.134687602519989,
-0.28637397289276123,
-0.489292174577713,
-0.15941743552684784,
0.2552857995033264,
-0.2586275041103363,
-0.18879655003547668
] |
http://arxiv.org/abs/2405.20419v1
|
http://arxiv.org/pdf/2405.20419v1
|
Enhancing Antibiotic Stewardship using a Natural Language Approach for Better Feature Representation
| 2024-05-30T18:53:53 | 2024-05-30T18:53:53 |
Simon A. Lee, Trevor Brokowski, Jeffrey N. Chiang
|
cs.LG
|
cs.LG, cs.AI, cs.CL
|
The rapid emergence of antibiotic-resistant bacteria is recognized as a
global healthcare crisis, undermining the efficacy of life-saving antibiotics.
This crisis is driven by the improper and overuse of antibiotics, which
escalates bacterial resistance. In response, this study explores the use of
clinical decision support systems, enhanced through the integration of
electronic health records (EHRs), to improve antibiotic stewardship. However,
EHR systems present numerous data-level challenges, complicating the effective
synthesis and utilization of data. In this work, we transform EHR data into a
serialized textual representation and employ pretrained foundation models to
demonstrate how this enhanced feature representation can aid in antibiotic
susceptibility predictions. Our results suggest that this text representation,
combined with foundation models, provides a valuable tool to increase
interpretability and support antibiotic stewardship efforts.
|
[
-0.13076746463775635,
-0.6710816025733948,
0.8492099046707153,
-0.4134037494659424,
-0.3288436830043793,
0.014959589578211308,
0.3514953553676605,
-0.48163455724716187,
0.49614831805229187,
0.960505485534668,
-0.23681393265724182,
-0.3676229417324066,
-0.7220459580421448,
0.19763319194316864,
-0.2177726775407791,
1.5471017360687256,
0.04211541265249252,
0.12306483089923859,
-0.5353143215179443,
-0.34289786219596863,
-0.32386475801467896,
-0.7007822394371033,
-0.27532944083213806,
-0.48450085520744324,
0.4451545476913452,
0.3850313723087311,
0.7036582827568054,
0.7004424929618835,
0.8991318345069885,
0.14476138353347778,
0.04532260447740555,
-0.040914349257946014,
-0.10729663819074631,
0.037861041724681854,
-0.28999239206314087,
-0.5817551612854004,
-0.7885091304779053,
-0.5080538392066956,
0.37954017519950867,
0.8246597647666931,
-0.19693738222122192,
0.2723909914493561,
-0.08245435357093811,
0.6857525110244751,
-0.34075281023979187,
0.1243659108877182,
-0.32674193382263184,
0.006964982952922583,
-0.15861576795578003,
-0.27675512433052063,
-0.1586480736732483,
-0.14879906177520752,
0.790126383304596,
-1.0678021907806396,
0.13673371076583862,
0.0011620699660852551,
0.4181828200817108,
0.0930953100323677,
-0.6137531399726868,
-0.4344920217990875,
-0.6527363657951355,
0.3681643307209015,
-0.6452159285545349,
0.4957694113254547,
0.35681524872779846,
0.3460672199726105,
-0.20912779867649078,
-0.9124560356140137,
-0.35518884658813477,
-0.0038803217466920614,
-0.3343411087989807,
-0.020769918337464333,
-0.40704500675201416,
-0.03066374734044075,
0.036233678460121155,
0.3767520487308502,
-0.4703993797302246,
-0.23365901410579681,
-0.5395943522453308,
-0.14369389414787292,
0.4709250032901764,
0.31601211428642273,
0.30884459614753723,
-0.16160434484481812,
-0.7099811434745789,
-0.1329248696565628,
-0.37770795822143555,
0.455710232257843,
-0.05831350013613701,
0.3811640739440918,
-0.08617664873600006,
0.34972625970840454,
0.07623851299285889,
0.34370243549346924,
0.03643271327018738,
0.04420865699648857,
0.43199923634529114,
-0.22306516766548157,
-0.28749579191207886,
0.3335098624229431,
0.32349422574043274,
0.5337284207344055,
-0.05146632716059685,
0.1964467614889145,
-0.18417316675186157,
0.23363777995109558,
0.7783175706863403,
-0.7457958459854126,
-0.48509734869003296,
0.19702982902526855,
-0.6734459400177002,
-0.3008240759372711,
0.18348388373851776,
-0.8267202377319336,
-0.37628984451293945,
-0.3938181698322296,
0.5111759305000305,
-0.4699057638645172,
-0.21455718576908112,
0.017538070678710938,
-0.3727599084377289,
-0.16179269552230835,
0.29964080452919006,
-0.8175079226493835,
0.760732114315033,
0.6077299118041992,
0.8463733196258545,
-0.15792475640773773,
0.17230664193630219,
-0.7092822194099426,
0.4633570909500122,
-0.22641366720199585,
0.7773188948631287,
-0.7094719409942627,
-0.8810679912567139,
-0.017431847751140594,
0.1674540787935257,
-0.11312878131866455,
-0.8407628536224365,
0.9011811017990112,
-0.25578704476356506,
-0.2680688798427582,
-0.5093796253204346,
-0.6968700289726257,
-0.0325377956032753,
0.209525465965271,
-0.6147245764732361,
0.39963921904563904,
0.5417120456695557,
-0.9777925610542297,
0.15550394356250763,
-0.7398449778556824,
-0.6263834238052368,
0.19650708138942719,
0.0053074597381055355,
-0.6686181426048279,
0.20045171678066254,
0.16928665339946747,
0.28997910022735596,
0.05354396998882294,
0.321211576461792,
-0.40204012393951416,
-0.16491170227527618,
0.26557397842407227,
-0.018936965614557266,
0.5221594572067261,
0.11640853434801102,
0.030963514000177383,
0.050361353904008865,
-0.6424480676651001,
-0.3251383602619171,
0.07978183776140213,
-0.2972777485847473,
-0.683249294757843,
0.010977554135024548,
-0.031043967232108116,
-0.28626835346221924,
-0.16369234025478363,
-0.3258877694606781,
0.35540714859962463,
-0.48107314109802246,
0.4873304069042206,
0.4881288707256317,
0.36684077978134155,
0.5810920000076294,
-0.7276275753974915,
0.5076223611831665,
0.13836051523685455,
0.3097538650035858,
-0.49463990330696106,
-0.5072723627090454,
-0.4321562349796295,
-0.19575776159763336,
-0.005488153547048569,
0.8493196368217468,
-0.5651384592056274,
0.2686757743358612,
-0.6618134379386902,
-0.2058427631855011,
-0.19094471633434296,
0.03570210561156273,
0.3665122091770172,
0.8690323829650879,
0.8734415173530579,
-0.635716438293457,
-0.5558839440345764,
-0.9374162554740906,
-0.11031793802976608,
-0.6666072607040405,
-0.09325122088193893,
0.041596680879592896,
0.7458336353302002,
-0.600132942199707,
0.6988018155097961,
-0.5591033101081848,
-0.46585479378700256,
-0.4483965039253235,
-0.05151252821087837,
0.06699205189943314,
0.5700698494911194,
0.4296324849128723,
-0.7776376605033875,
-0.013800341635942459,
0.1940331608057022,
-0.42648810148239136,
0.004873655270785093,
0.20617446303367615,
-0.26266783475875854,
-0.04752078279852867,
0.35172775387763977,
-0.42804256081581116,
0.6165957450866699,
0.06242608651518822,
-0.24500469863414764,
0.23770101368427277,
-0.25191548466682434,
0.14759288728237152,
-0.9074096083641052,
0.2177158147096634,
0.04810867831110954,
-0.053663477301597595,
-1.1124554872512817,
-0.06693900376558304,
0.16169331967830658,
-0.04758607596158981,
-0.03624477609992027,
0.3647995889186859,
-0.006654364988207817,
0.10341699421405792,
0.2368578463792801,
-0.4070311188697815,
0.372016042470932,
-0.009415296837687492,
0.28047996759414673,
0.1893390566110611,
0.18878015875816345,
-0.5487856864929199,
0.0860566645860672,
0.642972469329834,
-0.005733824335038662,
0.8681681156158447,
-0.615042507648468,
-0.4862648546695709,
-0.11597508192062378,
0.4173245131969452,
-0.6436047554016113,
-0.34919753670692444,
0.3647346794605255,
-0.30362874269485474,
0.4777393341064453,
-0.3507063686847687,
-0.061703573912382126,
-0.31411007046699524,
-0.2770259976387024,
0.07388508319854736,
0.22197623550891876,
-0.15132127702236176,
0.8250852227210999,
0.33050936460494995,
-0.5509320497512817,
-0.2054000049829483,
-0.8747495412826538,
0.018078390508890152,
-0.28728345036506653,
-0.40551477670669556,
0.7096136808395386,
0.02952457405626774,
-0.33813124895095825,
0.21962448954582214,
-0.13597314059734344,
0.09022483974695206,
0.15821726620197296,
0.2774801552295685,
0.5657764673233032,
-0.3152170479297638,
0.21741648018360138,
-0.005517256911844015,
-0.3460799753665924,
0.34729108214378357,
-0.3779926002025604,
-0.16233141720294952,
-0.10578276216983795,
-0.5887221097946167,
-0.2919752597808838,
0.4621754586696625,
0.8042867183685303,
-0.47453659772872925,
0.6452259421348572,
0.3533429503440857,
-0.645160436630249,
-0.13169342279434204,
-0.12975750863552094,
-0.31114980578422546,
-0.35671985149383545,
0.18050888180732727,
0.12964828312397003,
-0.3795008957386017,
0.6166400909423828,
-0.08792095631361008,
0.1269313544034958,
0.19427309930324554,
0.050661351531744,
-0.11757700145244598,
0.3344905972480774,
0.511801540851593,
0.055541522800922394,
0.13372035324573517,
-0.3781917095184326,
0.5621770620346069,
-0.8133252263069153,
-0.5338246822357178,
-0.25612708926200867,
0.004855971783399582,
-0.2564350664615631,
-0.39006906747817993,
0.7127683162689209,
0.14617007970809937,
-0.34566229581832886,
0.21607539057731628,
-0.4217357039451599,
-0.22308559715747833,
0.2247835397720337,
0.4091973304748535,
0.3745189905166626,
0.07058504968881607,
-0.27672678232192993,
0.020000632852315903,
-0.6999744772911072,
-0.7903329133987427,
0.9935033321380615,
0.540969729423523,
0.3062058687210083,
0.22435331344604492,
0.5614070892333984,
0.48268476128578186,
0.39787882566452026,
-0.4978880286216736,
0.2163533717393875,
-0.4112960696220398,
-0.5059657096862793,
-0.25962159037590027,
-0.23838001489639282,
-0.5555298328399658,
-0.019916506484150887,
-0.5687717795372009,
-0.482683002948761,
0.44577756524086,
0.29893508553504944,
-0.8100114464759827,
0.31514501571655273,
-0.8805041909217834,
0.958491325378418,
-0.2889968752861023,
-0.15454749763011932,
0.10712004452943802,
-0.9467654228210449,
-0.19779467582702637,
-0.09357088059186935,
0.7356464266777039,
0.30582183599472046,
0.1792946606874466,
0.4275101125240326,
-0.9123536944389343,
0.851664125919342,
-0.011808536015450954,
0.13803274929523468,
0.3199090361595154,
0.10211867839097977,
0.500231146812439,
0.2425239533185959,
-0.13790860772132874,
-0.05190347880125046,
0.038295309990644455,
-0.2152913510799408,
-0.5390127301216125,
0.4835863411426544,
-0.4736950397491455,
-0.6797289848327637,
-0.38101235032081604,
0.11993338167667389,
-0.1562919169664383,
0.26859205961227417,
0.2124645709991455,
0.8494973182678223,
-0.4572123885154724,
0.19772674143314362,
0.8566179275512695,
-0.19456017017364502,
0.2125120759010315,
0.4650600850582123,
-0.013816848397254944,
-0.6330952048301697,
0.6708436608314514,
0.5283051133155823,
0.4726031720638275,
0.5989521145820618,
0.31446579098701477,
-0.3377826511859894,
-0.6664432287216187,
-0.8561809062957764,
-0.2439851015806198,
-0.6858686804771423,
-0.3523430824279785,
-0.9193845987319946,
-0.1718858778476715,
-0.5590137839317322,
-0.5720218420028687,
0.026394549757242203,
-0.4073697328567505,
-0.5706222057342529,
-0.632008969783783,
0.7910378575325012,
0.590931236743927,
0.22750604152679443,
0.28131240606307983,
-1.0926238298416138,
0.32258185744285583,
0.22126129269599915,
0.31921035051345825,
-0.005019076634198427,
-0.6491682529449463,
-0.2190004587173462,
0.004417907912284136,
-0.4352811574935913,
-0.7986811399459839,
0.3473699688911438,
0.21372972428798676,
0.8019174933433533,
0.6746424436569214,
0.38034528493881226,
0.6201387643814087,
-0.4919811189174652,
0.658591628074646,
0.0135319409891963,
-0.8983126282691956,
0.7587488889694214,
-0.6446000933647156,
0.12366409599781036,
0.6051318049430847,
0.3883625566959381,
-0.2298951894044876,
-0.15134449303150177,
-0.5817009806632996,
-1.0130207538604736,
0.4010523855686188,
0.2756548225879669,
0.011248137801885605,
0.09547565877437592,
0.2082187980413437,
0.0734163150191307,
-0.02496928535401821,
-0.2479487508535385,
-0.28533363342285156,
-0.6538677215576172,
-0.49936938285827637,
0.010743594728410244,
-0.2150118499994278,
-0.08321140706539154,
-0.15976054966449738,
0.6311783790588379,
0.04160242900252342,
-0.0439939983189106,
0.5835941433906555,
-0.057642996311187744,
-0.2539040148258209,
0.4507922828197479,
0.2328079640865326,
0.5840260982513428,
-0.13969628512859344,
0.21516786515712738,
0.37703272700309753,
-0.7492795586585999,
-0.006375940516591072,
0.45748066902160645,
-0.06288203597068787,
-0.12110798805952072,
0.8625648021697998,
0.7731746435165405,
0.36977505683898926,
-0.5736573934555054,
0.44945186376571655,
0.19922420382499695,
-0.07632947713136673,
-0.3604165017604828,
0.012677867896854877,
0.24132926762104034,
0.1135723665356636,
0.6249549388885498,
0.2275400459766388,
0.3709833025932312,
-0.5961166024208069,
0.6441186666488647,
0.0002391538000665605,
-0.41648992896080017,
-0.2286064177751541,
0.5187563300132751,
0.31870585680007935,
-0.12723228335380554,
0.3543376922607422,
0.23167462646961212,
-0.5509223341941833,
0.7868882417678833,
0.7054666876792908,
0.2848556339740753,
-0.6758493781089783,
0.30123433470726013,
0.44987207651138306,
0.1197846382856369,
-0.20753559470176697,
-0.05372907593846321,
0.23577387630939484,
-0.5052768588066101,
0.3525668680667877,
-0.6855147480964661,
-0.4083167612552643,
-0.25319811701774597,
-1.063838243484497,
0.36674585938453674,
-0.6447226405143738,
-0.33180129528045654,
0.3128318786621094,
-0.12844042479991913,
-0.34217777848243713,
0.21459344029426575,
0.040108200162649155,
0.7292104363441467,
-1.1201777458190918,
0.39742782711982727,
1.0502190589904785,
-0.25040385127067566,
-0.5285564064979553,
-0.20992623269557953,
0.2852967381477356,
-0.342667818069458,
0.2851565182209015,
0.4092637598514557,
-0.025755470618605614,
-0.42553210258483887,
0.15542317926883698,
-0.5044586658477783,
1.1349637508392334,
0.14942678809165955,
-0.5574761629104614,
0.37140950560569763,
0.39655160903930664,
0.7105074524879456,
-0.6509914994239807,
0.10327041894197464,
0.5867575407028198,
0.39521893858909607,
-0.16612845659255981,
-0.7782569527626038,
0.1130586788058281,
-0.7253358960151672,
-0.024213461205363274,
0.35325273871421814,
-0.11123619228601456,
0.6690465211868286,
-0.4299018681049347,
-0.021179454401135445,
-0.17908161878585815,
0.18790683150291443,
0.14529389142990112,
0.8546815514564514,
0.48218923807144165,
0.7945718765258789,
0.7050913572311401,
-0.00822562538087368,
0.8502969145774841,
0.1818341314792633,
-0.21069927513599396,
0.9180995225906372,
-0.5281152129173279,
0.9105571508407593,
0.36973410844802856,
-0.06806374341249466,
0.8661620616912842,
0.41898980736732483,
-0.1286412626504898,
0.6363562941551208,
0.05432865396142006,
-0.47403132915496826,
-0.30644863843917847,
-0.4321316182613373,
-0.46624624729156494,
0.11347635835409164,
0.6534602642059326,
-0.7832093834877014,
0.10962692648172379,
0.1966162472963333,
-0.1915682852268219,
0.2852476239204407,
-0.5440875887870789,
0.9529240131378174,
0.2183552235364914,
-0.18344908952713013,
0.2708228528499603,
-0.25889772176742554,
0.12028395384550095,
-0.3993121385574341,
-0.4251199960708618,
0.13196559250354767,
0.25632286071777344,
-0.4549833834171295,
-0.7803229689598083,
0.4852011799812317,
-0.024444185197353363,
-0.5461432337760925,
-0.43227311968803406,
0.7088231444358826,
-0.1635216325521469,
-0.7708243131637573,
0.4035515785217285,
0.28868675231933594,
-0.3645949363708496,
0.29314112663269043,
-0.2943139672279358,
-0.14609842002391815,
-0.06736825406551361,
-0.0785129964351654,
0.1868937611579895,
0.5531525015830994,
-0.49898040294647217,
0.7359384894371033,
0.8410345911979675,
0.06964753568172455,
-0.43271246552467346,
0.10529659688472748,
1.062620997428894,
-0.3396807014942169,
-0.7344892621040344,
-0.8330851197242737,
0.6475777626037598,
0.0475955568253994,
-0.30630093812942505,
0.363534539937973,
0.4591519832611084,
0.9530959725379944,
-0.043134987354278564,
0.9691565632820129,
0.2815624177455902,
0.7621027231216431,
-0.25314396619796753,
0.7254497408866882,
-0.3110840618610382,
0.4986132085323334,
-0.39190423488616943,
-0.30051684379577637,
-0.492289274930954,
0.41282954812049866,
-0.2554536461830139,
-0.363713800907135,
0.38407638669013977,
0.5368314385414124,
-0.12985451519489288,
0.27802830934524536,
-0.25128835439682007,
0.13733208179473877,
0.3012314736843109,
0.36876410245895386,
0.5301105380058289,
-0.35281145572662354,
0.2932372987270355,
-0.23655399680137634,
-0.08871952444314957,
-0.5145408511161804,
-0.7898585796356201,
-0.8351267576217651,
-0.2888534367084503,
-0.13953180611133575,
-0.28636956214904785,
0.2910824120044708,
1.0802934169769287,
0.4398694932460785,
-1.1713321208953857,
0.30906742811203003,
-0.12148800492286682,
-0.011657806113362312,
-0.033101826906204224,
-0.06951310485601425,
0.2718193233013153,
0.2327079027891159,
0.19184237718582153,
0.07675457745790482,
0.23789502680301666,
0.4886228144168854,
0.10440155118703842,
-0.14018890261650085,
0.18582545220851898,
-0.09785601496696472,
0.48498672246932983,
0.26546987891197205,
-0.5923628807067871,
-0.05032194405794144,
0.2593817114830017,
0.029245682060718536,
-0.09047695249319077,
0.8795247673988342,
-0.7204422354698181,
0.5682387351989746,
0.445016473531723,
0.5792801380157471,
0.09326307475566864,
0.31350377202033997,
0.730265736579895,
-0.01231586467474699,
-0.3707541525363922,
0.31886470317840576,
0.471233069896698,
0.5079880356788635,
-0.6124054193496704,
0.25177809596061707,
0.16129079461097717,
-0.10379538685083389,
-0.7076495885848999,
0.08149091899394989,
-0.5846061706542969,
-0.29564905166625977,
0.7119690179824829,
-0.38939034938812256,
0.011096412315964699,
-0.5329437255859375,
-0.051282402127981186,
0.07509924471378326,
-0.43806931376457214,
0.49801498651504517,
0.4700809419155121,
-0.09878887236118317,
-0.009720188565552235,
-0.6871310472488403,
0.32268062233924866,
0.17219465970993042,
-0.8264383673667908,
0.2211073786020279,
0.32135671377182007,
0.22313785552978516,
0.24513956904411316,
0.5281884670257568,
-0.18264944851398468,
0.16265323758125305,
-0.2282017469406128,
-0.2567070424556732,
-0.17252251505851746,
-0.47223299741744995,
-0.30136778950691223,
-0.21275635063648224,
-0.15548774600028992,
0.18122652173042297
] |
http://arxiv.org/abs/2405.20413v1
|
http://arxiv.org/pdf/2405.20413v1
|
Jailbreaking Large Language Models Against Moderation Guardrails via Cipher Characters
| 2024-05-30T18:38:36 | 2024-05-30T18:38:36 |
Haibo Jin, Andy Zhou, Joe D. Menke, Haohan Wang
|
cs.CR
|
cs.CR, cs.CL, cs.CV, cs.LG
|
Large Language Models (LLMs) are typically harmless but remain vulnerable to
carefully crafted prompts known as ``jailbreaks'', which can bypass protective
measures and induce harmful behavior. Recent advancements in LLMs have
incorporated moderation guardrails that can filter outputs, which trigger
processing errors for certain malicious questions. Existing red-teaming
benchmarks often neglect to include questions that trigger moderation
guardrails, making it difficult to evaluate jailbreak effectiveness. To address
this issue, we introduce JAMBench, a harmful behavior benchmark designed to
trigger and evaluate moderation guardrails. JAMBench involves 160 manually
crafted instructions covering four major risk categories at multiple severity
levels. Furthermore, we propose a jailbreak method, JAM (Jailbreak Against
Moderation), designed to attack moderation guardrails using jailbreak prefixes
to bypass input-level filters and a fine-tuned shadow model functionally
equivalent to the guardrail model to generate cipher characters to bypass
output-level filters. Our extensive experiments on four LLMs demonstrate that
JAM achieves higher jailbreak success ($\sim$ $\times$ 19.88) and lower
filtered-out rates ($\sim$ $\times$ 1/6) than baselines.
|
[
-0.40356922149658203,
-0.9264010190963745,
0.5695587396621704,
0.20137296617031097,
-0.42493125796318054,
0.2399500012397766,
-0.2561500072479248,
-0.4993359446525574,
0.2163497656583786,
1.0923256874084473,
-0.5748128294944763,
-0.5502499938011169,
-0.8144092559814453,
-0.04007353633642197,
-0.39335396885871887,
1.1182667016983032,
-0.06490469723939896,
-0.06110382825136185,
0.12455225735902786,
0.1509009152650833,
-1.157503366470337,
-0.548286497592926,
-0.4351296126842499,
-0.024104364216327667,
0.4545855224132538,
0.12917909026145935,
0.40251147747039795,
0.5137812495231628,
0.5678829550743103,
0.2866051495075226,
-0.26880761981010437,
-0.11998167634010315,
-0.6898325085639954,
0.5547393560409546,
-0.06659127026796341,
-0.6304380893707275,
-0.3936363458633423,
0.13845613598823547,
0.24406759440898895,
0.46503743529319763,
-0.22939008474349976,
-0.14392799139022827,
-0.027365000918507576,
0.5408728718757629,
-0.8579919338226318,
0.2646760940551758,
-0.9574602842330933,
-0.2474731206893921,
-0.5748850107192993,
0.08269410580396652,
-0.7307601571083069,
-0.27818334102630615,
-0.5698316693305969,
-0.18040992319583893,
-0.2520752251148224,
0.3744674026966095,
0.4846586585044861,
0.2313183695077896,
-0.2556564509868622,
-0.1984647810459137,
-0.4669252932071686,
0.9178207516670227,
-0.6093717813491821,
0.3497047424316406,
0.7875229716300964,
0.3428756296634674,
-0.5168755054473877,
-0.3527289628982544,
-0.04245540499687195,
-0.44486480951309204,
0.025177016854286194,
0.0015447394689545035,
-0.3178720474243164,
0.17205114662647247,
0.5506442189216614,
0.002156632486730814,
-0.5399103164672852,
0.0920400321483612,
-0.631024181842804,
-0.20190976560115814,
0.5741593241691589,
0.40623655915260315,
0.3579934537410736,
-0.23964066803455353,
-0.10535651445388794,
-0.1834709644317627,
-0.8492366671562195,
0.107001394033432,
0.5244319438934326,
0.23502324521541595,
-0.1794407069683075,
0.3386087715625763,
0.0929013043642044,
0.6532855033874512,
-0.05556856468319893,
-0.1946839839220047,
-0.13021618127822876,
-0.1350659728050232,
-0.13299760222434998,
0.08314348012208939,
0.8447467088699341,
0.460414320230484,
0.2166469246149063,
-0.49431127309799194,
-0.32215452194213867,
0.06138141453266144,
0.4611634910106659,
-0.989635705947876,
-0.4726187586784363,
0.2753947377204895,
-0.204976886510849,
-0.4869263768196106,
0.13038793206214905,
-0.7725231647491455,
-0.7470932602882385,
0.40957027673721313,
0.3089042603969574,
-0.5603401064872742,
0.19010065495967865,
0.09046383202075958,
-0.16134192049503326,
0.04942111670970917,
0.21642810106277466,
-0.9328873157501221,
0.3741345703601837,
0.930433452129364,
0.7249411940574646,
-0.11010844260454178,
-0.04902408644556999,
-0.7194675803184509,
0.16939441859722137,
-0.3829842805862427,
0.6107780337333679,
-0.5637947916984558,
-0.7488388419151306,
-0.4557349681854248,
0.05693028122186661,
-0.07766290009021759,
-0.6517872214317322,
0.6118713617324829,
-0.783627450466156,
-0.024453990161418915,
-0.22505348920822144,
-0.3910091817378998,
-0.14267988502979279,
0.25016435980796814,
-0.7630187273025513,
0.30307239294052124,
-0.06068730726838112,
-0.5387155413627625,
0.4430692791938782,
-0.3722631335258484,
-0.6203439831733704,
0.11880488693714142,
-0.047728344798088074,
-0.5259220600128174,
-0.013003183528780937,
0.14332649111747742,
0.20406009256839752,
-0.3355003297328949,
0.5944519639015198,
-0.4950706362724304,
-0.42585867643356323,
0.4995793402194977,
-0.5435389876365662,
1.1485953330993652,
0.32749882340431213,
-0.3410443663597107,
0.17569847404956818,
-0.19889184832572937,
0.08165092766284943,
0.10444169491529465,
-0.2982906997203827,
-0.532116174697876,
0.07534339278936386,
-0.15708830952644348,
0.08978550136089325,
0.050196658819913864,
-0.6269142627716064,
0.17619985342025757,
-0.34817203879356384,
0.6447581648826599,
1.0007094144821167,
0.19239407777786255,
-0.010448973625898361,
-0.4902666509151459,
0.6429104208946228,
-0.2614578902721405,
0.2675347924232483,
-0.34067103266716003,
-0.4733910858631134,
-0.25705018639564514,
-0.5119941234588623,
0.3178185522556305,
0.38199523091316223,
-0.38722479343414307,
0.47734904289245605,
-0.10601594299077988,
-0.6570009589195251,
-0.21753375232219696,
0.30019107460975647,
0.7040756344795227,
0.216691255569458,
0.3089774250984192,
-0.7259694933891296,
-0.4022893011569977,
-0.6994417309761047,
-0.6082784533500671,
-0.23460635542869568,
0.08332730829715729,
0.10977372527122498,
0.5071278810501099,
0.019609877839684486,
0.4711669087409973,
-0.41928917169570923,
-0.1792680025100708,
-0.27619537711143494,
0.16904406249523163,
0.2995135188102722,
0.5973543524742126,
0.6144816875457764,
-0.39638134837150574,
-0.35133305191993713,
-0.5779007077217102,
-0.45623522996902466,
-0.40104222297668457,
-0.09799356013536453,
0.01976703852415085,
-0.10871196538209915,
0.7523880004882812,
-0.3691694438457489,
0.3326299786567688,
0.6490605473518372,
-0.6084222793579102,
0.707252562046051,
0.2842060625553131,
0.2768566608428955,
-0.9477988481521606,
0.07856728136539459,
-0.23619158565998077,
-0.324870765209198,
-0.49162939190864563,
0.3983973562717438,
0.19165144860744476,
-0.07971422374248505,
-0.404283344745636,
0.4467290937900543,
-0.40520623326301575,
0.21157239377498627,
-0.22778832912445068,
0.0007518824422731996,
0.039652131497859955,
0.17374451458454132,
-0.41698867082595825,
0.9056840538978577,
0.22507189214229584,
-0.17001646757125854,
0.28913408517837524,
0.10670535266399384,
-0.6426026821136475,
0.11896782368421555,
-0.567527174949646,
0.014964206144213676,
0.0908985361456871,
0.3109419643878937,
-0.785796582698822,
-0.44408607482910156,
0.3043200969696045,
-0.14892594516277313,
0.2694898247718811,
-0.49652087688446045,
-0.4590207040309906,
-0.3041045069694519,
-0.596285343170166,
0.24656404554843903,
0.7198715209960938,
-0.14235489070415497,
0.07694337517023087,
0.6687729358673096,
-0.17344613373279572,
-0.3534291088581085,
-0.7601103782653809,
0.33047935366630554,
-0.4480641484260559,
-0.4804396331310272,
0.2849849760532379,
-0.07983315736055374,
-0.41227835416793823,
-0.25340092182159424,
-0.16738808155059814,
0.04393211752176285,
0.6221073269844055,
0.5701735615730286,
0.32487401366233826,
0.23530849814414978,
-0.47151413559913635,
0.033646102994680405,
-0.00850097555667162,
0.5385091304779053,
0.2642754912376404,
0.8605347871780396,
-0.021165994927287102,
-0.4432268440723419,
-0.05156455934047699,
0.23707011342048645,
0.8659913539886475,
-0.43794384598731995,
0.9205839037895203,
-0.049040984362363815,
-0.045174118131399155,
-0.3896174728870392,
-0.5434145331382751,
-0.4572368860244751,
-0.5423272252082825,
0.25842806696891785,
-0.2872445583343506,
-1.08794367313385,
0.5472720265388489,
-0.013181318528950214,
0.19911925494670868,
-0.22248828411102295,
0.30303987860679626,
0.11254952102899551,
1.1702879667282104,
0.5180917978286743,
-0.2690935730934143,
0.5953802466392517,
0.15803790092468262,
0.379254549741745,
-0.7875275015830994,
-0.018018458038568497,
-0.6294260025024414,
-0.23529218137264252,
-0.5827634930610657,
-0.3181970417499542,
0.594743549823761,
0.5622872114181519,
-0.3086302578449249,
0.6299443244934082,
-0.17009447515010834,
0.7036280035972595,
0.3632507920265198,
0.10333901643753052,
0.3104647397994995,
-0.12116456776857376,
-0.26150771975517273,
-0.16238954663276672,
-0.4283483326435089,
-0.3144393563270569,
1.0579396486282349,
0.2852550745010376,
1.1253527402877808,
0.3477684557437897,
0.6979227066040039,
0.21773386001586914,
0.4896521270275116,
-0.5690926909446716,
0.7768610119819641,
-0.24466021358966827,
-0.9155486226081848,
0.16084158420562744,
-0.46753475069999695,
-0.8039355278015137,
0.09082162380218506,
-0.3470752239227295,
-1.3136909008026123,
-0.27152636647224426,
0.13021647930145264,
-0.21323707699775696,
0.4628843665122986,
-0.5860959887504578,
0.992792546749115,
-0.41362106800079346,
-0.672945499420166,
-0.23931369185447693,
-0.5899278521537781,
0.9892972111701965,
-0.40331873297691345,
0.39604121446609497,
-0.1954808235168457,
0.4008606970310211,
0.849647045135498,
-0.42084285616874695,
0.9523380994796753,
-0.18953470885753632,
0.14423255622386932,
0.058259882032871246,
0.7618424892425537,
0.635996401309967,
0.0005564289167523384,
-0.045078810304403305,
0.15692095458507538,
-0.14140808582305908,
-0.15298739075660706,
-0.3659340739250183,
0.7243390679359436,
-0.5787196755409241,
-0.9638357758522034,
-0.29472601413726807,
-0.563007652759552,
-0.4059898257255554,
0.31353649497032166,
0.14963780343532562,
0.23443977534770966,
0.019429931417107582,
0.3383287787437439,
0.40596142411231995,
-0.2264774590730667,
0.320688933134079,
0.682995080947876,
-0.5421167016029358,
-0.32080042362213135,
0.6613104939460754,
-0.09703200310468674,
0.338276207447052,
-0.09855927526950836,
0.08918706327676773,
0.02825639396905899,
-0.91124427318573,
-0.3572142422199249,
0.12792617082595825,
-0.4370531439781189,
-0.3740488290786743,
-0.5441666841506958,
-0.31664717197418213,
-0.29064756631851196,
-0.3597604036331177,
-0.3298811614513397,
-0.17002609372138977,
0.3843706250190735,
0.06084644794464111,
0.37770575284957886,
0.36676761507987976,
0.019926922395825386,
0.3506914973258972,
-0.9380171298980713,
0.14795325696468353,
0.11684288829565048,
0.36669301986694336,
-0.3418479859828949,
-0.6124858260154724,
-0.024562625214457512,
-0.16863377392292023,
-0.444354385137558,
-1.0200340747833252,
0.3196364939212799,
-0.3895140588283539,
0.5091641545295715,
0.42449069023132324,
0.3918013572692871,
0.8004473447799683,
-0.4123539626598358,
0.6776136159896851,
0.21274548768997192,
-1.0077556371688843,
0.6670137643814087,
-0.5623147487640381,
0.16436780989170074,
0.8407667279243469,
0.025756699964404106,
-0.6356552243232727,
-0.9738211035728455,
-0.30278751254081726,
-0.9417982697486877,
0.8079077005386353,
0.18049055337905884,
0.16723120212554932,
-0.08162855356931686,
0.23251070082187653,
-0.03576204925775528,
0.27328726649284363,
-0.8564558625221252,
-0.03301514312624931,
0.10688894242048264,
0.06563561409711838,
0.006710963323712349,
-0.1763460338115692,
-0.34621062874794006,
0.14798475801944733,
0.6432770490646362,
0.2875353991985321,
-0.20376375317573547,
-0.40756186842918396,
-0.17188963294029236,
-0.35273778438568115,
0.6452188491821289,
0.4392837584018707,
0.3299328088760376,
-0.4010697305202484,
0.10905887931585312,
-0.02150988206267357,
-0.6627429723739624,
0.11990079283714294,
-0.017794454470276833,
-0.5372011661529541,
-0.5340166091918945,
0.6371984481811523,
0.6647496223449707,
0.01807580329477787,
-1.0637961626052856,
0.5955064296722412,
-0.26986491680145264,
-0.003928467631340027,
0.09159982204437256,
0.670153021812439,
-0.05628662556409836,
-0.07157143950462341,
-0.13276582956314087,
0.07526352256536484,
-0.027839835733175278,
-0.6085785627365112,
0.25409650802612305,
0.8375100493431091,
-0.47479304671287537,
-0.17781077325344086,
1.0114566087722778,
0.3043779134750366,
-0.09791076183319092,
0.53978431224823,
-0.20739994943141937,
-0.5379550457000732,
0.6133192181587219,
0.7999494075775146,
0.8804300427436829,
-0.12257973849773407,
-0.03680426999926567,
0.30041447281837463,
0.795715868473053,
-0.07110270857810974,
0.06219072639942169,
-0.04015686362981796,
-0.5945183634757996,
-0.5320122241973877,
-0.7528122067451477,
-0.5513471364974976,
0.35501521825790405,
-0.6022154688835144,
0.2565373480319977,
-0.7419854998588562,
-0.19847699999809265,
-0.1026361733675003,
-0.24016770720481873,
-0.0414854995906353,
-0.1995568722486496,
0.22656841576099396,
0.9003859162330627,
-0.9162617921829224,
0.7685160040855408,
0.4911131262779236,
-0.1092759370803833,
-0.8917801380157471,
0.1528903841972351,
0.29288288950920105,
-0.631978452205658,
0.48711156845092773,
0.4861326217651367,
-0.1882171332836151,
-0.3259262144565582,
-0.6088705062866211,
-0.5596787333488464,
0.7408822178840637,
0.40670615434646606,
-0.8654736280441284,
0.2579088807106018,
-0.035795800387859344,
0.12244097143411636,
0.07590431720018387,
0.08665264397859573,
0.7376925349235535,
0.6779429912567139,
-0.4067014455795288,
-0.8762001991271973,
0.33351463079452515,
-0.1657991111278534,
-0.200118288397789,
0.6126528382301331,
-0.774570107460022,
0.9607808589935303,
-0.11828811466693878,
-0.20343369245529175,
0.2035278081893921,
-0.013272653333842754,
0.6562106013298035,
-0.053607307374477386,
0.6835275888442993,
0.6074308753013611,
0.2800854742527008,
-0.2612738311290741,
0.8657224774360657,
-0.6201175451278687,
0.11882155388593674,
1.119638204574585,
-0.47329485416412354,
0.5295764207839966,
0.6541896462440491,
-0.08826667815446854,
0.41436973214149475,
0.09086775034666061,
-0.17236241698265076,
0.805620014667511,
0.3171301484107971,
-0.34377703070640564,
-0.39441144466400146,
-0.0017642867751419544,
0.05843401327729225,
0.6308723092079163,
0.4041059613227844,
-0.31651243567466736,
-0.3718787431716919,
0.20010825991630554,
0.6622703671455383,
0.16187526285648346,
-0.3267069160938263,
0.7436057329177856,
0.05723967030644417,
-0.9222301244735718,
0.5039797425270081,
0.5538026094436646,
0.5127904415130615,
-0.7550501823425293,
0.13115353882312775,
-0.2201651781797409,
0.10767768323421478,
0.06595996022224426,
-0.8180453181266785,
0.37467947602272034,
0.5293044447898865,
0.16686351597309113,
-0.2691744267940521,
0.7285399436950684,
-0.025642529129981995,
-0.2607634961605072,
0.49691593647003174,
0.35944485664367676,
-0.005411279853433371,
-0.0018080547451972961,
-0.6978285312652588,
0.5341287851333618,
0.11908451467752457,
-0.3309832215309143,
0.48440513014793396,
-0.22933830320835114,
-0.3639465272426605,
0.6236774921417236,
0.6659316420555115,
0.09583059698343277,
0.03588229417800903,
-0.19587533175945282,
1.2008883953094482,
-0.8245026469230652,
-0.448400616645813,
-1.0428361892700195,
0.34638485312461853,
0.03630213066935539,
-0.08767426759004593,
0.9245727062225342,
0.4998311996459961,
0.7905347347259521,
0.14996200799942017,
0.8224087953567505,
-0.3350147306919098,
0.16331404447555542,
-0.7072098255157471,
1.0002011060714722,
-0.21731041371822357,
0.7472458481788635,
-0.32030054926872253,
-0.6753866672515869,
-0.3602990508079529,
0.48137685656547546,
-0.6335114240646362,
-0.041580114513635635,
0.5813612937927246,
1.0575964450836182,
-0.12739861011505127,
0.06727848201990128,
0.36299577355384827,
0.49944978952407837,
0.5958735942840576,
0.6970697641372681,
0.8047198057174683,
-0.22708941996097565,
0.685602605342865,
-0.38733261823654175,
-0.18798863887786865,
-0.12997007369995117,
-0.723804235458374,
-1.155805230140686,
-0.07645110040903091,
0.010021802969276905,
-0.4992777705192566,
0.4630456864833832,
0.6252831816673279,
0.7225571870803833,
-0.8786178231239319,
-0.20610035955905914,
-0.28375640511512756,
0.14041635394096375,
-0.02015848271548748,
-0.24416591227054596,
-0.14966782927513123,
-0.17797192931175232,
-0.4599762260913849,
0.7803289890289307,
0.3653997778892517,
-0.2529579997062683,
-0.20734047889709473,
0.1591564118862152,
0.3600409924983978,
0.07719819992780685,
0.20937329530715942,
0.24846643209457397,
-0.6646974682807922,
-0.40235716104507446,
-0.16439317166805267,
-0.2124231606721878,
-0.21684153378009796,
0.7696054577827454,
-0.6583765745162964,
0.3828735649585724,
0.29613569378852844,
0.44377151131629944,
0.38891181349754333,
0.0876537561416626,
0.4065120220184326,
-0.6918677687644958,
0.27932479977607727,
0.28804197907447815,
0.44563257694244385,
0.03384336456656456,
-0.01882794499397278,
0.2456280142068863,
0.09194332361221313,
-0.5825231075286865,
-0.9579546451568604,
0.49080610275268555,
-0.8916657567024231,
-0.6740350127220154,
0.8982911705970764,
-0.2824872136116028,
-0.4932064116001129,
-0.19648030400276184,
-0.12341867387294769,
-0.22924719750881195,
-0.511847734451294,
1.07221257686615,
0.6467381715774536,
-0.033782701939344406,
-0.11692344397306442,
-0.7401330471038818,
0.3224432170391083,
0.4582051932811737,
-0.8116214275360107,
0.4996310770511627,
0.6957343220710754,
0.5094010829925537,
0.045590564608573914,
0.34636661410331726,
-0.48293086886405945,
0.3067537844181061,
0.04737371951341629,
-0.1889641433954239,
-0.34626898169517517,
-0.3467918932437897,
-0.1826075166463852,
0.382915735244751,
0.21727575361728668,
0.24988701939582825
] |
http://arxiv.org/abs/2405.20410v1
|
http://arxiv.org/pdf/2405.20410v1
|
SeamlessExpressiveLM: Speech Language Model for Expressive Speech-to-Speech Translation with Chain-of-Thought
| 2024-05-30T18:28:31 | 2024-05-30T18:28:31 |
Hongyu Gong, Bandhav Veluri
|
cs.CL
|
cs.CL, cs.AI, cs.SD, eess.AS
|
Expressive speech-to-speech translation (S2ST) is a key research topic in
seamless communication, which focuses on the preservation of semantics and
speaker vocal style in translated speech. Early works synthesized speaker style
aligned speech in order to directly learn the mapping from speech to target
speech spectrogram. Without reliance on style aligned data, recent studies
leverage the advances of language modeling (LM) and build cascaded LMs on
semantic and acoustic tokens. This work proposes SeamlessExpressiveLM, a single
speech language model for expressive S2ST. We decompose the complex
source-to-target speech mapping into intermediate generation steps with
chain-of-thought prompting. The model is first guided to translate target
semantic content and then transfer the speaker style to multi-stream acoustic
units. Evaluated on Spanish-to-English and Hungarian-to-English translations,
SeamlessExpressiveLM outperforms cascaded LMs in both semantic quality and
style transfer, meanwhile achieving better parameter efficiency.
|
[
-0.2848571240901947,
-0.9443377256393433,
0.3301031291484833,
0.3549284338951111,
-0.5483571887016296,
0.2727941870689392,
-0.29127639532089233,
-0.4181360900402069,
0.38488060235977173,
0.5996911525726318,
-0.8171066045761108,
-0.5963788628578186,
-0.5935583114624023,
-0.14350168406963348,
-0.8241385817527771,
1.2134345769882202,
-0.14699910581111908,
0.04212035611271858,
0.1478220671415329,
-0.15516197681427002,
-0.24531260132789612,
-0.09779246896505356,
-0.4755121171474457,
-0.3515128791332245,
0.4300784468650818,
0.17439541220664978,
0.5956571698188782,
0.4238547384738922,
0.20341771841049194,
0.24945563077926636,
-0.26705509424209595,
-0.041821207851171494,
-0.6367603540420532,
0.4408908188343048,
-0.49324309825897217,
-0.07681464403867722,
-0.5801900625228882,
-0.04249681904911995,
0.746634304523468,
0.9187002182006836,
-0.3542521893978119,
0.3813462257385254,
0.4504010081291199,
0.46065419912338257,
-0.2759517431259155,
0.20715752243995667,
-0.5919983386993408,
-0.021186647936701775,
-0.17491593956947327,
-0.11341722309589386,
-0.4305291175842285,
-0.46564096212387085,
0.102145716547966,
-0.09673142433166504,
-0.2923111915588379,
-0.12683193385601044,
0.5479636192321777,
0.45868244767189026,
-0.3857859671115875,
-0.27290287613868713,
-0.8537763953208923,
0.5110200643539429,
-0.5951181054115295,
0.41371119022369385,
0.17427958548069,
0.2577212154865265,
-0.17309732735157013,
-0.866965115070343,
-0.577274739742279,
0.04852581396698952,
0.14126062393188477,
0.24341663718223572,
-0.22722521424293518,
0.019251596182584763,
-0.12293344736099243,
0.2333831638097763,
-0.756999135017395,
0.09251916408538818,
-0.12492609024047852,
0.06424577534198761,
0.6114773750305176,
0.11094610393047333,
0.2609412372112274,
-0.23610728979110718,
-0.6874081492424011,
0.12253054976463318,
-0.283227801322937,
0.0651940107345581,
0.002545442897826433,
0.7966392040252686,
-0.272020161151886,
0.43248265981674194,
-0.18943174183368683,
0.48595157265663147,
-0.2665911912918091,
-0.24586331844329834,
0.13352897763252258,
-0.3324853479862213,
-0.22016586363315582,
0.2483873814344406,
0.6631579399108887,
-0.061331912875175476,
-0.27591952681541443,
-0.24632222950458527,
-0.2734410762786865,
0.1508396714925766,
0.11223287135362625,
-0.39229539036750793,
0.12105748802423477,
0.4868043065071106,
-0.36959969997406006,
-0.2694503366947174,
-0.39507946372032166,
-0.5120012164115906,
0.1860058754682541,
-0.5929911732673645,
0.537278950214386,
-0.3740074038505554,
-0.48627057671546936,
0.11177873611450195,
0.04157791659235954,
0.1352037638425827,
0.381889671087265,
-0.234369158744812,
0.2696302831172943,
0.7889281511306763,
0.8180745244026184,
-0.3963916599750519,
-0.3250774145126343,
-0.481057733297348,
0.06694705784320831,
-0.43389594554901123,
0.7169286012649536,
-0.2646346092224121,
-0.14612294733524323,
0.0452718622982502,
-0.11696377396583557,
-0.0002797445631586015,
-0.08642945438623428,
0.7718521952629089,
-0.07188574969768524,
0.37854519486427307,
0.04684347286820412,
-0.6115577220916748,
-0.1852084994316101,
0.01822614297270775,
-0.33675259351730347,
0.9869966506958008,
0.2393033653497696,
-0.5064380168914795,
0.04404158145189285,
-0.416536420583725,
-0.38772276043891907,
0.422408789396286,
-0.003665664466097951,
-0.28735682368278503,
0.182277113199234,
-0.35506123304367065,
0.335275262594223,
-0.08979329466819763,
0.6080286502838135,
-0.3511791527271271,
-0.13493260741233826,
0.04262888431549072,
-0.37852582335472107,
0.6466152667999268,
0.46141016483306885,
-0.5434311628341675,
0.21647009253501892,
-0.6373575329780579,
0.26072731614112854,
0.1007734015583992,
-0.17910893261432648,
-0.20372313261032104,
-0.03910456970334053,
0.4807741343975067,
0.7464151382446289,
0.33527928590774536,
-0.5985937118530273,
-0.0025796194095164537,
-0.3054560422897339,
0.23807837069034576,
0.6083822250366211,
-0.43785762786865234,
0.2845701277256012,
0.039223480969667435,
0.35339686274528503,
-0.31057536602020264,
0.17973606288433075,
-0.2952674925327301,
-0.3470131754875183,
-0.8040866851806641,
-0.45612969994544983,
0.1003841906785965,
0.5943135023117065,
-0.6283553242683411,
0.7107025980949402,
-0.442938894033432,
-0.43548670411109924,
-0.7486525774002075,
-0.12030970305204391,
0.6279467344284058,
0.5376800894737244,
0.43045541644096375,
-0.23201891779899597,
-0.4223571717739105,
-0.8546705842018127,
-0.376974880695343,
-0.00008825583790894598,
0.0704895406961441,
-0.04040462151169777,
0.1498558521270752,
-0.1768205463886261,
0.7042230367660522,
0.019863950088620186,
-0.38288381695747375,
-0.6412879228591919,
0.12557493150234222,
0.0816955640912056,
0.5181660056114197,
0.06696031987667084,
-0.48888322710990906,
-0.4430103003978729,
-0.05407951399683952,
-0.6485248804092407,
-0.19124050438404083,
-0.031911589205265045,
-0.3590948283672333,
0.3342856466770172,
0.2730312645435333,
-0.5449992418289185,
0.6273809671401978,
0.9081243276596069,
-0.5948705673217773,
0.2650510370731354,
-0.008266352117061615,
-0.028777237981557846,
-1.1743521690368652,
0.27616259455680847,
-0.28306475281715393,
-0.6600505709648132,
-0.8874391317367554,
0.32986167073249817,
-0.07890016585588455,
-0.47777146100997925,
-0.7118445038795471,
0.4519634544849396,
-0.35455527901649475,
-0.2391057163476944,
-0.5503063797950745,
0.4317300319671631,
-0.07361916452646255,
0.5683462023735046,
0.18995784223079681,
0.3588272035121918,
0.5582110285758972,
-0.2966737449169159,
0.2222324162721634,
0.4325826168060303,
-0.3394884169101715,
0.4740901589393616,
-0.4772002100944519,
0.34145960211753845,
-0.07532301545143127,
0.5020220875740051,
-1.0899721384048462,
0.04298325628042221,
0.13565610349178314,
-0.13837061822414398,
0.4592158794403076,
-0.05358872562646866,
-0.33033639192581177,
-0.3062642216682434,
0.10526452958583832,
0.29669687151908875,
0.708391010761261,
-0.48314204812049866,
0.667363166809082,
0.2559339702129364,
-0.7745065689086914,
-0.0349525511264801,
-0.6314458847045898,
0.2707977592945099,
-0.09380406886339188,
-0.7239147424697876,
0.4163782000541687,
0.07481912523508072,
0.18945656716823578,
0.015612874180078506,
-0.1342555433511734,
0.25686702132225037,
-0.16945214569568634,
-0.0062179407104849815,
0.32564809918403625,
-0.059237729758024216,
-0.14515657722949982,
0.29242292046546936,
0.041229769587516785,
-0.11853016167879105,
-0.4108489453792572,
0.8065811991691589,
0.009447867050766945,
-0.363092839717865,
-0.8692010641098022,
1.0064241886138916,
0.6473658680915833,
-0.09432321786880493,
0.4396989345550537,
0.5504269003868103,
0.022699173539876938,
-0.2905636429786682,
-0.34093788266181946,
0.03586846962571144,
-0.390459269285202,
0.4176744520664215,
-0.42217132449150085,
-0.862186849117279,
0.3950210213661194,
-0.2884698510169983,
-0.045005664229393005,
0.1486196517944336,
0.46444016695022583,
0.0011174007086083293,
1.1194252967834473,
0.4879976212978363,
0.17128421366214752,
0.38292357325553894,
-0.058514758944511414,
0.2805871367454529,
-0.8976418972015381,
-0.5644087791442871,
-0.46985259652137756,
-0.4040595293045044,
-0.47657743096351624,
-0.5193872451782227,
0.23493939638137817,
0.11608239263296127,
-0.16750860214233398,
0.4519976079463959,
-0.47784340381622314,
-0.0073330518789589405,
0.4040604531764984,
0.1460973024368286,
0.059438109397888184,
0.16467253863811493,
0.018704615533351898,
0.046077460050582886,
-0.6152113080024719,
-0.510428786277771,
0.609942615032196,
0.3835029900074005,
0.6439380645751953,
0.1665457785129547,
0.7220113277435303,
0.13316050171852112,
-0.28345078229904175,
-0.9078779816627502,
0.5102371573448181,
-0.3449336290359497,
-0.06762479990720749,
-0.3859157860279083,
-0.3669337332248688,
-0.5877892971038818,
0.2826235294342041,
0.042253680527210236,
-0.8361388444900513,
0.07243724912405014,
0.13926932215690613,
-0.054914526641368866,
0.08337089419364929,
-0.19467833638191223,
0.6309014558792114,
-0.3218005299568176,
-0.41852888464927673,
-0.19895906746387482,
-0.7587929368019104,
0.4204217195510864,
-0.151783287525177,
0.3085665702819824,
-0.3051598370075226,
-0.03276151418685913,
0.5430748462677002,
-0.45940497517585754,
0.5653897523880005,
0.056223735213279724,
-0.39321473240852356,
0.19002491235733032,
0.5087876319885254,
1.0479437112808228,
-0.3510231673717499,
-0.06204257160425186,
0.4473916292190552,
-0.16540966928005219,
-0.5352429151535034,
-0.6646886467933655,
0.5622949600219727,
-0.3550585210323334,
-0.5536417961120605,
-0.1604927033185959,
-0.5204180479049683,
-0.20858892798423767,
0.07323522865772247,
0.3339717984199524,
0.5044694542884827,
-0.22778911888599396,
-0.13242094218730927,
0.4111787676811218,
-0.02952006831765175,
0.5395663976669312,
0.5036501884460449,
-0.45571330189704895,
-0.34842348098754883,
0.8282485008239746,
-0.0014798791380599141,
0.7100718021392822,
0.07910466194152832,
0.07889704406261444,
-0.7468625903129578,
-0.2314407378435135,
-0.4070180058479309,
0.1531669795513153,
-0.549383819103241,
0.06376957148313522,
-0.7841245532035828,
-0.24820591509342194,
-0.6079274415969849,
-0.03174144774675369,
-0.8412884473800659,
-0.675118088722229,
-0.09732839465141296,
0.08600517362356186,
0.1097351685166359,
0.6262859106063843,
-0.03895431384444237,
-0.051984239369630814,
-0.529384434223175,
0.2164420783519745,
0.06692018359899521,
0.17356880009174347,
-0.14974507689476013,
-0.899297297000885,
0.0029046235140413046,
0.11358927190303802,
-0.040028203278779984,
-0.7236754298210144,
0.6117512583732605,
0.4190077781677246,
0.314189076423645,
0.3339087665081024,
0.10436137020587921,
0.892996609210968,
-0.7082398533821106,
0.8588780760765076,
0.4704888164997101,
-1.241324543952942,
0.9155341982841492,
-0.23770004510879517,
0.3896649181842804,
0.3265523910522461,
0.25066131353378296,
-0.8715269565582275,
-0.7345442175865173,
-0.4909103810787201,
-1.1040111780166626,
0.7737637758255005,
0.3159973919391632,
0.18398135900497437,
0.09856389462947845,
-0.21309854090213776,
0.31287166476249695,
0.21520261466503143,
-0.412560373544693,
-0.30833280086517334,
-0.5344377756118774,
-0.14361925423145294,
-0.07872612029314041,
-0.13617879152297974,
-0.24667879939079285,
-0.2664873003959656,
0.6244886517524719,
-0.056875161826610565,
0.36012569069862366,
0.08191075921058655,
0.19740265607833862,
-0.027750592678785324,
0.5092349648475647,
0.8171324729919434,
0.16017378866672516,
-0.07225105166435242,
0.22442272305488586,
-0.11908038705587387,
-0.04704603552818298,
0.18570572137832642,
0.08259598165750504,
-0.13759776949882507,
0.25844806432724,
0.28114187717437744,
1.2128578424453735,
0.198654443025589,
-0.5642999410629272,
0.6171236038208008,
0.10484018176794052,
0.026610706001520157,
-0.29137668013572693,
-0.18483369052410126,
-0.03435898944735527,
0.19383175671100616,
0.17428404092788696,
0.2867976427078247,
0.2857915461063385,
-0.7077007293701172,
0.3458622097969055,
0.3473913073539734,
-0.7739577293395996,
-0.39872658252716064,
0.7586649656295776,
0.3361641764640808,
-0.429110586643219,
0.3485858738422394,
-0.22432848811149597,
-0.5952070355415344,
0.027918359264731407,
0.7176225185394287,
1.234359860420227,
-0.4120945334434509,
0.21752618253231049,
0.07720868289470673,
-0.09989290684461594,
-0.09505143016576767,
0.4693247377872467,
-0.3802582919597626,
-0.08805542439222336,
-0.5813116431236267,
-0.8949205875396729,
-0.017531950026750565,
-0.1729198694229126,
-0.9840772747993469,
0.3863920271396637,
-0.08773178607225418,
0.06930211186408997,
-0.39288705587387085,
-0.5883499383926392,
-0.5135809779167175,
0.07333987206220627,
0.47309449315071106,
0.9987444281578064,
-0.8822044730186462,
0.9762478470802307,
0.19913113117218018,
-0.2849350869655609,
-1.3059331178665161,
-0.07817093282938004,
0.17397993803024292,
-0.8411871194839478,
0.6746248006820679,
-0.2794910967350006,
-0.2741435766220093,
0.2224934846162796,
-0.45415329933166504,
-1.1484556198120117,
0.8910326361656189,
0.4327964186668396,
-0.7162330150604248,
0.009667763486504555,
0.2984181344509125,
0.48651841282844543,
-0.4895431101322174,
0.20283174514770508,
0.5697063207626343,
0.1387670338153839,
0.6055110692977905,
-1.338638424873352,
0.18059992790222168,
-0.2763022482395172,
0.27364590764045715,
0.21638906002044678,
-0.5999608635902405,
0.8408074975013733,
0.049118977040052414,
-0.42339667677879333,
0.32490259408950806,
0.5264105796813965,
0.24734285473823547,
0.2206016331911087,
0.20018059015274048,
0.6594603061676025,
0.5251201391220093,
-0.1290106177330017,
0.9323937296867371,
-0.2871754765510559,
0.3905079662799835,
1.4178099632263184,
-0.4952645003795624,
1.2519680261611938,
0.468627393245697,
0.004230544902384281,
0.5912165641784668,
0.4024147391319275,
0.4694688022136688,
0.7453398108482361,
-0.04101025313138962,
-0.5078555941581726,
-0.3116234540939331,
-0.4491410553455353,
-0.639430820941925,
0.8796863555908203,
0.23986026644706726,
-0.3680213987827301,
-0.2748897671699524,
0.33284270763397217,
0.10736806690692902,
0.03190947324037552,
-0.27354833483695984,
0.9907099008560181,
0.26078668236732483,
-0.7620901465415955,
0.869247317314148,
-0.3208366632461548,
0.5093743801116943,
-0.6280003786087036,
0.1255422830581665,
-0.4460190534591675,
-0.07338457554578781,
-0.18470680713653564,
-0.747094452381134,
0.37957337498664856,
0.030856933444738388,
0.11281135678291321,
-0.49892565608024597,
0.4072723686695099,
-1.0251775979995728,
-0.48135000467300415,
0.5189365148544312,
0.35008522868156433,
0.43629875779151917,
0.012876749970018864,
-0.7518914937973022,
0.3166705369949341,
0.041095070540905,
-0.22200651466846466,
0.22972646355628967,
0.5349918603897095,
0.1650155931711197,
0.7929328680038452,
0.6196603775024414,
0.47926226258277893,
0.14770890772342682,
0.2733671963214874,
0.7184931635856628,
-0.5634837746620178,
-0.7758650779724121,
-0.5204477906227112,
0.8474583029747009,
0.023685753345489502,
-0.10432301461696625,
0.7063589692115784,
0.4933617413043976,
0.5881541967391968,
0.06133714318275452,
0.7666568756103516,
0.08409494161605835,
0.7718091011047363,
-0.5094571709632874,
0.7411497831344604,
-0.654662549495697,
0.00555481156334281,
-0.7438629865646362,
-0.839227020740509,
0.007807835470885038,
0.3473048210144043,
0.33826348185539246,
-0.2389034926891327,
0.8184958696365356,
0.6230416297912598,
-0.01514133159071207,
0.11069869995117188,
0.5865129828453064,
0.09752466529607773,
0.09770405292510986,
0.46272021532058716,
0.7928686738014221,
-0.5610891580581665,
0.5566493272781372,
-0.06276627629995346,
-0.2812017500400543,
-0.1132468655705452,
-0.7868898510932922,
-0.3369843661785126,
-0.6387832760810852,
-0.5997769236564636,
-0.5296675562858582,
0.07000095397233963,
1.0401737689971924,
0.7524554133415222,
-0.5592964887619019,
-0.28900018334388733,
-0.2796551585197449,
-0.20726332068443298,
-0.26682406663894653,
-0.17640827596187592,
0.30293726921081543,
-0.4583607614040375,
-0.8376947641372681,
0.6406732201576233,
0.7167353630065918,
0.05756116285920143,
-0.3400184214115143,
-0.2120812088251114,
0.06293215602636337,
0.14028111100196838,
0.8729753494262695,
0.17354008555412292,
-1.1707510948181152,
-0.2088223397731781,
-0.29756107926368713,
-0.16344307363033295,
-0.23162031173706055,
0.6727336049079895,
-0.5775125622749329,
0.5072096586227417,
0.3883533477783203,
0.3201068639755249,
0.38443616032600403,
0.024581829085946083,
0.42934417724609375,
-0.631049633026123,
0.4276876151561737,
0.3329002857208252,
0.2246825397014618,
0.19472849369049072,
-0.06245863810181618,
0.24919524788856506,
0.25022950768470764,
-0.44932207465171814,
-0.9350521564483643,
0.394512802362442,
-1.205765962600708,
-0.3308030068874359,
1.2465503215789795,
-0.22488459944725037,
-0.2068726122379303,
-0.12408381700515747,
-0.1379513293504715,
0.4590831398963928,
-0.4814710021018982,
0.4934067726135254,
0.2596980333328247,
-0.3107283413410187,
-0.18382686376571655,
-0.09523226320743561,
0.527947723865509,
0.5430303812026978,
-0.5646024346351624,
0.140849307179451,
0.25913918018341064,
0.041094984859228134,
0.007666383869946003,
0.553423285484314,
-0.1232023611664772,
0.10681072622537613,
0.0010398115264251828,
0.14041011035442352,
0.1899126172065735,
-0.2933191955089569,
-0.29274606704711914,
0.22784072160720825,
-0.12908118963241577,
-0.1633141189813614
] |
http://arxiv.org/abs/2406.00069v1
|
http://arxiv.org/pdf/2406.00069v1
|
Confidence-Aware Sub-Structure Beam Search (CABS): Mitigating Hallucination in Structured Data Generation with Large Language Models
| 2024-05-30T18:21:05 | 2024-05-30T18:21:05 |
Chengwei Wei, Kee Kiat Koo, Amir Tavanaei, Karim Bouyarmane
|
cs.CL
|
cs.CL, cs.LG
|
Large Language Models (LLMs) have facilitated structured data generation,
with applications in domains like tabular data, document databases, product
catalogs, etc. However, concerns persist about generation veracity due to
incorrect references or hallucinations, necessitating the incorporation of some
form of model confidence for mitigation. Existing confidence estimation methods
on LLM generations primarily focus on the confidence at the individual token
level or the entire output sequence level, limiting their applicability to
structured data generation, which consists of an intricate mix of both
independent and correlated entries at the sub-structure level. In this paper,
we first investigate confidence estimation methods for generated
sub-structure-level data. We introduce the concept of Confidence Network that
applies on the hidden state of the LLM transformer, as a more targeted estimate
than the traditional token conditional probability. We further propose
Confidence-Aware sub-structure Beam Search (CABS), a novel decoding method
operating at the sub-structure level in structured data generation. CABS
enhances the faithfulness of structured data generation by considering
confidence scores from the Confidence Network for each sub-structure-level data
and iteratively refining the prompts. Results show that CABS outperforms
traditional token-level beam search for structured data generation by 16.7%
Recall at 90% precision averagely on the problem of product attribute
generation.
|
[
-0.17923876643180847,
-0.8946500420570374,
0.5323560833930969,
0.29144811630249023,
-0.18229931592941284,
0.37226322293281555,
0.2727106511592865,
-0.27034249901771545,
0.2725541889667511,
0.09244058281183243,
-0.4956687092781067,
-1.0591477155685425,
-0.3608436584472656,
0.007640512194484472,
-0.6506813168525696,
0.4082159996032715,
0.09199053794145584,
0.060436125844717026,
-0.1542583554983139,
0.7238285541534424,
-0.5604419708251953,
-0.5819824934005737,
-0.5081736445426941,
-0.38707542419433594,
0.35054513812065125,
0.1355733722448349,
0.6616609692573547,
0.44394248723983765,
0.458029568195343,
0.25540056824684143,
-0.305846631526947,
0.46294039487838745,
-0.618938148021698,
0.2822660207748413,
-0.1475353091955185,
-0.5129317045211792,
-0.6423881649971008,
-0.464169979095459,
0.5493295788764954,
0.5938469171524048,
-0.2716228663921356,
-0.22235780954360962,
-0.029961511492729187,
0.525403618812561,
-0.6995509266853333,
0.42078927159309387,
-1.0553103685379028,
0.39809203147888184,
-0.15467654168605804,
-0.7254195213317871,
-0.8663282990455627,
-0.3327215015888214,
-0.3535201847553253,
-0.41435328125953674,
0.5146155953407288,
0.5076711773872375,
0.6215605139732361,
0.3829289674758911,
-0.2574225664138794,
-0.2444712072610855,
-0.5583930611610413,
0.7819194197654724,
-0.5329960584640503,
0.6235488653182983,
0.5343106985092163,
0.06325547397136688,
-0.8433606624603271,
-0.619250476360321,
-0.26930880546569824,
-0.14730358123779297,
-0.3418067991733551,
0.27035340666770935,
-0.21137355268001556,
0.3811882734298706,
0.07374965399503708,
0.3545481860637665,
-0.6797953844070435,
0.03242608159780502,
-0.16788432002067566,
-0.41152215003967285,
0.6830511093139648,
0.1266573965549469,
-0.16397564113140106,
-0.4633784592151642,
-0.29669642448425293,
-0.14607401192188263,
-0.8953737616539001,
-0.031218893826007843,
0.24725671112537384,
0.41397106647491455,
0.2256462275981903,
0.6644477844238281,
-0.2978208065032959,
0.172169029712677,
0.18845148384571075,
-0.2710322439670563,
0.21906016767024994,
-0.5442832708358765,
-0.32147833704948425,
0.3402642011642456,
0.6255751848220825,
-0.04723084717988968,
0.22317126393318176,
-0.20587961375713348,
-0.37317514419555664,
-0.02184584178030491,
0.33753064274787903,
-0.4753110706806183,
-0.14543651044368744,
0.32071757316589355,
-0.39645907282829285,
-0.3126240074634552,
0.31110909581184387,
-0.3987293243408203,
-0.4114513695240021,
0.18380945920944214,
0.1057092621922493,
-0.4746488630771637,
0.147592231631279,
-0.009084856137633324,
0.049001384526491165,
0.30722305178642273,
-0.03068048506975174,
-0.6489970684051514,
0.12499264627695084,
0.6198887825012207,
0.748742938041687,
-0.16303656995296478,
0.20563030242919922,
-0.598162055015564,
0.3291530907154083,
-0.8687170743942261,
0.5613734722137451,
-0.34000810980796814,
-0.8215922713279724,
-0.09705463796854019,
-0.02450324408710003,
0.03115873970091343,
-0.3949791193008423,
0.5665567517280579,
-0.48592132329940796,
-0.2868706285953522,
0.06244812160730362,
-0.44753894209861755,
0.23276756703853607,
0.19742225110530853,
-0.45574572682380676,
1.385454773902893,
0.08944141119718552,
-0.7800828814506531,
0.3345436751842499,
-0.030196333304047585,
-0.7199143171310425,
0.06431977450847626,
-0.5476498007774353,
-0.7670052647590637,
0.5398353934288025,
0.43567100167274475,
0.6034932136535645,
0.0383649505674839,
0.5160309076309204,
-0.1749095767736435,
-0.5403604507446289,
0.22721925377845764,
-0.34748196601867676,
0.20875194668769836,
0.11795753240585327,
-0.284957617521286,
0.17053785920143127,
-0.5361378788948059,
-0.005683831870555878,
-0.12174606323242188,
-0.28361809253692627,
-0.21337231993675232,
0.22955848276615143,
-0.4367797374725342,
-0.060957323759794235,
0.23169663548469543,
-0.6447739601135254,
-0.05641397461295128,
-0.5676597952842712,
-0.09271394461393356,
0.8375980257987976,
0.2673303186893463,
-0.016843823716044426,
-0.13373106718063354,
0.517571747303009,
0.39316749572753906,
0.20926058292388916,
-0.1508299857378006,
-0.45073625445365906,
-0.5123578906059265,
-0.08069368451833725,
0.19744814932346344,
0.3583199679851532,
-0.8712581992149353,
0.6423792839050293,
-0.3034879267215729,
-0.5143354535102844,
-0.385142058134079,
0.016477981582283974,
0.6306876540184021,
0.5312052965164185,
0.5205241441726685,
-0.3202301859855652,
-0.8718425035476685,
-0.9730430841445923,
0.042805541306734085,
-0.22240440547466278,
-0.05561905726790428,
0.29977118968963623,
0.3516063690185547,
-0.08062338083982468,
0.9895280599594116,
-0.4751478135585785,
-0.20254464447498322,
-0.33262062072753906,
0.15992514789104462,
0.1666337251663208,
0.6835450530052185,
0.15349338948726654,
-0.8985974788665771,
-0.38920727372169495,
0.00398819986730814,
-0.640758216381073,
0.1542685329914093,
-0.1484481245279312,
0.08692686259746552,
0.4604872763156891,
0.7140321731567383,
-0.6868212223052979,
0.7324103116989136,
0.5522647500038147,
-0.02669842354953289,
0.33166998624801636,
-0.22575341165065765,
-0.14655926823616028,
-1.3281363248825073,
-0.06349534541368484,
-0.20434518158435822,
-0.20036396384239197,
-0.29092368483543396,
-0.05644899234175682,
-0.05478006228804588,
0.3320233225822449,
-0.2729223370552063,
0.06299599260091782,
-0.6659467220306396,
-0.36805853247642517,
0.0076485490426421165,
0.21171791851520538,
-0.059072788804769516,
0.30574068427085876,
0.11793386191129684,
0.6961725950241089,
0.6584393382072449,
-0.39851006865501404,
0.18259656429290771,
0.37886863946914673,
-0.5264348983764648,
0.24928706884384155,
-0.6275184154510498,
0.14368359744548798,
-0.2874191999435425,
0.4377731680870056,
-1.1846871376037598,
-0.2979068458080292,
-0.07010466605424881,
-0.577863335609436,
0.5142268538475037,
0.11683814227581024,
-0.25366929173469543,
-0.504258394241333,
-0.24672569334506989,
0.16383972764015198,
0.45883068442344666,
-0.3647732734680176,
0.5890083909034729,
0.317096471786499,
-0.13650338351726532,
-1.0360976457595825,
-0.84573894739151,
0.0936586856842041,
0.24062228202819824,
-0.560027003288269,
0.4620501399040222,
-0.06663870811462402,
-0.08714190125465393,
-0.20500828325748444,
-0.5545834898948669,
0.13617366552352905,
0.1473974585533142,
0.479243665933609,
0.3322223424911499,
-0.05267779156565666,
0.15279322862625122,
0.4021759033203125,
-0.2759101390838623,
0.0016863299533724785,
-0.16617918014526367,
0.8246559500694275,
-0.10508279502391815,
-0.5359645485877991,
-0.19965752959251404,
0.3617955148220062,
0.1802775263786316,
-0.0463283509016037,
0.9041087627410889,
0.3967859745025635,
-0.3218129277229309,
-0.4721951484680176,
-0.4453493356704712,
-0.2707599997520447,
-0.4678148627281189,
0.6082106232643127,
-0.6872217655181885,
-0.7613463401794434,
0.40155142545700073,
0.08016383647918701,
-0.19747218489646912,
0.21758981049060822,
0.7121699452400208,
-0.09070353209972382,
1.2372417449951172,
0.7123396396636963,
0.09566204994916916,
0.16677822172641754,
-0.021503208205103874,
0.6572492122650146,
-0.4895758032798767,
-0.6678487062454224,
-0.5860609412193298,
-0.37799206376075745,
-0.5517665147781372,
-0.5286055207252502,
0.5506953001022339,
0.018358377739787102,
0.13611264526844025,
0.33836981654167175,
-0.4546651840209961,
0.3450031280517578,
0.5671206712722778,
0.23241090774536133,
0.5584208965301514,
0.1083422303199768,
-0.3042035400867462,
0.19444744288921356,
-0.8178134560585022,
-0.106700100004673,
0.899236261844635,
0.34613868594169617,
1.1191697120666504,
-0.25446006655693054,
0.712167501449585,
0.13697731494903564,
0.16644279658794403,
-0.9486293196678162,
0.5969457030296326,
0.028331372886896133,
-0.55521559715271,
-0.3390861451625824,
-0.7488487362861633,
-0.7899457216262817,
-0.17916688323020935,
-0.27007290720939636,
-0.4700455963611603,
0.5095463395118713,
0.21879522502422333,
-0.25145336985588074,
0.21592697501182556,
-0.21989360451698303,
0.2348317950963974,
0.06040037050843239,
-0.08394359797239304,
-0.11110451817512512,
-0.7789652347564697,
0.27857956290245056,
-0.3443177044391632,
0.15591561794281006,
0.17473512887954712,
0.26574522256851196,
0.3716186583042145,
-0.2601833641529083,
0.6934425830841064,
0.0043829395435750484,
-0.21297770738601685,
0.30625054240226746,
0.34402474761009216,
0.93324875831604,
-0.018840184435248375,
-0.29362666606903076,
0.22555123269557953,
-0.2782394289970398,
-0.12757033109664917,
-0.3093249201774597,
0.47418737411499023,
-0.2887304425239563,
-0.524283230304718,
-0.05072851851582527,
-0.9922252893447876,
-0.3725721836090088,
0.10463598370552063,
0.5950071215629578,
0.2541525959968567,
-0.06336825340986252,
0.9293968677520752,
0.8058168292045593,
-0.21171528100967407,
0.37701669335365295,
0.10889574140310287,
-0.017248334363102913,
-0.09850984811782837,
0.5495545268058777,
0.09574359655380249,
0.16854344308376312,
0.7994927167892456,
0.04664624109864235,
-0.427044153213501,
-0.8398609757423401,
0.07387113571166992,
0.04653877392411232,
-0.557435154914856,
-0.6105597615242004,
-0.4743765592575073,
-0.46519070863723755,
-0.7138063311576843,
-0.4111192226409912,
-0.47470301389694214,
-0.3297481834888458,
0.17255081236362457,
-0.6846045255661011,
0.008627757430076599,
0.6188921928405762,
0.053916726261377335,
0.2823829650878906,
-0.5756321549415588,
0.21075217425823212,
-0.02749938890337944,
0.3130573332309723,
-0.26215192675590515,
-0.15292437374591827,
-0.4129991829395294,
0.016211893409490585,
-0.1599380075931549,
-0.720199465751648,
0.5522101521492004,
-0.0768580436706543,
0.6468240022659302,
0.21084031462669373,
0.27390143275260925,
0.5175361633300781,
-0.11153096705675125,
0.6630128622055054,
0.08417196571826935,
-1.0680930614471436,
0.47550466656684875,
-0.05815012753009796,
-0.2649737596511841,
0.28292474150657654,
0.3406485319137573,
0.0003253541071899235,
-0.6548165678977966,
-0.461702436208725,
-0.8275882601737976,
0.6012278199195862,
0.43029335141181946,
-0.1497672200202942,
-0.07250417023897171,
0.23337650299072266,
-0.23328763246536255,
0.40589985251426697,
-0.7691711187362671,
-0.10129180550575256,
-0.3033694624900818,
-0.48016357421875,
0.09242568165063858,
-0.2769625186920166,
-0.06542887538671494,
0.07066816836595535,
0.8643395900726318,
-0.3025226593017578,
-0.114107646048069,
0.6015546917915344,
0.23953783512115479,
-0.37831035256385803,
0.4435146450996399,
0.26796790957450867,
0.32770562171936035,
-0.3435531258583069,
0.32765334844589233,
0.21641996502876282,
-0.5979623198509216,
0.011393674649298191,
-0.3841434419155121,
-0.4516963064670563,
0.24293948709964752,
0.2557848393917084,
0.6118476986885071,
0.11427970230579376,
-0.6128653883934021,
0.38515764474868774,
0.21021325886249542,
-0.30693113803863525,
-0.2425115704536438,
0.06082170084118843,
0.052354052662849426,
0.09452187269926071,
0.5119088888168335,
-0.21287380158901215,
0.027426663786172867,
-0.41783538460731506,
0.3120651841163635,
0.7846688628196716,
-0.4642312526702881,
-0.06266168504953384,
0.44108402729034424,
-0.1463685929775238,
-0.16103777289390564,
0.5054470896720886,
-0.026479490101337433,
-0.10085497051477432,
0.5793888568878174,
0.8266746401786804,
1.0194196701049805,
-0.4064691960811615,
0.123506560921669,
0.37353983521461487,
0.6142679452896118,
-0.13729038834571838,
0.2607290744781494,
0.03717324137687683,
-0.8322253227233887,
-0.33560818433761597,
-0.9711844325065613,
-0.36791524291038513,
-0.1091228798031807,
-0.5921382904052734,
0.026106981560587883,
-0.28381916880607605,
-0.2781151533126831,
-0.6657305955886841,
-0.06581605970859528,
-0.11459594964981079,
0.3495059013366699,
0.036003466695547104,
0.9944775104522705,
-0.5526440143585205,
0.9067949056625366,
0.09075657278299332,
-0.10608377307653427,
-1.2704110145568848,
-0.0645180270075798,
-0.27528756856918335,
-0.871033787727356,
0.48692160844802856,
0.008642337284982204,
-0.6458949446678162,
0.11031180620193481,
-0.6250727772712708,
-0.853344202041626,
1.4048190116882324,
0.31435778737068176,
-0.5759968757629395,
-0.38676682114601135,
0.32500267028808594,
0.41283777356147766,
-0.4856680631637573,
-0.08229685574769974,
0.5937510132789612,
0.5806529521942139,
0.5501049757003784,
-0.6023956537246704,
0.22969768941402435,
-0.20968139171600342,
0.2631388008594513,
0.11761640757322311,
-0.2276623249053955,
0.9499952793121338,
-0.034706395119428635,
-0.3982241153717041,
0.20361721515655518,
0.6891125440597534,
0.6537613272666931,
0.3139072358608246,
0.3503575921058655,
0.2904347777366638,
0.7364585995674133,
-0.25481700897216797,
0.945761501789093,
-0.5637011528015137,
0.4260310232639313,
0.9794413447380066,
-0.1761547476053238,
0.792046070098877,
0.547188401222229,
0.10366170108318329,
0.7144313454627991,
0.4537934362888336,
0.033523913472890854,
0.27569568157196045,
0.1834336817264557,
0.13382598757743835,
-0.4102023243904114,
-0.24917642772197723,
-0.42407894134521484,
0.3725926876068115,
0.5573721528053284,
-0.6319588422775269,
-0.028833787888288498,
-0.546088695526123,
-0.135898619890213,
-0.11695582419633865,
-0.2493496537208557,
0.5858381390571594,
0.22227543592453003,
-0.5716608762741089,
0.46082770824432373,
-0.02230573259294033,
0.3961394727230072,
-0.8338351249694824,
0.11614111065864563,
-0.5098644495010376,
0.15011127293109894,
-0.575589656829834,
-0.5366715788841248,
0.318760484457016,
-0.2293587028980255,
0.025411149486899376,
-0.21372292935848236,
0.7581683397293091,
-0.3351462781429291,
-0.6367972493171692,
0.20877045392990112,
0.5228924751281738,
0.12335316091775894,
-0.06009332463145256,
-0.21390359103679657,
-0.04111054167151451,
-0.0821208581328392,
-0.5063344836235046,
-0.023929163813591003,
0.2927035391330719,
-0.1058444008231163,
0.6520179510116577,
0.6384498476982117,
0.18413947522640228,
0.18358264863491058,
0.07020274549722672,
0.7079851627349854,
-0.5178549289703369,
-0.4382791519165039,
-0.6514331698417664,
0.270419180393219,
-0.009495221078395844,
0.031888674944639206,
1.0445464849472046,
0.7162434458732605,
0.781558096408844,
-0.08165869116783142,
0.5858727693557739,
0.13568969070911407,
0.3132789134979248,
-0.7398467063903809,
0.5866996645927429,
-0.4655643105506897,
0.38657480478286743,
-0.4853290319442749,
-1.0534147024154663,
-0.38283491134643555,
0.550693690776825,
-0.15803416073322296,
0.08860957622528076,
0.7882599830627441,
1.3930038213729858,
0.17261606454849243,
-0.052902694791555405,
0.4130747318267822,
0.6568325161933899,
0.34781378507614136,
0.5696110725402832,
0.7122981548309326,
-0.33986687660217285,
0.6285821199417114,
-0.1200878694653511,
-0.05491776391863823,
-0.19170282781124115,
-0.8123868107795715,
-0.5858416557312012,
-0.3733718693256378,
0.13444693386554718,
-0.26769354939460754,
-0.15054041147232056,
0.6129981875419617,
0.8165605068206787,
-0.8716291785240173,
-0.14593417942523956,
-0.6501571536064148,
0.2652848958969116,
-0.11794855445623398,
-0.25261324644088745,
0.4561719596385956,
-0.29611629247665405,
-0.686638355255127,
0.9730066061019897,
0.44739341735839844,
0.18376539647579193,
-0.4516700804233551,
-0.09193361550569534,
-0.030793966725468636,
0.49827367067337036,
0.4462697207927704,
-0.13218776881694794,
-0.4961368441581726,
-0.3564208745956421,
0.38231346011161804,
-0.2901131212711334,
0.1244809553027153,
0.7315597534179688,
-0.89388108253479,
0.18009383976459503,
0.5888900756835938,
0.3910171091556549,
0.4632698595523834,
0.3885630965232849,
0.5108346343040466,
-1.320265769958496,
0.10182234644889832,
0.20478302240371704,
0.52720046043396,
0.3151400685310364,
-0.6587857604026794,
0.6874878406524658,
0.3261619508266449,
-0.2257480025291443,
-0.9497670531272888,
0.4128448963165283,
-1.1164079904556274,
-0.3484296500682831,
0.8154268860816956,
0.0829290896654129,
-0.15763144195079803,
-0.3102501630783081,
-0.06340111792087555,
0.3604091703891754,
-0.29492777585983276,
0.9454719424247742,
0.2675519585609436,
-0.14160849153995514,
0.23220288753509521,
0.09234794974327087,
0.4467995762825012,
0.5343034267425537,
-0.7497178912162781,
0.04377392306923866,
0.4262969493865967,
-0.296627014875412,
0.5444400906562805,
0.5463903546333313,
-0.2685936391353607,
-0.027423596009612083,
0.3319858908653259,
0.07265790551900864,
-0.3232833743095398,
-0.8875331282615662,
0.13847142457962036,
0.7502868175506592,
-0.2901301383972168,
0.12734399735927582
] |
http://arxiv.org/abs/2405.20404v1
|
http://arxiv.org/pdf/2405.20404v1
|
XPrompt:Explaining Large Language Model's Generation via Joint Prompt Attribution
| 2024-05-30T18:16:41 | 2024-05-30T18:16:41 |
Yurui Chang, Bochuan Cao, Yujia Wang, Jinghui Chen, Lu Lin
|
cs.CL
|
cs.CL, cs.LG
|
Large Language Models (LLMs) have demonstrated impressive performances in
complex text generation tasks. However, the contribution of the input prompt to
the generated content still remains obscure to humans, underscoring the
necessity of elucidating and explaining the causality between input and output
pairs. Existing works for providing prompt-specific explanation often confine
model output to be classification or next-word prediction. Few initial attempts
aiming to explain the entire language generation often treat input prompt texts
independently, ignoring their combinatorial effects on the follow-up
generation. In this study, we introduce a counterfactual explanation framework
based on joint prompt attribution, XPrompt, which aims to explain how a few
prompt texts collaboratively influences the LLM's complete generation.
Particularly, we formulate the task of prompt attribution for generation
interpretation as a combinatorial optimization problem, and introduce a
probabilistic algorithm to search for the casual input combination in the
discrete space. We define and utilize multiple metrics to evaluate the produced
explanations, demonstrating both faithfulness and efficiency of our framework.
|
[
-0.3419102132320404,
-0.8138209581375122,
0.9999426603317261,
0.09713485091924667,
-0.3984783887863159,
-0.24333713948726654,
-0.24714890122413635,
-0.1132105141878128,
-0.046143241226673126,
0.30480414628982544,
-1.169403076171875,
-0.12553538382053375,
-0.36240068078041077,
0.18800480663776398,
-0.35234302282333374,
0.9779000282287598,
-0.2076408714056015,
-0.19433929026126862,
-0.5323680639266968,
0.08299694210290909,
-0.5641703605651855,
-0.43861153721809387,
-0.7190895676612854,
-0.6787686347961426,
0.8792634606361389,
0.575562059879303,
0.6217775940895081,
0.5708020925521851,
0.043239250779151917,
0.3366132378578186,
0.1708734929561615,
0.01525947917252779,
-0.6038807034492493,
0.2861596643924713,
-0.20060591399669647,
-0.4649708569049835,
0.0700424537062645,
-0.16679808497428894,
0.7652284502983093,
0.8042595386505127,
0.16083069145679474,
0.1304817646741867,
0.1286889761686325,
0.23288466036319733,
-0.39555123448371887,
0.0479879193007946,
-0.578667938709259,
-0.032557226717472076,
-0.19414187967777252,
-0.5527281761169434,
-0.44920623302459717,
-0.37965360283851624,
-0.059580881148576736,
-0.5115416646003723,
0.2910071611404419,
0.23302902281284332,
0.4507313370704651,
0.13146033883094788,
-0.4042282998561859,
-0.2221074402332306,
-0.6345463991165161,
0.9385108947753906,
-0.4079238474369049,
-0.07669082283973694,
0.1866958737373352,
0.1623258888721466,
-0.4743068218231201,
-0.4779954254627228,
-0.9707523584365845,
0.018946906551718712,
-0.14251762628555298,
0.06644882261753082,
-0.36115774512290955,
-0.14092519879341125,
0.02408125065267086,
0.1440916359424591,
-0.9279831647872925,
0.21328413486480713,
0.06191207095980644,
-0.12292802333831787,
0.4450543224811554,
0.32397231459617615,
0.47654956579208374,
-0.2740999758243561,
-0.42980802059173584,
-0.23686987161636353,
-0.8950538635253906,
0.08763094991445541,
0.5197288393974304,
0.3467842638492584,
-0.19356900453567505,
0.535315752029419,
0.2110489308834076,
0.7850504517555237,
-0.13395988941192627,
0.1549728363752365,
-0.03191462904214859,
-0.6642853617668152,
0.025545168668031693,
0.23157991468906403,
0.9253585934638977,
0.2713049650192261,
0.11783260852098465,
0.018055245280265808,
-0.1374661922454834,
0.13053308427333832,
-0.11847925186157227,
-0.663813591003418,
-0.050413962453603745,
0.3997931182384491,
-0.5556033253669739,
-0.636641800403595,
-0.2559046149253845,
-0.7329135537147522,
-0.3909689784049988,
-0.2758418619632721,
0.41030392050743103,
-0.3217082619667053,
-0.13449878990650177,
-0.15668652951717377,
-0.1754266321659088,
-0.1361590474843979,
0.09738604724407196,
-0.8412522673606873,
0.2992745637893677,
0.6308789849281311,
0.7329629063606262,
-0.264883428812027,
-0.4404366910457611,
-0.873616099357605,
0.13780048489570618,
-0.17162291705608368,
0.974308967590332,
-0.48255419731140137,
-0.3484007716178894,
-0.0744905024766922,
-0.12902292609214783,
-0.14363622665405273,
-0.19939503073692322,
0.4082443118095398,
-0.3199264407157898,
0.6718007922172546,
-0.40937936305999756,
-0.5104967355728149,
-0.16804569959640503,
0.031493499875068665,
-0.5117868781089783,
0.5741216540336609,
-0.009579758159816265,
-0.7812992334365845,
0.5293149948120117,
-0.536649227142334,
-0.3816382884979248,
0.3639020025730133,
-0.3288535475730896,
-0.3809520900249481,
0.17685721814632416,
0.18402381241321564,
0.25018900632858276,
-0.5350302457809448,
0.6671947240829468,
-0.2997996509075165,
-0.2023497074842453,
0.6365682482719421,
-0.5502429604530334,
1.082180380821228,
0.1606627255678177,
-0.26453104615211487,
0.41105228662490845,
-0.7008001208305359,
-0.15427790582180023,
0.4956621527671814,
-0.16890661418437958,
-0.24589607119560242,
0.09152361005544662,
-0.12087897211313248,
0.2201785147190094,
0.2807234525680542,
-0.5033376812934875,
-0.12849704921245575,
-0.129591166973114,
0.19025731086730957,
0.7366934418678284,
0.16228753328323364,
0.255125492811203,
-0.40665408968925476,
0.7277663946151733,
-0.0758860632777214,
0.055895011872053146,
-0.6668164730072021,
-0.49434924125671387,
-0.09209147840738297,
-0.1880595088005066,
-0.05723834037780762,
0.2621999680995941,
-0.8388715386390686,
0.2454344630241394,
-0.09762193262577057,
-0.15750545263290405,
0.06478005647659302,
0.168877512216568,
0.531803548336029,
0.6688855886459351,
-0.009390422143042088,
-0.07597342878580093,
-0.6665675044059753,
-0.7166888117790222,
-0.3987201452255249,
-0.26082825660705566,
0.008880176581442356,
0.25575411319732666,
0.2278437465429306,
-0.04556075856089592,
0.9791160225868225,
-0.41043296456336975,
0.25764137506484985,
-0.7345767617225647,
0.5488865375518799,
0.5185757875442505,
0.4314456582069397,
0.5991142392158508,
-0.7674202919006348,
-0.3172125816345215,
-0.38943034410476685,
-0.41553133726119995,
-0.5355428457260132,
-0.35091713070869446,
0.08151672780513763,
0.15262654423713684,
0.49367013573646545,
-0.6044503450393677,
0.009200576692819595,
0.7370747327804565,
-0.4438548982143402,
0.77751624584198,
-0.32066550850868225,
-0.050473302602767944,
-0.9375914335250854,
0.07743644714355469,
-0.14210744202136993,
-0.2955124080181122,
-0.4757944643497467,
0.18890723586082458,
-0.31530168652534485,
-0.35049962997436523,
-0.22187626361846924,
0.6739777326583862,
-0.3538609445095062,
-0.1475006341934204,
-0.2605656385421753,
0.501327633857727,
0.03972408175468445,
0.4739915132522583,
-0.060716647654771805,
0.4441509246826172,
0.3815757930278778,
-0.40894103050231934,
0.5308889746665955,
0.2417396456003189,
-0.16970272362232208,
0.3591873347759247,
-0.6434073448181152,
-0.20457132160663605,
-0.18517014384269714,
0.48411163687705994,
-1.5988919734954834,
-0.4103560447692871,
0.27725327014923096,
-0.5227087140083313,
0.08582465350627899,
-0.14365972578525543,
-0.8241015076637268,
-0.4695500433444977,
-0.32541966438293457,
0.7148265242576599,
0.5252266526222229,
-0.8929632902145386,
0.35557565093040466,
-0.1421579122543335,
-0.413982093334198,
-0.17032203078269958,
-0.41926056146621704,
0.04838051274418831,
-0.3780547082424164,
-0.7222527265548706,
0.2947867214679718,
-0.17658041417598724,
-0.39183804392814636,
-0.14634829759597778,
0.11440066993236542,
0.10923419147729874,
0.09802646189928055,
0.28752613067626953,
0.35295435786247253,
-0.16773851215839386,
0.12907421588897705,
0.10290452092885971,
-0.3217167854309082,
0.3378344476222992,
-0.15445616841316223,
0.9146410226821899,
0.45566725730895996,
-0.30409374833106995,
-0.3541369140148163,
0.6306626796722412,
0.26111340522766113,
-0.015950597822666168,
0.8665809631347656,
0.5661061406135559,
0.048360425978899,
-0.2806117832660675,
-0.058171987533569336,
-0.29221510887145996,
-0.4887027144432068,
0.27201783657073975,
-0.2627164125442505,
-0.44705647230148315,
0.7520833015441895,
0.007181523833423853,
-0.039622269570827484,
0.4833669662475586,
0.7174965739250183,
0.25746873021125793,
1.3223668336868286,
0.4581626057624817,
0.4083681106567383,
0.6340941786766052,
0.3261987268924713,
0.23838496208190918,
-0.3340664207935333,
-0.11499490588903427,
-0.5407366156578064,
-0.09485746920108795,
-0.5189546346664429,
-0.1766393780708313,
0.30946069955825806,
-0.09118053317070007,
-0.17762701213359833,
0.3016557991504669,
-0.13958454132080078,
0.43284639716148376,
0.956469714641571,
0.011928318068385124,
0.26915985345840454,
0.09223877638578415,
-0.27927708625793457,
0.10039008408784866,
-0.9397759437561035,
-0.2557145953178406,
0.8813416957855225,
0.0642893984913826,
0.4791615307331085,
0.13980834186077118,
0.9037851691246033,
0.03880070522427559,
-0.15230168402194977,
-0.4178295135498047,
0.5661754012107849,
-0.21731781959533691,
-0.5143725872039795,
-0.22673600912094116,
-0.648808479309082,
-1.0688785314559937,
0.07373212277889252,
-0.26167944073677063,
-1.0282570123672485,
-0.05106792598962784,
0.41202080249786377,
-0.5059527158737183,
-0.039037104696035385,
-0.647268533706665,
0.9694711565971375,
-0.1643068641424179,
-0.5715189576148987,
-0.330970823764801,
-0.6161828637123108,
0.6758336424827576,
-0.36241409182548523,
0.37196582555770874,
0.2711627185344696,
0.16577212512493134,
0.7248523831367493,
-0.6398941874504089,
0.8832215070724487,
-0.1957665979862213,
-0.36464908719062805,
0.3291519582271576,
0.21345703303813934,
0.6639345288276672,
-0.07983975112438202,
0.06380745768547058,
-0.18363626301288605,
-0.2234121710062027,
-0.26773664355278015,
-0.5254887342453003,
0.8167369365692139,
-0.5997251272201538,
-0.44163307547569275,
0.06493109464645386,
-0.7840889096260071,
-0.05829687416553497,
0.26792535185813904,
0.6388426423072815,
0.9044386148452759,
-0.004884437657892704,
-0.22290891408920288,
0.5912152528762817,
-0.7212278246879578,
0.6396370530128479,
0.18521489202976227,
-0.46184632182121277,
-0.17765532433986664,
1.2213959693908691,
-0.2111922651529312,
0.22039303183555603,
0.25199052691459656,
0.6455724835395813,
-0.4162261486053467,
-0.40884631872177124,
-0.4038589894771576,
0.21378538012504578,
-0.7532323002815247,
0.045454103499650955,
-0.5440592765808105,
0.2907790541648865,
-0.28801512718200684,
-0.4479354918003082,
0.023919953033328056,
-0.5502644777297974,
-0.31227734684944153,
0.18163809180259705,
0.11816200613975525,
0.7039232850074768,
-0.21527284383773804,
0.8106934428215027,
-0.8336508274078369,
0.5394973158836365,
0.42879799008369446,
0.1075562983751297,
0.13318373262882233,
-0.43493106961250305,
-0.027672555297613144,
0.0350571870803833,
-0.17580729722976685,
-0.9328882694244385,
0.287615567445755,
0.02669418230652809,
0.6010769009590149,
0.47987112402915955,
0.04449860379099846,
0.3937746584415436,
-0.42923715710639954,
0.9137964248657227,
0.5697575807571411,
-1.046521782875061,
0.43567532300949097,
-0.5847839117050171,
0.5700288414955139,
0.13308840990066528,
0.16177313029766083,
-0.42684781551361084,
-0.4171483814716339,
-0.8010759353637695,
-1.0258783102035522,
0.8751304745674133,
0.2492530345916748,
-0.04350999742746353,
-0.07039937376976013,
0.16338393092155457,
0.49528321623802185,
0.11967388540506363,
-0.8261337876319885,
-0.12223542481660843,
0.09193891286849976,
-0.39496907591819763,
-0.22201141715049744,
-0.2651658356189728,
-0.3472367227077484,
0.11726023256778717,
0.6149370074272156,
-0.06486015021800995,
0.35280194878578186,
-0.08108072727918625,
-0.16155067086219788,
-0.684879720211029,
0.1934548020362854,
0.8944928050041199,
0.7924114465713501,
0.0064395214430987835,
0.37816303968429565,
-0.28595346212387085,
0.015213355422019958,
0.01445029303431511,
0.24566854536533356,
0.005948497448116541,
0.23314091563224792,
0.8248694539070129,
0.7050045728683472,
0.04262619838118553,
-0.705129086971283,
0.7407051920890808,
-0.1217174232006073,
-0.20603646337985992,
-0.2457270622253418,
0.1986682116985321,
-0.01886424794793129,
0.33480116724967957,
0.5908222794532776,
-0.09794197976589203,
0.01534448191523552,
-0.6288298964500427,
0.2298346906900406,
0.5025917291641235,
-0.10606684535741806,
-0.4794519543647766,
0.805337131023407,
0.02240537479519844,
-0.12338877469301224,
0.19258162379264832,
-0.28065869212150574,
-0.7152525186538696,
0.6707821488380432,
0.7269459366798401,
0.8826267123222351,
0.0205882266163826,
0.39372047781944275,
0.2877137064933777,
-0.03626736253499985,
0.03087826818227768,
0.3143523931503296,
-0.22162194550037384,
-0.6779656410217285,
-0.8076066374778748,
-0.3835086226463318,
-0.2925543785095215,
0.05028924345970154,
-0.3265244960784912,
0.17499223351478577,
-0.10068462789058685,
0.18171364068984985,
0.0855880007147789,
-0.20306943356990814,
-0.5428766012191772,
0.06419256329536438,
0.3967209756374359,
0.3883340060710907,
-1.1374379396438599,
0.4150914251804352,
0.48355191946029663,
-0.26456978917121887,
-0.7204325795173645,
0.02320244163274765,
0.09547504037618637,
-1.1714451313018799,
0.8137443661689758,
0.09987722337245941,
-0.03583806753158569,
-0.028007343411445618,
-0.8888512253761292,
-0.6771618723869324,
0.6565144062042236,
0.42202404141426086,
-0.6622298359870911,
0.12392707914113998,
0.11938909441232681,
0.3795333504676819,
-0.39380329847335815,
0.12171988934278488,
0.3303737938404083,
0.6121626496315002,
0.18633069097995758,
-0.5456450581550598,
0.475242018699646,
0.04078326374292374,
-0.06605634838342667,
0.26462528109550476,
-0.23755748569965363,
0.918168842792511,
-0.43616220355033875,
-0.11696318536996841,
0.21243244409561157,
0.2549762427806854,
0.5708966851234436,
0.34332987666130066,
0.6262523531913757,
0.24515588581562042,
0.4260258078575134,
0.11864911019802094,
1.3020473718643188,
-0.18995507061481476,
0.20238849520683289,
1.365976333618164,
-0.03432100638747215,
0.339150995016098,
0.7979455590248108,
-0.09753352403640747,
0.6327999234199524,
0.7189760804176331,
0.11005516350269318,
0.6056725382804871,
0.393097847700119,
-0.32865825295448303,
-0.35999980568885803,
-0.32235944271087646,
0.015641754493117332,
0.26483237743377686,
0.09833882749080658,
-0.7628909945487976,
-0.49003851413726807,
0.101966492831707,
0.021454570814967155,
-0.06212013587355614,
-0.23398374021053314,
0.7383019924163818,
-0.05177486687898636,
-0.9891623258590698,
0.473632276058197,
-0.21713392436504364,
0.20188525319099426,
-0.4780154824256897,
-0.007171971257776022,
-0.19802804291248322,
0.14883184432983398,
-0.06635680794715881,
-0.6870470643043518,
-0.021865464746952057,
-0.1344488263130188,
-0.19944950938224792,
-0.46985170245170593,
0.5004138946533203,
-0.532187819480896,
-0.40666478872299194,
0.1012505292892456,
0.5033841133117676,
0.18555490672588348,
-0.03404540941119194,
-0.46489328145980835,
0.13555440306663513,
0.11615113914012909,
-0.3611098825931549,
0.19507747888565063,
0.6899735331535339,
-0.08418498188257217,
0.41893136501312256,
0.6214796900749207,
0.05771826580166817,
-0.1166607141494751,
0.009331084787845612,
0.8783501386642456,
-0.44161587953567505,
-0.585372269153595,
-1.2014968395233154,
0.46426400542259216,
0.06427318602800369,
-0.181173175573349,
0.5416353344917297,
0.17000943422317505,
0.44484078884124756,
0.007915821857750416,
0.8597631454467773,
-0.08154620230197906,
0.42230501770973206,
-0.42143598198890686,
0.2937765419483185,
-0.6256983876228333,
0.21217742562294006,
-0.45508795976638794,
-1.126413106918335,
-0.33918213844299316,
0.18159392476081848,
-0.30609384179115295,
-0.15258479118347168,
0.8055248856544495,
0.4953603744506836,
-0.11535027623176575,
0.0200662799179554,
0.26673999428749084,
0.2429557740688324,
0.34721627831459045,
0.4976261556148529,
0.7712674140930176,
0.011486202478408813,
0.8454311490058899,
0.0012036865809932351,
-0.3272581100463867,
-0.22875525057315826,
-1.1794880628585815,
-0.8708645701408386,
-0.5618205666542053,
-0.26967930793762207,
-0.07966858148574829,
-0.059014152735471725,
0.8891189694404602,
0.21405425667762756,
-0.5590837001800537,
-0.13489890098571777,
-0.6387134790420532,
0.2379722148180008,
-0.23418912291526794,
-0.2616424560546875,
0.2846074104309082,
-0.45053306221961975,
-0.553938627243042,
0.3760754466056824,
-0.0028759853448718786,
0.08045544475317001,
-0.3829710781574249,
0.02749050222337246,
-0.011773231439292431,
0.13589023053646088,
0.4878835380077362,
0.1464700847864151,
-0.5501944422721863,
-0.22255492210388184,
-0.28852635622024536,
0.253079891204834,
-0.15310829877853394,
1.1544724702835083,
-0.754643440246582,
0.4137466549873352,
0.8001367449760437,
0.31162190437316895,
0.196751669049263,
0.031563565135002136,
1.2543281316757202,
-0.9585425853729248,
0.028144465759396553,
-0.21160973608493805,
0.49237242341041565,
0.3201991021633148,
-0.3213421404361725,
0.13178454339504242,
0.26861289143562317,
-0.5168800354003906,
-0.8838595747947693,
0.5399784445762634,
-0.7706837058067322,
-0.6222893595695496,
1.2524248361587524,
-0.29807302355766296,
-0.3011983036994934,
-0.12516961991786957,
-0.2018178552389145,
0.5101421475410461,
-0.4877443313598633,
0.5970283150672913,
0.5234202742576599,
-0.20994314551353455,
-0.41728153824806213,
-0.17194253206253052,
0.3407025933265686,
0.6796628832817078,
-0.6110908389091492,
0.40584155917167664,
0.6800258159637451,
-0.07493185251951218,
0.22380389273166656,
0.40017279982566833,
0.17746271193027496,
0.29581692814826965,
0.17252513766288757,
-0.05835781991481781,
-0.06748451292514801,
-0.12645955383777618,
-0.41356709599494934,
0.19257044792175293,
-0.011546246707439423,
-0.0970708429813385
] |
http://arxiv.org/abs/2406.15444v1
|
http://arxiv.org/pdf/2406.15444v1
|
Investigating the Robustness of LLMs on Math Word Problems
| 2024-05-30T18:07:13 | 2024-05-30T18:07:13 |
Ujjwala Anantheswaran, Himanshu Gupta, Kevin Scaria, Shreyas Verma, Chitta Baral, Swaroop Mishra
|
cs.CL
|
cs.CL
|
Large Language Models (LLMs) excel at various tasks, including solving math
word problems (MWPs), but struggle with real-world problems containing
irrelevant information. To address this, we propose a prompting framework that
generates adversarial variants of MWPs by adding irrelevant variables. We
introduce a dataset, ProbleMATHIC, containing both adversarial and
non-adversarial MWPs. Our experiments reveal that LLMs are susceptible to
distraction by numerical noise, resulting in an average relative performance
drop of ~26% on adversarial MWPs. To mitigate this, we fine-tune LLMs (Llama-2,
Mistral) on the adversarial samples from our dataset. Fine-tuning on
adversarial training instances improves performance on adversarial MWPs by ~8%,
indicating increased robustness to noise and better ability to identify
relevant data for reasoning. Finally, to assess the generalizability of our
prompting framework, we introduce GSM-8K-Adv, an adversarial variant of the
GSM-8K benchmark. LLMs continue to struggle when faced with adversarial
information, reducing performance by up to ~6%.
|
[
-0.34067633748054504,
-1.0758203268051147,
0.4676917791366577,
0.26038020849227905,
-0.10417783260345459,
-0.05467335879802704,
-0.30382657051086426,
-0.058853745460510254,
-0.16285279393196106,
0.26265615224838257,
-0.7585998177528381,
-0.3749297261238098,
-0.8647412061691284,
0.18547311425209045,
-0.24943862855434418,
0.9341989159584045,
0.08978525549173355,
0.15176181495189667,
-0.2940957844257355,
-0.20469354093074799,
-0.5074203610420227,
-0.44645872712135315,
-0.7309725880622864,
-0.4450162649154663,
0.6244060397148132,
0.08593238145112991,
1.1063696146011353,
0.7292637825012207,
0.5508708357810974,
0.3232848346233368,
-0.26401039958000183,
0.38502928614616394,
-0.6334625482559204,
0.33861833810806274,
0.056747615337371826,
-0.8903586268424988,
-0.29108378291130066,
-0.0812947154045105,
0.27421197295188904,
0.5681618452072144,
-0.12487265467643738,
0.07523225247859955,
0.1570601612329483,
0.728664219379425,
-0.6309757828712463,
0.30085787177085876,
-1.0873357057571411,
-0.03837985545396805,
-0.2335154116153717,
-0.23280221223831177,
-0.30921655893325806,
-0.22803379595279694,
-0.03579667583107948,
-0.835516095161438,
0.11622964590787888,
-0.08054714649915695,
0.775890052318573,
0.7182705402374268,
-0.05582674592733383,
-0.6507346034049988,
-0.4685360789299011,
0.7225674986839294,
-0.5948500633239746,
0.07668845355510712,
0.7992671132087708,
0.0344751738011837,
-0.5747340321540833,
-0.1802552342414856,
-0.3748025894165039,
-0.30909493565559387,
0.3555722236633301,
0.18083395063877106,
-0.5674557685852051,
-0.10312927514314651,
0.6031322479248047,
0.12844277918338776,
-0.379483699798584,
0.04117127135396004,
-0.25201454758644104,
-0.3243056833744049,
0.3296608328819275,
0.27894556522369385,
0.29959818720817566,
0.14686216413974762,
0.06697894632816315,
-0.026761164888739586,
-1.1144477128982544,
0.06138908490538597,
0.7479239702224731,
0.2620696723461151,
0.012570939026772976,
0.6502841711044312,
0.20224325358867645,
0.8526070713996887,
-0.060132745653390884,
-0.25601726770401,
-0.11920266598463058,
0.04671190679073334,
-0.0020660595037043095,
-0.3290245234966278,
0.6347942352294922,
0.18300560116767883,
0.5786528587341309,
-0.13843001425266266,
-0.38415300846099854,
0.4189484715461731,
0.27515706419944763,
-0.710164487361908,
-0.4173511564731598,
0.035295095294713974,
-0.01628793403506279,
-0.5930080413818359,
-0.2916146516799927,
-0.5205617547035217,
-0.4961216151714325,
-0.19930939376354218,
0.6706563830375671,
-0.5097517371177673,
0.06406756490468979,
0.04620831459760666,
0.01315494254231453,
-0.11857607215642929,
0.2281070351600647,
-0.9352676868438721,
0.02189350500702858,
0.8005713820457458,
0.8544656038284302,
0.03481506183743477,
-0.2534582018852234,
-0.9157300591468811,
-0.19144535064697266,
-0.6579105257987976,
0.6215095520019531,
-0.42104142904281616,
-0.5599908828735352,
-0.005890591535717249,
-0.33097657561302185,
-0.12883712351322174,
-0.8730751872062683,
0.6010730266571045,
-0.5899967551231384,
0.12340870499610901,
-0.42399248480796814,
-0.3750486671924591,
0.04198964685201645,
0.5231776237487793,
-0.6642767786979675,
1.0137293338775635,
0.09839096665382385,
-0.8829249143600464,
0.04347069934010506,
-0.4030216932296753,
-0.3241594731807709,
-0.13200116157531738,
-0.2880261540412903,
-0.5285428166389465,
0.2847619354724884,
0.4185720384120941,
0.21586699783802032,
-0.34574073553085327,
0.127813920378685,
-0.5533019304275513,
-0.44656556844711304,
0.5612714290618896,
-0.7688473463058472,
0.6662694215774536,
0.17190887033939362,
-0.18704460561275482,
-0.09930594265460968,
-0.8589876890182495,
-0.029222264885902405,
0.3726068437099457,
-0.3869999945163727,
-0.3230450451374054,
0.013473608531057835,
-0.5816864967346191,
0.13904596865177155,
0.18756432831287384,
-0.1733301430940628,
0.1545630544424057,
-0.502072811126709,
0.35745614767074585,
1.068742036819458,
-0.2474460005760193,
0.08371493965387344,
-0.7688193917274475,
0.8592725992202759,
-0.15273170173168182,
-0.18312989175319672,
-0.14861862361431122,
-0.628510594367981,
-0.6394330859184265,
-0.4069293737411499,
0.3466920554637909,
0.8320328593254089,
-1.1191240549087524,
0.1347935050725937,
-0.25820469856262207,
-0.2294050008058548,
-0.3334903419017792,
0.3982728123664856,
0.442568302154541,
0.7457453608512878,
0.1705637127161026,
0.3964029848575592,
-0.20534822344779968,
-0.5847916603088379,
-0.4000030755996704,
-0.13504531979560852,
-0.22271986305713654,
0.42627984285354614,
0.29752275347709656,
-0.026134533807635307,
0.7199257016181946,
-0.4742399752140045,
-0.1433189958333969,
-0.021376952528953552,
0.05421863868832588,
0.1922929286956787,
-0.0940479263663292,
0.36324968934059143,
-0.6283531188964844,
-0.2770715653896332,
-0.4274181127548218,
-0.7382745146751404,
-0.6095902323722839,
-0.007465717848390341,
0.09743356704711914,
-0.07786986231803894,
0.3826366066932678,
-0.5707991123199463,
0.43740928173065186,
0.569246232509613,
-0.19878792762756348,
0.5837098956108093,
-0.22663453221321106,
-0.3219400942325592,
-1.2124673128128052,
-0.04229425638914108,
-0.013527950271964073,
0.007380403112620115,
-0.5446873903274536,
-0.08236801624298096,
0.006390478927642107,
-0.28974875807762146,
-0.3601887822151184,
0.22611726820468903,
-0.3479302227497101,
0.17728480696678162,
-0.3373318016529083,
0.2080599069595337,
-0.03506316617131233,
0.35140982270240784,
-0.47391363978385925,
1.2153123617172241,
0.6659814715385437,
-0.8716831803321838,
0.33462297916412354,
0.12089230120182037,
-0.0818779394030571,
0.5031309127807617,
-0.790736734867096,
0.0090226661413908,
-0.15102234482765198,
-0.05744337663054466,
-0.8417133092880249,
-0.13575318455696106,
0.16459889709949493,
-0.618425726890564,
0.24979616701602936,
-0.08667080104351044,
-0.6669540405273438,
-0.2680392265319824,
-0.526239812374115,
0.29065048694610596,
0.43397560715675354,
-0.6460567712783813,
0.33803802728652954,
0.18338356912136078,
-0.2566235065460205,
-0.5455807447433472,
-0.6176770329475403,
0.19786614179611206,
-0.3802187144756317,
-0.669808030128479,
0.04037216305732727,
-0.22155241668224335,
-0.4246331751346588,
-0.07154766470193863,
-0.11824056506156921,
0.17432089149951935,
0.39831098914146423,
0.3477623164653778,
0.5582287907600403,
-0.08242470771074295,
0.13149720430374146,
-0.33717548847198486,
-0.20974889397621155,
0.48969385027885437,
-0.17544487118721008,
0.4232856333255768,
-0.052916429936885834,
-0.5451251864433289,
-0.08415254205465317,
0.22670868039131165,
0.5211190581321716,
0.07274386286735535,
0.5748483538627625,
0.5693531632423401,
-0.48988452553749084,
-0.3946962058544159,
-0.3129090666770935,
-0.10715116560459137,
-0.5752180218696594,
0.3249160647392273,
-0.5024088025093079,
-0.9520702958106995,
0.5774645209312439,
-0.215150386095047,
0.037099678069353104,
0.21902139484882355,
0.6163396239280701,
0.23595966398715973,
1.3279094696044922,
0.3493535816669464,
-0.28661367297172546,
0.3782086670398712,
-0.10526692122220993,
0.0858372300863266,
-0.8072987794876099,
-0.07876928895711899,
-0.46367499232292175,
-0.08432996273040771,
-0.3584926128387451,
-0.2361203283071518,
0.41762110590934753,
0.1697181910276413,
0.031005894765257835,
0.17763686180114746,
-0.48257479071617126,
0.5086237788200378,
0.30841144919395447,
-0.11602557450532913,
0.044228460639715195,
0.2952512204647064,
-0.34012946486473083,
-0.36230018734931946,
-0.8176767826080322,
-0.3460390865802765,
1.2792543172836304,
0.15611311793327332,
1.217779517173767,
0.3565451204776764,
0.3588944673538208,
-0.001851676031947136,
0.26737019419670105,
-0.8487858176231384,
0.49724990129470825,
-0.1329704076051712,
-0.40029478073120117,
-0.06939253956079483,
-0.8127814531326294,
-1.2176424264907837,
0.15994766354560852,
-0.1829543113708496,
-0.8289991021156311,
-0.2291450798511505,
0.23734016716480255,
-0.42454779148101807,
0.30969512462615967,
-0.4016438126564026,
0.20919346809387207,
-0.1391528993844986,
-0.3477681577205658,
0.1458306610584259,
-0.18178929388523102,
0.2905646562576294,
-0.2110138088464737,
0.5696038603782654,
-0.21575433015823364,
-0.17921459674835205,
0.5134742856025696,
-0.5240645408630371,
0.793015718460083,
0.18224391341209412,
-0.6044545769691467,
0.22506402432918549,
0.45938605070114136,
0.8729372620582581,
0.14613249897956848,
-0.2537221610546112,
0.026367180049419403,
-0.4150145947933197,
-0.22084151208400726,
-0.7817582488059998,
0.9186174273490906,
-0.6447083353996277,
-0.8870003819465637,
-0.4159192442893982,
-0.8708672523498535,
-0.5064178705215454,
0.14765171706676483,
0.5853026509284973,
0.6383716464042664,
0.258430153131485,
0.16159150004386902,
0.9353954195976257,
-0.002689596265554428,
0.3775623142719269,
0.38705453276634216,
0.056173983961343765,
-0.6645734906196594,
1.3283754587173462,
0.3101903200149536,
0.3646373748779297,
0.12805324792861938,
0.4433441758155823,
-0.4424870014190674,
-0.4605720639228821,
-0.6664541363716125,
-0.012301252223551273,
-0.6573286056518555,
-0.3488752543926239,
-0.24832285940647125,
-0.22921377420425415,
-0.1743621975183487,
-0.1814044862985611,
-0.16933037340641022,
-0.3426581919193268,
-0.6353626251220703,
0.15699666738510132,
0.4116755425930023,
0.7564224600791931,
0.019914688542485237,
0.08898245543241501,
-0.5866993069648743,
0.4275995194911957,
0.463492751121521,
0.26674458384513855,
-0.13753044605255127,
-0.8649280667304993,
-0.056485626846551895,
0.07872682064771652,
-0.3639085590839386,
-0.7617127299308777,
0.24361968040466309,
0.17881856858730316,
0.4559597969055176,
0.45137500762939453,
0.18548443913459778,
0.6993557810783386,
-0.38023072481155396,
0.6938272714614868,
0.08604811131954193,
-0.7759215831756592,
0.43125882744789124,
-0.6637586951255798,
0.5264227986335754,
0.34420692920684814,
0.07758628576993942,
-0.11336152255535126,
-0.5442588925361633,
-0.6215536594390869,
-0.6601635217666626,
0.5530608296394348,
0.45818787813186646,
0.16449259221553802,
0.004690750036388636,
0.502114474773407,
-0.2194443941116333,
0.14329497516155243,
-0.5382205247879028,
-0.41928374767303467,
-0.08567832410335541,
-0.31813403964042664,
0.06109409034252167,
-0.1553293615579605,
-0.43666887283325195,
0.11608878523111343,
0.5846121907234192,
-0.23943135142326355,
0.06529349088668823,
0.03822680190205574,
0.0237992312759161,
-0.07094386219978333,
0.23240581154823303,
0.9412868022918701,
0.6499785780906677,
0.25754886865615845,
0.2179269790649414,
0.4715856909751892,
-0.5946342349052429,
0.24841253459453583,
0.20317983627319336,
-0.4024795889854431,
-0.0991373211145401,
0.4924359619617462,
0.6376022696495056,
0.052582334727048874,
-0.6900197863578796,
0.5633400678634644,
-0.31718021631240845,
-0.5002408623695374,
-0.18700867891311646,
0.31294408440589905,
0.16875004768371582,
-0.03972291201353073,
0.3477463722229004,
0.10933752357959747,
-0.10214194655418396,
-0.2186802178621292,
-0.04042553901672363,
0.8553715348243713,
-0.2703162431716919,
-0.27826300263404846,
0.7736603021621704,
-0.13570952415466309,
-0.5595895051956177,
0.2211894392967224,
-0.32686516642570496,
-0.7769434452056885,
0.7330886125564575,
0.8892278075218201,
0.4587111175060272,
0.07219648361206055,
-0.027041831985116005,
0.020854368805885315,
0.4688418209552765,
-0.17475605010986328,
0.41577744483947754,
0.06460797786712646,
-0.6114792227745056,
-0.315532386302948,
-0.2139703631401062,
-0.46564632654190063,
0.4584176540374756,
-0.6800532937049866,
0.058180004358291626,
-0.7847828269004822,
-0.32615378499031067,
-0.17469869554042816,
-0.06724312901496887,
-0.4119582176208496,
0.16825895011425018,
0.15400204062461853,
0.7306028604507446,
-0.42960187792778015,
0.48298177123069763,
0.680599570274353,
0.19946570694446564,
-0.9601179361343384,
0.006043693516403437,
0.3890880048274994,
-1.082846760749817,
0.3994097113609314,
0.2114107608795166,
-0.49939295649528503,
-0.2119288146495819,
-0.6052558422088623,
-0.825145423412323,
0.9261879920959473,
0.8244867324829102,
-0.4037229120731354,
0.36433687806129456,
0.19662871956825256,
0.3753669261932373,
0.07015401124954224,
-0.10388735681772232,
0.21726849675178528,
0.3534625768661499,
0.23774167895317078,
-0.5905274748802185,
0.13497324287891388,
-0.4183170795440674,
0.025900771841406822,
0.3717309236526489,
-0.8291645050048828,
0.8629133105278015,
-0.3475724756717682,
-0.24522393941879272,
0.11562284827232361,
0.41846534609794617,
0.46081891655921936,
0.2636408805847168,
0.5396113395690918,
0.8221297264099121,
0.9320105910301208,
-0.24101342260837555,
0.762158989906311,
-0.464844286441803,
0.1315707266330719,
0.9787622094154358,
-0.12432140111923218,
0.5239219665527344,
0.36731237173080444,
-0.32169172167778015,
-0.011443634517490864,
0.5804887413978577,
-0.10669282078742981,
0.19876503944396973,
0.623352587223053,
-0.5696671009063721,
-0.31422552466392517,
-0.03350331261754036,
-0.5584692358970642,
0.24004755914211273,
0.6343137621879578,
-0.021853627637028694,
-0.35922878980636597,
-0.1501535028219223,
0.31219369173049927,
0.10002744197845459,
-0.23204347491264343,
0.649030864238739,
0.2520102858543396,
-0.7710151672363281,
0.8044649362564087,
0.024078622460365295,
0.6815611720085144,
-0.8805812001228333,
0.13149277865886688,
-0.11820033937692642,
0.21957215666770935,
-0.0988764762878418,
-0.4888627529144287,
0.2622683644294739,
0.0348808653652668,
-0.1313658505678177,
0.20628978312015533,
0.7529960870742798,
-0.28971195220947266,
-0.6401258707046509,
0.08485337346792221,
0.4430983364582062,
-0.07957734912633896,
-0.14332953095436096,
-0.7942983508110046,
0.15676581859588623,
-0.050970930606126785,
-0.15382665395736694,
0.5990169048309326,
0.7052425742149353,
0.10695889592170715,
1.2191427946090698,
1.1084853410720825,
0.3339678645133972,
-0.0017318434547632933,
0.14012566208839417,
1.0312491655349731,
-0.4422798156738281,
-0.44954758882522583,
-1.2403113842010498,
-0.05768466368317604,
0.17377659678459167,
-0.621249258518219,
0.9415123462677002,
0.33392998576164246,
0.46206992864608765,
0.27044984698295593,
0.697426974773407,
0.34960249066352844,
0.17400223016738892,
-0.5532003045082092,
0.5762292146682739,
-0.46761754155158997,
0.6900806427001953,
-0.010008000768721104,
-0.5991605520248413,
-0.3983686566352844,
0.5430631041526794,
-0.21475711464881897,
-0.09060746431350708,
0.4214368164539337,
1.053959846496582,
0.16663366556167603,
0.05665551871061325,
0.6132802963256836,
-0.07546991854906082,
0.373847633600235,
0.5746719837188721,
0.8769413232803345,
-0.24290524423122406,
1.0896952152252197,
-0.050309691578149796,
-0.11046310514211655,
-0.08079711347818375,
-0.8616458773612976,
-1.1408321857452393,
-0.10798322409391403,
-0.21211925148963928,
-0.683738112449646,
0.08011694997549057,
0.6969075798988342,
0.4109478294849396,
-0.6261441111564636,
0.23356948792934418,
-0.2072165459394455,
0.29812005162239075,
0.14071688055992126,
-0.21593040227890015,
0.29927921295166016,
-0.410921573638916,
-0.45738667249679565,
0.5597378015518188,
0.20896318554878235,
0.28195732831954956,
-0.27416521310806274,
0.0761643499135971,
0.4536716043949127,
0.3774392306804657,
0.40472421050071716,
0.19085712730884552,
-0.602834165096283,
-0.11908864974975586,
0.09857205301523209,
-0.17802534997463226,
-0.13214610517024994,
0.8501660227775574,
-0.49385833740234375,
0.398038387298584,
0.1864849030971527,
0.9942177534103394,
-0.13342824578285217,
0.13157817721366882,
0.5148346424102783,
-0.5609714984893799,
0.14159952104091644,
0.1001426950097084,
0.3527682423591614,
0.38309386372566223,
-0.5977811813354492,
0.26208826899528503,
0.31498366594314575,
-0.5471328496932983,
-0.7293087244033813,
0.39748066663742065,
-0.43784967064857483,
-0.14529094099998474,
1.410141944885254,
-0.27457189559936523,
-0.2885330319404602,
-0.138513445854187,
-0.15730801224708557,
-0.16429023444652557,
-0.42996805906295776,
0.9169841408729553,
1.1903403997421265,
-0.020123181864619255,
0.13155579566955566,
-0.5243014693260193,
0.55975341796875,
0.823319673538208,
-0.5923826098442078,
0.0678083598613739,
0.35197073221206665,
0.2913880944252014,
0.061823200434446335,
0.35773301124572754,
-0.03654623031616211,
0.24091745913028717,
0.289582222700119,
-0.771819531917572,
-0.4279780387878418,
-0.19982701539993286,
-0.5346219539642334,
0.23063470423221588,
0.15557068586349487,
-0.15153945982456207
] |
http://arxiv.org/abs/2405.20341v1
|
http://arxiv.org/pdf/2405.20341v1
|
From Zero to Hero: Cold-Start Anomaly Detection
| 2024-05-30T17:59:51 | 2024-05-30T17:59:51 |
Tal Reiss, George Kour, Naama Zwerdling, Ateret Anaby-Tavor, Yedid Hoshen
|
cs.LG
|
cs.LG, cs.CL
|
When first deploying an anomaly detection system, e.g., to detect
out-of-scope queries in chatbots, there are no observed data, making
data-driven approaches ineffective. Zero-shot anomaly detection methods offer a
solution to such "cold-start" cases, but unfortunately they are often not
accurate enough. This paper studies the realistic but underexplored cold-start
setting where an anomaly detection model is initialized using zero-shot
guidance, but subsequently receives a small number of contaminated observations
(namely, that may include anomalies). The goal is to make efficient use of both
the zero-shot guidance and the observations. We propose ColdFusion, a method
that effectively adapts the zero-shot anomaly detector to contaminated
observations. To support future development of this new setting, we propose an
evaluation suite consisting of evaluation protocols and metrics.
|
[
-0.10302654653787613,
-0.6772830486297607,
0.42546185851097107,
-0.18749652802944183,
-0.10889483988285065,
-0.037105947732925415,
0.2667539119720459,
-0.11859449744224548,
0.13000361621379852,
0.45489436388015747,
-0.9207285642623901,
-0.40149423480033875,
-0.46798884868621826,
-0.03847195580601692,
-0.8017131090164185,
1.2975302934646606,
0.4306366443634033,
-0.7161370515823364,
-0.28791797161102295,
0.008789864368736744,
-0.7309978008270264,
-0.20990002155303955,
-0.5234718322753906,
-0.17601808905601501,
0.15367871522903442,
1.0135208368301392,
0.7881424427032471,
0.5665582418441772,
0.4847820997238159,
0.19708558917045593,
0.2525375783443451,
0.13381746411323547,
-0.8738945722579956,
0.12793676555156708,
-0.14268487691879272,
-0.5127322673797607,
-0.32380411028862,
-0.17153944075107574,
0.4304521083831787,
0.5690552592277527,
-0.20066331326961517,
0.0006441060686483979,
-0.376125693321228,
0.41231226921081543,
-0.8406403660774231,
-0.08048303425312042,
-0.6050930619239807,
0.3057210445404053,
-0.3912496864795685,
-0.13225875794887543,
-0.13402505218982697,
0.3440747559070587,
0.03089584782719612,
-0.6277507543563843,
0.504366934299469,
0.13654212653636932,
0.7339888215065002,
0.2122468650341034,
-0.2219163328409195,
-0.03124992921948433,
-0.9556741714477539,
0.946050763130188,
-0.4901420474052429,
0.1811506152153015,
0.10417243838310242,
0.6034980416297913,
-0.4747629761695862,
-0.476974755525589,
-0.7434890866279602,
0.02510771155357361,
-0.03835129365324974,
0.1683323085308075,
-0.7049888968467712,
-0.4264298379421234,
0.12903274595737457,
-0.029653877019882202,
-0.6439154744148254,
0.43556541204452515,
-0.28167909383773804,
-0.17772720754146576,
0.5063533186912537,
0.5868134498596191,
0.08884955942630768,
-0.14975020289421082,
-0.5568016171455383,
-0.01965348981320858,
-0.44857683777809143,
-0.0007709901547059417,
0.07204384356737137,
0.4531538188457489,
-0.41779419779777527,
0.3971470296382904,
-0.6808138489723206,
0.8367254734039307,
0.1914217323064804,
0.1562587469816208,
0.04418991133570671,
-0.22303810715675354,
-0.5287440419197083,
-0.02072260156273842,
0.574643075466156,
0.33798977732658386,
0.06771744787693024,
-0.29526251554489136,
-0.30826377868652344,
-0.0011629402870312333,
0.3098684847354889,
-0.7893965244293213,
-0.3688194751739502,
0.5820431113243103,
-0.2515464723110199,
-0.711341917514801,
-0.12062568217515945,
-0.6623629927635193,
-0.7428632974624634,
0.046239353716373444,
0.4844662845134735,
-0.3465840220451355,
-0.4247903525829315,
-0.016377462074160576,
-0.34071841835975647,
0.2839190661907196,
0.617046594619751,
-0.5628552436828613,
0.224821075797081,
0.6593006253242493,
0.8385793566703796,
-0.17784060537815094,
-0.2539688050746918,
-0.8334445953369141,
0.0328775979578495,
-0.346539169549942,
1.1221280097961426,
-0.26926189661026,
-0.5797932744026184,
-0.31642892956733704,
-0.010661588981747627,
0.30384525656700134,
-0.4006113111972809,
0.38313862681388855,
-0.21163451671600342,
0.19825245440006256,
-0.18183493614196777,
-0.4307587146759033,
0.1302683800458908,
0.5054022073745728,
-0.16188901662826538,
0.7072333097457886,
0.4516932964324951,
-0.5467331409454346,
0.6171974539756775,
-0.9360688924789429,
-0.09250793606042862,
0.4603078067302704,
-0.2311573475599289,
-0.2935768663883209,
0.05551724135875702,
0.03496411815285683,
0.5066079497337341,
-0.435739129781723,
-0.17184442281723022,
-0.2583509683609009,
-0.5081449151039124,
-0.02564745582640171,
-0.24895380437374115,
0.9775551557540894,
0.13400274515151978,
-0.2575910687446594,
-0.15313361585140228,
-0.6700944304466248,
0.07741955667734146,
0.11685504764318466,
0.2951948642730713,
-0.1034025177359581,
-0.2732273042201996,
-0.12760333716869354,
-0.041169919073581696,
-0.027998490259051323,
-0.6514266729354858,
-0.012073186226189137,
-0.34283924102783203,
0.020971588790416718,
0.5957321524620056,
0.18523718416690826,
0.3441632091999054,
-0.3005274832248688,
0.5310948491096497,
0.6463342308998108,
0.47833487391471863,
-0.7104972004890442,
-0.6020573973655701,
-0.6785826683044434,
-0.2585718035697937,
-0.04480278864502907,
0.8419657945632935,
-0.7464621663093567,
0.4198606312274933,
0.0343201607465744,
-0.7656524777412415,
-0.2245006263256073,
0.35257968306541443,
0.4085163474082947,
0.9445889592170715,
0.3067273199558258,
-0.35614013671875,
-0.22234976291656494,
-0.8399564623832703,
-0.4241400361061096,
-0.1884874403476715,
-0.11823605000972748,
0.340036004781723,
0.44176265597343445,
-0.23206540942192078,
1.1569329500198364,
-0.7478721737861633,
-0.42550423741340637,
0.07614686340093613,
-0.1177445501089096,
0.6490746140480042,
0.6929299235343933,
0.7750833630561829,
-0.3875695765018463,
-0.45732367038726807,
-0.0006137852906249464,
-1.1939605474472046,
0.17180167138576508,
0.10938277840614319,
-0.11490483582019806,
-0.2519397735595703,
0.6101616024971008,
-0.5178753733634949,
0.6458084583282471,
0.20428135991096497,
-0.5574256181716919,
0.3004133701324463,
-0.08140850812196732,
0.15258732438087463,
-0.8602167367935181,
0.2374376505613327,
-0.05757848545908928,
-0.1096108928322792,
-1.4006593227386475,
0.015288146212697029,
0.02159087359905243,
-0.4621429443359375,
-0.654285192489624,
0.6466097831726074,
-0.2659299075603485,
0.2693687677383423,
-0.445033997297287,
0.05824536457657814,
0.17190538346767426,
0.02348300814628601,
-0.1146022230386734,
0.3602047860622406,
0.8892166614532471,
-0.5535842180252075,
0.5549982190132141,
0.06547508388757706,
-0.1577819287776947,
1.1495462656021118,
-0.6448824405670166,
0.28875744342803955,
-0.49376094341278076,
-0.05156741663813591,
-0.8811902403831482,
-0.3141663074493408,
0.7460998296737671,
-0.6726253628730774,
0.18423934280872345,
-0.41148728132247925,
-0.3179878294467926,
-0.1046501025557518,
-0.14559753239154816,
0.40031763911247253,
0.5151533484458923,
-0.39726483821868896,
0.11265941709280014,
0.05331739783287048,
0.4701075553894043,
-0.6184341907501221,
-0.4220079183578491,
0.19151154160499573,
-0.28449153900146484,
-0.34743624925613403,
-0.15151247382164001,
0.07445719093084335,
-0.3261808753013611,
-0.05199072137475014,
-0.04295317828655243,
-0.21804167330265045,
0.48946240544319153,
0.2023852914571762,
0.20866605639457703,
-0.3115015923976898,
0.013474383391439915,
-0.0382559634745121,
-0.08838209509849548,
-0.1895899474620819,
-0.19239532947540283,
0.28212621808052063,
-0.039509955793619156,
-0.5633349418640137,
-0.5804714560508728,
0.404704749584198,
0.49601882696151733,
0.14231741428375244,
0.6208084225654602,
0.5222647786140442,
-0.7908293008804321,
-0.05968639999628067,
-0.36068621277809143,
-0.43307361006736755,
-0.47484931349754333,
0.15032227337360382,
-0.033533014357089996,
-0.15658815205097198,
0.5027915239334106,
0.06945846974849701,
0.08902003616094589,
0.44226735830307007,
0.08297193050384521,
-0.26732856035232544,
0.6570221185684204,
0.9157370328903198,
-0.01463970448821783,
0.2735852003097534,
-0.13206321001052856,
0.3974018096923828,
-0.4766308069229126,
-0.5103349089622498,
-0.5942468643188477,
-0.15181267261505127,
-0.226356640458107,
-0.35487180948257446,
0.9893326759338379,
0.3299890458583832,
-0.19934464991092682,
0.4496467113494873,
-0.22041285037994385,
0.5635120868682861,
0.35277873277664185,
0.19680581986904144,
0.14747364819049835,
-0.11572934687137604,
0.26281553506851196,
0.2532341778278351,
-0.9951514005661011,
0.03270760178565979,
1.0752122402191162,
-0.06927509605884552,
0.4444679021835327,
0.2806268036365509,
0.7037125825881958,
0.7912092208862305,
0.39839696884155273,
-0.7234534025192261,
0.15794114768505096,
-0.027944670990109444,
-0.8167531490325928,
-0.606050431728363,
-0.10822362452745438,
-0.9640486240386963,
0.043124809861183167,
-0.3399719297885895,
-0.9014958739280701,
0.5370435118675232,
0.289585679769516,
-0.7937946915626526,
0.08558259159326553,
-0.7877301573753357,
0.9594516754150391,
-0.06609615683555603,
-0.2634407877922058,
0.19126446545124054,
-0.555488646030426,
0.7300366759300232,
-0.09245682507753372,
0.15182632207870483,
-0.16751976311206818,
0.015264241956174374,
0.3830932080745697,
-0.45386457443237305,
1.091432809829712,
-0.564037561416626,
0.045794982463121414,
0.34008467197418213,
0.27993887662887573,
0.38700270652770996,
0.3315292298793793,
-0.15014086663722992,
0.34708333015441895,
0.0962095707654953,
-0.8499448895454407,
-0.7087045311927795,
0.41758137941360474,
-0.5477078557014465,
-0.6598320007324219,
-0.5809372067451477,
-0.3871762454509735,
-0.17021462321281433,
0.5915294289588928,
0.23040319979190826,
0.2901558578014374,
-0.406005859375,
0.06278485059738159,
0.5739015340805054,
-0.2563941478729248,
0.5592334270477295,
1.0874003171920776,
-0.0017386333784088492,
0.17535074055194855,
0.6749359965324402,
-0.21798773109912872,
0.11543259024620056,
0.23883695900440216,
0.25882384181022644,
0.3169756531715393,
-0.46485915780067444,
-0.8797183036804199,
-0.1622636765241623,
-0.5689494013786316,
-0.7149637937545776,
-0.5091555118560791,
-0.22062985599040985,
-0.5607752203941345,
-0.06331729888916016,
-0.5268901586532593,
-0.03347047045826912,
-0.5889352560043335,
0.4808022677898407,
0.45792970061302185,
0.16702976822853088,
-0.2854277193546295,
0.6436191201210022,
-0.8686876893043518,
-0.04920867457985878,
0.006250601727515459,
0.0749465599656105,
0.02092083916068077,
-0.6792076230049133,
-0.3824613094329834,
0.034977205097675323,
-0.2708059251308441,
-0.6542563438415527,
0.3153185248374939,
0.35189515352249146,
0.5216818451881409,
1.204850673675537,
0.21121296286582947,
0.6021752953529358,
-0.21898174285888672,
0.8355187177658081,
0.30670228600502014,
-0.9057267904281616,
1.013520359992981,
-0.5068389773368835,
0.5441192984580994,
0.3974147140979767,
0.3406085968017578,
-0.6559560298919678,
-0.13236366212368011,
-0.7198454141616821,
-0.331691712141037,
0.8178097605705261,
0.2994902729988098,
0.1907811313867569,
-0.08666170388460159,
0.42521458864212036,
0.18913601338863373,
0.42263704538345337,
0.19442231953144073,
-0.2608793079853058,
-0.40271347761154175,
0.5477175712585449,
-0.42307180166244507,
0.21749486029148102,
-0.4720647633075714,
0.04455849900841713,
0.18707410991191864,
-0.2327447533607483,
0.37645724415779114,
-0.06081938371062279,
-0.019761251285672188,
-0.15805914998054504,
-0.04069453477859497,
0.5932934284210205,
0.6313791871070862,
-0.2771919369697571,
-0.1934487223625183,
0.13417918980121613,
-0.29178574681282043,
-0.13171963393688202,
-0.18280194699764252,
-0.25045105814933777,
-0.05899716913700104,
0.6750636696815491,
0.6317130923271179,
-0.00567396217957139,
-0.9177213907241821,
0.8279998898506165,
0.25752905011177063,
0.33694007992744446,
-0.20807862281799316,
0.46496421098709106,
-0.4941551685333252,
0.21225190162658691,
0.26778391003608704,
0.24830064177513123,
0.26198989152908325,
-1.1191664934158325,
0.3695344924926758,
0.6537778377532959,
-0.7046005129814148,
-0.45877939462661743,
0.3492327034473419,
0.030436404049396515,
-0.48177313804626465,
0.9314467906951904,
-0.35476765036582947,
-0.29502007365226746,
0.8816508650779724,
0.38207483291625977,
0.8596509695053101,
-0.40297287702560425,
0.40020304918289185,
-0.13622134923934937,
0.4883185029029846,
0.2211231291294098,
0.4301455020904541,
-0.09822011739015579,
-1.1792868375778198,
0.32165250182151794,
-0.3107917308807373,
-0.45094674825668335,
0.1123826652765274,
-0.7509369850158691,
0.7120487093925476,
-0.6160067915916443,
0.06969259679317474,
0.10905680805444717,
-0.20258070528507233,
-1.1260685920715332,
0.3457501232624054,
-0.284958153963089,
0.8247681260108948,
-1.1506754159927368,
0.5837569236755371,
0.5159123539924622,
-0.04464930668473244,
-0.13032424449920654,
-0.10999520123004913,
0.39179083704948425,
-1.227929949760437,
0.3132331371307373,
-0.1287921816110611,
0.07783173024654388,
0.014958452433347702,
-0.32603323459625244,
-0.752877950668335,
1.180169939994812,
0.20905958116054535,
-0.4393160343170166,
0.3789187967777252,
-0.006549482699483633,
0.593143105506897,
-0.2716832756996155,
0.55340176820755,
0.7894954085350037,
0.4414927661418915,
0.1673901528120041,
-0.7899798154830933,
-0.021133018657565117,
-0.17259153723716736,
-0.3928588330745697,
0.22741518914699554,
-0.7639349699020386,
0.8190762400627136,
-0.45644357800483704,
-0.17863716185092926,
0.002135986927896738,
0.3093315064907074,
-0.09939403831958771,
0.8519892692565918,
0.5217993259429932,
0.5757471323013306,
0.7899250388145447,
0.2022511512041092,
0.9002507925033569,
-0.2696097493171692,
0.02388528548181057,
0.9106659293174744,
-0.445708304643631,
0.45879215002059937,
0.27841320633888245,
0.03328513726592064,
0.25283730030059814,
0.506723940372467,
-0.21288970112800598,
0.475841224193573,
0.03737922012805939,
-0.4222766160964966,
-0.23071353137493134,
-0.28961384296417236,
-0.4134073555469513,
0.8930919170379639,
0.4319721460342407,
-0.06534044444561005,
-0.7311168909072876,
-0.05917217954993248,
0.3104379177093506,
-0.3591426908969879,
-0.3790045976638794,
0.6848697662353516,
-0.30040252208709717,
-0.4549364447593689,
0.7393401861190796,
0.21745789051055908,
0.24777823686599731,
-0.29425933957099915,
-0.014291244558990002,
-0.7731977105140686,
0.05224502459168434,
-0.48598170280456543,
-0.580132782459259,
0.3428477644920349,
0.23389530181884766,
-0.21959418058395386,
0.09659772366285324,
0.8410879373550415,
0.24664078652858734,
-0.49641236662864685,
-0.07488404959440231,
0.9298127889633179,
0.5466388463973999,
-0.12073386460542679,
-0.408913254737854,
-0.11320216208696365,
-0.40093010663986206,
0.18301931023597717,
0.5331325531005859,
0.5723391175270081,
-0.12265715003013611,
0.4557074010372162,
0.6572186350822449,
-0.16709181666374207,
-0.24199117720127106,
-0.30803900957107544,
0.8976622819900513,
-0.548325777053833,
-0.4890746772289276,
-0.9557285308837891,
0.543865978717804,
-0.17174525558948517,
-0.540303111076355,
0.7948651313781738,
0.5067999362945557,
0.4827336370944977,
0.010430805385112762,
0.799573540687561,
-0.26946187019348145,
0.42657217383384705,
-0.1756594479084015,
0.6945656538009644,
-0.4579392969608307,
0.46075931191444397,
-0.2976216971874237,
-0.7726432085037231,
-0.33436426520347595,
-0.055774375796318054,
0.3304122984409332,
-0.10100466758012772,
0.49414947628974915,
0.974060595035553,
-0.43658560514450073,
-0.0028028397355228662,
0.637860894203186,
0.2464102953672409,
0.3328249156475067,
0.24843311309814453,
0.5015800595283508,
-0.4955887198448181,
0.2833256721496582,
-0.19538401067256927,
-0.8755795955657959,
-0.2838289439678192,
-1.1707292795181274,
-0.9113239645957947,
-0.10029754787683487,
-0.17640617489814758,
-0.5446777939796448,
0.323684960603714,
0.5474757552146912,
0.8134366869926453,
-1.0130845308303833,
-0.31851568818092346,
-0.016662990674376488,
0.16676375269889832,
-0.4808044135570526,
-0.22542811930179596,
0.07950172573328018,
-0.2676674723625183,
-0.4846721887588501,
0.871748685836792,
0.3857196271419525,
-0.18051089346408844,
-0.4579285979270935,
0.2325190007686615,
0.12399530410766602,
0.22280080616474152,
0.6077735424041748,
0.8490933775901794,
-0.18766680359840393,
-0.37802183628082275,
0.008009567856788635,
0.6077195405960083,
-0.05699414387345314,
0.8334743976593018,
-0.9973658919334412,
0.574629545211792,
0.23463769257068634,
0.4446890950202942,
0.305996298789978,
-0.13493509590625763,
0.4396069347858429,
-0.8401705622673035,
0.3029792904853821,
0.3618067502975464,
-0.25774067640304565,
0.10041622072458267,
-0.7215264439582825,
0.24509771168231964,
0.5624403953552246,
-0.16644339263439178,
-1.3859014511108398,
0.2844313085079193,
-0.6982936859130859,
0.04679379239678383,
0.7507628798484802,
-0.2527224123477936,
0.12015760689973831,
-0.13046382367610931,
0.5458454489707947,
0.021071435883641243,
-0.4025722146034241,
1.018697738647461,
0.39419201016426086,
-0.7163262963294983,
-0.010257748886942863,
-0.47991782426834106,
0.40355145931243896,
0.17341290414333344,
-0.8561496734619141,
-0.1960771679878235,
0.2171379029750824,
0.5340578556060791,
0.19296219944953918,
0.5704564452171326,
0.14326101541519165,
0.4505443274974823,
0.13873742520809174,
-0.3888394832611084,
-0.09345822781324387,
-0.593349814414978,
-0.4303196966648102,
0.09829070419073105,
-0.220846027135849,
-0.3519960045814514
] |
http://arxiv.org/abs/2405.20335v1
|
http://arxiv.org/pdf/2405.20335v1
|
Xwin-LM: Strong and Scalable Alignment Practice for LLMs
| 2024-05-30T17:59:31 | 2024-05-30T17:59:31 |
Bolin Ni, JingCheng Hu, Yixuan Wei, Houwen Peng, Zheng Zhang, Gaofeng Meng, Han Hu
|
cs.CL
|
cs.CL
|
In this work, we present Xwin-LM, a comprehensive suite of alignment
methodologies for large language models (LLMs). This suite encompasses several
key techniques, including supervised finetuning (SFT), reward modeling (RM),
rejection sampling finetuning (RS), and direct preference optimization (DPO).
The key components are as follows: (1) Xwin-LM-SFT, models initially finetuned
with high-quality instruction data; (2) Xwin-Pair, a large-scale, multi-turn
preference dataset meticulously annotated using GPT-4; (3) Xwin-RM, reward
models trained on Xwin-Pair, developed at scales of 7B, 13B, and 70B
parameters; (4) Xwin-Set, a multiwise preference dataset in which each prompt
is linked to 64 unique responses generated by Xwin-LM-SFT and scored by
Xwin-RM; (5) Xwin-LM-RS, models finetuned with the highest-scoring responses
from Xwin-Set; (6) Xwin-LM-DPO, models further optimized on Xwin-Set using the
DPO algorithm. Our evaluations on AlpacaEval and MT-bench demonstrate
consistent and significant improvements across the pipeline, demonstrating the
strength and scalability of Xwin-LM. The repository
https://github.com/Xwin-LM/Xwin-LM will be continually updated to foster
community research.
|
[
-0.2157258838415146,
-0.3083462417125702,
0.7626926302909851,
0.06994412839412689,
0.12411317229270935,
0.4283270835876465,
-0.44079282879829407,
-0.2787400484085083,
0.14476154744625092,
0.5334999561309814,
-0.765344500541687,
-0.7910016179084778,
-0.4447939991950989,
-0.19069357216358185,
-0.25565004348754883,
0.916909396648407,
-0.31215140223503113,
0.1860434114933014,
-0.3175746202468872,
-0.2975793480873108,
-0.353221595287323,
-0.288528710603714,
-0.5468893647193909,
-0.1919090300798416,
0.7778919339179993,
0.5281551480293274,
1.0005624294281006,
1.1834372282028198,
0.6648741960525513,
0.3236751854419708,
-0.027054741978645325,
0.18891869485378265,
-0.7507215738296509,
0.31606584787368774,
-0.29982316493988037,
-0.6277403831481934,
-0.7877466082572937,
0.11058279871940613,
0.8853641748428345,
0.6962248086929321,
-0.13116046786308289,
0.2978099584579468,
0.06241631135344505,
0.6441456079483032,
-0.45434632897377014,
0.04738003760576248,
-0.6353660225868225,
0.0017569689080119133,
-0.3454749882221222,
-0.08787436038255692,
-0.3982149064540863,
-0.3400873839855194,
0.02788972668349743,
-0.6610586047172546,
-0.10097324103116989,
0.46834564208984375,
0.6837507486343384,
0.28768178820610046,
-0.24287594854831696,
-0.28807392716407776,
-0.4213140308856964,
1.0364681482315063,
-0.7730509042739868,
0.35410958528518677,
-0.002673808950930834,
0.3305016756057739,
-0.21535563468933105,
-0.3960982859134674,
-0.33315667510032654,
-0.2099945843219757,
-0.012743421830236912,
0.08920412510633469,
-0.11772952973842621,
0.3421441316604614,
0.1811438649892807,
0.5372021794319153,
-0.7351909279823303,
0.5388762950897217,
0.09616287052631378,
0.06180993840098381,
0.6606959700584412,
0.5929418206214905,
0.20625187456607819,
0.2228916734457016,
-0.6808898448944092,
-0.23896563053131104,
-0.8157249093055725,
0.06577403843402863,
0.348387211561203,
0.7065320611000061,
-0.132179856300354,
0.6907994747161865,
0.0289047509431839,
0.9170150756835938,
0.12928465008735657,
-0.3967192769050598,
0.13762405514717102,
-0.37344950437545776,
-0.22315530478954315,
0.06249059736728668,
0.8876786231994629,
0.43431928753852844,
-0.18475912511348724,
-0.1622731238603592,
-0.39728865027427673,
-0.033199574798345566,
-0.11081983894109726,
-0.37078315019607544,
0.07679927349090576,
0.4356132447719574,
-0.4356932044029236,
-0.5200069546699524,
0.029216771945357323,
-0.34386155009269714,
-0.5596692562103271,
-0.7559000253677368,
0.3615720570087433,
-0.2128148227930069,
-0.1506349742412567,
0.11947674304246902,
0.013876154087483883,
0.4165245294570923,
0.37746694684028625,
-0.9171497225761414,
0.3355734646320343,
1.047502040863037,
0.7932107448577881,
-0.8480550050735474,
-0.3824312090873718,
-0.7687157988548279,
0.12557651102542877,
-0.2300260215997696,
0.31063178181648254,
-0.4521900415420532,
-0.02482846938073635,
-0.11433576047420502,
0.04953230917453766,
0.06002628058195114,
-0.5239579677581787,
0.5276840329170227,
-0.4444747865200043,
0.19189243018627167,
-0.39382606744766235,
-0.8729687929153442,
0.11928435415029526,
0.5116211175918579,
-0.6018177270889282,
0.9927446246147156,
0.31277722120285034,
-0.7429081797599792,
0.21536722779273987,
-0.4329167604446411,
-0.11004769802093506,
-0.04605240747332573,
-0.37095993757247925,
-0.31177473068237305,
0.14860394597053528,
-0.10777842998504639,
0.3912665843963623,
-0.33625638484954834,
0.43556514382362366,
-0.4728083610534668,
-0.34898966550827026,
0.09576728940010071,
-0.3084273338317871,
0.7962539196014404,
0.1330813765525818,
-0.5772958993911743,
0.6051254272460938,
-0.7644740343093872,
0.2091183364391327,
-0.03318462520837784,
-0.2162727266550064,
-0.3132924437522888,
-0.0288767758756876,
0.03423700109124184,
0.39616456627845764,
0.49843037128448486,
-0.7599285840988159,
0.5775555968284607,
-0.22597414255142212,
0.19584523141384125,
0.8818778395652771,
-0.6993852853775024,
0.5190818309783936,
-0.36674073338508606,
0.7312831282615662,
-0.2841264605522156,
0.036353010684251785,
0.027328968048095703,
-0.18067683279514313,
-0.5677956938743591,
-0.4723410904407501,
0.2480764240026474,
0.8098984360694885,
-0.5632597208023071,
0.5173150897026062,
-0.4372909963130951,
-0.3328706622123718,
-0.6191374063491821,
0.1604119837284088,
0.5796584486961365,
0.3462953567504883,
0.2605772614479065,
0.2241102010011673,
-0.4766833186149597,
-0.7384507656097412,
0.17888429760932922,
-0.0464479923248291,
0.09693093597888947,
0.16949790716171265,
-0.03440285101532936,
-0.25956061482429504,
1.1220593452453613,
-0.5431503653526306,
-0.157974511384964,
-0.2032463103532791,
-0.11843018233776093,
0.3420998752117157,
0.31801602244377136,
0.42045602202415466,
-0.37072283029556274,
-0.7557492852210999,
0.25194644927978516,
-0.6141678094863892,
-0.33737003803253174,
-0.0340198315680027,
-0.2625645697116852,
0.2890954911708832,
0.35886409878730774,
-0.450780987739563,
-0.12515823543071747,
0.9980839490890503,
-0.2377927303314209,
0.6180541515350342,
0.022557195276021957,
0.08935224264860153,
-1.3045402765274048,
-0.01001623086631298,
-0.15321578085422516,
-0.7997938394546509,
-0.29898887872695923,
0.22333145141601562,
0.0631977766752243,
-0.025916116312146187,
-0.3031497299671173,
0.7498272061347961,
-0.6978136301040649,
-0.12201610952615738,
-0.3534868359565735,
0.375837504863739,
-0.11307802051305771,
0.2259509563446045,
0.1353694051504135,
0.8395482301712036,
0.5183515548706055,
0.010475303046405315,
0.4986017942428589,
0.25302818417549133,
-0.06409300118684769,
0.38128045201301575,
-0.47606775164604187,
-0.00634903134778142,
0.16321367025375366,
-0.02470814436674118,
-1.152512788772583,
0.126630499958992,
0.20876829326152802,
-0.243109792470932,
0.676239013671875,
-0.0008323206566274166,
-0.29367902874946594,
-0.20750777423381805,
-0.6948786973953247,
0.22209490835666656,
0.2775040864944458,
-0.7506455779075623,
0.2993156313896179,
0.23249545693397522,
-0.44177988171577454,
-0.8180453181266785,
-0.4107854664325714,
0.12248323112726212,
-0.1564537137746811,
-0.6308130025863647,
0.4986363649368286,
-0.12121856957674026,
-0.3908737003803253,
-0.07585381716489792,
-0.03577699884772301,
0.429452508687973,
-0.14064501225948334,
0.20668421685695648,
0.5457900166511536,
-0.3256307542324066,
-0.13301493227481842,
0.12466644495725632,
-0.3208952248096466,
-0.17859306931495667,
-0.3790455758571625,
0.4886462688446045,
-0.013038108125329018,
-0.27971151471138,
-0.09575287997722626,
0.59161376953125,
0.6389681100845337,
0.012853815220296383,
0.5537405610084534,
0.6895160675048828,
-0.08094066381454468,
-0.09325368702411652,
-0.477816641330719,
0.09490010887384415,
-0.43347856402397156,
0.3566763401031494,
-0.20406274497509003,
-1.2682536840438843,
0.4029555320739746,
0.17576882243156433,
0.39231035113334656,
0.013854395598173141,
0.6008599996566772,
-0.1997937560081482,
1.266309380531311,
0.6303979754447937,
-0.5350601077079773,
0.5815735459327698,
-0.10815339535474777,
0.031691405922174454,
-0.7814112901687622,
0.3332383334636688,
-0.37860187888145447,
-0.5093369483947754,
-0.692450761795044,
-0.48947063088417053,
0.11962243914604187,
-0.11899934709072113,
-0.20388825237751007,
0.3064291775226593,
-0.468344122171402,
0.41386476159095764,
0.6693260073661804,
-0.11259062588214874,
0.30045726895332336,
0.06711362302303314,
-0.1533598154783249,
-0.1361842006444931,
-0.6688727736473083,
-0.7099983096122742,
1.1093512773513794,
0.4490562379360199,
1.1533594131469727,
0.12992540001869202,
0.94547438621521,
0.15046213567256927,
0.2830492854118347,
-0.9171292781829834,
0.4985906481742859,
-0.2836363613605499,
-0.5061795711517334,
-0.44759589433670044,
-0.5919455289840698,
-0.9180764555931091,
0.11488129198551178,
-0.22179563343524933,
-0.777259886264801,
-0.06606213003396988,
0.3068748414516449,
-0.5458574295043945,
0.5224360227584839,
-0.40607959032058716,
0.8141453862190247,
-0.6616928577423096,
-0.6298653483390808,
0.06601276248693466,
-0.9582223296165466,
0.45320138335227966,
0.1518937200307846,
-0.13574975728988647,
-0.24773038923740387,
-0.3147394359111786,
0.5213080048561096,
-0.29865992069244385,
0.7476675510406494,
-0.10423436015844345,
-0.5032578110694885,
-0.026353908702731133,
-0.08063711225986481,
0.649200975894928,
-0.19111251831054688,
-0.21699805557727814,
-0.06914316117763519,
0.3422766923904419,
-0.2594626545906067,
-0.4886015057563782,
0.9335812330245972,
-0.9649461507797241,
-0.5812085866928101,
-0.4364531338214874,
-1.02685546875,
-0.2837546169757843,
0.26868736743927,
0.09571408480405807,
0.3745338022708893,
-0.05604742839932442,
0.0801083967089653,
0.7549958229064941,
-0.1410829871892929,
0.20637130737304688,
0.40937960147857666,
-0.5878828167915344,
-0.7083004713058472,
0.9935435652732849,
0.16745813190937042,
0.61051344871521,
0.6806761026382446,
0.1866704374551773,
-0.29924312233924866,
-0.6558670997619629,
-0.4752189815044403,
0.26297327876091003,
-0.559501051902771,
-0.5557098388671875,
-0.26744335889816284,
0.007935947738587856,
-0.3754693269729614,
-0.21081753075122833,
-0.3898688554763794,
-0.5206806063652039,
-0.16583995521068573,
0.004130775108933449,
0.11531013995409012,
0.5791604518890381,
0.12494691461324692,
0.45602017641067505,
-0.9522578120231628,
0.12443773448467255,
-0.055220942944288254,
0.3202020823955536,
-0.35130074620246887,
-0.26574385166168213,
-0.24255481362342834,
0.053886447101831436,
-0.3624553680419922,
-0.5645841956138611,
0.28958162665367126,
-0.09820012003183365,
0.7240467667579651,
0.4335586130619049,
0.13597339391708374,
0.45198723673820496,
-0.3818276524543762,
0.6503128409385681,
0.2928590178489685,
-0.7935791611671448,
0.26861342787742615,
-0.5947009921073914,
0.2104245126247406,
0.8398506045341492,
0.5083494186401367,
-0.47712060809135437,
-0.30590054392814636,
-0.29039067029953003,
-0.7375062704086304,
0.6703625321388245,
-0.17505203187465668,
-0.17489807307720184,
0.05087818205356598,
0.43643516302108765,
0.43208077549934387,
0.24000903964042664,
-0.6704075932502747,
-0.42598897218704224,
0.4340246319770813,
-0.748665988445282,
-0.13457611203193665,
-0.2633898854255676,
-0.315050333738327,
-0.09781105816364288,
0.8794393539428711,
-0.4187750816345215,
0.05153385549783707,
-0.11948483437299728,
-0.1091599240899086,
-0.09132640063762665,
0.25219279527664185,
0.6037977337837219,
0.6467252969741821,
-0.345624178647995,
-0.034236546605825424,
-0.17658641934394836,
-0.1934860646724701,
0.45819294452667236,
0.1998615264892578,
-0.2446414977312088,
-0.13110201060771942,
0.3260517120361328,
0.8434288501739502,
0.10679563134908676,
-0.5367175340652466,
0.49595385789871216,
0.045272454619407654,
-0.12817618250846863,
0.02165028639137745,
-0.012352758087217808,
0.18780523538589478,
0.29882532358169556,
0.010822196491062641,
-0.2724728584289551,
0.06680590659379959,
-0.3892209231853485,
-0.06969032436609268,
0.7680523991584778,
-0.4802814722061157,
-0.11179463565349579,
0.49264073371887207,
0.1193443089723587,
0.03933999314904213,
0.5881376266479492,
-0.2119489312171936,
-0.4058912992477417,
0.23105120658874512,
0.6194005608558655,
0.741513192653656,
0.025141222402453423,
0.021842634305357933,
0.18662844598293304,
0.13263458013534546,
-0.18662789463996887,
0.34391477704048157,
-0.17720486223697662,
-0.8797316551208496,
-0.48020437359809875,
-0.4416961669921875,
-0.6905710697174072,
-0.10458856076002121,
-0.8355082273483276,
0.5538445711135864,
-0.3002188503742218,
-0.28648683428764343,
-0.3945697546005249,
0.2639201283454895,
-0.3217671513557434,
-0.042788032442331314,
0.5268368124961853,
1.1917403936386108,
-0.8732139468193054,
0.9218543171882629,
0.7216907739639282,
-0.1261710524559021,
-0.8925325870513916,
-0.24105222523212433,
0.3075161874294281,
-0.9625115394592285,
0.3162398636341095,
0.03301989659667015,
-0.2732713222503662,
0.11249993741512299,
-0.4744075536727905,
-1.0846598148345947,
1.3936091661453247,
0.5724408626556396,
-1.1475480794906616,
-0.20439764857292175,
0.13966961205005646,
0.21630921959877014,
-0.44969168305397034,
0.02821924537420273,
0.6820811033248901,
0.4319689869880676,
0.10117149353027344,
-0.8917768597602844,
0.08430001884698868,
0.058394793421030045,
0.016897179186344147,
0.4824349582195282,
-0.6109611988067627,
0.5863109230995178,
-0.17547640204429626,
0.019007960334420204,
0.5675757527351379,
0.5385118126869202,
0.6966397762298584,
0.15041925013065338,
0.5472381711006165,
0.7315536141395569,
0.8518773317337036,
-0.23202291131019592,
0.7273156046867371,
-0.4556165337562561,
0.5129191279411316,
1.456725835800171,
-0.6300576329231262,
0.8540613651275635,
0.8824483156204224,
-0.2733682692050934,
0.13806305825710297,
0.7135619521141052,
0.19931660592556,
0.2156485617160797,
0.4314950406551361,
-0.13351351022720337,
-0.2811582684516907,
0.07534077763557434,
-0.3334703743457794,
0.19354452192783356,
0.14463746547698975,
-0.41810342669487,
0.01057064812630415,
0.10269787162542343,
0.29217541217803955,
0.0354982353746891,
-0.318704217672348,
0.7213011384010315,
-0.035255707800388336,
-0.7151060104370117,
0.3959321677684784,
-0.18919487297534943,
0.966303288936615,
-0.8480226397514343,
0.18714383244514465,
-0.2588639259338379,
0.3801446557044983,
-0.31868377327919006,
-1.0760895013809204,
0.06525230407714844,
-0.2005246877670288,
-0.451276957988739,
-0.37684887647628784,
0.5140836238861084,
-0.6976699829101562,
-0.5644259452819824,
0.46436792612075806,
0.46066486835479736,
-0.11689358949661255,
0.07152640074491501,
-0.7156444787979126,
0.46252140402793884,
0.11281310766935349,
-0.24289797246456146,
0.5012419819831848,
0.2329653799533844,
-0.32070985436439514,
0.6302882432937622,
0.33934417366981506,
0.2576589286327362,
0.08342995494604111,
0.16391757130622864,
0.8052989840507507,
-0.6113747358322144,
-0.23104816675186157,
-0.8343963027000427,
0.44312241673469543,
-0.06541740149259567,
-0.049624964594841,
0.8980004191398621,
0.7343692779541016,
0.7644920945167542,
0.07754766196012497,
0.7219737768173218,
0.010427335277199745,
0.4742949604988098,
-0.5289632081985474,
0.43417611718177795,
-0.5546160936355591,
0.23131078481674194,
-0.3854731619358063,
-1.0484861135482788,
-0.3985809087753296,
0.31877434253692627,
-0.30265483260154724,
-0.041437502950429916,
0.38978347182273865,
0.8864166140556335,
-0.07804866135120392,
-0.3097236454486847,
0.5095646977424622,
-0.13963331282138824,
0.3462047278881073,
0.5594960451126099,
0.9583336710929871,
-0.25661420822143555,
0.44533637166023254,
-0.20593324303627014,
-0.5431894659996033,
-0.059424709528684616,
-1.0460284948349,
-0.5379406213760376,
-0.2981386184692383,
-0.5015543699264526,
-0.20494888722896576,
-0.10268974304199219,
1.4515831470489502,
0.8249059915542603,
-0.7722904086112976,
-0.5891820192337036,
0.27092981338500977,
0.1460808962583542,
-0.40761831402778625,
-0.2027537077665329,
0.202026829123497,
-0.6086786985397339,
-0.7001955509185791,
0.334667444229126,
0.44073277711868286,
-0.06413183361291885,
-0.39696091413497925,
-0.32507622241973877,
-0.07643134891986847,
-0.187379851937294,
0.6463832855224609,
0.14520426094532013,
-0.7185763120651245,
-0.23558233678340912,
0.39024487137794495,
-0.3598838746547699,
0.21330112218856812,
0.841839075088501,
-0.40155383944511414,
0.27265188097953796,
0.661403477191925,
0.7367212176322937,
0.17000898718833923,
0.12566182017326355,
0.827671468257904,
-0.7190698385238647,
-0.2673666179180145,
-0.014635889790952206,
0.5692011117935181,
0.5142055153846741,
-0.37940046191215515,
0.4564509689807892,
-0.15941555798053741,
-0.7186843752861023,
-0.8150240182876587,
0.11212532222270966,
-1.2932019233703613,
0.10345544666051865,
1.1799309253692627,
-0.33775120973587036,
-0.1918000727891922,
0.3058951199054718,
-0.6222450137138367,
0.01863226294517517,
-0.2230512946844101,
0.35229557752609253,
0.6576387286186218,
-0.2641619145870209,
-0.2505348026752472,
-0.17834271490573883,
0.17247062921524048,
0.35956475138664246,
-0.7191774249076843,
0.433559775352478,
0.40567997097969055,
0.37618979811668396,
0.19760659337043762,
0.36550065875053406,
-0.2493760734796524,
0.08864638209342957,
-0.4017931818962097,
0.24014033377170563,
-0.09506768733263016,
-0.11288081854581833,
-0.5801582932472229,
-0.03192199021577835,
0.49449238181114197,
-0.3708826005458832
] |
http://arxiv.org/abs/2405.20331v1
|
http://arxiv.org/pdf/2405.20331v1
|
CoSy: Evaluating Textual Explanations of Neurons
| 2024-05-30T17:59:04 | 2024-05-30T17:59:04 |
Laura Kopf, Philine Lou Bommer, Anna Hedström, Sebastian Lapuschkin, Marina M. -C. Höhne, Kirill Bykov
|
cs.LG
|
cs.LG, cs.AI, cs.CL
|
A crucial aspect of understanding the complex nature of Deep Neural Networks
(DNNs) is the ability to explain learned concepts within their latent
representations. While various methods exist to connect neurons to textual
descriptions of human-understandable concepts, evaluating the quality of these
explanation methods presents a major challenge in the field due to a lack of
unified, general-purpose quantitative evaluation. In this work, we introduce
CoSy (Concept Synthesis) -- a novel, architecture-agnostic framework to
evaluate the quality of textual explanations for latent neurons. Given textual
explanations, our proposed framework leverages a generative model conditioned
on textual input to create data points representing the textual explanation.
Then, the neuron's response to these explanation data points is compared with
the response to control data points, providing a quality estimate of the given
explanation. We ensure the reliability of our proposed framework in a series of
meta-evaluation experiments and demonstrate practical value through insights
from benchmarking various concept-based textual explanation methods for
Computer Vision tasks, showing that tested explanation methods significantly
differ in quality.
|
[
-0.2623731195926666,
-0.8454073667526245,
0.5863397717475891,
0.32290616631507874,
-0.4960339665412903,
0.10128998756408691,
-0.13206766545772552,
-0.12522631883621216,
0.24519075453281403,
-0.3228496313095093,
-0.81220942735672,
-0.560259222984314,
-0.09742754697799683,
0.023966431617736816,
-0.48943525552749634,
0.8073627352714539,
-0.046513840556144714,
0.14588333666324615,
-0.6383429169654846,
0.17742450535297394,
-0.5067509412765503,
-0.11796610802412033,
-0.6009645462036133,
-0.49270766973495483,
0.5639194846153259,
0.2163064032793045,
0.6415522694587708,
0.3422059416770935,
0.7244696021080017,
0.3077569603919983,
-0.16981522738933563,
0.11057144403457642,
-0.15176932513713837,
0.0663992241024971,
-0.31437546014785767,
-0.3818105161190033,
-0.9363875985145569,
0.08348170667886734,
0.29773929715156555,
1.1132107973098755,
0.09546802192926407,
0.20365510880947113,
0.10081622749567032,
0.4886293113231659,
-0.5877701044082642,
-0.13049490749835968,
-0.5520325303077698,
0.38766130805015564,
0.39557549357414246,
-0.4200727045536041,
-0.5461461544036865,
-0.00034317030804231763,
0.4197818338871002,
-0.965222179889679,
0.7244951725006104,
-0.12896877527236938,
0.9383789300918579,
0.4613150954246521,
0.18567699193954468,
-0.2816593647003174,
-0.548797607421875,
0.38229453563690186,
-0.41907209157943726,
0.16110609471797943,
0.23080740869045258,
0.359480619430542,
-0.20177805423736572,
-0.9070536494255066,
-0.7045800685882568,
-0.3578958213329315,
-0.23534847795963287,
0.5601863861083984,
0.08694164454936981,
0.07773095369338989,
0.04924608767032623,
0.503018319606781,
-0.7526348829269409,
-0.18857017159461975,
-0.23605576157569885,
-0.5351048111915588,
0.8632774353027344,
0.2827143371105194,
0.55645751953125,
-0.34537556767463684,
-0.5709033608436584,
0.056258425116539,
-0.35239699482917786,
-0.09993908554315567,
0.4539816677570343,
-0.056889839470386505,
-0.3207723796367645,
0.5012736320495605,
0.16890005767345428,
0.8042238354682922,
0.2384062558412552,
0.3954940438270569,
0.06150404363870621,
-0.5886693596839905,
-0.4232018291950226,
0.10619805753231049,
0.927372395992279,
0.5037778615951538,
-0.14949405193328857,
-0.4471529424190521,
-0.014718788675963879,
0.47654861211776733,
0.3692290484905243,
-0.6579570174217224,
-0.4595130681991577,
0.544922947883606,
-0.7883667945861816,
-0.3339344561100006,
-0.29469045996665955,
-0.9774436354637146,
-0.15376649796962738,
-0.3449743688106537,
0.3998831510543823,
-0.5623056292533875,
-0.31199052929878235,
0.3678187131881714,
-0.49563080072402954,
-0.12631556391716003,
0.5285324454307556,
-1.0125765800476074,
0.40267109870910645,
0.5431482195854187,
0.9618092179298401,
-0.4294317960739136,
-0.3225456178188324,
-0.35345032811164856,
-0.14425033330917358,
-0.709954023361206,
0.6584036350250244,
-0.1760561615228653,
-0.04616427421569824,
-0.5897694826126099,
-0.2524546980857849,
-0.04552115127444267,
-0.2978096604347229,
0.43933936953544617,
-0.4491177499294281,
0.16581693291664124,
-0.11469538509845734,
-0.5493216514587402,
-0.011429962702095509,
-0.08661477267742157,
-0.7329898476600647,
0.6506410241127014,
0.010399915277957916,
-0.7730754017829895,
0.5420326590538025,
-0.8193542957305908,
-0.4117244780063629,
0.1369694471359253,
-0.21469809114933014,
-0.24703927338123322,
0.4321832060813904,
0.10126566886901855,
0.529370129108429,
-0.14574946463108063,
0.8025373220443726,
-0.34260624647140503,
-0.45126470923423767,
0.5749080181121826,
-0.7294518351554871,
0.7118914723396301,
0.3105745017528534,
-0.3284810483455658,
0.23591478168964386,
-0.9198365807533264,
0.028107229620218277,
0.11124883592128754,
0.15401898324489594,
-0.27758732438087463,
-0.0065137785859405994,
-0.3093380033969879,
-0.1443941444158554,
0.184337317943573,
-0.45999622344970703,
-0.33095335960388184,
-0.5604600310325623,
0.7461946606636047,
0.25351256132125854,
0.0032207020558416843,
0.6067164540290833,
-0.0029763123020529747,
0.20317058265209198,
-0.0543796569108963,
0.20934699475765228,
-0.45852890610694885,
-0.2393033802509308,
-0.5937343835830688,
-0.20549526810646057,
0.19830015301704407,
-0.077219158411026,
-0.7957225441932678,
0.4281252324581146,
-0.2932340204715729,
-0.37139445543289185,
-0.31524959206581116,
-0.44531765580177307,
0.3472960889339447,
0.4396204948425293,
0.4546492099761963,
-0.191971093416214,
-0.4371143877506256,
-0.835959255695343,
-0.3061917722225189,
-0.37727704644203186,
-0.11897478252649307,
0.02149820141494274,
0.839179277420044,
0.29653435945510864,
0.979821503162384,
-0.2535769045352936,
0.30179762840270996,
0.13938361406326294,
0.426524817943573,
0.1773950159549713,
0.37856608629226685,
0.38121065497398376,
-0.7999458312988281,
0.022464502602815628,
-0.11395349353551865,
-0.9430304765701294,
0.13148288428783417,
-0.5444018840789795,
0.037602584809064865,
-0.16463647782802582,
0.557226836681366,
-0.5677582025527954,
0.6219282746315002,
0.5329204797744751,
-0.4524058699607849,
0.7690341472625732,
-0.27075666189193726,
0.055828873068094254,
-0.8648439645767212,
0.22317016124725342,
-0.20179493725299835,
-0.010645364411175251,
-0.3097700774669647,
0.1389334499835968,
-0.1994132250547409,
-0.32283449172973633,
-0.26735541224479675,
0.3902011215686798,
-0.4151630401611328,
-0.40663018822669983,
0.08127753436565399,
0.28243568539619446,
0.5986646413803101,
0.5028952360153198,
0.014426866546273232,
0.8428176045417786,
0.3573361933231354,
-0.5809099674224854,
0.6718571186065674,
0.42768505215644836,
-0.29119232296943665,
0.48066598176956177,
-1.1346625089645386,
0.005556889809668064,
0.008196316659450531,
0.1462405025959015,
-1.2410061359405518,
-0.4556717574596405,
0.4472402036190033,
-0.830467164516449,
0.16017906367778778,
-0.06913110613822937,
-0.11237817257642746,
-0.4082358181476593,
-0.001419033738784492,
0.3736288845539093,
-0.0622233971953392,
-0.7415426969528198,
0.4752853512763977,
-0.23137681186199188,
0.08111682534217834,
-0.4375738203525543,
-1.0780881643295288,
0.4084104895591736,
-0.03361020237207413,
-0.7029679417610168,
0.8721815943717957,
-0.21161958575248718,
-0.2531971037387848,
0.3035846948623657,
-0.30556729435920715,
-0.19657482206821442,
0.4627535343170166,
0.20769678056240082,
0.24613866209983826,
-0.47892189025878906,
0.6189666986465454,
0.3436433970928192,
-0.37091803550720215,
0.25240951776504517,
-0.31505995988845825,
0.3210877776145935,
-0.1682501882314682,
-0.6642082929611206,
-0.6339007616043091,
0.01338649820536375,
0.4280110001564026,
-0.25752735137939453,
0.31441760063171387,
0.6333311200141907,
-0.3137548863887787,
-0.3484429121017456,
0.254261314868927,
-0.2848704159259796,
-0.4229612350463867,
0.45819705724716187,
-0.751570463180542,
-0.47484973073005676,
0.2879558503627777,
-0.17525769770145416,
-0.3354024589061737,
0.799640417098999,
0.44890812039375305,
-0.39191603660583496,
0.5530569553375244,
0.2026284784078598,
0.7850545644760132,
0.18208932876586914,
-0.48869985342025757,
0.21404968202114105,
-0.6547397971153259,
-0.4091914892196655,
-0.27106133103370667,
-0.31621813774108887,
-0.21736378967761993,
-0.4476044476032257,
0.10689020156860352,
0.2179330438375473,
0.00007010327681200579,
0.19826528429985046,
-0.6894963383674622,
0.25982192158699036,
0.16243286430835724,
0.3330979645252228,
0.36510738730430603,
0.28804314136505127,
-0.4271790683269501,
0.024853428825736046,
-0.8205657005310059,
-0.6386823058128357,
0.7656871676445007,
0.4996888339519501,
0.7366284728050232,
-0.22949452698230743,
0.5818794369697571,
0.3820062577724457,
0.08035995811223984,
-1.047254204750061,
0.552217960357666,
-0.2531665563583374,
-0.5827229619026184,
-0.5690993070602417,
-0.3932071030139923,
-0.7154461145401001,
0.23146766424179077,
-0.3663824796676636,
-0.6000710129737854,
0.38004162907600403,
0.25367221236228943,
-0.7168911695480347,
0.04389089345932007,
-0.8053343296051025,
0.9096717238426208,
-0.5386099815368652,
-0.8340570330619812,
-0.5221755504608154,
-0.4100106954574585,
0.22338174283504486,
0.17924611270427704,
-0.2778796851634979,
-0.012281135655939579,
-0.15569236874580383,
0.7402127385139465,
-0.5382235646247864,
0.8363334536552429,
-0.07505716383457184,
-0.029584622010588646,
0.48247230052948,
0.1636781245470047,
-0.19714488089084625,
0.4353006184101105,
-0.362888902425766,
0.2550423741340637,
0.015455685555934906,
-0.3354588747024536,
-0.9521145224571228,
0.4390407204627991,
-0.7645689845085144,
-0.39699578285217285,
-0.021292321383953094,
-0.46635347604751587,
0.15005043148994446,
-0.044026199728250504,
0.5591345429420471,
0.8023344874382019,
-0.6315363049507141,
0.08765071630477905,
0.5086444020271301,
-0.5317771434783936,
0.5639066100120544,
-0.14320886135101318,
-0.009324739687144756,
-0.5767538547515869,
0.8035779595375061,
-0.23254066705703735,
0.09704612195491791,
0.342001736164093,
0.20889385044574738,
-0.20164141058921814,
-0.8498633503913879,
-0.9542990922927856,
-0.18746207654476166,
-0.6377714276313782,
0.026502156630158424,
-0.47542887926101685,
-0.09574997425079346,
0.18591953814029694,
-0.1077442616224289,
-0.37683212757110596,
-0.580569863319397,
-0.4473399817943573,
-0.022635741159319878,
0.12589986622333527,
0.704771101474762,
0.07807772606611252,
0.5403003096580505,
-0.4610583186149597,
0.6758741736412048,
0.2358146458864212,
0.7887911796569824,
0.18850623071193695,
-0.38377654552459717,
-0.2746618986129761,
0.4132055640220642,
-0.11651996523141861,
-0.9373865127563477,
0.12122435867786407,
0.36293771862983704,
0.427705317735672,
0.08562758564949036,
-0.18448035418987274,
0.7130332589149475,
-0.3603443205356598,
0.9650986790657043,
0.5855392217636108,
-1.2200919389724731,
0.642583966255188,
-0.16921330988407135,
0.03655245900154114,
0.3056398034095764,
0.3081350326538086,
-0.09154874086380005,
0.058911796659231186,
-0.7201889157295227,
-0.7216701507568359,
0.448749840259552,
0.4036647081375122,
0.22265057265758514,
0.10051955282688141,
0.895999550819397,
0.36560648679733276,
-0.01842157356441021,
-0.31185218691825867,
-0.020069999620318413,
-0.5201240181922913,
-0.4516391456127167,
-0.093351811170578,
-0.14654946327209473,
-0.1904728263616562,
-0.18370313942432404,
0.25046196579933167,
-0.38146066665649414,
0.6067109107971191,
0.6356497406959534,
-0.2907184958457947,
-0.1072150319814682,
0.06748522073030472,
0.6024643182754517,
0.9232975244522095,
-0.009919372387230396,
0.3324573040008545,
0.08127523958683014,
-0.4325677752494812,
0.2234916388988495,
-0.10050084441900253,
-0.1200929656624794,
0.4748016893863678,
0.9204307198524475,
0.9794559478759766,
-0.1388452798128128,
-0.07173047214746475,
0.6240176558494568,
-0.5060219168663025,
-0.3278689980506897,
-0.10154812783002853,
0.13311953842639923,
0.3504250645637512,
-0.01624862663447857,
0.33828189969062805,
0.500106692314148,
0.2695138156414032,
-0.4122694432735443,
0.35461145639419556,
0.15462173521518707,
-0.5201823711395264,
-0.8108519315719604,
0.5746234655380249,
0.27789434790611267,
-0.28443631529808044,
0.300706684589386,
-0.15389978885650635,
-0.3963623046875,
0.9765234589576721,
0.40936654806137085,
0.9867380857467651,
-0.028489599004387856,
0.6033924221992493,
0.5435166954994202,
0.0857638344168663,
0.31547972559928894,
0.33108243346214294,
-0.1791115254163742,
-0.6479156613349915,
-0.8254228234291077,
-0.6254512667655945,
-0.29246535897254944,
0.03644223511219025,
-0.614873468875885,
0.13353204727172852,
-0.48277243971824646,
-0.32443228363990784,
0.5415409803390503,
-0.14059114456176758,
-0.6306711435317993,
0.7226302623748779,
0.0011171899968758225,
0.9373224973678589,
-0.9057495594024658,
0.25595033168792725,
0.7327044606208801,
-0.6337319612503052,
-0.649582028388977,
0.2782380282878876,
-0.5457677841186523,
-0.6236600279808044,
0.7580651640892029,
-0.11928662657737732,
-0.25721943378448486,
-0.177313894033432,
-0.8287172913551331,
-0.48433467745780945,
0.908102810382843,
0.5972111225128174,
-0.5832421183586121,
0.0945475623011589,
0.03541161119937897,
1.1049221754074097,
-0.4259827733039856,
0.47780436277389526,
0.14455221593379974,
0.3133369982242584,
0.25384053587913513,
-0.46853768825531006,
0.18077491223812103,
-0.41044881939888,
-0.1578272432088852,
-0.44503137469291687,
-0.3701174259185791,
0.6956517696380615,
-0.5112656950950623,
-0.3367727994918823,
0.2445227950811386,
0.7045994997024536,
-0.1758352816104889,
0.8233855366706848,
0.4053015410900116,
0.3757050037384033,
0.7999146580696106,
-0.2180248498916626,
0.9539873600006104,
-0.1338319033384323,
0.3942001461982727,
1.3089410066604614,
0.1314963847398758,
0.6210947632789612,
0.6155433654785156,
-0.15161322057247162,
0.6917663812637329,
1.030137538909912,
0.0050798626616597176,
0.42133018374443054,
0.4729585647583008,
0.17418386042118073,
-0.34149569272994995,
-0.07706212252378464,
-0.27837246656417847,
0.5674996376037598,
0.4825429916381836,
-0.5223522186279297,
-0.02421600930392742,
-0.2072644829750061,
-0.497372567653656,
0.08444292098283768,
-0.16129609942436218,
0.9159733057022095,
0.26028352975845337,
-0.8390693068504333,
0.8361902236938477,
-0.22715257108211517,
0.036737196147441864,
-0.07558594644069672,
-0.2095498889684677,
-0.22974564135074615,
0.19073274731636047,
-0.5021594762802124,
-0.8289287686347961,
0.7264550924301147,
-0.17101357877254486,
-0.25528910756111145,
-0.1258835792541504,
0.709750771522522,
-0.27457281947135925,
-0.2109677940607071,
0.40893328189849854,
0.5684734582901001,
0.16143055260181427,
0.08842608332633972,
-0.7173308730125427,
0.10624317079782486,
-0.4029001295566559,
0.009723203256726265,
-0.28718122839927673,
0.7181000709533691,
-0.020259583368897438,
0.5518747568130493,
0.4849247336387634,
-0.0823512077331543,
-0.3037029802799225,
0.05459246039390564,
0.8242670893669128,
-0.415507435798645,
-0.3632737696170807,
-1.1122897863388062,
0.6133567690849304,
-0.12964726984500885,
-0.3219548761844635,
0.2853095829486847,
0.36206671595573425,
0.561780571937561,
-0.19780805706977844,
0.8001501560211182,
-0.019434873014688492,
-0.1099974662065506,
-0.6524748802185059,
0.8316468596458435,
-0.7557187080383301,
0.275484174489975,
-0.14791955053806305,
-0.7718770503997803,
-0.13899819552898407,
0.6072458028793335,
-0.24312251806259155,
-0.1293831467628479,
1.1495239734649658,
0.5326202511787415,
-0.4034428596496582,
0.5369541645050049,
0.5199065804481506,
0.3237623870372772,
-0.13775843381881714,
0.30682075023651123,
1.1549794673919678,
-0.50969398021698,
0.3572108745574951,
0.08565177768468857,
-0.12383783608675003,
-0.10601215809583664,
-1.052308201789856,
-0.9126209616661072,
-0.599969744682312,
-0.47469523549079895,
-0.3928913176059723,
0.3264908194541931,
0.5238239765167236,
0.8226995468139648,
-0.8062114715576172,
-0.011322254315018654,
-0.46489807963371277,
0.2767283320426941,
-0.22543726861476898,
-0.1377929300069809,
0.7321476340293884,
-0.4776996076107025,
-0.2933897376060486,
0.3170333206653595,
0.45296525955200195,
-0.2311863899230957,
-0.3962191641330719,
-0.13357774913311005,
0.0925418883562088,
-0.1986028552055359,
0.5157467126846313,
-0.4686490297317505,
-0.6854023337364197,
-0.13484476506710052,
0.34040015935897827,
-0.1213027611374855,
0.038309939205646515,
0.928191602230072,
-0.6730116605758667,
0.7396500110626221,
0.8789111375808716,
0.6540017127990723,
0.4250819683074951,
-0.2825869023799896,
0.8104807138442993,
-0.537990152835846,
-0.05930955335497856,
0.1950514018535614,
0.23797547817230225,
0.5752484798431396,
-0.4063912630081177,
0.46568387746810913,
0.43231502175331116,
0.046025313436985016,
-0.40159985423088074,
0.2615090012550354,
-0.9584735631942749,
-0.39797118306159973,
0.8347628712654114,
-0.6707118153572083,
-0.6239416003227234,
-0.19996093213558197,
-0.058403581380844116,
0.6071763634681702,
-0.010897933505475521,
0.6480104327201843,
0.5285398364067078,
0.11993154138326645,
0.0009909814689308405,
-0.3298904001712799,
0.49667981266975403,
0.49019646644592285,
-0.8700981736183167,
-0.033234260976314545,
0.37714675068855286,
0.1023101657629013,
0.33445921540260315,
0.29880666732788086,
-0.07521616667509079,
0.6448973417282104,
0.3096347153186798,
0.16933786869049072,
-0.06150638312101364,
-0.5233955383300781,
-0.3874525725841522,
0.013600974343717098,
-0.1764948070049286,
-0.29728105664253235
] |
http://arxiv.org/abs/2405.20362v1
|
http://arxiv.org/pdf/2405.20362v1
|
Hallucination-Free? Assessing the Reliability of Leading AI Legal Research Tools
| 2024-05-30T17:56:05 | 2024-05-30T17:56:05 |
Varun Magesh, Faiz Surani, Matthew Dahl, Mirac Suzgun, Christopher D. Manning, Daniel E. Ho
|
cs.CL
|
cs.CL, cs.CY
|
Legal practice has witnessed a sharp rise in products incorporating
artificial intelligence (AI). Such tools are designed to assist with a wide
range of core legal tasks, from search and summarization of caselaw to document
drafting. But the large language models used in these tools are prone to
"hallucinate," or make up false information, making their use risky in
high-stakes domains. Recently, certain legal research providers have touted
methods such as retrieval-augmented generation (RAG) as "eliminating"
(Casetext, 2023) or "avoid[ing]" hallucinations (Thomson Reuters, 2023), or
guaranteeing "hallucination-free" legal citations (LexisNexis, 2023). Because
of the closed nature of these systems, systematically assessing these claims is
challenging. In this article, we design and report on the first preregistered
empirical evaluation of AI-driven legal research tools. We demonstrate that the
providers' claims are overstated. While hallucinations are reduced relative to
general-purpose chatbots (GPT-4), we find that the AI research tools made by
LexisNexis (Lexis+ AI) and Thomson Reuters (Westlaw AI-Assisted Research and
Ask Practical Law AI) each hallucinate between 17% and 33% of the time. We also
document substantial differences between systems in responsiveness and
accuracy. Our article makes four key contributions. It is the first to assess
and report the performance of RAG-based proprietary legal AI tools. Second, it
introduces a comprehensive, preregistered dataset for identifying and
understanding vulnerabilities in these systems. Third, it proposes a clear
typology for differentiating between hallucinations and accurate legal
responses. Last, it provides evidence to inform the responsibilities of legal
professionals in supervising and verifying AI outputs, which remains a central
open question for the responsible integration of AI into law.
|
[
-0.3029780983924866,
-0.6216782331466675,
0.6043910980224609,
0.17643699049949646,
-0.2501027584075928,
-0.03347465395927429,
-0.17589011788368225,
-0.71136474609375,
0.30648285150527954,
0.5192437767982483,
-0.11717572808265686,
-0.1973825991153717,
-0.5637512803077698,
0.11411667615175247,
-0.7039123177528381,
1.0132631063461304,
0.3034684360027313,
0.15004540979862213,
-0.4249451756477356,
-0.3646283745765686,
-0.6143715381622314,
-0.795084536075592,
-0.3971266746520996,
-0.21507765352725983,
0.2476222664117813,
-0.12980930507183075,
0.9737471342086792,
0.17060941457748413,
0.688520073890686,
0.3686192035675049,
0.009754801169037819,
-0.23020359873771667,
-0.4698060154914856,
0.1627860963344574,
0.012072809971868992,
-0.32649853825569153,
-0.5269138813018799,
0.13966915011405945,
0.028900468721985817,
0.4975966215133667,
-0.2659724950790405,
-0.002818065695464611,
-0.03656374290585518,
0.6521372199058533,
-0.6572728157043457,
-0.030966389924287796,
-0.774908185005188,
0.3400292694568634,
-0.2147100567817688,
-0.16176609694957733,
-0.5847406983375549,
-0.49616238474845886,
0.009913291782140732,
-0.6476945281028748,
0.3336867690086365,
0.13449911773204803,
0.8330927491188049,
0.9365050792694092,
-0.08655986189842224,
-0.6451220512390137,
-1.0345661640167236,
0.35117900371551514,
-0.5037737488746643,
0.2860463857650757,
0.66652512550354,
0.4640773832798004,
-0.1481803059577942,
-0.8781314492225647,
-0.6553712487220764,
-1.0255273580551147,
-0.26010552048683167,
0.21507839858531952,
-0.37765225768089294,
0.024183599278330803,
0.5607280135154724,
0.24464203417301178,
-0.8132060766220093,
0.06811565905809402,
-0.5476850867271423,
-0.43646910786628723,
0.7538546919822693,
-0.07061198353767395,
0.22242458164691925,
0.08419770747423172,
0.27523183822631836,
-0.04450292885303497,
-0.34371864795684814,
-0.2883221209049225,
0.46221476793289185,
0.11618160456418991,
0.24043036997318268,
0.8957567811012268,
0.25680777430534363,
0.2716708779335022,
0.020712561905384064,
0.12553998827934265,
0.36234050989151,
-0.1237669363617897,
-0.3152930438518524,
0.3373367488384247,
0.87423175573349,
0.2346256673336029,
0.47485142946243286,
-0.4908668100833893,
-0.3550020456314087,
0.0203720610588789,
0.8236402869224548,
-0.47325071692466736,
-0.19966953992843628,
0.6369673609733582,
-0.5766940712928772,
-0.17976228892803192,
0.17100472748279572,
-0.724583089351654,
-0.8184187412261963,
-0.21240752935409546,
0.4527629315853119,
-0.31983301043510437,
-0.28850603103637695,
-0.038836587220430374,
-0.15997649729251862,
0.28891557455062866,
0.13776971399784088,
-0.3023088872432709,
0.3705199658870697,
0.72269207239151,
0.7084096670150757,
-0.11289629340171814,
-0.13220243155956268,
-0.7507748603820801,
-0.19136670231819153,
-0.6293342709541321,
0.7307928800582886,
-0.31172895431518555,
-0.45903831720352173,
-0.0032133543863892555,
-0.04681398347020149,
0.09939388930797577,
-0.9374576807022095,
0.5766458511352539,
-0.3618370294570923,
0.1786588877439499,
-0.07855338603258133,
-0.47848987579345703,
-0.12912030518054962,
0.11350812017917633,
-0.8053215146064758,
0.664829671382904,
0.062019992619752884,
-0.6384952068328857,
0.710680365562439,
-0.796897828578949,
-0.4729449450969696,
0.25136396288871765,
-0.5090287923812866,
-0.5915871858596802,
0.1667589396238327,
0.01825840026140213,
0.01080347690731287,
-0.10967231541872025,
0.4641052186489105,
-0.14234264194965363,
-0.5309115052223206,
0.23947416245937347,
-0.39768996834754944,
0.9971763491630554,
0.29801079630851746,
-0.8386799693107605,
0.5205768942832947,
-0.6633270382881165,
-0.24005968868732452,
0.14201533794403076,
0.2043714076280594,
-0.15555037558078766,
-0.006456372793763876,
-0.14011456072330475,
-0.1008005365729332,
-0.1562683880329132,
-0.2856796979904175,
-0.13654984533786774,
-0.28177016973495483,
0.012691084295511246,
0.6734999418258667,
-0.3211003243923187,
0.10344136506319046,
-0.48173049092292786,
0.7500388026237488,
-0.18966081738471985,
0.12747228145599365,
0.12735234200954437,
-0.48298734426498413,
-0.6247408390045166,
-0.19485101103782654,
0.34563300013542175,
0.6346756219863892,
-0.5607506632804871,
0.6160747408866882,
-0.3017038404941559,
-0.4992791414260864,
-0.7658160328865051,
-0.30066120624542236,
0.11847363412380219,
0.2592160701751709,
0.5282455682754517,
-0.14441226422786713,
-0.39807751774787903,
-0.7810647487640381,
-0.47354722023010254,
-0.3093418776988983,
-0.13257837295532227,
0.40166157484054565,
0.5815520286560059,
-0.3809589743614197,
0.6612482666969299,
0.20973092317581177,
-0.3443482220172882,
-0.2087341547012329,
0.44627851247787476,
-0.062189098447561264,
0.2727218568325043,
0.5384377241134644,
-0.606950581073761,
-0.27355247735977173,
0.019225841388106346,
-1.0412688255310059,
-0.011220211163163185,
-0.43953076004981995,
0.3155094385147095,
0.3952028751373291,
0.38744425773620605,
-0.7399953007698059,
0.9190922379493713,
-0.07445812225341797,
-0.5331434607505798,
0.8168379664421082,
-0.37602201104164124,
0.2045312523841858,
-0.3746510148048401,
0.43740129470825195,
-0.2771226167678833,
-0.07638120651245117,
-0.6064531207084656,
0.056747566908597946,
-0.2621617615222931,
0.06683859974145889,
-0.29635629057884216,
0.41004541516304016,
-0.38005971908569336,
-0.5263339281082153,
-0.44439712166786194,
0.0558590330183506,
-0.4512871205806732,
0.17063146829605103,
-0.4031241536140442,
0.9791789054870605,
0.23277166485786438,
-0.5612263083457947,
0.286177396774292,
0.23005764186382294,
-0.3192182779312134,
0.426110178232193,
-0.6589035987854004,
0.4268762171268463,
-0.129270538687706,
-0.10910489410161972,
-0.2622968256473541,
-0.3069669008255005,
0.5591025352478027,
-0.5704559087753296,
-0.08642429113388062,
0.2150748372077942,
-0.36345812678337097,
-0.5064029693603516,
-0.19091598689556122,
0.2915222942829132,
0.5052686929702759,
-0.0791034996509552,
0.7936928868293762,
0.539637565612793,
-0.004903219640254974,
-0.7758699655532837,
-0.551182210445404,
0.42625194787979126,
-0.24183908104896545,
-0.19102774560451508,
0.11775045096874237,
-0.00820186734199524,
-0.7699149250984192,
0.33364078402519226,
-0.07803889364004135,
-0.16473063826560974,
0.22228561341762543,
0.516795814037323,
-0.0021627526730298996,
-0.18759174644947052,
0.058662787079811096,
-0.12062164396047592,
-0.007996097207069397,
0.48900890350341797,
0.06955182552337646,
0.5968109965324402,
-0.22351007163524628,
-0.6102597117424011,
-0.48312827944755554,
0.16107207536697388,
0.7969992160797119,
-0.1346072107553482,
0.32912158966064453,
0.526134192943573,
-0.44494935870170593,
0.11549748480319977,
-0.7555917501449585,
-0.12736301124095917,
-0.3922812342643738,
0.19701243937015533,
-0.3006751537322998,
-0.5684607625007629,
0.40713512897491455,
0.45843505859375,
0.14816580712795258,
0.6539178490638733,
0.5349615216255188,
0.30734479427337646,
0.7512933611869812,
0.5796817541122437,
-0.035366952419281006,
0.09235197305679321,
0.1053779274225235,
0.44732531905174255,
-0.1651003062725067,
-0.3781749904155731,
-0.7936640977859497,
0.03843839094042778,
-0.6753495335578918,
-0.10863383114337921,
0.16627931594848633,
-0.2538602948188782,
-0.10019221156835556,
0.09773208945989609,
-0.7650848627090454,
0.4423866868019104,
0.9147067070007324,
-0.1479954570531845,
0.34018656611442566,
-0.07240130007266998,
-0.02583976648747921,
0.19110633432865143,
-0.3663891553878784,
-0.6553216576576233,
1.3069796562194824,
0.15072888135910034,
0.48193925619125366,
-0.08434924483299255,
0.663208544254303,
0.6768484115600586,
0.24584375321865082,
-0.9502888917922974,
0.7111973166465759,
0.08747723698616028,
-0.5583465695381165,
-0.4618698060512543,
-0.3635770380496979,
-1.0688170194625854,
0.028509140014648438,
-0.3866066336631775,
-0.6939542889595032,
0.0893290713429451,
0.007194199599325657,
-0.6201799511909485,
0.1306290179491043,
-0.26743918657302856,
0.5641921162605286,
-0.5329961180686951,
-0.34040510654449463,
-0.38599079847335815,
-0.5370634198188782,
0.28126493096351624,
-0.26750534772872925,
0.07223319262266159,
-0.04170043766498566,
0.3845851421356201,
0.739099383354187,
-0.3720955550670624,
0.30569300055503845,
-0.3046298921108246,
0.10182797908782959,
0.406635582447052,
0.20081302523612976,
0.2933694124221802,
-0.07737025618553162,
0.024018239229917526,
0.15663951635360718,
0.18422026932239532,
-0.04788745194673538,
-0.6130126118659973,
0.2768208384513855,
-0.5246158838272095,
-0.8408898711204529,
-0.8170216679573059,
-0.6121044754981995,
-0.04176510497927666,
0.42199939489364624,
0.14620806276798248,
-0.07664800435304642,
-0.288659930229187,
0.2704783082008362,
0.2508358359336853,
-0.24373826384544373,
0.1291189044713974,
0.22962234914302826,
-0.42424461245536804,
-0.38311946392059326,
0.8659681677818298,
0.2859802842140198,
-0.48213863372802734,
-0.26389142870903015,
0.1577005237340927,
-0.29866424202919006,
-0.7286278605461121,
-0.24533681571483612,
0.10535278916358948,
-0.47203710675239563,
0.013276821002364159,
-0.8424791693687439,
-0.45230647921562195,
-0.5465338230133057,
0.14678938686847687,
-0.22190424799919128,
-0.3556777536869049,
-0.13752718269824982,
-0.12773993611335754,
0.17763051390647888,
0.8286617994308472,
-0.1609472632408142,
-0.21576830744743347,
-0.5878733992576599,
0.59479820728302,
0.22810927033424377,
0.215339794754982,
-0.22148878872394562,
-0.2955293655395508,
0.06272381544113159,
-0.04101810231804848,
-0.03642316162586212,
-0.677096426486969,
0.2847258746623993,
-0.14709660410881042,
0.7779452800750732,
0.452657550573349,
0.1216687560081482,
0.6579887270927429,
-0.5420017838478088,
0.8015989065170288,
-0.07513423264026642,
-0.8345447182655334,
0.38175010681152344,
0.011913915164768696,
-0.25238075852394104,
0.7576904296875,
0.42063573002815247,
-0.1969253122806549,
-0.6679630875587463,
-0.68272465467453,
-0.6757791042327881,
0.2649378180503845,
0.40992456674575806,
0.07663649320602417,
0.0683877170085907,
0.5871711373329163,
0.32078638672828674,
0.22993779182434082,
-0.5646662712097168,
0.13625985383987427,
-0.4293433129787445,
-0.17080654203891754,
0.15658457577228546,
-0.0786370187997818,
-0.1996886432170868,
-0.3070375919342041,
0.5044819116592407,
0.043512362986803055,
0.4051756262779236,
0.25016477704048157,
-0.2766037881374359,
0.07384884357452393,
0.07151365280151367,
0.7446483969688416,
0.9251924157142639,
-0.13194642961025238,
0.0098434928804636,
-0.02799571305513382,
-0.6760987639427185,
0.2200392782688141,
0.2087445855140686,
-0.3322121798992157,
0.3130348324775696,
0.3551465570926666,
0.6255561113357544,
-0.421743243932724,
-0.9416980147361755,
0.48691877722740173,
-0.23252888023853302,
-0.4552191197872162,
-0.7447147369384766,
0.11078114807605743,
-0.46770012378692627,
0.2671876847743988,
0.43508225679397583,
0.10833463072776794,
0.4303300380706787,
-0.43959975242614746,
0.44302618503570557,
0.5902586579322815,
-0.4084145128726959,
-0.1428050547838211,
0.9073939323425293,
-0.044011201709508896,
-0.5696331262588501,
0.7195283770561218,
-0.28591957688331604,
-0.18525584042072296,
0.6657841801643372,
0.20251360535621643,
1.2773122787475586,
0.17503957450389862,
0.19634990394115448,
0.1836814433336258,
0.6652286052703857,
-0.3707318603992462,
0.1311747431755066,
0.056961704045534134,
-0.3662693202495575,
-0.2543542683124542,
-0.17663727700710297,
-0.5802096128463745,
0.4197416305541992,
-0.6705970764160156,
0.043348830193281174,
-0.4275435209274292,
-0.422139048576355,
-0.1946260780096054,
-0.11608882993459702,
-0.586227536201477,
-0.012042696587741375,
-0.1358746588230133,
0.6427543759346008,
-0.44309666752815247,
0.49816611409187317,
0.49077460169792175,
-0.540580689907074,
-0.2986900508403778,
0.4220827519893646,
0.06555414199829102,
-0.5435071587562561,
0.32632964849472046,
0.3452308177947998,
-0.3529731035232544,
-0.30601638555526733,
-0.5922232866287231,
-0.32499176263809204,
0.8280944228172302,
0.3669985830783844,
-0.39870136976242065,
-0.10586019605398178,
0.3325035572052002,
0.7145137786865234,
-0.08064835518598557,
0.26778289675712585,
0.7047334313392639,
0.505383312702179,
0.07544201612472534,
-1.0325217247009277,
0.16340908408164978,
-0.47597551345825195,
-0.26720958948135376,
-0.22340963780879974,
-0.035521816462278366,
0.5306572318077087,
-0.3515673875808716,
-0.36645060777664185,
0.15805451571941376,
0.6671424508094788,
0.1858537346124649,
0.6505447626113892,
0.4820200204849243,
0.5243046879768372,
1.2005895376205444,
-0.04724706709384918,
0.8911200761795044,
-0.5760576128959656,
0.023646293208003044,
1.2182817459106445,
-0.5618329048156738,
0.5651435256004333,
0.5485695004463196,
0.10141579061746597,
0.18073345720767975,
0.2564503252506256,
-0.4080260396003723,
0.24281956255435944,
0.33749163150787354,
0.011174698360264301,
0.05368414521217346,
-0.1346888393163681,
-0.4315280318260193,
0.3685806393623352,
0.17957952618598938,
-0.21544553339481354,
0.1184924840927124,
0.14323543012142181,
-0.13843053579330444,
0.03620268031954765,
0.06829645484685898,
0.9316459894180298,
-0.06605596095323563,
-0.8876037001609802,
0.3816395103931427,
-0.37822654843330383,
0.30010971426963806,
-0.3046998977661133,
-0.09488064050674438,
-0.4045690596103668,
0.03786506876349449,
-0.11618386209011078,
-0.535707414150238,
0.612433910369873,
0.37573155760765076,
0.35324618220329285,
0.1053045392036438,
0.6170932650566101,
0.21832764148712158,
-0.45388954877853394,
0.31994155049324036,
0.7442712783813477,
0.6406024098396301,
-0.14069023728370667,
-0.7925225496292114,
0.06812155991792679,
-0.28709280490875244,
-0.11441132426261902,
-0.026795171201229095,
0.38211432099342346,
-0.09667333960533142,
0.7614089250564575,
0.47952061891555786,
0.3296339809894562,
0.11208370327949524,
0.18917801976203918,
0.7463428378105164,
-0.7542558908462524,
-0.14542250335216522,
-0.7174113392829895,
0.4584980309009552,
-0.29119595885276794,
-0.2875082194805145,
0.5720734596252441,
0.5187186598777771,
0.6847628355026245,
0.20968452095985413,
0.7985165119171143,
-0.18330229818820953,
0.28502601385116577,
-0.44478660821914673,
1.1031924486160278,
-0.4384322464466095,
0.13019947707653046,
-0.06127685308456421,
-0.9248461723327637,
-0.5007059574127197,
0.8137061595916748,
-0.11858497560024261,
0.15686951577663422,
0.6710119247436523,
0.821900486946106,
0.08735557645559311,
-0.08556283265352249,
0.5422475934028625,
0.2912081182003021,
0.4230765402317047,
-0.10567711293697357,
0.7963558435440063,
-0.19465483725070953,
0.636126697063446,
-0.22769829630851746,
-0.1345127373933792,
-0.3113383948802948,
-0.5062690377235413,
-0.9447791576385498,
-0.2286076843738556,
-0.17080368101596832,
-0.621920645236969,
0.2838398814201355,
0.8067605495452881,
0.2230556458234787,
-1.0089904069900513,
-0.17515331506729126,
-0.23424024879932404,
-0.13983210921287537,
-0.24637605249881744,
-0.16881465911865234,
0.32460108399391174,
-0.6446981430053711,
-0.4097404479980469,
0.35363778471946716,
0.1434466689825058,
0.01743949204683304,
-0.27012088894844055,
-0.1602373570203781,
0.18638946115970612,
0.1684085726737976,
0.34575706720352173,
0.35751819610595703,
-0.8827284574508667,
-0.28999200463294983,
0.09871377050876617,
-0.2268812358379364,
0.20634441077709198,
0.8853415250778198,
-0.6202124953269958,
0.4422774910926819,
0.22673659026622772,
0.7852350473403931,
0.18101833760738373,
-0.037274740636348724,
0.4509502053260803,
0.058373548090457916,
0.31935203075408936,
0.6605837345123291,
0.3682534396648407,
-0.054878585040569305,
-0.2332342118024826,
0.7937648296356201,
0.07115738838911057,
-0.6894732117652893,
-0.9731584191322327,
-0.2149934470653534,
-0.5307164192199707,
-0.381761372089386,
0.7282221913337708,
-0.008128003217279911,
-0.09105724096298218,
-0.3208889067173004,
-0.19739466905593872,
0.3255658447742462,
-0.14260807633399963,
1.3996708393096924,
0.6563934087753296,
-0.18189756572246552,
0.08005249500274658,
-0.8810508251190186,
0.6507731080055237,
0.4667794108390808,
-0.8957750797271729,
-0.00055004155728966,
0.7282097935676575,
-0.19322915375232697,
0.5403748750686646,
0.833345353603363,
-0.23420412838459015,
0.3894115686416626,
0.22602784633636475,
0.0975344255566597,
-0.10800383239984512,
-0.5706703662872314,
-0.43894216418266296,
0.1945062279701233,
0.057034533470869064,
0.11557352542877197
] |
http://arxiv.org/abs/2405.20318v1
|
http://arxiv.org/pdf/2405.20318v1
|
CausalQuest: Collecting Natural Causal Questions for AI Agents
| 2024-05-30T17:55:28 | 2024-05-30T17:55:28 |
Roberto Ceraolo, Dmitrii Kharlapenko, Amélie Reymond, Rada Mihalcea, Mrinmaya Sachan, Bernhard Schölkopf, Zhijing Jin
|
cs.CL
|
cs.CL, cs.AI, cs.LG, stat.ML
|
Humans have an innate drive to seek out causality. Whether fuelled by
curiosity or specific goals, we constantly question why things happen, how they
are interconnected, and many other related phenomena. To develop AI agents
capable of addressing this natural human quest for causality, we urgently need
a comprehensive dataset of natural causal questions. Unfortunately, existing
datasets either contain only artificially-crafted questions that do not reflect
real AI usage scenarios or have limited coverage of questions from specific
sources. To address this gap, we present CausalQuest, a dataset of 13,500
naturally occurring questions sourced from social networks, search engines, and
AI assistants. We formalize the definition of causal questions and establish a
taxonomy for finer-grained classification. Through a combined effort of human
annotators and large language models (LLMs), we carefully label the dataset. We
find that 42% of the questions humans ask are indeed causal, with the majority
seeking to understand the causes behind given effects. Using this dataset, we
train efficient classifiers (up to 2.85B parameters) for the binary task of
identifying causal questions, achieving high performance with F1 scores of up
to 0.877. We conclude with a rich set of future research directions that can
build upon our data and models.
|
[
-0.6618376970291138,
-1.168574571609497,
0.5860822200775146,
0.08235471695661545,
0.0015083211474120617,
-0.3489927053451538,
0.1016537994146347,
-0.7301029562950134,
0.20370739698410034,
0.6205946803092957,
-0.7496418952941895,
0.09555763006210327,
-0.36594533920288086,
0.38320809602737427,
-0.47261694073677063,
0.7591400742530823,
0.1726546734571457,
0.01671924814581871,
-0.48644769191741943,
-0.09158498793840408,
-0.4910160303115845,
-0.09008455276489258,
-1.128993272781372,
-0.17367218434810638,
1.1202073097229004,
0.42412298917770386,
0.4749160408973694,
0.27718594670295715,
0.48406028747558594,
0.3926810026168823,
0.21162265539169312,
0.5642596483230591,
-0.39279159903526306,
0.18338468670845032,
-0.44179701805114746,
-0.6733040809631348,
0.2902468144893646,
0.1308155208826065,
0.39975932240486145,
0.8495373129844666,
0.2778835892677307,
0.49883198738098145,
-0.17741914093494415,
0.4442411959171295,
-0.5037726759910583,
0.15902456641197205,
-0.411068856716156,
-0.03656615689396858,
-0.08243873715400696,
-0.40565231442451477,
-0.17415456473827362,
-0.7747762799263,
0.14601677656173706,
-0.5260826945304871,
0.4577192962169647,
0.18672984838485718,
0.8247036933898926,
0.6996709108352661,
-1.056488275527954,
-0.05433572828769684,
-1.069383144378662,
0.29474106431007385,
-0.24423250555992126,
0.1262430101633072,
0.7295451760292053,
0.507851779460907,
-0.25191792845726013,
-0.8412872552871704,
-0.6512892246246338,
-0.2678300738334656,
-0.289352685213089,
-0.03625538572669029,
-0.26451006531715393,
-0.0423891581594944,
0.27926182746887207,
0.0709594264626503,
-0.8494901061058044,
-0.02983744814991951,
-0.43427643179893494,
-0.30479058623313904,
1.0170331001281738,
0.6069588661193848,
0.5387641191482544,
-0.07399829477071762,
-0.02195342630147934,
0.080792136490345,
-0.6816136837005615,
0.18193715810775757,
0.37770137190818787,
0.2107807695865631,
0.13358664512634277,
0.27995583415031433,
-0.24882902204990387,
1.0453639030456543,
0.02941579930484295,
0.49455583095550537,
-0.5665806531906128,
-0.5372293591499329,
0.09607745707035065,
0.0888291522860527,
0.5986011624336243,
0.317477822303772,
-0.03411128371953964,
-0.3264240622520447,
0.24575360119342804,
-0.02280440554022789,
0.49254095554351807,
-0.7000916600227356,
0.02061859704554081,
0.4386971890926361,
0.06743623316287994,
-0.18193699419498444,
0.169953852891922,
-0.4038584232330322,
-0.6958350539207458,
-0.7210114002227783,
0.3569127023220062,
0.03086082823574543,
0.08213263750076294,
0.030935725197196007,
-0.3749679625034332,
0.5966899394989014,
0.5499446988105774,
-0.45969948172569275,
0.047518860548734665,
0.5110732316970825,
0.28853389620780945,
0.29522302746772766,
-0.368950754404068,
-0.5962246656417847,
-0.004014935810118914,
-0.31759288907051086,
1.1557612419128418,
-0.21361613273620605,
-0.1319553554058075,
0.050628289580345154,
0.363585501909256,
-0.13143344223499298,
-0.3727608025074005,
0.5158050656318665,
-0.9398574233055115,
0.28197839856147766,
-0.8139557242393494,
-0.5281624794006348,
-0.37401437759399414,
0.670006275177002,
-0.6199228167533875,
0.7193067073822021,
-0.4742206037044525,
-0.6863573789596558,
0.5970160365104675,
-0.4444955885410309,
-0.6213749051094055,
0.2697192132472992,
-0.2514547109603882,
0.05739596113562584,
-0.1534995436668396,
0.06254278123378754,
0.34102705121040344,
-1.0299925804138184,
0.8869401812553406,
-0.2679440677165985,
-0.13991700112819672,
0.25283849239349365,
-0.6211193799972534,
0.8763284683227539,
0.07659053057432175,
-0.5689505338668823,
0.06581846624612808,
-0.6320830583572388,
-0.2044404149055481,
0.1107383668422699,
0.056213777512311935,
-0.4962637722492218,
0.34121572971343994,
-0.27391189336776733,
0.17784161865711212,
0.22274111211299896,
-0.5609685778617859,
0.040519993752241135,
-0.12815870344638824,
0.1414533406496048,
0.874711811542511,
0.45350077748298645,
0.002436358481645584,
-0.5867308378219604,
0.30719390511512756,
-0.08893643319606781,
0.41302022337913513,
0.3499317467212677,
-0.7583672404289246,
-0.6121392250061035,
0.23693327605724335,
-0.25738856196403503,
0.44767850637435913,
-0.5886853337287903,
0.36832740902900696,
0.08754301816225052,
-0.7660279870033264,
-0.15761703252792358,
-0.11218801885843277,
0.003198272082954645,
0.9867011308670044,
0.3634830713272095,
0.281615287065506,
-0.18763701617717743,
-0.698114812374115,
-0.19266341626644135,
-0.4580328166484833,
-0.04990360513329506,
0.8748253583908081,
0.6934287548065186,
-0.3103979527950287,
1.2430330514907837,
-0.9103268384933472,
0.06845246255397797,
-0.025083841755986214,
0.5723579525947571,
0.1114916130900383,
0.3148326873779297,
0.32434752583503723,
-1.0941916704177856,
-0.00009299760131398216,
-0.2053816169500351,
-1.0344786643981934,
-0.09897676110267639,
-0.36287006735801697,
-0.42806899547576904,
-0.3379957675933838,
0.6387369632720947,
-0.7044312357902527,
0.20434460043907166,
-0.2241254597902298,
-0.6066033244132996,
0.4822559654712677,
-0.1091400533914566,
0.1534803807735443,
-0.909609317779541,
0.6662154197692871,
-0.10249660164117813,
0.13345707952976227,
-0.5496327877044678,
-0.007193189114332199,
-0.19173631072044373,
-0.1628720760345459,
-0.47438177466392517,
0.8859976530075073,
0.0023203170858323574,
0.20638008415699005,
-0.09601764380931854,
0.07879489660263062,
0.056459780782461166,
0.3445892333984375,
-0.22999757528305054,
0.30891847610473633,
0.3706739842891693,
-0.9929066896438599,
0.753383994102478,
0.3456248939037323,
0.0492989756166935,
0.6481707692146301,
-0.9533250331878662,
0.16605989634990692,
-0.579899251461029,
0.43511050939559937,
-0.9266828298568726,
-0.6471017599105835,
0.14415650069713593,
-0.3622038662433624,
-0.09801816940307617,
-0.03706781566143036,
-0.5325770974159241,
-0.5382550358772278,
-0.00798976793885231,
0.5101938247680664,
0.07774591445922852,
-0.6677544116973877,
0.4904746115207672,
0.4082408547401428,
-0.026453139260411263,
-0.33827516436576843,
-0.29994553327560425,
0.043761081993579865,
-0.12622496485710144,
-0.7922210097312927,
-0.12704050540924072,
-0.20894919335842133,
-0.3111133873462677,
0.11712704598903656,
0.08402460813522339,
-0.06029544770717621,
0.21260155737400055,
0.34820789098739624,
0.07769423723220825,
-0.15830256044864655,
0.31091347336769104,
-0.032650187611579895,
-0.018961934372782707,
0.5414499044418335,
-0.3679354786872864,
0.43812233209609985,
0.23246707022190094,
-0.4509963095188141,
-0.21916896104812622,
0.41007721424102783,
0.5557679533958435,
-0.2760683000087738,
0.47448620200157166,
0.47009316086769104,
-0.5838313102722168,
-0.0741351917386055,
-0.600497841835022,
-0.36765584349632263,
-0.4602307081222534,
-0.11786358058452606,
0.18132774531841278,
-0.838293731212616,
0.6559643745422363,
-0.007430234923958778,
0.057424094527959824,
0.5823704600334167,
0.35113176703453064,
-0.145278200507164,
1.2465094327926636,
0.2009515017271042,
-0.6206611394882202,
0.2133721113204956,
-0.23547635972499847,
-0.11016137897968292,
-0.10429074615240097,
-0.5139168500900269,
-0.8113414645195007,
-0.3998296558856964,
-0.5177822113037109,
-0.3071584701538086,
0.4426003396511078,
-0.25247320532798767,
-0.7085236310958862,
0.08202911913394928,
-0.23356416821479797,
0.32752037048339844,
0.9067313075065613,
0.22114743292331696,
0.12358757108449936,
-0.4475304186344147,
0.3755970001220703,
0.5321559309959412,
-0.45530858635902405,
-0.30314362049102783,
0.7428414821624756,
-0.25248241424560547,
0.6680394411087036,
0.1283898502588272,
0.43475934863090515,
0.3843299150466919,
0.1112247034907341,
-0.41043391823768616,
0.6059638261795044,
0.42337727546691895,
-1.3056055307388306,
-0.5182636380195618,
-0.6097831726074219,
-1.3855180740356445,
-0.11187458783388138,
0.037370048463344574,
-0.47556671500205994,
0.390323668718338,
0.1276339888572693,
-0.5023773908615112,
0.055954620242118835,
-0.3811319172382355,
1.01481294631958,
-0.3962751626968384,
-0.6569036245346069,
-0.21293984353542328,
-1.1278772354125977,
0.4652084708213806,
0.14547057449817657,
-0.10229868441820145,
-0.06061507388949394,
0.4278739392757416,
0.6829524636268616,
-0.6350375413894653,
1.0736563205718994,
-0.19688855111598969,
0.12356309592723846,
0.7492784857749939,
-0.2787962853908539,
0.561314582824707,
0.4353855848312378,
0.2323068082332611,
-0.10431094467639923,
-0.07262326776981354,
-0.39269834756851196,
-0.7295076251029968,
0.3739316165447235,
-0.7733268737792969,
-0.5594212412834167,
-0.41581061482429504,
-0.2785557508468628,
-0.20546822249889374,
0.40997514128685,
0.16134770214557648,
0.5111141204833984,
-0.3426310420036316,
-0.29384440183639526,
0.5495044589042664,
-0.3139033615589142,
0.2886425852775574,
0.7409162521362305,
0.18112365901470184,
-0.0076096076518297195,
1.021776795387268,
-0.07539752870798111,
-0.12097945064306259,
0.3954688310623169,
0.47510817646980286,
-0.3295831084251404,
-0.03957906365394592,
-0.3111155033111572,
0.30406925082206726,
-0.45138019323349,
-0.3880959153175354,
-0.5596951246261597,
-0.15433959662914276,
-0.40625301003456116,
-0.10182015597820282,
-0.058733124285936356,
0.0346127524971962,
-0.6154857277870178,
-0.2554071247577667,
0.5910159945487976,
0.8214353322982788,
-0.19577491283416748,
-0.11436337232589722,
-0.8359735012054443,
0.6342236995697021,
0.9696520566940308,
0.0809900090098381,
-0.19292013347148895,
-0.18511082231998444,
0.07267526537179947,
0.1400054693222046,
-0.2550891935825348,
-0.7792506217956543,
0.22114235162734985,
0.040578532963991165,
0.4836791157722473,
0.6674700379371643,
0.600971519947052,
0.8196971416473389,
-0.34998050332069397,
0.7557147741317749,
-0.33645355701446533,
-0.291960209608078,
0.8478715419769287,
-0.36563894152641296,
0.07669954746961594,
0.8580731153488159,
1.0086158514022827,
-0.6135555505752563,
-0.35653671622276306,
-0.652187168598175,
-0.7935962677001953,
0.6931724548339844,
-0.01202753558754921,
-0.06082090735435486,
-0.2734968364238739,
0.4205172657966614,
-0.19754548370838165,
-0.09269128739833832,
-0.07152906060218811,
-0.27400073409080505,
0.16742956638336182,
0.14794676005840302,
-0.18137723207473755,
0.15805380046367645,
-0.3699725270271301,
-0.40934520959854126,
0.34905073046684265,
-0.18698808550834656,
0.22151370346546173,
0.46028611063957214,
-0.19308440387248993,
-0.19854360818862915,
-0.14882828295230865,
0.5378462076187134,
0.23372811079025269,
-0.3474375903606415,
0.29021137952804565,
-0.036909863352775574,
-0.35607439279556274,
0.14028996229171753,
0.6026480793952942,
-0.3986847400665283,
-0.33164361119270325,
0.4566245973110199,
0.3611305356025696,
0.05592542514204979,
-0.9012768864631653,
0.2770332098007202,
-0.4010378122329712,
0.10446345061063766,
-0.49421703815460205,
-0.013768828473985195,
-0.12852194905281067,
0.2855308949947357,
0.25942695140838623,
-0.003602007869631052,
0.46813786029815674,
-0.5314016938209534,
0.43280500173568726,
0.3147643208503723,
-0.48005566000938416,
-0.4747616946697235,
0.8121005296707153,
0.2232232242822647,
-0.19549362361431122,
0.9156496524810791,
-0.268432080745697,
-0.4156360328197479,
0.9131839275360107,
0.11772584915161133,
0.7955340147018433,
0.06791061162948608,
0.3612205982208252,
0.5826744437217712,
0.4237677752971649,
-0.0540136881172657,
0.4158085286617279,
-0.15426859259605408,
-0.7224437594413757,
-0.0492803119122982,
-0.4001110792160034,
-0.6174378395080566,
-0.09788525104522705,
-0.5165446400642395,
0.24848107993602753,
-0.34428468346595764,
-0.08832108229398727,
-0.15106381475925446,
0.011310703121125698,
-0.7166697382926941,
0.33935192227363586,
-0.017315708100795746,
0.6785175800323486,
-0.9847497940063477,
0.13469579815864563,
0.6283636093139648,
-1.0477184057235718,
-0.8723641633987427,
-0.19386495649814606,
-0.027363305911421776,
-0.6027982831001282,
0.7687556743621826,
0.17730171978473663,
0.2034991979598999,
0.03967677056789398,
-0.9926455020904541,
-0.8821538686752319,
1.0576077699661255,
0.23271821439266205,
0.1305985003709793,
-0.20799604058265686,
0.5620418190956116,
0.524458110332489,
0.36545002460479736,
0.48987725377082825,
0.6262606382369995,
0.6256133317947388,
0.17596258223056793,
-0.22967688739299774,
0.25031521916389465,
-0.44053375720977783,
-0.547420859336853,
0.14223146438598633,
-0.67699134349823,
0.5596122145652771,
-0.06317692250013351,
-0.063416987657547,
-0.2768309712409973,
0.4699457585811615,
0.24094098806381226,
0.8395287990570068,
0.3405468463897705,
0.3976534903049469,
0.9937485456466675,
-0.08731221407651901,
1.2600723505020142,
-0.22794461250305176,
0.09103340655565262,
0.8379299640655518,
-0.2744082808494568,
0.27772948145866394,
0.2835608422756195,
-0.01885245181620121,
0.06329331547021866,
0.9323230981826782,
0.15366394817829132,
0.328804075717926,
0.3492698669433594,
-0.3891657292842865,
-0.49241703748703003,
-0.4414488971233368,
-0.1535981446504593,
0.39527350664138794,
0.17295466363430023,
0.17306256294250488,
-0.35413581132888794,
-0.07135695964097977,
-0.1997344195842743,
-0.3312760591506958,
-0.12218672782182693,
0.7581689357757568,
-0.10531626641750336,
-1.0747658014297485,
0.11245772987604141,
-0.25994399189949036,
0.17811395227909088,
-0.6135819554328918,
-0.10872679203748703,
-0.7910225987434387,
-0.05224371701478958,
0.00253711617551744,
-0.3694370985031128,
0.2421477884054184,
-0.12706679105758667,
0.06561898440122604,
0.06698684394359589,
0.5920825004577637,
-0.14501310884952545,
-0.5969870090484619,
-0.011723356321454048,
0.32683777809143066,
0.13083426654338837,
-0.19286784529685974,
-0.5172204971313477,
-0.45540881156921387,
-0.4066448211669922,
-0.10467814654111862,
0.09342320263385773,
0.4221351742744446,
-0.1889476180076599,
0.7415748834609985,
0.8656690716743469,
-0.058496925979852676,
0.26517754793167114,
-0.1152268722653389,
0.8081684708595276,
-0.8827196955680847,
-0.28240272402763367,
-0.6832956671714783,
0.700046718120575,
-0.21374820172786713,
-0.6475511193275452,
0.5873962044715881,
0.29048287868499756,
0.5402703285217285,
0.1290062963962555,
0.49553829431533813,
-0.2241927534341812,
0.17824386060237885,
-0.21483418345451355,
0.6512324810028076,
-0.8196605443954468,
0.0035996122751384974,
-0.2274269312620163,
-0.4621399939060211,
-0.3143516182899475,
0.28487926721572876,
-0.26575222611427307,
-0.11778475344181061,
0.28753015398979187,
0.7748429775238037,
0.18329471349716187,
0.40037277340888977,
0.048855170607566833,
0.03945595771074295,
0.6729327440261841,
0.3689349293708801,
1.2153961658477783,
-0.2940356731414795,
0.2505438029766083,
-0.12287601083517075,
-0.17858809232711792,
-0.3792772889137268,
-0.5205858945846558,
-0.7669728994369507,
-0.6908865571022034,
-0.3572305142879486,
0.05051371455192566,
-0.0333809070289135,
0.8637301921844482,
0.3974156677722931,
-0.6597373485565186,
-0.08868565410375595,
-0.592157781124115,
0.5918423533439636,
0.050026122480630875,
-0.2501574754714966,
0.41329771280288696,
-0.6115161776542664,
-0.3774220049381256,
0.3906167149543762,
-0.09656903147697449,
-0.1872594654560089,
-0.02042722888290882,
0.22761787474155426,
-0.6266953349113464,
0.17312978208065033,
0.5314215421676636,
0.7622566819190979,
-0.16413281857967377,
-0.39698106050491333,
0.20396345853805542,
-0.04164465516805649,
-0.6462743878364563,
1.0227782726287842,
-0.5968744158744812,
0.2869413495063782,
0.6417768001556396,
1.0295790433883667,
0.35311439633369446,
-0.07330582290887833,
0.5111812353134155,
-0.6402456760406494,
-0.08288130164146423,
0.3503192663192749,
0.21430984139442444,
-0.14911898970603943,
-0.6056607365608215,
0.46632078289985657,
0.4345146715641022,
-0.7599980235099792,
-0.7613112330436707,
0.1659616082906723,
-0.8039358258247375,
-0.15932010114192963,
0.8943337202072144,
0.2657611072063446,
-0.018673451617360115,
-0.38168224692344666,
-0.2139425426721573,
0.3803444504737854,
-0.05848436802625656,
0.7403647303581238,
0.2746767997741699,
-0.5642545223236084,
0.258342981338501,
-0.3990016579627991,
0.304275780916214,
0.41094163060188293,
-1.0627936124801636,
0.07876396179199219,
0.8551903963088989,
-0.05589563772082329,
0.13104285299777985,
0.5382216572761536,
0.210342139005661,
0.31271976232528687,
-0.174686461687088,
-0.2231241911649704,
0.17719750106334686,
-0.39673206210136414,
-0.07611159235239029,
0.3262183666229248,
-0.13437314331531525,
-0.01085225585848093
] |
http://arxiv.org/abs/2405.20315v1
|
http://arxiv.org/pdf/2405.20315v1
|
ANAH: Analytical Annotation of Hallucinations in Large Language Models
| 2024-05-30T17:54:40 | 2024-05-30T17:54:40 |
Ziwei Ji, Yuzhe Gu, Wenwei Zhang, Chengqi Lyu, Dahua Lin, Kai Chen
|
cs.CL
|
cs.CL, cs.AI
|
Reducing the `$\textit{hallucination}$' problem of Large Language Models
(LLMs) is crucial for their wide applications. A comprehensive and fine-grained
measurement of the hallucination is the first key step for the governance of
this issue but is under-explored in the community. Thus, we present
$\textbf{ANAH}$, a bilingual dataset that offers $\textbf{AN}$alytical
$\textbf{A}$nnotation of $\textbf{H}$allucinations in LLMs within Generative
Question Answering. Each answer sentence in our dataset undergoes rigorous
annotation, involving the retrieval of a reference fragment, the judgment of
the hallucination type, and the correction of hallucinated content. ANAH
consists of ~12k sentence-level annotations for ~4.3k LLM responses covering
over 700 topics, constructed by a human-in-the-loop pipeline. Thanks to the
fine granularity of the hallucination annotations, we can quantitatively
confirm that the hallucinations of LLMs progressively accumulate in the answer
and use ANAH to train and evaluate hallucination annotators. We conduct
extensive experiments on studying generative and discriminative annotators and
show that, although current open-source LLMs have difficulties in fine-grained
hallucination annotation, the generative annotator trained with ANAH can
surpass all open-source LLMs and GPT-3.5, obtain performance competitive with
GPT-4, and exhibits better generalization ability on unseen questions.
|
[
-0.60662442445755,
-1.1708461046218872,
0.7170742750167847,
0.0825839713215828,
-0.33542582392692566,
-0.1815411001443863,
-0.3429883122444153,
-0.6062261462211609,
0.8251932859420776,
0.7355217933654785,
-0.415604829788208,
-0.6078690886497498,
-0.42699265480041504,
0.5561029314994812,
-0.6396180987358093,
0.7443851828575134,
-0.1310122162103653,
0.02925066091120243,
-0.12169788032770157,
-0.20800712704658508,
-0.21483251452445984,
-0.7254091501235962,
-0.44491755962371826,
-0.21050743758678436,
0.5696926116943359,
0.09524963051080704,
0.7614880800247192,
0.874226987361908,
0.4392234683036804,
0.2603006660938263,
-0.03834453225135803,
0.13417832553386688,
-0.25533750653266907,
0.4424353241920471,
0.15693168342113495,
-0.3874756395816803,
-0.5202679634094238,
-0.23831434547901154,
0.5875412225723267,
0.9876567721366882,
-0.45568373799324036,
0.22383485734462738,
-0.1687989979982376,
0.5481070280075073,
-0.5618033409118652,
0.2436089813709259,
-0.6673197746276855,
0.13584737479686737,
-0.43825578689575195,
-0.2837527096271515,
-0.2980364263057709,
-0.37629589438438416,
-0.09497380256652832,
-0.7653046250343323,
0.021535607054829597,
0.2438242882490158,
0.628054678440094,
0.6682295203208923,
-0.1079484298825264,
-0.4127059876918793,
-0.6376305818557739,
0.5444477200508118,
-0.43589258193969727,
0.2749261260032654,
0.7058541774749756,
0.4160984456539154,
0.1131976917386055,
-0.4235628545284271,
-0.6711524724960327,
-0.17066796123981476,
-0.06468413770198822,
-0.16269446909427643,
-0.20895178616046906,
0.26435884833335876,
0.34151485562324524,
0.6749097108840942,
-0.5322195291519165,
0.13752874732017517,
-0.33585652709007263,
-0.55087810754776,
0.527248740196228,
0.20876094698905945,
0.23440200090408325,
-0.25167062878608704,
0.09966350346803665,
0.03401881828904152,
-0.6496361494064331,
-0.6508494019508362,
0.39358800649642944,
0.11485407501459122,
0.09236384928226471,
0.6432566046714783,
-0.22872817516326904,
0.40843814611434937,
-0.21410083770751953,
0.27912968397140503,
0.4486854076385498,
0.020808901637792587,
-0.21604226529598236,
0.11965060234069824,
0.7513889670372009,
0.1411958634853363,
0.497254878282547,
-0.2347421646118164,
-0.30702218413352966,
0.11668962985277176,
0.11009842157363892,
-0.8965636491775513,
-0.40810689330101013,
0.25426530838012695,
-0.4712601900100708,
0.04177718982100487,
-0.05776254087686539,
-0.9533909559249878,
-0.7482661008834839,
-0.3917735815048218,
0.34043335914611816,
-0.25938355922698975,
-0.29926273226737976,
0.16012093424797058,
0.3161129355430603,
0.146199032664299,
0.15923696756362915,
-0.9790810346603394,
0.4443810284137726,
0.5580907464027405,
0.8788271546363831,
-0.22049112617969513,
-0.5213416814804077,
-0.7857451438903809,
-0.21255290508270264,
-0.6302787661552429,
0.8720500469207764,
-0.5055204629898071,
-0.07545246183872223,
0.3110946714878082,
-0.06659747660160065,
-0.036262985318899155,
-0.889960527420044,
0.3169271647930145,
-0.41640809178352356,
-0.006463490426540375,
-0.36587828397750854,
-0.5492924451828003,
-0.4261506199836731,
0.11009833961725235,
-0.8301331996917725,
0.7478477358818054,
0.0235579926520586,
-0.6605807542800903,
0.08965945988893509,
-0.42946627736091614,
-0.36142823100090027,
0.07514636963605881,
-0.3425588011741638,
-0.20260298252105713,
0.35064956545829773,
0.3140065670013428,
0.3313360810279846,
-0.21782559156417847,
0.2788688540458679,
-0.22161410748958588,
-0.5672639608383179,
0.28597667813301086,
-0.28463950753211975,
0.7807628512382507,
0.09736069291830063,
-0.3531067967414856,
0.4572443664073944,
-0.8134027123451233,
-0.4019998013973236,
0.0051809451542794704,
-0.111773781478405,
-0.3377273380756378,
-0.14034804701805115,
0.10916883498430252,
-0.10923472046852112,
0.039749883115291595,
-0.388120174407959,
-0.02625272609293461,
-0.5517982840538025,
0.2373179793357849,
0.7211912274360657,
0.08915599435567856,
0.11157491058111191,
-0.2850973904132843,
0.7508553266525269,
-0.32914018630981445,
-0.08875498175621033,
-0.27955886721611023,
-0.49134793877601624,
-0.927077054977417,
-0.3348992168903351,
0.23403944075107574,
0.4479837119579315,
-0.631439745426178,
0.6608916521072388,
-0.05269714444875717,
-0.15054376423358917,
-1.0249916315078735,
0.0991913378238678,
0.25789135694503784,
0.24413874745368958,
0.5766477584838867,
-0.1697045862674713,
-0.6594924330711365,
-1.0169708728790283,
0.10979001224040985,
-0.34339115023612976,
-0.1680530160665512,
0.08816792815923691,
0.6770355105400085,
-0.40293633937835693,
0.3264143764972687,
-0.23390159010887146,
-0.4672892093658447,
-0.02686305344104767,
0.37154603004455566,
-0.1371278166770935,
-0.06859792768955231,
0.28536146879196167,
-0.24431754648685455,
-0.21643070876598358,
0.17865248024463654,
-1.0104515552520752,
-0.37445268034935,
-0.08490077406167984,
-0.07826724648475647,
0.4724954664707184,
0.5503965616226196,
-0.7445714473724365,
0.3650549352169037,
0.5053724050521851,
-0.2310882806777954,
0.7161563634872437,
-0.07623838633298874,
0.2054557204246521,
-0.8719486594200134,
0.14049865305423737,
-0.43224000930786133,
0.07967841625213623,
-0.4598693549633026,
0.35710951685905457,
-0.18940798938274384,
0.2168305516242981,
-0.07836446166038513,
0.5913248658180237,
-0.419345885515213,
-0.11233492940664291,
-0.3376787602901459,
0.11780674010515213,
-0.3967979848384857,
0.4384239614009857,
0.1157609298825264,
0.6178813576698303,
0.7959985733032227,
-0.41206520795822144,
0.5660905838012695,
0.4578452408313751,
-0.4717470705509186,
0.3153837323188782,
-0.36354997754096985,
0.28423529863357544,
-0.14260193705558777,
0.16355247795581818,
-0.7289555072784424,
-0.6585995554924011,
0.3362133800983429,
-0.339873343706131,
-0.1632547378540039,
0.3345062732696533,
-0.8561466932296753,
-0.052848540246486664,
-0.33282923698425293,
0.534757137298584,
0.3920464515686035,
-0.6503045558929443,
0.6995325088500977,
0.3157362937927246,
-0.1379590630531311,
-0.37602174282073975,
-0.6790053248405457,
0.2556988596916199,
-0.30775952339172363,
-0.3385917842388153,
-0.08150701969861984,
-0.14762373268604279,
-0.6318762898445129,
-0.15662029385566711,
-0.09505040943622589,
0.06569889932870865,
0.02299947664141655,
0.1826004832983017,
0.09395140409469604,
-0.21948331594467163,
0.29662957787513733,
0.15762615203857422,
-0.14263208210468292,
0.5451555848121643,
0.08081185072660446,
0.9123899936676025,
-0.0750596672296524,
-0.4299149215221405,
-0.4811241626739502,
0.4153021574020386,
0.47391632199287415,
-0.12443135678768158,
0.6315948367118835,
0.4211990237236023,
-0.7363638281822205,
-0.1748063862323761,
-0.7275721430778503,
-0.367472767829895,
-0.34563109278678894,
0.4438362717628479,
-0.4357336163520813,
-0.723787248134613,
0.9873653650283813,
0.34807440638542175,
-0.14248889684677124,
0.5296616554260254,
0.6839939951896667,
0.2290271371603012,
0.9800384640693665,
0.2884574234485626,
-0.11722113937139511,
0.015181392431259155,
-0.09496477991342545,
0.12171594798564911,
-0.7591068744659424,
-0.2299077808856964,
-0.3077118396759033,
-0.16231195628643036,
-0.580703854560852,
-0.4145422577857971,
0.1188284158706665,
-0.16769561171531677,
-0.20734305679798126,
-0.11381092667579651,
-0.41882896423339844,
0.47939568758010864,
0.34672725200653076,
-0.009268008172512054,
0.5763337016105652,
0.04123589023947716,
0.19195102155208588,
-0.10032910853624344,
-0.14554788172245026,
-0.4883202910423279,
1.1002103090286255,
0.4471782445907593,
0.5385881066322327,
-0.10923643410205841,
0.8313851952552795,
0.03580153360962868,
0.35525521636009216,
-1.0074626207351685,
0.7458924055099487,
0.09796582907438278,
-0.691005527973175,
-0.4101388454437256,
-0.6241293549537659,
-0.7383317351341248,
0.27306443452835083,
-0.07668594270944595,
-0.8048213124275208,
0.09904792904853821,
-0.009130914695560932,
-0.4424455463886261,
0.38367488980293274,
-0.2559216022491455,
0.6433016657829285,
-0.04038363695144653,
0.05130799114704132,
-0.2630097270011902,
-0.49386024475097656,
0.5315983295440674,
-0.38746464252471924,
0.2968430817127228,
-0.07995153963565826,
-0.052294161170721054,
0.9009835124015808,
-0.30856969952583313,
0.6953867673873901,
-0.0429006963968277,
-0.35496923327445984,
0.3026622533798218,
0.4205078184604645,
0.24615225195884705,
-0.08718021959066391,
-0.12887175381183624,
0.40662771463394165,
-0.15365703403949738,
-0.08428958058357239,
-0.4076680541038513,
0.5565524101257324,
-0.4958750903606415,
-0.6389633417129517,
-0.4462747275829315,
-0.8068811297416687,
-0.06244819611310959,
0.07732893526554108,
0.4000442326068878,
0.08859653770923615,
-0.10183614492416382,
0.1509719341993332,
0.6348767876625061,
-0.22242054343223572,
0.17347116768360138,
0.0008615941042080522,
-0.8566592931747437,
-0.5010111927986145,
0.8935555219650269,
0.07805181294679642,
0.09448713064193726,
0.29747313261032104,
0.22016403079032898,
-0.2306538224220276,
-0.6593769192695618,
-0.42774060368537903,
0.38990476727485657,
-0.8676260113716125,
-0.21129009127616882,
-0.6688373684883118,
-0.408243864774704,
-0.15461596846580505,
0.07465999573469162,
-0.18566974997520447,
-0.37057939171791077,
-0.24357758462429047,
-0.3780445456504822,
0.39849308133125305,
0.6566435098648071,
-0.11748058348894119,
0.2970718741416931,
-0.24486903846263885,
0.6169397830963135,
0.2735455334186554,
0.2248300164937973,
0.10298711806535721,
-0.6131137609481812,
-0.1192205622792244,
-0.06693250685930252,
-0.0043618930503726006,
-1.027525544166565,
0.39691680669784546,
0.10938114672899246,
0.2598468065261841,
0.7109304070472717,
-0.0591886080801487,
0.70856112241745,
-0.32066744565963745,
0.525607168674469,
-0.040051884949207306,
-0.9936108589172363,
0.4505015015602112,
-0.32411766052246094,
0.06912466138601303,
0.7610381841659546,
0.2842237949371338,
-0.4964606463909149,
-0.6213928461074829,
-0.2216448187828064,
-0.7609032988548279,
0.42625537514686584,
0.24284853041172028,
0.16741152107715607,
-0.28856325149536133,
0.43415358662605286,
0.4874274432659149,
0.2544163465499878,
-0.7752728462219238,
-0.2788081169128418,
0.026056993752717972,
-0.09003017097711563,
0.10719936341047287,
-0.21518008410930634,
-0.060681700706481934,
-0.5933290719985962,
0.5500023365020752,
-0.019488230347633362,
0.019434519112110138,
-0.029768429696559906,
-0.2435159683227539,
-0.37450072169303894,
0.019864974543452263,
0.22691459953784943,
0.8395421504974365,
-0.37889087200164795,
0.39637303352355957,
0.286744087934494,
-0.5124727487564087,
-0.10936642438173294,
0.3236676752567291,
-0.27333176136016846,
0.14384768903255463,
0.6527686715126038,
0.7591382265090942,
-0.13854055106639862,
-0.8120229840278625,
0.23313793540000916,
0.16628354787826538,
-0.33775418996810913,
-0.4061106741428375,
-0.156020388007164,
-0.12341060489416122,
0.06936188042163849,
0.3653104603290558,
-0.24199186265468597,
0.4876086413860321,
-0.7961169481277466,
0.18717743456363678,
0.28290054202079773,
-0.2058037668466568,
-0.4622988998889923,
0.7836456894874573,
-0.057389359921216965,
-0.38560596108436584,
0.8106645345687866,
-0.3834529519081116,
-0.576866090297699,
0.35106924176216125,
0.40598630905151367,
1.1598297357559204,
-0.539928138256073,
0.2539675533771515,
0.5107048749923706,
0.3566190302371979,
-0.20919030904769897,
0.3348725438117981,
-0.11618682742118835,
-0.462054967880249,
-0.4932146966457367,
-0.9741218686103821,
-0.3668098747730255,
0.3495052754878998,
-0.7936352491378784,
0.1906714141368866,
-0.3068844676017761,
0.18958565592765808,
-0.08080246299505234,
-0.1649310290813446,
-0.4060427248477936,
-0.07188379764556885,
0.286332368850708,
0.513066828250885,
-0.9978432059288025,
0.6145361065864563,
0.5513721108436584,
-0.508759081363678,
-0.25287699699401855,
0.315189927816391,
-0.05049917474389076,
-0.9441023468971252,
0.169554203748703,
0.4818936884403229,
-0.05662497878074646,
-0.08396755158901215,
-0.3684266209602356,
-0.3708922266960144,
0.7919119000434875,
0.47595998644828796,
-0.6749118566513062,
-0.09191156923770905,
0.3010638952255249,
0.7411186099052429,
-0.37595516443252563,
0.08883373439311981,
1.0952930450439453,
0.6196363568305969,
-0.04469965398311615,
-0.9175782203674316,
0.36253365874290466,
-0.28262534737586975,
-0.35946962237358093,
0.29929378628730774,
-0.1820293664932251,
0.7461940050125122,
-0.21961553394794464,
-0.35467270016670227,
0.3580590784549713,
0.5333797335624695,
0.4556342661380768,
0.39729228615760803,
0.5252587795257568,
0.6256690621376038,
0.8974205255508423,
0.023578926920890808,
0.9007211327552795,
-0.0878906324505806,
0.021731898188591003,
1.0982524156570435,
-0.13607774674892426,
0.9788228273391724,
0.6739416122436523,
0.04369110241532326,
0.3707963228225708,
0.6888412237167358,
0.016210833564400673,
0.30962392687797546,
0.5907195806503296,
-0.12536701560020447,
-0.4485030472278595,
-0.12757594883441925,
-0.3554925322532654,
0.3621700406074524,
0.2874152660369873,
-0.17036165297031403,
0.011161020025610924,
0.24580615758895874,
-0.010388507507741451,
0.30158933997154236,
-0.10380608588457108,
0.8100205659866333,
0.2736680805683136,
-0.5608851909637451,
0.7573151588439941,
-0.379049152135849,
0.4966624081134796,
-0.2463591992855072,
-0.21159324049949646,
-0.5914470553398132,
-0.0666808933019638,
-0.21319802105426788,
-0.5283156037330627,
0.5547683835029602,
0.08847076445817947,
0.11588168144226074,
0.12959948182106018,
0.147308349609375,
-0.4190613329410553,
-0.5518643260002136,
0.6862003803253174,
0.5548837184906006,
0.610113799571991,
-0.5451040267944336,
-0.08379705995321274,
0.4075041115283966,
-0.2071790248155594,
-0.21760107576847076,
0.025924483314156532,
0.5963679552078247,
-0.0824342742562294,
0.518103837966919,
0.2534327805042267,
0.4526156187057495,
0.08334730565547943,
0.31854313611984253,
0.6334924697875977,
-0.6735080480575562,
-0.2082747519016266,
-0.897706925868988,
0.2143229842185974,
0.09545803815126419,
-0.5113164782524109,
0.6585753560066223,
0.6522092223167419,
0.7972576022148132,
0.10823854804039001,
0.6730532646179199,
0.06092960759997368,
0.37718817591667175,
-0.5706997513771057,
0.7407236099243164,
-0.6502209305763245,
0.5282227396965027,
0.012441271916031837,
-1.40693199634552,
-0.5660513043403625,
0.9508811831474304,
-0.16593292355537415,
0.03247494995594025,
0.9223618507385254,
0.7031413912773132,
0.03989987447857857,
0.028837254270911217,
0.3516182601451874,
0.5390644073486328,
-0.007553510833531618,
0.43572965264320374,
1.0778340101242065,
-0.35455837845802307,
0.5417966842651367,
-0.4077267050743103,
-0.21453872323036194,
-0.1590563952922821,
-0.3542911410331726,
-1.243337631225586,
-0.8260020017623901,
-0.27462467551231384,
-0.2761828601360321,
0.02946021966636181,
0.8983297348022461,
0.35787639021873474,
-1.0759916305541992,
-0.4297432005405426,
-0.12608499825000763,
-0.02770937979221344,
-0.21859024465084076,
-0.1770835518836975,
0.6417533159255981,
-0.3139105439186096,
-0.5736755132675171,
0.1699695736169815,
0.18940986692905426,
-0.21870651841163635,
-0.6869882941246033,
-0.15153834223747253,
0.07506423443555832,
0.16550523042678833,
0.5432792901992798,
0.023882007226347923,
-1.118207335472107,
-0.3383297026157379,
0.16942068934440613,
0.20799612998962402,
0.12967149913311005,
0.5408162474632263,
-0.4029013216495514,
0.6509649157524109,
0.29280009865760803,
0.7205142974853516,
0.42266786098480225,
-0.10514640808105469,
0.228987917304039,
-0.5217183828353882,
0.041166141629219055,
0.43121400475502014,
0.4346819519996643,
0.38812899589538574,
-0.10580674558877945,
0.49501916766166687,
-0.03668307140469551,
-0.554424524307251,
-1.1039538383483887,
0.0943523421883583,
-0.9265386462211609,
-0.21530781686306,
1.2962309122085571,
0.2931223511695862,
-0.1880100667476654,
-0.08664459735155106,
-0.2900656461715698,
0.27545174956321716,
-0.2242158204317093,
1.4077858924865723,
0.9525495171546936,
-0.10357934236526489,
-0.1581493318080902,
-0.9083797335624695,
0.5913741588592529,
0.43841278553009033,
-1.1767654418945312,
0.5949817895889282,
0.777411937713623,
-0.2575468122959137,
0.4158431887626648,
0.5773844122886658,
0.03674381226301193,
0.22974906861782074,
0.06734322756528854,
0.2752576768398285,
0.06329009681940079,
-0.6619177460670471,
-0.5424036383628845,
0.023798631504178047,
0.08569148182868958,
-0.22584176063537598
] |
http://arxiv.org/abs/2405.20314v2
|
http://arxiv.org/pdf/2405.20314v2
|
S3D: A Simple and Cost-Effective Self-Speculative Decoding Scheme for Low-Memory GPUs
| 2024-05-30T17:54:35 | 2024-06-01T15:24:10 |
Wei Zhong, Manasa Bharadwaj
|
cs.CL
|
cs.CL
|
Speculative decoding (SD) has attracted a significant amount of research
attention due to the substantial speedup it can achieve for LLM inference.
However, despite the high speedups they offer, speculative decoding methods
often achieve optimal performance on high-end devices or with a substantial GPU
memory overhead. Given limited memory and the necessity of quantization, a
high-performing model on a high-end GPU can slow down by up to 7 times. To this
end, we propose Skippy Simultaneous Speculative Decoding (or S3D), a
cost-effective self-speculative SD method based on simultaneous multi-token
decoding and mid-layer skipping. When compared against recent effective
open-source SD systems, our method has achieved one of the top
performance-memory ratios while requiring minimal architecture changes and
training data. Leveraging our memory efficiency, we created a smaller yet more
effective SD model based on Phi-3. It is 1.4 to 2 times faster than the
quantized EAGLE model and operates in half-precision while using less VRAM.
|
[
-0.29902979731559753,
-0.7566989660263062,
0.6120719313621521,
0.608036994934082,
-0.3851809799671173,
0.16376259922981262,
0.48351216316223145,
-0.49010637402534485,
0.4039953649044037,
0.34298175573349,
-0.5558280944824219,
-0.06544802337884903,
-0.5842260718345642,
0.11357307434082031,
-0.4141823351383209,
0.4183889925479889,
0.03615156561136246,
-0.25927478075027466,
0.12483078241348267,
0.326387494802475,
0.3493296802043915,
-0.5252557992935181,
-0.8294218182563782,
0.3221503794193268,
0.5309554934501648,
0.4717627763748169,
0.6151106953620911,
1.33763587474823,
0.4342424273490906,
0.18660393357276917,
-0.07809791713953018,
0.047837261110544205,
-0.6445429921150208,
-0.22131632268428802,
0.24516619741916656,
-0.20674338936805725,
-0.8693737387657166,
-0.14358140528202057,
0.33775126934051514,
0.4004684090614319,
-0.1275535523891449,
-0.0895715206861496,
-0.10763300955295563,
0.7067241668701172,
-1.2331440448760986,
0.01686985231935978,
-0.1341850757598877,
0.1906939148902893,
-0.516281247138977,
-0.6061810255050659,
-0.3259633481502533,
-0.1444246917963028,
-0.2778153419494629,
-0.9568102359771729,
0.6381614208221436,
0.1687813699245453,
0.12278664857149124,
0.46883898973464966,
-0.24759773910045624,
0.033575769513845444,
-0.5696704983711243,
0.5911617875099182,
-0.6646558046340942,
0.6236268877983093,
0.29791903495788574,
-0.021612070500850677,
0.06638965755701065,
-0.5855581760406494,
-0.5908641815185547,
0.15544629096984863,
0.43954816460609436,
0.40524786710739136,
-0.1599181890487671,
0.18912087380886078,
0.17969688773155212,
0.6464800238609314,
-0.49170002341270447,
0.040519412606954575,
-0.5850330591201782,
-0.2871190011501312,
0.5439935326576233,
0.3313748240470886,
-0.05774131417274475,
-0.3900332748889923,
-0.6688712239265442,
0.07415866106748581,
-0.7610361576080322,
-0.26615041494369507,
0.5659543871879578,
0.2700512707233429,
-0.20123176276683807,
0.5022247433662415,
-0.3796786069869995,
0.4525800049304962,
0.16916027665138245,
-0.13375790417194366,
-0.1095406636595726,
-0.5344536304473877,
-0.258105605840683,
0.1133677139878273,
0.5548937320709229,
0.33731088042259216,
-0.4685615301132202,
-0.44296830892562866,
-0.10199335962533951,
0.5023745894432068,
0.18641303479671478,
-0.9567371010780334,
-0.3230016231536865,
0.5520009994506836,
-0.7452901005744934,
-0.08501522988080978,
-0.5444965362548828,
-0.8396877646446228,
-0.2449014037847519,
0.26017457246780396,
-0.04232371225953102,
-0.6654387712478638,
-0.46284711360931396,
0.6154497265815735,
-0.3654070496559143,
-0.056898217648267746,
0.41451025009155273,
-1.34464430809021,
0.46645379066467285,
0.6509128212928772,
0.986396312713623,
-0.2797270119190216,
-0.579138994216919,
-0.6058733463287354,
0.6057168245315552,
-0.6078247427940369,
0.7913342714309692,
-0.32113274931907654,
-0.8032726645469666,
-0.5217326879501343,
-0.4682602882385254,
0.08958054333925247,
-0.23153312504291534,
0.4486815333366394,
-0.37469199299812317,
-0.4474692642688751,
-0.42635586857795715,
-0.7669848799705505,
0.033398665487766266,
-0.11530071496963501,
-0.9264872670173645,
0.7867977619171143,
-0.020048821344971657,
-0.915385901927948,
0.5042369365692139,
-0.2764836847782135,
-0.17416886985301971,
0.3033530116081238,
-0.13184772431850433,
0.21074509620666504,
0.4503730535507202,
0.47225069999694824,
0.4460478723049164,
-0.3978196382522583,
-0.3423609435558319,
-0.6388149857521057,
-1.024444818496704,
-0.2842858135700226,
-0.5499441027641296,
0.32050657272338867,
0.6553952693939209,
0.045668136328458786,
-0.20367319881916046,
-0.7156460285186768,
-0.3752102255821228,
0.12660513818264008,
-0.33188334107398987,
-0.13798367977142334,
-0.20737123489379883,
-0.0037541233468800783,
-0.10602439194917679,
0.1715891808271408,
-0.5126782059669495,
0.27757686376571655,
-0.22926297783851624,
0.18262594938278198,
0.7602853775024414,
-0.2142106294631958,
0.5094563961029053,
-0.17515259981155396,
0.445870578289032,
0.11543742567300797,
0.2096276432275772,
-0.4656032919883728,
-0.5196731686592102,
-0.6568002700805664,
-0.5996811985969543,
-0.18014147877693176,
0.30056074261665344,
-1.090409278869629,
-0.11874822527170181,
-0.031680021435022354,
-0.19457843899726868,
-0.5335990190505981,
0.03433366119861603,
0.3038947582244873,
0.4307319223880768,
0.5869637727737427,
0.12765277922153473,
-0.35955122113227844,
-0.6441463232040405,
-0.5399339199066162,
-0.17949582636356354,
0.1756008416414261,
0.1320047378540039,
0.21678878366947174,
-0.01765860803425312,
0.4477289319038391,
-0.41360875964164734,
0.024596700444817543,
-0.2477017641067505,
-0.0018151933327317238,
0.2545894980430603,
0.6287188529968262,
0.5159613490104675,
-0.25873231887817383,
-0.14853346347808838,
-0.24244797229766846,
-0.6408337354660034,
0.5103917121887207,
-0.05374902859330177,
-0.10019387304782867,
0.5480682253837585,
0.7639278173446655,
-0.8257019519805908,
0.6264263987541199,
0.4952542781829834,
-0.43160760402679443,
0.42094993591308594,
-0.5898014903068542,
0.3210013210773468,
-0.7156849503517151,
-0.05870528891682625,
-0.026963327080011368,
0.1079723909497261,
-0.4806791841983795,
0.13048356771469116,
0.3167772591114044,
0.22844824194908142,
-0.665447473526001,
0.5800096988677979,
-0.2840355634689331,
-0.03888893499970436,
-0.3453686535358429,
-0.2566850483417511,
-0.18048840761184692,
0.39338380098342896,
0.22517642378807068,
1.1068828105926514,
0.7520748376846313,
-0.8323665857315063,
0.042985931038856506,
-0.28870856761932373,
0.12832823395729065,
0.2781986892223358,
-0.45760378241539,
0.3147934079170227,
-0.2851204574108124,
0.2600206732749939,
-0.6553144454956055,
-0.15317097306251526,
0.45061951875686646,
-0.07528683543205261,
0.0853402316570282,
-0.5543099045753479,
-0.6960681080818176,
-0.5071231126785278,
-0.2363831102848053,
0.9715802073478699,
0.31143665313720703,
-0.9047945141792297,
0.6763476729393005,
0.2534444332122803,
0.09871028363704681,
-0.8522113561630249,
-0.8132924437522888,
0.0031504067592322826,
-0.10371854156255722,
-0.6238418221473694,
0.3852674961090088,
-0.14846520125865936,
0.23546022176742554,
0.18562163412570953,
-0.4236329197883606,
0.14174066483974457,
-0.13697777688503265,
0.12371816486120224,
0.30227452516555786,
-0.29130715131759644,
-0.520475447177887,
0.13631296157836914,
-0.6768379211425781,
-0.08437622338533401,
-0.7709939479827881,
0.4039628505706787,
-0.46065062284469604,
-0.13319867849349976,
-0.45876848697662354,
0.4811711013317108,
0.4053453505039215,
0.45417773723602295,
0.4445700943470001,
0.4490374028682709,
-0.547490119934082,
-0.19727638363838196,
-0.566030740737915,
-0.1599370688199997,
-0.5190392136573792,
0.10134530067443848,
-0.7864899039268494,
-0.8396734595298767,
0.5230023860931396,
-0.012883315794169903,
-0.13545018434524536,
0.36386796832084656,
0.33442223072052,
-0.07403817772865295,
0.8284303545951843,
0.5878626704216003,
0.13407477736473083,
-0.09310723841190338,
-0.40758270025253296,
0.14728130400180817,
-0.5890331864356995,
-0.24520927667617798,
-0.08075127750635147,
-0.0900275707244873,
-0.17884939908981323,
-1.0328551530838013,
-0.05600713565945625,
0.4189102053642273,
-0.004134977702051401,
0.07732421904802322,
-0.2076055407524109,
0.6060876250267029,
0.49533066153526306,
0.05849962309002876,
0.3957270383834839,
0.16906742751598358,
-0.08025739341974258,
-0.08026313781738281,
-1.0016154050827026,
-0.022454604506492615,
1.0282069444656372,
0.337758332490921,
1.013066053390503,
-0.05344872176647186,
0.882256269454956,
0.25468358397483826,
0.012840379029512405,
-0.35705745220184326,
0.5159074068069458,
-0.37022462487220764,
-0.43382325768470764,
-0.13390178978443146,
-0.5820475220680237,
-0.5025674700737,
0.5201262831687927,
-0.04752228036522865,
-0.67827969789505,
0.32361000776290894,
0.3774607181549072,
-1.072763442993164,
0.7727073431015015,
-0.5183879733085632,
0.6304759383201599,
-0.04463483393192291,
-0.6740546822547913,
-0.4328736364841461,
-0.13130894303321838,
0.7653768658638,
-0.010792064480483532,
-0.07649342715740204,
-0.25337788462638855,
-0.23305478692054749,
0.7348238825798035,
-0.5657628178596497,
0.4304500222206116,
-0.16398492455482483,
-0.1045677587389946,
0.09655885398387909,
0.3942520320415497,
0.427022784948349,
0.565149188041687,
-0.03229968994855881,
0.3631402254104614,
0.32223746180534363,
-0.8427954912185669,
-0.4434608221054077,
0.8294557929039001,
-0.6834132075309753,
-0.5304206609725952,
-0.7736685872077942,
-0.5920748114585876,
-0.1841481775045395,
0.24160641431808472,
0.38994118571281433,
0.13182997703552246,
-0.03872968256473541,
-0.35097944736480713,
0.4923757016658783,
-0.05849437788128853,
0.6480377316474915,
0.2473674714565277,
-0.146042138338089,
-0.2891697883605957,
1.0298564434051514,
-0.18359896540641785,
-0.0648631602525711,
0.06748152524232864,
-0.1136118695139885,
-0.4971856474876404,
-0.7165030837059021,
-0.6746112108230591,
0.4667041599750519,
-0.5303427577018738,
-0.10197237879037857,
-0.906852662563324,
-0.27427008748054504,
-0.5162591934204102,
-0.5103411674499512,
-1.024731159210205,
-0.5994158983230591,
-0.4504791796207428,
-0.1955215185880661,
0.3193697929382324,
0.5418227910995483,
-0.6097145080566406,
0.5696059465408325,
-0.7974874973297119,
0.806594729423523,
0.03322315961122513,
0.559354841709137,
0.2622876763343811,
-0.21583786606788635,
-0.08882103860378265,
-0.17554982006549835,
0.20074205100536346,
-0.4473295211791992,
0.6888405680656433,
-0.4734398424625397,
0.45776060223579407,
0.7602177858352661,
0.08427301049232483,
1.3217558860778809,
-0.14223934710025787,
0.39460790157318115,
0.3551250994205475,
-1.0193982124328613,
0.2750028669834137,
-0.2605416476726532,
0.2803448438644409,
0.5458639860153198,
0.27091845870018005,
-0.21868281066417694,
-0.20289786159992218,
-0.6032121777534485,
-0.8622499108314514,
1.1477810144424438,
0.08362148702144623,
-0.11642344295978546,
-0.23530526459217072,
0.48340052366256714,
0.443676620721817,
-0.22801925241947174,
-0.07299038767814636,
-0.5109102725982666,
-0.32227984070777893,
0.299477756023407,
-0.17671120166778564,
-0.5932410955429077,
0.027041519060730934,
-0.09206140786409378,
0.24472947418689728,
-0.20538277924060822,
0.45683687925338745,
0.2087869644165039,
0.10567845404148102,
-0.03950483724474907,
-0.11470422893762589,
0.16624949872493744,
0.396864652633667,
-0.6674524545669556,
0.21526913344860077,
0.0918131172657013,
-0.7482220530509949,
0.10695849359035492,
0.0885690227150917,
-0.026498137041926384,
-0.34629714488983154,
-0.11453437060117722,
0.7561210989952087,
0.3459906280040741,
-0.2151663601398468,
0.3524855077266693,
-0.5998310446739197,
-0.26685088872909546,
-0.007265061605721712,
0.07816914469003677,
0.10988939553499222,
0.2894221842288971,
0.4461919367313385,
0.6128680109977722,
0.4531670808792114,
-0.01698492094874382,
0.22868531942367554,
-0.016857750713825226,
0.13787968456745148,
-0.13119210302829742,
0.9986172914505005,
0.2613407373428345,
0.17094352841377258,
0.9633239507675171,
-0.37059295177459717,
0.23459744453430176,
0.525855302810669,
0.8374489545822144,
0.7447081208229065,
0.04299015551805496,
0.20245583355426788,
0.3279944062232971,
0.10973691195249557,
-0.5756779313087463,
0.8316656947135925,
-0.3656849265098572,
-0.47960835695266724,
-0.48188814520835876,
-0.5728545784950256,
-0.3712274432182312,
-0.1610114723443985,
-0.7171697020530701,
-0.011840254999697208,
-0.8414456248283386,
-0.009422216564416885,
-0.3247723877429962,
-0.12898005545139313,
-0.766119658946991,
0.03941833972930908,
0.40870341658592224,
1.3713198900222778,
-0.2640841603279114,
1.074731707572937,
-0.10004601627588272,
0.010336115024983883,
-0.44772762060165405,
0.026581203565001488,
0.1937834471464157,
-0.6524444222450256,
0.42842167615890503,
0.18722550570964813,
-0.5481188297271729,
0.2312367856502533,
-0.20110686123371124,
-1.2835404872894287,
0.851574718952179,
0.45549681782722473,
-0.574408769607544,
-0.19797861576080322,
-0.18346865475177765,
0.0014014404732733965,
-0.10501029342412949,
0.4006417691707611,
0.7230268120765686,
0.14982300996780396,
0.5455372929573059,
-0.2774496078491211,
0.2282094955444336,
-0.46498677134513855,
0.0732860192656517,
-0.07552676647901535,
-0.7857421636581421,
1.1264944076538086,
-0.6801273226737976,
-0.5872601270675659,
0.3811265230178833,
1.122741460800171,
0.8292636275291443,
0.5049339532852173,
0.2449697107076645,
0.606867790222168,
0.8764758706092834,
0.05193636566400528,
1.3883274793624878,
-0.9099859595298767,
0.13518235087394714,
0.5239336490631104,
-0.15911398828029633,
0.7457420229911804,
0.5282084941864014,
-0.08458641916513443,
-0.23380017280578613,
0.7437657713890076,
0.24640841782093048,
0.6771995425224304,
-0.09713822603225708,
-0.08659403771162033,
-0.5042898654937744,
0.5740101337432861,
-0.544409990310669,
0.2392224222421646,
0.7220897078514099,
0.3474004864692688,
-0.18988773226737976,
-0.23211172223091125,
-0.06162739917635918,
-0.6823586821556091,
-0.4240191578865051,
0.12907935678958893,
0.11523179709911346,
-0.37832924723625183,
0.6029054522514343,
0.1555250585079193,
1.028748869895935,
-0.4499914050102234,
0.277567982673645,
-0.6216914653778076,
0.3540986180305481,
-0.051586832851171494,
-0.4960378110408783,
0.33388012647628784,
-0.2561741769313812,
-0.05117743834853172,
-0.2553510367870331,
0.3791453242301941,
0.02733076922595501,
-0.6987941265106201,
0.38622918725013733,
0.5387202501296997,
0.19084468483924866,
-0.06659334152936935,
-0.5825474262237549,
0.41502419114112854,
-0.41853076219558716,
0.05629543215036392,
0.11592414975166321,
0.30088070034980774,
0.3706972897052765,
0.7945811748504639,
1.0095092058181763,
0.2778412401676178,
0.354703426361084,
-0.041832637041807175,
0.8706011176109314,
-1.0926733016967773,
-1.2138694524765015,
-0.6702723503112793,
0.028719117864966393,
0.052560921758413315,
-0.3706902861595154,
1.0434355735778809,
0.8984872102737427,
0.8521115183830261,
0.023240109905600548,
0.8867274522781372,
0.3765311539173126,
0.10623998194932938,
-0.765019416809082,
0.4775140881538391,
-0.6542674899101257,
0.5453987717628479,
-0.3258354067802429,
-0.6724395155906677,
-0.3641429543495178,
0.46329399943351746,
0.13715672492980957,
0.027826718986034393,
0.6342962980270386,
0.7238792181015015,
-0.26428794860839844,
0.7034509181976318,
0.37473875284194946,
0.1591225564479828,
0.10319745540618896,
0.6978675127029419,
1.1651782989501953,
-0.5028879046440125,
0.3133704662322998,
-0.5278021693229675,
-0.2446659356355667,
-0.3026290535926819,
-0.5731182098388672,
-0.6825241446495056,
-0.15373463928699493,
-0.35418835282325745,
-0.5435711741447449,
0.3818339705467224,
0.39764320850372314,
0.9195623397827148,
-0.36579209566116333,
-0.3575447201728821,
-0.27915143966674805,
-0.1256105601787567,
-0.41717395186424255,
-0.09623365849256516,
0.5633412003517151,
-0.3061346411705017,
-0.8214544653892517,
0.8452838659286499,
0.8651147484779358,
0.201417937874794,
-0.1805376559495926,
-0.44724828004837036,
0.24819813668727875,
0.33523160219192505,
0.444818913936615,
0.66829514503479,
-0.7913435101509094,
0.257001668214798,
0.221474289894104,
-0.1632119119167328,
-0.05700914189219475,
1.359419345855713,
-0.9801956415176392,
0.27234113216400146,
0.5600122809410095,
0.5405763983726501,
1.1168369054794312,
-0.08274481445550919,
0.35000598430633545,
-0.03382885456085205,
0.4816600978374481,
0.2244487702846527,
0.36390501260757446,
-0.04151841625571251,
-0.6738503575325012,
0.2430468648672104,
0.4522473216056824,
-0.15342974662780762,
-0.605341374874115,
-0.13570375740528107,
-1.0564844608306885,
-0.5783368349075317,
1.012562870979309,
0.10253801941871643,
-0.4829820692539215,
-0.21938203275203705,
0.17484384775161743,
-0.1570572406053543,
-0.5815410017967224,
0.8091934323310852,
0.1283787041902542,
-0.647631049156189,
-0.4171815514564514,
-0.24248632788658142,
0.840887725353241,
0.32828229665756226,
-0.4697349965572357,
0.30458003282546997,
0.2858976423740387,
0.08121711760759354,
-0.07018378376960754,
1.2848987579345703,
-0.08684197068214417,
0.6120492815971375,
0.9942498803138733,
-0.3002651333808899,
-0.16749544441699982,
-0.7348455786705017,
-0.21717894077301025,
0.3377167284488678,
-0.46646708250045776,
-0.08291632682085037
] |
http://arxiv.org/abs/2405.20309v1
|
http://arxiv.org/pdf/2405.20309v1
|
Large Language Models Can Self-Improve At Web Agent Tasks
| 2024-05-30T17:52:36 | 2024-05-30T17:52:36 |
Ajay Patel, Markus Hofmarcher, Claudiu Leoveanu-Condrei, Marius-Constantin Dinu, Chris Callison-Burch, Sepp Hochreiter
|
cs.LG
|
cs.LG, cs.AI, cs.CL
|
Training models to act as agents that can effectively navigate and perform
actions in a complex environment, such as a web browser, has typically been
challenging due to lack of training data. Large language models (LLMs) have
recently demonstrated some capability to navigate novel environments as agents
in a zero-shot or few-shot fashion, purely guided by natural language
instructions as prompts. Recent research has also demonstrated LLMs have the
capability to exceed their base performance through self-improvement, i.e.
fine-tuning on data generated by the model itself. In this work, we explore the
extent to which LLMs can self-improve their performance as agents in
long-horizon tasks in a complex environment using the WebArena benchmark. In
WebArena, an agent must autonomously navigate and perform actions on web pages
to achieve a specified objective. We explore fine-tuning on three distinct
synthetic training data mixtures and achieve a 31\% improvement in task
completion rate over the base model on the WebArena benchmark through a
self-improvement procedure. We additionally contribute novel evaluation metrics
for assessing the performance, robustness, capabilities, and quality of
trajectories of our fine-tuned agent models to a greater degree than simple,
aggregate-level benchmark scores currently used to measure self-improvement.
|
[
-0.44419264793395996,
-0.7799471020698547,
0.5206764936447144,
-0.021794725209474564,
0.09330746531486511,
0.26430484652519226,
-0.5279994606971741,
-0.6912587285041809,
0.029461653903126717,
0.4382246136665344,
-0.5708564519882202,
-0.4895882308483124,
-0.47829484939575195,
0.2354569435119629,
-0.3758196532726288,
0.7614706158638,
0.13471093773841858,
-0.03139985352754593,
-0.15015946328639984,
0.013548878021538258,
-0.5805909037590027,
-0.3839973509311676,
-0.7216951847076416,
-0.39833343029022217,
0.8480280041694641,
0.3582216501235962,
0.6457226276397705,
0.8370679616928101,
0.4904322028160095,
0.4878216087818146,
0.35041433572769165,
0.45291444659233093,
-0.7410088181495667,
0.2832106649875641,
-0.7080299854278564,
-0.5610223412513733,
-0.6652864813804626,
-0.1318349540233612,
0.47873321175575256,
0.5669934153556824,
-0.10291916131973267,
0.14410556852817535,
0.3227870762348175,
0.6577348709106445,
-0.6776469349861145,
0.25748974084854126,
-0.557590663433075,
-0.19956143200397491,
-0.03301074728369713,
-0.2543790936470032,
-0.1418614238500595,
-0.020094210281968117,
0.02740820124745369,
-0.6823811531066895,
0.2801278233528137,
-0.1608067750930786,
0.6551880240440369,
0.40954625606536865,
-0.48330390453338623,
-0.15431860089302063,
-0.8304861187934875,
0.7447037100791931,
-0.6940430998802185,
0.42758068442344666,
0.2896385192871094,
0.2975808084011078,
-0.5055075883865356,
-0.45379364490509033,
-0.47669774293899536,
-0.29119905829429626,
0.291138619184494,
-0.011671321466565132,
-0.4545936584472656,
-0.07422488182783127,
0.14394372701644897,
-0.08807670325040817,
-0.5054982304573059,
0.6351723074913025,
-0.07994934916496277,
-0.20870272815227509,
0.6464533805847168,
0.4433131814002991,
0.24262253940105438,
0.09511562436819077,
0.07794897258281708,
-0.4603475332260132,
-0.44629722833633423,
0.13260574638843536,
0.23750841617584229,
0.7156217098236084,
0.033706746995449066,
0.3525814712047577,
-0.7590416073799133,
0.8014702796936035,
0.1599738597869873,
-0.1599271148443222,
0.22790347039699554,
-0.06647603213787079,
-0.041627105325460434,
-0.39531421661376953,
0.4494244456291199,
0.40365374088287354,
0.3939318060874939,
-0.5150617957115173,
-0.4862457811832428,
0.14259202778339386,
0.5713780522346497,
-0.7606862783432007,
-0.11074867099523544,
0.34040725231170654,
-0.30856427550315857,
0.0719509869813919,
-0.19363299012184143,
-0.5988691449165344,
-0.3992493450641632,
-0.615656316280365,
0.6398761868476868,
-0.4122715890407562,
-0.2642640471458435,
0.2617630064487457,
-0.10124906897544861,
0.13755756616592407,
0.692112386226654,
-0.6706743836402893,
0.2692200541496277,
0.7627394199371338,
0.6933640837669373,
-0.4350507855415344,
-0.6218500137329102,
-0.5440112352371216,
0.20351581275463104,
-0.48121410608291626,
0.9579343199729919,
-0.48455193638801575,
-0.10419374704360962,
0.24167098104953766,
-0.08383893966674805,
-0.174901083111763,
-0.6796399354934692,
0.18019762635231018,
-0.5247305035591125,
-0.3970105051994324,
-0.10917900502681732,
-0.6150336265563965,
-0.08594182133674622,
0.6817328333854675,
-0.4482957124710083,
0.7287855744361877,
-0.08509049564599991,
-0.13199657201766968,
0.17891500890254974,
-0.6877177357673645,
-0.5123948454856873,
-0.09781618416309357,
0.20960260927677155,
-0.05174415931105614,
0.1309472620487213,
0.16437725722789764,
0.6415694355964661,
-0.2576531767845154,
-0.11322854459285736,
-0.46492576599121094,
-0.19339542090892792,
0.4118269085884094,
-0.35587960481643677,
0.18505990505218506,
-0.008196846581995487,
-0.5613787174224854,
0.1285669207572937,
-0.9582911729812622,
0.3581315279006958,
0.08097435534000397,
-0.4878259599208832,
-0.3480865955352783,
-0.16660034656524658,
-0.10113155841827393,
0.21555867791175842,
0.5214102864265442,
-0.3746386170387268,
0.4807971119880676,
-0.3227947950363159,
0.13571320474147797,
0.8141406774520874,
0.04198296740651131,
0.25452637672424316,
-0.3525344729423523,
0.6170685291290283,
-0.14202271401882172,
0.18621781468391418,
0.09173481166362762,
0.033740874379873276,
-1.0069042444229126,
-0.1596154421567917,
0.3328154683113098,
0.21422316133975983,
-0.5663467049598694,
0.2908497452735901,
-0.4865187108516693,
-0.8925901055335999,
-0.2636280953884125,
0.4363243281841278,
0.44507619738578796,
0.23876988887786865,
0.517055094242096,
-0.3651687204837799,
-0.18416538834571838,
-0.7188628911972046,
-0.3083524703979492,
0.0847187489271164,
-0.042516499757766724,
0.1548113077878952,
0.5474182963371277,
-0.49049896001815796,
0.8449204564094543,
-0.3562620282173157,
-0.4448358714580536,
-0.22249874472618103,
0.27165189385414124,
-0.09512611478567123,
0.5398253202438354,
0.2608491778373718,
-0.4130127429962158,
-0.5294255614280701,
0.018057407811284065,
-0.7889032959938049,
-0.015809524804353714,
-0.0227921511977911,
-0.09852946549654007,
-0.03966799005866051,
0.5085343718528748,
-0.7133514881134033,
0.286051481962204,
0.42600908875465393,
-0.1895183026790619,
0.47760361433029175,
-0.48603737354278564,
0.13725021481513977,
-0.6542102694511414,
-0.1584664136171341,
0.24248725175857544,
-0.4671153128147125,
-0.6083563566207886,
0.3368705213069916,
0.025105681270360947,
0.16513212025165558,
-0.27924972772598267,
0.6565127372741699,
-0.6421335339546204,
-0.1876806914806366,
-0.7200015187263489,
0.23151898384094238,
-0.24324288964271545,
0.7878463268280029,
-0.16512414813041687,
0.7685258984565735,
0.766100287437439,
-0.8576346039772034,
0.17212770879268646,
0.0016288369661197066,
0.02975415624678135,
0.38820868730545044,
-0.5644188523292542,
0.2161491960287094,
-0.12888367474079132,
0.19932448863983154,
-0.8270477056503296,
-0.2694615125656128,
-0.18104639649391174,
-0.16395273804664612,
0.1648358851671219,
0.03680061548948288,
-0.6427225470542908,
-0.2580042779445648,
0.022140633314847946,
0.10289204120635986,
0.3563295304775238,
-0.4387736916542053,
0.6515695452690125,
0.0537332184612751,
0.22977745532989502,
-0.3087964653968811,
-0.20659473538398743,
0.23766100406646729,
-0.07503772526979446,
-0.4906836152076721,
0.2658420503139496,
-0.0707750990986824,
-0.12671329081058502,
-0.2814086079597473,
0.009443660266697407,
-0.08901170641183853,
0.27137261629104614,
0.2538992762565613,
-0.24830695986747742,
-0.13119684159755707,
0.2125806361436844,
-0.17604294419288635,
-0.05645584687590599,
0.08341703563928604,
-0.2561342418193817,
0.7648655772209167,
-0.17307507991790771,
-0.36147311329841614,
-0.6130980253219604,
0.06270893663167953,
0.4790249466896057,
-0.4712543785572052,
0.5474516153335571,
0.5663526654243469,
-0.23379302024841309,
-0.39379915595054626,
-0.7319917678833008,
-0.345458984375,
-0.528710663318634,
0.29946327209472656,
-0.5568215847015381,
-0.8210723996162415,
0.6346542835235596,
-0.3653933107852936,
0.012592846527695656,
0.666252613067627,
0.3247654139995575,
-0.3127163350582123,
1.205363392829895,
0.8611907362937927,
0.005686805583536625,
0.4678386449813843,
-0.5442247986793518,
-0.2719759941101074,
-0.7254059910774231,
-0.09667348861694336,
-0.6591657400131226,
-0.3634640872478485,
-0.6121044158935547,
-0.3721419870853424,
0.44052156805992126,
-0.005102876108139753,
-0.20788531005382538,
0.3891265392303467,
-0.1529897302389145,
0.3290470242500305,
0.727720320224762,
0.3638726770877838,
0.27617043256759644,
-0.1297767460346222,
-0.03640304133296013,
0.19515001773834229,
-0.7360385060310364,
-0.42771652340888977,
1.1121294498443604,
0.3622702658176422,
0.9196774959564209,
0.28281059861183167,
0.7352952361106873,
0.5315029621124268,
-0.06016450375318527,
-0.5558197498321533,
0.6591281890869141,
-0.009344708174467087,
-0.4295159578323364,
-0.6832366585731506,
-0.2759801745414734,
-1.4788862466812134,
0.22654077410697937,
-0.15165048837661743,
-0.8046754002571106,
0.21362005174160004,
0.3699894845485687,
-0.3906107246875763,
-0.09298038482666016,
-0.31997933983802795,
1.0986781120300293,
-0.5276853442192078,
-0.7702772617340088,
-0.8843177556991577,
-0.34547847509384155,
-0.2696645259857178,
-0.15977974236011505,
-0.05612776055932045,
-0.25141409039497375,
-0.10350789874792099,
0.36185452342033386,
-0.539727509021759,
1.182416558265686,
-0.1690099537372589,
-0.29282084107398987,
0.08423952013254166,
0.29783013463020325,
0.7026268839836121,
-0.36795055866241455,
0.020152943208813667,
0.148929163813591,
-0.21215124428272247,
-0.5944961309432983,
-0.9371404051780701,
0.5118656158447266,
-0.8798942565917969,
-0.8265365362167358,
-0.2566458582878113,
-0.3217290937900543,
-0.7036972045898438,
0.15707890689373016,
-0.10492610931396484,
0.6723688244819641,
-0.1177467331290245,
0.26269131898880005,
0.5421788096427917,
-0.06485901772975922,
0.5913233160972595,
1.0854007005691528,
-0.10739542543888092,
0.0828428715467453,
0.7910369038581848,
0.16599859297275543,
0.28131207823753357,
0.3766772449016571,
0.046641550958156586,
-0.527000367641449,
-0.7066159248352051,
-0.5486707091331482,
0.09547138214111328,
-0.677039384841919,
-0.39580225944519043,
-0.6271059513092041,
-0.03552955761551857,
-0.4701455533504486,
0.029245181009173393,
-0.5260952115058899,
-0.12154331803321838,
-0.3617475926876068,
0.1796191781759262,
0.12817294895648956,
0.8778073787689209,
-0.16190588474273682,
0.4315415024757385,
-0.7743334174156189,
0.06768380105495453,
0.42140406370162964,
0.2894202172756195,
0.4655073583126068,
-0.5291787981987,
-0.6630687117576599,
0.1604018360376358,
-0.21341773867607117,
-0.5209727883338928,
0.33538109064102173,
0.15658561885356903,
0.6502309441566467,
0.2783278226852417,
-0.14172838628292084,
1.0795718431472778,
-0.5127577781677246,
0.49932873249053955,
-0.03916463628411293,
-0.7862449884414673,
0.5908516049385071,
-0.6707533597946167,
0.7276950478553772,
0.47971034049987793,
0.19107578694820404,
-0.24105259776115417,
-0.4915824830532074,
-0.24657225608825684,
-0.49212828278541565,
0.3019861578941345,
0.19205297529697418,
0.25953733921051025,
0.08265689015388489,
0.42674824595451355,
-0.03662098944187164,
0.16411080956459045,
-0.5808718204498291,
-0.05515225976705551,
-0.12194368243217468,
-0.002803250914439559,
-0.3423851728439331,
0.07749242335557938,
0.10498405992984772,
-0.2094658464193344,
0.7715825438499451,
-0.5250385403633118,
0.01389506459236145,
0.14363497495651245,
-0.45666390657424927,
-0.21760284900665283,
0.2616330087184906,
0.4332767724990845,
0.8760757446289062,
0.1922457218170166,
0.0512467697262764,
0.20239724218845367,
0.0005792738520540297,
0.27146676182746887,
0.09706984460353851,
0.06559990346431732,
-0.4290819764137268,
0.52964848279953,
0.5856562256813049,
0.19960293173789978,
-0.9137078523635864,
0.33321452140808105,
-0.10311465710401535,
0.2964593172073364,
-0.36795565485954285,
0.6255583167076111,
-0.12410466372966766,
0.5521034598350525,
0.6072079539299011,
-0.10078402608633041,
0.4615517258644104,
-0.7453168034553528,
0.056232064962387085,
0.5319727063179016,
-0.261507123708725,
-0.2905747890472412,
0.47698450088500977,
0.2432202845811844,
-0.44309911131858826,
0.37472808361053467,
-0.2609320878982544,
-0.364678293466568,
0.6691917777061462,
0.7462257146835327,
0.8143061995506287,
-0.1862913817167282,
0.23925641179084778,
0.29056888818740845,
0.12277544289827347,
-0.20971186459064484,
-0.006892584264278412,
0.08572869002819061,
-0.7558645009994507,
-0.31464797258377075,
-0.7496656179428101,
-0.24074488878250122,
0.06167566776275635,
-0.41295990347862244,
-0.04334584251046181,
-0.38883405923843384,
-0.3357320725917816,
0.1421758532524109,
0.1626473069190979,
-1.0361944437026978,
0.5618038177490234,
-0.18861059844493866,
0.711956799030304,
-0.3577343821525574,
0.7800823450088501,
0.532329261302948,
-0.439927875995636,
-0.862785816192627,
0.22759585082530975,
-0.1932045966386795,
-0.5992576479911804,
0.5586883425712585,
0.23882248997688293,
-0.4592399001121521,
0.060779862105846405,
-0.2994421124458313,
-1.1334456205368042,
0.857781708240509,
0.32772547006607056,
-0.891386866569519,
0.12655577063560486,
0.43191301822662354,
1.1488434076309204,
-0.3292996883392334,
0.094131700694561,
0.28345057368278503,
0.3990422487258911,
-0.32360002398490906,
-1.0893837213516235,
-0.043824050575494766,
-0.18319369852542877,
0.09686364233493805,
0.13002197444438934,
-0.948365330696106,
0.7506609559059143,
0.057498179376125336,
0.045296560972929,
0.051048483699560165,
0.7864151000976562,
-0.1974480003118515,
0.06857582926750183,
0.8022241592407227,
0.40597081184387207,
0.6476612687110901,
0.23192472755908966,
0.9745681881904602,
-0.478054940700531,
0.12147524952888489,
1.3605834245681763,
-0.34379443526268005,
1.0922658443450928,
-0.041029900312423706,
0.14858923852443695,
0.7295300364494324,
0.5433584451675415,
0.001773224794305861,
0.3720332086086273,
0.21213185787200928,
-0.10746105760335922,
-0.7327028512954712,
-0.23386479914188385,
0.0829310342669487,
1.0717170238494873,
0.1083463504910469,
-0.07680290937423706,
-0.2948715090751648,
0.3482764959335327,
-0.19970835745334625,
0.39324215054512024,
-0.5650433897972107,
0.9649624228477478,
-0.192184716463089,
-0.9826622605323792,
0.5580934882164001,
0.2600007951259613,
0.49965086579322815,
-0.5197538733482361,
-0.08137780427932739,
-0.30616840720176697,
0.4223717749118805,
-0.055835381150245667,
-0.43938130140304565,
-0.08393564820289612,
0.09122900664806366,
-0.04464094340801239,
-0.0720532014966011,
0.8432822227478027,
-0.2694757580757141,
-0.3371149003505707,
0.5589859485626221,
0.7543254494667053,
0.17716819047927856,
-0.269191712141037,
-0.7454677224159241,
0.061657682061195374,
-0.13183444738388062,
-0.1690855622291565,
0.4429566562175751,
0.3568359911441803,
-0.10623795539140701,
1.218112587928772,
0.6239162683486938,
-0.010996903292834759,
0.11290493607521057,
0.19447752833366394,
0.664515495300293,
-0.6972906589508057,
-0.5300970077514648,
-0.8071671724319458,
0.29515764117240906,
-0.14925053715705872,
-0.36650437116622925,
0.9249141812324524,
0.7493623495101929,
0.8239536881446838,
-0.03524664044380188,
0.723273754119873,
0.32143741846084595,
0.6922240257263184,
-0.5308987498283386,
0.556244969367981,
-0.7799490094184875,
-0.03459077328443527,
-0.0762011930346489,
-0.9365420341491699,
0.11517523229122162,
0.4236077666282654,
-0.03908728063106537,
0.15757258236408234,
0.31809213757514954,
0.9130091667175293,
-0.18439890444278717,
-0.45869243144989014,
0.5417366027832031,
0.33927884697914124,
0.2736647427082062,
0.17360351979732513,
0.6850766539573669,
-0.2193382829427719,
0.46354803442955017,
-0.2788532078266144,
0.05886271968483925,
-0.1898699253797531,
-0.5128601789474487,
-1.1064200401306152,
-0.5709882974624634,
-0.4434667229652405,
-0.27273428440093994,
0.3468519151210785,
1.0814131498336792,
0.9625169038772583,
-0.5868552327156067,
-0.36730292439460754,
-0.07179272919893265,
-0.21834459900856018,
-0.3745521903038025,
-0.15114592015743256,
-0.03163427114486694,
-0.6362178921699524,
-0.8386831879615784,
0.6599343419075012,
0.21821342408657074,
0.2064289152622223,
-0.7133535146713257,
-0.15518149733543396,
-0.06567899882793427,
0.18381214141845703,
0.5441904664039612,
0.3402620851993561,
-0.800574779510498,
-0.45655038952827454,
0.01109032891690731,
-0.3005802035331726,
0.13418398797512054,
0.4818146228790283,
-0.7988044619560242,
0.3606434464454651,
-0.018513241782784462,
0.6702332496643066,
0.7074580788612366,
0.06851870566606522,
0.6725369691848755,
-0.5879712104797363,
-0.21523775160312653,
0.08148998767137527,
0.2485208958387375,
0.30581799149513245,
-0.25471368432044983,
0.685940146446228,
-0.269598126411438,
-0.5937348008155823,
-0.4919337332248688,
0.0638418197631836,
-0.8515624403953552,
-0.4174100458621979,
1.1759426593780518,
-0.13620933890342712,
-0.3335213363170624,
-0.04073971509933472,
-0.02077510766685009,
0.32788458466529846,
-0.4557252824306488,
1.1427806615829468,
0.43203094601631165,
-0.28704357147216797,
0.03986138105392456,
-0.37387967109680176,
0.40330883860588074,
0.4272719621658325,
-1.1571769714355469,
0.11384805291891098,
0.736544132232666,
0.4599839150905609,
0.23282311856746674,
0.4595450162887573,
0.5459681749343872,
0.2011522352695465,
-0.17812761664390564,
0.146360382437706,
0.09431277215480804,
-0.6069959998130798,
-0.35661157965660095,
0.13467615842819214,
0.1856061816215515,
-0.048330292105674744
] |
http://arxiv.org/abs/2405.20304v1
|
http://arxiv.org/pdf/2405.20304v1
|
Group Robust Preference Optimization in Reward-free RLHF
| 2024-05-30T17:50:04 | 2024-05-30T17:50:04 |
Shyam Sundhar Ramesh, Yifan Hu, Iason Chaimalas, Viraj Mehta, Pier Giuseppe Sessa, Haitham Bou Ammar, Ilija Bogunovic
|
cs.CL
|
cs.CL, cs.LG
|
Adapting large language models (LLMs) for specific tasks usually involves
fine-tuning through reinforcement learning with human feedback (RLHF) on
preference data. While these data often come from diverse labelers' groups
(e.g., different demographics, ethnicities, company teams, etc.), traditional
RLHF approaches adopt a "one-size-fits-all" approach, i.e., they
indiscriminately assume and optimize a single preference model, thus not being
robust to unique characteristics and needs of the various groups. To address
this limitation, we propose a novel Group Robust Preference Optimization (GRPO)
method to align LLMs to individual groups' preferences robustly. Our approach
builds upon reward-free direct preference optimization methods, but unlike
previous approaches, it seeks a robust policy which maximizes the worst-case
group performance. To achieve this, GRPO adaptively and sequentially weights
the importance of different groups, prioritizing groups with worse cumulative
loss. We theoretically study the feasibility of GRPO and analyze its
convergence for the log-linear policy class. By fine-tuning LLMs with GRPO
using diverse group-based global opinion data, we significantly improved
performance for the worst-performing groups, reduced loss imbalances across
groups, and improved probability accuracies compared to non-robust baselines.
|
[
-0.3837459087371826,
-0.39785829186439514,
0.21071204543113708,
0.11771450191736221,
-0.3839309811592102,
0.12045962363481522,
-0.4874429702758789,
-0.19035539031028748,
0.17649009823799133,
0.4080575704574585,
-0.6716122627258301,
-0.5012009143829346,
-0.5683121085166931,
-0.09779371321201324,
0.58678138256073,
1.243760585784912,
0.09911325573921204,
-0.17094390094280243,
-0.14035221934318542,
-0.42612171173095703,
-0.25742170214653015,
-0.5815184712409973,
-0.5937004685401917,
-0.6003109812736511,
0.5245136618614197,
0.6244932413101196,
0.8092114925384521,
0.6977118849754333,
0.2507897615432739,
0.17110861837863922,
0.010523652657866478,
0.4186440706253052,
-0.6649709939956665,
0.009111334569752216,
-0.2735263407230377,
-0.2514481246471405,
-0.4856278896331787,
-0.13012944161891937,
0.402944415807724,
0.48153388500213623,
-0.4687305688858032,
-0.01637074537575245,
0.3086421489715576,
0.6801638603210449,
-0.6643801927566528,
0.1383984237909317,
-0.8472517132759094,
0.25405406951904297,
0.22532857954502106,
-0.4806428551673889,
-0.37081408500671387,
-0.6821686625480652,
0.14478355646133423,
-0.7920278906822205,
0.16416947543621063,
0.21740791201591492,
0.6794909834861755,
0.3980676829814911,
-0.16275502741336823,
-0.09130547195672989,
-0.43450573086738586,
1.018669605255127,
-0.6134180426597595,
0.07731960713863373,
0.539901614189148,
0.0870181992650032,
-0.3604918420314789,
0.02538936771452427,
0.03476549685001373,
-0.021139714866876602,
0.033511705696582794,
0.18118725717067719,
0.08208176493644714,
0.23640796542167664,
-0.21182601153850555,
0.36438924074172974,
-0.6608365774154663,
0.38878074288368225,
0.18567942082881927,
-0.3389138877391815,
0.6148247122764587,
0.006615709979087114,
0.04479560628533363,
0.18641284108161926,
-0.5761522054672241,
-0.14822065830230713,
-0.47383880615234375,
0.41310250759124756,
0.43604275584220886,
0.7607665061950684,
-0.18450215458869934,
0.2545599341392517,
-0.312305212020874,
0.545769453048706,
0.11907943338155746,
-0.581690788269043,
0.2170788198709488,
-0.07643495500087738,
-0.21185079216957092,
0.03539495915174484,
0.8069906234741211,
0.7208740711212158,
0.3454516530036926,
-0.2828768193721771,
-0.31992366909980774,
0.174270361661911,
-0.10695134848356247,
-0.7244457602500916,
-0.09819641709327698,
0.0774935707449913,
-0.5331382155418396,
-0.5698871612548828,
-0.19614307582378387,
-0.9557456374168396,
-0.576608419418335,
0.0059003341011703014,
0.4014571011066437,
0.19184087216854095,
-0.1386951208114624,
0.2936719059944153,
0.12930621206760406,
0.08813556283712387,
0.2706077992916107,
-1.3969160318374634,
0.2543221712112427,
0.6108282804489136,
0.6497520804405212,
-0.5190297961235046,
-0.25517523288726807,
-0.9999131560325623,
0.2116580754518509,
-0.06342537701129913,
0.7496918439865112,
-0.519730806350708,
-0.7742925882339478,
0.08371003717184067,
-0.0030479845590889454,
-0.07616313546895981,
-0.6378105878829956,
0.6630862951278687,
-0.25613150000572205,
0.3681323826313019,
-0.2936844825744629,
-0.3476477563381195,
0.10429652780294418,
0.3778369426727295,
-0.28094640374183655,
0.7184738516807556,
0.20749428868293762,
-0.6281850337982178,
0.6106136441230774,
-0.46941328048706055,
-0.2867375612258911,
-0.11732850968837738,
-0.26367390155792236,
-0.520871102809906,
0.1223323866724968,
0.5458570718765259,
0.4211226999759674,
-0.1387256234884262,
0.3251003623008728,
-0.6623795628547668,
-0.35040655732154846,
0.05048185586929321,
-0.09307289123535156,
0.36206990480422974,
0.08806893229484558,
-0.016202425584197044,
0.816342830657959,
-0.4253696799278259,
0.2511499524116516,
0.19154801964759827,
-0.544254720211029,
-0.35368263721466064,
0.1395191252231598,
-0.04441909119486809,
0.17210790514945984,
0.1529460996389389,
-0.16373248398303986,
0.5919643044471741,
-0.12495419383049011,
0.4044743776321411,
1.3043302297592163,
-0.004042007960379124,
0.5903701186180115,
-0.45259156823158264,
0.5905084609985352,
-0.49214527010917664,
0.513542115688324,
0.3580922782421112,
-0.2783893942832947,
-0.2817643880844116,
-0.3407374322414398,
0.043774012476205826,
0.6559415459632874,
-0.42390647530555725,
0.5738747119903564,
-0.3024305999279022,
-0.05637005716562271,
-0.27012285590171814,
0.3096894919872284,
0.3254542648792267,
0.6068392992019653,
0.2883220911026001,
-0.4055781364440918,
-0.07820319384336472,
-0.9656276106834412,
-0.35604169964790344,
-0.43402236700057983,
-0.0037660296075046062,
0.4904005527496338,
-0.04842754453420639,
-0.30078479647636414,
0.6773648858070374,
-0.5831924676895142,
-0.35307762026786804,
-0.34521496295928955,
-0.08277182281017303,
0.3679986894130707,
0.3150700032711029,
0.25602924823760986,
-0.49539268016815186,
-0.4704674482345581,
0.23994897305965424,
-0.20063018798828125,
-0.23637504875659943,
0.05662519484758377,
-0.2013133019208908,
0.44854140281677246,
-0.0648249164223671,
-0.1054043173789978,
0.052688147872686386,
0.8062884211540222,
-0.4004252851009369,
0.3264652192592621,
-0.2566218376159668,
-0.011984205804765224,
-0.7278562188148499,
-0.08208730071783066,
-0.024959292262792587,
-0.3068327009677887,
-0.2828204929828644,
-0.1561383754014969,
-0.0871879979968071,
0.016459189355373383,
-0.31024783849716187,
0.6700325608253479,
-0.13496415317058563,
0.019259974360466003,
-0.3754847049713135,
-0.06367811560630798,
-0.09629485011100769,
0.9559944868087769,
0.06385260820388794,
0.7709793448448181,
0.5191085338592529,
-0.7265564203262329,
0.029411744326353073,
0.14471928775310516,
-0.24824558198451996,
0.35752570629119873,
-0.4783874452114105,
0.235523983836174,
-0.18322205543518066,
0.10508031398057938,
-0.7680231332778931,
-0.43574678897857666,
0.4084572196006775,
-0.2368398755788803,
0.2361878901720047,
-0.3433471620082855,
0.06100308522582054,
0.025982216000556946,
-0.4727315902709961,
0.39408308267593384,
0.4030537009239197,
-0.5102812647819519,
0.43642109632492065,
0.4441676139831543,
-0.2376190572977066,
-0.8144228458404541,
-0.4640085995197296,
-0.3586609363555908,
-0.6389889121055603,
-0.4416116178035736,
0.3654012680053711,
-0.07345635443925858,
-0.10551727563142776,
-0.10586057603359222,
-0.4464225172996521,
0.1148497462272644,
0.07890354841947556,
-0.030760375782847404,
0.36925214529037476,
0.368488073348999,
0.21078528463840485,
-0.297650009393692,
-0.3186485171318054,
-0.3806266188621521,
-0.2834503948688507,
0.5434887409210205,
-0.44528907537460327,
-0.11870675534009933,
-0.13919737935066223,
0.4003106653690338,
0.4164270758628845,
-0.2616194486618042,
0.4451427161693573,
0.4976128339767456,
-0.05138351768255234,
-0.3668285608291626,
-0.4150123596191406,
-0.2321995049715042,
-0.4849657118320465,
0.5332601070404053,
-0.0652686208486557,
-1.2670356035232544,
0.5376863479614258,
0.02769162319600582,
0.13213123381137848,
-0.0036821169778704643,
0.526313304901123,
0.34599417448043823,
0.8260239958763123,
0.7370480895042419,
-0.6938410997390747,
0.5145366787910461,
0.19926004111766815,
0.10515190660953522,
-0.4664618670940399,
-0.05273723229765892,
-0.4250189960002899,
-0.3029859662055969,
-0.655475914478302,
-0.22940698266029358,
0.4317733943462372,
0.13310624659061432,
-0.4408454895019531,
-0.16759106516838074,
-0.6983484625816345,
0.39028140902519226,
0.5521429777145386,
0.10280170291662216,
0.3298319876194,
0.25026968121528625,
-0.06418733298778534,
-0.14078043401241302,
-0.7446281909942627,
-0.3647043704986572,
0.9941162467002869,
0.31811174750328064,
1.2055604457855225,
-0.03506462648510933,
0.7352992296218872,
0.4402657151222229,
0.3740692734718323,
-1.0532594919204712,
0.3909400999546051,
-0.27938562631607056,
-0.04469245672225952,
-0.5301326513290405,
-0.6180189847946167,
-0.9523736834526062,
0.41173112392425537,
-0.30718275904655457,
-0.8738897442817688,
0.21154820919036865,
0.549733579158783,
-0.3062331974506378,
0.3016188144683838,
-0.4922015070915222,
0.7971091270446777,
-0.43800199031829834,
-0.4360438287258148,
-0.07650335133075714,
-0.5901301503181458,
0.315297931432724,
0.11260516196489334,
0.3632405400276184,
-0.41893625259399414,
-0.13884201645851135,
0.5253878235816956,
-0.16191615164279938,
0.5186625123023987,
-0.39544230699539185,
-0.21873006224632263,
-0.0081414133310318,
-0.13240864872932434,
0.8358432054519653,
0.061011459678411484,
-0.15181481838226318,
-0.07629609853029251,
-0.3020380735397339,
-0.39687496423721313,
-0.6617598533630371,
0.72972172498703,
-0.8217436075210571,
-0.6590107083320618,
-0.30796751379966736,
-0.6255849003791809,
-0.6141279339790344,
0.07224607467651367,
0.28082576394081116,
0.09463431686162949,
-0.024457216262817383,
0.033767618238925934,
0.616525411605835,
-0.2160356193780899,
0.5275198817253113,
0.2675408124923706,
-0.48307037353515625,
-0.9649126529693604,
0.9232334494590759,
-0.27557694911956787,
0.5689168572425842,
0.4118170142173767,
0.5351839065551758,
-0.45302528142929077,
-0.4262498915195465,
-0.30596157908439636,
0.18282450735569,
-0.46706363558769226,
0.031100386753678322,
-0.20385757088661194,
0.3701556921005249,
-0.2276638001203537,
-0.14825354516506195,
-0.2141931802034378,
-0.33678165078163147,
0.03665721416473389,
-0.013771419413387775,
0.12687520682811737,
0.05386900529265404,
0.04669927433133125,
0.25728943943977356,
-0.5386346578598022,
0.2186702936887741,
0.6074879765510559,
0.6974778771400452,
-0.29720062017440796,
-0.39112916588783264,
-0.19595760107040405,
-0.2372046411037445,
-0.16536056995391846,
-0.5498351454734802,
0.3407354950904846,
0.17514395713806152,
0.7342575192451477,
0.585396409034729,
0.3127482235431671,
0.4510878324508667,
-0.2860777974128723,
0.43217232823371887,
0.3060144782066345,
-0.6510317325592041,
0.4942786991596222,
-0.5122730731964111,
0.2373068779706955,
0.7566063404083252,
0.09589400887489319,
-0.5849896669387817,
0.1315903663635254,
-0.21535149216651917,
-0.8353087306022644,
0.497740238904953,
-0.19503992795944214,
-0.05603628233075142,
0.24305954575538635,
0.19392015039920807,
0.18269798159599304,
0.21737532317638397,
-0.8573119044303894,
-0.2741372287273407,
-0.1911488026380539,
0.007817932404577732,
-0.1301405131816864,
-0.1535087376832962,
-0.5106374621391296,
0.03768043592572212,
0.7825641632080078,
-0.6464453935623169,
0.18642844259738922,
0.09705944359302521,
0.44755351543426514,
-0.28453075885772705,
0.691788911819458,
0.7171283960342407,
0.5436388850212097,
-0.4471740126609802,
-0.03124256059527397,
0.033432211726903915,
-0.2600274682044983,
0.3450034558773041,
-0.023341305553913116,
-0.12195461988449097,
-0.3725190758705139,
-0.04581453278660774,
0.9809890389442444,
-0.13999620079994202,
-0.6220678091049194,
0.3685898780822754,
-0.15362218022346497,
-0.31130948662757874,
0.2125263810157776,
0.23205560445785522,
-0.1725815236568451,
0.12309154123067856,
0.34796661138534546,
0.20015110075473785,
-0.1680677980184555,
-0.33472582697868347,
-0.06200708821415901,
0.716099739074707,
-0.5562211275100708,
-0.009131988510489464,
0.46634048223495483,
0.19518539309501648,
-0.23059199750423431,
-0.023812633007764816,
-0.07871270924806595,
-0.41045501828193665,
0.30509933829307556,
0.6009824275970459,
1.0038952827453613,
-0.30508917570114136,
0.2654712200164795,
0.1760178655385971,
0.3623548448085785,
-0.3194774389266968,
0.10410548001527786,
-0.0328797772526741,
-0.9372077584266663,
-0.3947766125202179,
-0.43282243609428406,
-0.6425453424453735,
0.2645922601222992,
-0.7502977848052979,
-0.049286436289548874,
-0.7035970687866211,
-0.28066253662109375,
-0.7116466164588928,
-0.08303124457597733,
-0.3967675566673279,
0.17102859914302826,
-0.10900726169347763,
0.30707281827926636,
-0.7621630430221558,
0.7107334136962891,
0.7459362149238586,
0.19690127670764923,
-0.7546851634979248,
0.1789066046476364,
0.008775021880865097,
-0.9156915545463562,
-0.029570719227194786,
0.04919520020484924,
-0.22465230524539948,
-0.19531391561031342,
-0.4908437430858612,
-0.8466266393661499,
0.9073304533958435,
0.4906444847583771,
-0.43433770537376404,
0.12754593789577484,
-0.06028447672724724,
0.13468635082244873,
-0.3836837410926819,
-0.2603271007537842,
0.21276161074638367,
0.48224180936813354,
0.04538026452064514,
-0.8938279747962952,
0.014132997952401638,
-0.08221057057380676,
0.010593793354928493,
0.28365111351013184,
-1.0632966756820679,
0.39445769786834717,
-0.1614287942647934,
-0.06113579496741295,
-0.27370527386665344,
0.5480847358703613,
0.6945576667785645,
0.1407705396413803,
0.9018769860267639,
0.5322973132133484,
1.005680799484253,
0.05418483167886734,
0.9372135400772095,
-0.17233045399188995,
0.3736608326435089,
1.1765891313552856,
-0.2691887319087982,
0.5183033347129822,
0.551620602607727,
-0.22454892098903656,
0.09738340973854065,
0.7086067199707031,
0.21680130064487457,
0.8865256905555725,
0.28889498114585876,
-0.39035657048225403,
-0.6475412249565125,
-0.40360087156295776,
-0.4783826470375061,
0.19327610731124878,
0.12993118166923523,
-0.11447419226169586,
-0.08878882974386215,
-0.2583314776420593,
0.012824132107198238,
0.18306705355644226,
-0.5705356597900391,
0.5554814338684082,
-0.13118945062160492,
-0.8604172468185425,
0.6509204506874084,
0.011503644287586212,
1.0088953971862793,
-0.8244524598121643,
0.3470228910446167,
-0.38039642572402954,
0.25815027952194214,
-0.23369792103767395,
-0.35180649161338806,
0.00014798772463109344,
-0.23800379037857056,
-0.25872132182121277,
-0.18803732097148895,
0.8238799571990967,
-0.4995667040348053,
-0.2362382709980011,
0.33052560687065125,
0.33046162128448486,
-0.22276805341243744,
0.11116121709346771,
-0.5303248763084412,
0.09719463437795639,
0.3438200354576111,
-0.17502300441265106,
0.586842954158783,
0.12859760224819183,
-0.24167753756046295,
0.9008836150169373,
0.47776883840560913,
0.13029830157756805,
-0.21650372445583344,
0.1529567390680313,
0.6419153809547424,
-0.5487340092658997,
-0.687458336353302,
-0.8797957301139832,
0.38216593861579895,
0.19435304403305054,
-0.4486914873123169,
0.4374143183231354,
0.3434760272502899,
0.8446466326713562,
-0.12198358029127121,
0.9524796605110168,
0.3810584545135498,
0.3362594246864319,
-0.473646879196167,
0.4592127203941345,
-0.690132737159729,
0.14353327453136444,
-0.5022469162940979,
-0.9473506808280945,
-0.5393199920654297,
0.598518431186676,
-0.04065912216901779,
-0.006305793300271034,
0.37943047285079956,
0.8814119100570679,
0.1176174134016037,
-0.13051506876945496,
0.3151922821998596,
-0.34309905767440796,
0.4185100793838501,
0.7684101462364197,
0.5127254128456116,
0.19940106570720673,
0.5758070349693298,
-0.05399635061621666,
-0.3633626103401184,
-0.05794398486614227,
-1.2260607481002808,
-0.7185794711112976,
-0.012980773113667965,
-0.35789912939071655,
-0.20851251482963562,
0.034862320870161057,
1.3821396827697754,
0.5663818717002869,
-0.8941031694412231,
-0.24623091518878937,
0.02964729815721512,
0.3202610909938812,
-0.32614585757255554,
-0.21988625824451447,
0.4796735644340515,
-0.38313883543014526,
-0.6526249647140503,
0.40219250321388245,
0.4249178469181061,
0.10891374945640564,
-0.03918509557843208,
-0.5172176957130432,
0.21506287157535553,
-0.10001333802938461,
0.44263917207717896,
0.4898095726966858,
-0.7283940315246582,
-0.5064360499382019,
-0.037338756024837494,
-0.013236858882009983,
0.06499642878770828,
0.8518711924552917,
-0.46789461374282837,
0.38326674699783325,
0.3276222348213196,
0.9160616397857666,
0.2075670212507248,
0.3990721106529236,
0.4860285520553589,
-0.5654497742652893,
0.1800466775894165,
0.2107258141040802,
0.29699745774269104,
0.26018640398979187,
-0.43226519227027893,
0.5991284251213074,
0.2869776785373688,
-1.0202603340148926,
-0.6823212504386902,
0.3284652531147003,
-1.2167688608169556,
-0.08451680094003677,
1.2581613063812256,
-0.15641045570373535,
0.21563859283924103,
-0.026956433430314064,
-0.20468665659427643,
0.04003177210688591,
-0.7922080755233765,
0.9612900018692017,
0.6828379034996033,
-0.4689861834049225,
-0.1844051480293274,
-0.06434942036867142,
0.6512718200683594,
0.7080672979354858,
-0.6851254105567932,
0.21215908229351044,
0.5326364636421204,
0.22805070877075195,
-0.2729891538619995,
0.9487262964248657,
0.08015047758817673,
-0.09303075075149536,
-0.6656545996665955,
0.0705716609954834,
-0.17126385867595673,
-0.17767129838466644,
-0.42053845524787903,
0.4489158093929291,
0.24827547371387482,
-0.34530109167099
] |
http://arxiv.org/abs/2405.20285v1
|
http://arxiv.org/pdf/2405.20285v1
|
Who Writes the Review, Human or AI?
| 2024-05-30T17:38:44 | 2024-05-30T17:38:44 |
Panagiotis C. Theocharopoulos, Spiros V. Georgakopoulos, Sotiris K. Tasoulis, Vassilis P. Plagianakos
|
cs.CL
|
cs.CL
|
With the increasing use of Artificial Intelligence in Natural Language
Processing, concerns have been raised regarding the detection of AI-generated
text in various domains. This study aims to investigate this issue by proposing
a methodology to accurately distinguish AI-generated and human-written book
reviews. Our approach utilizes transfer learning, enabling the model to
identify generated text across different topics while improving its ability to
detect variations in writing style and vocabulary. To evaluate the
effectiveness of the proposed methodology, we developed a dataset consisting of
real book reviews and AI-generated reviews using the recently proposed Vicuna
open-source language model. The experimental results demonstrate that it is
feasible to detect the original source of text, achieving an accuracy rate of
96.86%. Our efforts are oriented toward the exploration of the capabilities and
limitations of Large Language Models in the context of text identification.
Expanding our knowledge in these aspects will be valuable for effectively
navigating similar models in the future and ensuring the integrity and
authenticity of human-generated content.
|
[
-0.4203362762928009,
-0.6717658042907715,
0.28942054510116577,
-0.1786506026983261,
-0.14313296973705292,
0.06714815646409988,
-0.15901897847652435,
-0.8665715456008911,
-0.21285675466060638,
0.7350277900695801,
-0.4760400950908661,
-0.3537446856498718,
-0.4263320565223694,
0.6647976040840149,
-0.4852452874183655,
1.104725956916809,
-0.08900735527276993,
0.04844032973051071,
-0.17712320387363434,
-0.08948081731796265,
-0.288849800825119,
-0.46152013540267944,
-0.5586687326431274,
-0.5543020963668823,
0.3656062185764313,
0.019439922645688057,
0.5795242786407471,
0.5595811009407043,
0.5215427279472351,
0.2955411672592163,
0.0689242035150528,
0.5063141584396362,
-0.007134021259844303,
-0.12602141499519348,
-0.2656540870666504,
-0.458651065826416,
-0.214483842253685,
0.10640144348144531,
0.5479827523231506,
0.059100065380334854,
0.1590830236673355,
0.11314959824085236,
0.04218006134033203,
0.8059490919113159,
-0.5606803894042969,
0.06735192984342575,
-0.5491896867752075,
0.13725554943084717,
-0.061644211411476135,
-0.23802417516708374,
-0.6609357595443726,
-0.4947616755962372,
0.2121444046497345,
-0.5187027454376221,
0.5040029287338257,
0.017806854099035263,
0.96377032995224,
-0.022749274969100952,
-0.3164229393005371,
-0.6762912273406982,
-1.2030316591262817,
0.6781083941459656,
-0.6073060035705566,
0.2122136354446411,
0.455552339553833,
0.29873496294021606,
0.159296914935112,
-0.2389681190252304,
-1.2776004076004028,
-0.5890781283378601,
-0.2010895013809204,
-0.012527207843959332,
-0.15192480385303497,
-0.31110766530036926,
-0.1852201372385025,
0.3789716362953186,
-0.2911427319049835,
-0.05582306906580925,
-0.5561236143112183,
-0.3378344178199768,
1.0560576915740967,
0.043880313634872437,
0.6929569244384766,
-0.3444623053073883,
-0.2963567078113556,
-0.40582382678985596,
-0.3634243607521057,
0.06322368234395981,
0.6841168403625488,
0.23692700266838074,
0.13669279217720032,
0.47173506021499634,
-0.19182229042053223,
0.3600408732891083,
-0.187554731965065,
-0.01744558848440647,
0.24393180012702942,
-0.5555904507637024,
-0.17150580883026123,
-0.04044383391737938,
1.1710610389709473,
0.4678109288215637,
0.6658149361610413,
-0.2045404464006424,
-0.47894519567489624,
0.08174961805343628,
0.6805782318115234,
-0.46083444356918335,
-0.060626834630966187,
-0.08455423265695572,
-0.5970529913902283,
-0.48837047815322876,
0.6330212354660034,
-0.5395413637161255,
-0.892816424369812,
-0.5046020150184631,
0.3697470724582672,
-0.3228905200958252,
-0.4657931625843048,
-0.1192295104265213,
-0.27226221561431885,
0.13516254723072052,
0.29771924018859863,
-0.6376956105232239,
0.2985994517803192,
0.5396488904953003,
0.473755419254303,
-0.386002779006958,
-0.4491356611251831,
-0.2492736130952835,
0.09773265570402145,
-0.4406920075416565,
1.1017566919326782,
-0.2072427123785019,
-0.3423537611961365,
0.14883486926555634,
-0.09609857946634293,
0.24896946549415588,
-0.6228010654449463,
0.6002057194709778,
-0.5404495000839233,
0.3209189474582672,
-0.03307659924030304,
-0.4933784604072571,
-0.18328534066677094,
0.3191593885421753,
-0.9093947410583496,
1.0029175281524658,
0.32759299874305725,
-0.803370475769043,
0.39454391598701477,
-0.5936552286148071,
-0.36908426880836487,
0.09603535383939743,
-0.2142019271850586,
-0.7293468713760376,
-0.03947969898581505,
0.34883469343185425,
0.16638262569904327,
-0.3947867751121521,
0.35863593220710754,
0.18937253952026367,
-0.2955111265182495,
0.6194053292274475,
-0.4019182622432709,
0.7569343447685242,
0.280314177274704,
-0.4046785533428192,
0.3357773423194885,
-0.7679874897003174,
-0.21720421314239502,
0.132370263338089,
-0.4191834032535553,
-0.44340941309928894,
0.07708113640546799,
0.2060970515012741,
-0.31149449944496155,
-0.0375383123755455,
-0.6188759207725525,
0.30347758531570435,
-0.1717374175786972,
0.2884664833545685,
0.6618901491165161,
0.17467395961284637,
0.5305227637290955,
-0.6007678508758545,
0.6673218011856079,
-0.006320449523627758,
0.18971103429794312,
-0.0160205140709877,
-0.44862842559814453,
-0.6089922189712524,
0.05150719732046127,
0.4898064136505127,
0.50949627161026,
-0.7613083720207214,
0.7938665151596069,
-0.06865997612476349,
-0.8108880519866943,
-0.8858428001403809,
0.12045027315616608,
0.5491999387741089,
0.4798431694507599,
0.4090837836265564,
-0.2985040247440338,
-0.3261124789714813,
-0.8359825015068054,
-0.6666898131370544,
-0.802517831325531,
-0.156499981880188,
0.3324853181838989,
0.38808751106262207,
-0.6507341265678406,
0.9704223275184631,
-0.2956516742706299,
-0.35831648111343384,
-0.21461643278598785,
0.5042891502380371,
-0.3730563223361969,
0.4140598773956299,
0.4758155047893524,
-0.7248188257217407,
-0.5487090349197388,
0.32059240341186523,
-0.7298154830932617,
-0.3275175094604492,
-0.42919600009918213,
-0.39878809452056885,
0.44955217838287354,
0.5587627291679382,
-0.4279721975326538,
0.6990529298782349,
-0.002697252668440342,
-0.2208046019077301,
0.6574283838272095,
-0.13405339419841766,
0.4264766275882721,
-0.9884518980979919,
0.1964079886674881,
0.29710617661476135,
0.06975913047790527,
-0.42308786511421204,
-0.0004197538655716926,
0.060367632657289505,
0.1858808845281601,
-0.049080926924943924,
0.8686321377754211,
-0.40364041924476624,
0.2484131157398224,
-0.39438584446907043,
0.0010696621611714363,
0.2548706531524658,
0.33172228932380676,
0.27308642864227295,
0.6817777156829834,
-0.06741587072610855,
-0.728610098361969,
0.3478008210659027,
0.34891167283058167,
-0.5799471735954285,
0.4978711009025574,
-0.36569005250930786,
0.416291743516922,
-0.17731234431266785,
0.23011350631713867,
-1.057331919670105,
-0.1273503303527832,
0.6373414993286133,
-0.7584297060966492,
-0.03876841813325882,
-0.023663999512791634,
-0.559297502040863,
-0.25228220224380493,
-0.15094897150993347,
0.041703443974256516,
0.45568719506263733,
-0.30452579259872437,
0.8419930338859558,
0.3214806318283081,
-0.2747950255870819,
-0.5062467455863953,
-0.5113837122917175,
-0.028373958542943,
0.08391362428665161,
-0.1993907243013382,
0.334090918302536,
-0.058242835104465485,
-0.5827905535697937,
0.1301714926958084,
0.224331334233284,
-0.3027489483356476,
-0.016339531168341637,
-0.035301122814416885,
0.37343648076057434,
-0.20334947109222412,
0.29265135526657104,
0.049263086169958115,
0.21360452473163605,
0.1971735656261444,
0.12084469199180603,
0.29213494062423706,
0.2095743715763092,
-0.02926580049097538,
-0.8442422151565552,
0.28800904750823975,
0.6921197175979614,
-0.4803794324398041,
0.5424503087997437,
0.7447400093078613,
-0.23549455404281616,
-0.5920308828353882,
-0.3504803776741028,
-0.3018900752067566,
-0.3745814859867096,
0.32240867614746094,
-0.11055146902799606,
-0.14929740130901337,
0.2774356007575989,
0.4893992245197296,
0.09857123345136642,
0.6660275459289551,
0.6606309413909912,
-0.11884201318025589,
0.7436621785163879,
0.7925999760627747,
-0.4397241771221161,
0.8143574595451355,
-0.05583152547478676,
0.31985095143318176,
-0.737774133682251,
-0.3264150023460388,
-0.9705865383148193,
-0.18345867097377777,
-0.4830029010772705,
-0.029043026268482208,
0.13645754754543304,
-0.12884078919887543,
-0.06000557169318199,
0.30841270089149475,
-0.8468708395957947,
0.43049004673957825,
0.9087249636650085,
0.17593985795974731,
0.593518078327179,
0.16302841901779175,
0.24163727462291718,
0.31945064663887024,
-0.09127252548933029,
-0.8923764228820801,
1.2347527742385864,
0.23034648597240448,
0.45076993107795715,
0.032030291855335236,
0.416572242975235,
1.165260672569275,
0.8965155482292175,
-0.7301089763641357,
0.49068203568458557,
0.2708064913749695,
-0.6959282755851746,
-0.4171936810016632,
-0.31866875290870667,
-0.8957698941230774,
0.08109255135059357,
-0.536230206489563,
-0.3454703390598297,
-0.09351605921983719,
-0.026591239497065544,
-0.1579914391040802,
0.38965535163879395,
-0.6171420812606812,
0.5284284949302673,
-0.2569039762020111,
-0.03761516883969307,
-0.15776386857032776,
-0.46052294969558716,
0.12904590368270874,
-0.04170969873666763,
0.05052497237920761,
0.07663814723491669,
0.161298468708992,
0.8842805027961731,
-0.3589197099208832,
0.7493656873703003,
0.13989384472370148,
-0.2687353789806366,
0.8943310379981995,
0.26628637313842773,
0.2435278594493866,
-0.06947919726371765,
-0.07644329220056534,
0.18076510727405548,
-0.23866431415081024,
-0.0997515320777893,
-0.3241417407989502,
0.2386237531900406,
-1.2611702680587769,
-0.33438965678215027,
-0.5895575284957886,
-0.4179522395133972,
-0.06985350698232651,
0.4188709855079651,
0.32226189970970154,
0.18155720829963684,
-0.3385492265224457,
-0.24114654958248138,
0.09340989589691162,
-0.22831107676029205,
0.32457515597343445,
0.6293181777000427,
-0.14288318157196045,
-0.5004331469535828,
0.8579087853431702,
-0.20874106884002686,
-0.08453884720802307,
0.37585529685020447,
0.3896457850933075,
-0.19250990450382233,
-0.6923207640647888,
-0.9285447001457214,
0.37664994597435,
-0.5183947682380676,
0.020014699548482895,
-0.6232036352157593,
-0.43340247869491577,
-0.4805915057659149,
0.09880426526069641,
-0.13785535097122192,
0.19781824946403503,
-0.42588406801223755,
-0.07392892241477966,
0.22993053495883942,
1.2570695877075195,
0.4633306562900543,
0.32073503732681274,
-0.9715707302093506,
0.4202372133731842,
0.1408952921628952,
0.14853954315185547,
0.16647392511367798,
-0.5156112313270569,
-0.10150564461946487,
0.05604393035173416,
-0.4237801730632782,
-0.9385979771614075,
0.5319110751152039,
-0.03150025010108948,
0.34463629126548767,
0.37368065118789673,
0.24930724501609802,
0.06210809946060181,
-0.19487804174423218,
0.9185460805892944,
-0.0886409804224968,
-0.8517056703567505,
0.4168512523174286,
-0.27808451652526855,
0.08787557482719421,
0.6521938443183899,
0.4832419455051422,
-0.4299066960811615,
-0.3675338923931122,
-0.4618516266345978,
-0.4041822850704193,
0.5840041637420654,
0.12878160178661346,
0.21707308292388916,
0.09273243695497513,
0.4134329855442047,
0.45327040553092957,
0.37587490677833557,
-0.9094473123550415,
0.14888553321361542,
0.12434155493974686,
-0.24509072303771973,
0.03323991224169731,
-0.09255453199148178,
0.12111137062311172,
-0.029513632878661156,
0.7145597338676453,
-0.18926629424095154,
0.21414688229560852,
0.4608595371246338,
-0.2388903647661209,
-0.2535387873649597,
0.14609985053539276,
0.43722406029701233,
0.6628932952880859,
-0.09607311338186264,
-0.17737817764282227,
-0.5721867084503174,
-0.5944915413856506,
-0.044259678572416306,
-0.16087543964385986,
-0.7307826280593872,
0.18778707087039948,
0.8009049892425537,
0.5258731842041016,
-0.6075082421302795,
-0.776045560836792,
0.4157976508140564,
-0.29662010073661804,
-0.15639790892601013,
-0.49357593059539795,
0.18915465474128723,
-0.31082838773727417,
0.13639013469219208,
0.352742075920105,
0.42359423637390137,
0.2036108374595642,
-0.8007084131240845,
0.018342185765504837,
0.29844754934310913,
-0.3365970253944397,
-0.502571165561676,
0.45940837264060974,
0.6429223418235779,
-0.8775598406791687,
1.0580894947052002,
-0.1496911197900772,
-0.552221417427063,
0.795509397983551,
0.156205415725708,
1.231429100036621,
-0.07464592903852463,
0.3485492467880249,
0.4766136109828949,
0.3293510973453522,
0.09168913960456848,
0.09972632676362991,
-0.2512457072734833,
-1.0957738161087036,
0.021459683775901794,
-0.5533573627471924,
-0.5876004695892334,
0.1309659332036972,
-0.6960070133209229,
0.4374444782733917,
-0.39843669533729553,
-0.3206011652946472,
0.25402185320854187,
-0.05083591863512993,
-0.39961469173431396,
0.20306365191936493,
0.46135270595550537,
0.5587701201438904,
-1.1321074962615967,
0.7652958631515503,
0.6291913986206055,
-0.694556713104248,
-0.5808664560317993,
0.42025142908096313,
-0.01600062847137451,
-0.38679954409599304,
0.32719820737838745,
0.17807172238826752,
-0.4015271067619324,
-0.24950279295444489,
-0.5389978289604187,
-0.2801891267299652,
0.7714579701423645,
-0.0747106671333313,
-0.33564820885658264,
0.013867695815861225,
-0.12064269185066223,
0.8756524324417114,
-0.3630772531032562,
0.3731456995010376,
0.538538932800293,
0.39673441648483276,
-0.3620649576187134,
-0.972182035446167,
-0.369949609041214,
-0.4911705553531647,
-0.10451701283454895,
-0.03417817875742912,
-0.5524894595146179,
0.8583797216415405,
-0.10663918405771255,
-0.25741198658943176,
0.31016281247138977,
0.7901010513305664,
0.12623804807662964,
0.45972543954849243,
0.479388564825058,
0.008196542970836163,
0.9330958127975464,
0.27582570910453796,
1.3328280448913574,
-0.14163893461227417,
0.030691010877490044,
0.7799030542373657,
-0.33760666847229004,
0.9154124855995178,
0.23840631544589996,
-0.23649297654628754,
0.865861177444458,
0.43884652853012085,
-0.15068568289279938,
0.24336066842079163,
0.34942978620529175,
-0.2481669783592224,
0.15340246260166168,
-0.253901869058609,
-0.1437506377696991,
0.29576319456100464,
-0.06263621896505356,
-0.6508877873420715,
0.33601391315460205,
-0.07140007615089417,
0.06303925812244415,
0.5994968414306641,
-0.33875423669815063,
1.156934142112732,
-0.2270822525024414,
-1.4054099321365356,
0.3909355103969574,
0.22658735513687134,
0.6519863605499268,
-0.4387536644935608,
-0.20413120090961456,
-0.218520849943161,
0.4449562132358551,
-0.17989687621593475,
-0.7349814772605896,
0.1695941537618637,
0.25277024507522583,
-0.5944664478302002,
-0.04490164667367935,
0.5173776149749756,
-0.4599570333957672,
-0.7941991686820984,
0.2391722947359085,
0.5428507924079895,
0.0658695250749588,
0.01048949547111988,
-0.4760943651199341,
0.11156495660543442,
0.11938381940126419,
-0.12180032581090927,
0.009063133969902992,
0.3717803657054901,
-0.4619467258453369,
0.5109490752220154,
0.5293383002281189,
0.21237653493881226,
-0.022057827562093735,
0.17561137676239014,
0.48820456862449646,
-0.6091665625572205,
-0.752274751663208,
-0.8360845446586609,
0.14194466173648834,
-0.18948467075824738,
-0.6647972464561462,
0.49510517716407776,
0.3665560185909271,
1.0347341299057007,
-0.4960172772407532,
1.3029147386550903,
0.012473751790821552,
0.578637421131134,
-0.3457401990890503,
1.023590087890625,
-0.23667553067207336,
0.18989382684230804,
-0.39889562129974365,
-0.9471348524093628,
-0.12357304990291595,
0.6505369544029236,
-0.18211966753005981,
0.07808781415224075,
0.7631897330284119,
0.8099774718284607,
0.23595795035362244,
0.004193924367427826,
-0.2041817456483841,
-0.046074703335762024,
0.41167208552360535,
0.18196776509284973,
0.9814507365226746,
-0.45200812816619873,
0.4131438732147217,
-0.05197300389409065,
-0.11457700282335281,
-0.2584921717643738,
-0.7912308573722839,
-1.0411078929901123,
-0.7120571732521057,
-0.6639196872711182,
-0.49830105900764465,
-0.13774006068706512,
0.7000174522399902,
0.5281023383140564,
-0.8538679480552673,
-0.33480775356292725,
-0.10235835611820221,
0.084263876080513,
-0.4597114324569702,
-0.2261819839477539,
0.4104383885860443,
-0.024302590638399124,
-0.9944592118263245,
0.009259933605790138,
-0.14801372587680817,
-0.1401563435792923,
-0.5926880836486816,
-0.16699056327342987,
-0.04221898317337036,
0.44523265957832336,
0.2453712522983551,
0.2700566053390503,
-0.8798832297325134,
-0.2315903753042221,
-0.22058428823947906,
-0.3896288275718689,
0.08881288766860962,
0.9493139386177063,
-0.6148954033851624,
0.7683455944061279,
0.6798338294029236,
0.7821016907691956,
0.016680272296071053,
0.32726746797561646,
0.6555385589599609,
-0.4438929557800293,
-0.23942120373249054,
0.3969190716743469,
0.07640360295772552,
0.45027294754981995,
-0.5513108372688293,
0.5489298701286316,
0.39296749234199524,
-0.5709308385848999,
-0.770559549331665,
0.077534019947052,
-0.8628166913986206,
-0.26970377564430237,
1.169235110282898,
0.055450767278671265,
-0.3936404287815094,
-0.04653390124440193,
-0.6124017238616943,
0.190800279378891,
-0.32122108340263367,
1.1000815629959106,
0.7980504631996155,
-0.10515400022268295,
0.007267403416335583,
-0.25135737657546997,
0.5755974650382996,
-0.03737272694706917,
-0.9521840810775757,
-0.022133540362119675,
0.5057801008224487,
0.2362801730632782,
0.36413130164146423,
0.7389338612556458,
-0.12940062582492828,
0.373460978269577,
-0.19932886958122253,
0.6492406725883484,
-0.1024506688117981,
-0.46664702892303467,
-0.19326402246952057,
0.11413944512605667,
0.14778022468090057,
-0.08162593096494675
] |
http://arxiv.org/abs/2405.20274v1
|
http://arxiv.org/pdf/2405.20274v1
|
ROAST: Review-level Opinion Aspect Sentiment Target Joint Detection
| 2024-05-30T17:29:15 | 2024-05-30T17:29:15 |
Siva Uday Sampreeth Chebolu, Franck Dernoncourt, Nedim Lipka, Thamar Solorio
|
cs.CL
|
cs.CL, cs.AI, cs.LG
|
Aspect-Based Sentiment Analysis (ABSA) has experienced tremendous expansion
and diversity due to various shared tasks spanning several languages and fields
and organized via SemEval workshops and Germeval. Nonetheless, a few
shortcomings still need to be addressed, such as the lack of low-resource
language evaluations and the emphasis on sentence-level analysis. To thoroughly
assess ABSA techniques in the context of complete reviews, this research
presents a novel task, Review-Level Opinion Aspect Sentiment Target (ROAST).
ROAST seeks to close the gap between sentence-level and text-level ABSA by
identifying every ABSA constituent at the review level. We extend the available
datasets to enable ROAST, addressing the drawbacks noted in previous research
by incorporating low-resource languages, numerous languages, and a variety of
topics. Through this effort, ABSA research will be able to cover more ground
and get a deeper comprehension of the task and its practical application in a
variety of languages and domains (https://github.com/RiTUAL-UH/ROAST-ABSA).
|
[
-0.4547477066516876,
-0.6558004021644592,
0.43911194801330566,
0.5760039687156677,
-0.2311025857925415,
0.06680349260568619,
0.04204519838094711,
-0.48820528388023376,
0.73923659324646,
0.5973578095436096,
-0.554681122303009,
-0.760259747505188,
-0.3599017262458801,
0.035135455429553986,
-0.29740872979164124,
1.4992494583129883,
-0.014751129783689976,
-0.2623929977416992,
-0.23060490190982819,
-0.2514486312866211,
-0.2075863480567932,
-0.3180316388607025,
-0.47863098978996277,
-0.2050328105688095,
0.7845321893692017,
0.6527178287506104,
0.3378363251686096,
0.32605621218681335,
0.6347689628601074,
0.12679944932460785,
-0.04463109001517296,
-0.07191520929336548,
-0.22638072073459625,
0.37598487734794617,
-0.14094562828540802,
-0.5081838369369507,
-0.6428288221359253,
-0.07110390067100525,
0.3372567594051361,
0.7634533047676086,
0.37877824902534485,
0.11576428264379501,
-0.12942717969417572,
1.163927674293518,
-0.8596815466880798,
0.17843219637870789,
-0.7897530794143677,
-0.10303239524364471,
-0.38654741644859314,
0.12054483592510223,
-0.37111374735832214,
-0.29720598459243774,
-0.2713678479194641,
-0.2699257731437683,
0.3054128587245941,
0.09680686146020889,
0.7718127965927124,
0.06906171143054962,
-0.3051549792289734,
-0.1530885398387909,
-0.8398226499557495,
0.7414279580116272,
-0.7445876598358154,
-0.06324922293424606,
0.3141162395477295,
0.09336858987808228,
0.04011866822838783,
-0.09600862860679626,
-0.5826689600944519,
0.03729638457298279,
-0.20734114944934845,
0.4221958816051483,
-0.36660054326057434,
-0.017076198011636734,
-0.09942107647657394,
0.9113004207611084,
-0.3647158443927765,
0.09018159657716751,
-0.03923623636364937,
0.011688399128615856,
0.3477497696876526,
-0.17104743421077728,
0.16665619611740112,
-0.5524349808692932,
-0.24543316662311554,
-0.13169024884700775,
-0.7416452765464783,
0.16764700412750244,
0.7995126247406006,
0.2887933850288391,
-0.208494633436203,
0.6029048562049866,
-0.5196968913078308,
0.3810039758682251,
-0.050361767411231995,
0.4385157525539398,
0.46173736453056335,
-0.23416228592395782,
-0.21409977972507477,
-0.23552699387073517,
1.0003712177276611,
0.4664720892906189,
-0.10435925424098969,
0.19604423642158508,
-0.367123544216156,
0.34622254967689514,
0.3726532459259033,
-0.6066053509712219,
-0.452236533164978,
0.5703353881835938,
-0.28765740990638733,
-0.42508465051651,
0.20981809496879578,
-1.0299341678619385,
-0.41032764315605164,
0.26109322905540466,
-0.03170135244727135,
-0.31110548973083496,
-0.7569181323051453,
-0.12697945535182953,
-0.176544651389122,
0.429267019033432,
0.10701651871204376,
-0.601460337638855,
0.1235290914773941,
0.9982584714889526,
0.7018324732780457,
-0.09538724273443222,
0.10551223903894424,
-0.46245771646499634,
0.0033281908836215734,
-0.33227479457855225,
1.2539185285568237,
-0.9523555636405945,
-0.23454539477825165,
0.24368222057819366,
-0.00928550772368908,
0.027785759419202805,
-0.6104649901390076,
0.772617757320404,
-0.4717564284801483,
0.03131847083568573,
-0.4222780168056488,
-0.3333022892475128,
-0.42863571643829346,
0.7044091820716858,
-0.7820876836776733,
1.0858877897262573,
0.19676445424556732,
-1.1867871284484863,
0.4842567443847656,
-0.7647284865379333,
-0.8301254510879517,
-0.2616235613822937,
-0.06839824467897415,
-0.7492548823356628,
0.410210520029068,
0.7109687924385071,
0.4973325729370117,
-0.16920426487922668,
-0.4120611548423767,
-0.271034836769104,
-0.07190512120723724,
0.17425644397735596,
-0.014243220910429955,
0.3232177793979645,
0.1982516348361969,
-0.2608593702316284,
0.5481141805648804,
-0.4919719398021698,
-0.03691845014691353,
0.01595231331884861,
0.33054119348526,
-0.8330932259559631,
-0.17681056261062622,
0.2342079132795334,
-0.11858297139406204,
0.23710952699184418,
-0.8097667098045349,
0.221398264169693,
-0.6342447400093079,
0.33563679456710815,
0.30714794993400574,
0.14676055312156677,
0.42625248432159424,
-0.38470712304115295,
0.6547467708587646,
0.41347840428352356,
0.20280088484287262,
-0.5676689743995667,
-0.30385342240333557,
-0.9077890515327454,
-0.34144237637519836,
0.11667358130216599,
0.4233548939228058,
-0.7507733702659607,
0.7339651584625244,
0.08702944219112396,
-0.6769192218780518,
-0.765769362449646,
0.06885072588920593,
0.6513842344284058,
0.05116578936576843,
0.3336526155471802,
-0.6453973054885864,
-0.532162070274353,
-1.1258279085159302,
-0.3266448378562927,
-0.5796558856964111,
-0.0636756494641304,
0.0004926389665342867,
0.355001837015152,
0.20716604590415955,
0.909563422203064,
-0.46988433599472046,
-0.646806001663208,
-0.8066213130950928,
0.33558616042137146,
0.3657588064670563,
0.35159724950790405,
0.5969663858413696,
-0.6482231020927429,
-0.5109651684761047,
0.4515933692455292,
-0.5652765035629272,
-0.3051947355270386,
0.02339155785739422,
0.11724432557821274,
0.03402456268668175,
0.06384509056806564,
-0.37666043639183044,
0.4446432590484619,
0.5194521546363831,
-0.15125174820423126,
0.5021027326583862,
0.2604532539844513,
0.4986136853694916,
-1.104335904121399,
-0.1327681690454483,
0.3550064265727997,
-0.12746848165988922,
-0.44360601902008057,
0.11915770918130875,
-0.07830668240785599,
0.21221476793289185,
-0.3921160101890564,
0.4670866131782532,
-0.32046788930892944,
-0.3506546914577484,
-0.6395644545555115,
-0.40856465697288513,
0.27057918906211853,
0.6128484606742859,
0.06261222064495087,
0.6843202114105225,
0.41972291469573975,
0.018919501453638077,
0.07457048445940018,
-0.19728443026542664,
-0.39309099316596985,
0.8621227741241455,
-0.6589607000350952,
0.34875020384788513,
0.1506134271621704,
0.37695133686065674,
-1.2038944959640503,
-0.2700982391834259,
0.5164066553115845,
-0.37407150864601135,
0.08712344616651535,
-0.29041600227355957,
-0.4226996898651123,
-0.2950337827205658,
-0.5458725690841675,
0.6612311005592346,
0.1381433755159378,
-0.26551419496536255,
0.5370761752128601,
0.4277372658252716,
-0.18447637557983398,
-0.553652286529541,
-0.23788489401340485,
-0.06615149229764938,
-0.19616258144378662,
-0.3218246102333069,
0.3036550283432007,
0.3211914598941803,
-0.4890923798084259,
0.020022932440042496,
-0.2722518742084503,
-0.09713689237833023,
-0.3333698511123657,
0.3476654589176178,
-0.1731715053319931,
-0.22150355577468872,
-0.4010898768901825,
0.3037325441837311,
-0.10091463476419449,
0.08377224206924438,
-0.0172300823032856,
0.5997545123100281,
-0.49783265590667725,
-0.4577198922634125,
-0.627946674823761,
0.6566789746284485,
0.668868899345398,
-0.2045275866985321,
0.36975395679473877,
0.568077802658081,
-0.1159655749797821,
-0.20828643441200256,
-0.7656955718994141,
-0.07264154404401779,
-0.3471468687057495,
0.43758800625801086,
-0.34690526127815247,
-0.5267286896705627,
0.722550630569458,
0.09338963776826859,
0.14149607717990875,
0.5139046311378479,
0.36882439255714417,
-0.3615487813949585,
0.5692577958106995,
0.6860558986663818,
-0.43195992708206177,
0.5523687601089478,
-0.2115125209093094,
0.09468142688274384,
-1.0852633714675903,
-0.0635329931974411,
-0.777075469493866,
-0.537765383720398,
-0.2187512367963791,
-0.2203756421804428,
0.3405475914478302,
-0.01740696094930172,
-0.008621721528470516,
0.5710453987121582,
-0.49277463555336,
0.6770574450492859,
0.46165400743484497,
0.09729297459125519,
0.36759477853775024,
-0.21503974497318268,
0.15081045031547546,
-0.03543371707201004,
-0.18241560459136963,
-0.30354899168014526,
0.669012188911438,
0.45402052998542786,
0.6089830994606018,
-0.2680116295814514,
0.5812727808952332,
0.5659534335136414,
0.5590016841888428,
-0.9604034423828125,
0.4908299148082733,
-0.3408876061439514,
-0.4322761297225952,
0.007222228217869997,
-0.4050168991088867,
-0.5445097088813782,
0.14468809962272644,
0.13495655357837677,
-0.405992329120636,
-0.029755987226963043,
-0.1081053614616394,
0.019473612308502197,
0.617606520652771,
-0.5319991707801819,
0.9454843401908875,
-0.14428408443927765,
-0.09925977885723114,
-0.17185865342617035,
-0.4427812099456787,
0.32987678050994873,
0.30012160539627075,
0.25467443466186523,
-0.31327947974205017,
0.1626376509666443,
0.8054125308990479,
-0.17019949853420258,
1.077587604522705,
-0.3904610574245453,
-0.14115697145462036,
0.20312528312206268,
0.274117112159729,
0.4167523682117462,
0.111030712723732,
-0.17630748450756073,
0.4219813644886017,
0.021090436726808548,
-0.4366835355758667,
-0.5704144835472107,
0.7214431166648865,
-0.6384581923484802,
-0.5201979279518127,
-0.641130805015564,
-0.5854081511497498,
-0.43910130858421326,
0.16364999115467072,
0.08669707179069519,
0.04320167750120163,
-0.337168425321579,
0.17018505930900574,
0.2824445068836212,
-0.27985548973083496,
0.261650949716568,
0.4373652935028076,
-0.42750176787376404,
-0.5515902042388916,
0.7609305381774902,
-0.5133410096168518,
0.03106340579688549,
0.7215452790260315,
0.1352360099554062,
-0.04826609045267105,
-0.9656819701194763,
-0.43079590797424316,
0.18528646230697632,
-0.33988267183303833,
-0.3972049057483673,
-0.7322767376899719,
-0.18022654950618744,
-0.22807307541370392,
-0.0945993959903717,
-0.6749742031097412,
-0.23220239579677582,
0.046142615377902985,
-0.17213977873325348,
0.4602580964565277,
0.7572681903839111,
0.18907234072685242,
0.7362818121910095,
-0.5487056970596313,
0.23831942677497864,
-0.19497579336166382,
0.13845115900039673,
-0.1916881650686264,
-0.2451939433813095,
-0.04219071567058563,
-0.2440372109413147,
-0.3814283311367035,
-0.882676899433136,
0.49195489287376404,
0.027702338993549347,
0.0527593195438385,
0.6506164073944092,
0.43649640679359436,
0.42407530546188354,
-0.13700932264328003,
0.7346929907798767,
0.41124385595321655,
-0.7739847898483276,
0.7833471894264221,
-0.5563055872917175,
0.46521472930908203,
0.9081161022186279,
0.2607899308204651,
-0.5390260219573975,
-0.9127526879310608,
-0.25198647379875183,
-1.0420410633087158,
0.3495880365371704,
0.34818190336227417,
0.2683573067188263,
-0.23059172928333282,
0.30365848541259766,
0.5664471387863159,
0.289524644613266,
-0.806835412979126,
-0.13366010785102844,
-0.2965746819972992,
-0.14628340303897858,
0.7235386371612549,
-0.21931836009025574,
-0.2222926914691925,
-0.14191913604736328,
0.6532758474349976,
-0.216347336769104,
0.12998439371585846,
0.00861694198101759,
0.23607128858566284,
-0.2571224868297577,
0.659498393535614,
0.05120500177145004,
0.49686363339424133,
-0.39512360095977783,
0.10169181227684021,
-0.31224536895751953,
-0.37451162934303284,
-0.053006887435913086,
-0.18525013327598572,
-0.33324044942855835,
-0.06516944617033005,
0.6301370859146118,
0.5220046043395996,
0.15412062406539917,
-0.18704479932785034,
0.6510061621665955,
-0.06482221186161041,
0.09780126065015793,
-0.4660811126232147,
-0.11024617403745651,
-0.23313337564468384,
0.09007613360881805,
0.5373955965042114,
0.40077832341194153,
0.1263507753610611,
-0.819305419921875,
0.43171751499176025,
0.5478013753890991,
-0.7861220240592957,
-0.7358107566833496,
0.24315689504146576,
0.5095093846321106,
0.09362031519412994,
0.4718102514743805,
-0.3697804808616638,
-0.6384748816490173,
0.8142451047897339,
0.33787447214126587,
1.2942557334899902,
-0.049622733145952225,
0.5692168474197388,
0.18680614233016968,
0.5067375302314758,
0.33962249755859375,
0.2354363054037094,
0.09728925675153732,
-0.8234593868255615,
-0.6862318515777588,
-0.7837218046188354,
-0.5914655923843384,
0.29169973731040955,
-0.9993735551834106,
0.07123872637748718,
-0.5150157809257507,
0.07807109504938126,
0.06789667159318924,
-0.04302581027150154,
-0.48125001788139343,
0.08781588822603226,
-0.2481614649295807,
0.7345187664031982,
-1.128983974456787,
0.8120626211166382,
0.906793475151062,
-0.5493621230125427,
-0.17874005436897278,
0.5175715684890747,
0.04697650298476219,
-0.6797199845314026,
0.33054059743881226,
0.6568756103515625,
-0.12185210734605789,
-0.6448911428451538,
-0.15182189643383026,
-0.1393783986568451,
0.3358956575393677,
0.17778657376766205,
-0.4580550491809845,
0.12445424497127533,
0.055754654109478,
0.6348302364349365,
-0.6738934516906738,
0.6667092442512512,
0.6230975985527039,
0.6131895780563354,
0.47527971863746643,
-0.8635650277137756,
-0.007247777655720711,
-0.41143959760665894,
-0.3457636535167694,
0.2747410237789154,
-0.7839787602424622,
0.43046146631240845,
0.04914882406592369,
-0.05217944458127022,
0.005565441679209471,
1.3291667699813843,
-0.043878186494112015,
0.8265718221664429,
0.9822949767112732,
0.5820237398147583,
0.15488098561763763,
-0.31110259890556335,
0.8340638875961304,
-0.07134132087230682,
0.00968185905367136,
1.0363560914993286,
-0.6719695925712585,
0.9809339642524719,
0.4353717863559723,
-0.2854616343975067,
0.783881664276123,
0.6602084040641785,
0.3287559151649475,
0.585740327835083,
0.037605684250593185,
-0.24252529442310333,
-0.16491074860095978,
-0.42699742317199707,
-0.40085020661354065,
0.5018412470817566,
0.5262753963470459,
-0.16074241697788239,
-0.08854707330465317,
0.03703513741493225,
0.22885723412036896,
0.28241944313049316,
-0.4154455065727234,
0.8984336853027344,
0.07164366543292999,
-0.7116525769233704,
-0.059199556708335876,
-0.16475456953048706,
0.8756946921348572,
-0.6938478946685791,
-0.04317476600408554,
-0.5753659009933472,
0.11821229010820389,
-0.3985411524772644,
-1.0524113178253174,
0.8515844941139221,
0.15360908210277557,
-0.403962641954422,
-0.09650354832410812,
0.43637555837631226,
-0.21363721787929535,
-0.7012040615081787,
0.5458036065101624,
0.4378421902656555,
0.08256059885025024,
-0.5787493586540222,
-0.5639980435371399,
0.5239813923835754,
0.025867216289043427,
-0.11604101955890656,
0.2940748929977417,
0.6225776672363281,
0.14680911600589752,
0.1620107740163803,
0.47538119554519653,
0.3167015314102173,
-0.5737648606300354,
0.2523394823074341,
1.0437440872192383,
-0.8276223540306091,
-0.6660780906677246,
-0.5014723539352417,
0.10734367370605469,
-0.249871626496315,
-0.3283609449863434,
0.7907959222793579,
0.5836759209632874,
0.9781345129013062,
-0.07600633054971695,
0.955355167388916,
-0.4529504179954529,
0.5575098991394043,
-0.5418814420700073,
0.6694870591163635,
-0.5500275492668152,
0.554075300693512,
-0.5405758619308472,
-1.2934954166412354,
-0.47412109375,
0.442345529794693,
-0.6336188912391663,
0.08869452774524689,
0.9363093972206116,
0.7417564988136292,
-0.15981444716453552,
0.2553751468658447,
0.23353344202041626,
0.2937214970588684,
0.30974075198173523,
0.4610861539840698,
0.9073339700698853,
-0.2282520979642868,
0.4720824360847473,
-0.5242701172828674,
-0.45474547147750854,
-0.12274878472089767,
-0.9908394813537598,
-0.9576519727706909,
-0.5765164494514465,
-0.5282608270645142,
-0.2852283716201782,
-0.165969580411911,
0.5770981311798096,
0.7066145539283752,
-1.2721335887908936,
-0.12895187735557556,
0.0829734280705452,
0.27947965264320374,
-0.934525728225708,
-0.31862330436706543,
0.47453439235687256,
-0.3739103376865387,
-0.8593443632125854,
0.5050391554832458,
0.5245258212089539,
-0.711563229560852,
-0.5755552649497986,
0.4778599441051483,
-0.028572971001267433,
0.0485832616686821,
0.4454886019229889,
0.504418134689331,
-0.6721532344818115,
-0.44579416513442993,
-0.2753046154975891,
0.22371436655521393,
0.30035561323165894,
1.309406042098999,
-0.4413353204727173,
0.3869008719921112,
0.6402449011802673,
0.660566508769989,
0.287926584482193,
0.09183900058269501,
0.5789449214935303,
-1.2494776248931885,
0.22904540598392487,
0.36087286472320557,
0.43712711334228516,
0.567077100276947,
-0.29841163754463196,
0.4620116651058197,
0.059964921325445175,
-0.410146027803421,
-0.6979948878288269,
0.39956939220428467,
-1.4922027587890625,
-0.14479021728038788,
1.2837132215499878,
-0.3173660635948181,
-0.4909370243549347,
-0.23376820981502533,
-0.1706283539533615,
-0.012965438887476921,
-0.7739560604095459,
0.9239107966423035,
0.46500054001808167,
-0.25162267684936523,
-0.12755735218524933,
-0.2845951020717621,
0.31237754225730896,
0.5772852897644043,
-1.147456169128418,
0.22182895243167877,
0.40510356426239014,
0.09376896917819977,
0.2704254686832428,
0.6627193689346313,
-0.25623491406440735,
-0.04220036417245865,
-0.2910597622394562,
0.14216895401477814,
0.03515113517642021,
-0.7194427251815796,
0.08156846463680267,
0.5911317467689514,
-0.03859848901629448,
-0.43282732367515564
] |
http://arxiv.org/abs/2405.20271v1
|
http://arxiv.org/pdf/2405.20271v1
|
ETHER: Efficient Finetuning of Large-Scale Models with Hyperplane Reflections
| 2024-05-30T17:26:02 | 2024-05-30T17:26:02 |
Massimo Bini, Karsten Roth, Zeynep Akata, Anna Khoreva
|
cs.LG
|
cs.LG, cs.CL, cs.CV
|
Parameter-efficient finetuning (PEFT) has become ubiquitous to adapt
foundation models to downstream task requirements while retaining their
generalization ability. However, the amount of additionally introduced
parameters and compute for successful adaptation and hyperparameter searches
can explode quickly, especially when deployed at scale to serve numerous
individual requests. To ensure effective, parameter-efficient, and
hyperparameter-robust adaptation, we propose the ETHER transformation family,
which performs Efficient fineTuning via HypErplane Reflections. By design,
ETHER transformations require a minimal number of parameters, are less likely
to deteriorate model performance, and exhibit robustness to hyperparameter and
learning rate choices. In particular, we introduce ETHER and its relaxation
ETHER+, which match or outperform existing PEFT methods with significantly
fewer parameters ($\sim$$10$-$100$ times lower than LoRA or OFT) across
multiple image synthesis and natural language tasks without exhaustive
hyperparameter tuning. Finally, we investigate the recent emphasis on
Hyperspherical Energy retention for adaptation and raise questions on its
practical utility. The code is available at https://github.com/mwbini/ether.
|
[
-0.656644880771637,
-0.9002289772033691,
0.5806407928466797,
0.2584044635295868,
-0.16762256622314453,
-0.17559179663658142,
-0.37151798605918884,
-0.36054423451423645,
0.11018107086420059,
0.8090571165084839,
-0.30994242429733276,
-0.24436259269714355,
-0.3879823684692383,
0.06187784671783447,
-0.8299335837364197,
1.0235559940338135,
-0.2070295810699463,
-0.5130258798599243,
0.17719203233718872,
-0.07372461259365082,
0.1946878731250763,
-0.27031195163726807,
-0.5063373446464539,
-0.16534443199634552,
0.3100318908691406,
0.7420597076416016,
0.686899721622467,
0.8208181262016296,
0.9336022138595581,
0.327406108379364,
0.16823792457580566,
0.20853881537914276,
-0.8481778502464294,
0.04827025532722473,
-0.1331140249967575,
-0.41975298523902893,
-0.6192649006843567,
-0.29600754380226135,
0.7336066961288452,
1.13590669631958,
-0.4260711967945099,
0.298381507396698,
0.18693003058433533,
1.1440402269363403,
-1.042750358581543,
0.024612627923488617,
-1.0087544918060303,
0.1371850222349167,
-0.0710790604352951,
-0.14876624941825867,
-0.30635204911231995,
-0.02827279642224312,
0.2332814782857895,
-1.1935783624649048,
0.267099529504776,
0.441884309053421,
0.935194194316864,
0.19090954959392548,
-0.3975510001182556,
0.409909188747406,
-1.0388647317886353,
0.9867686629295349,
-0.22768181562423706,
0.911536455154419,
0.25124746561050415,
0.43230268359184265,
-0.06666214019060135,
-0.9942928552627563,
-0.5164169669151306,
0.06569875776767731,
0.22514639794826508,
0.07599732279777527,
-0.22017361223697662,
0.4938463568687439,
0.21015122532844543,
0.5152618288993835,
0.004090659320354462,
-0.20101714134216309,
-0.49978283047676086,
-0.18145285546779633,
0.26324641704559326,
0.23360374569892883,
-0.4129803478717804,
0.0928979367017746,
-0.5913576483726501,
-0.1914999783039093,
-0.6841787099838257,
0.15978670120239258,
0.40718454122543335,
0.15917712450027466,
-0.13706329464912415,
0.4003956615924835,
-0.30573785305023193,
0.7090489268302917,
0.8890602588653564,
0.050954461097717285,
-0.04878547787666321,
-0.03043346479535103,
-0.2491706758737564,
-0.007076956331729889,
0.31495043635368347,
0.8795560002326965,
0.08794110268354416,
-0.07501459121704102,
-0.26888516545295715,
-0.13000310957431793,
0.22913557291030884,
-1.4138633012771606,
-0.5108453631401062,
0.18874423205852509,
-0.48511502146720886,
-0.339702308177948,
-0.08141385018825531,
-0.6927766799926758,
-0.13621850311756134,
-0.5716056823730469,
0.3971809148788452,
-0.23815974593162537,
-0.23779906332492828,
0.5075171589851379,
-0.2930121123790741,
0.23773938417434692,
0.5713690519332886,
-1.06553053855896,
0.9205955266952515,
0.6997500658035278,
0.6408224105834961,
-0.2924208343029022,
-0.2750495970249176,
-0.6471214294433594,
0.40058082342147827,
-0.651642382144928,
0.6492727398872375,
-0.4610195457935333,
-0.17613738775253296,
-0.33415085077285767,
0.28182536363601685,
0.05806226655840874,
-0.6495546102523804,
0.5458642244338989,
-0.2659599184989929,
-0.03165652975440025,
-0.31858670711517334,
-0.25412672758102417,
-0.3240560293197632,
0.23891893029212952,
-0.6217319965362549,
0.9354822635650635,
0.3820210099220276,
-0.6765645742416382,
0.228322833776474,
-0.8469255566596985,
-0.15076246857643127,
-0.22768594324588776,
0.15306039154529572,
-0.4266462028026581,
0.42368069291114807,
0.1316336691379547,
0.6611663103103638,
-0.3108889162540436,
-0.0943092405796051,
-0.6017579436302185,
-0.4915819764137268,
-0.08435327559709549,
-0.3552449941635132,
0.3078269362449646,
0.07732533663511276,
-0.29648542404174805,
-0.14451853930950165,
-1.1035046577453613,
-0.08905123174190521,
-0.1356414407491684,
-0.2898685336112976,
-0.45980870723724365,
-0.04614914208650589,
0.4767809510231018,
-0.08350005000829697,
-0.07850737124681473,
-0.7318182587623596,
0.06507515162229538,
-0.6580096483230591,
0.671540379524231,
0.7943940162658691,
0.20170626044273376,
0.44339942932128906,
-0.26089102029800415,
0.09586462378501892,
0.2019498497247696,
0.05507415160536766,
0.09851564466953278,
0.1150418072938919,
-0.9597533941268921,
-0.21096020936965942,
0.2084759622812271,
0.12606379389762878,
-0.48316600918769836,
0.1942511647939682,
-0.2768350839614868,
-0.5682676434516907,
-0.1360481083393097,
0.23866312205791473,
0.005406385287642479,
0.7217804789543152,
0.5664486289024353,
-0.3167310953140259,
-0.4451136589050293,
-1.1259797811508179,
-0.06093662604689598,
-0.0018137237057089806,
-0.03863087296485901,
0.13907985389232635,
0.35064470767974854,
-0.19013451039791107,
0.6094504594802856,
-0.6934269666671753,
-0.0820036232471466,
0.14346767961978912,
-0.17614531517028809,
0.23184311389923096,
0.6265374422073364,
0.8638253808021545,
-0.6820578575134277,
-0.6280226707458496,
0.4740113615989685,
-0.2671249210834503,
0.1959586888551712,
-0.0835690125823021,
-0.6459378600120544,
-0.21770597994327545,
0.5337456464767456,
-0.623345673084259,
-0.0989576205611229,
0.7024466395378113,
-0.27433860301971436,
0.4872978925704956,
-0.008522816002368927,
0.1425870805978775,
-0.8816328048706055,
0.374511182308197,
0.1339246779680252,
-0.4957321584224701,
-0.5575950145721436,
0.25384047627449036,
0.09041666984558105,
-0.38737279176712036,
-0.535487711429596,
0.31995150446891785,
-0.38185226917266846,
0.25450438261032104,
-0.1338108777999878,
-0.4789976477622986,
0.31277385354042053,
0.6445171236991882,
0.014621857553720474,
0.5681442022323608,
0.6644096970558167,
-0.7516659498214722,
0.12108739465475082,
0.09745867550373077,
0.07119446247816086,
0.9466589093208313,
-0.6428786516189575,
0.3544834852218628,
-0.09225700795650482,
0.13892613351345062,
-0.7959590554237366,
-0.36363735795021057,
0.21627557277679443,
0.3757086992263794,
0.25154194235801697,
-0.1500830352306366,
-0.006991777569055557,
-0.017485875636339188,
-0.6935461759567261,
0.29329919815063477,
0.4746933579444885,
-0.5639684200286865,
0.9527730941772461,
0.021368108689785004,
-0.040760986506938934,
-0.2590264081954956,
-0.5149950385093689,
-0.13364039361476898,
-0.49980419874191284,
-0.48053091764450073,
0.6594051122665405,
-0.11539003998041153,
-0.14085444808006287,
-0.05412345379590988,
-0.47418224811553955,
-0.11904323846101761,
0.08649507910013199,
0.3141636252403259,
-0.056723736226558685,
-0.35205039381980896,
-0.13790780305862427,
0.4644472599029541,
-0.1708722561597824,
0.05727369710803032,
-0.6879495978355408,
0.17704370617866516,
-0.2314293086528778,
-0.03293454647064209,
-0.444236159324646,
0.5673888325691223,
1.2057939767837524,
-0.1841525137424469,
0.47995591163635254,
0.6917799711227417,
-0.6326391100883484,
-0.265666663646698,
-0.6397952437400818,
-0.371579647064209,
-0.592755913734436,
0.5829595327377319,
-0.603999674320221,
-0.6530925035476685,
0.3949569761753082,
-0.5554087162017822,
0.34785518050193787,
0.6640593409538269,
0.4061121642589569,
-0.2938094437122345,
1.0582330226898193,
0.9318774938583374,
0.23992404341697693,
0.5312559008598328,
-0.6595184206962585,
-0.011562473140656948,
-0.9554764032363892,
0.41421622037887573,
-0.42878973484039307,
-0.6184073686599731,
-0.48098859190940857,
-0.08862144500017166,
0.655170738697052,
0.03971698880195618,
-0.5711859464645386,
0.38062137365341187,
-0.6820349097251892,
0.6076308488845825,
0.27582812309265137,
0.38193637132644653,
0.25909286737442017,
0.4605398178100586,
0.19700860977172852,
-0.10817226767539978,
-0.5200487375259399,
-0.025410683825612068,
1.3515887260437012,
0.29243630170822144,
0.9345346689224243,
-0.18357551097869873,
0.7430039644241333,
0.012958393432199955,
-0.12911808490753174,
-0.6539946794509888,
0.4618353545665741,
-0.4478537440299988,
-0.5291054844856262,
-0.3855913579463959,
-0.29471316933631897,
-0.8806202411651611,
0.10977551341056824,
-0.40824735164642334,
-0.4357764422893524,
0.6466108560562134,
0.3600655496120453,
-0.6382236480712891,
0.3744209408760071,
-0.7618528604507446,
0.5366143584251404,
-0.10407497733831406,
-0.6371710896492004,
-0.4569815397262573,
-0.437625914812088,
0.06887985020875931,
-0.3826484978199005,
-0.0034174607135355473,
-0.18730255961418152,
-0.23389078676700592,
0.7906485795974731,
-0.4812415838241577,
0.5415290594100952,
-0.48171374201774597,
0.04723208770155907,
0.24592798948287964,
0.3577422499656677,
0.6094788908958435,
-0.16654564440250397,
-0.13828955590724945,
0.08071930706501007,
0.3216947913169861,
-0.5510414242744446,
-0.6176344156265259,
0.8106885552406311,
-0.8336129188537598,
-0.5434965491294861,
0.24644987285137177,
-0.5445471405982971,
-0.22662228345870972,
0.36263516545295715,
0.22529113292694092,
0.3800365626811981,
-0.05204898864030838,
0.6440734267234802,
0.6200351715087891,
0.3821958601474762,
0.13540707528591156,
0.2041032314300537,
-0.2766648530960083,
-0.2625822126865387,
1.2221845388412476,
0.3462456464767456,
0.37227216362953186,
0.42919421195983887,
0.4509866535663605,
0.1099846214056015,
-0.7318691611289978,
-0.5406678318977356,
-0.02319338358938694,
-0.4940062463283539,
-0.23417098820209503,
-0.5713877081871033,
0.06806015968322754,
0.3075615465641022,
-0.6716800332069397,
-0.7854657173156738,
-0.9033551216125488,
0.034425172954797745,
-0.11805285513401031,
0.5754259824752808,
0.1763308048248291,
0.10467547923326492,
0.30178728699684143,
-0.496515691280365,
0.5747234225273132,
0.6420612335205078,
0.45117244124412537,
-0.22381974756717682,
-0.2522110641002655,
-0.32337549328804016,
-0.10387951135635376,
-0.5758153200149536,
-0.505186915397644,
-0.18023313581943512,
0.8712510466575623,
0.047025151550769806,
0.49752435088157654,
0.21088220179080963,
0.818623423576355,
-0.4924769401550293,
0.34399545192718506,
0.43724411725997925,
-1.015436053276062,
0.13674017786979675,
-0.4276096522808075,
0.025632686913013458,
0.7865164875984192,
0.28936997056007385,
-0.31504443287849426,
-0.15300139784812927,
-0.5385751724243164,
-0.9188140034675598,
0.22998839616775513,
0.05407802388072014,
0.35478490591049194,
0.5823251008987427,
0.5926833748817444,
0.4853666126728058,
0.2284117192029953,
-0.35957902669906616,
-0.06353368610143661,
-0.26267752051353455,
-0.14595486223697662,
0.3787804841995239,
-0.03306237608194351,
-0.268856406211853,
-0.6574086546897888,
0.6492566466331482,
-0.5286425352096558,
0.3733624815940857,
0.3642040193080902,
0.08543016016483307,
-0.6236390471458435,
0.0080147385597229,
0.1255953162908554,
0.4762096703052521,
-0.32478469610214233,
0.27070730924606323,
0.2558622658252716,
-0.6487848162651062,
0.37061062455177307,
0.3912199139595032,
-0.020802974700927734,
-0.16569221019744873,
0.14136341214179993,
0.6255024075508118,
0.44462257623672485,
-0.26834383606910706,
0.3220394253730774,
0.10021054744720459,
-0.4677847623825073,
0.05447208136320114,
0.33256104588508606,
-0.03343350812792778,
0.11261199414730072,
0.28065672516822815,
0.5048639178276062,
0.6109636425971985,
-0.33088210225105286,
0.0561068132519722,
0.045969825237989426,
-0.2736385762691498,
-0.5706914663314819,
0.8297247886657715,
0.5406956672668457,
0.1290207952260971,
0.3907232880592346,
0.03311404958367348,
-0.16316574811935425,
0.3046139180660248,
0.37844133377075195,
0.9102823734283447,
-0.10588540136814117,
-0.23710821568965912,
0.19404521584510803,
0.14539164304733276,
-0.062169432640075684,
0.29697659611701965,
-0.21380457282066345,
-0.578670859336853,
-0.3865147531032562,
-0.5772795677185059,
-0.5831187963485718,
-0.18751800060272217,
-0.5137626528739929,
0.4068213403224945,
-0.9558002948760986,
-0.256816029548645,
0.3941609561443329,
-0.17919224500656128,
-0.8676072359085083,
-0.03226593881845474,
0.026846181601285934,
0.991341233253479,
-0.6876133680343628,
0.48803260922431946,
0.8692562580108643,
0.24521933495998383,
-0.6759763360023499,
-0.003449833020567894,
-0.3017314374446869,
-0.5241546034812927,
0.20577214658260345,
0.052994824945926666,
-0.37229785323143005,
0.5292913317680359,
-0.7111690640449524,
-0.7993028163909912,
0.8646865487098694,
1.041123628616333,
-0.9639618992805481,
-0.20978353917598724,
0.1638994663953781,
0.3192081153392792,
-0.08669931441545486,
-0.07712996006011963,
0.538720428943634,
0.5735688209533691,
-0.2761169373989105,
-1.0043741464614868,
-0.07128721475601196,
-0.07070956379175186,
0.05559851974248886,
0.5676357746124268,
-0.9171195030212402,
0.7806763052940369,
0.018624616786837578,
0.023950722068548203,
-0.13733233511447906,
0.5064903497695923,
-0.024564623832702637,
0.21195369958877563,
0.7153388261795044,
0.5254576206207275,
0.4861310124397278,
-0.15599243342876434,
0.7657350301742554,
-0.615068793296814,
0.5824488997459412,
0.36155280470848083,
-0.22391965985298157,
0.7769370079040527,
0.998127818107605,
-0.3579849898815155,
0.4539131820201874,
0.22630353271961212,
0.22076316177845,
0.5112786293029785,
0.0961483046412468,
0.10714774578809738,
-0.4912963807582855,
-0.058003395795822144,
-0.3756156861782074,
0.6420322060585022,
0.4022664725780487,
-0.23628373444080353,
-0.25445887446403503,
0.20513813197612762,
-0.17329944670200348,
0.02616634964942932,
-0.4785131812095642,
0.42884519696235657,
0.15412889420986176,
-0.4108465015888214,
1.08499014377594,
0.1538606584072113,
0.49075809121131897,
-0.59450763463974,
-0.37332943081855774,
0.04523391276597977,
0.45073968172073364,
-0.5157907605171204,
-0.4022323489189148,
0.24604827165603638,
-0.37171119451522827,
-0.30422243475914,
-0.11044840514659882,
0.7355086803436279,
-0.36989864706993103,
-0.7848459482192993,
0.015590878203511238,
0.2721739113330841,
-0.19472993910312653,
-0.28672170639038086,
-0.7030101418495178,
0.28716814517974854,
-0.2024242877960205,
-0.5762935280799866,
0.12901924550533295,
0.5251122713088989,
-0.025502044707536697,
0.4329490065574646,
0.7631221413612366,
-0.08410589396953583,
-0.07616188377141953,
-0.6253690123558044,
0.91695237159729,
-0.5158549547195435,
-0.4575869143009186,
-0.46881240606307983,
0.37480002641677856,
0.10796176642179489,
-0.48527103662490845,
0.3387949764728546,
0.6315775513648987,
0.8304735422134399,
-0.17176198959350586,
0.5100743174552917,
0.18134067952632904,
0.2592158317565918,
-0.7032899856567383,
0.5695067644119263,
-0.4907703995704651,
-0.11178813129663467,
-0.482417494058609,
-1.3626582622528076,
-0.06024888902902603,
0.5890299081802368,
-0.12748536467552185,
-0.11403903365135193,
0.7276427149772644,
0.5734236240386963,
-0.7285432815551758,
-0.0728699266910553,
0.27558743953704834,
0.21061395108699799,
0.24932348728179932,
0.6370994448661804,
0.4093456566333771,
-0.5786218643188477,
0.38742512464523315,
-0.6989240050315857,
-0.05245329067111015,
-0.25841888785362244,
-0.8127353191375732,
-0.43546319007873535,
-0.6038614511489868,
-0.693169355392456,
-0.07666631788015366,
0.21119560301303864,
1.089613914489746,
1.3564271926879883,
-0.927107572555542,
-0.2396177500486374,
-0.395097553730011,
-0.39343374967575073,
-0.6058768630027771,
-0.20500050485134125,
0.5984472632408142,
0.17968085408210754,
-0.8052822947502136,
0.038885124027729034,
0.514947235584259,
-0.06839926540851593,
-0.2694178521633148,
-0.14061696827411652,
0.3135389983654022,
0.09026535600423813,
0.5918967127799988,
0.15290676057338715,
-0.3718445301055908,
-0.5724269151687622,
0.04769212752580643,
0.258190393447876,
0.19194792211055756,
0.7559049129486084,
-0.5648944973945618,
0.4918023347854614,
0.22097887098789215,
0.9098479151725769,
0.8448265194892883,
-0.0945226401090622,
0.44945546984672546,
-0.4487453103065491,
0.23637235164642334,
0.1153237372636795,
0.4021260142326355,
0.20184478163719177,
-0.45798853039741516,
0.3931922912597656,
0.41152381896972656,
-0.42380765080451965,
-0.8848387002944946,
0.1375906765460968,
-1.1784172058105469,
0.12288448959589005,
0.7297108769416809,
0.24897804856300354,
-0.35491371154785156,
0.13584114611148834,
-0.6666184067726135,
-0.16302935779094696,
-0.4685148000717163,
0.7811723947525024,
0.6763942837715149,
-0.30114224553108215,
-0.1209431067109108,
-0.44365885853767395,
0.3104541599750519,
0.5311272144317627,
-0.6591586470603943,
0.23832279443740845,
0.21644872426986694,
0.3556372821331024,
0.2632925808429718,
0.20652540028095245,
-0.019703924655914307,
0.46080565452575684,
-0.021662291139364243,
-0.05487363785505295,
-0.23760351538658142,
-0.5164281725883484,
-0.10000716149806976,
0.38659781217575073,
0.4706760048866272,
-0.15890520811080933
] |
http://arxiv.org/abs/2405.20269v1
|
http://arxiv.org/pdf/2405.20269v1
|
IsraParlTweet: The Israeli Parliamentary and Twitter Resource
| 2024-05-30T17:21:15 | 2024-05-30T17:21:15 |
Guy Mor-Lan, Effi Levi, Tamir Sheafer, Shaul R. Shenhav
|
cs.CL
|
cs.CL
|
We introduce IsraParlTweet, a new linked corpus of Hebrew-language
parliamentary discussions from the Knesset (Israeli Parliament) between the
years 1992-2023 and Twitter posts made by Members of the Knesset between the
years 2008-2023, containing a total of 294.5 million Hebrew tokens. In addition
to raw text, the corpus contains comprehensive metadata on speakers and Knesset
sessions as well as several linguistic annotations. As a result, IsraParlTweet
can be used to conduct a wide variety of quantitative and qualitative analyses
and provide valuable insights into political discourse in Israel.
|
[
-0.49816790223121643,
-0.7208321690559387,
0.3061930239200592,
0.5870772004127502,
-0.7724779844284058,
0.19948995113372803,
-0.07725990563631058,
-0.17945435643196106,
0.8270887136459351,
0.47604164481163025,
-0.3198150396347046,
-0.228671595454216,
-0.9343752861022949,
-0.2521132230758667,
-1.0064119100570679,
0.7682420015335083,
0.39103859663009644,
0.12160874903202057,
0.2115439474582672,
-0.40157631039619446,
-0.41538721323013306,
-0.04679704084992409,
-0.6736242771148682,
-0.548976719379425,
0.5821796655654907,
0.3572565019130707,
0.7790427207946777,
0.4092215299606323,
0.4512025713920593,
0.44311484694480896,
0.03436484932899475,
-0.30667760968208313,
-0.08402415364980698,
0.06920666247606277,
-0.5669403672218323,
-0.22949343919754028,
-0.16804230213165283,
-0.21066275238990784,
0.9911746978759766,
0.444099098443985,
-0.29111507534980774,
0.46505212783813477,
0.09073513746261597,
0.897722601890564,
-0.7577560544013977,
0.5345962643623352,
-0.7543474435806274,
0.014954444020986557,
-0.6370172500610352,
-0.5424589514732361,
-0.13590680062770844,
-0.7549793720245361,
-0.12005933374166489,
-0.16632387042045593,
-0.25030168890953064,
0.13215678930282593,
0.8574661016464233,
0.19149212539196014,
-0.5389619469642639,
-0.1777491271495819,
-0.30665382742881775,
0.5382038354873657,
-0.5583639144897461,
0.2929035425186157,
0.7225643396377563,
0.5613929033279419,
-0.0560469776391983,
-0.9567803740501404,
-0.4273962080478668,
0.1224096268415451,
-0.05351927503943443,
0.07287033647298813,
-0.8777393102645874,
-0.3458165228366852,
-0.25172993540763855,
0.09297768771648407,
-0.42808791995048523,
-0.22801080346107483,
-0.49753764271736145,
-0.27609550952911377,
0.2036217600107193,
-0.18586666882038116,
0.49702149629592896,
-0.7595462799072266,
-0.5188126564025879,
0.1182878315448761,
-0.7114118933677673,
-0.1842021346092224,
0.5572706460952759,
0.14269284904003143,
-0.10881735384464264,
0.7489906549453735,
-0.11129499226808548,
0.3244720697402954,
-0.35380834341049194,
0.3405044972896576,
-0.04684145376086235,
-0.7625496983528137,
0.0683254674077034,
0.516396164894104,
0.9430932402610779,
0.37436288595199585,
0.21074457466602325,
-0.09502394497394562,
0.19953466951847076,
0.004088528919965029,
0.4212091565132141,
-0.8848909735679626,
0.013951140455901623,
0.09288853406906128,
-0.505648672580719,
-0.18920297920703888,
0.43150848150253296,
-0.7388007044792175,
-0.329706072807312,
-0.11640629917383194,
-0.016085948795080185,
-0.5999810695648193,
-0.4437650144100189,
-0.028524266555905342,
-0.4541236162185669,
0.21874183416366577,
0.44917622208595276,
-0.6630537509918213,
0.530643880367279,
0.8718387484550476,
0.8483948111534119,
0.14903590083122253,
-0.2804465591907501,
-0.9282177686691284,
0.0565204955637455,
-0.4015875458717346,
1.1889978647232056,
-0.5595963001251221,
-0.5440789461135864,
0.2628777027130127,
-0.11724571883678436,
0.09658429026603699,
-0.47076377272605896,
0.37483811378479004,
-0.7528236508369446,
-0.109882652759552,
-0.5613199472427368,
-0.5750716328620911,
-0.10272087901830673,
0.1970767378807068,
-0.7105752825737,
1.059899091720581,
0.03872213140130043,
-1.0177651643753052,
0.13736678659915924,
-0.938109815120697,
-0.19998329877853394,
0.3958764374256134,
-0.43393561244010925,
-0.13555128872394562,
0.07235969603061676,
0.07535163313150406,
0.19534635543823242,
-0.4044017195701599,
0.688097357749939,
0.20731954276561737,
-0.3129044771194458,
0.6795638799667358,
-0.3105317950248718,
0.8137757778167725,
0.29257646203041077,
-0.25081145763397217,
0.3071232736110687,
-0.8862676024436951,
-0.28489622473716736,
-0.2272564023733139,
-0.5405108332633972,
0.11740805953741074,
0.0967978984117508,
0.3938447833061218,
-0.12467056512832642,
0.28361526131629944,
-1.000970721244812,
-0.21874335408210754,
-0.3147106468677521,
0.8388573527336121,
0.7948717474937439,
0.21292056143283844,
0.4376898407936096,
-0.5510837435722351,
0.6050633788108826,
-0.08928057551383972,
0.028959834948182106,
-0.02956927753984928,
-0.9218756556510925,
-0.6441363096237183,
0.06109645962715149,
0.6449669003486633,
0.5912172794342041,
-0.3712141215801239,
0.5390651822090149,
-0.4460510015487671,
-0.530778169631958,
-0.4141239523887634,
-0.4315061569213867,
0.3099195659160614,
0.286984920501709,
0.12116765230894089,
-0.33669528365135193,
-0.6570813655853271,
-1.0950136184692383,
-0.26933613419532776,
-0.6864067912101746,
0.3526726961135864,
-0.07667730003595352,
0.5771883130073547,
0.25802430510520935,
0.8536239862442017,
0.013331514783203602,
0.14289624989032745,
-0.09084610641002655,
0.4275975525379181,
-0.023035330697894096,
0.2802840769290924,
0.5795341730117798,
-0.8306809663772583,
-0.8611770868301392,
0.21422378718852997,
-0.44373074173927307,
-0.22635069489479065,
0.2927091717720032,
-0.44830983877182007,
-0.23257911205291748,
0.5914400815963745,
-0.6127898097038269,
0.7485912442207336,
0.5588536262512207,
-0.6266438961029053,
0.33364591002464294,
0.39166367053985596,
0.3576042652130127,
-1.4819281101226807,
0.1345548927783966,
-0.6417701840400696,
-0.6119558811187744,
-0.3792914152145386,
-0.07628341019153595,
0.19879266619682312,
-0.0781126394867897,
-0.9683553576469421,
0.7330191135406494,
-0.11907888203859329,
-0.3132154941558838,
-0.4253520667552948,
0.17210893332958221,
-0.22841939330101013,
-0.07224111258983612,
-0.5847191214561462,
1.2015365362167358,
0.35189157724380493,
-0.013060443103313446,
0.5500712990760803,
0.7949813604354858,
-0.63120037317276,
0.4995517432689667,
-0.42569711804389954,
0.14040999114513397,
-0.0919225662946701,
0.28788983821868896,
-1.2382444143295288,
-0.3747676610946655,
0.3597520887851715,
-0.4642244875431061,
0.048838239163160324,
-0.3417012691497803,
-0.7754514217376709,
-0.17558836936950684,
-0.35587745904922485,
0.31600308418273926,
0.41638147830963135,
-0.05920710787177086,
0.6024014949798584,
0.6170184016227722,
-0.7120909094810486,
-0.8037291765213013,
-0.9289678931236267,
0.5483784079551697,
0.13212263584136963,
-0.5712218284606934,
0.4074856638908386,
0.10941033810377121,
-0.4169318974018097,
1.0106425285339355,
0.2829362750053406,
0.03717067092657089,
-0.03110332041978836,
0.3128412961959839,
-0.11017642170190811,
-0.2572548985481262,
0.12799759209156036,
0.04921434074640274,
-0.38169872760772705,
-0.1305776983499527,
0.10796643793582916,
1.2521058320999146,
-0.3685027062892914,
-0.7400904893875122,
-0.6796764135360718,
0.6876317858695984,
0.17516811192035675,
-0.2563058137893677,
0.8075961470603943,
0.5480462312698364,
-0.2944875955581665,
0.03421388193964958,
-0.6389339566230774,
-0.007746105547994375,
-0.4894598126411438,
0.39080846309661865,
0.10295554995536804,
-0.8605973124504089,
0.8758884072303772,
-0.11580274999141693,
0.06406576931476593,
0.3753545880317688,
0.9256314635276794,
0.18288449943065643,
0.2014748603105545,
0.09444805234670639,
-0.17906929552555084,
0.4348905086517334,
0.13724535703659058,
0.1719401478767395,
-0.541938841342926,
-0.28414568305015564,
-0.6863659024238586,
-0.44362255930900574,
-0.529252827167511,
-0.5106146931648254,
-0.026641642674803734,
-0.42617058753967285,
-0.3129176199436188,
0.3731631636619568,
-0.19233272969722748,
0.5056372284889221,
1.0227956771850586,
-0.26479795575141907,
-0.02948719449341297,
-0.24015852808952332,
0.23630103468894958,
0.102670818567276,
-0.38529160618782043,
-0.5498897433280945,
0.6639477014541626,
0.12342043966054916,
0.30292579531669617,
0.5207704305648804,
0.6348618865013123,
0.5811103582382202,
0.2802106440067291,
-0.6737107038497925,
0.6771507263183594,
0.03404257446527481,
-0.8600537180900574,
-0.13027836382389069,
-0.0509706474840641,
-1.1342182159423828,
0.2824852466583252,
0.0969899371266365,
-0.7753680944442749,
0.032754942774772644,
-0.24989722669124603,
-0.3309350311756134,
0.6772506237030029,
-0.26806530356407166,
0.46034130454063416,
0.38928356766700745,
0.06771588325500488,
-0.30406349897384644,
-0.731357216835022,
0.15008534491062164,
-0.020719313994050026,
0.29623323678970337,
-0.4761938154697418,
-0.12885013222694397,
1.0475356578826904,
-0.49239808320999146,
0.8101022243499756,
0.16200771927833557,
0.5622435212135315,
0.5278712511062622,
0.05962226539850235,
0.30704694986343384,
0.11764678359031677,
-0.33458733558654785,
-0.08417152613401413,
0.17810353636741638,
-0.7664751410484314,
-0.1736486405134201,
0.7252514362335205,
-0.9064444303512573,
-0.5477045774459839,
-0.6479161381721497,
-0.5197363495826721,
0.0047142538242042065,
0.28124675154685974,
0.1880156546831131,
0.6825472116470337,
-0.6310210824012756,
0.7122204303741455,
-0.09723073989152908,
-0.2210659235715866,
0.7278256416320801,
0.21745134890079498,
-0.45980897545814514,
-0.57852703332901,
0.6826382875442505,
0.42778462171554565,
-0.390137255191803,
0.2942964434623718,
0.43925654888153076,
-0.3935946822166443,
-0.5879517793655396,
-0.278953492641449,
0.21076753735542297,
-0.9038799405097961,
-0.5418877601623535,
-0.5071460604667664,
-0.5554990768432617,
-0.29367372393608093,
-0.0542144849896431,
-0.5508451461791992,
-0.734498918056488,
-0.0389568991959095,
-0.42290669679641724,
0.5560572743415833,
1.1099004745483398,
-0.3426336348056793,
0.8144550323486328,
-0.9290697574615479,
-0.03041549026966095,
0.3010660707950592,
0.11623969674110413,
-0.314395934343338,
-0.3316227197647095,
-0.03421153500676155,
-0.3654211759567261,
-0.40383851528167725,
-1.1352289915084839,
0.18202297389507294,
0.43702414631843567,
0.29163286089897156,
0.33260083198547363,
0.03921779617667198,
0.4749411344528198,
-0.9686938524246216,
1.2090458869934082,
0.3799682557582855,
-0.9114531874656677,
0.5628404021263123,
-0.687514066696167,
0.3781949281692505,
0.5727067589759827,
0.033788759261369705,
-0.6128806471824646,
-0.43406468629837036,
-0.7636123299598694,
-0.8335100412368774,
0.7837522029876709,
0.4322567880153656,
0.6142020225524902,
-0.2787500321865082,
0.12179192155599594,
0.2310989797115326,
0.48793354630470276,
-0.4507044851779938,
-0.2989419102668762,
-0.19890432059764862,
-0.03332877159118652,
0.3417632579803467,
-0.6277221441268921,
-0.2707993984222412,
-0.14108529686927795,
0.5727782845497131,
0.286746084690094,
0.44427064061164856,
-0.28499528765678406,
0.2617643475532532,
-0.4952234923839569,
0.5802655220031738,
0.49547433853149414,
1.1878454685211182,
-0.32346418499946594,
0.4873121976852417,
-0.1529739946126938,
-0.4506831765174866,
0.05278591066598892,
0.07521805167198181,
-0.0973384752869606,
0.2547616958618164,
0.5617598295211792,
0.9609721302986145,
0.4911596179008484,
-0.39644989371299744,
0.8482167720794678,
-0.06362070888280869,
-0.5858730673789978,
-0.9870694875717163,
-0.3145659863948822,
0.6381412744522095,
0.6138087511062622,
0.47317296266555786,
0.1863652914762497,
-0.00533207505941391,
-0.797106921672821,
0.7372921705245972,
0.12362245470285416,
-0.45207855105400085,
-0.5903999209403992,
0.6819774508476257,
-0.0051597850397229195,
-0.6506469249725342,
0.5330356955528259,
-0.18897542357444763,
-0.440858393907547,
0.21038025617599487,
0.42586156725883484,
0.6977463960647583,
-0.10498735308647156,
0.5849205255508423,
0.08266351372003555,
-0.08443941920995712,
0.33881551027297974,
0.62285315990448,
0.2591250538825989,
-0.6709681749343872,
-0.5772361159324646,
-0.8742563128471375,
-0.3875492215156555,
-0.010216068476438522,
-0.6481448411941528,
-0.051374346017837524,
-0.7282617688179016,
-0.8237316012382507,
0.1508701741695404,
-0.01268019899725914,
-0.6765583157539368,
-0.47067299485206604,
0.08485791087150574,
1.0749411582946777,
-0.8212255239486694,
0.9197869300842285,
0.7205934524536133,
-0.518984854221344,
-0.42395514249801636,
-0.2332947701215744,
0.06954348832368851,
-1.226951003074646,
0.9979944825172424,
-0.24045000970363617,
0.008174842223525047,
0.14301317930221558,
-0.294159859418869,
-0.7783286571502686,
0.9738847017288208,
0.6087884306907654,
-0.14845670759677887,
0.07586875557899475,
0.5237066149711609,
0.04785916581749916,
0.12310661375522614,
-0.03500542789697647,
0.1863195151090622,
0.7091915607452393,
0.04534757137298584,
-0.9522839784622192,
0.023960037156939507,
-0.57441246509552,
-0.1931183934211731,
0.6177160739898682,
-1.0212258100509644,
0.9991784691810608,
0.917239248752594,
-0.25672444701194763,
0.22169631719589233,
0.6928724646568298,
0.12359051406383514,
0.13130724430084229,
0.5080040693283081,
0.716978907585144,
0.5144758224487305,
-0.18407496809959412,
1.0847952365875244,
-0.46425724029541016,
0.00880336482077837,
0.7463987469673157,
-0.09984689950942993,
1.0985920429229736,
0.8813394904136658,
-0.5431545376777649,
0.3860761821269989,
0.33787670731544495,
0.31200864911079407,
0.5587949156761169,
0.299775630235672,
-0.4647662937641144,
-0.060843825340270996,
-0.6831000447273254,
-0.23600132763385773,
0.5675091743469238,
0.3328600227832794,
0.20470553636550903,
-0.8227328062057495,
0.04332830756902695,
0.2278650850057602,
0.36969202756881714,
0.004293773323297501,
0.7589202523231506,
0.3509376645088196,
-0.738981306552887,
-0.001802345970645547,
-0.11741340905427933,
0.10810986906290054,
-0.6310360431671143,
-0.0761789008975029,
0.13283969461917877,
-0.132572740316391,
0.10079701989889145,
-1.1175777912139893,
0.6219301819801331,
-0.03771742805838585,
0.42998555302619934,
-0.2483997642993927,
0.7978928089141846,
0.046888601034879684,
-0.4536825120449066,
0.44282373785972595,
0.8855122923851013,
0.2979750633239746,
0.03310658782720566,
-0.9601287841796875,
0.4694491922855377,
-0.17396247386932373,
-0.4183729588985443,
0.4324907064437866,
0.523337185382843,
0.18112006783485413,
0.4352644979953766,
0.5672695636749268,
0.4541812837123871,
0.41132697463035583,
0.24333029985427856,
1.1972241401672363,
-0.6010492444038391,
-0.4558676481246948,
-1.0777164697647095,
0.45316118001937866,
-0.21766026318073273,
-0.36844247579574585,
0.663738489151001,
0.46403026580810547,
0.3963753581047058,
0.2697678506374359,
0.9565659761428833,
-0.3218466341495514,
0.6002058982849121,
-0.5631780624389648,
0.7209859490394592,
-0.4206524193286896,
-0.10156891494989395,
0.28486087918281555,
-1.026563048362732,
-0.247660294175148,
0.5732631683349609,
-0.2683826684951782,
-0.33581724762916565,
0.6872224807739258,
0.5684139132499695,
-0.49063318967819214,
0.30292895436286926,
0.3513517379760742,
0.025224842131137848,
0.3138003349304199,
-0.2753217816352844,
1.3195490837097168,
-0.3630644381046295,
0.279649555683136,
-0.3569147288799286,
0.24498030543327332,
-0.36681506037712097,
-0.7183756232261658,
-0.8599420189857483,
-0.96736079454422,
-0.08858861774206161,
-0.31176072359085083,
0.35742607712745667,
1.259364128112793,
0.43356838822364807,
-0.9681494832038879,
-0.4038936197757721,
-0.1431417465209961,
-0.40889713168144226,
0.6003692150115967,
-0.1544744074344635,
0.812526285648346,
-0.4166698753833771,
-0.7479287981987,
0.36980322003364563,
0.4020012617111206,
-0.351285457611084,
-0.18662579357624054,
0.32476818561553955,
-0.7178382277488708,
0.3936242461204529,
0.5312187671661377,
0.05285954847931862,
-0.7483425736427307,
-0.6876584887504578,
-0.21013380587100983,
0.09267456829547882,
0.2301633208990097,
0.6136154532432556,
-0.1426771730184555,
0.16146822273731232,
0.8539162278175354,
0.8101908564567566,
0.6693729162216187,
0.2906683385372162,
0.35711896419525146,
-0.994485080242157,
0.7579123973846436,
0.3029916286468506,
0.6060146689414978,
0.41456443071365356,
0.18257756531238556,
0.657507598400116,
0.1499401330947876,
-0.723312497138977,
-0.6942774653434753,
0.3585996925830841,
-1.1717017889022827,
-0.33345967531204224,
1.019936442375183,
-0.041891977190971375,
-0.47979259490966797,
-0.34698233008384705,
-0.3350529670715332,
0.4743075668811798,
-0.8401499390602112,
0.3687610626220703,
0.9982149600982666,
0.08056648075580597,
-0.2736600935459137,
-1.0707365274429321,
0.30778294801712036,
0.4402689039707184,
-0.40623992681503296,
-0.3872736692428589,
-0.05146661773324013,
0.02200082503259182,
0.1827576607465744,
1.265595555305481,
-0.3395695090293884,
0.17031951248645782,
0.1844383180141449,
-0.3547537326812744,
0.29795360565185547,
0.08157168328762054,
0.32378891110420227,
0.16034366190433502,
0.3626113533973694,
-0.3685765862464905
] |
http://arxiv.org/abs/2405.20267v3
|
http://arxiv.org/pdf/2405.20267v3
|
Auto Arena of LLMs: Automating LLM Evaluations with Agent Peer-battles and Committee Discussions
| 2024-05-30T17:19:19 | 2024-06-12T15:53:49 |
Ruochen Zhao, Wenxuan Zhang, Yew Ken Chia, Deli Zhao, Lidong Bing
|
cs.CL
|
cs.CL
|
As LLMs evolve on a daily basis, there is an urgent need for a trustworthy
evaluation method that can provide robust evaluation results in a timely
fashion. Currently, as static benchmarks are prone to contamination concerns,
users tend to trust human voting platforms, such as Chatbot Arena. However,
human annotations require extensive manual efforts. To provide an automatic,
robust, and trustworthy evaluation framework, we innovatively propose the
Auto-Arena of LLMs, which automates the entire evaluation process with LLM
agents. Firstly, an examiner LLM devises queries. Then, a pair of candidate
LLMs engage in a multi-round peer-battle around the query, during which the
LLM's true performance gaps become visible. Finally, a committee of LLM judges
collectively discuss and determine the winner, which alleviates bias and
promotes fairness. In our extensive experiment on the 17 newest LLMs,
Auto-Arena shows the highest correlation with human preferences, providing a
promising alternative to human evaluation platforms.
|
[
-0.586409866809845,
-0.44052985310554504,
0.6008076071739197,
0.26371800899505615,
-0.11512920260429382,
0.40056711435317993,
0.1505930870771408,
-0.6292884945869446,
0.21386666595935822,
0.26504945755004883,
-0.4777739346027374,
-0.5323820114135742,
-0.5725120306015015,
0.1888573318719864,
-0.438814252614975,
0.5731722712516785,
-0.15084365010261536,
0.24881918728351593,
-0.6312822103500366,
-0.3304912745952606,
-0.26130741834640503,
-0.5027622580528259,
-0.6882758140563965,
-0.6713582873344421,
0.2635881006717682,
0.28047969937324524,
0.8019970059394836,
0.8946998715400696,
0.6553650498390198,
0.5779821276664734,
0.3784691393375397,
0.13977253437042236,
-0.268209844827652,
0.33616891503334045,
-0.2655557096004486,
-0.3527357876300812,
-0.9536811709403992,
0.4889037013053894,
0.546920120716095,
0.35312241315841675,
-0.33888083696365356,
0.3619498610496521,
0.19696570932865143,
0.7870382070541382,
-0.5132474899291992,
0.37021446228027344,
-0.8400284647941589,
0.37557271122932434,
-0.08861501514911652,
-0.5112326145172119,
-0.13974565267562866,
-0.4052782356739044,
0.012108166702091694,
-0.5813384652137756,
-0.1628437340259552,
0.3549491763114929,
0.7524540424346924,
0.6066769361495972,
-0.39910659193992615,
-0.06761330366134644,
-0.435215562582016,
0.32047519087791443,
-0.18025781214237213,
0.18809793889522552,
0.30778974294662476,
0.7758784890174866,
-0.1726711541414261,
-0.7715344429016113,
-0.32591286301612854,
-0.5120205879211426,
-0.024023791775107384,
0.30459263920783997,
-0.17728479206562042,
0.12922541797161102,
-0.25504809617996216,
0.2981606721878052,
-0.4682535231113434,
0.31757548451423645,
0.21129509806632996,
-0.45386505126953125,
1.0057936906814575,
0.6870321035385132,
0.16779619455337524,
-0.015583974309265614,
-0.5952668190002441,
-0.16962410509586334,
-0.43956366181373596,
-0.056117065250873566,
0.42429184913635254,
-0.38445478677749634,
0.2321382462978363,
0.3356368839740753,
-0.40838921070098877,
0.43746864795684814,
0.37651535868644714,
0.14230699837207794,
0.22785352170467377,
-0.2149636447429657,
-0.3378603458404541,
-0.19646649062633514,
1.0961949825286865,
0.7855528593063354,
-0.1856183558702469,
-0.38647252321243286,
-0.6060141921043396,
0.38865411281585693,
0.2666947543621063,
-0.7112432718276978,
-0.15553595125675201,
0.2335292547941208,
-0.6216722726821899,
-0.8536994457244873,
-0.06010957434773445,
-0.7309814691543579,
-0.565467119216919,
-0.42349591851234436,
0.7825645208358765,
0.22755274176597595,
0.19209328293800354,
-0.17216205596923828,
-0.03581530600786209,
0.19312924146652222,
0.6304314136505127,
-0.3598606586456299,
0.6187677383422852,
0.6170799136161804,
0.4469063878059387,
-0.4886104464530945,
-0.5253386497497559,
-0.7574674487113953,
-0.14149898290634155,
-0.2541657090187073,
1.1893900632858276,
-0.6003270149230957,
-0.4349452555179596,
-0.23620909452438354,
-0.1257065385580063,
0.07114806771278381,
-0.7580466270446777,
0.2918856143951416,
-0.7685114741325378,
0.2241559773683548,
0.003673428436741233,
-0.7068384885787964,
0.34471073746681213,
0.602291464805603,
-0.6063451170921326,
0.9555034041404724,
-0.1444355547428131,
-0.09956968575716019,
0.5912590026855469,
-0.8503537178039551,
-0.07157982140779495,
0.3553449511528015,
-0.3192717134952545,
-0.5000342726707458,
-0.2483079582452774,
0.4509608745574951,
0.23826110363006592,
-0.4613472521305084,
0.12908335030078888,
-0.49096712470054626,
-0.4512287974357605,
0.39496320486068726,
-0.39130499958992004,
0.5723932981491089,
0.2731757164001465,
-0.6797868013381958,
0.5579766631126404,
-0.4572647213935852,
0.06813907623291016,
0.025498440489172935,
-0.034496184438467026,
0.17773911356925964,
0.080205999314785,
-0.08744003623723984,
0.11892414093017578,
0.4161585569381714,
-0.30416423082351685,
0.11025307327508926,
-0.23561465740203857,
0.34690091013908386,
1.1362260580062866,
0.015441411174833775,
0.7014448046684265,
-0.6003991961479187,
0.6564477682113647,
-0.28809836506843567,
0.7477821111679077,
0.19489780068397522,
-0.4635855257511139,
-0.5934539437294006,
-0.07025671750307083,
0.34104886651039124,
0.5176922678947449,
-0.5746656060218811,
0.693390429019928,
0.006874637212604284,
-0.7135188579559326,
-0.8057501316070557,
0.30753806233406067,
0.21441791951656342,
0.4064103960990906,
-0.0905628427863121,
-0.7857410907745361,
-0.2783907353878021,
-0.9061346054077148,
-0.21738635003566742,
-0.4938410520553589,
0.025931445881724358,
0.591059148311615,
0.38949382305145264,
-0.40276971459388733,
1.0223467350006104,
-0.10904261469841003,
-0.6575831174850464,
0.14971941709518433,
0.16752873361110687,
-0.220328688621521,
0.2627222239971161,
0.4239080250263214,
-0.5143905878067017,
-0.5241567492485046,
-0.21173575520515442,
-0.7982969880104065,
-0.534694492816925,
-0.01357177458703518,
-0.4447602927684784,
0.22475755214691162,
0.5340335369110107,
-0.2847115397453308,
0.37738916277885437,
0.3805910348892212,
-0.38555362820625305,
0.4105757772922516,
-0.11981158703565598,
0.4155924320220947,
-0.6255031824111938,
0.01665661670267582,
-0.380085289478302,
-0.5824102163314819,
0.07490677386522293,
0.10126509517431259,
-0.12734752893447876,
-0.05429918318986893,
-0.3132301867008209,
0.9542222023010254,
-0.3477410674095154,
-0.4339529871940613,
-0.3937167525291443,
0.7378018498420715,
0.1753666251897812,
0.24965618550777435,
-0.032163750380277634,
0.6369028091430664,
0.46831318736076355,
-0.40775561332702637,
0.7015646696090698,
0.1926279217004776,
-0.31403738260269165,
0.7491522431373596,
-0.5533923506736755,
0.3256523013114929,
0.11491398513317108,
0.56722491979599,
-1.0984913110733032,
-0.1481724977493286,
0.3290436863899231,
-0.5599401593208313,
-0.041549261659383774,
-0.0759124606847763,
-0.5495261549949646,
-0.1273227334022522,
-0.44049394130706787,
0.13880948722362518,
0.34621500968933105,
-0.4964907169342041,
0.6152005195617676,
0.9613491296768188,
0.17417797446250916,
-0.5798671245574951,
-0.13094185292720795,
0.5556173920631409,
-0.18729208409786224,
-0.5945232510566711,
0.16837696731090546,
-0.24482424557209015,
-0.4383241832256317,
0.07128593325614929,
0.039066243916749954,
-0.16633014380931854,
0.4867887794971466,
0.5098568797111511,
0.3935330808162689,
0.1751437783241272,
-0.08080896735191345,
-0.21786557137966156,
-0.3838290870189667,
0.22873805463314056,
-0.28361231088638306,
0.21727071702480316,
-0.5614202618598938,
-0.6432668566703796,
-0.33760127425193787,
-0.017646638676524162,
0.5285487771034241,
-0.15396293997764587,
0.12055211514234543,
0.6029911637306213,
-0.4070431590080261,
-0.1410706490278244,
-0.8474060893058777,
-0.3539449870586395,
-0.5122583508491516,
0.23527690768241882,
-0.19051304459571838,
-0.8355711102485657,
0.5981775522232056,
-0.15306076407432556,
0.22876784205436707,
0.6233559250831604,
0.9985336661338806,
-0.26248008012771606,
0.9914769530296326,
0.3974071443080902,
-0.252344012260437,
0.26112207770347595,
-0.017728356644511223,
-0.4873661994934082,
-0.44250136613845825,
-0.3536173403263092,
-0.5069388151168823,
-0.6850798726081848,
-0.44487521052360535,
-0.4310282766819,
0.6852445006370544,
-0.40778982639312744,
0.04489666223526001,
0.028347184881567955,
-0.64353346824646,
0.6975224018096924,
0.22384074330329895,
-0.01489840354770422,
0.5116263031959534,
-0.3102854788303375,
-0.18544036149978638,
-0.01099370140582323,
-0.6470423936843872,
-0.7045837640762329,
1.086081862449646,
0.5559014678001404,
0.7333745360374451,
-0.25868743658065796,
0.9666008353233337,
0.701472282409668,
1.118888020515442,
-0.6698945164680481,
0.6872603893280029,
0.444984495639801,
-0.886016845703125,
-0.6146252751350403,
-0.3050555884838104,
-0.9531151056289673,
0.423173725605011,
-0.28913572430610657,
-0.4858190417289734,
0.29203543066978455,
0.11556150764226913,
-0.37183958292007446,
0.17022705078125,
-0.399888277053833,
0.8504713773727417,
-0.3640504479408264,
-0.47643548250198364,
-0.2551461160182953,
-0.7303456664085388,
0.11455366760492325,
-0.16770009696483612,
0.24428503215312958,
-0.15853296220302582,
-0.36368468403816223,
0.6434728503227234,
-0.6858871579170227,
0.6413097977638245,
-0.16295455396175385,
0.12980936467647552,
0.40782421827316284,
0.2447935938835144,
0.5162156224250793,
0.37250620126724243,
-0.1516018807888031,
0.1643231362104416,
-0.21750624477863312,
0.011389926075935364,
-0.6276276707649231,
0.6837252378463745,
-0.9547399282455444,
-0.5181987285614014,
-0.5948817133903503,
-0.2059164196252823,
-0.2989349961280823,
-0.021029241383075714,
0.008394942618906498,
0.09218132495880127,
-0.5264636278152466,
-0.030663570389151573,
0.24308757483959198,
0.041486989706754684,
0.4060680568218231,
0.7311435341835022,
-0.36048007011413574,
-0.5700021982192993,
0.5427708029747009,
-0.19805794954299927,
-0.14187757670879364,
0.2284035086631775,
0.09356077015399933,
-0.5475656390190125,
-0.45616415143013,
-0.5785115361213684,
-0.27640533447265625,
-0.622502863407135,
-0.5230861306190491,
-0.4979240596294403,
-0.01413085125386715,
0.012807085178792477,
-0.16930975019931793,
-0.64434814453125,
-0.3733370900154114,
0.15416885912418365,
-0.05788028985261917,
-0.03650194779038429,
0.8944429159164429,
-0.3199807107448578,
0.1510053128004074,
-0.6863069534301758,
0.14219988882541656,
0.7735267281532288,
0.6649401187896729,
-0.09652800112962723,
-0.3921600878238678,
-0.19523288309574127,
-0.3834189176559448,
-0.5144171714782715,
-0.7382143139839172,
0.3630501925945282,
0.09557342529296875,
0.871271550655365,
0.32385262846946716,
-0.011127199977636337,
0.6634862422943115,
-0.41899168491363525,
0.5493780374526978,
-0.07208388298749924,
-0.9924560189247131,
0.3337661325931549,
-0.11212534457445145,
-0.19394157826900482,
0.9828436970710754,
0.027264494448900223,
-0.11029957234859467,
-0.6796624660491943,
-0.5979503989219666,
-0.7920101881027222,
0.6491784453392029,
0.3486323058605194,
-0.23591962456703186,
0.16823795437812805,
0.3054278492927551,
0.03015640564262867,
0.3820217549800873,
-0.7990281581878662,
-0.3752528727054596,
-0.09340333938598633,
0.27724382281303406,
0.04491230100393295,
-0.07055382430553436,
-0.40525248646736145,
-0.11157899349927902,
0.4996996819972992,
0.0031798521522432566,
0.2706262767314911,
0.43224677443504333,
-0.32236212491989136,
-0.5928297638893127,
0.1528746336698532,
0.14141163229942322,
0.727778971195221,
-0.29068583250045776,
-0.0459476113319397,
0.5387013554573059,
-0.11370420455932617,
0.37321609258651733,
0.298748642206192,
0.14245158433914185,
-0.0646732822060585,
0.20689857006072998,
0.41867026686668396,
0.232075497508049,
-0.5491960644721985,
0.530003011226654,
-0.5109943747520447,
-0.3936975598335266,
-0.4363804757595062,
-0.014001471921801567,
0.05840146169066429,
0.5273250937461853,
0.49730733036994934,
0.05459003522992134,
0.5139283537864685,
-0.5668789148330688,
0.6418489217758179,
0.5130521655082703,
-0.5504555106163025,
0.10715711861848831,
0.9384465217590332,
0.5978450179100037,
-0.4356384873390198,
0.1545889526605606,
-0.3940948247909546,
-0.5096755623817444,
0.7377961874008179,
-0.2117832899093628,
1.2302024364471436,
-0.28956887125968933,
0.05036645755171776,
-0.038308821618556976,
0.4662810266017914,
0.19343602657318115,
-0.11668529361486435,
-0.18928925693035126,
-0.4651649594306946,
-0.32474416494369507,
-0.6583435535430908,
-0.9697805047035217,
-0.10831942409276962,
-0.3845990300178528,
0.2175700068473816,
-0.4336562156677246,
-0.35936644673347473,
-0.135824054479599,
0.4245334565639496,
-0.7240622639656067,
0.16634614765644073,
0.43474772572517395,
0.9260290265083313,
-0.48310717940330505,
0.5934647917747498,
0.7956498265266418,
0.16824603080749512,
-0.46984776854515076,
-0.33649182319641113,
0.10245633870363235,
-0.9331610202789307,
0.5945079922676086,
-0.02206084318459034,
-0.23105689883232117,
-0.30713963508605957,
-0.49346381425857544,
-0.5212922692298889,
1.3469420671463013,
0.3171481490135193,
-0.7302927374839783,
0.2160376012325287,
0.10946165025234222,
0.6502084136009216,
-0.707755446434021,
0.8418018221855164,
0.26204171776771545,
0.6987943053245544,
-0.08560528606176376,
-1.1440858840942383,
-0.06942392140626907,
-0.41744956374168396,
-0.32425588369369507,
-0.21323014795780182,
-0.943082332611084,
0.4367643892765045,
0.17615316808223724,
0.03260498121380806,
-0.03340347856283188,
0.630276083946228,
0.3300457298755646,
0.723533034324646,
0.9142282009124756,
0.28485971689224243,
0.5819866061210632,
-0.06952574104070663,
0.9517043828964233,
-0.7089510560035706,
0.3542880117893219,
1.0239391326904297,
-0.5622899532318115,
0.4882819652557373,
0.06538356095552444,
-0.18581344187259674,
0.26162126660346985,
0.7887639999389648,
-0.12437828630208969,
0.11381243914365768,
0.31207630038261414,
0.0070944796316325665,
-0.682610273361206,
0.10455947369337082,
-0.20397605001926422,
0.7456507086753845,
0.08694707602262497,
-0.1690540462732315,
-0.41273489594459534,
-0.4027184545993805,
-0.24877223372459412,
0.1521058976650238,
-0.09005726128816605,
0.9745424389839172,
0.08789776265621185,
-0.7108047008514404,
0.11578604578971863,
0.04290804639458656,
0.4515749216079712,
-0.5224438905715942,
-0.08063757419586182,
-0.2592085003852844,
0.05060729384422302,
-0.2049877792596817,
-0.6313765645027161,
0.024952055886387825,
-0.11276344954967499,
0.3715597093105316,
-0.49579793214797974,
0.8818452954292297,
-0.16180625557899475,
-0.19195707142353058,
0.49264761805534363,
0.8703562617301941,
0.2794612944126129,
-0.11138110607862473,
-1.1305116415023804,
0.12552163004875183,
-0.5253526568412781,
-0.3834327459335327,
0.5601621866226196,
0.4052090644836426,
-0.056629229336977005,
0.8394075632095337,
0.5228764414787292,
-0.0534740649163723,
-0.3611278235912323,
0.07684017717838287,
0.9338278770446777,
-0.42979109287261963,
-0.5348680019378662,
-1.0117526054382324,
0.22393524646759033,
-0.21794447302818298,
-0.08743205666542053,
0.6767536401748657,
0.720883846282959,
0.43230339884757996,
0.2551518678665161,
0.6366406679153442,
0.24318493902683258,
0.21957792341709137,
-0.06500433385372162,
1.1743769645690918,
-0.6550207734107971,
0.36539727449417114,
-0.33861014246940613,
-0.9919103384017944,
-0.03515579551458359,
0.45419275760650635,
0.0045888591557741165,
0.003822428174316883,
0.4656149446964264,
0.6723896265029907,
0.30115455389022827,
-0.31953608989715576,
0.4032580256462097,
0.11286202073097229,
0.37081003189086914,
0.5033482909202576,
1.0393328666687012,
-0.47101151943206787,
0.7786996960639954,
-0.14543598890304565,
-0.5615246891975403,
-0.4728115499019623,
-1.0153758525848389,
-0.87481689453125,
-0.4004518985748291,
-0.47451144456863403,
-0.2977728545665741,
0.15901325643062592,
1.1949818134307861,
0.660862147808075,
-0.4954880475997925,
-0.6967142224311829,
0.32046663761138916,
0.46121668815612793,
0.04834769666194916,
-0.221513569355011,
0.21120339632034302,
-0.5506194233894348,
-0.8342035412788391,
0.5014851093292236,
0.5344381332397461,
-0.24438141286373138,
-0.5529683828353882,
-0.34499895572662354,
0.29866111278533936,
0.07721909135580063,
0.38860854506492615,
-0.06302835792303085,
-0.4417824447154999,
-0.13513785600662231,
0.018549464643001556,
-0.4179346561431885,
0.14146745204925537,
0.5186046361923218,
-1.1090188026428223,
0.5893544554710388,
0.25462964177131653,
0.490381121635437,
0.2800523042678833,
-0.0038627188187092543,
0.776701807975769,
-0.26936617493629456,
-0.027580613270401955,
0.352371484041214,
0.31886690855026245,
0.017286166548728943,
-0.37365561723709106,
0.6822716593742371,
0.29503771662712097,
-0.9242852330207825,
-0.958968997001648,
-0.2411411851644516,
-0.8809211850166321,
0.1554563045501709,
0.851380467414856,
0.022514713928103447,
-0.2901786267757416,
-0.1750832498073578,
-0.15871064364910126,
0.08411671221256256,
-0.4470416307449341,
1.2274503707885742,
0.6651091575622559,
-0.19208286702632904,
0.1846640408039093,
-0.33733099699020386,
0.8239708542823792,
0.47753822803497314,
-0.9937711954116821,
-0.21440257132053375,
0.34828460216522217,
0.1931673139333725,
-0.024427805095911026,
0.9897870421409607,
-0.45338109135627747,
0.5448530316352844,
-0.06883888691663742,
0.06513406336307526,
-0.27550578117370605,
-0.24489304423332214,
-0.3138384222984314,
0.3014877140522003,
0.19876424968242645,
-0.07723016291856766
] |
http://arxiv.org/abs/2405.20253v1
|
http://arxiv.org/pdf/2405.20253v1
|
Evaluating Large Language Model Biases in Persona-Steered Generation
| 2024-05-30T17:06:03 | 2024-05-30T17:06:03 |
Andy Liu, Mona Diab, Daniel Fried
|
cs.CL
|
cs.CL
|
The task of persona-steered text generation requires large language models
(LLMs) to generate text that reflects the distribution of views that an
individual fitting a persona could have. People have multifaceted personas, but
prior work on bias in LLM-generated opinions has only explored multiple-choice
settings or one-dimensional personas. We define an incongruous persona as a
persona with multiple traits where one trait makes its other traits less likely
in human survey data, e.g. political liberals who support increased military
spending. We find that LLMs are 9.7% less steerable towards incongruous
personas than congruous ones, sometimes generating the stereotypical stance
associated with its demographic rather than the target stance. Models that we
evaluate that are fine-tuned with Reinforcement Learning from Human Feedback
(RLHF) are more steerable, especially towards stances associated with political
liberals and women, but present significantly less diverse views of personas.
We also find variance in LLM steerability that cannot be predicted from
multiple-choice opinion evaluation. Our results show the importance of
evaluating models in open-ended text generation, as it can surface new LLM
opinion biases. Moreover, such a setup can shed light on our ability to steer
models toward a richer and more diverse range of viewpoints.
|
[
-0.467303067445755,
-0.5922762751579285,
0.6781809329986572,
0.31951984763145447,
-0.016055867075920105,
-0.029490256682038307,
-0.17398862540721893,
-0.29124364256858826,
0.0740291029214859,
0.7169613838195801,
-0.8097135424613953,
-0.41564592719078064,
-0.5523306727409363,
-0.12230571359395981,
-0.05568576976656914,
1.2699592113494873,
0.3383513391017914,
0.24721910059452057,
-0.16577287018299103,
-0.10394295305013657,
-0.38044294714927673,
-0.6885845065116882,
-0.6044995188713074,
-0.874826192855835,
0.6074609160423279,
0.4352196156978607,
0.8529996275901794,
0.47543030977249146,
0.04294763505458832,
0.18900078535079956,
-0.057585589587688446,
0.0422767773270607,
-0.7810233235359192,
0.24937355518341064,
-0.37833499908447266,
-0.29116880893707275,
-0.28375181555747986,
0.20256751775741577,
0.5603282451629639,
0.9273785948753357,
0.1158326044678688,
-0.017606670036911964,
0.05357377603650093,
0.7284713983535767,
-0.4372578263282776,
0.029258299618959427,
-0.5591378808021545,
0.08832338452339172,
-0.19188906252384186,
-0.20142844319343567,
-0.6435549259185791,
-0.46220627427101135,
0.4412788152694702,
-0.35421937704086304,
0.007910709828138351,
0.31153759360313416,
0.4758509397506714,
0.07238367199897766,
-0.7987720966339111,
-0.39175882935523987,
-0.8359822630882263,
0.8753463625907898,
-0.6809312105178833,
0.37814241647720337,
0.3872663676738739,
-0.02558199316263199,
-0.3534974753856659,
-0.21532513201236725,
-0.3842265009880066,
-0.5282912254333496,
0.12026870250701904,
0.2617557942867279,
-0.004461686592549086,
0.01667492836713791,
0.34702134132385254,
0.10516980290412903,
-0.4716682434082031,
0.37583261728286743,
-0.19538207352161407,
-0.1475248634815216,
0.7459877729415894,
0.28422194719314575,
0.09721317142248154,
-0.5313775539398193,
-0.48450425267219543,
-0.23169700801372528,
-0.7295446395874023,
0.045921120792627335,
1.0820441246032715,
0.22097325325012207,
-0.08561588078737259,
0.6608245968818665,
-0.0768657997250557,
0.4792943000793457,
0.42523661255836487,
-0.32633695006370544,
0.18159398436546326,
-0.08227945864200592,
-0.20953582227230072,
-0.07327999174594879,
0.9531042575836182,
0.23503471910953522,
0.3349124789237976,
0.1437056064605713,
-0.24247702956199646,
-0.04939579591155052,
0.39287829399108887,
-0.8304135799407959,
-0.2430793046951294,
0.2855241000652313,
-0.8070017099380493,
-0.3838459849357605,
0.13270282745361328,
-0.9673147797584534,
-0.9379104375839233,
-0.22326189279556274,
-0.10965029150247574,
-0.587217390537262,
-0.24738949537277222,
0.02543608285486698,
-0.036426834762096405,
0.36816301941871643,
0.3638453483581543,
-0.9585757851600647,
0.06538426131010056,
0.7113710045814514,
0.49787506461143494,
-0.420066237449646,
-0.30882060527801514,
-0.6665939092636108,
-0.06601246446371078,
-0.38545122742652893,
0.9523524045944214,
-0.6980940699577332,
-0.6600472927093506,
0.10193004459142685,
-0.26929977536201477,
-0.006217545829713345,
-0.5861977338790894,
0.6803430914878845,
-0.2644827961921692,
0.37116363644599915,
-0.41635245084762573,
-0.5493459105491638,
-0.0337735190987587,
0.20405977964401245,
-0.6255581378936768,
0.7094544172286987,
0.2538023889064789,
-0.806683361530304,
0.6903215050697327,
-0.4094615578651428,
-0.5278398394584656,
-0.04845047742128372,
-0.42575547099113464,
-0.4962505102157593,
0.26516982913017273,
0.1510012000799179,
0.44749709963798523,
-0.3112652897834778,
0.48176243901252747,
-0.6233122944831848,
-0.01749708689749241,
0.48703134059906006,
-0.47131454944610596,
0.815757155418396,
0.1439334601163864,
-0.3929997980594635,
0.40716883540153503,
-0.5255149006843567,
-0.1880374699831009,
0.008329288102686405,
-0.5851190686225891,
-0.42322346568107605,
0.2784637212753296,
0.3525424301624298,
0.4195059835910797,
0.013272725045681,
-0.4664252996444702,
0.2613242268562317,
-0.6449118852615356,
0.17725124955177307,
1.0614871978759766,
0.17669594287872314,
0.5673642158508301,
-0.5292208790779114,
0.5821750164031982,
0.05343473330140114,
0.11823366582393646,
-0.08966612070798874,
-0.45831093192100525,
-0.7154839634895325,
-0.1552555114030838,
-0.03491700068116188,
0.3086507022380829,
-0.6402860879898071,
0.22533714771270752,
-0.1271868497133255,
-0.4819384217262268,
-0.23959752917289734,
0.10844989120960236,
0.5232532620429993,
0.3426065444946289,
-0.06573102623224258,
-0.3698536455631256,
-0.5056185126304626,
-1.2080363035202026,
-0.44617557525634766,
-0.5081912279129028,
-0.014986531808972359,
0.4267578721046448,
0.6787756681442261,
-0.23268289864063263,
0.6117358207702637,
-0.2976294159889221,
0.06108700856566429,
-0.5180244445800781,
0.23289786279201508,
-0.252064973115921,
0.286761075258255,
0.5641705989837646,
-0.7216601371765137,
-0.3383752703666687,
-0.08605226874351501,
-0.41162440180778503,
-0.07368037849664688,
-0.2949049174785614,
-0.1916748583316803,
0.326862633228302,
0.17823058366775513,
-0.6414464712142944,
0.19284485280513763,
0.49282392859458923,
-0.6516135931015015,
0.7094732522964478,
0.0031461401376873255,
-0.04527926445007324,
-0.7686436176300049,
0.00401710020378232,
0.2952500283718109,
-0.24640503525733948,
-0.620290219783783,
0.04292907938361168,
-0.22040511667728424,
0.13865597546100616,
-0.3457694947719574,
0.5925171375274658,
-0.23956993222236633,
-0.17249412834644318,
-0.17070075869560242,
0.19524569809436798,
0.029170697554945946,
0.3711963891983032,
0.04510030895471573,
0.5541277527809143,
0.09473288059234619,
-0.5799537301063538,
0.203374445438385,
0.21392619609832764,
-0.43793392181396484,
0.9543328881263733,
-0.42784103751182556,
0.12197407335042953,
-0.2741684019565582,
0.3672407567501068,
-0.9126254320144653,
-0.5087911486625671,
0.23598656058311462,
-0.16066639125347137,
0.2657909691333771,
0.15822237730026245,
-0.3801993727684021,
-0.17698372900485992,
-0.40345627069473267,
0.06651271879673004,
0.3861544132232666,
-0.5161842703819275,
0.5434830188751221,
0.666086733341217,
-0.21881034970283508,
-0.3047280013561249,
-0.4248214364051819,
-0.23453432321548462,
-0.33582568168640137,
-0.4379705488681793,
0.2159208506345749,
-0.2055828720331192,
-0.5823017954826355,
-0.3135658800601959,
-0.014894671738147736,
0.20857131481170654,
-0.11517845839262009,
0.3075287342071533,
0.27983102202415466,
0.04223860800266266,
0.21220171451568604,
-0.04247749224305153,
0.17507460713386536,
0.2388594001531601,
-0.313627153635025,
0.70965176820755,
-0.09242643415927887,
-0.4083452820777893,
-0.06303612142801285,
0.36492279171943665,
0.6467695832252502,
-0.17006714642047882,
0.6505805253982544,
0.40694937109947205,
-0.0446438267827034,
-0.3831481635570526,
-0.5516288876533508,
-0.1337944120168686,
-0.3930645287036896,
0.603327751159668,
-0.13311763107776642,
-0.8603702783584595,
0.35778486728668213,
0.06420431286096573,
0.34111326932907104,
0.4801709055900574,
0.8249835968017578,
-0.0009598926990292966,
1.3378000259399414,
0.6624758839607239,
-0.07887781411409378,
0.3939039707183838,
0.08898080885410309,
0.05728241056203842,
-0.6534110903739929,
-0.4205625057220459,
-0.5459473729133606,
-0.3735274076461792,
-0.7689405679702759,
-0.19556912779808044,
0.13534225523471832,
-0.4644518494606018,
-0.4842113256454468,
-0.2313082218170166,
-0.4351870119571686,
0.07536280900239944,
0.5459589958190918,
0.11313357949256897,
0.24746690690517426,
0.005670647136867046,
-0.16792476177215576,
-0.31537431478500366,
-0.6506443619728088,
-0.6404957175254822,
1.1414477825164795,
0.5300170183181763,
0.8910583257675171,
0.0036063813604414463,
0.5016417503356934,
0.22012408077716827,
0.6478326916694641,
-0.9198644161224365,
0.4954518973827362,
-0.23047217726707458,
-0.5559108257293701,
-0.2641572654247284,
-0.560421347618103,
-0.6695675253868103,
0.3502403795719147,
-0.4446271061897278,
-0.6237757802009583,
0.2259981781244278,
0.1912815123796463,
-0.24929700791835785,
0.315074622631073,
-0.389536052942276,
0.7492483258247375,
-0.45240768790245056,
-0.35179606080055237,
-0.15228554606437683,
-0.5026938319206238,
0.8195220828056335,
-0.07118920236825943,
0.2016163468360901,
-0.057905204594135284,
-0.05651307851076126,
0.6747585535049438,
-0.18506596982479095,
0.8674845099449158,
-0.25320976972579956,
-0.40531471371650696,
-0.038418352603912354,
0.12018213421106339,
0.4547719955444336,
0.0954885482788086,
-0.3390732407569885,
-0.08855915069580078,
-0.21448186039924622,
-0.18370790779590607,
-0.45274972915649414,
0.757989227771759,
-0.9266757369041443,
-0.5775904655456543,
-0.35583925247192383,
-0.6824857592582703,
-0.3768346309661865,
0.0727945864200592,
0.43848612904548645,
0.35888391733169556,
-0.5827593207359314,
0.15403088927268982,
0.9239131808280945,
-0.4959011971950531,
0.058418694883584976,
0.32823070883750916,
-0.5878900289535522,
-0.4108187258243561,
0.7110834717750549,
0.061556920409202576,
0.3415893316268921,
0.25673940777778625,
0.33656296133995056,
-0.24336956441402435,
-0.34982365369796753,
-0.46612292528152466,
0.20347876846790314,
-0.6541067361831665,
0.06030958890914917,
-0.5749595761299133,
-0.04021485894918442,
-0.1416102647781372,
-0.025879450142383575,
-0.382662832736969,
-0.30919572710990906,
-0.27444928884506226,
-0.036618225276470184,
-0.013238186948001385,
1.089285969734192,
0.4054977595806122,
0.470105916261673,
-0.23602992296218872,
0.21261070668697357,
0.20715178549289703,
0.2904408872127533,
-0.03114890120923519,
-0.625528872013092,
-0.04319682717323303,
-0.16480568051338196,
-0.5350131392478943,
-1.0591009855270386,
0.4455289840698242,
0.07106059044599533,
0.5247953534126282,
0.5498223900794983,
0.043771304190158844,
0.3984214663505554,
-0.48525136709213257,
0.7759950160980225,
0.20268535614013672,
-0.7117965221405029,
0.4216049313545227,
-0.5461156368255615,
0.4592117369174957,
0.40811261534690857,
0.2757633924484253,
-0.3745659291744232,
-0.6434270739555359,
-0.6644169688224792,
-0.6569921970367432,
0.6169461011886597,
-0.12915419042110443,
0.26567772030830383,
-0.06873109936714172,
0.38822999596595764,
0.4557494521141052,
0.3514466881752014,
-0.9080402255058289,
-0.46509331464767456,
-0.31378433108329773,
-0.006553672254085541,
-0.1375153660774231,
-0.43397292494773865,
-0.0687188133597374,
-0.0030105987098068,
0.7771391272544861,
-0.23815488815307617,
-0.09765935689210892,
0.059035882353782654,
0.1914069801568985,
-0.2834339737892151,
0.5390832424163818,
0.7368952631950378,
0.6617264747619629,
-0.03310135751962662,
0.08936163783073425,
-0.09512794762849808,
-0.3836371898651123,
0.11153814941644669,
-0.012854885309934616,
-0.5920341610908508,
-0.05545472353696823,
0.21825049817562103,
1.0921233892440796,
0.33829107880592346,
-0.6862759590148926,
0.5538761019706726,
-0.039158571511507034,
-0.3835814893245697,
-0.36394521594047546,
-0.01087395753711462,
0.22001025080680847,
0.25049057602882385,
0.24203602969646454,
0.19894208014011383,
0.008595568127930164,
-0.7050105333328247,
-0.0041062007658183575,
0.8665786981582642,
-0.4774113893508911,
-0.3536908030509949,
0.6345537304878235,
0.2079750895500183,
-0.37444958090782166,
0.5286253094673157,
-0.2187756448984146,
-0.3479727804660797,
0.3897913694381714,
0.5759033560752869,
1.0046792030334473,
-0.17185264825820923,
0.5065262913703918,
0.24192875623703003,
0.4396838843822479,
-0.0648735985159874,
0.10001697391271591,
0.30014124512672424,
-0.6165139675140381,
-0.3038346469402313,
-0.6827630400657654,
-0.5891265273094177,
0.4930381774902344,
-0.5688204765319824,
0.1850535273551941,
-0.7111319303512573,
-0.31474506855010986,
-0.02913108840584755,
0.027209574356675148,
-0.6091240048408508,
0.09021611511707306,
0.07811931520700455,
0.7738659381866455,
-0.7601754665374756,
0.6123492121696472,
0.8489835858345032,
-0.2905627489089966,
-0.6943579912185669,
0.34025588631629944,
0.07658519595861435,
-0.4539855420589447,
0.6421945095062256,
0.12792344391345978,
-0.08668626099824905,
-0.34811073541641235,
-0.688346803188324,
-0.5583566427230835,
0.7192159295082092,
0.5669968128204346,
-0.5212308764457703,
-0.12177126109600067,
0.0008639199077151716,
0.43265169858932495,
-0.7230048775672913,
0.20280161499977112,
0.6337587833404541,
0.5439457297325134,
-0.06433187425136566,
-0.7693132758140564,
-0.06199370324611664,
-0.02575606480240822,
0.13082817196846008,
0.12518885731697083,
-0.8258212208747864,
0.9701998829841614,
-0.2000647485256195,
-0.10823020339012146,
-0.062021397054195404,
0.6888160705566406,
0.4964781403541565,
0.1380901336669922,
0.6303884983062744,
0.26080381870269775,
0.7917999029159546,
0.19020329415798187,
1.1791560649871826,
-0.22741712629795074,
0.07603063434362411,
1.182578682899475,
-0.4667109549045563,
0.8057820200920105,
0.619536280632019,
-0.007795021403580904,
0.8068184852600098,
0.4228440225124359,
0.10039760917425156,
0.29504454135894775,
0.22893187403678894,
-0.2052345871925354,
-0.4060173034667969,
-0.09947500377893448,
-0.01986519619822502,
0.6192612051963806,
0.23842594027519226,
-0.4973556697368622,
-0.05996927246451378,
0.03787368908524513,
0.15379482507705688,
0.3856363296508789,
-0.27776041626930237,
0.695080041885376,
0.18228822946548462,
-1.0859307050704956,
0.07759886234998703,
0.15553176403045654,
0.7498462200164795,
-0.6370245218276978,
0.11721615493297577,
-0.165919229388237,
0.12751370668411255,
-0.2830032408237457,
-0.8172858357429504,
0.16010865569114685,
0.06657727062702179,
-0.4474542737007141,
-0.4276065230369568,
0.806032121181488,
-0.2179381549358368,
-0.3574163317680359,
0.2683146893978119,
0.7840597033500671,
0.04083818569779396,
-0.022374659776687622,
-0.6289675831794739,
0.0756429061293602,
0.26577097177505493,
-0.7563336491584778,
0.5959231853485107,
0.21598319709300995,
-0.01195742841809988,
0.8148660063743591,
0.5789169669151306,
0.22649535536766052,
-0.10504291951656342,
0.25252655148506165,
0.7789161801338196,
-0.5741414427757263,
-0.3810308277606964,
-0.9856756329536438,
0.4957908093929291,
-0.051783788949251175,
-0.4535280764102936,
0.9152608513832092,
0.5491670966148376,
0.9205235242843628,
-0.15533000230789185,
1.1076055765151978,
0.03579800948500633,
0.4802776575088501,
-0.44228890538215637,
0.7210068702697754,
-0.3745364248752594,
0.3635724186897278,
-0.23320770263671875,
-0.9414075613021851,
0.07601261138916016,
0.7476926445960999,
-0.553883969783783,
0.2980497181415558,
0.47174012660980225,
0.5383020639419556,
0.1002165824174881,
0.09921877831220627,
0.33743131160736084,
0.2567540407180786,
0.31011763215065,
0.5597067475318909,
0.9654111862182617,
-0.026087773963809013,
0.5098381638526917,
-0.1664789468050003,
-0.20913492143154144,
-0.047376710921525955,
-0.8781027793884277,
-1.1687264442443848,
-0.3776071071624756,
-0.14617814123630524,
-0.44441673159599304,
-0.17760677635669708,
1.0479826927185059,
0.6669425368309021,
-0.6182095408439636,
-0.4795902967453003,
0.00685708737000823,
0.2688825726509094,
0.10306030511856079,
-0.2736341059207916,
0.040454521775245667,
-0.18093819916248322,
-0.8300489187240601,
0.14127252995967865,
0.3619450032711029,
-0.34918496012687683,
-0.9523983597755432,
-0.3042515814304352,
-0.15008826553821564,
0.3249647915363312,
0.7490505576133728,
0.2076566219329834,
-0.8947964310646057,
-0.4397599697113037,
0.08129055052995682,
-0.27482134103775024,
0.0983259379863739,
0.8681961894035339,
-0.8373553156852722,
0.4089955985546112,
0.39485394954681396,
0.24029475450515747,
0.2418852597475052,
0.10962913185358047,
0.7505306601524353,
-0.6265860795974731,
-0.054856374859809875,
0.33091238141059875,
0.3100689947605133,
0.5318118929862976,
-0.27543509006500244,
0.06460998207330704,
0.09215746074914932,
-0.7581605911254883,
-0.742661714553833,
0.6794193983078003,
-0.7480546832084656,
-0.20096822082996368,
1.3359795808792114,
0.08061520010232925,
0.01815541461110115,
-0.14356069266796112,
-0.4047183394432068,
-0.041168201714754105,
-0.5797100067138672,
0.538490355014801,
0.631892740726471,
-0.3728487193584442,
-0.24568000435829163,
-0.8100771903991699,
0.510062038898468,
0.3501506447792053,
-0.9169648289680481,
0.2619389295578003,
0.8173854947090149,
0.3620031177997589,
0.00041672936640679836,
0.7745917439460754,
0.0579557940363884,
0.01159654464572668,
0.028656739741563797,
-0.06639759987592697,
0.22073215246200562,
-0.24615244567394257,
-0.38238808512687683,
0.3438982665538788,
0.3262425661087036,
0.5403909087181091
] |
http://arxiv.org/abs/2405.20252v1
|
http://arxiv.org/pdf/2405.20252v1
|
Towards Hierarchical Multi-Agent Workflows for Zero-Shot Prompt Optimization
| 2024-05-30T17:05:45 | 2024-05-30T17:05:45 |
Yuchi Liu, Jaskirat Singh, Gaowen Liu, Ali Payani, Liang Zheng
|
cs.CL
|
cs.CL
|
Large language models (LLMs) have shown great progress in responding to user
questions, allowing for a multitude of diverse applications. Yet, the quality
of LLM outputs heavily depends on the prompt design, where a good prompt might
enable the LLM to answer a very challenging question correctly. Therefore,
recent works have developed many strategies for improving the prompt, including
both manual crafting and in-domain optimization. However, their efficacy in
unrestricted scenarios remains questionable, as the former depends on human
design for specific questions and the latter usually generalizes poorly to
unseen scenarios. To address these problems, we give LLMs the freedom to design
the best prompts according to themselves. Specifically, we include a hierarchy
of LLMs, first constructing a prompt with precise instructions and accurate
wording in a hierarchical manner, and then using this prompt to generate the
final answer to the user query. We term this pipeline Hierarchical Multi-Agent
Workflow, or HMAW. In contrast with prior works, HMAW imposes no human
restriction and requires no training, and is completely task-agnostic while
capable of adjusting to the nuances of the underlying task. Through both
quantitative and qualitative experiments across multiple benchmarks, we verify
that despite its simplicity, the proposed approach can create detailed and
suitable prompts, further boosting the performance of current LLMs.
|
[
-0.22193382680416107,
-0.850415825843811,
0.7948906421661377,
0.06951697915792465,
-0.11619684100151062,
0.42414090037345886,
-0.18458320200443268,
-0.21097365021705627,
0.11854345351457596,
0.26032933592796326,
-1.0391408205032349,
-0.5877164006233215,
-0.12930534780025482,
0.5031867623329163,
0.2973167598247528,
0.8287728428840637,
-0.007647865917533636,
-0.3677164614200592,
-0.20828662812709808,
-0.15200839936733246,
-0.5451472401618958,
-0.5741604566574097,
-0.6014578342437744,
-0.417466938495636,
1.0252379179000854,
0.650630533695221,
0.8206530213356018,
0.9243500232696533,
0.16236312687397003,
0.2759822607040405,
-0.07186581194400787,
0.40347611904144287,
-0.44239768385887146,
0.6793652772903442,
-0.10452654212713242,
-0.19721809029579163,
-0.5128950476646423,
-0.22015029191970825,
0.26266810297966003,
0.7746897339820862,
-0.14980167150497437,
0.08211680501699448,
0.09552527219057083,
0.26280975341796875,
-0.8550840616226196,
0.11958123743534088,
-0.592934787273407,
0.25297433137893677,
-0.026351530104875565,
-0.7003751993179321,
-0.340338796377182,
-0.21379204094409943,
0.08431895077228546,
-0.717013418674469,
-0.04903670772910118,
0.12069445848464966,
0.7441787123680115,
0.23552122712135315,
-0.41479745507240295,
0.06328520178794861,
-0.5407045483589172,
0.9033836126327515,
-0.6530652642250061,
0.06820312142372131,
0.08726781606674194,
0.3816262483596802,
-0.38924288749694824,
-0.32245805859565735,
-0.2711053788661957,
-0.09299670159816742,
0.2777024507522583,
0.21553963422775269,
-0.3439393937587738,
0.4433267414569855,
0.28835660219192505,
0.04612583667039871,
-0.7096180319786072,
0.4658381938934326,
0.2617356479167938,
-0.353859007358551,
0.23743577301502228,
0.6574564576148987,
0.1668974608182907,
-0.15593357384204865,
-0.21405251324176788,
0.06885606050491333,
-0.6469112634658813,
0.29542648792266846,
0.1845206469297409,
0.7742493152618408,
-0.08584289997816086,
0.6721843481063843,
-0.34030523896217346,
0.517098605632782,
0.15849031507968903,
-0.47437584400177,
0.059355396777391434,
-0.28867313265800476,
-0.17619739472866058,
-0.34365659952163696,
0.7155805826187134,
0.20023374259471893,
0.15435519814491272,
-0.2721809446811676,
-0.23586508631706238,
0.009910313412547112,
0.2097320407629013,
-0.9312116503715515,
0.2555311322212219,
0.6217791438102722,
-0.03858425095677376,
-0.44194868206977844,
-0.5074411630630493,
-0.5325310230255127,
-0.5303610563278198,
-0.4078396260738373,
0.40045905113220215,
0.01685619354248047,
0.04202055186033249,
-0.08211930841207504,
-0.17686673998832703,
0.20725949108600616,
0.49470797181129456,
-0.8218246698379517,
-0.11968983709812164,
0.5278857946395874,
0.7509862184524536,
0.03979843109846115,
-0.5856921672821045,
-1.0189024209976196,
0.29258856177330017,
-0.7155250310897827,
0.7842600345611572,
-0.6695939898490906,
-0.2668519914150238,
0.12759211659431458,
-0.21636919677257538,
-0.01608959212899208,
-0.3201352655887604,
0.5301809906959534,
-0.4161292016506195,
0.3025985360145569,
-0.2932521402835846,
-0.23528185486793518,
0.1426781564950943,
0.5017315149307251,
-0.33699148893356323,
0.8716607093811035,
0.22312963008880615,
-0.5635530352592468,
0.1811555027961731,
-0.8403462171554565,
-0.2668149471282959,
0.31904101371765137,
-0.24253588914871216,
-0.11934169381856918,
0.033142197877168655,
0.3804236650466919,
0.408436119556427,
-0.6286714673042297,
0.27942654490470886,
-0.28761357069015503,
-0.27693483233451843,
-0.2450069636106491,
-0.2375062257051468,
0.6890577077865601,
0.18758296966552734,
-0.4416356086730957,
0.5467599630355835,
-0.33906811475753784,
0.2037152200937271,
0.10551042854785919,
-0.3976764678955078,
0.06572157889604568,
-0.13319748640060425,
-0.33198434114456177,
0.2980552315711975,
0.08271729946136475,
-0.5878912806510925,
0.34663987159729004,
-0.406154602766037,
0.35883042216300964,
0.8984607458114624,
0.15980766713619232,
0.6556603312492371,
-0.6323248744010925,
0.9614421129226685,
-0.04920400306582451,
0.3637025058269501,
-0.5831016898155212,
-0.4154827892780304,
-0.32417163252830505,
-0.5042084455490112,
-0.10523959249258041,
0.5638048052787781,
-1.0097010135650635,
0.4537634253501892,
0.048747625201940536,
-0.41134193539619446,
-0.5749229192733765,
0.08581961691379547,
0.2271803766489029,
0.7509673833847046,
0.03654013201594353,
-0.04604972153902054,
-0.3430262506008148,
-0.7586409449577332,
-0.10157806426286697,
-0.3230111598968506,
-0.06985754519701004,
0.48576322197914124,
0.31349658966064453,
-0.32764777541160583,
0.9775347709655762,
-0.4003635346889496,
-0.1727134883403778,
-0.3085900545120239,
0.07857269048690796,
0.38003385066986084,
0.07045339047908783,
0.48888689279556274,
-0.30113646388053894,
-0.5207551717758179,
0.015440715476870537,
-0.9092597365379333,
-0.40593230724334717,
-0.22538281977176666,
-0.4361930787563324,
0.3594234883785248,
-0.0027740185614675283,
-1.0388492345809937,
0.1687259078025818,
0.24687474966049194,
-0.023700231686234474,
0.7501139640808105,
-0.10923853516578674,
-0.06263113766908646,
-1.0338724851608276,
-0.032549891620874405,
-0.0027987807989120483,
-0.1779090017080307,
-0.7054632902145386,
0.5111813545227051,
-0.04434921219944954,
-0.44652891159057617,
-0.4371485710144043,
0.7500752806663513,
-0.6057595610618591,
0.13862310349941254,
-0.30543962121009827,
0.07912382483482361,
0.16118508577346802,
0.9998472929000854,
-0.030817551538348198,
0.764440655708313,
1.0463621616363525,
-0.3502421975135803,
0.23115667700767517,
0.16133974492549896,
0.16777175664901733,
0.7604031562805176,
-0.8665484189987183,
0.3109121024608612,
-0.5449037551879883,
0.26260513067245483,
-1.010526180267334,
-0.29704365134239197,
0.3018006682395935,
-0.4504469335079193,
-0.0069498117081820965,
-0.13953039050102234,
-0.6655226349830627,
-0.37392207980155945,
-0.7785085439682007,
0.23313279449939728,
0.5838890671730042,
-0.45229023694992065,
0.6505895853042603,
0.2512102723121643,
-0.16987068951129913,
-0.763219952583313,
-0.26836416125297546,
0.1680997610092163,
-0.2069539725780487,
-0.64273601770401,
0.2052530199289322,
-0.42634400725364685,
-0.03993244469165802,
-0.3797184228897095,
-0.29072991013526917,
-0.06507892906665802,
0.1393890380859375,
0.1654851734638214,
0.25514844059944153,
-0.2816733121871948,
-0.03151186183094978,
0.16848638653755188,
-0.11400175839662552,
-0.1928747445344925,
-0.33662235736846924,
0.4984993636608124,
0.08601577579975128,
-0.1782083809375763,
-0.5743178129196167,
0.7243896126747131,
0.7532004117965698,
-0.23186182975769043,
0.5030715465545654,
0.3565537631511688,
-0.36286312341690063,
-0.40176865458488464,
-0.21789385378360748,
-0.2075086534023285,
-0.5121020078659058,
-0.010205420665442944,
-0.44026848673820496,
-1.0957971811294556,
0.5041799545288086,
-0.0412743054330349,
0.5223137736320496,
0.06947436183691025,
0.8272177577018738,
-0.030856672674417496,
1.2643173933029175,
0.5662969946861267,
-0.051189783960580826,
0.17797645926475525,
-0.11952631175518036,
0.1210407167673111,
-0.6801171898841858,
-0.14108581840991974,
-0.7795601487159729,
-0.035171132534742355,
-0.3706548511981964,
-0.45662418007850647,
0.6040205955505371,
-0.07228107750415802,
-0.47603824734687805,
0.3290599286556244,
-0.3867702782154083,
0.6295918822288513,
0.5622110366821289,
-0.17625926434993744,
0.15443319082260132,
-0.08103907853364944,
-0.423632949590683,
-0.017866771668195724,
-0.9687870144844055,
-0.543403148651123,
0.7074962854385376,
0.27436262369155884,
0.7525370717048645,
-0.0038184369914233685,
0.7364744544029236,
0.19623419642448425,
-0.06131235510110855,
-1.0047624111175537,
0.4577600955963135,
0.4215134084224701,
-0.45027172565460205,
-0.6379066705703735,
-0.47785598039627075,
-1.3543479442596436,
0.6442009210586548,
-0.05873942747712135,
-0.6859320402145386,
0.13360756635665894,
0.010802436619997025,
-0.6084956526756287,
0.19628991186618805,
-0.4471263885498047,
0.8189693093299866,
0.04184358939528465,
-0.44178467988967896,
0.28958064317703247,
-0.7066655158996582,
-0.08749239891767502,
-0.17877459526062012,
0.22526952624320984,
-0.35024380683898926,
-0.2763080298900604,
0.21606527268886566,
-0.5751538872718811,
0.8981541991233826,
-0.2701202630996704,
-0.3753812313079834,
0.3496552109718323,
0.24992944300174713,
0.7150760293006897,
-0.24253825843334198,
-0.21109721064567566,
-0.1838415265083313,
-0.18372848629951477,
-0.6229278445243835,
-0.5756620168685913,
0.4687751233577728,
-0.7808618545532227,
-0.699163019657135,
-0.2420652210712433,
-0.7541154026985168,
-0.3870113790035248,
0.22900614142417908,
0.12361869215965271,
0.8010895848274231,
0.09070494025945663,
-0.0017648631474003196,
0.2223188281059265,
-0.17591995000839233,
0.8348596096038818,
0.5151476263999939,
0.10489194095134735,
-0.16618715226650238,
0.5518214702606201,
-0.003967722877860069,
0.08136232942342758,
0.5836206078529358,
0.441449910402298,
-0.503498911857605,
-0.5802785158157349,
-0.8163663148880005,
0.07356186956167221,
-0.6344243884086609,
-0.48022156953811646,
-0.6228382587432861,
0.0997651144862175,
-0.42648160457611084,
-0.3224087953567505,
-0.06160563975572586,
-0.23229248821735382,
-0.3492812216281891,
0.06647355109453201,
0.08765871822834015,
0.3273859918117523,
0.07430391013622284,
0.3083759546279907,
-0.8225301504135132,
0.4159352779388428,
0.39076292514801025,
0.11232078820466995,
0.23803900182247162,
-0.4677894413471222,
-0.10347100347280502,
0.028419487178325653,
-0.59247225522995,
-0.8142576813697815,
0.2986283004283905,
0.26693663001060486,
0.7493875026702881,
0.2736595869064331,
0.5106130838394165,
0.6642366647720337,
-0.7118822932243347,
0.7924062013626099,
0.14188188314437866,
-0.8130812048912048,
0.5782216191291809,
-0.8453951478004456,
0.6714575886726379,
0.5147280693054199,
0.5479106903076172,
-0.4823000729084015,
-0.6255473494529724,
-0.18728354573249817,
-0.8274789452552795,
0.6910074949264526,
0.26563841104507446,
0.41695380210876465,
-0.11382541805505753,
0.21610483527183533,
0.20554323494434357,
0.42874595522880554,
-0.4758811295032501,
-0.24822789430618286,
0.12569035589694977,
0.006691719405353069,
0.2998823821544647,
0.03855478763580322,
-0.20413309335708618,
-0.1634959578514099,
0.34733596444129944,
-0.6009169816970825,
0.09753879904747009,
0.036554861813783646,
0.0371101014316082,
-0.5962302088737488,
0.46194687485694885,
0.31025636196136475,
0.9295308589935303,
-0.05716435983777046,
0.021882314234972,
0.027922583743929863,
0.044882018119096756,
0.475318968296051,
-0.28031039237976074,
-0.11841056495904922,
-0.010615527629852295,
0.42875564098358154,
0.7257232666015625,
-0.03704104200005531,
-0.7268955707550049,
0.5787131190299988,
0.02974550798535347,
-0.3741144835948944,
0.1262243390083313,
0.13225102424621582,
-0.15633343160152435,
0.4095081388950348,
0.45888033509254456,
-0.025326784700155258,
0.10088907182216644,
-0.7076901793479919,
-0.08556143939495087,
0.4928063452243805,
-0.06577926874160767,
-0.23875637352466583,
0.6703571677207947,
0.35644081234931946,
-0.6338607668876648,
0.44708746671676636,
-0.19649851322174072,
-0.3044408857822418,
0.48254841566085815,
0.507776141166687,
1.0980547666549683,
-0.09370297193527222,
0.5789388418197632,
0.22736307978630066,
0.17706069350242615,
0.3049302399158478,
0.33802565932273865,
-0.2633509039878845,
-0.4991720914840698,
-0.7060999870300293,
-0.4449768364429474,
-0.799766480922699,
-0.08585289865732193,
-0.4144957959651947,
0.17288003861904144,
-0.47143587470054626,
-0.1740826964378357,
0.10062813013792038,
0.06166398152709007,
-0.4238150417804718,
-0.04558221623301506,
0.015438603237271309,
0.7638189792633057,
-0.41984817385673523,
0.5820120573043823,
0.7488080859184265,
-0.26104557514190674,
-0.8197740316390991,
0.04263027012348175,
0.1512029618024826,
-0.8015319108963013,
-0.04671880230307579,
0.18958443403244019,
-0.2658148407936096,
0.04566238820552826,
-0.6894358396530151,
-0.5959659218788147,
1.0706778764724731,
0.6870215535163879,
-0.4637991487979889,
-0.28045350313186646,
0.07328540086746216,
0.642495334148407,
-0.4231719672679901,
0.4395480751991272,
0.23296460509300232,
0.3339589238166809,
0.482016384601593,
-0.9509357213973999,
0.057524099946022034,
-0.2907254695892334,
0.1501781940460205,
0.19120679795742035,
-0.5492293238639832,
0.9613858461380005,
-0.4907850921154022,
-0.3629956841468811,
0.1919001042842865,
0.2865075469017029,
0.5934440493583679,
0.24534937739372253,
0.3779103755950928,
0.26525264978408813,
0.8887966275215149,
0.17669124901294708,
1.265973448753357,
-0.2378130555152893,
0.15817874670028687,
0.8238762617111206,
-0.5644038915634155,
0.5661547780036926,
0.3866787254810333,
0.13802777230739594,
0.494502454996109,
0.868269681930542,
0.33635324239730835,
0.4293760359287262,
0.26969674229621887,
-0.2877229154109955,
-0.4328545033931732,
-0.5988131165504456,
-0.13821277022361755,
0.25435981154441833,
-0.25021857023239136,
0.19270434975624084,
-0.6339989304542542,
-0.14719752967357635,
0.21933822333812714,
-0.008308627642691135,
-0.3047305941581726,
0.9103811979293823,
-0.10646887123584747,
-0.7035672664642334,
0.9224017858505249,
0.17893782258033752,
0.6914144158363342,
-0.5913856625556946,
0.026712000370025635,
-0.6132352948188782,
-0.29194748401641846,
-0.018715469166636467,
-0.6196359395980835,
-0.06283003836870193,
0.27566373348236084,
-0.17780135571956635,
-0.3859978914260864,
0.629851222038269,
-0.3563148081302643,
0.010860796086490154,
0.21493962407112122,
1.025907039642334,
0.2960052490234375,
-0.3178624212741852,
-0.6591641902923584,
-0.057191554456949234,
-0.3712143003940582,
-0.21546196937561035,
0.3264705240726471,
0.7353865504264832,
-0.13614726066589355,
0.7333754301071167,
0.6721909046173096,
0.04214705154299736,
-0.16550299525260925,
0.35237741470336914,
0.8243468999862671,
-0.6666072010993958,
-0.5936377644538879,
-1.047082543373108,
0.5868324041366577,
0.14373162388801575,
-0.258102685213089,
0.626643717288971,
0.35580945014953613,
0.44833922386169434,
0.026769589632749557,
0.667064368724823,
0.2510123550891876,
0.32634851336479187,
-0.11817485094070435,
0.3316860795021057,
-0.7518109083175659,
0.035218220204114914,
-0.5141456723213196,
-1.0580291748046875,
-0.31325942277908325,
0.24971427023410797,
0.3344908356666565,
0.07908503711223602,
0.7206708788871765,
0.8670120239257812,
0.2839052379131317,
-0.10115662217140198,
0.5289193391799927,
-0.2588007152080536,
0.3079974949359894,
0.8312596678733826,
1.1364976167678833,
0.018055442720651627,
0.541030764579773,
-0.17190636694431305,
-0.3146194815635681,
-0.03003275766968727,
-0.9812871813774109,
-1.0611099004745483,
-0.4054619073867798,
-0.18119604885578156,
0.18458396196365356,
-0.027710774913430214,
1.365502119064331,
1.0424087047576904,
-0.40088212490081787,
-0.5221885442733765,
0.14256305992603302,
0.3256952166557312,
-0.09312359243631363,
-0.17625579237937927,
0.03886959329247475,
-0.6125231981277466,
-0.683615505695343,
0.5469383597373962,
0.5244005918502808,
0.052942655980587006,
-0.21353664994239807,
-0.2831989526748657,
0.12666812539100647,
0.4239475131034851,
0.963403582572937,
0.19382821023464203,
-0.6178584694862366,
-0.22286181151866913,
0.3228430449962616,
-0.3066275715827942,
0.3310568630695343,
0.8028604984283447,
-0.6158035397529602,
0.25704503059387207,
0.47166961431503296,
0.9069424867630005,
0.005241489037871361,
0.09467063099145889,
0.5530927181243896,
-1.0737656354904175,
-0.11108527332544327,
0.5038015842437744,
0.10535089671611786,
0.16890236735343933,
-0.40232908725738525,
0.4671279788017273,
0.02786867693066597,
-0.5737947225570679,
-0.9399896264076233,
0.21398542821407318,
-1.029942512512207,
-0.38354262709617615,
1.138613224029541,
-0.006974559742957354,
-0.27125629782676697,
-0.24400225281715393,
-0.4408905804157257,
-0.010146868415176868,
-0.780051052570343,
0.6211072206497192,
0.5408435463905334,
-0.48914459347724915,
-0.3802518844604492,
-0.29850274324417114,
0.24338947236537933,
0.4359438121318817,
-1.0894670486450195,
0.29122671484947205,
0.7608283162117004,
-0.11080104857683182,
0.009796048514544964,
0.9648253917694092,
0.15564939379692078,
0.4184647798538208,
-0.12832532823085785,
-0.0543944351375103,
-0.21877096593379974,
-0.8202681541442871,
-0.3814394176006317,
0.4941314458847046,
0.3995882570743561,
-0.19163402915000916
] |
http://arxiv.org/abs/2405.20245v1
|
http://arxiv.org/pdf/2405.20245v1
|
Retrieval Augmented Structured Generation: Business Document Information Extraction As Tool Use
| 2024-05-30T16:54:42 | 2024-05-30T16:54:42 |
Franz Louis Cesista, Rui Aguiar, Jason Kim, Paolo Acilo
|
cs.CL
|
cs.CL, cs.AI, cs.IR, cs.LG
|
Business Document Information Extraction (BDIE) is the problem of
transforming a blob of unstructured information (raw text, scanned documents,
etc.) into a structured format that downstream systems can parse and use. It
has two main tasks: Key-Information Extraction (KIE) and Line Items Recognition
(LIR). In this paper, we argue that BDIE is best modeled as a Tool Use problem,
where the tools are these downstream systems. We then present Retrieval
Augmented Structured Generation (RASG), a novel general framework for BDIE that
achieves state of the art (SOTA) results on both KIE and LIR tasks on BDIE
benchmarks.
The contributions of this paper are threefold: (1) We show, with ablation
benchmarks, that Large Language Models (LLMs) with RASG are already competitive
with or surpasses current SOTA Large Multimodal Models (LMMs) without RASG on
BDIE benchmarks. (2) We propose a new metric class for Line Items Recognition,
General Line Items Recognition Metric (GLIRM), that is more aligned with
practical BDIE use cases compared to existing metrics, such as ANLS*, DocILE,
and GriTS. (3) We provide a heuristic algorithm for backcalculating bounding
boxes of predicted line items and tables without the need for vision encoders.
Finally, we claim that, while LMMs might sometimes offer marginal performance
benefits, LLMs + RASG is oftentimes superior given real-world applications and
constraints of BDIE.
|
[
-0.2780793011188507,
-0.9590415358543396,
0.4837321937084198,
0.03767935186624527,
-0.28654322028160095,
0.061206694692373276,
-0.018910596147179604,
-0.818456768989563,
-0.08497349172830582,
0.6833949089050293,
-0.4253008961677551,
-0.2858797311782837,
-0.636505663394928,
0.1347767412662506,
-0.5269350409507751,
0.8465277552604675,
0.2393062710762024,
-0.2601757347583771,
0.001991182565689087,
-0.12539751827716827,
-0.5092160105705261,
-0.2865547835826874,
-0.49162960052490234,
-0.378162682056427,
0.29543206095695496,
0.27909332513809204,
0.8554139733314514,
0.5880938172340393,
0.6175011992454529,
0.30710941553115845,
0.1494232714176178,
0.3945664167404175,
-0.31106653809547424,
0.34313324093818665,
-0.3901750147342682,
-0.056910254061222076,
-0.46511343121528625,
0.027653302997350693,
0.5435983538627625,
0.7264584302902222,
-0.01429894007742405,
0.263863205909729,
0.08281314373016357,
0.6979327201843262,
-0.6319705247879028,
0.03069579415023327,
-0.594818115234375,
-0.296169638633728,
-0.16967831552028656,
-0.47871753573417664,
-0.6953247785568237,
-0.26666373014450073,
0.16046461462974548,
-0.37108439207077026,
0.33837658166885376,
0.4226239025592804,
1.4547942876815796,
0.09920978546142578,
-0.2770389914512634,
-0.6549748182296753,
-0.7502849698066711,
0.7267424464225769,
-0.47099554538726807,
0.8339993357658386,
0.21769846975803375,
0.3430899381637573,
-0.2696007192134857,
-1.183243989944458,
-0.37020695209503174,
0.04903769865632057,
-0.1793597787618637,
0.051230426877737045,
-0.16012908518314362,
0.20100736618041992,
0.7201701998710632,
0.6566107273101807,
-0.47734177112579346,
-0.18170247972011566,
-0.5493865609169006,
-0.010814264416694641,
0.6392799615859985,
-0.0936693474650383,
0.24673649668693542,
-0.30134880542755127,
-0.550787627696991,
0.016533590853214264,
-0.7654032111167908,
0.0068864780478179455,
0.11685774475336075,
0.09643115103244781,
0.23476864397525787,
0.7356224656105042,
0.04983007162809372,
0.7799561023712158,
0.0870976373553276,
-0.1848812699317932,
0.2730349600315094,
-0.26217588782310486,
-0.6414496898651123,
-0.013280615210533142,
0.5804002285003662,
0.22479641437530518,
0.09215191006660461,
-0.36157262325286865,
-0.6177728176116943,
-0.21868731081485748,
0.2780969440937042,
-1.1456520557403564,
-0.2551116943359375,
0.0070325229316949844,
-0.6156967282295227,
0.022889219224452972,
-0.05838018283247948,
-0.7602359056472778,
-0.3666864037513733,
-0.23524589836597443,
0.48446476459503174,
-0.36421293020248413,
0.037659529596567154,
-0.09079685807228088,
-0.4030415415763855,
0.4944557845592499,
0.4104495644569397,
-0.8388250470161438,
0.2244405597448349,
0.4820365905761719,
1.0210838317871094,
0.17366088926792145,
0.2745915651321411,
-0.9763118028640747,
0.3013797998428345,
-0.32804739475250244,
0.7531167268753052,
-0.5583690404891968,
-0.7266050577163696,
-0.15371009707450867,
0.0038855907041579485,
0.18274368345737457,
-0.5885455012321472,
0.2867840528488159,
-0.635714590549469,
0.1456286460161209,
-0.3595752418041229,
-0.44119468331336975,
-0.1270267367362976,
0.25344419479370117,
-0.8298396468162537,
1.1095824241638184,
0.2846931517124176,
-0.6499006748199463,
0.7358582019805908,
-0.566988468170166,
-0.3449939787387848,
0.664590060710907,
-0.4660188555717468,
-0.615564227104187,
0.29641813039779663,
0.0548614040017128,
0.38673916459083557,
-0.5016229748725891,
0.2237694263458252,
-0.07566633820533752,
-0.41480547189712524,
-0.07641614228487015,
-0.27742326259613037,
0.7193502187728882,
0.35461270809173584,
-0.035408057272434235,
-0.19805565476417542,
-0.7844679355621338,
0.11920315772294998,
-0.13430139422416687,
-0.644356369972229,
-0.37940436601638794,
0.12339780479669571,
0.3115512728691101,
0.1404375284910202,
0.45622050762176514,
-0.870445728302002,
0.20153900980949402,
-0.4591571092605591,
0.09039074182510376,
0.576240062713623,
0.10137198865413666,
0.2334449738264084,
-0.22683197259902954,
0.2358628511428833,
-0.25632444024086,
-0.2629093825817108,
-0.10364749282598495,
-0.3440997302532196,
-0.26664385199546814,
-0.7633904814720154,
0.3973633348941803,
0.42145633697509766,
-0.8327953815460205,
0.3697035312652588,
-0.19881571829319,
-0.23273445665836334,
-0.5393392443656921,
0.16332599520683289,
0.3288865387439728,
0.49644628167152405,
0.29794514179229736,
-0.3442772924900055,
-0.7263513207435608,
-0.9527165293693542,
-0.21723009645938873,
0.05323539674282074,
-0.1786385327577591,
0.36126595735549927,
0.21685990691184998,
-0.3003652095794678,
0.9572139978408813,
-0.443695604801178,
-0.2058362066745758,
-0.5730209350585938,
0.4123761057853699,
0.22111518681049347,
0.2552933096885681,
0.4143153131008148,
-1.0975481271743774,
-0.45229002833366394,
0.2598362863063812,
-0.6703835129737854,
-0.19920937716960907,
-0.016098331660032272,
0.0074796066619455814,
0.47459250688552856,
0.580925464630127,
-0.34129682183265686,
0.7590292692184448,
0.31246477365493774,
-0.2864189147949219,
0.4936470091342926,
-0.25805583596229553,
0.0035556452348828316,
-1.0628951787948608,
0.4797509014606476,
0.14607007801532745,
-0.4674702286720276,
-0.671979546546936,
0.06776969879865646,
0.23547148704528809,
-0.39349088072776794,
-0.08658567070960999,
0.8442448973655701,
-0.6280087232589722,
-0.6595802903175354,
-0.335558146238327,
0.12339454144239426,
0.4150225520133972,
0.46106842160224915,
0.07421594858169556,
1.0061876773834229,
0.11890255659818649,
-0.49082717299461365,
0.32022160291671753,
0.48446381092071533,
-0.5194326043128967,
0.6419929265975952,
-0.6731460094451904,
0.3606724441051483,
-0.29451969265937805,
-0.18455007672309875,
-0.9249851107597351,
0.06286352872848511,
-0.08564354479312897,
-0.43855345249176025,
0.5899288058280945,
-0.17884598672389984,
-0.6722517609596252,
-0.06965284049510956,
-0.13522137701511383,
0.19402045011520386,
0.557084858417511,
-0.5597642064094543,
0.8100272417068481,
0.15734441578388214,
-0.3394760489463806,
-0.5267908573150635,
-0.6369911432266235,
0.03128327056765556,
0.033684633672237396,
-0.6888591647148132,
0.3630779981613159,
0.03160053864121437,
-0.19583411514759064,
0.09365236759185791,
-0.4762018024921417,
-0.005478330422192812,
0.1338970810174942,
0.1190967932343483,
0.47095513343811035,
-0.1596612185239792,
-0.012735986150801182,
-0.1451611965894699,
0.078206367790699,
-0.18030819296836853,
-0.0529257133603096,
0.519950807094574,
-0.13458983600139618,
-0.048770491033792496,
0.09131453186273575,
0.43554601073265076,
0.34759148955345154,
-0.48062384128570557,
0.39593541622161865,
0.6349077224731445,
-0.4625377953052521,
0.004604813642799854,
-0.7485933899879456,
0.20322439074516296,
-0.5333078503608704,
0.48965513706207275,
-0.5578615665435791,
-0.4235115945339203,
0.35913416743278503,
-0.23396670818328857,
0.40481674671173096,
0.0989459902048111,
0.42179200053215027,
-0.011862671002745628,
0.9954818487167358,
0.8980832099914551,
0.17777439951896667,
0.7132307291030884,
-0.4594796299934387,
0.5190743207931519,
-0.9810105562210083,
-0.5528221130371094,
-0.7017872929573059,
-0.44851481914520264,
-0.6379084587097168,
0.02626202069222927,
0.524826169013977,
0.15945853292942047,
0.1884392946958542,
0.21541814506053925,
-0.2840198874473572,
0.21720631420612335,
0.40421774983406067,
0.09023131430149078,
0.21489685773849487,
0.04152368754148483,
-0.01535555999726057,
0.14043886959552765,
-0.4524970054626465,
-0.4653552174568176,
0.9711018204689026,
0.27416694164276123,
0.7381863594055176,
0.018192589282989502,
0.8441339135169983,
0.4069610834121704,
0.3197907507419586,
-1.0595539808273315,
0.6283864378929138,
-0.42536741495132446,
-0.548969030380249,
-0.33508017659187317,
-0.3821171224117279,
-1.0790029764175415,
0.04577518254518509,
-0.11735798418521881,
-0.875641405582428,
0.5168270468711853,
0.01890956610441208,
-0.1956397294998169,
0.13967226445674896,
-0.7603408694267273,
0.6816518306732178,
-0.16128459572792053,
-0.7582216858863831,
0.05768609791994095,
-0.49092015624046326,
0.018539676442742348,
0.043037135154008865,
0.26374122500419617,
0.06434294581413269,
0.046299099922180176,
0.756125271320343,
-0.4683103561401367,
0.0845879465341568,
-0.30841004848480225,
0.1879010945558548,
0.18093115091323853,
0.11046195030212402,
0.5709928274154663,
-0.24983321130275726,
-0.23374344408512115,
-0.11108572781085968,
0.18422549962997437,
-0.546168863773346,
-0.806982159614563,
0.3583246171474457,
-0.4207983911037445,
-0.5166877508163452,
-0.3542640209197998,
-0.7603761553764343,
-0.10849318653345108,
0.5280742049217224,
0.3415111303329468,
0.9311766624450684,
0.08427277952432632,
0.525924563407898,
0.602523148059845,
-0.0653003677725792,
0.46079912781715393,
0.21599194407463074,
-0.08532901853322983,
-0.37679189443588257,
0.8315634727478027,
0.2718445062637329,
0.22299601137638092,
0.3930090069770813,
0.05147894099354744,
-0.49130281805992126,
-0.5772942304611206,
-0.4711514413356781,
0.17766454815864563,
-0.6934770345687866,
-0.3571036458015442,
-0.5164203643798828,
-0.453011691570282,
-0.2449072301387787,
-0.2867501378059387,
0.04035383090376854,
-0.12469218671321869,
0.08548320829868317,
-0.017838312312960625,
0.06733763217926025,
0.8022202253341675,
0.08499891310930252,
0.17766080796718597,
-0.8422547578811646,
0.4882875978946686,
0.19078826904296875,
0.3604434132575989,
-0.2729220688343048,
-0.12472279369831085,
-0.47024258971214294,
-0.027530089020729065,
-0.36049172282218933,
-0.9630298614501953,
0.5477876663208008,
0.13452006876468658,
0.5216546058654785,
0.17902405560016632,
-0.201168030500412,
0.7905511260032654,
-0.2656264007091522,
0.5043540000915527,
0.0001493996533099562,
-0.7324569821357727,
0.2924996614456177,
-0.12427780032157898,
0.04109082370996475,
0.6055588126182556,
0.2974083125591278,
-0.4231492280960083,
0.014163931831717491,
-0.6992030143737793,
-0.9608718752861023,
0.6302841305732727,
-0.007234262768179178,
-0.3630622327327728,
-0.13044843077659607,
0.31411904096603394,
0.07190802693367004,
0.570064902305603,
-0.5068085789680481,
0.1850067675113678,
-0.020626872777938843,
-0.33545905351638794,
0.2112397402524948,
-0.4225538671016693,
0.2743836045265198,
0.2233944833278656,
0.5213331580162048,
0.1146133542060852,
0.3343160152435303,
0.49317845702171326,
-0.32869774103164673,
-0.12093572318553925,
0.3055921196937561,
0.04860352352261543,
0.7146157622337341,
-0.568259060382843,
-0.00558827118948102,
-0.13402198255062103,
-0.6816259622573853,
-0.07662729918956757,
0.23533198237419128,
-0.3050142228603363,
0.08013340085744858,
0.20236621797084808,
0.6605467796325684,
0.13607224822044373,
-0.6239129304885864,
0.3868521451950073,
0.19912299513816833,
-0.18263977766036987,
-0.10604652762413025,
-0.16967689990997314,
-0.6022322773933411,
0.3781641125679016,
0.5145092010498047,
-0.0355561263859272,
0.49961695075035095,
-0.8781341910362244,
0.3283345103263855,
0.6770172715187073,
-0.15546336770057678,
-0.05238590016961098,
0.38085436820983887,
0.03969412297010422,
-0.529839038848877,
0.5703716278076172,
-0.45635005831718445,
-0.321810781955719,
0.31148162484169006,
0.494637131690979,
0.8226017951965332,
-0.11816861480474472,
-0.15336725115776062,
0.23355679214000702,
0.2618722915649414,
-0.15824897587299347,
0.49288108944892883,
-0.3391399085521698,
-0.5568915009498596,
-0.35909032821655273,
-0.7243343591690063,
-0.4132942855358124,
0.36137494444847107,
-0.5473817586898804,
0.5789722204208374,
-0.6808264255523682,
0.043769292533397675,
0.0366477333009243,
0.6081674695014954,
-0.8372908234596252,
0.24564169347286224,
-0.17207100987434387,
0.9502058029174805,
-0.6484346389770508,
0.6278926730155945,
0.6960771679878235,
-0.5372276902198792,
-0.815062403678894,
-0.035718586295843124,
-0.3675253391265869,
-0.642586886882782,
0.7027466297149658,
0.16577638685703278,
-0.06911073625087738,
0.24206413328647614,
-0.41242071986198425,
-0.7241419553756714,
1.257712483406067,
-0.054482802748680115,
-0.5354316830635071,
-0.5998629331588745,
-0.3111823499202728,
0.2865004241466522,
-0.20440036058425903,
0.13776157796382904,
0.5723980069160461,
0.38149839639663696,
0.5001176595687866,
-0.7861689925193787,
0.08802861720323563,
-0.3121921718120575,
0.03503118455410004,
0.5252240896224976,
-0.29425564408302307,
0.6069647669792175,
0.06306707859039307,
-0.45748189091682434,
0.12165593355894089,
0.3966973125934601,
0.41085514426231384,
0.5988010764122009,
0.2768550217151642,
0.4958215653896332,
0.6471964120864868,
-0.023781251162290573,
0.9096388220787048,
-0.07063222676515579,
0.08466032892465591,
0.7321445345878601,
-0.4278712570667267,
0.7555750608444214,
0.28954827785491943,
0.1510782688856125,
0.5522785782814026,
0.184779554605484,
-0.17225255072116852,
0.5411389470100403,
-0.11982860416173935,
0.0369989350438118,
0.011416498571634293,
-0.00877312570810318,
-0.08068569004535675,
0.3514384627342224,
0.6513887047767639,
-0.3557715117931366,
-0.3942548930644989,
-0.06650268286466599,
-0.04130548983812332,
0.06442919373512268,
-0.39780858159065247,
0.8940048217773438,
0.024774469435214996,
-0.49937885999679565,
0.4904232919216156,
0.12091302871704102,
0.37814298272132874,
-0.6057832837104797,
-0.294747918844223,
-0.10986611992120743,
-0.01675405539572239,
-0.40060925483703613,
-0.6510051488876343,
0.524124026298523,
-0.00638637924566865,
0.0191115140914917,
-0.4569559097290039,
1.1029067039489746,
-0.3742934763431549,
-0.3870527744293213,
0.05105990171432495,
0.42556655406951904,
0.15403050184249878,
0.11914210021495819,
-0.32636934518814087,
0.03532296046614647,
-0.11248830705881119,
-0.28254175186157227,
0.24140912294387817,
0.7491644620895386,
-0.16058102250099182,
0.5013204216957092,
0.5933899879455566,
0.3902449607849121,
-0.007687968667596579,
-0.1539246141910553,
0.776100754737854,
-0.7126729488372803,
-0.489231139421463,
-0.6377644538879395,
0.4927707314491272,
-0.32762348651885986,
0.19808606803417206,
0.49977779388427734,
0.9029031991958618,
0.6177130341529846,
0.23961569368839264,
0.8982274532318115,
-0.24874360859394073,
0.5503475666046143,
-0.6542648077011108,
0.42604199051856995,
-0.6923735737800598,
0.24883608520030975,
-0.3416709005832672,
-1.0351794958114624,
0.016881847754120827,
0.5738795399665833,
-0.4862886667251587,
0.05960826203227043,
0.7507599592208862,
0.7456810474395752,
-0.23266297578811646,
-0.1510300487279892,
0.5414349436759949,
0.11427184194326401,
0.5185055732727051,
0.3734493851661682,
0.41292136907577515,
-0.484392374753952,
0.564226508140564,
0.13387268781661987,
-0.2831120193004608,
-0.37665456533432007,
-0.6998534202575684,
-0.815140962600708,
-0.7242085933685303,
-0.1439065933227539,
-0.44709512591362,
0.1679452806711197,
0.9774393439292908,
0.5378236174583435,
-0.30106019973754883,
-0.276347815990448,
0.04572219029068947,
0.06849965453147888,
0.06628917902708054,
-0.22706153988838196,
0.22992852330207825,
-0.3334827721118927,
-0.5547239184379578,
0.30612725019454956,
0.5965392589569092,
0.13154089450836182,
-0.027640748769044876,
0.124241404235363,
-0.38701239228248596,
0.1930791288614273,
0.628341794013977,
0.4140867590904236,
-0.34946340322494507,
-0.5261923670768738,
0.06554944813251495,
-0.03729657083749771,
0.020424561575055122,
0.7546788454055786,
-0.8471740484237671,
0.4060576856136322,
0.635449230670929,
0.8200704455375671,
0.772209644317627,
0.31094664335250854,
0.4901786744594574,
-1.0898473262786865,
0.29710298776626587,
0.13662120699882507,
0.5072169303894043,
0.41679126024246216,
-0.4225788712501526,
0.5685327649116516,
0.21606388688087463,
-0.6226556301116943,
-0.9947344064712524,
0.5666388273239136,
-0.904129147529602,
-0.12191075831651688,
1.0084927082061768,
-0.03642335534095764,
-0.4261898398399353,
-0.3332456648349762,
-0.41873008012771606,
0.20540209114551544,
-0.3655261695384979,
0.5853580236434937,
0.5265990495681763,
0.01778826303780079,
-0.2764284610748291,
-0.5207809209823608,
0.45008835196495056,
-0.02755236066877842,
-0.6080211997032166,
-0.06752479076385498,
0.7347609996795654,
0.1857764571905136,
0.2554210424423218,
0.8281729817390442,
-0.2772570848464966,
0.47178009152412415,
-0.10377582907676697,
0.13042201101779938,
-0.3979281783103943,
-0.5033372640609741,
-0.05141616612672806,
0.2090718299150467,
0.31022074818611145,
-0.26133182644844055
] |
http://arxiv.org/abs/2405.20218v1
|
http://arxiv.org/pdf/2405.20218v1
|
ESG-FTSE: A corpus of news articles with ESG relevance labels and use cases
| 2024-05-30T16:19:02 | 2024-05-30T16:19:02 |
Mariya Pavlova, Bernard Casey, Miaosen Wang
|
cs.AI
|
cs.AI, cs.CL
|
We present ESG-FTSE, the first corpus comprised of news articles with
Environmental, Social and Governance (ESG) relevance annotations. In recent
years, investors and regulators have pushed ESG investing to the mainstream due
to the urgency of climate change. This has led to the rise of ESG scores to
evaluate an investment's credentials as socially responsible. While demand for
ESG scores is high, their quality varies wildly. Quantitative techniques can be
applied to improve ESG scores, thus, responsible investing. To contribute to
resource building for ESG and financial text mining, we pioneer the ESG-FTSE
corpus. We further present the first of its kind ESG annotation schema. It has
three levels: a binary classification (relevant versus irrelevant news
articles), ESG classification (ESG-related news articles), and target company.
Both supervised and unsupervised learning experiments for ESG relevance
detection were conducted to demonstrate that the corpus can be used in
different settings to derive accurate ESG predictions. Keywords: corpus
annotation, ESG labels, annotation schema, news article, natural language
processing
|
[
-0.3262909948825836,
-0.8073026537895203,
0.5237286686897278,
0.1663569211959839,
-0.29647770524024963,
0.137044295668602,
-0.06041330844163895,
-0.5701788663864136,
0.5625492930412292,
0.48673003911972046,
-0.20818597078323364,
-0.8075993657112122,
-0.7403202652931213,
0.045696742832660675,
-0.7228834629058838,
1.118850588798523,
0.4501133859157562,
-0.1038292944431305,
-0.20032455027103424,
-0.23888447880744934,
0.12854184210300446,
-0.39243635535240173,
-0.809228777885437,
0.2076600044965744,
0.33554959297180176,
0.0959964469075203,
0.4779126048088074,
0.5697154402732849,
0.38555729389190674,
0.17674770951271057,
-0.5770450234413147,
0.06512848287820816,
-0.47639167308807373,
-0.017958592623472214,
-0.3290846645832062,
-0.0519343838095665,
0.007026791572570801,
0.19518935680389404,
0.3640521168708801,
0.4041609466075897,
-0.2798476815223694,
0.43455561995506287,
0.19624555110931396,
0.5048435926437378,
-0.39455777406692505,
0.4646202325820923,
-0.6428833603858948,
-0.15708649158477783,
-0.29577741026878357,
-0.361028790473938,
-0.4908616244792938,
-0.02184157818555832,
0.07118304073810577,
-0.7803568243980408,
0.2940573990345001,
0.3435114920139313,
0.8983567953109741,
0.2778822183609009,
-0.4164241552352905,
-0.40772444009780884,
-0.2358805388212204,
0.8192668557167053,
-0.21325169503688812,
0.5093487501144409,
0.3657488226890564,
0.011471590027213097,
0.16120387613773346,
-0.7099730372428894,
-0.03405723720788956,
0.07138854265213013,
-0.32179760932922363,
0.08503440767526627,
-0.17545682191848755,
-0.04112163558602333,
0.13620643317699432,
0.2056671530008316,
-0.3019060492515564,
-0.05810981243848801,
-0.751244068145752,
-0.38101911544799805,
0.4183647334575653,
-0.2677527368068695,
-0.03449691832065582,
-0.1876521110534668,
-0.6004807949066162,
0.019914880394935608,
-0.9220173358917236,
-0.03572477400302887,
0.6970123648643494,
0.5195207595825195,
0.07890794426202774,
0.45124301314353943,
-0.19193263351917267,
0.37280505895614624,
0.18150821328163147,
0.08830732852220535,
0.3473242223262787,
-0.2793880105018616,
0.12082013487815857,
0.44024574756622314,
0.171918123960495,
0.5640643239021301,
0.02921547181904316,
-0.15694080293178558,
-0.09483543038368225,
0.02431180328130722,
0.5430884957313538,
-0.6341940760612488,
0.11455094814300537,
0.280497670173645,
-0.5211356282234192,
-0.5751441717147827,
0.35186508297920227,
-0.7592446208000183,
-0.30038055777549744,
-0.21204905211925507,
0.22625617682933807,
0.021380212157964706,
-0.1175951361656189,
0.19618600606918335,
-0.5798428058624268,
0.470145583152771,
0.17215083539485931,
-0.8112146258354187,
0.005696294363588095,
0.7792434692382812,
0.501277506351471,
0.2108076810836792,
-0.1256035417318344,
-0.6203266382217407,
0.44112563133239746,
0.07762832939624786,
1.0813497304916382,
-0.5766483545303345,
-0.4233371913433075,
0.13927164673805237,
0.11751393973827362,
0.34500837326049805,
-0.06241197884082794,
0.8367610573768616,
-0.4542497396469116,
0.24062128365039825,
-0.42371997237205505,
-0.6922512054443359,
-0.37798458337783813,
0.0494823232293129,
-0.6424505710601807,
1.2542604207992554,
0.070643849670887,
-0.9427134990692139,
0.8020532131195068,
-1.017009973526001,
-0.52122563123703,
0.23092317581176758,
-0.19765636324882507,
-0.2735828757286072,
-0.019466135650873184,
0.3840337097644806,
0.42371249198913574,
-0.180514395236969,
0.17562852799892426,
-0.33072996139526367,
-0.2968640625476837,
-0.17355257272720337,
-0.08990729600191116,
0.3881407380104065,
0.08801175653934479,
-0.06093952804803848,
-0.06282538920640945,
-0.6658465266227722,
-0.16123415529727936,
-0.08325657248497009,
0.11822345852851868,
-0.5372046828269958,
0.3931943476200104,
0.3908367455005646,
-0.007347780279815197,
0.36830735206604004,
-0.5420474410057068,
-0.2656829059123993,
0.06293018162250519,
0.9369770884513855,
0.7910817265510559,
0.4090478718280792,
0.4648415446281433,
-0.11327061057090759,
0.3602302372455597,
-0.16131873428821564,
0.10199751704931259,
-0.1529432237148285,
-0.5468164086341858,
-0.19431623816490173,
-0.031817853450775146,
0.40006640553474426,
0.601377010345459,
-0.2954522371292114,
0.38870665431022644,
-0.04863652214407921,
-0.5724120736122131,
-0.32728737592697144,
-0.28441160917282104,
-0.2555595338344574,
0.31398969888687134,
0.4658430814743042,
0.24361145496368408,
-0.4762338399887085,
-1.1267359256744385,
-0.6551663279533386,
-0.3491722047328949,
-0.2682221233844757,
0.28027579188346863,
0.3673522472381592,
-0.23620165884494781,
0.8287643194198608,
-0.512189507484436,
-0.3045641779899597,
0.188557967543602,
0.4170486032962799,
0.19793660938739777,
0.0649365708231926,
0.7665214538574219,
-0.9378113746643066,
-0.17566318809986115,
0.07070114463567734,
-0.36369168758392334,
-0.2630958557128906,
-0.17046836018562317,
0.0001542181707918644,
0.03671078383922577,
0.9196034669876099,
-0.17880363762378693,
0.14936426281929016,
0.3273344039916992,
-0.5708529949188232,
0.14515724778175354,
-0.03368949890136719,
0.29283538460731506,
-0.8684709072113037,
0.015652276575565338,
0.3615841567516327,
-0.37727758288383484,
-0.23439553380012512,
-0.15746892988681793,
0.1250075250864029,
-0.2681196928024292,
-0.4469856023788452,
0.642556369304657,
-0.12275916337966919,
-0.13728027045726776,
-0.015474405139684677,
0.36920851469039917,
0.1527053415775299,
-0.01321970671415329,
0.061084017157554626,
0.8037999272346497,
0.588499128818512,
-0.3807202875614166,
-0.14302614331245422,
0.14180946350097656,
-0.01321666594594717,
0.6637907028198242,
-0.5465904474258423,
-0.005081627517938614,
-0.31343719363212585,
-0.11652402579784393,
-0.9748616218566895,
0.11180011928081512,
-0.2866334319114685,
-0.3463391065597534,
-0.008475840091705322,
0.03552067279815674,
-0.5256206393241882,
-0.33039069175720215,
-0.4382684826850891,
-0.30531615018844604,
0.2294018715620041,
-0.450740247964859,
0.5634151101112366,
0.7793493270874023,
-0.34373387694358826,
-0.5180777907371521,
-0.7432708740234375,
-0.0763617530465126,
-0.677313506603241,
-0.5593127012252808,
0.5085483193397522,
0.28831517696380615,
-0.05836710333824158,
0.48118504881858826,
-0.36161714792251587,
0.18100270628929138,
0.3698941767215729,
0.1415555477142334,
0.07022766768932343,
0.0039021330885589123,
0.200425922870636,
0.21676120162010193,
-0.31220242381095886,
0.14826497435569763,
-0.1060047522187233,
0.009027703665196896,
-0.47496333718299866,
0.07393360882997513,
0.18747633695602417,
0.552459180355072,
0.4240287244319916,
-0.27926257252693176,
0.8083053827285767,
0.7408223748207092,
-0.7127200961112976,
-0.11931437253952026,
-0.44653236865997314,
-0.2632584869861603,
-0.4550742208957672,
0.40372443199157715,
0.06276322156190872,
-1.2323392629623413,
0.6819552779197693,
-0.08046384900808334,
0.10712584108114243,
1.10842764377594,
0.039798591285943985,
-0.24864670634269714,
0.6653369069099426,
0.8262699246406555,
-0.08881402015686035,
0.543907880783081,
0.06526203453540802,
0.4936482608318329,
-0.412130206823349,
-0.07040420174598694,
-0.6218849420547485,
-0.3205653429031372,
-0.6938137412071228,
0.13699570298194885,
0.2957153022289276,
0.21467375755310059,
-0.22074994444847107,
0.6409462690353394,
-0.583686113357544,
0.7263640761375427,
0.3133975565433502,
-0.04011974483728409,
0.050480715930461884,
0.09131215512752533,
0.18734633922576904,
-0.05751840025186539,
-0.5181707143783569,
-0.92610764503479,
1.0275392532348633,
0.46827343106269836,
0.5218222737312317,
-0.13164854049682617,
0.6469612121582031,
0.9353209733963013,
0.5962077379226685,
-0.43290629982948303,
0.2992141842842102,
-0.2959924340248108,
-0.6665111184120178,
-0.1945330798625946,
-0.18913057446479797,
-0.6777822375297546,
-0.041380081325769424,
-0.25793349742889404,
-0.6469016075134277,
-0.004677743650972843,
-0.2585708200931549,
-0.8662025928497314,
0.16074858605861664,
-0.8338943719863892,
0.7730485200881958,
-0.18043416738510132,
-0.28527534008026123,
-0.23117463290691376,
-0.3923981785774231,
-0.1693047434091568,
0.0009958036243915558,
0.30452269315719604,
-0.051489874720573425,
-0.23407839238643646,
0.8511959910392761,
0.00902710109949112,
0.7305461764335632,
-0.09557132422924042,
0.06909704953432083,
0.4715687036514282,
-0.4819376468658447,
0.4945777654647827,
0.48332011699676514,
-0.1046261340379715,
0.4411962628364563,
0.07576408237218857,
-0.5351485013961792,
-0.04322337359189987,
0.6882274150848389,
-0.5585118532180786,
-0.5383148193359375,
-0.8018194437026978,
0.03223193809390068,
-0.04735859856009483,
0.05464603751897812,
0.019323157146573067,
-0.11928946524858475,
-0.41047900915145874,
0.5919181108474731,
0.5177243947982788,
-0.14835327863693237,
0.3827199339866638,
0.40188392996788025,
-0.07418318837881088,
-0.6008942127227783,
0.4061739146709442,
0.2692681550979614,
-0.13774921000003815,
0.2890161871910095,
0.2181287705898285,
-0.6888984441757202,
-0.40328410267829895,
-0.1501728594303131,
-0.03252355009317398,
-0.6463499665260315,
-0.4616377651691437,
-0.5747202038764954,
-0.3294469118118286,
-0.39061686396598816,
-0.6043218374252319,
-0.22526222467422485,
-0.08227940648794174,
-0.6460955739021301,
-0.8323487043380737,
0.906463086605072,
0.684577226638794,
-0.22210484743118286,
0.17440840601921082,
-0.7703224420547485,
0.12445741146802902,
0.2867015600204468,
0.3534822165966034,
-0.7550195455551147,
-0.13640238344669342,
-0.3390290439128876,
0.06252581626176834,
-0.34683552384376526,
-0.976692259311676,
0.14394652843475342,
0.16158750653266907,
0.6409341096878052,
0.5879722237586975,
-0.07843703031539917,
0.32804372906684875,
-0.21309635043144226,
0.9553012251853943,
-0.10814475268125534,
-0.9492513537406921,
0.6557883620262146,
-0.5965259671211243,
-0.34343358874320984,
0.8136366009712219,
0.4300815761089325,
-0.6700588464736938,
-0.20758144557476044,
-1.0982768535614014,
-1.3045294284820557,
0.35198071599006653,
0.09567263722419739,
-0.08286076039075851,
-0.5370597243309021,
0.567428469657898,
0.19505596160888672,
0.39328816533088684,
-0.6547899842262268,
-0.27058202028274536,
0.15621566772460938,
0.12083896994590759,
0.14426696300506592,
-0.4634278416633606,
0.08046296238899231,
0.07846806943416595,
0.8836572766304016,
-0.012752021662890911,
0.20788675546646118,
0.21256795525550842,
0.06393076479434967,
-0.11808672547340393,
0.19114159047603607,
0.3393215239048004,
0.5280206203460693,
-0.4037472605705261,
-0.007597245275974274,
0.3102788031101227,
-0.29509237408638,
-0.22854083776474,
0.4117264747619629,
-0.28314080834388733,
-0.012153667397797108,
-0.0395577996969223,
0.45411166548728943,
0.4108666181564331,
-0.5761079788208008,
0.38804998993873596,
-0.0103905089199543,
-0.2755896747112274,
-0.47852182388305664,
-0.2083122879266739,
0.18034672737121582,
0.32011330127716064,
0.6369432210922241,
0.11483818292617798,
0.34647199511528015,
-0.6113793849945068,
0.6361322402954102,
0.07069741189479828,
-0.49633899331092834,
0.012117382138967514,
1.0193891525268555,
0.4798814356327057,
0.013396347872912884,
0.2780592739582062,
-0.4564366340637207,
-0.5918603539466858,
0.7826067805290222,
0.27808478474617004,
0.8797105550765991,
-0.026140421628952026,
0.2947618067264557,
0.46943753957748413,
0.49133265018463135,
-0.40381374955177307,
0.47522979974746704,
0.18462544679641724,
-0.6136603355407715,
-0.4400879740715027,
-0.6387014985084534,
-0.4564255475997925,
0.10378441959619522,
-0.5909455418586731,
0.654245138168335,
-0.24897249042987823,
-0.25754314661026,
0.13931286334991455,
0.15212945640087128,
-0.5978009104728699,
-0.022853273898363113,
0.4093131124973297,
0.988946795463562,
-1.162085771560669,
0.3528777062892914,
0.7757499814033508,
-0.1638474315404892,
-0.16510336101055145,
-0.11451065540313721,
-0.07042641937732697,
-0.43988555669784546,
0.14081625640392303,
0.49622464179992676,
0.05881790071725845,
-0.05633453652262688,
-0.30165231227874756,
-0.6846017837524414,
1.3143386840820312,
0.0888761430978775,
-0.48405641317367554,
0.32023221254348755,
0.07083318382501602,
0.43083086609840393,
-0.3229520916938782,
0.03637230023741722,
0.47547972202301025,
0.8329366445541382,
-0.25531643629074097,
-0.3960113823413849,
-0.20415528118610382,
-0.274445116519928,
-0.27979183197021484,
0.5490944385528564,
-0.7864543795585632,
0.35606396198272705,
0.038717154413461685,
-0.18798714876174927,
-0.2597716748714447,
0.7493683695793152,
0.13858160376548767,
0.5168238282203674,
0.49238863587379456,
0.796217679977417,
0.9347102642059326,
-0.5049266815185547,
0.9957585334777832,
-0.6618237495422363,
0.7163062691688538,
0.7637913227081299,
-0.2928292155265808,
0.8619773983955383,
0.5013871192932129,
-0.31254297494888306,
-0.01957619935274124,
0.9522591829299927,
-0.017280660569667816,
0.6718037128448486,
0.17518474161624908,
-0.20908841490745544,
-0.19760969281196594,
-0.2590838074684143,
-0.4345203936100006,
0.31458842754364014,
0.8029291033744812,
-0.6674069762229919,
-0.45905840396881104,
-0.30021288990974426,
-0.13862252235412598,
0.18285802006721497,
-0.4576530456542969,
0.45057493448257446,
0.04427332058548927,
-0.03787275776267052,
-0.5026810169219971,
0.20496198534965515,
0.6967058181762695,
-0.6467441916465759,
0.08889323472976685,
-0.005749170668423176,
-0.2625115215778351,
-0.10037639737129211,
-1.0421956777572632,
0.799975574016571,
-0.006163331214338541,
0.11617235094308853,
-0.7983379364013672,
0.9531701803207397,
-0.4086209535598755,
-0.4468313455581665,
0.3729220926761627,
0.4817339777946472,
-0.08493571728467941,
-0.42029425501823425,
-0.4713840186595917,
-0.529397189617157,
-0.02448158897459507,
-0.35067254304885864,
0.05834081023931503,
0.7854238152503967,
0.20429398119449615,
0.05416954308748245,
0.814072847366333,
-0.20804983377456665,
-0.22824500501155853,
-0.106788769364357,
0.6555880308151245,
-1.006595253944397,
-0.9292371273040771,
-0.6682419180870056,
0.263281911611557,
-0.364489883184433,
-0.5994139313697815,
0.5370630025863647,
0.7893370389938354,
0.7803170680999756,
0.032333746552467346,
0.773098886013031,
-0.05045631527900696,
0.32788434624671936,
-0.33946794271469116,
0.8293663263320923,
-0.35511499643325806,
0.22429704666137695,
-0.04505596682429314,
-0.8660084009170532,
-0.33845943212509155,
0.7165176272392273,
-0.4190109372138977,
-0.09427747130393982,
0.5797997713088989,
0.7066786289215088,
-0.0360129214823246,
0.6141562461853027,
0.231174036860466,
-0.01948537304997444,
0.034623272716999054,
0.11741778254508972,
0.4753521978855133,
-0.39546990394592285,
0.2986431121826172,
-0.14579902589321136,
0.1807241588830948,
-0.25580090284347534,
-1.2982486486434937,
-0.6288740038871765,
-0.6925327181816101,
-0.628649115562439,
-0.20695854723453522,
0.06437752395868301,
0.8384853005409241,
0.42601749300956726,
-0.8042183518409729,
0.3787820637226105,
-0.10386833548545837,
0.03927790746092796,
-0.3542933166027069,
-0.3097398579120636,
0.4639238119125366,
-0.09097182005643845,
-0.41530048847198486,
0.13067035377025604,
0.7307555675506592,
-0.09672031551599503,
-0.14103107154369354,
0.3836677372455597,
-0.21055680513381958,
0.13689161837100983,
0.7182599902153015,
0.10931812971830368,
-0.28317728638648987,
-0.8162620663642883,
0.07443369925022125,
0.01602226123213768,
-0.11224755644798279,
0.4952020049095154,
-0.5515592694282532,
-0.1444258689880371,
0.38700661063194275,
0.8766282200813293,
0.5596778392791748,
-0.04442591592669487,
0.06480887532234192,
-0.847956657409668,
0.173074871301651,
0.18829871714115143,
0.5648660063743591,
0.1495557278394699,
-0.7534119486808777,
0.7839098572731018,
0.13468146324157715,
-0.47491365671157837,
-0.38498756289482117,
-0.09454523026943207,
-1.0138168334960938,
-0.08896437287330627,
1.4079780578613281,
0.21721836924552917,
-0.46179232001304626,
0.023494064807891846,
-0.2328508496284485,
-0.17650139331817627,
-0.8370331525802612,
0.8558311462402344,
1.1034162044525146,
0.16870731115341187,
0.019838757812976837,
-0.617621898651123,
0.3213239014148712,
0.1492423713207245,
-0.6966625452041626,
0.004977475386112928,
0.2165609449148178,
0.03745171055197716,
0.282174289226532,
0.28211167454719543,
-0.262135773897171,
0.15975138545036316,
0.10436580330133438,
-0.004378890618681908,
-0.07463448494672775,
-0.2873687148094177,
-0.09434427320957184,
0.4198826551437378,
-0.22910499572753906,
-0.20176441967487335
] |
http://arxiv.org/abs/2405.20215v3
|
http://arxiv.org/pdf/2405.20215v3
|
TS-Align: A Teacher-Student Collaborative Framework for Scalable Iterative Finetuning of Large Language Models
| 2024-05-30T16:17:40 | 2024-06-14T08:23:33 |
Chen Zhang, Chengguang Tang, Dading Chong, Ke Shi, Guohua Tang, Feng Jiang, Haizhou Li
|
cs.CL
|
cs.CL
|
Mainstream approaches to aligning large language models (LLMs) heavily rely
on human preference data, particularly when models require periodic updates.
The standard process for iterative alignment of LLMs involves collecting new
human feedback for each update. However, the data collection process is costly
and challenging to scale. To address this issue, we introduce the "TS-Align"
framework, which fine-tunes a policy model using pairwise feedback data
automatically mined from its outputs. This automatic mining process is
efficiently accomplished through the collaboration between a large-scale
teacher model and a small-scale student model. The policy fine-tuning process
can be iteratively repeated using on-policy generations within our proposed
teacher-student collaborative framework. Through extensive experiments, we
demonstrate that our final aligned policy outperforms the base policy model
with an average win rate of 69.7% across seven conversational or
instruction-following datasets. Furthermore, we show that the ranking
capability of the teacher is effectively distilled into the student through our
pipeline, resulting in a small-scale yet effective reward model for policy
model alignment.
|
[
-0.22746340930461884,
-0.27170509099960327,
0.5000542998313904,
-0.21383479237556458,
-0.05491041764616966,
0.23765264451503754,
-0.7753489017486572,
0.2411201298236847,
0.05992008000612259,
0.49479174613952637,
-0.5820202231407166,
-0.4321513772010803,
-0.39052721858024597,
-0.23993363976478577,
-0.16984544694423676,
0.9096043705940247,
-0.027288373559713364,
0.0792895257472992,
-0.15475749969482422,
-0.03495015576481819,
-0.6396170854568481,
0.09035205096006393,
-0.7209237217903137,
-0.6565930843353271,
0.3797834515571594,
1.1620566844940186,
0.954059362411499,
0.8218082189559937,
0.4767507016658783,
0.34222427010536194,
0.18868783116340637,
0.1178569346666336,
-0.5628299117088318,
-0.010768154636025429,
-0.5993150472640991,
-0.22561928629875183,
-0.32634836435317993,
-0.05933432653546333,
0.8174512386322021,
0.780880868434906,
-0.5312963128089905,
0.1489376574754715,
0.33852580189704895,
0.42491817474365234,
-0.20660635828971863,
-0.18709038197994232,
-0.6103387475013733,
-0.1589815318584442,
-0.26217493414878845,
-0.046078573912382126,
-0.5016516447067261,
-0.676250696182251,
0.2294919788837433,
-0.3218382000923157,
0.07374067604541779,
0.022790290415287018,
0.9259474277496338,
0.21236851811408997,
-0.4013094902038574,
-0.07603968679904938,
-0.39202314615249634,
1.0737698078155518,
-0.7446414232254028,
0.2897343933582306,
0.2700847387313843,
0.4419374465942383,
-0.15400516986846924,
-0.2816884517669678,
-0.561639130115509,
-0.13643480837345123,
-0.01508434396237135,
-0.08730390667915344,
0.09562109410762787,
0.1261177659034729,
-0.18248534202575684,
0.4010535478591919,
-0.5975022912025452,
0.6465848088264465,
-0.3240785300731659,
-0.11002501845359802,
0.6162922978401184,
0.38375431299209595,
0.22168424725532532,
-0.1432744860649109,
-0.3658702075481415,
-0.1577918827533722,
-0.4335893988609314,
0.07263985276222229,
0.4032418727874756,
0.977985143661499,
-0.16165383160114288,
0.7338461875915527,
-0.1858498603105545,
0.799462616443634,
0.23903053998947144,
-0.1212422177195549,
-0.012249170802533627,
-0.41851282119750977,
-0.03592830151319504,
0.2765953838825226,
1.0102239847183228,
0.5875595808029175,
0.2787824273109436,
-0.3207502067089081,
-0.2604242265224457,
0.4376985430717468,
0.10876275599002838,
-0.6092517375946045,
-0.1810396909713745,
0.1281806379556656,
0.018030382692813873,
-0.6886311173439026,
-0.2875056862831116,
-0.7722593545913696,
-0.4973803162574768,
-0.7904050350189209,
0.6375815868377686,
-0.07817724347114563,
-0.4688781201839447,
0.24197345972061157,
0.1523171365261078,
0.1556498110294342,
0.12903767824172974,
-1.100316047668457,
0.41995593905448914,
0.9223880767822266,
0.9216492176055908,
-0.4235535264015198,
-0.5395565032958984,
-0.5491310358047485,
0.17307423055171967,
-0.2521877586841583,
0.519249439239502,
-0.7174833416938782,
-0.2213405966758728,
0.03267384320497513,
-0.08621111512184143,
0.021288152784109116,
-0.33567407727241516,
0.3611313998699188,
-0.13790570199489594,
0.44914570450782776,
-0.3357647955417633,
-0.692610502243042,
0.464901864528656,
0.3623042106628418,
-0.4127468764781952,
1.0743242502212524,
0.24772188067436218,
-0.37076473236083984,
0.43103262782096863,
-0.5582389831542969,
-0.07356208562850952,
-0.062080200761556625,
-0.1722886562347412,
-0.5463417768478394,
-0.17793431878089905,
0.1166597306728363,
0.3778844475746155,
-0.5857968926429749,
0.8281750679016113,
-0.4801015555858612,
-0.346396267414093,
-0.05669763311743736,
-0.1296236664056778,
0.7399914264678955,
0.21195252239704132,
-0.4346577525138855,
0.4599694013595581,
-0.4514707028865814,
0.14795540273189545,
-0.10336625576019287,
-0.170979842543602,
-0.21785680949687958,
-0.15525026619434357,
-0.08970388025045395,
0.14387406408786774,
0.3124847412109375,
-0.5864546298980713,
0.7055854797363281,
-0.2279014140367508,
0.7277944087982178,
1.1528644561767578,
-0.302074134349823,
0.9780837893486023,
-0.4938789904117584,
0.3596518039703369,
-0.18916825950145721,
0.024019429460167885,
0.09661882370710373,
0.01800079271197319,
-0.5529037714004517,
-0.14793545007705688,
0.45108556747436523,
0.08938758075237274,
-0.21721278131008148,
0.39516350626945496,
-0.755862295627594,
-0.5291225910186768,
-0.7941931486129761,
0.30693551898002625,
0.2667366564273834,
0.6695043444633484,
0.17641043663024902,
-0.2251908928155899,
-0.4627780020236969,
-0.6484911441802979,
-0.19991382956504822,
0.10576978325843811,
0.16570338606834412,
0.15092934668064117,
0.05316752567887306,
-0.1049310639500618,
1.2004504203796387,
-0.49559396505355835,
-0.5326997637748718,
-0.029991144314408302,
0.02824319526553154,
0.04151357710361481,
0.8517730236053467,
0.2752526104450226,
-0.178493469953537,
-0.6508819460868835,
0.14956586062908173,
-0.362762987613678,
-0.1700722873210907,
0.1751219481229782,
-0.34017249941825867,
0.22692744433879852,
0.34907591342926025,
-0.11735086143016815,
-0.21742641925811768,
0.6854797005653381,
-0.49757879972457886,
0.1383809745311737,
-0.06329729408025742,
0.1659928262233734,
-1.3739774227142334,
-0.13564760982990265,
0.05390086770057678,
-0.418158620595932,
-0.2208878993988037,
0.023116057738661766,
0.05205504223704338,
-0.2767100930213928,
0.06917431950569153,
0.4990653097629547,
-0.19918954372406006,
-0.1015000268816948,
-0.13338878750801086,
0.5013512969017029,
-0.1626003086566925,
0.48331591486930847,
-0.0030335565097630024,
0.8344506621360779,
0.43408212065696716,
-0.33643659949302673,
0.26023977994918823,
0.12911422550678253,
-0.2447248250246048,
0.9916064739227295,
-0.356280118227005,
0.18189404904842377,
0.19091565907001495,
0.03195154666900635,
-0.9753788113594055,
-0.30545857548713684,
-0.23121564090251923,
-0.14249157905578613,
0.23366913199424744,
-0.18687759339809418,
-0.4225095510482788,
-0.31053534150123596,
-0.38810962438583374,
0.054487958550453186,
0.22425924241542816,
-0.8694040775299072,
0.6351733803749084,
0.46818414330482483,
0.010865275748074055,
-0.5345408916473389,
-0.4156316816806793,
0.1600017249584198,
-0.23457585275173187,
-0.5850037932395935,
0.3970561921596527,
-0.038773395121097565,
-0.09783287346363068,
0.2481936812400818,
-0.12048102915287018,
0.04477653652429581,
0.034149669110774994,
0.014070277102291584,
0.3189943730831146,
-0.24130278825759888,
0.11420682817697525,
-0.06730587035417557,
-0.19175614416599274,
-0.44410404562950134,
-0.48687443137168884,
0.759637713432312,
-0.34949907660484314,
-0.2032526433467865,
-0.5620965957641602,
0.06685258448123932,
0.6617286801338196,
-0.18104733526706696,
0.4409245252609253,
0.3274419903755188,
-0.36783963441848755,
-0.17697995901107788,
-0.5720991492271423,
-0.37732309103012085,
-0.5319269895553589,
0.13305391371250153,
-0.28814998269081116,
-0.8161885142326355,
0.2549927234649658,
-0.14691810309886932,
0.2390137016773224,
0.23601457476615906,
0.38515809178352356,
-0.020727477967739105,
1.2580361366271973,
0.7438263297080994,
-0.47852009534835815,
0.5305826663970947,
-0.11800762265920639,
0.048634614795446396,
-0.42106837034225464,
-0.20626923441886902,
-0.6248776316642761,
-0.5372546315193176,
-0.5700139403343201,
0.15681210160255432,
0.01963391900062561,
-0.09320218116044998,
-0.7309776544570923,
0.6536111235618591,
-0.6954362988471985,
0.6456546783447266,
0.6829310655593872,
0.15744099020957947,
0.2731858491897583,
-0.12181650102138519,
-0.09418918937444687,
-0.17791476845741272,
-0.5966379046440125,
-0.501185417175293,
1.1949273347854614,
0.18754811584949493,
0.7822594046592712,
0.46591898798942566,
0.8996602296829224,
0.06432709842920303,
0.22946016490459442,
-0.8168929219245911,
0.4767904281616211,
-0.30779385566711426,
-0.2614170014858246,
-0.535785973072052,
-0.37111419439315796,
-0.7462785243988037,
-0.09022022038698196,
-0.4076046049594879,
-0.7545435428619385,
-0.20634432137012482,
0.3098038136959076,
-0.24808913469314575,
0.25844594836235046,
-0.9870403409004211,
1.097124457359314,
-0.2246229499578476,
-0.7788363695144653,
-0.3380836248397827,
-0.4254307746887207,
0.23810319602489471,
-0.09826995432376862,
0.071560800075531,
0.018474964424967766,
0.17859837412834167,
0.6289612054824829,
-0.7987164258956909,
0.7874096632003784,
-0.26672831177711487,
-0.14052505791187286,
-0.04412548989057541,
0.1021956130862236,
0.6018962264060974,
-0.24270331859588623,
-0.21681305766105652,
-0.202911838889122,
0.04169118031859398,
-0.4510324001312256,
-0.43621623516082764,
1.2239446640014648,
-0.9247342944145203,
-0.5448741316795349,
-0.2937433421611786,
-0.8109123110771179,
-0.4599798321723938,
0.38029563426971436,
0.014685990288853645,
0.37814030051231384,
0.15229004621505737,
0.0900028645992279,
0.41722041368484497,
0.4004674255847931,
0.3235871493816376,
0.6990199089050293,
-0.29876992106437683,
-0.5091456770896912,
1.2478828430175781,
0.2569026052951813,
0.48132264614105225,
0.0496276393532753,
0.6906678080558777,
-0.40978288650512695,
-0.2254062294960022,
-0.4683379530906677,
0.15948382019996643,
-0.3243676424026489,
-0.3148233890533447,
-0.16967473924160004,
0.17036646604537964,
-0.43704479932785034,
-0.6321014165878296,
-0.42374131083488464,
-0.32139599323272705,
-0.10365765541791916,
0.003404296701774001,
0.36513638496398926,
0.6168971061706543,
-0.13797684013843536,
0.6542717814445496,
-0.4456011652946472,
-0.09439127892255783,
0.2973112165927887,
0.7556360960006714,
-0.17520758509635925,
-0.5384363532066345,
-0.011491429060697556,
0.031432222574949265,
-0.31002938747406006,
-0.4770079255104065,
0.04404204711318016,
0.2155524492263794,
0.1342378705739975,
0.44313663244247437,
0.12224867939949036,
1.0475252866744995,
-0.31599757075309753,
0.7143393754959106,
0.22249574959278107,
-1.1068052053451538,
0.3167632818222046,
-0.39871087670326233,
0.3174892067909241,
0.8332878947257996,
0.025472119450569153,
-0.6527611613273621,
-0.3751046657562256,
-0.5917870998382568,
-0.726649820804596,
0.9436288475990295,
-0.33574023842811584,
0.0013791911769658327,
0.36422842741012573,
0.12925294041633606,
-0.026374606415629387,
0.16298535466194153,
-0.5762261152267456,
-0.021987877786159515,
-0.0465310662984848,
-1.0036972761154175,
-0.1906249225139618,
0.07697878777980804,
-0.34087762236595154,
-0.1783650666475296,
0.7652382254600525,
-0.2556770443916321,
-0.368215411901474,
-0.44092652201652527,
0.01203090138733387,
-0.432884156703949,
0.32880979776382446,
0.4598037898540497,
0.46341779828071594,
-0.1828637421131134,
0.2695983350276947,
0.026989318430423737,
-0.1760360151529312,
0.14057090878486633,
0.13678720593452454,
-0.1508379429578781,
-0.28550300002098083,
-0.10122604668140411,
0.5181880593299866,
0.5938959717750549,
-0.5829692482948303,
0.6618374586105347,
0.05865748971700668,
-0.17033298313617706,
-0.1905195564031601,
0.1325165331363678,
0.04513319581747055,
0.32775893807411194,
-0.11709156632423401,
0.11070958524942398,
-0.2255425602197647,
-0.4331451952457428,
0.22860680520534515,
0.6421217322349548,
-0.41060683131217957,
-0.19531022012233734,
0.5515023469924927,
0.16800691187381744,
-0.3927334249019623,
0.6198891401290894,
-0.024322934448719025,
-0.6318385601043701,
0.35539549589157104,
0.6522451639175415,
0.4923468828201294,
-0.31866949796676636,
0.3429274559020996,
0.5719001889228821,
0.07574411481618881,
-0.6034591794013977,
0.17247246205806732,
-0.1724981963634491,
-0.7275547385215759,
-0.2593454122543335,
-0.31039562821388245,
-0.6594671607017517,
-0.01188389491289854,
-0.6588975191116333,
0.8186811804771423,
-0.4010351896286011,
-0.034111928194761276,
0.09567728638648987,
0.3466922640800476,
-0.5146751403808594,
0.10202492028474808,
-0.051646243780851364,
0.45434510707855225,
-1.0691075325012207,
0.8789864182472229,
0.4639311134815216,
-0.43799087405204773,
-1.3169068098068237,
-0.19911445677280426,
0.37518060207366943,
-0.8812557458877563,
0.2811407148838043,
0.043788373470306396,
-0.043540921062231064,
0.42543894052505493,
-0.5327088236808777,
-0.9507918357849121,
0.9784724116325378,
0.5198525190353394,
-0.8364129662513733,
-0.13946814835071564,
0.2609613239765167,
0.31107595562934875,
-0.232544407248497,
0.15096727013587952,
0.7555046081542969,
0.30244240164756775,
0.25403255224227905,
-1.014439582824707,
0.04296936094760895,
0.19373486936092377,
-0.2257930040359497,
0.6216001510620117,
-0.6053129434585571,
0.6715491414070129,
-0.23636656999588013,
-0.016254743561148643,
-0.1183599978685379,
0.4244586229324341,
0.12497434765100479,
0.24649477005004883,
0.6461606621742249,
0.8944584727287292,
1.056923747062683,
-0.25514817237854004,
0.4570657014846802,
-0.39340993762016296,
0.5558640360832214,
1.4020988941192627,
-0.2411285936832428,
0.889927327632904,
0.5227161645889282,
-0.03710547462105751,
0.3865582048892975,
0.5953797101974487,
-0.0946214348077774,
0.505355954170227,
0.09854201227426529,
-0.1667926013469696,
-0.39075151085853577,
-0.3943461775779724,
-0.09581223875284195,
0.30507659912109375,
0.0746036246418953,
-0.06767936795949936,
-0.24486541748046875,
0.06521451473236084,
0.10882890969514847,
0.46347716450691223,
-0.6040879487991333,
0.792713463306427,
-0.19866958260536194,
-1.0986738204956055,
0.4048626124858856,
-0.15626896917819977,
0.7439173460006714,
-0.39580875635147095,
0.2029540240764618,
-0.06225515902042389,
0.45136788487434387,
-0.4762137830257416,
-0.9340893030166626,
0.028314420953392982,
-0.04159865900874138,
-0.08904081583023071,
-0.3011232316493988,
0.28992515802383423,
-1.0786535739898682,
-0.18039053678512573,
-0.20241518318653107,
-0.0013809188967570662,
-0.2167671024799347,
0.5250876545906067,
-0.42806586623191833,
0.14563316106796265,
0.011342955753207207,
0.23827321827411652,
0.30520686507225037,
0.13661478459835052,
-0.21976231038570404,
0.5087326765060425,
0.49417367577552795,
0.12789401412010193,
-0.19932807981967926,
0.24333934485912323,
0.7780970335006714,
-0.3759382665157318,
-0.45018115639686584,
-0.8051075339317322,
0.5498721599578857,
-0.2487124651670456,
-0.2385145127773285,
0.49873945116996765,
0.6046129465103149,
1.034975290298462,
0.3651796281337738,
0.6792058348655701,
0.12329420447349548,
0.6178827881813049,
-0.21674507856369019,
0.4256107807159424,
-0.492092102766037,
0.3016418218612671,
-0.20268338918685913,
-0.7529008984565735,
-0.04132001847028732,
0.4641481339931488,
-0.38321033120155334,
-0.21592749655246735,
0.3316287100315094,
0.9258871078491211,
-0.15907973051071167,
0.10492639988660812,
-0.07506877183914185,
-0.014756484888494015,
0.4547429084777832,
0.3818122446537018,
0.3920523524284363,
-0.24113835394382477,
0.47913262248039246,
-0.37571462988853455,
-0.16237010061740875,
-0.004185875877737999,
-0.8856325745582581,
-0.6685366630554199,
-0.6625682711601257,
-0.5114132761955261,
-0.5264016389846802,
-0.05922912061214447,
1.5198756456375122,
0.4732787609100342,
-0.7682970762252808,
-0.4883469343185425,
-0.4124286472797394,
0.06832438707351685,
-0.20272201299667358,
-0.2785802483558655,
0.45738354325294495,
-0.627885639667511,
-1.0128616094589233,
0.11229166388511658,
-0.23505981266498566,
0.01554318331182003,
-0.2668282687664032,
-0.23424063622951508,
-0.002406044863164425,
-0.0958307608962059,
0.15569260716438293,
0.27263110876083374,
-0.6015427708625793,
-0.4629286229610443,
0.11544864624738693,
-0.4224049150943756,
-0.057036612182855606,
0.6727659702301025,
-0.6285653710365295,
0.7887816429138184,
0.17957155406475067,
0.8389792442321777,
0.35747113823890686,
0.03225244581699371,
0.8140654563903809,
-0.7171323895454407,
-0.2597229480743408,
-0.030433548614382744,
0.21208727359771729,
0.49432429671287537,
-0.08833322674036026,
0.4278394877910614,
-0.09228980541229248,
-0.7819334864616394,
-1.247595191001892,
0.11068562418222427,
-1.040469765663147,
0.1107652336359024,
1.041676640510559,
0.17452555894851685,
0.05565604567527771,
0.20331262052059174,
-0.2863599956035614,
0.2453499138355255,
-0.5607017874717712,
0.6574695706367493,
0.5744790434837341,
0.3611713945865631,
-0.08697091788053513,
-0.05706896260380745,
0.476482629776001,
0.5507321953773499,
-0.39774659276008606,
0.21284325420856476,
0.3496646583080292,
0.39200982451438904,
-0.08547092974185944,
0.4747019112110138,
0.1816818118095398,
-0.019654877483844757,
-0.3762272298336029,
-0.04707561060786247,
-0.044846322387456894,
-0.13740454614162445,
-0.5848177075386047,
0.1598483920097351,
0.3841239809989929,
-0.2325277328491211
] |
http://arxiv.org/abs/2405.20213v1
|
http://arxiv.org/pdf/2405.20213v1
|
PostDoc: Generating Poster from a Long Multimodal Document Using Deep Submodular Optimization
| 2024-05-30T16:16:25 | 2024-05-30T16:16:25 |
Vijay Jaisankar, Sambaran Bandyopadhyay, Kalp Vyas, Varre Chaitanya, Shwetha Somasundaram
|
cs.AI
|
cs.AI, cs.CL, cs.LG
|
A poster from a long input document can be considered as a one-page
easy-to-read multimodal (text and images) summary presented on a nice template
with good design elements. Automatic transformation of a long document into a
poster is a very less studied but challenging task. It involves content
summarization of the input document followed by template generation and
harmonization. In this work, we propose a novel deep submodular function which
can be trained on ground truth summaries to extract multimodal content from the
document and explicitly ensures good coverage, diversity and alignment of text
and images. Then, we use an LLM based paraphraser and propose to generate a
template with various design aspects conditioned on the input content. We show
the merits of our approach through extensive automated and human evaluations.
|
[
-0.6126846671104431,
-0.611012876033783,
0.7136087417602539,
-0.01985074020922184,
-0.8680987358093262,
0.1292170286178589,
-0.11292791366577148,
0.00395255908370018,
0.38225892186164856,
0.34536880254745483,
-0.6494366526603699,
-0.5476097464561462,
-0.6597433090209961,
0.20066171884536743,
-0.23560625314712524,
0.8390480875968933,
-0.19156931340694427,
-0.011156267486512661,
-0.6007562279701233,
0.030569372698664665,
-0.13200324773788452,
-0.1327342391014099,
-0.1970607489347458,
-0.16050496697425842,
0.4700641632080078,
0.3445735573768616,
0.28339868783950806,
0.4213137626647949,
0.7376940846443176,
0.21504896879196167,
0.028334667906165123,
0.6200590133666992,
-0.4676486551761627,
0.039061907678842545,
-0.506969153881073,
-0.053263552486896515,
-0.5114621520042419,
-0.13543203473091125,
0.7525705099105835,
0.5310624241828918,
0.08298652619123459,
0.030830398201942444,
0.16401156783103943,
0.6978994607925415,
-0.7734242677688599,
0.3210027515888214,
-0.2934206426143646,
0.06322120875120163,
-0.04796300083398819,
-0.4298747479915619,
-0.38922178745269775,
-0.1286959946155548,
-0.4719049632549286,
-0.6499954462051392,
0.28560471534729004,
-0.04081176966428757,
0.633421003818512,
0.09957882761955261,
-0.7378968000411987,
-0.4206152856349945,
-0.590161144733429,
0.8111705183982849,
-0.5371636152267456,
0.47088780999183655,
0.09796192497015,
0.21638858318328857,
-0.2234620600938797,
-0.9058550000190735,
-0.6960561871528625,
0.14716938138008118,
-0.09831839054822922,
0.4792758524417877,
-0.10082586854696274,
0.1904798448085785,
0.05860524624586105,
0.5024518966674805,
-0.7154143452644348,
-0.14986379444599152,
-0.6962574124336243,
-0.3040275275707245,
0.5632685422897339,
0.1155761182308197,
0.19368700683116913,
-0.43798285722732544,
-0.3324022889137268,
-0.18604271113872528,
-0.20449668169021606,
-0.2095777690410614,
0.36337077617645264,
-0.09243713319301605,
-0.11843277513980865,
0.680993914604187,
-0.20376183092594147,
0.39230111241340637,
-0.12771816551685333,
-0.6271468997001648,
0.1858658641576767,
-0.5078206062316895,
0.035435859113931656,
-0.2885889410972595,
0.7420777678489685,
0.7172085642814636,
-0.0648740753531456,
0.051377929747104645,
-0.4055192470550537,
-0.1860126405954361,
0.1317199021577835,
-0.7371769547462463,
-0.006255894433706999,
-0.016823124140501022,
-0.6633003950119019,
-0.28924256563186646,
0.11022191494703293,
-0.8250790238380432,
-0.27555862069129944,
-0.5611626505851746,
0.22359487414360046,
-0.48215004801750183,
-0.02684837207198143,
0.019097594544291496,
-0.0825059562921524,
0.09825816005468369,
0.5075321793556213,
-0.7085692286491394,
0.0555088147521019,
0.6394844055175781,
0.8732864856719971,
-0.1944243460893631,
-0.26186633110046387,
-0.47041580080986023,
0.3677822947502136,
-0.5125795006752014,
0.839643120765686,
-0.1490752398967743,
-0.5921449661254883,
-0.2459333837032318,
-0.09689368307590485,
-0.12368512898683548,
-0.025616833940148354,
0.49226701259613037,
-0.547307014465332,
0.4098692834377289,
0.04498935863375664,
-0.4480523467063904,
0.09404297918081284,
0.4187718629837036,
-0.642530620098114,
0.15684954822063446,
0.3644845485687256,
-0.9473803043365479,
0.16937153041362762,
-0.30259186029434204,
-0.7061294317245483,
0.035365030169487,
-0.4643377363681793,
-0.3964744806289673,
0.3349456489086151,
0.7111960053443909,
0.16970683634281158,
-0.5060834884643555,
0.25000226497650146,
-0.08509404957294464,
-0.3321261405944824,
0.0785164013504982,
-0.0624203123152256,
0.3439265191555023,
0.47986096143722534,
-0.013520319014787674,
0.27741754055023193,
-0.4777979850769043,
-0.24047379195690155,
-0.13883085548877716,
-0.5247644782066345,
0.18422317504882812,
-0.1432773470878601,
0.041406210511922836,
0.2123754322528839,
0.32254019379615784,
-0.4996750056743622,
0.087692990899086,
-0.2288471758365631,
0.29130399227142334,
0.8940121531486511,
0.44482627511024475,
0.5161727070808411,
-0.4496845006942749,
0.8861202597618103,
-0.22161337733268738,
0.32052260637283325,
-0.47956183552742004,
-0.10103341192007065,
-0.5516194701194763,
-0.7358807325363159,
0.32225218415260315,
0.20007526874542236,
-1.0125337839126587,
0.20931367576122284,
-0.3615676462650299,
-0.35247766971588135,
-0.2244885265827179,
0.6099544167518616,
0.3820246756076813,
0.724766731262207,
0.1898518055677414,
-0.4584692716598511,
-0.6069821715354919,
-1.2922313213348389,
0.1739887297153473,
0.2239987999200821,
0.05448153242468834,
0.12567509710788727,
0.5695422887802124,
-0.4219423234462738,
0.6982437968254089,
-0.6430808901786804,
-0.6123224496841431,
-0.5465657114982605,
0.4223134517669678,
0.33294203877449036,
0.5373296737670898,
0.6161553859710693,
-0.9993559718132019,
-0.4970594048500061,
-0.3047259449958801,
-1.0165401697158813,
0.16110865771770477,
-0.24365493655204773,
-0.16191697120666504,
0.39381131529808044,
0.6969007849693298,
-0.8762861490249634,
0.3018434941768646,
0.2584361433982849,
0.3344811499118805,
0.42621341347694397,
-0.4208168685436249,
0.24797025322914124,
-1.4745975732803345,
-0.03661920130252838,
-0.15135960280895233,
-0.11763768643140793,
0.21465088427066803,
0.3373008370399475,
-0.01727762073278427,
-0.5980558395385742,
-0.46387794613838196,
0.34212011098861694,
-0.6523025035858154,
0.1127563938498497,
-0.49118801951408386,
-0.06449444591999054,
0.3146185874938965,
0.4795185625553131,
-0.07061927765607834,
0.5478499531745911,
0.43231502175331116,
-0.29223790764808655,
0.5537136197090149,
0.12399502843618393,
-0.276418536901474,
0.5383817553520203,
-0.5015272498130798,
0.3756338357925415,
-0.7368199229240417,
0.6384430527687073,
-1.2190848588943481,
-0.5306143164634705,
0.20182862877845764,
-0.2601223886013031,
0.3574393689632416,
-0.10337550938129425,
-0.8201960921287537,
-0.3664507269859314,
-0.46179208159446716,
0.3706977665424347,
0.60285884141922,
-0.12873250246047974,
0.7602888941764832,
0.3635362386703491,
-0.2289419174194336,
-0.1618420034646988,
-0.4889301657676697,
0.0558038167655468,
0.19938063621520996,
-0.5984862446784973,
0.3391241431236267,
-0.16767890751361847,
0.034851763397455215,
-0.11913219094276428,
-0.04921286180615425,
0.332949697971344,
-0.4852050542831421,
0.182644322514534,
-0.05703629180788994,
-0.20408782362937927,
0.062258120626211166,
0.4451638460159302,
-0.27882203459739685,
-0.1140541210770607,
-0.2872629761695862,
0.5681783556938171,
-0.19738365709781647,
-0.4435357451438904,
-0.6218517422676086,
0.844469428062439,
0.7291194796562195,
-0.09366970509290695,
0.35743048787117004,
0.6895012259483337,
-0.2713482081890106,
-0.001361488364636898,
-0.24660120904445648,
-0.030035853385925293,
-0.437073677778244,
0.37334349751472473,
-0.46852806210517883,
-0.37636640667915344,
0.13672824203968048,
0.02167452871799469,
-0.08518793433904648,
0.48696884512901306,
0.4776220917701721,
-0.3894166052341461,
0.9123495221138,
0.8231192827224731,
0.343019962310791,
0.3836628794670105,
-0.3919530510902405,
-0.04793236777186394,
-0.6686409115791321,
-0.29978322982788086,
0.08771952241659164,
-0.3965608775615692,
-0.47020450234413147,
-0.7379072308540344,
0.5791983604431152,
0.13635164499282837,
0.23001115024089813,
0.21519649028778076,
-0.39779728651046753,
0.43796026706695557,
0.615562915802002,
0.47467848658561707,
0.1449565440416336,
0.22909003496170044,
-0.1559162586927414,
-0.2778225541114807,
-0.42871543765068054,
-0.5063797831535339,
0.9791586995124817,
0.07783875614404678,
1.0820258855819702,
-0.04572981968522072,
0.9233918786048889,
0.25544509291648865,
0.22256802022457123,
-0.5592968463897705,
0.7258091568946838,
-0.2925402522087097,
-0.2900118827819824,
-0.011379655450582504,
-0.3428557813167572,
-0.5210626721382141,
0.25917425751686096,
-0.2651405334472656,
-0.34867075085639954,
0.23381423950195312,
0.13362346589565277,
0.10250041633844376,
0.19497427344322205,
-0.40571776032447815,
0.42102131247520447,
-0.4182172417640686,
-0.234052374958992,
-0.22160665690898895,
-0.8037915229797363,
0.31173068284988403,
-0.30074530839920044,
0.4951988756656647,
0.00234390702098608,
0.014897658489644527,
0.7672004699707031,
-0.03738827258348465,
0.5480766892433167,
0.10152289271354675,
-0.1692800670862198,
0.23631663620471954,
0.13518482446670532,
0.22521014511585236,
0.21103905141353607,
-0.19967079162597656,
-0.34567657113075256,
-0.3392842411994934,
-0.48609599471092224,
-0.798244297504425,
0.4347359538078308,
-0.6166426539421082,
-0.6876943707466125,
-0.13905639946460724,
-0.6698501110076904,
0.025743268430233,
0.5554158687591553,
0.6370882391929626,
0.5777050852775574,
-0.10297107696533203,
0.6314611434936523,
0.5539844036102295,
0.009641069918870926,
0.2866861820220947,
0.02290917932987213,
-0.16969984769821167,
-1.044252872467041,
0.9256460070610046,
-0.009234159253537655,
0.07869116961956024,
0.9938870072364807,
0.35019198060035706,
-0.3521609604358673,
-0.6331836581230164,
-0.2983333468437195,
0.3198028802871704,
-1.2738906145095825,
-0.10248750448226929,
-0.6790838837623596,
-0.07635345309972763,
-1.0488394498825073,
-0.6163831949234009,
-0.29054707288742065,
-0.48998910188674927,
-0.36509132385253906,
-0.06345436722040176,
-0.31783023476600647,
0.586652934551239,
-0.3506389260292053,
0.15393656492233276,
-0.6747686862945557,
0.6404449939727783,
0.45134395360946655,
-0.0908658355474472,
-0.21684415638446808,
-0.3112826943397522,
-0.048704903572797775,
0.13030463457107544,
-0.672926664352417,
-0.5668888688087463,
0.3222599923610687,
0.26034286618232727,
0.8476284146308899,
0.35098996758461,
0.2895098030567169,
0.3829334080219269,
-0.07890508323907852,
0.3456653356552124,
0.6431757807731628,
-0.7100807428359985,
0.7815300822257996,
-0.5894176363945007,
0.4204351007938385,
0.5394478440284729,
0.48705631494522095,
-0.06685987114906311,
-0.223179429769516,
-0.486920565366745,
-1.1689940690994263,
0.3877963125705719,
0.31366097927093506,
0.33193543553352356,
0.11665894836187363,
0.3076291084289551,
0.20852427184581757,
0.5107391476631165,
-0.7036424875259399,
0.27524545788764954,
-0.479004830121994,
-0.3628619313240051,
-0.35402390360832214,
-0.4607420563697815,
-0.47970324754714966,
-0.12736563384532928,
0.453610360622406,
-0.3333490788936615,
0.22756308317184448,
0.2399989366531372,
-0.4467686116695404,
-0.04121098667383194,
0.3266739845275879,
1.1551990509033203,
1.1785905361175537,
-0.4317317008972168,
0.4914880394935608,
-0.05256253108382225,
-0.18562191724777222,
0.057436972856521606,
0.033117130398750305,
-0.00928721483796835,
-0.023009274154901505,
0.868118941783905,
0.6243561506271362,
0.010731466114521027,
-0.5627315044403076,
0.6532941460609436,
-0.06231236457824707,
-0.4354889988899231,
-0.1370900571346283,
-0.1864662766456604,
-0.04651729762554169,
0.09384780377149582,
0.6182445883750916,
-0.2816162705421448,
-0.023057475686073303,
-0.5417791604995728,
0.5858325958251953,
0.22266370058059692,
-0.17537418007850647,
-0.18314556777477264,
0.7215782999992371,
0.3214316964149475,
-0.3525712788105011,
0.5135835409164429,
-0.24123641848564148,
-0.41470783948898315,
0.5456233024597168,
0.6311106085777283,
0.6976754069328308,
0.3994844853878021,
0.24439209699630737,
0.2178972065448761,
0.3184560537338257,
0.5161904096603394,
0.09336326271295547,
-0.2926847040653229,
-0.12979795038700104,
-0.21312780678272247,
-0.7952885627746582,
-0.5122624039649963,
0.05049290880560875,
-0.5278165936470032,
0.38339516520500183,
-0.5654441118240356,
0.09386014938354492,
0.023849809542298317,
-0.13110992312431335,
-0.33066144585609436,
0.46617788076400757,
0.2928837239742279,
0.5861468315124512,
-0.5671217441558838,
0.45939186215400696,
0.7182291150093079,
-0.587641716003418,
-0.23760494589805603,
0.061665646731853485,
-0.16070061922073364,
-0.601801872253418,
0.8041556477546692,
0.10334502905607224,
-0.3686544597148895,
-0.1490020602941513,
-0.3808439075946808,
-0.41465261578559875,
1.0562729835510254,
0.6939116716384888,
-0.4764496088027954,
-0.19791266322135925,
0.14129605889320374,
0.5409528613090515,
-0.617626428604126,
-0.0629541203379631,
-0.49579840898513794,
0.2364509254693985,
0.4246364235877991,
-0.5561925172805786,
0.2857328951358795,
-0.3460235595703125,
0.31733861565589905,
-0.06453579664230347,
-0.6475291848182678,
1.0699152946472168,
-0.27215519547462463,
-0.07286863774061203,
-0.13128186762332916,
0.7977811694145203,
0.28437483310699463,
0.2774505615234375,
0.5329262614250183,
0.3756411075592041,
0.25706788897514343,
0.42847687005996704,
1.0344208478927612,
-0.29396501183509827,
0.6492994427680969,
1.1016976833343506,
-0.09781675785779953,
0.31385743618011475,
0.7733625769615173,
0.38436129689216614,
0.43838587403297424,
0.45097091794013977,
-0.02360370010137558,
0.9025062322616577,
0.0359857901930809,
-0.1753097027540207,
-0.5225967764854431,
0.03105817921459675,
-0.45408788323402405,
0.46713876724243164,
0.1781938076019287,
-0.6743184328079224,
-0.7587060928344727,
0.25249841809272766,
-0.3052162528038025,
0.19385437667369843,
-0.01867402344942093,
0.7974562048912048,
0.28321340680122375,
-0.7748076319694519,
0.4278833568096161,
0.2102213054895401,
0.402041494846344,
-0.4748298227787018,
0.04338926821947098,
-0.13123780488967896,
0.4620940089225769,
-0.09818357974290848,
-0.8119535446166992,
0.32226401567459106,
-0.6302710771560669,
-0.24043336510658264,
-0.723079264163971,
0.9101341962814331,
-0.13716931641101837,
-0.8061567544937134,
0.11627142131328583,
0.08465408533811569,
0.003764333901926875,
0.19710209965705872,
-0.5971343517303467,
-0.01791597343981266,
-0.14811240136623383,
-0.308502733707428,
0.2522943615913391,
0.23205223679542542,
0.038023658096790314,
0.5568565130233765,
0.7505071759223938,
-0.20713463425636292,
-0.326048880815506,
-0.11012458056211472,
1.0150059461593628,
-0.38116565346717834,
-0.6879975199699402,
-0.8279656767845154,
0.35427093505859375,
-0.13771381974220276,
-0.35505685210227966,
0.4833926856517792,
0.8861081600189209,
0.5615931749343872,
-0.3852514624595642,
0.7638514041900635,
-0.10653364658355713,
0.13980695605278015,
-0.8020097613334656,
0.8309321999549866,
-0.7952567338943481,
-0.1273166984319687,
-0.4235578775405884,
-0.7311439514160156,
-0.1900496780872345,
0.4871157109737396,
-0.10817073285579681,
-0.21081188321113586,
0.7941758036613464,
0.7719208598136902,
-0.30298006534576416,
-0.4006360173225403,
0.3124576807022095,
-0.46741876006126404,
0.6056515574455261,
0.5003505349159241,
0.5762896537780762,
-0.3820207417011261,
0.9000571370124817,
-0.6494837999343872,
-0.12678907811641693,
-0.26505205035209656,
-1.1604108810424805,
-1.0172735452651978,
-0.8373159766197205,
-0.5215216279029846,
-0.34913647174835205,
0.09211593866348267,
0.5691335797309875,
0.8809808492660522,
-0.46585893630981445,
-0.028051041066646576,
-0.17049485445022583,
0.40188002586364746,
0.1560957133769989,
-0.1982574462890625,
0.4775286614894867,
-0.1277676373720169,
-0.7851888537406921,
0.24608473479747772,
0.443209707736969,
0.2304701954126358,
-0.266695111989975,
0.023383120074868202,
-0.3240291178226471,
0.04716731607913971,
0.5810577869415283,
0.07952549308538437,
-0.32766103744506836,
-0.07349056005477905,
-0.10994868725538254,
-0.3594534993171692,
0.05334876477718353,
0.9630497694015503,
-0.2545560598373413,
0.5309179425239563,
0.873066246509552,
0.33418959379196167,
0.7025081515312195,
0.06088048964738846,
0.787060022354126,
-0.9627324938774109,
0.24502220749855042,
0.30606094002723694,
0.5228338241577148,
0.37572145462036133,
-0.31255707144737244,
0.37499022483825684,
0.6027279496192932,
-0.20045392215251923,
-0.9178368449211121,
0.46282103657722473,
-1.303104281425476,
-0.4573485255241394,
1.1242400407791138,
-0.05074254050850868,
-0.34256359934806824,
0.1842852383852005,
-0.3362850546836853,
0.5055209398269653,
-0.14646866917610168,
0.6435432434082031,
0.46423667669296265,
-0.28299692273139954,
-0.6630964279174805,
0.0305912084877491,
-0.050882693380117416,
-0.04460914060473442,
-0.8171583414077759,
-0.45942115783691406,
0.31244030594825745,
0.4411821663379669,
0.44378456473350525,
0.9827836751937866,
-0.16596372425556183,
0.45836108922958374,
0.011644108220934868,
0.08416438102722168,
-0.43032529950141907,
-0.19564011693000793,
0.23447629809379578,
0.4937579333782196,
-0.23300513625144958,
-0.3432781994342804
] |
http://arxiv.org/abs/2405.20204v2
|
http://arxiv.org/pdf/2405.20204v2
|
Jina CLIP: Your CLIP Model Is Also Your Text Retriever
| 2024-05-30T16:07:54 | 2024-06-26T12:31:48 |
Andreas Koukounas, Georgios Mastrapas, Michael Günther, Bo Wang, Scott Martens, Isabelle Mohr, Saba Sturua, Mohammad Kalim Akram, Joan Fontanals Martínez, Saahil Ognawala, Susana Guzman, Maximilian Werk, Nan Wang, Han Xiao
|
cs.CL
|
cs.CL, cs.AI, cs.CV, cs.IR, 68T50, I.2.7
|
Contrastive Language-Image Pretraining (CLIP) is widely used to train models
to align images and texts in a common embedding space by mapping them to
fixed-sized vectors. These models are key to multimodal information retrieval
and related tasks. However, CLIP models generally underperform in text-only
tasks compared to specialized text models. This creates inefficiencies for
information retrieval systems that keep separate embeddings and models for
text-only and multimodal tasks. We propose a novel, multi-task contrastive
training method to address this issue, which we use to train the jina-clip-v1
model to achieve the state-of-the-art performance on both text-image and
text-text retrieval tasks.
|
[
-0.2905309498310089,
-0.5684046745300293,
0.5103188157081604,
0.36186879873275757,
-0.6015725135803223,
-0.03359919786453247,
0.1161729022860527,
-0.3671984076499939,
0.4536455273628235,
0.34937161207199097,
-0.6086227893829346,
-0.27422717213630676,
-0.6281152963638306,
-0.02301611751317978,
-0.4680364429950714,
0.7874332666397095,
-0.00011198632273590192,
0.3545522093772888,
-0.4525270164012909,
-0.2887386679649353,
-0.7702751159667969,
-0.7344220280647278,
-0.26585063338279724,
-0.23835396766662598,
0.40863892436027527,
0.30912402272224426,
0.5421753525733948,
0.7064236402511597,
0.7528666257858276,
0.24835698306560516,
0.13734416663646698,
-0.023342179134488106,
-0.32189688086509705,
0.11634837836027145,
-0.500846803188324,
-0.6078971028327942,
0.02853245474398136,
0.018101999536156654,
0.46514612436294556,
0.08085517585277557,
0.08050653338432312,
-0.0423588789999485,
0.011270323768258095,
0.4931052029132843,
-1.1090210676193237,
-0.10654259473085403,
-0.6945559978485107,
0.0165424682199955,
-0.43475934863090515,
-0.20648296177387238,
-0.3351285755634308,
-0.2813529670238495,
0.341653048992157,
-0.840557873249054,
0.1475483477115631,
-0.077442966401577,
1.355280876159668,
0.13601021468639374,
-0.5093868970870972,
-0.1363215148448944,
-0.5564006567001343,
1.0708870887756348,
-0.3627864420413971,
0.387775719165802,
0.2098647952079773,
0.14384639263153076,
0.5265371203422546,
-0.803253173828125,
-0.7777289748191833,
0.23487798869609833,
-0.02422275021672249,
0.2953099012374878,
0.1326167732477188,
-0.07528426498174667,
0.03737020492553711,
0.19558420777320862,
-0.18025457859039307,
-0.20980776846408844,
-0.4063832759857178,
0.06612195819616318,
0.30536535382270813,
0.08159487694501877,
0.37085798382759094,
-0.14066986739635468,
-0.9490346908569336,
-0.45389339327812195,
-0.49183517694473267,
-0.03865579888224602,
0.005699838977307081,
0.2245735228061676,
0.1964838057756424,
0.40560978651046753,
0.09680698066949844,
0.5266169309616089,
-0.0030221352353692055,
-0.36665838956832886,
0.24339981377124786,
-0.5000746250152588,
-0.01925283670425415,
-0.19355544447898865,
0.8862729668617249,
0.5321359038352966,
0.05309944972395897,
0.04864967614412308,
-0.23673579096794128,
0.09111254662275314,
0.5275956988334656,
-0.9273356199264526,
-0.4498612582683563,
-0.2566535472869873,
-0.6234979629516602,
-0.36986595392227173,
0.0174759179353714,
-0.8448430895805359,
-0.21547549962997437,
-0.20665296912193298,
1.1248685121536255,
-0.6389902830123901,
-0.1284695267677307,
0.02007104456424713,
-0.3432881534099579,
0.07448435574769974,
0.31229227781295776,
-0.9430721998214722,
0.42208385467529297,
0.22600165009498596,
1.0596230030059814,
-0.40536272525787354,
-0.425525426864624,
-0.4751857817173004,
0.14204715192317963,
-0.3018845319747925,
1.0222176313400269,
-0.6417160630226135,
-0.319317489862442,
0.17924019694328308,
0.11027444154024124,
-0.33647650480270386,
-0.49240973591804504,
0.6178252696990967,
-0.6631765961647034,
0.12007583677768707,
-0.34665003418922424,
-0.3940991759300232,
-0.4690854251384735,
0.26096490025520325,
-0.9047591090202332,
0.9086270928382874,
0.07378627359867096,
-1.0204944610595703,
0.2990567982196808,
-0.4075765311717987,
-0.4022170305252075,
-0.3338993489742279,
-0.17654967308044434,
-0.5439276695251465,
-0.20095282793045044,
0.5393761396408081,
0.439249187707901,
-0.3592488765716553,
-0.0502583347260952,
-0.28559431433677673,
-0.5893546938896179,
0.024089783430099487,
0.020626714453101158,
0.3475388288497925,
0.20311468839645386,
0.051305949687957764,
0.2924555540084839,
-0.46527600288391113,
0.06980714946985245,
0.32422277331352234,
-0.09263550490140915,
-0.9044873118400574,
-0.08762256056070328,
0.3750467896461487,
0.5826461315155029,
0.36128997802734375,
-0.6079209446907043,
0.10388095676898956,
-0.014114859513938427,
0.12739238142967224,
0.6121639609336853,
-0.22924238443374634,
0.22707177698612213,
-0.5187950134277344,
0.4864979684352875,
0.25276482105255127,
-0.04520512372255325,
-0.5965364575386047,
-0.06442616879940033,
-0.7308362722396851,
-0.43545863032341003,
0.2584942877292633,
0.7015461325645447,
-0.9929743409156799,
0.0071592568419873714,
-0.15296059846878052,
-0.5094829201698303,
-0.6188796162605286,
0.20099438726902008,
0.6610569357872009,
0.476039856672287,
0.5370588898658752,
-0.49629849195480347,
-0.485657274723053,
-1.0999008417129517,
-0.12776333093643188,
0.33046460151672363,
0.026614025235176086,
0.20613820850849152,
0.5645273923873901,
0.059380341321229935,
0.809903085231781,
-0.6479599475860596,
-0.7102491855621338,
-0.2098509967327118,
0.31657904386520386,
0.21250757575035095,
0.6826378703117371,
0.7028289437294006,
-1.065056562423706,
-0.5808279514312744,
-0.2352495938539505,
-0.6425545811653137,
0.19901061058044434,
-0.14296886324882507,
-0.18029333651065826,
-0.22349894046783447,
0.5249907970428467,
-0.3766520023345947,
0.233662411570549,
0.46296411752700806,
-0.0672721117734909,
0.500802755355835,
-0.22315004467964172,
0.5052896738052368,
-1.224735140800476,
0.21442732214927673,
0.05379524081945419,
-0.314310759305954,
-0.4731962978839874,
0.06241784617304802,
0.43888020515441895,
-0.26776835322380066,
-0.5122583508491516,
0.42949235439300537,
-0.5146117210388184,
0.05676474794745445,
-0.4766516089439392,
0.23051446676254272,
0.4703022837638855,
0.5051230192184448,
0.34610867500305176,
1.2630317211151123,
0.539956271648407,
-0.8331100940704346,
0.12853270769119263,
0.7107258439064026,
-0.4545978605747223,
0.8652706742286682,
-0.8137360215187073,
0.34150946140289307,
-0.19643573462963104,
-0.16062206029891968,
-0.9197871088981628,
-0.1758221685886383,
-0.06600479781627655,
-0.0619252510368824,
0.4054374396800995,
-0.014464071951806545,
-0.28270718455314636,
-0.29356852173805237,
-0.7173400521278381,
0.6768215298652649,
0.2426823377609253,
-0.9296581149101257,
0.4478088319301605,
0.5395282506942749,
-0.2950703501701355,
-0.94703209400177,
-0.631715714931488,
-0.41191962361335754,
0.03825248032808304,
-0.5126035809516907,
0.87340247631073,
0.0979510098695755,
0.2683822810649872,
0.11471350491046906,
-0.19685937464237213,
-0.6872687935829163,
0.00004340821396908723,
0.16420075297355652,
0.4115683138370514,
-0.27760663628578186,
0.2795056998729706,
0.07574695348739624,
0.17057786881923676,
-0.3106294274330139,
0.05763128772377968,
0.6167176365852356,
0.07604201138019562,
-0.3701903223991394,
-0.5510891675949097,
0.5397579073905945,
0.2628495991230011,
-0.513426661491394,
0.7887282371520996,
0.505820095539093,
-0.17721080780029297,
0.21675696969032288,
-0.5399729609489441,
-0.06930525600910187,
-0.47821635007858276,
0.6556981205940247,
-0.5712020397186279,
-0.5203341245651245,
0.2755051851272583,
-0.2644602358341217,
-0.07708891481161118,
0.3191712498664856,
0.10158462077379227,
-0.12303570657968521,
1.051202416419983,
1.2724635601043701,
0.05835334584116936,
1.008726716041565,
-0.06973697990179062,
-0.07477690279483795,
-0.9631209969520569,
-0.3845601975917816,
-0.49897655844688416,
-0.16960906982421875,
-0.030744412913918495,
-0.5536428689956665,
0.18739911913871765,
0.4525414705276489,
0.02769121713936329,
0.49514827132225037,
-0.5256562232971191,
0.7463973164558411,
0.6724100112915039,
0.3239656686782837,
0.12006466090679169,
-0.14230701327323914,
-0.09930851310491562,
-0.326384961605072,
-0.5648216605186462,
-0.4358164072036743,
1.0999304056167603,
0.028832552954554558,
1.1343857049942017,
-0.2892504930496216,
0.6669000387191772,
0.006670468021184206,
0.12032020092010498,
-0.7474467158317566,
0.2126171737909317,
-0.5952061414718628,
-0.5874453783035278,
0.02826732024550438,
0.05065399408340454,
-0.8097428679466248,
0.5768335461616516,
-0.4853898286819458,
-0.6527986526489258,
0.21308745443820953,
0.23368795216083527,
-0.19896851480007172,
0.3795848786830902,
-0.5678977966308594,
1.0879826545715332,
-0.12464267015457153,
-0.3804788887500763,
-0.25089141726493835,
-0.6321431398391724,
0.4087282121181488,
-0.13128657639026642,
0.01465651299804449,
-0.08457872271537781,
-0.07627514004707336,
0.9781640768051147,
-0.16528774797916412,
0.4905239939689636,
0.01423297543078661,
0.3068883717060089,
0.15631671249866486,
0.016634345054626465,
0.4609573483467102,
-0.26037999987602234,
-0.11010506749153137,
-0.20848102867603302,
0.44397392868995667,
-0.48583632707595825,
-0.600363552570343,
0.47470781207084656,
-0.7294309139251709,
-0.4327291250228882,
-0.4384491741657257,
-0.38981473445892334,
-0.14161443710327148,
0.4561783969402313,
0.5072541236877441,
0.5474957823753357,
-0.3898998498916626,
0.22399525344371796,
0.823793351650238,
-0.06786724179983139,
0.24143928289413452,
0.3225548565387726,
-0.3244985342025757,
-0.4803312420845032,
1.1439568996429443,
-0.1448078751564026,
0.20905977487564087,
0.6915586590766907,
-0.1054854691028595,
-0.31509891152381897,
-0.40658292174339294,
-0.053028300404548645,
0.21636632084846497,
-0.9444969296455383,
-0.20510001480579376,
-0.6615645289421082,
-0.12473911792039871,
-0.25762370228767395,
-0.2609398365020752,
-0.6796681880950928,
-0.22087010741233826,
-0.45428743958473206,
0.2466864138841629,
0.028606222942471504,
0.9308626651763916,
0.1864984929561615,
0.5621870756149292,
-0.9621679186820984,
0.5411465167999268,
0.45577138662338257,
0.31621530652046204,
-0.14890553057193756,
-0.35859552025794983,
-0.28347399830818176,
-0.3131592273712158,
-0.7029523253440857,
-1.0001801252365112,
0.4486352503299713,
0.4591643214225769,
0.538345217704773,
0.44191113114356995,
0.024749524891376495,
0.6952548623085022,
-0.5757161974906921,
0.8567888736724854,
0.5993863940238953,
-1.0955346822738647,
0.5397221446037292,
-0.07183082401752472,
0.30123454332351685,
0.7169189453125,
0.771390438079834,
-0.5450730323791504,
-0.023857178166508675,
-0.12780195474624634,
-0.8903657793998718,
0.867341935634613,
0.010477341711521149,
0.2586175501346588,
-0.12388713657855988,
0.05964766442775726,
0.3006739616394043,
0.2063911408185959,
-0.8723162412643433,
-0.054951295256614685,
-0.6154334545135498,
-0.35384437441825867,
0.21636442840099335,
-0.5580936670303345,
-0.177556574344635,
-0.1600184589624405,
0.5878195762634277,
-0.2982863783836365,
0.4428793787956238,
0.39659973978996277,
-0.3941468298435211,
0.23538194596767426,
0.1850001960992813,
0.4304187595844269,
0.5817925333976746,
-0.19481287896633148,
0.07630861550569534,
0.07246379554271698,
-0.6549867987632751,
0.3303775191307068,
-0.0413149856030941,
-0.08219467103481293,
0.24409890174865723,
0.20109203457832336,
0.9842207431793213,
0.3868659436702728,
-0.5700930953025818,
0.9720834493637085,
-0.1454053670167923,
-0.10559869557619095,
-0.1101900041103363,
-0.16175822913646698,
-0.14032621681690216,
0.1623636782169342,
0.31945788860321045,
0.15525327622890472,
0.14301148056983948,
-0.4657212197780609,
0.3620764911174774,
0.4619038999080658,
-0.5186981558799744,
-0.29340648651123047,
0.8324198722839355,
0.3227846324443817,
0.002657874720171094,
0.43348100781440735,
0.21679769456386566,
-0.7200536727905273,
0.49903544783592224,
0.9082821607589722,
0.7432675957679749,
-0.20755960047245026,
0.16210506856441498,
0.4803221523761749,
0.09002702683210373,
-0.33352145552635193,
0.4035850763320923,
-0.05695692077279091,
-0.6569722294807434,
-0.21222205460071564,
-0.40217167139053345,
-0.46614378690719604,
0.07652274519205093,
-1.0015829801559448,
0.45199546217918396,
-0.3651084303855896,
-0.28688812255859375,
0.07143748551607132,
-0.277058869600296,
-0.6909573674201965,
0.354119211435318,
-0.0322532095015049,
0.8392219543457031,
-0.6800879240036011,
1.0133159160614014,
0.7521259784698486,
-0.6350417733192444,
-0.5111505389213562,
0.12314149737358093,
-0.2780799865722656,
-0.5407049059867859,
0.9111575484275818,
0.48472845554351807,
-0.3008913993835449,
-0.3050558269023895,
-0.5330939888954163,
-1.098688006401062,
1.0181996822357178,
0.404331237077713,
-0.4059401750564575,
-0.16568027436733246,
-0.5025301575660706,
0.19850262999534607,
-0.4435507655143738,
0.4155479669570923,
0.09018145501613617,
-0.11015178263187408,
-0.02738410048186779,
-0.9184654355049133,
0.04081834852695465,
-0.38024643063545227,
0.3926789164543152,
0.140333354473114,
-0.9452354311943054,
1.2497950792312622,
-0.15674692392349243,
-0.47023746371269226,
0.3121694028377533,
0.7725677490234375,
-0.06132848560810089,
-0.004750750958919525,
0.4817797541618347,
0.2820185720920563,
0.6906244158744812,
0.00894805509597063,
1.1653739213943481,
-0.30186885595321655,
0.2514612078666687,
1.2574489116668701,
-0.33616966009140015,
1.0379838943481445,
0.5719959139823914,
0.04482364282011986,
0.6004807949066162,
0.36726057529449463,
-0.09294559061527252,
1.028781771659851,
-0.24994520843029022,
-0.15455864369869232,
-0.46208488941192627,
-0.31319040060043335,
-0.3307170271873474,
0.25707390904426575,
0.1407337337732315,
-0.36003658175468445,
-0.1561187207698822,
0.36525958776474,
-0.17556345462799072,
0.40882208943367004,
-0.17412374913692474,
0.6428143978118896,
-0.049746785312891006,
-0.6052049398422241,
0.37938186526298523,
-0.03506884351372719,
1.1196281909942627,
-0.8577180504798889,
-0.1123613640666008,
0.12246423214673996,
0.2659280002117157,
0.06374934315681458,
-0.8444074392318726,
0.26788100600242615,
-0.2785518169403076,
-0.3219514489173889,
-0.0481882207095623,
0.8323468565940857,
-0.5171200037002563,
-0.13685117661952972,
0.40425506234169006,
0.016649598255753517,
0.010930300690233707,
-0.18870843946933746,
-0.5985657572746277,
0.027015892788767815,
-0.17462101578712463,
-0.08789017051458359,
0.4080900251865387,
0.13586007058620453,
-0.009176468476653099,
0.7626723051071167,
0.42405566573143005,
-0.23710398375988007,
0.07321030646562576,
-0.16147568821907043,
1.0648325681686401,
-0.8510589599609375,
-0.5755080580711365,
-0.6733558177947998,
0.12766416370868683,
-0.29757431149482727,
-0.4956200122833252,
0.5072579383850098,
0.5420836806297302,
0.8198856711387634,
-0.4827176332473755,
0.6672133207321167,
0.03685871884226799,
0.6330812573432922,
-0.7540730237960815,
0.6262032985687256,
-0.9162572622299194,
-0.32371169328689575,
-0.5495800971984863,
-0.8105345368385315,
0.01814049482345581,
0.8211756348609924,
0.08698509633541107,
-0.3436567783355713,
1.0609771013259888,
0.4805353581905365,
-0.1547529101371765,
-0.14508318901062012,
0.343971312046051,
-0.3084355294704437,
0.1825730800628662,
0.6542356014251709,
0.7990375757217407,
-0.6964988708496094,
0.8851043581962585,
-0.49866771697998047,
0.012240909039974213,
-0.21444159746170044,
-0.8053330779075623,
-1.1350617408752441,
-0.8262786269187927,
-0.19790354371070862,
-0.02032945677638054,
0.12011340260505676,
0.8245339393615723,
1.076006293296814,
-0.776093602180481,
-0.08793965727090836,
0.36211374402046204,
0.15082339942455292,
-0.2798466086387634,
-0.18165923655033112,
0.4150623381137848,
-0.5165034532546997,
-0.8636503219604492,
0.35850033164024353,
0.23481598496437073,
0.2367168515920639,
0.13724544644355774,
0.2962157130241394,
-0.6317148804664612,
0.2624671757221222,
0.4733056426048279,
0.2598997950553894,
-0.38208240270614624,
-0.16730588674545288,
-0.0323592834174633,
-0.4716610908508301,
0.4637066721916199,
0.8407208919525146,
-0.7610560059547424,
0.6549007296562195,
0.5603393912315369,
0.7003179788589478,
0.8937122821807861,
0.11447637528181076,
0.821340799331665,
-0.8875032067298889,
0.4737018346786499,
0.06586222350597382,
0.3082221448421478,
0.3837425708770752,
-0.24628619849681854,
0.3355870842933655,
0.17931340634822845,
-0.37427499890327454,
-0.5908120274543762,
0.1770399510860443,
-0.9894543290138245,
-0.37373030185699463,
0.5856943130493164,
-0.4684080481529236,
-0.4216145873069763,
0.06760422140359879,
-0.5860201120376587,
0.2555999457836151,
-0.2170378714799881,
0.7103191018104553,
0.8025004267692566,
0.16221883893013,
-0.23388062417507172,
-0.3381018042564392,
0.5239831805229187,
0.6236370801925659,
-0.7930886745452881,
-0.5095556378364563,
0.11997769773006439,
0.3864780366420746,
0.5377769470214844,
0.7863867878913879,
-0.14646638929843903,
0.43446752429008484,
0.31846222281455994,
0.26113593578338623,
-0.09564558416604996,
-0.5143533945083618,
-0.2087019979953766,
0.20882324874401093,
-0.03504975140094757,
-0.7295660972595215
] |
http://arxiv.org/abs/2405.20192v1
|
http://arxiv.org/pdf/2405.20192v1
|
TAIA: Large Language Models are Out-of-Distribution Data Learners
| 2024-05-30T15:57:19 | 2024-05-30T15:57:19 |
Shuyang Jiang, Yusheng Liao, Ya Zhang, Yu Wang, Yanfeng Wang
|
cs.CL
|
cs.CL
|
Fine-tuning on task-specific question-answer pairs is a predominant method
for enhancing the performance of instruction-tuned large language models (LLMs)
on downstream tasks. However, in certain specialized domains, such as
healthcare or harmless content generation, it is nearly impossible to obtain a
large volume of high-quality data that matches the downstream distribution. To
improve the performance of LLMs in data-scarce domains with domain-mismatched
data, we re-evaluated the Transformer architecture and discovered that not all
parameter updates during fine-tuning contribute positively to downstream
performance. Our analysis reveals that within the self-attention and
feed-forward networks, only the fine-tuned attention parameters are
particularly beneficial when the training set's distribution does not fully
align with the test set. Based on this insight, we propose an effective
inference-time intervention method: Training All parameters but Inferring with
only Attention (\trainallInfAttn). We empirically validate \trainallInfAttn
using two general instruction-tuning datasets and evaluate it on seven
downstream tasks involving math, reasoning, and knowledge understanding across
LLMs of different parameter sizes and fine-tuning techniques. Our comprehensive
experiments demonstrate that \trainallInfAttn achieves superior improvements
compared to both the fully fine-tuned model and the base model in most
scenarios, with significant performance gains. The high tolerance of
\trainallInfAttn to data mismatches makes it resistant to jailbreaking tuning
and enhances specialized tasks using general data.
|
[
-0.39155423641204834,
-0.7834439277648926,
0.3484606146812439,
0.176418274641037,
-0.12281935662031174,
-0.1888754963874817,
-0.36575013399124146,
-0.16043829917907715,
0.027151836082339287,
0.6804413199424744,
-0.6478695869445801,
-0.22242863476276398,
-0.7160882949829102,
-0.12391471117734909,
-0.3749830722808838,
0.9056549668312073,
-0.09158670902252197,
0.029871754348278046,
0.006456250324845314,
-0.154482901096344,
-0.7113502621650696,
-0.13569848239421844,
-0.9647340774536133,
-0.2597002387046814,
0.5768585801124573,
0.49229803681373596,
0.49572473764419556,
0.9234936237335205,
0.6279960870742798,
0.20818820595741272,
0.05321282148361206,
0.5495575666427612,
-0.7594187259674072,
-0.004443868063390255,
-0.34718257188796997,
-0.5299074053764343,
-0.3383645713329315,
-0.059209730476140976,
0.6755152940750122,
0.6674679517745972,
0.0673394426703453,
0.24623098969459534,
0.4248643219470978,
0.8537915945053101,
-0.8993297815322876,
0.1937505155801773,
-0.616531491279602,
-0.053053129464387894,
-0.16186481714248657,
-0.3358668088912964,
-0.6151220798492432,
-0.24435870349407196,
-0.05690109729766846,
-0.38980934023857117,
0.47804689407348633,
0.13203059136867523,
0.7524950504302979,
0.8194845914840698,
-0.23645290732383728,
0.03113068826496601,
-0.8269261121749878,
0.8538221120834351,
-0.7163630127906799,
0.4872892498970032,
0.3152437210083008,
0.17055541276931763,
-0.25819137692451477,
-0.4804982542991638,
-0.2384129762649536,
0.12851054966449738,
-0.17258307337760925,
0.2511425316333771,
-0.12342531234025955,
0.08313575387001038,
0.36556750535964966,
0.1727280169725418,
-0.42184704542160034,
0.30367785692214966,
-0.17639265954494476,
0.07404514402151108,
0.6523879170417786,
0.295358806848526,
-0.0254373699426651,
0.13296683132648468,
-0.04761146381497383,
-0.12254886329174042,
-0.8577823638916016,
-0.01752363331615925,
0.33302032947540283,
0.40982452034950256,
0.0006427735788747668,
0.3555980920791626,
-0.2590894103050232,
0.7672425508499146,
0.5380675792694092,
0.18625971674919128,
0.0503387451171875,
-0.24199411273002625,
-0.4268058240413666,
-0.024563215672969818,
0.7197825312614441,
0.10699483007192612,
0.44158995151519775,
-0.4493255615234375,
-0.16193555295467377,
-0.20156291127204895,
0.5142496824264526,
-0.9009313583374023,
-0.20670932531356812,
0.23402974009513855,
-0.3041872978210449,
-0.08686215430498123,
-0.18419387936592102,
-0.6102328300476074,
-0.004620320163667202,
-0.4822143614292145,
0.4362894594669342,
-0.3761530816555023,
-0.11971385776996613,
0.19098572432994843,
0.15559610724449158,
0.22395551204681396,
0.09313558787107468,
-1.1938666105270386,
0.0937860906124115,
0.7193832397460938,
0.7278885841369629,
-0.2685709297657013,
-0.25672435760498047,
-0.7088751196861267,
0.2093920260667801,
-0.40143489837646484,
0.6861585974693298,
-0.5486995577812195,
-0.007249173242598772,
-0.17734947800636292,
0.2591133415699005,
-0.5843773484230042,
-0.6457284092903137,
0.46519625186920166,
-0.806519091129303,
-0.10934262722730637,
-0.2510078549385071,
-0.7595411539077759,
0.02667967788875103,
0.01528539601713419,
-0.687554121017456,
0.8053649663925171,
0.20740200579166412,
-0.7801390290260315,
0.3508380949497223,
-0.7620094418525696,
-0.5667206645011902,
-0.1607813835144043,
0.04941597208380699,
-0.6053648591041565,
0.03977089002728462,
0.4243979752063751,
0.7029164433479309,
-0.24237126111984253,
0.42269542813301086,
-0.34634822607040405,
-0.5446727871894836,
0.06070027872920036,
-0.7090755701065063,
0.5088448524475098,
0.045513276010751724,
-0.45600345730781555,
0.008128375746309757,
-0.5693759322166443,
0.12990039587020874,
0.12472781538963318,
-0.21576333045959473,
-0.3747057318687439,
0.08723795413970947,
-0.1825384795665741,
0.02593584731221199,
0.04084106534719467,
-0.39694222807884216,
0.05571242421865463,
-0.6360480189323425,
0.56545090675354,
0.7781831622123718,
0.11485818028450012,
0.5315317511558533,
-0.30301037430763245,
0.40052005648612976,
0.19171902537345886,
0.3111444115638733,
-0.05254455655813217,
-0.24358688294887543,
-0.8580127358436584,
-0.1567016988992691,
0.4026055634021759,
0.3615298569202423,
-0.5914682745933533,
0.47386813163757324,
-0.35251402854919434,
-0.23371672630310059,
-0.8306219577789307,
0.2324109524488449,
0.4096088409423828,
0.7663680911064148,
0.5621495842933655,
-0.05000028759241104,
-0.2657392919063568,
-0.9503976702690125,
-0.2895197868347168,
0.24631503224372864,
-0.043673161417245865,
0.34053486585617065,
0.3547229468822479,
-0.08888498693704605,
0.863203763961792,
-0.5651915073394775,
-0.232764333486557,
-0.23053349554538727,
-0.052387338131666183,
0.09335682541131973,
0.5189141631126404,
0.38333630561828613,
-0.6579058766365051,
-0.5511757135391235,
-0.06121203303337097,
-0.49384403228759766,
0.021721605211496353,
-0.126530259847641,
-0.2980802655220032,
-0.0022092245053499937,
0.3695540130138397,
-0.300268292427063,
0.24278025329113007,
0.4391985237598419,
0.023681897670030594,
0.19905374944210052,
-0.19673597812652588,
0.08007542788982391,
-1.0947206020355225,
0.05395086854696274,
0.08915477246046066,
-0.13197223842144012,
-0.5991368889808655,
0.052697330713272095,
0.350137323141098,
0.19958722591400146,
-0.3929784595966339,
0.4930019974708557,
-0.24258865416049957,
0.12579387426376343,
-0.4097149670124054,
0.040601201355457306,
-0.02771812677383423,
0.6990966200828552,
-0.061686839908361435,
1.0246162414550781,
0.46789997816085815,
-0.7247555255889893,
0.21259164810180664,
0.31758517026901245,
-0.1920994222164154,
0.5608817338943481,
-0.7311837077140808,
0.1296667456626892,
-0.3260607123374939,
-0.06860273331403732,
-0.9539763331413269,
-0.36420488357543945,
0.17663449048995972,
-0.18001402914524078,
0.580095112323761,
-0.033616743981838226,
-0.3177342116832733,
-0.2632465064525604,
-0.10882862657308578,
0.3530106842517853,
0.37486714124679565,
-0.7102464437484741,
0.610470712184906,
0.18145954608917236,
0.19314713776111603,
-0.5926926136016846,
-0.6441051959991455,
-0.21582555770874023,
-0.28742364048957825,
-0.5707119107246399,
0.11353792250156403,
-0.0844702273607254,
0.1641133576631546,
-0.049348313361406326,
-0.10272054374217987,
-0.07933729141950607,
0.148639976978302,
0.06226322054862976,
0.1309834122657776,
-0.4256909191608429,
0.3481329083442688,
0.3921641409397125,
-0.21298569440841675,
0.018979256972670555,
-0.32692164182662964,
0.3633067011833191,
0.22481688857078552,
-0.4354940950870514,
-0.4268937408924103,
0.293230801820755,
0.36439019441604614,
-0.40003445744514465,
0.789530873298645,
0.44313791394233704,
-0.11878746747970581,
-0.4715198278427124,
-0.6821042895317078,
-0.4655170142650604,
-0.4676676094532013,
0.5263569355010986,
-0.19972172379493713,
-0.9286145567893982,
0.22395305335521698,
-0.15834932029247284,
0.16189788281917572,
0.317336767911911,
0.439959317445755,
-0.14536811411380768,
1.1497867107391357,
0.5687108635902405,
-0.3752160370349884,
0.46353885531425476,
-0.32549425959587097,
0.3174383044242859,
-1.1211371421813965,
0.08773331344127655,
-0.4327682852745056,
-0.577991247177124,
-0.5799202919006348,
-0.1976318657398224,
0.28420713543891907,
-0.15505969524383545,
-0.4553281366825104,
0.34862202405929565,
-0.4796275496482849,
0.5183679461479187,
0.4845093786716461,
0.3621552288532257,
0.1801653355360031,
-0.06330597400665283,
0.3377208411693573,
-0.05295354500412941,
-0.8459444642066956,
-0.17268481850624084,
1.1533888578414917,
0.3138290345668793,
0.9098172783851624,
-0.254410982131958,
0.4212648272514343,
0.07285988330841064,
0.44155991077423096,
-0.7314706444740295,
0.20507948100566864,
-0.4593033194541931,
-0.4905599057674408,
-0.4501522481441498,
-0.5079043507575989,
-0.9830843806266785,
0.12747156620025635,
0.1912761777639389,
-0.5554928183555603,
0.27645787596702576,
0.3984643816947937,
-0.43311670422554016,
0.2838119864463806,
-1.0003584623336792,
1.021478533744812,
-0.0963934138417244,
-0.3370932936668396,
-0.16374723613262177,
-0.600131630897522,
0.28250783681869507,
-0.368338406085968,
-0.16110406816005707,
-0.014876371249556541,
0.13560368120670319,
0.5808992981910706,
-0.18025095760822296,
0.9449968934059143,
-0.07652861624956131,
-0.0616762600839138,
0.17776073515415192,
-0.10738527029752731,
0.7734732627868652,
-0.004702391568571329,
-0.019101524725556374,
0.07119464874267578,
-0.3018515706062317,
-0.4788894057273865,
-0.9005789756774902,
0.7826087474822998,
-0.9057650566101074,
-0.6121599674224854,
0.25944262742996216,
-0.7319760322570801,
-0.6202619671821594,
0.09283380955457687,
0.3746604919433594,
0.4773250222206116,
0.11462060362100601,
0.4037034511566162,
1.1544170379638672,
0.15966743230819702,
0.3336428105831146,
0.5816187858581543,
0.4863779544830322,
-0.15859106183052063,
0.7463217377662659,
0.0961102619767189,
0.5785291194915771,
0.6408116221427917,
0.16364260017871857,
-0.3435920476913452,
-0.38618361949920654,
-0.44487833976745605,
0.30902838706970215,
-0.6234959363937378,
-0.35074105858802795,
-0.7428706288337708,
-0.4280892610549927,
-0.29866963624954224,
0.07694485038518906,
-0.5636797547340393,
0.05427295342087746,
-0.3623209595680237,
0.008585597388446331,
0.3548262119293213,
0.4492605924606323,
0.17085252702236176,
0.6330660581588745,
-0.672001302242279,
0.18023350834846497,
0.195771262049675,
0.4586603343486786,
0.23086953163146973,
-0.8732143044471741,
-0.5663635730743408,
0.2829808294773102,
-0.300636887550354,
-0.5316290855407715,
0.08923725038766861,
0.3490028381347656,
0.3565979599952698,
0.3806914687156677,
0.008643236011266708,
0.7726216316223145,
-0.6371347308158875,
0.2680538594722748,
-0.1291750967502594,
-0.715337336063385,
0.585908830165863,
-0.12484007328748703,
0.3578909635543823,
0.43752628564834595,
0.38615110516548157,
-0.3021962642669678,
-0.5143132209777832,
-0.4398094415664673,
-0.6717438697814941,
0.8692992925643921,
0.07523153722286224,
0.28947675228118896,
0.03651993349194527,
0.5017865300178528,
-0.03877192735671997,
0.10413648933172226,
-0.2736883759498596,
-0.3516961336135864,
-0.05653752386569977,
-0.3927105665206909,
-0.11855318397283554,
-0.023628059774637222,
-0.08973168581724167,
-0.22142817080020905,
0.7159343957901001,
-0.40609392523765564,
0.14382869005203247,
0.040934834629297256,
0.06049194559454918,
-0.35563257336616516,
0.16610229015350342,
0.39101430773735046,
0.5487979054450989,
0.024840230122208595,
-0.049220629036426544,
0.3324069678783417,
-0.5639694333076477,
0.19590993225574493,
-0.06795212626457214,
-0.38825008273124695,
-0.26209723949432373,
0.29663294553756714,
1.0583094358444214,
0.2777211666107178,
-0.3836263120174408,
0.3983286917209625,
-0.03074263408780098,
-0.14476247131824493,
0.05528653413057327,
0.5732275247573853,
0.10188553482294083,
0.3765524625778198,
0.04575251787900925,
0.2046974003314972,
0.0615457147359848,
-0.044351041316986084,
0.15777406096458435,
0.4614768624305725,
-0.36587268114089966,
-0.22160691022872925,
0.7452108263969421,
-0.07522360980510712,
-0.1527799367904663,
0.6450445055961609,
0.0789901465177536,
-0.10526534914970398,
0.710159182548523,
0.6663655638694763,
0.9535422325134277,
-0.4055664837360382,
0.1897391974925995,
0.3110989034175873,
0.2790556252002716,
-0.318960577249527,
0.060008659958839417,
0.03164614737033844,
-0.7164942026138306,
-0.9195374846458435,
-0.444761723279953,
-0.08359676599502563,
0.3674889802932739,
-0.7166451215744019,
0.14513850212097168,
-0.1832398921251297,
-0.06844659149646759,
-0.014789820648729801,
-0.2675858438014984,
-0.8514553904533386,
0.40944239497184753,
-0.2994137406349182,
0.8102107048034668,
-0.8078004717826843,
0.7554886937141418,
0.4483579993247986,
-0.23997686803340912,
-1.2422990798950195,
0.2459859549999237,
-0.613614559173584,
-0.8978756666183472,
0.6951594352722168,
-0.018613208085298538,
-0.02867908589541912,
0.2671969532966614,
-0.611848771572113,
-1.0352624654769897,
0.8429391980171204,
0.5895782113075256,
-0.8346224427223206,
-0.0985201820731163,
0.3435446619987488,
0.5133746266365051,
-0.20545119047164917,
0.25522854924201965,
0.7885503172874451,
0.29893502593040466,
0.15146870911121368,
-0.7030521035194397,
-0.017695989459753036,
0.0713973194360733,
0.08833183348178864,
0.5509936809539795,
-0.9741412401199341,
0.518063485622406,
-0.11408699303865433,
-0.09745730459690094,
-0.22184282541275024,
0.6233934760093689,
-0.11163746565580368,
0.049669474363327026,
0.4071488678455353,
0.553593099117279,
0.6124370098114014,
-0.23427508771419525,
0.9622718095779419,
-0.37823817133903503,
0.46301186084747314,
1.1234511137008667,
-0.16782714426517487,
0.7668594717979431,
0.5208549499511719,
-0.09522997587919235,
-0.04432622343301773,
0.5678041577339172,
-0.07709997892379761,
0.8026580214500427,
0.03309715911746025,
0.05405312776565552,
-0.43179404735565186,
-0.037451472133398056,
-0.17633382976055145,
0.3225882053375244,
0.2205135077238083,
-0.4019855558872223,
-0.26320913434028625,
0.08962736278772354,
-0.1635427474975586,
-0.10699588805437088,
-0.2891520857810974,
0.705777645111084,
0.05789638310670853,
-0.8032881021499634,
0.7012891173362732,
-0.14002563059329987,
0.442812442779541,
-0.5505185723304749,
0.10114797949790955,
-0.43921151757240295,
0.44674137234687805,
-0.12725739181041718,
-0.6580929160118103,
0.4231339693069458,
-0.13755570352077484,
-0.29420024156570435,
0.025785446166992188,
0.5447275042533875,
-0.3970039188861847,
-0.3497360050678253,
0.2579278349876404,
0.3547813594341278,
-0.15330538153648376,
-0.1971355825662613,
-0.5568867921829224,
-0.14280758798122406,
-0.057515233755111694,
-0.37859275937080383,
0.3301868736743927,
0.5760985612869263,
-0.01040948461741209,
0.7678714394569397,
0.41004928946495056,
0.162427619099617,
0.022923331707715988,
0.29706284403800964,
0.9319601655006409,
-0.33410322666168213,
-0.44896262884140015,
-0.8440797328948975,
0.37714430689811707,
0.049318406730890274,
-0.3765223026275635,
0.5491577386856079,
0.41977250576019287,
0.9424821138381958,
-0.15577347576618195,
0.671185314655304,
0.29918718338012695,
0.5027384757995605,
-0.5772314071655273,
0.480832576751709,
-0.716710090637207,
0.06659756600856781,
0.0034156974870711565,
-0.8446831703186035,
-0.10054624080657959,
0.2924584448337555,
-0.5688494443893433,
0.15896840393543243,
0.6247751116752625,
0.8493137955665588,
-0.4446592330932617,
0.07242784649133682,
0.36512601375579834,
0.15130120515823364,
0.2793391942977905,
0.7013490796089172,
0.6151878833770752,
-0.667503297328949,
0.35102182626724243,
-0.19741544127464294,
-0.10697324573993683,
-0.22713011503219604,
-0.510148823261261,
-1.0366045236587524,
-0.3335329592227936,
-0.30527761578559875,
-0.20473361015319824,
0.34133991599082947,
0.6342579126358032,
0.8445104360580444,
-0.9841331839561462,
0.10649125277996063,
-0.2075335532426834,
-0.09961368143558502,
-0.36838197708129883,
-0.22606763243675232,
0.5157522559165955,
-0.6789973378181458,
-0.7927345037460327,
0.20452022552490234,
0.31635230779647827,
-0.1342960149049759,
-0.31800970435142517,
0.06867507100105286,
0.1700775921344757,
0.15176303684711456,
0.45062971115112305,
0.0025303044822067022,
-0.46178722381591797,
-0.4171314239501953,
0.3610006272792816,
-0.12301916629076004,
0.19319792091846466,
0.8018735647201538,
-0.4505153298377991,
0.2609749138355255,
0.23758956789970398,
1.1309739351272583,
0.34659630060195923,
0.10845492035150528,
0.4165768325328827,
-0.8960817456245422,
0.0005998873966746032,
0.2230999916791916,
0.3185223340988159,
0.24151529371738434,
-0.6581108570098877,
0.474021315574646,
0.027823055163025856,
-0.822461724281311,
-0.48218515515327454,
0.2039918601512909,
-0.5735298991203308,
-0.0702180340886116,
1.0489897727966309,
-0.09131234139204025,
-0.3725227415561676,
-0.10969498008489609,
-0.10438937693834305,
0.41478583216667175,
-0.32817158102989197,
0.9704993963241577,
0.6069721579551697,
-0.004590547643601894,
-0.12404977530241013,
-0.649544894695282,
0.40472641587257385,
0.6866580843925476,
-0.8431491851806641,
0.2562141418457031,
0.13237324357032776,
0.4404503107070923,
-0.1259029507637024,
0.29717695713043213,
0.19558288156986237,
0.144039124250412,
-0.4476490616798401,
-0.3298893868923187,
-0.03405962511897087,
-0.3833019733428955,
-0.2231171429157257,
-0.016509350389242172,
-0.08839375525712967,
-0.41391098499298096
] |
http://arxiv.org/abs/2405.20179v1
|
http://arxiv.org/pdf/2405.20179v1
|
Robo-Instruct: Simulator-Augmented Instruction Alignment For Finetuning CodeLLMs
| 2024-05-30T15:47:54 | 2024-05-30T15:47:54 |
Zichao Hu, Junyi Jessy Li, Arjun Guha, Joydeep Biswas
|
cs.CL
|
cs.CL, cs.AI, cs.RO
|
Large language models (LLMs) have shown great promise at generating robot
programs from natural language given domain-specific robot application
programming interfaces (APIs). However, the performance gap between proprietary
LLMs and smaller open-weight LLMs remains wide. This raises a question: Can we
fine-tune smaller open-weight LLMs for generating domain-specific robot
programs to close the performance gap with proprietary LLMs? While
Self-Instruct is a promising solution by generating a diverse set of training
data, it cannot verify the correctness of these programs. In contrast, a robot
simulator with a well-defined world can identify execution errors but limits
the diversity of programs that it can verify. In this work, we introduce
Robo-Instruct, which brings the best of both worlds -- it promotes the
diversity of Self-Instruct while providing the correctness of simulator-based
checking. Robo-Instruct introduces RoboSim to synthesize a consistent world
state on the fly by inferring properties relevant to the program being checked,
and simulating actions accordingly. Furthermore, the instructions and programs
generated by Self-Instruct may be subtly inconsistent -- such as the program
missing a step implied by the instruction. Robo-Instruct further addresses this
with InstAlign, an instruction-program alignment procedure that revises the
task instruction to reflect the actual results of the generated program. Given
a few seed task descriptions and the robot APIs, Robo-Instruct is capable of
generating a training dataset using only a small open-weight model. This
dataset can then be used to fine-tune small open-weight language models,
enabling them to match or even exceed the performance of several proprietary
LLMs, such as GPT-3.5-Turbo and Gemini-Pro.
|
[
-0.04240013659000397,
-0.5613552331924438,
0.23993556201457977,
-0.0007035689195618033,
0.14151111245155334,
0.30475425720214844,
-0.33387428522109985,
-0.3747217655181885,
0.08610641956329346,
0.7675055861473083,
-0.8006442189216614,
-0.5424920916557312,
-0.39970532059669495,
0.12668485939502716,
-0.11865551769733429,
0.9180153012275696,
-0.12445690482854843,
0.24340903759002686,
-0.4779376983642578,
0.065227210521698,
-0.5748538970947266,
-0.14512914419174194,
-0.04729423671960831,
-0.5060877203941345,
-0.03421745449304581,
0.7242075204849243,
0.8250007033348083,
0.9944530725479126,
0.48583099246025085,
0.286599725484848,
0.3852250576019287,
0.43529611825942993,
-0.4235507845878601,
-0.1492672860622406,
-0.1677568107843399,
-0.5530150532722473,
-0.48484811186790466,
-0.04435902461409569,
0.48605620861053467,
0.5119191408157349,
-0.09086492657661438,
0.2570403218269348,
0.27849674224853516,
0.6348101496696472,
-0.6235259175300598,
-0.2531203329563141,
-0.5498678088188171,
-0.05696423351764679,
0.006391838658601046,
-0.2360798567533493,
-0.5211275815963745,
-0.5139006972312927,
-0.24692212045192719,
-0.5064915418624878,
0.12236101925373077,
0.20744094252586365,
1.029550552368164,
0.6659543514251709,
-0.1759108155965805,
-0.34429851174354553,
-0.8193084597587585,
0.7663564085960388,
-0.9224072694778442,
0.2337741255760193,
0.11251573264598846,
0.20701195299625397,
-0.5788562893867493,
-0.13799290359020233,
-0.4226134419441223,
-0.40934643149375916,
0.0881580337882042,
0.15144355595111847,
0.04672082141041756,
0.38886475563049316,
0.2059294432401657,
0.3568932116031647,
-0.7359026074409485,
0.593986988067627,
-0.3276512920856476,
-0.1781085580587387,
0.4879613220691681,
0.21874211728572845,
0.47681865096092224,
-0.04097284376621246,
-0.6619821786880493,
-0.2665104568004608,
-1.0741029977798462,
-0.07643934339284897,
0.8485406041145325,
0.5172701478004456,
-0.12908527255058289,
0.8456745743751526,
-0.05485936626791954,
0.9351364970207214,
0.37067049741744995,
-0.4175187051296234,
0.13543586432933807,
0.030115367844700813,
-0.33105385303497314,
0.3398177921772003,
0.8156265616416931,
0.4107570946216583,
0.28795745968818665,
-0.12230508774518967,
-0.35262617468833923,
0.08876971155405045,
0.4031180143356323,
-0.6506361961364746,
-0.2582347095012665,
0.2487601786851883,
-0.1386437863111496,
-0.042284928262233734,
0.3946399390697479,
-0.45819270610809326,
-0.17538464069366455,
-0.7134074568748474,
0.7778403759002686,
-0.5602262616157532,
0.2133650779724121,
0.22553278505802155,
0.09137226641178131,
0.062442392110824585,
0.4114213287830353,
-0.8904246091842651,
0.49873319268226624,
0.9154930710792542,
0.6002449989318848,
-0.08734986931085587,
-0.4128826856613159,
-0.6092444658279419,
0.3779110610485077,
-0.4551733136177063,
0.5400375723838806,
-0.3862239718437195,
0.09053798764944077,
-0.039087310433387756,
0.0451425164937973,
-0.09649170935153961,
-0.8647601008415222,
-0.28681665658950806,
-0.272143691778183,
0.36904266476631165,
0.4402373135089874,
-0.9315204620361328,
0.02266519144177437,
0.32522282004356384,
-0.22872492671012878,
1.063674807548523,
0.4704747200012207,
-0.29121696949005127,
0.17899669706821442,
-0.4493577182292938,
-0.5850304961204529,
-0.14603827893733978,
-0.2556602656841278,
-0.3428671658039093,
-0.2554776072502136,
0.19984658062458038,
0.41349080204963684,
-0.2413450926542282,
-0.0821157842874527,
-0.1334914267063141,
-0.6082998514175415,
0.060440924018621445,
0.06485891342163086,
0.8452633619308472,
0.04935647174715996,
-0.3600650131702423,
0.2693956792354584,
-0.6226683855056763,
0.11049880087375641,
-0.1714271903038025,
0.06660833209753036,
-0.336795449256897,
-0.24475476145744324,
-0.5727293491363525,
0.03633340820670128,
0.4494514763355255,
-0.5691479444503784,
0.6314375400543213,
-0.8080083131790161,
0.2088148593902588,
0.8352452516555786,
-0.3521669805049896,
0.7660650014877319,
-0.22341376543045044,
0.9817218780517578,
-0.31005507707595825,
0.37143421173095703,
-0.05656128376722336,
-0.19232118129730225,
-0.5951290726661682,
-0.5045095682144165,
0.416677862405777,
0.9173692464828491,
-0.6628525257110596,
0.6009067296981812,
-0.11708347499370575,
-0.32021480798721313,
-0.6303787231445312,
0.5127684473991394,
0.5924466848373413,
0.41325080394744873,
0.27749499678611755,
-0.17683935165405273,
-0.49664124846458435,
-0.7158849835395813,
0.22317175567150116,
0.13866384327411652,
-0.08385458588600159,
0.1167159155011177,
0.3873741328716278,
-0.18549442291259766,
0.6867765188217163,
-0.4726737141609192,
-0.47356492280960083,
-0.12504011392593384,
0.10403262078762054,
0.18819528818130493,
0.7223026156425476,
0.5595877766609192,
0.007015754468739033,
-0.4134446680545807,
0.29456767439842224,
-0.4709731936454773,
-0.16036255657672882,
-0.2436443567276001,
-0.23852971196174622,
0.13532252609729767,
0.6818652749061584,
-0.41487786173820496,
0.09789969772100449,
0.797113835811615,
0.20822562277317047,
0.34427183866500854,
-0.5809345841407776,
0.12000797688961029,
-0.9303718209266663,
-0.4321078956127167,
-0.36931461095809937,
-0.12804430723190308,
-0.06666523963212967,
0.08379793912172318,
0.05952277407050133,
0.057884618639945984,
-0.1870313435792923,
0.40647122263908386,
-0.45661622285842896,
-0.1300588995218277,
-0.4394066035747528,
0.1737566888332367,
-0.13195738196372986,
0.30032429099082947,
-0.3387211859226227,
1.0032169818878174,
0.5497533082962036,
-0.5748820304870605,
0.2350587546825409,
0.12334689497947693,
-0.2842673659324646,
0.3788061738014221,
-0.40300554037094116,
0.27522239089012146,
0.07883109897375107,
0.08233708143234253,
-0.952799379825592,
-0.5716288685798645,
0.5528112053871155,
-0.2598843574523926,
0.35696420073509216,
-0.648639440536499,
-0.6816182136535645,
-0.3270581066608429,
-0.1327802836894989,
0.14173725247383118,
0.6381825804710388,
-0.7888866066932678,
0.6082947850227356,
0.17094798386096954,
0.2714661955833435,
-0.8737554550170898,
-0.32016265392303467,
-0.2806568741798401,
-0.09890323877334595,
-0.46379294991493225,
0.2726201117038727,
-0.08084443211555481,
0.029762981459498405,
-0.10667695105075836,
-0.10841197520494461,
-0.09744230657815933,
-0.05206350237131119,
0.5700621604919434,
0.49435821175575256,
-0.23955699801445007,
0.0902659222483635,
0.5124038457870483,
-0.10929494351148605,
-0.03788070008158684,
-0.4060114920139313,
0.6438053846359253,
0.041334111243486404,
-0.553061842918396,
-0.5712775588035583,
-0.10606402158737183,
0.3863603472709656,
-0.13588285446166992,
0.4158892035484314,
0.35334140062332153,
-0.2287505865097046,
-0.5987392067909241,
-0.35578256845474243,
-0.327108770608902,
-0.5335090756416321,
0.10903263837099075,
0.026127956807613373,
-0.9120811820030212,
0.29044151306152344,
-0.447946161031723,
0.019955478608608246,
0.13187970221042633,
0.38646742701530457,
-0.4287543296813965,
0.930033802986145,
0.6457149982452393,
0.048416104167699814,
0.5948675870895386,
-0.24581286311149597,
0.08703118562698364,
-0.5660423636436462,
-0.11398661136627197,
-0.36014121770858765,
-0.46317240595817566,
-0.4333260655403137,
-0.3928236663341522,
0.1537783294916153,
0.10130578279495239,
-0.5273423194885254,
0.6399357914924622,
-0.7728893160820007,
0.7555509209632874,
0.6862427592277527,
0.30094853043556213,
0.06568578630685806,
0.08074713498353958,
0.15934574604034424,
-0.06956590712070465,
-0.8746114373207092,
-0.7407557964324951,
0.8748698234558105,
-0.008909235708415508,
1.1790425777435303,
-0.1506459265947342,
1.2312284708023071,
0.22625529766082764,
0.2691762447357178,
-0.7006508708000183,
0.5263863205909729,
-0.43957144021987915,
-0.36413440108299255,
-0.1550687998533249,
-0.3147442638874054,
-0.9683100581169128,
-0.39406853914260864,
-0.12507401406764984,
-0.6944176554679871,
-0.16975019872188568,
0.6858059167861938,
-0.6497816443443298,
0.19270329177379608,
-0.7705686688423157,
1.057615876197815,
-0.5187724828720093,
-0.1042318269610405,
-0.26581457257270813,
-0.6850054264068604,
0.42274460196495056,
0.3756311237812042,
-0.049826521426439285,
-0.27338990569114685,
0.00392425199970603,
0.310977041721344,
-0.6406857371330261,
1.0113526582717896,
0.05265384539961815,
-0.363984078168869,
0.46608370542526245,
0.43235278129577637,
0.471371591091156,
-0.19431358575820923,
0.20074668526649475,
-0.13264033198356628,
0.07650398463010788,
0.018318234011530876,
-0.8598678708076477,
0.6713308095932007,
-0.8420119285583496,
-0.4203408658504486,
-0.1633712202310562,
-0.8069995641708374,
-0.04904273524880409,
0.12382065504789352,
0.1817348748445511,
0.3884725868701935,
0.021484211087226868,
-0.11922802776098251,
0.6024793982505798,
-0.18049877882003784,
-0.006178990937769413,
0.2672717869281769,
-0.20736485719680786,
-0.40972718596458435,
1.0774238109588623,
-0.09880068153142929,
0.616264283657074,
0.642447829246521,
0.201051265001297,
0.15088960528373718,
-0.3578367829322815,
-0.7159602046012878,
-0.01277376152575016,
-0.4854435920715332,
-0.6759648323059082,
-0.05570399761199951,
-0.12886209785938263,
-0.1827624887228012,
-0.4431828558444977,
-0.8246886134147644,
-0.40654414892196655,
-0.28131166100502014,
0.3158017694950104,
0.5311071872711182,
0.8334695100784302,
-0.23721559345722198,
0.6727104783058167,
-0.7056747674942017,
0.33735933899879456,
0.1256805807352066,
0.36335980892181396,
-0.2962139844894409,
-0.631088376045227,
-0.39715754985809326,
0.14620447158813477,
-0.2532064914703369,
-0.4491300880908966,
0.1187320277094841,
0.049576614052057266,
0.19618621468544006,
0.4516664147377014,
0.09535133838653564,
0.8578280210494995,
-0.6612184047698975,
0.601237416267395,
0.13260440528392792,
-0.8628982901573181,
0.7742835879325867,
-0.25070300698280334,
0.11153402179479599,
0.5358763933181763,
0.25104352831840515,
0.009794743731617928,
-0.7210443019866943,
-0.5263608694076538,
-0.6990759372711182,
0.8512428998947144,
-0.07407309859991074,
0.1540922373533249,
0.04705791547894478,
0.4236774444580078,
0.49090880155563354,
-0.015400338917970657,
-0.41860708594322205,
-0.007684547919780016,
0.033498480916023254,
-0.7317342162132263,
0.30596134066581726,
0.17448298633098602,
-0.3782002329826355,
-0.10347167402505875,
0.5389343500137329,
-0.26602017879486084,
0.26147711277008057,
-0.16328582167625427,
-0.11089614033699036,
-0.26284360885620117,
-0.03725724294781685,
0.679753839969635,
0.5252950191497803,
-0.32261985540390015,
0.003396561834961176,
-0.05733320489525795,
-0.3446709215641022,
0.17755763232707977,
-0.11023662984371185,
-0.3165605962276459,
-0.24371865391731262,
0.19591405987739563,
0.24940437078475952,
0.1689814031124115,
-0.9414685368537903,
0.3780772089958191,
0.41039153933525085,
-0.020970217883586884,
-0.21721665561199188,
0.8056505918502808,
-0.2843300998210907,
0.4442877173423767,
-0.12630289793014526,
0.29217320680618286,
-0.15306240320205688,
-0.3860236704349518,
0.14450566470623016,
0.6264889240264893,
-0.31502723693847656,
-0.16861049830913544,
0.6274169683456421,
0.09426230937242508,
-0.41718703508377075,
0.7082497477531433,
-0.3224727511405945,
-0.30942001938819885,
0.8742298483848572,
0.6308618187904358,
0.8008456826210022,
-0.13614816963672638,
0.08926793932914734,
0.5226282477378845,
0.5391420722007751,
-0.2155294269323349,
0.3725338578224182,
0.0861373096704483,
-0.786443293094635,
-0.7324650883674622,
-0.14907938241958618,
-0.5993333458900452,
-0.11005532741546631,
-0.6604841947555542,
0.1961381733417511,
-0.8384082317352295,
0.021166041493415833,
-0.45305848121643066,
-0.4251609444618225,
-0.40830451250076294,
0.1365470439195633,
0.17902931571006775,
0.41069209575653076,
-0.6102085113525391,
0.8465045690536499,
0.6644001007080078,
-0.23337800800800323,
-0.7974429726600647,
0.07574727386236191,
0.11033913493156433,
-0.7371147871017456,
0.7179375886917114,
0.1502649486064911,
-0.605036199092865,
-0.12342251092195511,
-1.0276850461959839,
-0.8174833059310913,
0.92542964220047,
0.839657723903656,
-0.5376853942871094,
0.2855696678161621,
0.17238038778305054,
0.38503381609916687,
-0.527924120426178,
-0.059821825474500656,
0.03711099922657013,
0.13802090287208557,
-0.09163620322942734,
-1.004446029663086,
-0.12183703482151031,
0.27626585960388184,
-0.25190553069114685,
0.2992669939994812,
-0.6544163823127747,
0.5616877675056458,
-0.4782240092754364,
-0.13275767862796783,
0.5034720301628113,
0.8434377908706665,
0.1765354722738266,
0.09255422651767731,
0.4089049994945526,
0.4410281777381897,
0.6646031141281128,
-0.06128205731511116,
0.9351693987846375,
-0.6407652497291565,
0.23877239227294922,
1.6115700006484985,
-0.2191774696111679,
0.7544720768928528,
0.34275591373443604,
-0.10397789627313614,
0.5051856637001038,
0.4031628966331482,
-0.2373303323984146,
0.3243239223957062,
0.09595311433076859,
0.22053858637809753,
-0.3389085531234741,
0.06182478368282318,
-0.17675642669200897,
0.7159514427185059,
0.22087787091732025,
-0.11942596733570099,
0.05340629070997238,
-0.008037487044930458,
-0.03491002693772316,
0.4178711473941803,
-0.19222982227802277,
0.5581323504447937,
-0.319839209318161,
-0.5715993046760559,
0.43157991766929626,
-0.2018859088420868,
0.6092889308929443,
-0.7295698523521423,
-0.3513680100440979,
-0.05726157873868942,
0.6035200357437134,
-0.19114552438259125,
-0.8008931875228882,
0.04259376972913742,
-0.258664071559906,
-0.09435710310935974,
-0.2687406539916992,
0.40261805057525635,
-0.4776904582977295,
-0.3068069517612457,
0.0923507809638977,
0.25267690420150757,
0.09706457704305649,
0.27432945370674133,
-0.6029105186462402,
0.034049227833747864,
-0.00023331209376920015,
0.3518645763397217,
0.38795459270477295,
0.5498186349868774,
0.11695171892642975,
0.87876957654953,
0.2743799388408661,
-0.1463579386472702,
0.12223502993583679,
0.14659914374351501,
0.5198798775672913,
-0.32742345333099365,
-0.13354992866516113,
-0.6627697348594666,
0.28544703125953674,
0.19790425896644592,
-0.47001054883003235,
0.8867566585540771,
0.6768829226493835,
1.3656837940216064,
-0.4735650420188904,
0.2566271424293518,
-0.17784661054611206,
0.2894839942455292,
-0.775380551815033,
0.29393744468688965,
-0.6295952200889587,
0.09546159207820892,
-0.4903477728366852,
-0.670013964176178,
-0.34599125385284424,
0.702545702457428,
-0.14448682963848114,
0.033930420875549316,
0.3127288818359375,
1.2475755214691162,
-0.21231365203857422,
-0.3300132155418396,
0.08050145208835602,
-0.07547944784164429,
-0.21870814263820648,
0.47211953997612,
1.012460708618164,
-0.47131457924842834,
0.5170530676841736,
-0.5896431803703308,
-0.09081157296895981,
-0.2195320874452591,
-0.830498218536377,
-0.982775092124939,
-0.1908102035522461,
-0.7087814807891846,
-0.32143956422805786,
0.0958702564239502,
1.314475655555725,
0.6910495758056641,
-0.7987480759620667,
-0.5524941086769104,
0.03547365590929985,
0.27008679509162903,
-0.7259122133255005,
-0.23381635546684265,
0.3390924334526062,
-0.46238213777542114,
-0.8936786651611328,
0.5660632252693176,
0.47993046045303345,
0.22249458730220795,
-0.12177132070064545,
-0.303236722946167,
0.09006007015705109,
-0.13523611426353455,
0.506942093372345,
0.4314369559288025,
-0.7839564085006714,
-0.41320332884788513,
0.10702045261859894,
-0.22962157428264618,
0.363898903131485,
0.7456111907958984,
-0.6675636172294617,
0.4863488972187042,
0.19051672518253326,
0.6468937993049622,
-0.12122614681720734,
-0.007716719526797533,
0.6865730285644531,
-0.7989513278007507,
0.19524899125099182,
0.1614336520433426,
0.1421055793762207,
0.1983787566423416,
-0.5210796594619751,
0.483646035194397,
-0.3103962242603302,
-0.5600549578666687,
-0.6232565641403198,
0.22363051772117615,
-1.1597236394882202,
-0.12047768384218216,
0.8882563710212708,
0.1831613928079605,
-0.2756582796573639,
0.21401429176330566,
-0.4133369028568268,
0.1741284430027008,
-0.2416580617427826,
0.936052143573761,
0.29895859956741333,
-0.41307222843170166,
-0.037308428436517715,
-0.5578709244728088,
0.2624613046646118,
0.34031060338020325,
-0.7084468007087708,
0.15558257699012756,
0.5666263103485107,
0.26224324107170105,
0.07944614440202713,
0.0037487326189875603,
0.015477296896278858,
0.3247765302658081,
-0.01174488291144371,
0.49316924810409546,
-0.19848516583442688,
-0.5154735445976257,
0.0243515707552433,
-0.15109480917453766,
-0.03238390013575554,
-0.45564892888069153
] |
http://arxiv.org/abs/2405.20175v1
|
http://arxiv.org/pdf/2405.20175v1
|
InstructionCP: A fast approach to transfer Large Language Models into target language
| 2024-05-30T15:45:13 | 2024-05-30T15:45:13 |
Kuang-Ming Chen, Hung-yi Lee
|
cs.CL
|
cs.CL, cs.AI
|
The rapid development of large language models (LLMs) in recent years has
largely focused on English, resulting in models that respond exclusively in
English. To adapt these models to other languages, continual pre-training (CP)
is often employed, followed by supervised fine-tuning (SFT) to maintain
conversational abilities. However, CP and SFT can reduce a model's ability to
filter harmful content. We propose Instruction Continual Pre-training (InsCP),
which integrates instruction tags into the CP process to prevent loss of
conversational proficiency while acquiring new languages. Our experiments
demonstrate that InsCP retains conversational and Reinforcement Learning from
Human Feedback (RLHF) abilities. Empirical evaluations on language alignment,
reliability, and knowledge benchmarks confirm the efficacy of InsCP. Notably,
this approach requires only 0.1 billion tokens of high-quality
instruction-following data, thereby reducing resource consumption.
|
[
-0.26052019000053406,
-0.573745846748352,
0.30403605103492737,
0.3608202636241913,
-0.2887103855609894,
0.35334575176239014,
-0.6471138000488281,
-0.27438580989837646,
-0.18984785676002502,
0.8498677611351013,
-0.3163394033908844,
-0.39849382638931274,
-0.578443706035614,
-0.209428071975708,
-0.31693196296691895,
0.9529920220375061,
-0.10165942460298538,
0.22207322716712952,
-0.22774110734462738,
0.3359583020210266,
-0.5707147121429443,
-0.5855256915092468,
-1.0135409832000732,
-0.3160340487957001,
0.27979275584220886,
0.7881196141242981,
0.34543928503990173,
0.6803053617477417,
0.4019664525985718,
0.1666301190853119,
0.30397897958755493,
0.2265685796737671,
-0.6980088353157043,
-0.10153857618570328,
-0.1811121106147766,
-0.45909997820854187,
-0.24194595217704773,
0.07713934779167175,
0.9335335493087769,
0.8950679898262024,
-0.19284020364284515,
-0.06509203463792801,
0.5229493975639343,
0.5869364738464355,
-0.7480810880661011,
0.25517600774765015,
-0.6056007742881775,
-0.07056604325771332,
-0.11498523503541946,
-0.37116342782974243,
-0.946985125541687,
-0.23187150061130524,
0.09216904640197754,
-0.4734126925468445,
-0.1593194603919983,
0.1354292333126068,
0.7042986154556274,
0.2107851356267929,
-0.15343041718006134,
-0.22474496066570282,
-0.7315731048583984,
0.8477040529251099,
-0.6600565910339355,
0.6635822057723999,
0.7293781638145447,
-0.07677813619375229,
-0.3320293128490448,
-0.54566490650177,
-0.4046335220336914,
-0.8341822624206543,
-0.08374970406293869,
0.08488240092992783,
0.20670783519744873,
0.2323291003704071,
-0.08699944615364075,
-0.12732689082622528,
-0.47810277342796326,
0.6061036586761475,
-0.2956554889678955,
-0.11601056903600693,
0.495590478181839,
0.06412559002637863,
0.3571002185344696,
0.32393017411231995,
-0.3448285162448883,
-0.04189041629433632,
-1.126316785812378,
0.1549462229013443,
0.2530502676963806,
0.3886289596557617,
-0.20913773775100708,
0.19616156816482544,
0.03307684510946274,
0.6171286106109619,
0.18401585519313812,
-0.37411361932754517,
-0.17414143681526184,
-0.25249671936035156,
-0.04847003519535065,
0.22474083304405212,
0.6168273091316223,
0.06321856379508972,
0.3248177766799927,
-0.26563045382499695,
-0.054040249437093735,
-0.07585262507200241,
0.23369167745113373,
-0.8263729810714722,
-0.41564834117889404,
-0.13548381626605988,
-0.3864043951034546,
-0.0029413155280053616,
-0.07644851505756378,
-0.4858040511608124,
0.15391196310520172,
-0.4898254871368408,
0.13980655372142792,
-0.6802229881286621,
0.04628431051969528,
0.07271087169647217,
0.372754842042923,
0.22590181231498718,
0.2735888957977295,
-1.1608704328536987,
0.5433306694030762,
0.8889960050582886,
0.5798938274383545,
-0.5513177514076233,
-0.44623345136642456,
-0.7249094843864441,
0.3571555018424988,
-0.551604151725769,
0.8844946026802063,
-0.8849422931671143,
-0.5119861364364624,
0.20449598133563995,
0.39070120453834534,
-0.20428438484668732,
-0.5098975896835327,
0.14428189396858215,
-0.5440549850463867,
0.21639813482761383,
-0.01382807269692421,
-0.8287046551704407,
0.11865286529064178,
0.32876694202423096,
-0.087327741086483,
0.8562228679656982,
0.06088423356413841,
-0.2815283238887787,
0.22949224710464478,
-0.41425248980522156,
-0.6970793604850769,
0.33587005734443665,
0.10749450325965881,
-0.08528223633766174,
-0.24478211998939514,
0.23141176998615265,
0.5111660361289978,
-0.22967587411403656,
0.039466507732868195,
-0.04856496304273605,
-0.524649441242218,
-0.12119754403829575,
-0.32423847913742065,
0.4725772738456726,
0.19922380149364471,
-0.2640717923641205,
-0.12040983140468597,
-0.5864600539207458,
0.07800649106502533,
-0.01971413567662239,
-0.6957359313964844,
-0.3427985906600952,
0.11791554093360901,
-0.45956626534461975,
0.06528852134943008,
0.3000091016292572,
-0.31758245825767517,
0.340008944272995,
-0.4327148497104645,
0.2944033443927765,
0.7550998330116272,
0.13367468118667603,
0.6158838868141174,
-0.17703258991241455,
0.7781475186347961,
-0.12493687123060226,
0.14598067104816437,
-0.5449653267860413,
-0.14700055122375488,
-0.9612821340560913,
-0.05317722260951996,
0.23656049370765686,
0.6579154133796692,
-0.8229790925979614,
0.5784437656402588,
-0.28652653098106384,
-0.5538860559463501,
-0.33989280462265015,
0.3649442791938782,
0.8723812699317932,
0.4215090870857239,
0.313816636800766,
-0.6161763668060303,
-0.2180301547050476,
-0.6684224009513855,
0.0593884252011776,
-0.2261982262134552,
-0.014242134056985378,
-0.10567290335893631,
0.19243620336055756,
-0.07238197326660156,
0.4554905593395233,
-0.2673722505569458,
-0.07484471052885056,
-0.49089762568473816,
0.07987777143716812,
-0.07148955017328262,
0.8331518769264221,
0.44250455498695374,
-0.22058752179145813,
-0.8753845691680908,
0.019173461943864822,
-0.2275698482990265,
-0.013976635411381721,
-0.35599058866500854,
-0.25219330191612244,
0.25123122334480286,
0.8460066914558411,
-0.17807909846305847,
0.10166797041893005,
0.7070490717887878,
0.11435984820127487,
0.4250643253326416,
-0.4376560151576996,
0.24174930155277252,
-0.7431349754333496,
-0.20221549272537231,
-0.14430296421051025,
-0.21648092567920685,
-0.4529319107532501,
-0.21954971551895142,
0.18031565845012665,
-0.22947373986244202,
-0.622178316116333,
0.618837833404541,
-0.48388606309890747,
0.24188190698623657,
-0.17718283832073212,
-0.018254555761814117,
-0.06620632857084274,
0.8256337642669678,
0.06709657609462738,
0.8836165070533752,
0.3213590681552887,
-0.9264776706695557,
0.10085252672433853,
0.2253207117319107,
-0.3405027389526367,
0.6666014790534973,
-0.4016421437263489,
0.4320600926876068,
-0.09738943725824356,
0.21190617978572845,
-0.7977507710456848,
0.033422455191612244,
0.3722322881221771,
-0.17228862643241882,
0.8233425617218018,
-0.3714752495288849,
-0.4589661657810211,
-0.1284465789794922,
-0.07574722170829773,
-0.03862814977765083,
0.6236150860786438,
-0.6328945755958557,
0.18034493923187256,
0.45483899116516113,
-0.3307814300060272,
-0.343252032995224,
-0.5489282011985779,
0.028064491227269173,
0.1273256242275238,
-0.20177152752876282,
0.3791266679763794,
-0.2923717498779297,
0.10216519236564636,
-0.06530971080064774,
0.21011146903038025,
-0.2494622766971588,
-0.046825114637613297,
-0.05165190249681473,
0.18690088391304016,
-0.12501338124275208,
0.4126107394695282,
0.0003830541390925646,
-0.1309298276901245,
0.011563757434487343,
-0.49739065766334534,
0.7266334891319275,
0.15014992654323578,
-0.3593955338001251,
-0.8083984851837158,
0.3083901107311249,
0.38180291652679443,
-0.49269843101501465,
0.8864971399307251,
0.06684548407793045,
-0.12240967154502869,
-0.43552589416503906,
-0.47937390208244324,
-0.22272281348705292,
-0.4235703647136688,
0.6736090183258057,
-0.1108100414276123,
-0.8133988976478577,
-0.00632584560662508,
-0.19516541063785553,
0.1397397220134735,
-0.08351568877696991,
0.3555349111557007,
-0.3824600577354431,
1.071315050125122,
0.9241896867752075,
-0.2118251919746399,
0.9285238981246948,
-0.03210980072617531,
0.3225332498550415,
-0.660505473613739,
-0.1635703146457672,
-0.5853267908096313,
0.1122773215174675,
-0.1776079535484314,
-0.24335971474647522,
0.0499732568860054,
0.12429777532815933,
-0.5240899324417114,
0.452691912651062,
-0.5618056058883667,
0.6371228694915771,
0.5622134804725647,
0.16950982809066772,
-0.014021066948771477,
-0.02972852811217308,
0.17457900941371918,
-0.1774134784936905,
-0.8751614093780518,
-0.48285120725631714,
0.9921897649765015,
0.38887855410575867,
0.8593205213546753,
-0.24205248057842255,
0.6938037872314453,
0.09951845556497574,
0.6495853066444397,
-0.4908769130706787,
0.6300655603408813,
-0.45769205689430237,
-0.14290839433670044,
-0.2187502086162567,
-0.23451615869998932,
-0.8679118156433105,
-0.18428106606006622,
-0.2092851996421814,
-0.6370851397514343,
-0.1321570724248886,
0.4964459240436554,
-0.20517541468143463,
0.20254918932914734,
-0.8073101043701172,
0.7871806621551514,
-0.6833057403564453,
-0.40688103437423706,
-0.42330700159072876,
-0.6031856536865234,
0.2975704073905945,
-0.20217636227607727,
0.1488729864358902,
-0.10991249978542328,
0.10280467569828033,
0.7425124645233154,
-0.3993137776851654,
0.9235969185829163,
-0.18730668723583221,
-0.0655488520860672,
0.2993554174900055,
0.05320098623633385,
0.6903337240219116,
-0.2366776019334793,
0.2597009837627411,
0.032026831060647964,
-0.06639068573713303,
-0.4030400514602661,
-0.628388524055481,
0.5113629102706909,
-0.6383954882621765,
-0.5349982976913452,
-0.013423389755189419,
-0.37680941820144653,
-0.3595907390117645,
0.10743355005979538,
0.17502301931381226,
0.2715822756290436,
-0.16471289098262787,
0.26508983969688416,
0.9782429337501526,
-0.3531147241592407,
0.17974813282489777,
0.6337759494781494,
-0.0717543363571167,
-0.20447075366973877,
0.8945038318634033,
0.16931122541427612,
0.6625657081604004,
0.6779485940933228,
0.1376926451921463,
-0.1188439428806305,
-0.7372820377349854,
-0.10599678009748459,
0.33514657616615295,
-0.7085455060005188,
-0.1212170273065567,
-0.4847494065761566,
-0.1822303682565689,
-0.5816555619239807,
-0.451710969209671,
-0.6141237616539001,
0.02955823577940464,
-0.3245062828063965,
0.20008988678455353,
-0.0066452668979763985,
0.5028577446937561,
0.13528895378112793,
0.656281590461731,
-1.0442757606506348,
-0.059136372059583664,
0.33552244305610657,
0.31814131140708923,
-0.13060760498046875,
-0.9209592342376709,
-0.5264322757720947,
0.0847068503499031,
-0.1774267554283142,
-0.6229753494262695,
0.3383218050003052,
0.45542004704475403,
0.6317773461341858,
0.38117632269859314,
0.06196770817041397,
0.7707608342170715,
-0.6072700619697571,
0.7814144492149353,
0.3182138502597809,
-0.9934930801391602,
0.5914260149002075,
-0.03613510727882385,
0.442208856344223,
0.7279656529426575,
0.6025176048278809,
-0.6242690086364746,
-0.45313411951065063,
-0.3653218150138855,
-0.662288248538971,
0.6928768157958984,
-0.45418062806129456,
0.3259004056453705,
-0.371814101934433,
0.33530527353286743,
-0.13275182247161865,
0.08399533480405807,
-0.4631543755531311,
0.08400782197713852,
0.04260957986116409,
-0.2035989910364151,
-0.09770477563142776,
-0.316308856010437,
0.00476179551333189,
-0.3097141981124878,
1.0166292190551758,
-0.2258593589067459,
0.03045903891324997,
-0.0704793781042099,
-0.19197145104408264,
0.026813795790076256,
0.1956397145986557,
0.5227874517440796,
0.5674626231193542,
-0.012770586647093296,
0.07036728411912918,
0.3266083896160126,
-0.504273533821106,
0.260067343711853,
-0.07277365773916245,
0.11025536805391312,
-0.4483470618724823,
0.5577796697616577,
0.4540376365184784,
0.8208913207054138,
-0.7661198973655701,
0.4724814295768738,
-0.0208648182451725,
0.06251722574234009,
-0.4208560287952423,
0.16855084896087646,
0.14597855508327484,
-0.06863764673471451,
-0.13443870842456818,
-0.12342198938131332,
-0.4083743989467621,
-0.5906153321266174,
0.381338894367218,
0.24619077146053314,
-0.5821303129196167,
-0.24118389189243317,
0.5371161699295044,
0.47267207503318787,
-0.4079103171825409,
0.85072261095047,
-0.22515279054641724,
-0.48224470019340515,
0.5382323265075684,
0.8151793479919434,
0.581991970539093,
-0.5243273377418518,
0.035042356699705124,
0.4183739423751831,
0.45753759145736694,
-0.43618547916412354,
-0.07322975993156433,
-0.12846380472183228,
-0.7205117344856262,
-0.6309358477592468,
-0.4554622769355774,
-0.5609101057052612,
-0.010401471517980099,
-0.5652802586555481,
0.3529663383960724,
-0.7917922139167786,
0.42486339807510376,
-0.24826925992965698,
-0.1548711508512497,
-0.6448662877082825,
0.12683086097240448,
0.2605780363082886,
0.9054226875305176,
-0.7011969089508057,
1.3940094709396362,
0.41102874279022217,
-0.4392431378364563,
-1.0708961486816406,
-0.14492639899253845,
-0.24481520056724548,
-0.8549468517303467,
0.8369445204734802,
-0.006162405479699373,
-0.15157462656497955,
0.15716364979743958,
-0.9009377360343933,
-0.7802478671073914,
0.6002150774002075,
0.6431136131286621,
-0.9341586828231812,
0.15911149978637695,
0.05121973156929016,
0.38810551166534424,
-0.6163835525512695,
-0.10099057108163834,
0.7744722366333008,
0.30112898349761963,
0.08366810530424118,
-0.7867649793624878,
-0.24678835272789001,
-0.04915491119027138,
-0.05017734318971634,
0.17110636830329895,
-0.5477853417396545,
0.5845303535461426,
-0.1152786985039711,
-0.3113715350627899,
-0.016424350440502167,
0.6124658584594727,
0.07528309524059296,
-0.16878412663936615,
0.5675197839736938,
0.48028624057769775,
0.6111459136009216,
0.012385389767587185,
0.9433063268661499,
-0.651158332824707,
0.11155883222818375,
1.421898365020752,
-0.334651917219162,
1.0043578147888184,
0.29133501648902893,
-0.1709473580121994,
0.4296926259994507,
0.5538724660873413,
0.06205340847373009,
0.663704514503479,
0.25595909357070923,
-0.29876285791397095,
-0.3052716553211212,
-0.28293973207473755,
-0.19146044552326202,
0.5091142058372498,
0.46426188945770264,
-0.17704829573631287,
0.11011367291212082,
0.055722031742334366,
0.5638836622238159,
0.3081043064594269,
-0.3008037209510803,
0.7096887230873108,
0.01493516843765974,
-1.0562355518341064,
0.6530062556266785,
-0.3158775568008423,
0.7302132248878479,
-1.0292409658432007,
-0.36086055636405945,
-0.26091253757476807,
0.15732954442501068,
0.06000438705086708,
-0.4429553151130676,
0.1516226828098297,
-0.12200973182916641,
-0.00913827121257782,
-0.5424023270606995,
0.429047554731369,
-0.902413010597229,
-0.27519235014915466,
0.3112787902355194,
0.014906327240169048,
0.2559628486633301,
0.307525098323822,
-0.5758975148200989,
-0.008172101341187954,
0.06308804452419281,
-0.01653800718486309,
0.47032439708709717,
0.14017857611179352,
0.04404212534427643,
0.6229928135871887,
0.7088109850883484,
0.2936972379684448,
-0.016639593988656998,
-0.11535085737705231,
0.7672497034072876,
-0.27791351079940796,
-0.6211338639259338,
-0.41784289479255676,
0.3525143563747406,
0.15098460018634796,
-0.34025758504867554,
0.5541749596595764,
0.2940662205219269,
1.1555885076522827,
-0.05280514433979988,
0.7232680916786194,
0.24111375212669373,
0.43326815962791443,
-0.7909001708030701,
0.63554847240448,
-0.3207245171070099,
0.2966810166835785,
-0.11347651481628418,
-0.954325258731842,
-0.2781396806240082,
0.40268009901046753,
-0.2827654480934143,
-0.22354085743427277,
0.829448401927948,
0.7661603689193726,
0.1320391148328781,
-0.4224252998828888,
0.3968155086040497,
0.03752601519227028,
0.5912399888038635,
0.6641865372657776,
0.7975339889526367,
0.06953439116477966,
0.5895550847053528,
-0.34722572565078735,
-0.3461631238460541,
-0.028816508129239082,
-0.933489978313446,
-0.7582347989082336,
-0.38511502742767334,
-0.3932453989982605,
-0.11770797520875931,
0.3130112886428833,
1.0990387201309204,
1.065490484237671,
-0.8286372423171997,
-0.23234067857265472,
-0.004339315462857485,
-0.11166628450155258,
-0.22511617839336395,
-0.1614414006471634,
0.3868417739868164,
-0.9242730736732483,
-0.8448444604873657,
0.6906219720840454,
0.4686281085014343,
0.003725414164364338,
-0.2574216425418854,
-0.30761998891830444,
-0.16233719885349274,
-0.014811885543167591,
0.42943310737609863,
0.5985761880874634,
-0.3853241205215454,
-0.61524498462677,
-0.16204488277435303,
-0.1051190197467804,
0.003018172923475504,
0.9243306517601013,
-0.5869563221931458,
0.5755502581596375,
0.19466018676757812,
0.9820855855941772,
0.26128649711608887,
-0.30408626794815063,
0.7574223279953003,
-0.7729756236076355,
0.5541566014289856,
0.34085813164711,
0.305768221616745,
0.305988073348999,
-0.41874122619628906,
0.3104160726070404,
0.031129727140069008,
-0.7233052253723145,
-0.6065578460693359,
0.23168812692165375,
-0.6261844635009766,
-0.24037709832191467,
0.8813146948814392,
-0.5542799830436707,
-0.05804234743118286,
-0.27439460158348083,
-0.12804685533046722,
0.13357892632484436,
-0.2881263494491577,
0.5855462551116943,
0.584187924861908,
-0.07441814988851547,
-0.4758022427558899,
-0.5183214545249939,
0.45388635993003845,
0.4452166259288788,
-1.0717031955718994,
0.07100866734981537,
0.18236154317855835,
0.2135460376739502,
0.08031050115823746,
0.8486539125442505,
0.019138623028993607,
0.18007792532444,
-0.08895101398229599,
0.35854101181030273,
0.05779365077614784,
-0.5567253232002258,
-0.18070687353610992,
-0.0033054244704544544,
0.29375192523002625,
-0.3083619773387909
] |
http://arxiv.org/abs/2405.20172v3
|
http://arxiv.org/pdf/2405.20172v3
|
Iterative Feature Boosting for Explainable Speech Emotion Recognition
| 2024-05-30T15:44:27 | 2024-06-05T22:28:13 |
Alaa Nfissi, Wassim Bouachir, Nizar Bouguila, Brian Mishara
|
cs.SD
|
cs.SD, cs.AI, cs.CL, cs.LG, eess.AS, I.2.7; I.2.6; I.2.1; I.2.8
|
In speech emotion recognition (SER), using predefined features without
considering their practical importance may lead to high dimensional datasets,
including redundant and irrelevant information. Consequently, high-dimensional
learning often results in decreasing model accuracy while increasing
computational complexity. Our work underlines the importance of carefully
considering and analyzing features in order to build efficient SER systems. We
present a new supervised SER method based on an efficient feature engineering
approach. We pay particular attention to the explainability of results to
evaluate feature relevance and refine feature sets. This is performed
iteratively through feature evaluation loop, using Shapley values to boost
feature selection and improve overall framework performance. Our approach
allows thus to balance the benefits between model performance and transparency.
The proposed method outperforms human-level performance (HLP) and
state-of-the-art machine learning methods in emotion recognition on the TESS
dataset. The source code of this paper is publicly available at
https://github.com/alaaNfissi/Iterative-Feature-Boosting-for-Explainable-Speech-Emotion-Recognition.
|
[
-0.45649802684783936,
-0.3211185038089752,
0.21238268911838531,
0.27290499210357666,
-0.280984103679657,
-0.03125688061118126,
-0.17024430632591248,
-0.32162895798683167,
0.255508691072464,
0.29400476813316345,
-0.5679286122322083,
-0.3652154207229614,
-0.5701079964637756,
-0.19592398405075073,
-0.4278653860092163,
0.9549643993377686,
-0.06972340494394302,
-0.05474407970905304,
-0.08787805587053299,
-0.17985591292381287,
0.07802961766719818,
-0.4107551574707031,
-0.46577492356300354,
-0.3611152470111847,
0.3664824664592743,
0.40450677275657654,
0.3869946300983429,
0.6120579242706299,
0.27477169036865234,
0.419112890958786,
-0.4308304786682129,
-0.13101842999458313,
-0.6551008820533752,
0.40128934383392334,
0.3059442639350891,
-0.1401679366827011,
-0.3140418529510498,
-0.1081196740269661,
0.4161834120750427,
0.5419529676437378,
0.10186438262462616,
0.2733692228794098,
0.1825159788131714,
0.7759371995925903,
-0.8379877209663391,
0.35120686888694763,
-0.4383770823478699,
0.16550853848457336,
-0.1043127030134201,
-0.3258726894855499,
0.012184019200503826,
-0.3650854527950287,
0.4194478690624237,
-0.38388383388519287,
0.3421589136123657,
0.0038606710731983185,
0.7328149676322937,
0.507498562335968,
0.01958981342613697,
-0.3976469337940216,
-0.35373809933662415,
0.6566541790962219,
-0.4613705575466156,
0.45500779151916504,
0.4996752440929413,
0.22414319217205048,
0.2315678596496582,
-0.49580255150794983,
-0.3530506491661072,
-0.27895626425743103,
0.14352518320083618,
0.09644288569688797,
-0.26482588052749634,
0.17669421434402466,
0.34577256441116333,
0.6688042283058167,
-0.3776303827762604,
0.21090930700302124,
-0.09438695758581161,
-0.34530386328697205,
0.6429856419563293,
-0.160013347864151,
0.06070835143327713,
-0.2070242315530777,
-0.3218635320663452,
-0.3271888494491577,
-0.1570257842540741,
0.6489547491073608,
0.4473313093185425,
0.4581848382949829,
-0.17508989572525024,
0.3449057638645172,
-0.20841962099075317,
0.1072113960981369,
-0.050365082919597626,
-0.12199191004037857,
0.5640596151351929,
0.28070178627967834,
-0.00033989473013207316,
0.38819319009780884,
0.521932065486908,
-0.020565859973430634,
0.1023646667599678,
-0.12099955230951309,
-0.11290830373764038,
-0.12291128188371658,
0.31533482670783997,
-1.0101128816604614,
-0.07561798393726349,
0.6313605904579163,
-0.4416310489177704,
-0.3380448520183563,
-0.051928967237472534,
-1.020433783531189,
-0.5876480340957642,
0.011641754768788815,
0.5160138607025146,
-0.4369606673717499,
-0.3626653552055359,
-0.04599221050739288,
-0.04699491336941719,
-0.13331712782382965,
0.05698090419173241,
-0.7561049461364746,
-0.1575392186641693,
0.7082890868186951,
0.7670657634735107,
-0.15305162966251373,
-0.13893313705921173,
-0.721442699432373,
-0.2918086349964142,
-0.14664803445339203,
0.3197922706604004,
-0.6639188528060913,
-0.2865571975708008,
0.029947172850370407,
-0.1585455685853958,
0.11937849968671799,
-0.4002319276332855,
0.9770113229751587,
-0.16471856832504272,
0.10508266091346741,
-0.3310187757015228,
-0.5698878169059753,
-0.4474782645702362,
-0.1692054718732834,
-0.6278284788131714,
0.8531686067581177,
0.03942355886101723,
-0.7373210787773132,
0.2527949810028076,
-0.7261584401130676,
-0.3508683443069458,
0.07877428829669952,
0.22398042678833008,
-0.8387928009033203,
0.4089280962944031,
0.325088232755661,
0.46533921360969543,
-0.09239722788333893,
0.2661339044570923,
-0.6577416658401489,
-0.45941248536109924,
0.14701968431472778,
-0.2078920602798462,
0.6143252849578857,
0.5385963916778564,
-0.5696698427200317,
0.29997870326042175,
-0.9205581545829773,
0.17478781938552856,
-0.15232060849666595,
0.09158968925476074,
-0.18640686571598053,
-0.11154623329639435,
-0.11941266804933548,
0.09439157694578171,
0.16557297110557556,
-0.44589200615882874,
-0.36801570653915405,
-0.2657715380191803,
0.5383106470108032,
0.5979336500167847,
-0.248362734913826,
0.3203440010547638,
-0.059135809540748596,
0.7094274163246155,
0.00599092710763216,
0.035784825682640076,
-0.5168600678443909,
-0.2727890908718109,
-0.6800265908241272,
-0.7528641819953918,
0.2898518741130829,
0.33589932322502136,
-0.5191362500190735,
0.5751541256904602,
-0.0018133403500542045,
-0.37562936544418335,
-0.9716688990592957,
-0.14478924870491028,
0.5577314496040344,
0.7251242399215698,
0.32103440165519714,
-0.07433047890663147,
-0.44996944069862366,
-0.7144875526428223,
-0.15453581511974335,
-0.08500654250383377,
-0.15087462961673737,
0.6779406666755676,
0.29791927337646484,
-0.14380569756031036,
0.6650424003601074,
-0.04518000781536102,
-0.045748550444841385,
-0.0401025265455246,
0.592132568359375,
-0.03924255073070526,
0.49668002128601074,
0.4044949412345886,
-0.9574937224388123,
-0.021097959950566292,
0.06560187041759491,
-0.6024739742279053,
-0.47505655884742737,
0.09360252320766449,
0.027119657024741173,
0.11178125441074371,
-0.047515615820884705,
-0.011569197289645672,
0.6299446821212769,
0.47584035992622375,
-0.23055927455425262,
0.2139868438243866,
-0.2140919715166092,
0.4806278645992279,
-0.8747373819351196,
0.1416776329278946,
0.10777204483747482,
-0.17421899735927582,
-0.6646870374679565,
-0.18392391502857208,
-0.012888006865978241,
-0.6632714867591858,
-0.2260340005159378,
0.28948336839675903,
-0.3131707012653351,
-0.5301734209060669,
-0.33137908577919006,
0.07058568298816681,
-0.13554690778255463,
0.5594267845153809,
-0.005436161998659372,
0.602698802947998,
0.8258848190307617,
-0.525114119052887,
0.3440302312374115,
0.2341337502002716,
-0.2255437672138214,
0.6730275750160217,
-0.46713772416114807,
0.06502818316221237,
-0.14446717500686646,
-0.10565967112779617,
-0.971781313419342,
-0.17562629282474518,
-0.39709392189979553,
-0.5450313091278076,
0.19244937598705292,
-0.09878017753362656,
-0.0033978254068642855,
-0.44196203351020813,
-0.41107359528541565,
0.2281998097896576,
0.7305728793144226,
-0.8769055604934692,
0.6619251370429993,
0.4848373234272003,
-0.42350003123283386,
-0.48078545928001404,
-0.3140895962715149,
0.13081859052181244,
-0.5949767827987671,
-0.7326509952545166,
0.46324706077575684,
0.21121345460414886,
-0.19168253242969513,
-0.11452478170394897,
-0.24730278551578522,
-0.12134556472301483,
0.40023893117904663,
0.5551647543907166,
-0.13361088931560516,
0.14987026154994965,
0.24272194504737854,
-0.0427883043885231,
-0.42707687616348267,
-0.03932300582528114,
0.005780195817351341,
0.40155526995658875,
-0.35039493441581726,
-0.1394270360469818,
-1.0029507875442505,
0.3959537744522095,
0.4548526406288147,
-0.37339797616004944,
0.16593565046787262,
1.047607660293579,
-0.4020114243030548,
-0.3393431305885315,
-0.4401622712612152,
-0.2202928215265274,
-0.4695240557193756,
0.5508792400360107,
-0.5437260866165161,
-1.1303012371063232,
0.8409581780433655,
-0.1672852784395218,
-0.18288923799991608,
0.27156123518943787,
0.5102066397666931,
-0.2645488381385803,
1.1701551675796509,
0.8031474351882935,
-0.24919740855693817,
0.6084706783294678,
-0.10807841271162033,
0.3918894827365875,
-0.5825436115264893,
-0.22451458871364594,
-0.8583297729492188,
-0.38622161746025085,
-0.7645577788352966,
-0.08268686383962631,
0.6260332465171814,
0.17059224843978882,
-0.0990074947476387,
0.028883041813969612,
-0.5036834478378296,
0.0648806095123291,
0.4189435541629791,
0.19934594631195068,
-0.07189720869064331,
0.05448145046830177,
0.14709675312042236,
-0.056664276868104935,
-0.5197190046310425,
-0.1090431660413742,
0.58897465467453,
0.40635812282562256,
0.7722903490066528,
-0.2706708312034607,
0.7430223822593689,
0.40099066495895386,
-0.16334833204746246,
-0.7847182154655457,
0.286671906709671,
-0.383787602186203,
0.20546364784240723,
-0.334645539522171,
-0.5253195762634277,
-0.5383122563362122,
-0.02704080007970333,
-0.3220132887363434,
-0.9480212330818176,
0.2136545330286026,
0.3254188299179077,
-0.36071643233299255,
0.05921490862965584,
-0.659859299659729,
0.5790007710456848,
-0.3236994743347168,
-0.47863805294036865,
-0.28599613904953003,
-0.5072552561759949,
0.2244298756122589,
-0.0023682115133851767,
-0.012872341088950634,
-0.004697565454989672,
0.1387060582637787,
0.6287655830383301,
-0.6476524472236633,
0.4710277020931244,
-0.41371527314186096,
-0.1509411633014679,
-0.10341570526361465,
-0.011224508285522461,
0.28853973746299744,
-0.11143989861011505,
-0.5178481936454773,
0.06504367291927338,
-0.17145684361457825,
-0.28004366159439087,
-0.8368823528289795,
0.6009334325790405,
-0.44587191939353943,
-0.3440137505531311,
-0.05408869683742523,
-0.8150182366371155,
-0.3582456111907959,
-0.2739042341709137,
0.26368674635887146,
0.4811686873435974,
0.22664211690425873,
0.3582347631454468,
0.8103448152542114,
-0.2273978888988495,
0.5100682973861694,
0.032895032316446304,
-0.053556177765131,
-0.41945645213127136,
1.0796654224395752,
0.03144955262541771,
-0.017963716760277748,
0.17017236351966858,
0.4556933343410492,
-0.4464336633682251,
-0.46359288692474365,
-0.1716931015253067,
-0.2490241676568985,
-0.35201603174209595,
0.037395358085632324,
-0.6422439217567444,
-0.13534031808376312,
-0.3952704071998596,
-0.2390662431716919,
-0.37539419531822205,
-0.5263991951942444,
-0.21130219101905823,
0.041911087930202484,
0.5483261942863464,
0.4298248291015625,
-0.06349454820156097,
0.1890818178653717,
-0.5223661065101624,
0.47371014952659607,
0.5208410024642944,
0.5623255968093872,
-0.11278503388166428,
-0.6390590667724609,
-0.13864311575889587,
0.03227750211954117,
-0.006862575188279152,
-0.8784260749816895,
0.40295130014419556,
0.4882567226886749,
0.6109254956245422,
0.6998592615127563,
0.1929948329925537,
0.8422049880027771,
0.05592315271496773,
0.790477991104126,
-0.1487070620059967,
-1.4285639524459839,
0.7470760941505432,
-0.07284320890903473,
-0.03252605348825455,
0.4812346398830414,
0.44966983795166016,
-0.15844571590423584,
-0.07777698338031769,
-0.6896836757659912,
-1.03136146068573,
0.6956785917282104,
0.3864683210849762,
-0.11369460076093674,
0.5827595591545105,
0.6413280367851257,
0.18570058047771454,
0.396996408700943,
-0.3783200681209564,
-0.07587197422981262,
-0.3868849277496338,
-0.3819189965724945,
-0.029599370434880257,
-0.469984233379364,
-0.02454070746898651,
-0.22443607449531555,
0.8917054533958435,
-0.306004136800766,
0.25767552852630615,
0.01458542887121439,
-0.21820446848869324,
0.035651300102472305,
0.32388678193092346,
0.5789080262184143,
0.3361538052558899,
-0.3643094003200531,
0.002492286032065749,
0.04485106095671654,
-0.2601764500141144,
-0.11020820587873459,
0.4680233597755432,
0.14427579939365387,
-0.06346553564071655,
0.20186376571655273,
1.3117722272872925,
0.19752256572246552,
-0.5632485747337341,
0.5574142336845398,
0.14983949065208435,
-0.1768292486667633,
0.03410620987415314,
0.15006963908672333,
-0.18611395359039307,
0.6544405221939087,
0.2817881107330322,
-0.4020722508430481,
0.4689459502696991,
-0.40545454621315,
0.19613350927829742,
0.4861137270927429,
-0.6566095948219299,
-0.16495417058467865,
0.5507904291152954,
0.3040071129798889,
-0.42635250091552734,
0.29265516996383667,
-0.3165235221385956,
-0.8632915019989014,
0.6119312047958374,
0.3791886568069458,
1.4002249240875244,
-0.3306453227996826,
0.40894460678100586,
0.3531768321990967,
-0.09851320087909698,
0.010697493329644203,
0.6361213326454163,
-0.7135838866233826,
-0.42746007442474365,
-0.22455020248889923,
-0.6272568702697754,
-0.8305453062057495,
-0.006558328401297331,
-1.0243254899978638,
0.0893995612859726,
-0.1768268346786499,
0.08851806074380875,
-0.0013355728005990386,
-0.09263470023870468,
-0.2897447347640991,
0.2243778109550476,
0.3164918124675751,
0.5580025315284729,
-0.7794889807701111,
0.5039441585540771,
0.3181345760822296,
-0.1457759290933609,
-0.6230607032775879,
0.019153529778122902,
0.11756090074777603,
-0.9984166622161865,
0.4649491012096405,
0.46143072843551636,
-0.33050113916397095,
0.026707202196121216,
-0.5398585200309753,
-0.6234557628631592,
0.9924018979072571,
0.3858363926410675,
-0.49471232295036316,
0.34483322501182556,
0.03212634101510048,
0.6946589946746826,
-0.49757134914398193,
0.3091980218887329,
0.6039904356002808,
0.3166365325450897,
0.3730394244194031,
-0.6882272362709045,
-0.20432287454605103,
-0.5174221992492676,
0.21791590750217438,
-0.04270482435822487,
-0.40109124779701233,
0.545582115650177,
-0.5380092859268188,
-0.0481165386736393,
0.00515033258125186,
0.5732482671737671,
0.37331289052963257,
0.4956481456756592,
0.7773554921150208,
0.7714119553565979,
1.1386216878890991,
-0.32824793457984924,
0.6986181139945984,
-0.3616683781147003,
0.5212581157684326,
0.8221859931945801,
-0.27551889419555664,
0.7309078574180603,
0.24398469924926758,
-0.16577525436878204,
0.32315438985824585,
0.6855442523956299,
0.04942318797111511,
0.3735295832157135,
0.40936583280563354,
-0.2596692740917206,
-0.2796753942966461,
-0.3244144916534424,
-0.19360263645648956,
0.7749684453010559,
0.24842806160449982,
-0.37483736872673035,
-0.2211540788412094,
0.4514445960521698,
-0.004176164977252483,
-0.11587229371070862,
-0.4934491515159607,
0.8611637353897095,
-0.1318531185388565,
-0.17044243216514587,
0.6048423647880554,
-0.5993994474411011,
0.6494754552841187,
-0.48486337065696716,
0.05419536679983139,
-0.03789728134870529,
-0.09235135465860367,
-0.47866523265838623,
-0.7118162512779236,
0.011587713845074177,
0.4385892152786255,
-0.12715047597885132,
-0.5250914692878723,
0.5629187822341919,
-0.613685131072998,
-0.29338663816452026,
0.054151758551597595,
0.09071674942970276,
0.24260252714157104,
-0.34091874957084656,
-0.7271757125854492,
0.06993920356035233,
0.07863539457321167,
-0.2293769270181656,
0.1008840948343277,
0.5391178727149963,
-0.07262412458658218,
0.9752392172813416,
0.4151310622692108,
0.00611847685649991,
-0.19814859330654144,
0.3736804723739624,
0.7743073105812073,
-0.7093664407730103,
-0.9823635816574097,
-0.5775386691093445,
0.8631683588027954,
-0.19191035628318787,
-0.2617449164390564,
0.29218775033950806,
0.21793659031391144,
0.16758064925670624,
0.4055546820163727,
0.7487043142318726,
0.06198180839419365,
0.627741813659668,
-0.3818407654762268,
0.6516929864883423,
-0.6069132685661316,
0.24938412010669708,
-0.4413488507270813,
-0.5639615654945374,
-0.08475464582443237,
0.6508725881576538,
0.07077544927597046,
0.31679561734199524,
0.5292797684669495,
0.6218094229698181,
0.24001646041870117,
0.5949790477752686,
0.3053390383720398,
0.45165038108825684,
0.2817496657371521,
0.44007864594459534,
0.4971768856048584,
-0.16251203417778015,
0.28247421979904175,
-0.745959460735321,
-0.5799055099487305,
-0.16944289207458496,
-1.199470043182373,
-0.5816479921340942,
-0.9669222235679626,
-0.47386956214904785,
-0.4859437048435211,
0.059659525752067566,
0.7976240515708923,
0.702581524848938,
-0.8358630537986755,
0.14934523403644562,
0.13077415525913239,
0.20047013461589813,
-0.3131294250488281,
-0.21978601813316345,
0.4654114544391632,
-0.5834725499153137,
-0.6524490118026733,
0.3378913104534149,
0.4621884226799011,
-0.1345578134059906,
-0.24703361093997955,
0.019226787611842155,
0.3448678255081177,
-0.37902143597602844,
0.31702473759651184,
0.38893595337867737,
-0.5591672658920288,
-0.1726728230714798,
-0.3200530409812927,
0.2789483666419983,
0.022348208352923393,
0.7805642485618591,
-0.7619107961654663,
0.737880527973175,
0.6490099430084229,
0.9409446120262146,
0.7935154438018799,
-0.01949440687894821,
0.4146128296852112,
-0.5061328411102295,
0.1286318600177765,
0.3460351824760437,
0.404004842042923,
0.41664642095565796,
-0.4144960045814514,
0.3615166246891022,
0.05692605674266815,
-0.609440803527832,
-0.9465767741203308,
0.08077175170183182,
-1.2581572532653809,
0.2325156033039093,
0.7983502745628357,
-0.3303401470184326,
-0.18749062716960907,
0.1074557900428772,
-0.1229364201426506,
0.2245142161846161,
-0.444553405046463,
1.2131931781768799,
0.421112596988678,
-0.45695996284484863,
-0.48244479298591614,
-0.04958257079124451,
0.8618307709693909,
0.376120388507843,
-0.9612364768981934,
0.259591668844223,
0.2848578989505768,
0.05219189450144768,
0.12837669253349304,
0.09489087015390396,
-0.16130973398685455,
0.3465975522994995,
-0.21779093146324158,
0.26372623443603516,
-0.3536646366119385,
-0.12750352919101715,
-0.8373522162437439,
0.4409325122833252,
-0.39705726504325867,
-0.2075512409210205
] |
http://arxiv.org/abs/2405.20163v1
|
http://arxiv.org/pdf/2405.20163v1
|
Reasoning about concepts with LLMs: Inconsistencies abound
| 2024-05-30T15:38:54 | 2024-05-30T15:38:54 |
Rosario Uceda-Sosa, Karthikeyan Natesan Ramamurthy, Maria Chang, Moninder Singh
|
cs.CL
|
cs.CL, cs.AI
|
The ability to summarize and organize knowledge into abstract concepts is key
to learning and reasoning. Many industrial applications rely on the consistent
and systematic use of concepts, especially when dealing with decision-critical
knowledge. However, we demonstrate that, when methodically questioned, large
language models (LLMs) often display and demonstrate significant
inconsistencies in their knowledge. Computationally, the basic aspects of the
conceptualization of a given domain can be represented as Is-A hierarchies in a
knowledge graph (KG) or ontology, together with a few properties or axioms that
enable straightforward reasoning. We show that even simple ontologies can be
used to reveal conceptual inconsistencies across several LLMs. We also propose
strategies that domain experts can use to evaluate and improve the coverage of
key domain concepts in LLMs of various sizes. In particular, we have been able
to significantly enhance the performance of LLMs of various sizes with openly
available weights using simple knowledge-graph (KG) based prompting strategies.
|
[
-0.3528510630130768,
-0.7922481298446655,
0.9651678204536438,
0.06735647469758987,
0.07385210692882538,
0.34589269757270813,
-0.05166424810886383,
-0.5270799398422241,
-0.056542687118053436,
0.4869159758090973,
-0.35918372869491577,
-0.5882812738418579,
-0.721764326095581,
0.042648229748010635,
-0.3684355616569519,
0.4254034161567688,
-0.2661229372024536,
-0.15320248901844025,
-0.5075952410697937,
-0.2534545063972473,
-0.4440810978412628,
-0.40102145075798035,
-0.7313910126686096,
-0.7624404430389404,
0.355224609375,
0.6112964153289795,
0.7723211646080017,
0.5504277944564819,
0.6534510850906372,
0.2847043573856354,
-0.26359665393829346,
0.6838201880455017,
-0.17694975435733795,
0.3785927891731262,
-0.31441164016723633,
-0.5278429388999939,
-0.3098853826522827,
-0.1900223195552826,
0.4597592353820801,
1.1783816814422607,
-0.11862673610448837,
-0.07183866947889328,
-0.14648748934268951,
0.5306976437568665,
-0.5483077168464661,
0.2640208303928375,
-0.8608778715133667,
0.10513987392187119,
0.025024335831403732,
-0.23075804114341736,
-0.31541088223457336,
-0.11305965483188629,
0.146665558218956,
-0.7119102478027344,
0.005309314467012882,
0.2630598545074463,
0.8360190987586975,
0.32521331310272217,
-0.31836047768592834,
-0.5116288661956787,
-0.7859839200973511,
0.6561238765716553,
-0.6307486891746521,
0.43172746896743774,
0.325238436460495,
0.3032352924346924,
-0.13718381524085999,
-0.7281495332717896,
-0.6137282848358154,
-0.2312476634979248,
-0.09430504590272903,
-0.11422988027334213,
-0.19430528581142426,
0.09190269559621811,
0.4710397720336914,
0.026918910443782806,
-0.383234441280365,
0.40409067273139954,
-0.08352508395910263,
-0.15289951860904694,
0.6145859956741333,
0.29386240243911743,
0.24002858996391296,
-0.008071614429354668,
-0.47426778078079224,
0.10771510004997253,
-1.0166170597076416,
-0.2346273809671402,
0.13996301591396332,
0.13180257380008698,
-0.008387773297727108,
0.5144549608230591,
-0.11771687120199203,
0.648760974407196,
-0.21540170907974243,
-0.3331184983253479,
0.010362825356423855,
-0.1596362292766571,
-0.21609370410442352,
-0.13743898272514343,
0.3960449695587158,
0.22159844636917114,
0.3075810968875885,
-0.30671417713165283,
-0.12888485193252563,
0.275136262178421,
0.26676586270332336,
-0.3093402683734894,
-0.2045152187347412,
0.5634835362434387,
-0.06538897007703781,
0.06297967582941055,
-0.22992128133773804,
-0.26566946506500244,
-0.48554396629333496,
-0.3643322288990021,
0.41094231605529785,
-0.31088465452194214,
-0.22090691328048706,
0.11959445476531982,
-0.40818098187446594,
0.16459216177463531,
0.8031389117240906,
-0.7692434787750244,
0.09032829850912094,
0.7756162285804749,
0.6077719926834106,
-0.16635943949222565,
-0.14751772582530975,
0.2862130105495453,
0.3829922676086426,
-0.658005952835083,
1.0148580074310303,
-0.488621324300766,
-0.5196703672409058,
-0.0518374890089035,
-0.28353777527809143,
-0.06502044200897217,
-0.8708905577659607,
0.2658754289150238,
-0.5651170611381531,
-0.2395080029964447,
-0.4064704179763794,
-0.8700582981109619,
-0.04423090070486069,
0.579590916633606,
-0.37519362568855286,
0.88942950963974,
0.14123310148715973,
-0.868725061416626,
0.24277737736701965,
-0.679091215133667,
-0.32490843534469604,
0.0868639200925827,
-0.6733241081237793,
-0.13675403594970703,
0.020955948159098625,
-0.2994782030582428,
0.45647528767585754,
-0.3978414237499237,
-0.152930349111557,
-0.28087422251701355,
-0.10496551543474197,
0.6337881088256836,
-0.014653299935162067,
0.4676502048969269,
0.4501396715641022,
0.017938170582056046,
-0.11618982255458832,
-0.717618465423584,
0.14810143411159515,
0.20325574278831482,
-0.13066327571868896,
-0.39517873525619507,
0.03625358268618584,
-0.48837602138519287,
0.07030078023672104,
0.13992998003959656,
-0.20933499932289124,
0.23890531063079834,
-0.2161353975534439,
0.5736978054046631,
0.5551317930221558,
0.053721632808446884,
0.33664724230766296,
-0.46584901213645935,
0.4464932382106781,
0.2033739537000656,
-0.09737538546323776,
-0.18043704330921173,
-0.4967401623725891,
-0.9169279932975769,
-0.0719502866268158,
0.2307559698820114,
0.32540208101272583,
-1.0126904249191284,
0.11102079600095749,
-0.19539253413677216,
-0.3708663880825043,
-0.15115906298160553,
0.18541200459003448,
0.2370539754629135,
0.6194726228713989,
0.24695895612239838,
-0.12586364150047302,
-0.37452933192253113,
-0.7547863125801086,
-0.16187499463558197,
-0.3944339454174042,
-0.029137175530195236,
0.23664885759353638,
0.5337469577789307,
-0.2789402902126312,
1.1174273490905762,
-0.8007454872131348,
-0.008866953663527966,
-0.2953953444957733,
0.24250271916389465,
-0.09136982262134552,
0.2900199592113495,
0.18126575648784637,
-0.7554642558097839,
-0.2577968239784241,
0.16696259379386902,
-1.0007786750793457,
-0.05170803517103195,
0.001131972181610763,
-0.14406180381774902,
0.2057487517595291,
0.6619197726249695,
-0.7814022898674011,
0.21233347058296204,
0.15429317951202393,
-0.116426482796669,
0.5617017149925232,
-0.2539633810520172,
-0.2334642857313156,
-0.7172785997390747,
-0.18414372205734253,
0.09442446380853653,
-0.21926385164260864,
-0.48497387766838074,
0.33744242787361145,
-0.13349679112434387,
0.19679634273052216,
-0.34860801696777344,
0.5648486614227295,
-0.2581288814544678,
-0.11047835648059845,
-0.28858086466789246,
0.49056312441825867,
0.37715837359428406,
0.19560521841049194,
0.07488922029733658,
0.7825366258621216,
0.4184090197086334,
-0.9228787422180176,
0.40494266152381897,
0.37657657265663147,
-0.5426039099693298,
0.6853229403495789,
-0.5551830530166626,
-0.02527565322816372,
-0.10522981733083725,
0.12808677554130554,
-1.0108702182769775,
-0.22839167714118958,
0.15862253308296204,
-0.4268384575843811,
0.3283372223377228,
-0.10163802653551102,
-0.7431270480155945,
-0.4484800696372986,
0.019489379599690437,
0.0853821337223053,
0.4212000370025635,
-0.4189630448818207,
0.5013015270233154,
0.5561060309410095,
0.030131207779049873,
-0.6189800500869751,
-0.7209300398826599,
-0.041407424956560135,
-0.25558048486709595,
-0.7778372168540955,
0.17135974764823914,
-0.027881277725100517,
-0.6637859344482422,
0.08063055574893951,
-0.45044928789138794,
-0.3689051866531372,
0.34103572368621826,
0.03246327489614487,
0.11384620517492294,
-0.08664451539516449,
0.6674455404281616,
0.011311890557408333,
-0.05489683523774147,
0.28485986590385437,
-0.48644426465034485,
0.264816552400589,
0.06630469113588333,
-0.598514974117279,
-0.024205178022384644,
0.13514858484268188,
0.4115779995918274,
0.22265927493572235,
0.5516566038131714,
0.03172746300697327,
-0.4470219314098358,
-0.663946270942688,
-0.44955891370773315,
-0.09006012231111526,
-0.44591259956359863,
0.3239268362522125,
-0.415787935256958,
-0.8670137524604797,
0.5998237729072571,
-0.590996503829956,
-0.04754754900932312,
0.3743019998073578,
0.48753824830055237,
-0.43102991580963135,
0.9896777272224426,
0.6636155843734741,
0.507702112197876,
-0.09390703588724136,
-0.5646102428436279,
0.3623766005039215,
-0.7924214601516724,
-0.4561201333999634,
-0.6824520826339722,
-0.039116211235523224,
-0.41314059495925903,
-0.6243316531181335,
0.5337345600128174,
0.1613478660583496,
-0.37991833686828613,
0.08571501076221466,
-0.14630815386772156,
0.5634525418281555,
0.179496169090271,
-0.15498848259449005,
0.7313761711120605,
0.03755950182676315,
-0.38102221488952637,
0.2786616384983063,
-0.9430133104324341,
-0.8122967481613159,
0.7237198352813721,
0.4946264624595642,
1.0672338008880615,
0.14258897304534912,
0.322455495595932,
0.2628451883792877,
0.30731144547462463,
-1.031409502029419,
0.4934385418891907,
0.017190570011734962,
-0.7390341758728027,
-0.40876874327659607,
-0.6384337544441223,
-0.8451224565505981,
0.45137783885002136,
-0.13567115366458893,
-0.5717498064041138,
0.13633887469768524,
0.27653735876083374,
-0.41956543922424316,
0.4635459780693054,
-0.5925167798995972,
0.6646369099617004,
-0.1294226497411728,
0.03513180837035179,
-0.19181837141513824,
-0.47240862250328064,
0.38405781984329224,
-0.31053927540779114,
0.462100088596344,
-0.27646946907043457,
-0.08590573817491531,
0.4134231209754944,
-0.784011721611023,
0.8356324434280396,
0.23384547233581543,
-0.596879780292511,
0.5780109763145447,
-0.009061133489012718,
0.3065620958805084,
-0.19130457937717438,
0.054115504026412964,
0.22343404591083527,
-0.03896958753466606,
-0.2925054430961609,
-0.9451279044151306,
0.392517626285553,
-0.8158820867538452,
-0.9307878017425537,
-0.2243245244026184,
-0.5509051084518433,
-0.6632838845252991,
-0.03786633536219597,
0.3074039816856384,
0.24336282908916473,
0.040026869624853134,
-0.020368868485093117,
0.9142261743545532,
-0.006474990863353014,
-0.040925025939941406,
0.5023951530456543,
-0.26545658707618713,
0.13299965858459473,
0.7293311953544617,
0.5347303748130798,
0.6224506497383118,
0.30239275097846985,
0.11494310200214386,
-0.3426196873188019,
-0.5807453393936157,
-0.24869194626808167,
0.12974251806735992,
-1.2789387702941895,
-0.326771080493927,
-0.748802900314331,
-0.32554861903190613,
-0.2296464443206787,
-0.009756701067090034,
-0.13258542120456696,
-0.8449252247810364,
0.08819117397069931,
-0.23950129747390747,
0.4654262661933899,
0.8661499619483948,
0.00975403469055891,
0.37840020656585693,
-0.7306379079818726,
0.11054696887731552,
0.48580148816108704,
0.2593744993209839,
0.300532728433609,
-0.6087026596069336,
-0.4357534348964691,
-0.026528723537921906,
-0.45799484848976135,
-0.5165756940841675,
0.042581815272569656,
-0.187822625041008,
0.7252408266067505,
0.4722910225391388,
0.15967991948127747,
0.4045725464820862,
-0.48184168338775635,
0.5071065425872803,
0.19570620357990265,
-0.9401140809059143,
0.3979191184043884,
-0.17689475417137146,
0.07192277163267136,
0.1733112931251526,
0.7182087898254395,
-0.5708745121955872,
-0.45766162872314453,
-0.7557387948036194,
-0.8629292249679565,
0.43069586157798767,
0.20850203931331635,
0.12640438973903656,
-0.0918131023645401,
0.3818345069885254,
0.006203171331435442,
0.285603791475296,
-0.2732432186603546,
-0.45869025588035583,
0.011730537749826908,
-0.11193070560693741,
0.3527333438396454,
-0.17130011320114136,
-0.43031248450279236,
-0.10826410353183746,
0.5329887270927429,
-0.20368976891040802,
0.14702248573303223,
0.04754338786005974,
0.013675724156200886,
-0.07393186539411545,
0.34547749161720276,
0.2941649556159973,
1.219359278678894,
0.13167239725589752,
0.5281148552894592,
0.4306613504886627,
-0.04613383486866951,
0.2528444528579712,
-0.27246761322021484,
-0.07736025750637054,
-0.06204868480563164,
0.49322089552879333,
0.728908896446228,
0.09400971978902817,
-0.7426220774650574,
0.23863878846168518,
0.2615163326263428,
-0.1443668156862259,
-0.2747268080711365,
0.23014773428440094,
0.4555340111255646,
0.23830454051494598,
0.2737411856651306,
0.018402796238660812,
-0.1765946000814438,
-0.6746320128440857,
-0.020660454407334328,
0.3721844255924225,
-0.06325516849756241,
0.036632243543863297,
0.2320188283920288,
0.15557995438575745,
-0.013676750473678112,
0.39707377552986145,
-0.25284603238105774,
-0.513561487197876,
0.816107988357544,
0.3567809760570526,
0.3812892436981201,
0.005613432731479406,
0.22834022343158722,
-0.13046203553676605,
0.3817780613899231,
-0.19112883508205414,
0.2197786271572113,
0.05821503326296806,
-1.3762229681015015,
-0.5163223147392273,
-0.2859809100627899,
-1.0797092914581299,
-0.03525303676724434,
-0.3106880486011505,
0.04902336001396179,
-0.7030330300331116,
-0.2727922201156616,
0.2329438328742981,
-0.12002381682395935,
-0.5617946982383728,
0.2676083743572235,
0.16130664944648743,
1.0679665803909302,
-0.7545416355133057,
0.7348306179046631,
0.8469338417053223,
-0.6318725347518921,
-0.9556567668914795,
-0.044162459671497345,
-0.10861526429653168,
-1.0029118061065674,
1.0928001403808594,
-0.15826137363910675,
-0.20433446764945984,
-0.06522460281848907,
-0.7817915081977844,
-0.8023567795753479,
1.0372216701507568,
0.1873721480369568,
-0.39947545528411865,
0.012814336456358433,
0.30339062213897705,
0.4708089828491211,
-0.4932468831539154,
0.10661113262176514,
0.5640984177589417,
0.5985379219055176,
0.596034586429596,
-0.6569972038269043,
-0.07965629547834396,
0.15511400997638702,
0.10990625619888306,
0.02861817367374897,
-0.6653664708137512,
0.9243783354759216,
-0.28108498454093933,
-0.319501131772995,
-0.144534170627594,
0.4954357445240021,
0.5445461273193359,
0.4546458423137665,
0.4372667968273163,
0.681096613407135,
1.1777775287628174,
-0.2202972024679184,
1.0549660921096802,
-0.16501419246196747,
0.3379024565219879,
0.8772769570350647,
-0.660306453704834,
0.6749268174171448,
0.17273904383182526,
-0.4580684304237366,
0.6450722217559814,
0.5852009057998657,
0.15428102016448975,
0.05027070641517639,
0.3763807415962219,
-0.2329075038433075,
-0.6048774123191833,
-0.29033347964286804,
-0.5364232659339905,
0.45591968297958374,
0.8880562782287598,
-0.02803661674261093,
-0.3450109660625458,
-0.17734962701797485,
0.22614753246307373,
0.10166709870100021,
-0.369208961725235,
0.6679665446281433,
0.49745437502861023,
-0.413286954164505,
0.6295170783996582,
0.18599380552768707,
0.34658607840538025,
-0.6309701800346375,
-0.0666399896144867,
-0.23759426176548004,
0.07458363473415375,
-0.27875444293022156,
-0.9406111240386963,
0.43926408886909485,
-0.12984085083007812,
-0.18969859182834625,
-0.17469847202301025,
0.826276957988739,
-0.27589744329452515,
-0.3199293315410614,
0.19578486680984497,
0.8608589768409729,
0.1923731565475464,
0.11417863517999649,
-0.5347771048545837,
0.1637284755706787,
-0.43738868832588196,
0.2746274471282959,
0.1730991154909134,
0.9626778364181519,
-0.18062350153923035,
0.9918522238731384,
0.45829644799232483,
0.07890145480632782,
-0.2618240714073181,
0.11619212478399277,
0.9397979974746704,
-0.5880026817321777,
-0.30426064133644104,
-0.6454679369926453,
0.18527346849441528,
-0.10039161145687103,
-0.07305388897657394,
0.9935833811759949,
0.11712475121021271,
1.0506714582443237,
0.0942607969045639,
1.0549070835113525,
0.29317447543144226,
0.5819272994995117,
-0.8194560408592224,
0.612723708152771,
-0.4688622057437897,
0.6047993898391724,
-0.05985937640070915,
-0.632183849811554,
-0.3016763925552368,
0.8280704021453857,
-0.29947492480278015,
0.117442786693573,
0.8105859756469727,
0.48318424820899963,
0.16409257054328918,
0.14545969665050507,
0.5042552351951599,
0.46460720896720886,
0.15400485694408417,
0.2929581105709076,
1.3308781385421753,
0.047642048448324203,
0.3442643880844116,
0.1458541452884674,
0.011701487936079502,
-0.23537354171276093,
-0.9704065918922424,
-0.6159594655036926,
-0.18240317702293396,
-0.5857277512550354,
-0.43819859623908997,
0.05935779958963394,
1.0378786325454712,
0.6473321914672852,
-0.7411623001098633,
-0.33664608001708984,
-0.0049774483777582645,
0.7753047347068787,
-0.018465258181095123,
-0.17167645692825317,
0.15880751609802246,
-0.6435880661010742,
-0.40541160106658936,
0.33677998185157776,
0.28803494572639465,
0.1110508069396019,
-0.5035339593887329,
0.030430780723690987,
-0.031523656100034714,
0.4364621341228485,
0.7500577569007874,
0.28421828150749207,
-0.6309278011322021,
-0.3276273012161255,
-0.21165058016777039,
-0.04056466370820999,
0.13004286587238312,
0.9040250182151794,
-0.6597607731819153,
0.2240251749753952,
0.5068925619125366,
0.7631059288978577,
0.12865500152111053,
-0.09363918751478195,
0.3463508188724518,
-0.8538355827331543,
-0.08093012124300003,
0.07669030129909515,
0.5543437004089355,
0.4553092420101166,
-0.20206347107887268,
0.6971167325973511,
0.5056769847869873,
-0.30757638812065125,
-0.7524589896202087,
0.5942617654800415,
-0.6298951506614685,
-0.7400360703468323,
1.0701302289962769,
-0.26077592372894287,
0.03472563624382019,
-0.4672289490699768,
0.12403921782970428,
-0.07713659852743149,
-0.08492506295442581,
0.6521205306053162,
0.9617688059806824,
-0.4139362573623657,
-0.003281890181824565,
-0.527266263961792,
0.44645464420318604,
0.2687436044216156,
-0.9086678624153137,
-0.02932283841073513,
0.29989004135131836,
0.3375295102596283,
0.5192333459854126,
0.6478732228279114,
-0.036088231950998306,
-0.11100150644779205,
-0.02464105747640133,
-0.13600587844848633,
0.08515135943889618,
-0.37215572595596313,
-0.05932570621371269,
0.06148681044578552,
0.5050376057624817,
0.1461445391178131
] |
http://arxiv.org/abs/2405.20145v1
|
http://arxiv.org/pdf/2405.20145v1
|
Heidelberg-Boston @ SIGTYP 2024 Shared Task: Enhancing Low-Resource Language Analysis With Character-Aware Hierarchical Transformers
| 2024-05-30T15:23:34 | 2024-05-30T15:23:34 |
Frederick Riemenschneider, Kevin Krahn
|
cs.CL
|
cs.CL, I.2.7
|
Historical languages present unique challenges to the NLP community, with one
prominent hurdle being the limited resources available in their closed corpora.
This work describes our submission to the constrained subtask of the SIGTYP
2024 shared task, focusing on PoS tagging, morphological tagging, and
lemmatization for 13 historical languages. For PoS and morphological tagging we
adapt a hierarchical tokenization method from Sun et al. (2023) and combine it
with the advantages of the DeBERTa-V3 architecture, enabling our models to
efficiently learn from every character in the training data. We also
demonstrate the effectiveness of character-level T5 models on the lemmatization
task. Pre-trained from scratch with limited data, our models achieved first
place in the constrained subtask, nearly reaching the performance levels of the
unconstrained task's winner. Our code is available at
https://github.com/bowphs/SIGTYP-2024-hierarchical-transformers
|
[
-0.30137598514556885,
-0.2203294336795807,
0.4447883367538452,
0.03008187562227249,
-0.2229996919631958,
0.15964475274085999,
-0.13149920105934143,
-0.5166884660720825,
0.2799164354801178,
0.580621063709259,
-0.639011025428772,
-0.6790564656257629,
-0.5443758368492126,
0.36236661672592163,
0.17712342739105225,
0.9659385681152344,
-0.1324652135372162,
-0.11889158189296722,
0.13202962279319763,
-0.260844886302948,
-0.483193963766098,
-0.8168953657150269,
-0.28339940309524536,
-0.2244209498167038,
0.5627543330192566,
0.3533411920070648,
0.5440183877944946,
0.7042303085327148,
0.5172761082649231,
0.28130486607551575,
-0.19220256805419922,
0.1207159236073494,
-0.18334411084651947,
0.1939428597688675,
-0.41666048765182495,
-0.3038720190525055,
-0.9488894939422607,
-0.1450873464345932,
0.8209124803543091,
0.8496518731117249,
0.18915851414203644,
0.20230281352996826,
-0.021087810397148132,
0.11457955837249756,
-0.565366268157959,
0.5841414928436279,
-0.9030833840370178,
0.27052438259124756,
-0.5763508677482605,
-0.4133723974227905,
-0.37116575241088867,
0.08843446522951126,
0.06482724100351334,
-0.6304615139961243,
0.24790219962596893,
-0.050352197140455246,
0.6980628967285156,
0.6578826904296875,
0.036406971514225006,
-0.11199025809764862,
-0.5532410740852356,
0.9357102513313293,
-0.5254867672920227,
0.35910534858703613,
0.49365994334220886,
-0.04870544746518135,
0.060784000903367996,
-0.7937847971916199,
-0.08536559343338013,
-0.010909191332757473,
-0.2528200149536133,
-0.01114050392061472,
-0.4145383834838867,
0.05493229627609253,
0.4670742154121399,
0.3126039206981659,
-0.5146645903587341,
0.2986108064651489,
-0.43718546628952026,
-0.3809710443019867,
0.09798116981983185,
0.15652406215667725,
0.27697640657424927,
-0.3697356581687927,
-0.21939750015735626,
0.31229278445243835,
-0.582028329372406,
-0.3849407136440277,
0.2833077013492584,
0.544257640838623,
0.015442696399986744,
0.6247703433036804,
0.11562463641166687,
0.08695848286151886,
0.1095382571220398,
0.012881136499345303,
0.42660242319107056,
-0.6081092357635498,
-0.07280100882053375,
-0.03289909288287163,
0.6034411191940308,
-0.10276426374912262,
0.13557977974414825,
-0.1427055448293686,
-0.22939246892929077,
0.033688295632600784,
0.024908455088734627,
-0.68074631690979,
-0.30701944231987,
-0.10897132754325867,
-0.31864142417907715,
0.14421974122524261,
-0.40650615096092224,
-0.7516317963600159,
-0.5417322516441345,
-0.06393870711326599,
0.06700780987739563,
-0.6057488918304443,
-0.2217167168855667,
-0.04648231714963913,
-0.0495428666472435,
0.0009695726330392063,
0.31367191672325134,
-1.4072823524475098,
0.28157034516334534,
0.7291553020477295,
0.8560095429420471,
-0.22694362699985504,
-0.3555862307548523,
-0.6996827721595764,
0.2881362736225128,
-0.005758591927587986,
0.48313578963279724,
-0.6222127079963684,
-0.27655839920043945,
-0.24066224694252014,
0.25340062379837036,
-0.239451065659523,
-0.5785883069038391,
0.6969174742698669,
-0.0980200543999672,
-0.0662781372666359,
-0.3177008330821991,
-0.26404693722724915,
0.30162155628204346,
0.10435330122709274,
-0.8127179741859436,
1.1114146709442139,
0.3996846079826355,
-1.0638176202774048,
0.23361508548259735,
-0.36334550380706787,
-0.15466991066932678,
0.6965835690498352,
-0.5132647156715393,
-0.3226982057094574,
0.1057400032877922,
0.3338937759399414,
0.38064274191856384,
0.08954930305480957,
0.2907826602458954,
-0.02592162787914276,
-0.4575835168361664,
-0.5956178307533264,
-0.29759275913238525,
0.756422758102417,
0.08434189856052399,
-0.5139086246490479,
0.15471065044403076,
-0.46769705414772034,
-0.3648184537887573,
0.22438202798366547,
-0.3884611129760742,
-0.15812526643276215,
-0.10799645632505417,
-0.16175371408462524,
-0.25083544850349426,
0.7082584500312805,
-0.4917449951171875,
0.6632660031318665,
-0.39409196376800537,
0.45231202244758606,
0.660181999206543,
-0.18457038700580597,
0.6858835220336914,
-0.06086685508489609,
0.822368323802948,
-0.31180453300476074,
0.10258462280035019,
-0.12296399474143982,
-0.45856431126594543,
-0.6905679106712341,
-0.48521485924720764,
0.5019902586936951,
0.634059488773346,
-1.0561121702194214,
0.4575883150100708,
-0.32363513112068176,
-0.4133158326148987,
-0.4140858054161072,
-0.3500612676143646,
0.07109517604112625,
0.21930031478405,
0.46829766035079956,
-0.5223250985145569,
-1.0227032899856567,
-0.8886358737945557,
0.04468729719519615,
-0.45123130083084106,
-0.12128407508134842,
-0.14298418164253235,
0.5444026589393616,
-0.44092193245887756,
0.5761815309524536,
-0.1024409830570221,
-0.519411563873291,
-0.4802027940750122,
0.33534950017929077,
0.07897570729255676,
0.6443643569946289,
0.7576141357421875,
-0.4408947229385376,
-0.2690527141094208,
0.10941547155380249,
-0.39334699511528015,
-0.33042633533477783,
0.19690001010894775,
0.12701526284217834,
0.4239919185638428,
0.6807674765586853,
-0.4021299183368683,
0.2723446190357208,
0.6846166253089905,
-0.06783035397529602,
0.4455224573612213,
-0.13440729677677155,
0.0007205751608125865,
-0.9273365139961243,
0.1447916030883789,
-0.21675336360931396,
-0.3569925129413605,
-0.36399534344673157,
-0.01886325515806675,
-0.17059867084026337,
-0.24192167818546295,
-0.46179088950157166,
0.5288289785385132,
-0.42316296696662903,
-0.19263756275177002,
0.07256899774074554,
0.01668892614543438,
-0.5978401303291321,
0.7363316416740417,
0.34381014108657837,
0.604713499546051,
0.30285772681236267,
-0.05274107679724693,
-0.04142390564084053,
0.19803008437156677,
-0.17946144938468933,
0.26534733176231384,
-0.4071081578731537,
0.11521752178668976,
-0.05051315948367119,
0.18007230758666992,
-0.7112650871276855,
-0.15465311706066132,
0.538569450378418,
-0.45963963866233826,
0.35481616854667664,
-0.5122799873352051,
-0.7012848854064941,
-0.027774231508374214,
-0.13998101651668549,
0.6333850026130676,
0.5298823118209839,
-0.2643413841724396,
0.856474757194519,
0.6452836990356445,
-0.42569926381111145,
-0.6863572001457214,
-0.619881808757782,
0.01859547384083271,
-0.3501320779323578,
-0.3538525700569153,
0.72264564037323,
-0.020471377298235893,
-0.03604382649064064,
0.107766292989254,
-0.22078350186347961,
-0.005441978573799133,
0.19214314222335815,
0.12571224570274353,
0.08940613269805908,
-0.1641625314950943,
-0.14647309482097626,
-0.1644556075334549,
-0.4038776159286499,
-0.44024553894996643,
-0.384218692779541,
0.8761181235313416,
-0.5155187249183655,
-0.2668536305427551,
-0.6552006602287292,
0.26872122287750244,
0.3767622709274292,
-0.41233497858047485,
0.539103090763092,
0.7525242567062378,
-0.5325666069984436,
-0.10846582800149918,
-0.1428094506263733,
0.19321459531784058,
-0.4656507074832916,
0.472347617149353,
-0.4607468545436859,
-1.300887942314148,
0.4577924311161041,
-0.15001392364501953,
0.21945732831954956,
0.7366411685943604,
0.783816933631897,
0.10253667086362839,
0.936112642288208,
0.8663880825042725,
-0.08893238753080368,
0.7117488384246826,
-0.041236769407987595,
0.09172549098730087,
-0.5489432215690613,
-0.03939569368958473,
-0.7931597828865051,
-0.026515016332268715,
-1.0921369791030884,
-0.604871928691864,
0.3101803958415985,
0.054710712283849716,
-0.030656274408102036,
0.711911678314209,
-0.5164893865585327,
0.3815462589263916,
0.47212791442871094,
-0.4009902775287628,
0.29363349080085754,
0.024308130145072937,
-0.05831122025847435,
-0.43690863251686096,
-0.6997529864311218,
-0.6520923972129822,
0.5135260224342346,
0.6028605699539185,
0.6212812662124634,
-0.15940146148204803,
0.9964113831520081,
0.28674620389938354,
-0.10488593578338623,
-0.9057952761650085,
0.7510562539100647,
-0.5180310010910034,
-0.3991807699203491,
-0.3017933666706085,
-0.406017929315567,
-0.9276925325393677,
0.24504439532756805,
0.09712647646665573,
-1.023776888847351,
0.13754510879516602,
0.10830790549516678,
-0.3289046287536621,
0.323815256357193,
-0.5431269407272339,
0.8965544104576111,
0.018316425383090973,
0.04064808040857315,
-0.006661517545580864,
-0.6751348376274109,
-0.12276071310043335,
-0.05885710567235947,
0.07808182388544083,
-0.19462502002716064,
-0.12419403344392776,
0.7327458262443542,
-0.10970155149698257,
1.031130075454712,
-0.15891703963279724,
-0.19615332782268524,
0.1607760787010193,
0.2053554356098175,
0.45255160331726074,
-0.28038179874420166,
-0.09972795099020004,
0.293352335691452,
0.46525153517723083,
-0.5050683617591858,
-0.20597851276397705,
0.4692482650279999,
-0.45674777030944824,
-0.4514128267765045,
-0.6795618534088135,
-0.6247691512107849,
-0.17689475417137146,
0.2376951426267624,
0.21303896605968475,
0.2733441889286041,
-0.16073767840862274,
0.3481065332889557,
0.4328688681125641,
-0.1269008219242096,
0.4558573067188263,
0.14173418283462524,
0.09774149954319,
-0.21561796963214874,
0.8480196595191956,
0.3199145793914795,
-0.051608625799417496,
0.6028181910514832,
0.18649429082870483,
-0.01946796290576458,
-0.855903685092926,
-0.3592059016227722,
0.350137323141098,
-0.6952376365661621,
0.09407767653465271,
-0.619735062122345,
-0.2609997093677521,
-0.5593203902244568,
-0.0664931908249855,
-0.48424866795539856,
-0.7184385657310486,
-0.41556283831596375,
0.03425997868180275,
-0.29947319626808167,
0.7675132155418396,
-0.16680723428726196,
0.3571310341358185,
-0.8760640621185303,
0.054334305226802826,
-0.08927375823259354,
-0.02292739599943161,
-0.20696760714054108,
-0.34023138880729675,
-0.3641416132450104,
-0.5158992409706116,
-0.1937536597251892,
-0.6212136745452881,
0.3538323938846588,
-0.08332734555006027,
0.6471812725067139,
-0.1510859876871109,
0.1106065958738327,
0.5752543210983276,
-0.8027490973472595,
0.8638920187950134,
-0.05161554366350174,
-1.1608912944793701,
0.34832242131233215,
-0.5484873056411743,
0.4980638027191162,
0.5928335189819336,
0.5279102325439453,
-0.5925729274749756,
-0.42609480023384094,
-0.6439024209976196,
-0.935414731502533,
0.8185241222381592,
0.2796907126903534,
-0.0623919777572155,
0.0035453769378364086,
0.1310678869485855,
0.2375517189502716,
0.09781737625598907,
-0.8055503964424133,
0.10442221909761429,
0.08035695552825928,
-0.39940306544303894,
0.33541950583457947,
-0.19196438789367676,
0.2548685669898987,
-0.2541474997997284,
0.8250374794006348,
-0.365566611289978,
0.1701032668352127,
-0.07787515968084335,
-0.15941265225410461,
-0.06378842890262604,
0.4742528796195984,
0.34959855675697327,
0.7660717368125916,
-0.29602378606796265,
0.4143051207065582,
0.3177962005138397,
-0.35419267416000366,
-0.3641664683818817,
0.30460184812545776,
-0.10317876935005188,
0.0555463545024395,
0.7575294375419617,
0.728576123714447,
0.09887955337762833,
-0.503412127494812,
0.2725023627281189,
-0.16462403535842896,
0.0005557925906032324,
-0.28939202427864075,
-0.1681857854127884,
0.005383132956922054,
0.5457919239997864,
0.2519865334033966,
-0.024882832542061806,
-0.16700473427772522,
-0.5862826108932495,
0.21758680045604706,
0.25076183676719666,
-0.3836575746536255,
-0.6131802201271057,
0.5006048083305359,
0.21966509521007538,
-0.2536607086658478,
0.2909790575504303,
-0.3935040533542633,
-0.7117543816566467,
0.3606817126274109,
0.33115050196647644,
0.6792473793029785,
-0.3224892318248749,
0.159134641289711,
0.49481523036956787,
0.5459235906600952,
0.14833156764507294,
0.1917465478181839,
-0.11578269302845001,
-0.3738555312156677,
-0.4587683379650116,
-0.7569838166236877,
-0.49601665139198303,
0.36324137449264526,
-0.4349357783794403,
0.5532681345939636,
-0.4328952133655548,
-0.19212621450424194,
0.039585039019584656,
0.2780299186706543,
-0.5469009280204773,
-0.09824275225400925,
0.23298119008541107,
0.5856934785842896,
-0.6449497938156128,
0.8700288534164429,
0.39254266023635864,
-0.37033146619796753,
-0.4677859842777252,
0.10753899812698364,
-0.015596617944538593,
-0.7482872009277344,
0.6410452127456665,
-0.030192086473107338,
-0.1433832198381424,
0.027174802497029305,
-0.4762061834335327,
-0.8076661229133606,
0.9321346879005432,
0.5921856760978699,
-0.5652775764465332,
-0.6895341277122498,
0.19786196947097778,
0.6318191289901733,
-0.1569932997226715,
-0.01424581278115511,
0.7424324154853821,
0.41717827320098877,
0.1619199514389038,
-1.3238897323608398,
-0.0809389129281044,
-0.08166120946407318,
-0.16532179713249207,
0.3839488923549652,
-0.372967004776001,
0.9659853577613831,
0.25331777334213257,
-0.4853835105895996,
0.6788381934165955,
0.7658478617668152,
0.1846001148223877,
-0.0745893195271492,
0.5650163292884827,
0.5353037714958191,
0.8452109694480896,
-0.26517149806022644,
0.8658561110496521,
0.09662552922964096,
0.48816391825675964,
1.262812614440918,
-0.06298912316560745,
0.5973542332649231,
0.48606911301612854,
-0.029504604637622833,
0.2543792426586151,
0.804240882396698,
-0.10229551792144775,
0.46835964918136597,
0.18166831135749817,
-0.09122093766927719,
-0.3290193974971771,
-0.7132911682128906,
-0.4190906286239624,
0.4883262813091278,
0.3605019152164459,
-0.1339203119277954,
-0.4264998137950897,
-0.2118777334690094,
0.23987160623073578,
-0.15261784195899963,
-0.31796056032180786,
0.4847959876060486,
-0.060799770057201385,
-0.47780513763427734,
0.5533977746963501,
0.1696731597185135,
0.7857221961021423,
-0.7304762005805969,
-0.04360422119498253,
-0.19738756120204926,
0.21364708244800568,
-0.07794804871082306,
-0.49019357562065125,
0.4313664436340332,
0.14282476902008057,
0.0006825414602644742,
-0.48174819350242615,
0.5927966237068176,
-0.495404452085495,
-0.1960684061050415,
0.3026224672794342,
0.5115411877632141,
0.27301666140556335,
0.2630886733531952,
-0.4424471855163574,
0.2639874219894409,
-0.04531015828251839,
0.11454256623983383,
0.26419931650161743,
0.5691483616828918,
-0.4882831275463104,
0.16864261031150818,
-0.014132619835436344,
0.1299389749765396,
0.019688744097948074,
0.29769593477249146,
0.6487054228782654,
-0.487191766500473,
-0.40418943762779236,
-0.7564377784729004,
0.31575822830200195,
0.36988234519958496,
-0.08862611651420593,
0.7567777037620544,
0.5447723269462585,
1.164527177810669,
0.015382746234536171,
0.729548454284668,
-0.1802225410938263,
0.3816392123699188,
-0.4294281303882599,
0.4492589235305786,
-0.6175963282585144,
0.06256817281246185,
-0.37609758973121643,
-0.8079251646995544,
-0.3778308033943176,
0.32084640860557556,
-0.35231274366378784,
-0.2056579738855362,
0.8987392783164978,
0.3665398955345154,
0.0061592767015099525,
-0.11493577063083649,
0.3498236835002899,
-0.08596112579107285,
0.3769659698009491,
0.6334064602851868,
0.9943773150444031,
-0.06979925185441971,
0.5418984889984131,
-0.2851867079734802,
-0.12797589600086212,
-0.036473892629146576,
-0.9040657877922058,
-1.0100120306015015,
-0.8862708806991577,
-0.27897536754608154,
-0.15420767664909363,
-0.11974070966243744,
0.9421700239181519,
0.606015145778656,
-0.7911726236343384,
-0.12310704588890076,
0.10245685279369354,
-0.010077406652271748,
0.16404414176940918,
-0.13673488795757294,
0.39276817440986633,
-0.21675816178321838,
-1.3020621538162231,
0.5029986500740051,
0.42018038034439087,
0.07573261111974716,
-0.1914365291595459,
0.1908365786075592,
-0.27712592482566833,
-0.1681888848543167,
0.42894408106803894,
0.22932648658752441,
-0.6033658981323242,
-0.5383353233337402,
-0.06983651220798492,
-0.053756654262542725,
0.21235673129558563,
1.1433281898498535,
-0.612061083316803,
0.18352879583835602,
0.8390694260597229,
0.8106903433799744,
0.59058678150177,
-0.027915583923459053,
0.2975527346134186,
-1.0635403394699097,
0.37153175473213196,
0.7594502568244934,
0.6491428017616272,
0.4843859374523163,
-0.1476660519838333,
0.7931056022644043,
0.49426180124282837,
-0.38698121905326843,
-0.7563865780830383,
0.4267607629299164,
-0.9816332459449768,
-0.28570520877838135,
0.8199687600135803,
-0.20638298988342285,
-0.2663416564464569,
-0.11757882684469223,
-0.2632908523082733,
0.4102526307106018,
-0.2601432502269745,
0.23888646066188812,
0.7834872007369995,
-0.14433196187019348,
-0.22415122389793396,
-0.45056024193763733,
0.5649622678756714,
0.44976720213890076,
-0.8934348821640015,
0.07337146997451782,
0.45284777879714966,
-0.10068584233522415,
0.5347551703453064,
0.8928502202033997,
-0.16250208020210266,
-0.03904446214437485,
-0.06841280311346054,
0.02092701941728592,
0.06062905117869377,
-0.6268390417098999,
-0.2709679901599884,
0.2813986539840698,
-0.03152190148830414,
-0.10718215256929398
] |
http://arxiv.org/abs/2405.20139v1
|
http://arxiv.org/pdf/2405.20139v1
|
GNN-RAG: Graph Neural Retrieval for Large Language Model Reasoning
| 2024-05-30T15:14:24 | 2024-05-30T15:14:24 |
Costas Mavromatis, George Karypis
|
cs.CL
|
cs.CL, cs.AI, cs.LG
|
Knowledge Graphs (KGs) represent human-crafted factual knowledge in the form
of triplets (head, relation, tail), which collectively form a graph. Question
Answering over KGs (KGQA) is the task of answering natural questions grounding
the reasoning to the information provided by the KG. Large Language Models
(LLMs) are the state-of-the-art models for QA tasks due to their remarkable
ability to understand natural language. On the other hand, Graph Neural
Networks (GNNs) have been widely used for KGQA as they can handle the complex
graph information stored in the KG. In this work, we introduce GNN-RAG, a novel
method for combining language understanding abilities of LLMs with the
reasoning abilities of GNNs in a retrieval-augmented generation (RAG) style.
First, a GNN reasons over a dense KG subgraph to retrieve answer candidates for
a given question. Second, the shortest paths in the KG that connect question
entities and answer candidates are extracted to represent KG reasoning paths.
The extracted paths are verbalized and given as input for LLM reasoning with
RAG. In our GNN-RAG framework, the GNN acts as a dense subgraph reasoner to
extract useful graph information, while the LLM leverages its natural language
processing ability for ultimate KGQA. Furthermore, we develop a retrieval
augmentation (RA) technique to further boost KGQA performance with GNN-RAG.
Experimental results show that GNN-RAG achieves state-of-the-art performance in
two widely used KGQA benchmarks (WebQSP and CWQ), outperforming or matching
GPT-4 performance with a 7B tuned LLM. In addition, GNN-RAG excels on multi-hop
and multi-entity questions outperforming competing approaches by 8.9--15.5%
points at answer F1.
|
[
-0.5345531105995178,
-1.0127967596054077,
0.5576673150062561,
-0.17367786169052124,
-0.26494815945625305,
0.3976096510887146,
-0.08142340183258057,
-0.4582832455635071,
0.35110244154930115,
0.5495139956474304,
-0.1819520741701126,
-0.45553287863731384,
-0.4861903786659241,
-0.0037454809062182903,
-0.23867690563201904,
0.8825168609619141,
0.09781660884618759,
-0.06476736068725586,
-0.2793236970901489,
-0.21601374447345734,
-0.3109760880470276,
-0.43743082880973816,
-1.0199995040893555,
-0.6246649026870728,
0.9231000542640686,
0.04285610094666481,
0.7823131084442139,
0.4981895983219147,
0.23082059621810913,
0.37996533513069153,
-0.49229997396469116,
0.6480247974395752,
-0.49035409092903137,
0.3176720440387726,
-0.21509340405464172,
-0.3218190371990204,
-0.47059398889541626,
-0.18269814550876617,
0.623114824295044,
0.5251061320304871,
0.08472628146409988,
0.24000050127506256,
-0.12925934791564941,
0.7234944701194763,
-0.6218029856681824,
0.10489381849765778,
-0.6740649342536926,
-0.13154727220535278,
-0.05963408201932907,
-0.1721261441707611,
-0.4210696220397949,
-0.45367100834846497,
-0.10416590422391891,
-0.6654741764068604,
0.08128546178340912,
0.1526675522327423,
0.9559544324874878,
0.17461277544498444,
-0.6141669750213623,
-0.3781410753726959,
-0.4516991674900055,
0.5088086128234863,
-0.5809462666511536,
0.5167408585548401,
0.4497845768928528,
0.5981311202049255,
-0.3440716862678528,
-0.9141864776611328,
-0.7367205023765564,
-0.39809221029281616,
-0.3800506889820099,
0.26213133335113525,
-0.08440942317247391,
0.0029787300154566765,
0.31726422905921936,
0.40506696701049805,
-0.6986503601074219,
-0.129266157746315,
-0.21995867788791656,
-0.19547979533672333,
0.5704839825630188,
0.05317185819149017,
0.3778575360774994,
-0.456344336271286,
-0.1601913720369339,
-0.0994788259267807,
-0.528326690196991,
-0.07274025678634644,
0.4746343493461609,
0.23174022138118744,
0.28254038095474243,
0.602210521697998,
-0.37547534704208374,
1.0155229568481445,
-0.18584135174751282,
-0.24473309516906738,
0.10036001354455948,
-0.22280056774616241,
-0.17987436056137085,
-0.29224255681037903,
0.6953193545341492,
0.1136075034737587,
0.3292306959629059,
-0.3896321654319763,
-0.029927540570497513,
-0.10180053114891052,
0.18508081138134003,
-0.6342840194702148,
-0.19659423828125,
-0.1121763363480568,
-0.3108402490615845,
-0.18905583024024963,
-0.33931294083595276,
-0.6970003843307495,
-0.5845075845718384,
-0.4308183193206787,
0.5344263911247253,
-0.3956639766693115,
-0.43902117013931274,
-0.02901972271502018,
-0.3429698944091797,
0.397942453622818,
0.32342997193336487,
-0.5222929120063782,
0.2420213520526886,
0.7591050267219543,
0.5924591422080994,
0.0491262711584568,
0.08695017546415329,
-0.5831261277198792,
0.08408225327730179,
-0.460478276014328,
0.5430120825767517,
-0.4771667718887329,
-0.17151731252670288,
-0.3636360466480255,
-0.32905444502830505,
-0.21141484379768372,
-0.612759530544281,
0.6200339794158936,
-1.1351286172866821,
0.18325188755989075,
-0.15459971129894257,
-0.5398130416870117,
-0.5839940905570984,
0.6451855301856995,
-0.755746603012085,
1.0669149160385132,
0.2606390118598938,
-0.8982690572738647,
-0.09437382221221924,
-0.4011385440826416,
-0.3829163908958435,
0.11452632397413254,
-0.1178341880440712,
-0.33619487285614014,
-0.17556722462177277,
0.5573720932006836,
0.2679784297943115,
-0.5687944889068604,
0.2658461332321167,
-0.20929396152496338,
-0.3595574200153351,
0.10278463363647461,
-0.3509657084941864,
0.9066348075866699,
0.2067946195602417,
0.02862381376326084,
0.01247068215161562,
-0.6071258187294006,
0.4520435333251953,
0.2854783535003662,
-0.4352560341358185,
-0.37472137808799744,
-0.2703961730003357,
-0.39668992161750793,
0.1996610313653946,
0.08027785271406174,
-0.3613099753856659,
0.281398743391037,
-0.4198685884475708,
0.19444440305233002,
0.43739452958106995,
0.025216475129127502,
0.4291080832481384,
-0.3192618787288666,
0.5740538239479065,
-0.28291112184524536,
-0.07071547955274582,
0.17302173376083374,
-0.7247711420059204,
-0.7222685813903809,
-0.013760835863649845,
0.47132572531700134,
0.6753520965576172,
-1.3031350374221802,
-0.02436482347548008,
-0.26004427671432495,
-0.5429590344429016,
-0.5799395442008972,
0.1483815759420395,
0.6143638491630554,
0.88238525390625,
0.54383784532547,
0.04795914515852928,
-0.5628551244735718,
-0.7561330199241638,
-0.2883395850658417,
-0.2460259199142456,
-0.023502614349126816,
0.7015348672866821,
0.3516443073749542,
-0.12109024822711945,
0.9440466165542603,
-0.49192264676094055,
-0.1069246158003807,
-0.46320509910583496,
0.12169826030731201,
0.566996157169342,
0.1175435483455658,
0.3448013365268707,
-1.1089038848876953,
-0.6127373576164246,
0.277624249458313,
-0.6729928255081177,
-0.10172902792692184,
0.2892276346683502,
-0.29597461223602295,
0.1907987743616104,
0.5522257089614868,
-0.6980716586112976,
0.4483044445514679,
0.5906152725219727,
-0.2493075281381607,
0.7573926448822021,
-0.15119203925132751,
0.07434986531734467,
-1.1381291151046753,
0.22509442269802094,
-0.30050766468048096,
-0.3619857132434845,
-0.6487461924552917,
0.2578054368495941,
-0.05651267617940903,
0.12412012368440628,
-0.1381426751613617,
0.8861891627311707,
-0.4991559386253357,
-0.29960542917251587,
-0.30460119247436523,
0.35725292563438416,
0.35902372002601624,
0.4892611503601074,
-0.41196268796920776,
0.8839680552482605,
0.22703924775123596,
-0.5444880723953247,
0.7357017397880554,
0.19133757054805756,
-0.12767340242862701,
0.3763802945613861,
-0.5782339572906494,
0.5281032919883728,
-0.4233246147632599,
0.4214077889919281,
-1.0400683879852295,
-0.09134552627801895,
0.2747684121131897,
-0.7794268727302551,
0.44780680537223816,
-0.5967211723327637,
-0.5332763195037842,
-0.590735673904419,
0.18351516127586365,
0.4190410375595093,
0.4280744791030884,
-0.5801253318786621,
1.123979926109314,
0.34148645401000977,
-0.06156138330698013,
-0.8520168662071228,
-0.2724209725856781,
0.12232830375432968,
-0.12953586876392365,
-0.813764750957489,
0.20657727122306824,
0.06352519989013672,
-0.16821366548538208,
0.3232472538948059,
-0.1081380769610405,
-0.13655591011047363,
0.08708667755126953,
-0.21577949821949005,
0.3281556963920593,
-0.3327353596687317,
0.17644336819648743,
-0.15008056163787842,
-0.31742429733276367,
-0.1135031133890152,
-0.4324478507041931,
0.6752976775169373,
-0.17297358810901642,
-0.24953724443912506,
0.15272389352321625,
0.23496901988983154,
0.24459631741046906,
-0.41730013489723206,
0.6041901707649231,
0.8386225700378418,
-0.19037848711013794,
-0.1522645503282547,
-0.6727146506309509,
-0.04987436905503273,
-0.45385539531707764,
0.3725607693195343,
-0.5064597129821777,
-1.1461938619613647,
0.5369158983230591,
-0.14016945660114288,
-0.3633063733577728,
0.3840557336807251,
0.4687545597553253,
-0.048051852732896805,
1.1356232166290283,
0.11867214739322662,
-0.1412501186132431,
0.0617736279964447,
-0.44847550988197327,
0.21692724525928497,
-1.2016618251800537,
-0.09396661818027496,
-0.5679363012313843,
-0.368397057056427,
-0.5044717788696289,
-0.6525697708129883,
0.6365799903869629,
0.5239906311035156,
-0.32196956872940063,
0.020443502813577652,
-0.45736321806907654,
0.687352180480957,
0.6106365323066711,
0.0791454017162323,
0.37634551525115967,
-0.20338036119937897,
-0.4569154977798462,
0.3148615062236786,
-0.6706284284591675,
-0.06398013979196548,
0.7807614207267761,
0.031712982803583145,
0.5819447636604309,
0.3526459038257599,
0.5190140008926392,
-0.23229485750198364,
0.4496821463108063,
-0.7822672128677368,
0.7518196105957031,
-0.33153894543647766,
-0.6918606162071228,
-0.4549296796321869,
-0.9694299101829529,
-0.9572970867156982,
0.6485798358917236,
-0.16649073362350464,
-0.8550731539726257,
-0.3057902157306671,
0.0759611502289772,
-0.04716299846768379,
0.46658217906951904,
-0.6042402982711792,
0.6727961301803589,
-0.1644156575202942,
-0.04056737571954727,
-0.005741340108215809,
-0.6873661875724792,
0.4528515338897705,
0.2117268294095993,
0.11336145550012589,
-0.06701881438493729,
0.21525360643863678,
0.513329029083252,
-0.08830352872610092,
0.44633883237838745,
-0.20312733948230743,
0.11689752340316772,
0.36476612091064453,
0.19828853011131287,
0.7006496787071228,
0.03537333756685257,
-0.1215294599533081,
-0.17021267116069794,
-0.39182159304618835,
-0.048850081861019135,
-1.1132789850234985,
0.5961808562278748,
-0.6757718324661255,
-0.7307115197181702,
-0.15358801186084747,
-0.8360447883605957,
-0.4935218393802643,
0.4553203880786896,
-0.006876310333609581,
0.6092149019241333,
0.3334612250328064,
0.2640286684036255,
0.5802667737007141,
-0.272854208946228,
0.15023867785930634,
0.3224973678588867,
-0.7414628267288208,
-0.7290381789207458,
0.9138298034667969,
0.2928713858127594,
0.3774757981300354,
0.5183003544807434,
0.582827627658844,
-0.5575950145721436,
-0.5280187129974365,
-0.6307684779167175,
0.3551686108112335,
-0.8923361301422119,
-0.4523061215877533,
-0.7627007365226746,
-0.5801458954811096,
-0.45838239789009094,
0.17170441150665283,
0.002453574910759926,
-0.4210329055786133,
0.14303845167160034,
-0.007917243987321854,
0.4604323208332062,
0.6970654726028442,
0.00018461565196048468,
0.013635274022817612,
-0.7185726761817932,
0.8010355830192566,
0.5996848940849304,
0.3821655809879303,
0.2117762267589569,
-0.4061294496059418,
-0.05743447318673134,
-0.02578500472009182,
-0.08030838519334793,
-0.8604024052619934,
0.3196735084056854,
-0.0995272696018219,
0.689985990524292,
-0.16401128470897675,
-0.05805329605937004,
0.6990454792976379,
-0.4965336322784424,
0.32230332493782043,
-0.04306364059448242,
-0.6924049854278564,
0.23058758676052094,
-0.4576324224472046,
0.31001678109169006,
0.3285282850265503,
0.3144591450691223,
-0.718024730682373,
-0.2558514177799225,
-0.5943256616592407,
-1.049747347831726,
0.517366349697113,
0.23159877955913544,
-0.10528075695037842,
-0.0014780715573579073,
0.4572368860244751,
-0.397622287273407,
0.08330796658992767,
-0.36665546894073486,
-0.3679245114326477,
-0.05596986785531044,
-0.0769442543387413,
0.008804473094642162,
-0.18998219072818756,
-0.1536005586385727,
-0.42085254192352295,
0.8690060973167419,
-0.45228123664855957,
0.20483489334583282,
0.17900972068309784,
0.045280709862709045,
0.1434302031993866,
0.24744421243667603,
0.2836974263191223,
0.6540119647979736,
0.023320918902754784,
0.20318123698234558,
0.3999464809894562,
-0.4155569076538086,
0.04499947279691696,
0.3051295876502991,
-0.34034696221351624,
-0.056820400059223175,
0.1680755764245987,
0.7580605745315552,
-0.058263834565877914,
-0.15796709060668945,
0.339884489774704,
-0.17590491473674774,
-0.08542990684509277,
-0.11165725439786911,
-0.004973697010427713,
0.5312548875808716,
0.32410722970962524,
0.40857523679733276,
-0.19819945096969604,
0.11344510316848755,
-0.268474280834198,
0.25659674406051636,
0.5783680081367493,
-0.1694699078798294,
0.19439806044101715,
0.4970964789390564,
-0.26735106110572815,
-0.2767634093761444,
0.7574765086174011,
-0.5969717502593994,
-0.828046441078186,
0.7952760457992554,
0.7539646029472351,
0.6921529769897461,
-0.004702418111264706,
0.3757348656654358,
0.42862147092819214,
0.18263284862041473,
0.19513310492038727,
0.365081250667572,
0.18259835243225098,
-0.880811333656311,
-1.0118722915649414,
-0.7359068393707275,
-0.3878949284553528,
0.12966273725032806,
-0.38520070910453796,
-0.10393732786178589,
-0.25649502873420715,
-0.018855152651667595,
-0.06938473135232925,
0.13484804332256317,
-0.5105324983596802,
0.2818138003349304,
0.15496738255023956,
0.8610795140266418,
-0.3102533519268036,
0.7451660633087158,
0.6602529287338257,
-0.3725756108760834,
-1.5038745403289795,
-0.15995284914970398,
-0.09062870591878891,
-0.830527126789093,
0.8282369375228882,
0.11942390352487564,
-0.12593649327754974,
0.2622985541820526,
-0.2984273135662079,
-1.0770258903503418,
1.1643389463424683,
0.4664197564125061,
-0.07144970446825027,
-0.12951458990573883,
0.09132993966341019,
0.5156471729278564,
-0.11301850527524948,
0.4831983745098114,
0.4155730903148651,
0.5474762916564941,
0.6633661389350891,
-0.9508883357048035,
0.006227598059922457,
-0.285422146320343,
0.08436701446771622,
0.48293060064315796,
-0.4377228617668152,
0.9600615501403809,
-0.07239948213100433,
-0.08007870614528656,
0.1182650551199913,
0.6305271983146667,
0.5617567300796509,
0.27681297063827515,
0.6938337087631226,
0.9818955659866333,
0.9138263463973999,
-0.18587790429592133,
1.2616437673568726,
0.005508660804480314,
0.350096195936203,
1.1137266159057617,
-0.07728677242994308,
0.6004098057746887,
0.1338825225830078,
0.01752111129462719,
0.5184338092803955,
0.0706806480884552,
0.4247369170188904,
0.1280677616596222,
0.5345607399940491,
-0.20562051236629486,
-0.3293813169002533,
-0.26949506998062134,
-0.29547542333602905,
0.49783265590667725,
0.36314845085144043,
-0.06447965651750565,
-0.5122263431549072,
-0.16416142880916595,
0.22561846673488617,
0.02310110069811344,
-0.49956271052360535,
0.8295738697052002,
0.1560579538345337,
-0.6647539734840393,
0.6264598369598389,
-0.09853467345237732,
0.26064568758010864,
-0.6421930193901062,
-0.2898595333099365,
-0.24168582260608673,
0.07385072112083435,
-0.10610240697860718,
-0.8996901512145996,
0.33018621802330017,
-0.19744765758514404,
-0.11763238161802292,
-0.03800000250339508,
1.1999014616012573,
-0.42392149567604065,
-0.48927339911460876,
0.48863276839256287,
0.6534883379936218,
-0.018054325133562088,
-0.07356785982847214,
-0.7127740383148193,
-0.16178494691848755,
-0.30773141980171204,
-0.36477842926979065,
0.29370397329330444,
0.6287437081336975,
-0.13946647942066193,
0.7222397923469543,
0.7841987609863281,
0.10652201622724533,
0.12862487137317657,
0.3963155746459961,
1.1292829513549805,
-0.42988407611846924,
-0.4858097434043884,
-0.5839246511459351,
0.37795865535736084,
-0.3090689182281494,
-0.08737213164567947,
0.7152622938156128,
0.48807665705680847,
0.6807915568351746,
0.30899128317832947,
0.5897922515869141,
-0.15588945150375366,
0.8368036150932312,
-0.6176736950874329,
0.791204035282135,
-0.518380343914032,
-0.05279630795121193,
-0.21129484474658966,
-0.8589060306549072,
-0.3732171058654785,
0.5990356206893921,
-0.411029577255249,
0.2444673329591751,
0.4974246025085449,
0.848383367061615,
0.04574248567223549,
0.030332641676068306,
0.32491567730903625,
0.21785955131053925,
0.508918285369873,
0.5115609765052795,
0.870522677898407,
-0.30305609107017517,
0.7915096879005432,
-0.11905369907617569,
0.0030256905592978,
0.06294773519039154,
-0.8415835499763489,
-0.7816691994667053,
-0.45370692014694214,
0.14604532718658447,
-0.648292064666748,
0.11321623623371124,
0.5460798144340515,
0.4284157454967499,
-0.48194751143455505,
0.07564684748649597,
0.0967317521572113,
0.5527825951576233,
-0.07653320580720901,
-0.2575995922088623,
0.5145642757415771,
-0.39306023716926575,
-0.46415403485298157,
0.5422629714012146,
0.039041098207235336,
-0.22590412199497223,
-0.22340500354766846,
-0.15107521414756775,
-0.5467193722724915,
-0.14801828563213348,
0.5219962000846863,
0.2430066019296646,
-0.5229654908180237,
-0.49747058749198914,
0.1277432143688202,
-0.10839349776506424,
-0.09526971727609634,
0.6950953006744385,
-0.9993473887443542,
0.4406999349594116,
0.8345956206321716,
1.0798165798187256,
0.6489015221595764,
0.041855018585920334,
0.34443199634552,
-0.9466245174407959,
-0.1377870887517929,
0.5582964420318604,
0.33650803565979004,
0.3796163499355316,
-0.34204331040382385,
0.7636734843254089,
0.16038961708545685,
-0.7329209446907043,
-0.5429936051368713,
0.4812321364879608,
-0.8019445538520813,
-0.2411344349384308,
1.3123642206192017,
-0.05056988447904587,
-0.31198275089263916,
-0.3173656761646271,
-0.3672334551811218,
0.35798510909080505,
0.013713146559894085,
0.37453189492225647,
0.5009212493896484,
-0.02277086116373539,
-0.26795366406440735,
-0.7957063317298889,
0.31606316566467285,
0.19038234651088715,
-0.6626647710800171,
-0.14915192127227783,
0.36980336904525757,
0.04467783495783806,
0.41900432109832764,
0.8090232014656067,
-0.02977195754647255,
0.2702307105064392,
-0.16895610094070435,
-0.23935972154140472,
-0.4600205719470978,
-0.38055121898651123,
0.06807977706193924,
0.3593892753124237,
-0.0989098772406578,
0.1436031013727188
] |
http://arxiv.org/abs/2405.20131v1
|
http://arxiv.org/pdf/2405.20131v1
|
Language Models Need Inductive Biases to Count Inductively
| 2024-05-30T15:10:37 | 2024-05-30T15:10:37 |
Yingshan Chang, Yonatan Bisk
|
cs.CL
|
cs.CL, cs.AI
|
Counting is a fundamental example of generalization, whether viewed through
the mathematical lens of Peano's axioms defining the natural numbers or the
cognitive science literature for children learning to count. The argument holds
for both cases that learning to count means learning to count infinitely. While
few papers have tried to distill transformer "reasoning" to the simplest case
of counting, investigating length generalization does occur throughout the
literature. In the "train short, test long" paradigm of NLP, length refers to
the training sentence length. In formal language recognition, length refers to
the input sequence length, or the maximum stack size induced by a pushdown
automata. In general problem solving, length refers to the number of hops in a
deductive reasoning chain or the recursion depth. For all cases, counting is
central to task success. And crucially, generalizing counting inductively is
central to success on OOD instances. This work provides extensive empirical
results on training language models to count. We experiment with architectures
ranging from RNNs, Transformers, State-Space Models and RWKV. We present
carefully-designed task formats, auxiliary tasks and positional embeddings to
avoid limitations in generalization with OOD-position and OOD-vocabulary. We
find that while traditional RNNs trivially achieve inductive counting,
Transformers have to rely on positional embeddings to count out-of-domain. As
counting is the basis for many arguments concerning the expressivity of
Transformers, our finding calls for the community to reexamine the application
scope of primitive functions defined in formal characterizations. Finally,
modern RNNs also largely underperform traditional RNNs in generalizing counting
inductively. We discuss how design choices that enable parallelized training of
modern RNNs cause them to lose merits of a recurrent nature.
|
[
-0.5599175691604614,
-0.35418182611465454,
0.5480284094810486,
0.38243064284324646,
-0.15996931493282318,
-0.15979047119617462,
-0.24639756977558136,
-0.5692502856254578,
-0.09764688462018967,
0.3047926723957062,
-0.18288405239582062,
-0.1816326230764389,
-0.46907949447631836,
0.2483811229467392,
-0.6357825994491577,
1.0189634561538696,
0.04473130777478218,
-0.03103271685540676,
-0.4450100362300873,
-0.3403443396091461,
-0.3886694312095642,
-0.3470299243927002,
-0.23094123601913452,
-0.4442327618598938,
0.4243975281715393,
0.431510329246521,
0.5169740319252014,
0.6240047812461853,
0.38475269079208374,
0.23612111806869507,
0.11051513254642487,
0.0540933720767498,
-0.21761712431907654,
0.13067755103111267,
-0.03232567757368088,
-0.7222820520401001,
0.10402180999517441,
-0.056541938334703445,
0.4310644268989563,
1.0470263957977295,
-0.045263104140758514,
-0.057994041591882706,
-0.07020309567451477,
0.5725153088569641,
-0.38359689712524414,
0.21369823813438416,
-0.4343126714229584,
0.3374822735786438,
-0.2759645879268646,
-0.07681038230657578,
-0.6208422183990479,
-0.18195372819900513,
0.2802559733390808,
-0.4233086109161377,
0.45417219400405884,
-0.20316506922245026,
0.3695690929889679,
0.2650271952152252,
-0.32179170846939087,
-0.567100465297699,
-1.0963964462280273,
1.1024818420410156,
-0.8648755550384521,
0.5458523035049438,
0.4378293454647064,
-0.12067996710538864,
0.11815159767866135,
-0.49291372299194336,
-0.43132489919662476,
-0.4219408929347992,
-0.24049322307109833,
0.015246295370161533,
0.17759206891059875,
-0.08332814276218414,
0.6984883546829224,
0.6510882377624512,
-0.5345600843429565,
0.23640763759613037,
-0.6760947704315186,
0.29430636763572693,
0.33953824639320374,
0.23038099706172943,
0.2056729644536972,
0.20047810673713684,
-0.2896173894405365,
0.29016947746276855,
-0.46752309799194336,
0.04862156882882118,
0.3814569413661957,
0.12630382180213928,
-0.23612013459205627,
0.30528509616851807,
-0.3881770372390747,
0.9531522989273071,
0.0829683244228363,
-0.0034172835294157267,
0.058686576783657074,
-0.17839011549949646,
-0.11388872563838959,
-0.0476648323237896,
0.7324950695037842,
-0.11392826586961746,
0.6977043151855469,
-0.6222849488258362,
0.0030738147906959057,
0.4423966109752655,
0.41199731826782227,
-0.9039063453674316,
-0.021282058209180832,
0.20190678536891937,
-0.20881876349449158,
-0.2526111304759979,
0.1668393909931183,
-0.4756678342819214,
-0.05168268084526062,
-0.26302456855773926,
0.07248015701770782,
-0.6615581512451172,
-0.05161736533045769,
0.5079249143600464,
-0.1310114711523056,
0.2976880371570587,
0.05018302798271179,
-1.331499695777893,
0.5370334982872009,
0.8561344146728516,
0.6384467482566833,
-0.059863146394491196,
-0.482714980840683,
-0.23440422117710114,
-0.2432829886674881,
-0.5264613032341003,
0.6471043229103088,
-0.7470916509628296,
-0.36881521344184875,
0.16246043145656586,
-0.01993320696055889,
-0.1478545218706131,
-0.4939699172973633,
0.2594496011734009,
-0.34305766224861145,
0.3607800602912903,
-0.14668342471122742,
-0.7167433500289917,
-0.06912649422883987,
-0.14501085877418518,
-0.5769567489624023,
0.811248242855072,
0.05396506190299988,
-0.5790916085243225,
0.6188754439353943,
-0.571061372756958,
-0.8118541836738586,
0.09114294499158859,
-0.4945012629032135,
-0.2754715085029602,
0.5876197218894958,
-0.030987776815891266,
0.12756800651550293,
-0.4700045883655548,
0.1570674180984497,
-0.019995052367448807,
-0.4985572099685669,
0.41907554864883423,
-0.2528519332408905,
0.8232568502426147,
0.3564817011356354,
-0.2880362272262573,
0.03056628257036209,
-0.5659393668174744,
-0.11511622369289398,
0.09969773143529892,
-0.38983985781669617,
-0.4293220341205597,
0.2704455256462097,
-0.4061385989189148,
0.05898742377758026,
-0.19280005991458893,
-0.7584848403930664,
0.14618036150932312,
-0.6677586436271667,
0.8312916159629822,
0.23595748841762543,
-0.21624481678009033,
0.7060269713401794,
-0.32194042205810547,
0.2972865104675293,
-0.19494636356830597,
0.10838878154754639,
-0.3699129521846771,
-0.6553689241409302,
-0.8678721189498901,
-0.04711601138114929,
0.22978264093399048,
0.39925679564476013,
-0.7273411154747009,
0.4820210635662079,
-0.3851006031036377,
-0.27340489625930786,
-0.16163721680641174,
0.11661089956760406,
0.1821981519460678,
0.34217408299446106,
0.28242093324661255,
-0.4193806052207947,
-0.3897918462753296,
-0.7740619778633118,
-0.16546474397182465,
-0.16056302189826965,
-0.3028152287006378,
-0.019967714324593544,
0.6174336075782776,
0.12536603212356567,
1.0971431732177734,
-0.13631074130535126,
-0.2585711181163788,
-0.3053056597709656,
0.14348162710666656,
0.31583964824676514,
0.4674954116344452,
0.4821228086948395,
-0.4788356423377991,
-0.26645752787590027,
0.029890814796090126,
-1.0498583316802979,
0.3281835615634918,
-0.03014647588133812,
0.29507946968078613,
0.25206640362739563,
0.348789781332016,
-0.938087522983551,
0.5799998044967651,
0.17042961716651917,
-0.03567192703485489,
0.15906444191932678,
0.13309256732463837,
-0.3224799633026123,
-0.5030757784843445,
-0.24159495532512665,
-0.12110667675733566,
0.05192754790186882,
-0.725709080696106,
0.2033674269914627,
-0.11296705156564713,
-0.15024611353874207,
-0.32404831051826477,
0.5528777837753296,
-0.4615110158920288,
-0.186598002910614,
-0.25420016050338745,
-0.365125447511673,
-0.0220187995582819,
0.5110151171684265,
0.19673864543437958,
0.42812439799308777,
0.3853822648525238,
-0.8070840239524841,
0.29129236936569214,
0.08942079544067383,
-0.736939013004303,
0.563004195690155,
-0.6959856748580933,
0.27374276518821716,
0.06921158730983734,
0.14167529344558716,
-0.832328200340271,
0.07225571572780609,
0.1465918868780136,
-0.5948607921600342,
0.24824096262454987,
-0.149618461728096,
-0.41285908222198486,
-0.560771644115448,
-0.05445610731840134,
0.6719076633453369,
0.4418862462043762,
-0.4533759355545044,
0.5033712983131409,
0.048764947801828384,
0.23219546675682068,
-0.579875111579895,
-0.8612591028213501,
-0.2682385742664337,
-0.1923244297504425,
-0.4890179932117462,
0.31067872047424316,
0.3501215875148773,
-0.29128497838974,
0.08672542870044708,
-0.25195127725601196,
0.14589188992977142,
0.0387570783495903,
0.12740175426006317,
0.0599382184445858,
-0.11327476054430008,
0.5412922501564026,
-0.383540540933609,
-0.21027137339115143,
0.311479777097702,
-0.6883893013000488,
0.8347703218460083,
-0.14759469032287598,
-0.46472442150115967,
-0.020587239414453506,
0.46288996934890747,
0.4775516092777252,
-0.3148864805698395,
0.7176891565322876,
0.47902414202690125,
-0.502581775188446,
-0.41466453671455383,
-0.5182780623435974,
-0.40630561113357544,
-0.38666069507598877,
0.33118247985839844,
-0.3242857754230499,
-0.9158333539962769,
0.3982122242450714,
0.3782043755054474,
0.3690691590309143,
0.32473933696746826,
0.446012407541275,
0.03359859809279442,
0.6070795655250549,
0.5952032208442688,
-0.06185049191117287,
0.43181344866752625,
-0.41037505865097046,
0.3663587272167206,
-0.6744484305381775,
0.0035423338413238525,
-0.47425752878189087,
-0.38849952816963196,
-0.4749191105365753,
-0.5905741453170776,
0.003776536788791418,
-0.20086008310317993,
-0.45748674869537354,
0.43271404504776,
-0.603915274143219,
0.23712362349033356,
0.5671002864837646,
-0.06607318669557571,
0.3461530804634094,
0.0799945592880249,
-0.07447975873947144,
-0.06480973213911057,
-0.708237886428833,
-0.06172105297446251,
0.9472663998603821,
0.3759707510471344,
1.1646066904067993,
-0.1479692906141281,
0.7808447480201721,
0.14977820217609406,
0.3497891128063202,
-1.3891093730926514,
0.4349886178970337,
-0.21758079528808594,
-0.7299866080284119,
-0.6030729413032532,
-0.30146923661231995,
-0.9199938774108887,
0.08103828877210617,
0.30920350551605225,
-0.4404180645942688,
0.6760371327400208,
-0.04947026073932648,
-0.28327813744544983,
0.4054635167121887,
-0.27848443388938904,
0.6734080910682678,
-0.36771339178085327,
-0.2240995168685913,
-0.22265096008777618,
-0.4117221534252167,
0.3610319197177887,
0.4556940495967865,
-0.09046536684036255,
0.0019305548630654812,
0.055207379162311554,
0.8173522353172302,
-0.5898904204368591,
1.0894086360931396,
0.09852149337530136,
-0.09249148517847061,
0.46317705512046814,
0.05707940831780434,
0.5227584838867188,
-0.2255619913339615,
0.2686329782009125,
0.21366266906261444,
-0.24976055324077606,
-0.38234812021255493,
-0.4953545928001404,
0.6996521949768066,
-0.538239598274231,
-0.4187244474887848,
-0.7442644834518433,
-0.6558989882469177,
-0.24462255835533142,
-0.09749853610992432,
0.5701054930686951,
0.4966643154621124,
-0.220042884349823,
0.40830907225608826,
0.7951058149337769,
-0.13375018537044525,
0.46308597922325134,
0.5644288659095764,
-0.4170295298099518,
-0.22366225719451904,
0.8782138228416443,
0.36464136838912964,
0.5116326808929443,
0.5454843640327454,
0.020890241488814354,
-0.24811038374900818,
-0.3213796317577362,
-0.39903900027275085,
0.30185219645500183,
-0.664289116859436,
0.14067210257053375,
-0.7600913047790527,
-0.505183219909668,
-0.34752267599105835,
-0.012610983103513718,
-0.3123535215854645,
-0.3210877478122711,
-0.09707647562026978,
-0.3351031243801117,
0.49267640709877014,
0.857545018196106,
0.04592910781502724,
0.07812865078449249,
-0.25845837593078613,
0.45258235931396484,
0.780159592628479,
0.5414021611213684,
0.37340280413627625,
-0.8277124166488647,
-0.38669553399086,
-0.3617990016937256,
-0.169515922665596,
-0.5240315794944763,
0.3251829147338867,
0.12403929233551025,
0.4754076302051544,
0.38459891080856323,
-0.026664484292268753,
0.49883124232292175,
-0.5448622107505798,
0.21395909786224365,
0.09343770146369934,
-0.7491843700408936,
0.23039722442626953,
-0.11647121608257294,
0.3870667517185211,
0.2711458206176758,
0.5057018399238586,
-0.8582008481025696,
-0.18004143238067627,
-0.5339214205741882,
-0.7801553606987,
0.3943045139312744,
0.024892209097743034,
0.2873034179210663,
-0.5583534240722656,
-0.014201367273926735,
0.17017774283885956,
0.11717232316732407,
-0.5257665514945984,
-0.16762666404247284,
-0.36480477452278137,
-0.06861338764429092,
0.10072582960128784,
-0.4257321357727051,
-0.18944498896598816,
-0.23984377086162567,
0.2859533429145813,
-0.14490942656993866,
0.4445078372955322,
0.18893872201442719,
-0.3821929395198822,
0.0611874982714653,
0.3495338559150696,
0.5971083045005798,
1.055393934249878,
-0.1430509388446808,
0.056883230805397034,
0.046741798520088196,
-0.22019131481647491,
0.07172846049070358,
0.009278965182602406,
-0.39064347743988037,
0.10045627504587173,
0.5026877522468567,
0.8203055262565613,
0.31004440784454346,
-0.19226427376270294,
0.20507435500621796,
0.1931138038635254,
-0.17636308073997498,
-0.6688478589057922,
-0.10380339622497559,
0.2681623697280884,
-0.26073265075683594,
0.3129465878009796,
0.06008996441960335,
0.22174771130084991,
-0.7806665301322937,
0.3179593086242676,
0.46666640043258667,
-0.909905195236206,
-0.337658166885376,
0.4802045226097107,
0.32602769136428833,
-0.43630897998809814,
0.8189140558242798,
-0.047535240650177,
-0.16259947419166565,
0.9859145283699036,
0.6534697413444519,
0.9060285091400146,
-0.24425719678401947,
0.16277678310871124,
0.4838595688343048,
0.5626775622367859,
-0.31802892684936523,
0.09520553797483444,
-0.16499285399913788,
-0.9855850338935852,
-0.5200906991958618,
-0.6328442692756653,
-0.3874611258506775,
0.19334064424037933,
-0.8706786036491394,
0.038299623876810074,
-0.49131667613983154,
-0.005302899982780218,
0.048633791506290436,
-0.422500342130661,
-0.9164519906044006,
0.025462349876761436,
0.15642061829566956,
0.8450084924697876,
-0.7817497253417969,
0.799011766910553,
0.40197110176086426,
-0.5118154287338257,
-0.34216371178627014,
-0.26442667841911316,
-0.17615987360477448,
-0.8569744825363159,
0.6778845191001892,
0.5592330694198608,
0.12280207872390747,
-0.13329382240772247,
-0.6833465695381165,
-0.6759980916976929,
0.7784247994422913,
-0.09377595037221909,
-0.5595811605453491,
0.044863224029541016,
0.2871852517127991,
0.6075227856636047,
-0.5195522904396057,
0.28797996044158936,
0.7111085057258606,
0.1444379687309265,
-0.12058040499687195,
-0.8932796120643616,
-0.12358393520116806,
-0.14289379119873047,
0.21289072930812836,
0.23773594200611115,
-0.4930557310581207,
1.0618001222610474,
-0.2971702218055725,
-0.44516152143478394,
0.21112526953220367,
0.6197597980499268,
0.006893472280353308,
0.1479891687631607,
0.4510195553302765,
1.0391297340393066,
0.21663090586662292,
-0.10252518951892853,
1.364559531211853,
-0.03398100659251213,
0.19366690516471863,
1.2083649635314941,
-0.38652604818344116,
0.3418164849281311,
0.2866173982620239,
-0.5524125695228577,
0.5216561555862427,
0.17407330870628357,
0.10955338925123215,
0.23962880671024323,
0.4457516670227051,
-0.30706703662872314,
-0.32537147402763367,
-0.10394449532032013,
-0.4169386029243469,
0.3950032889842987,
0.563380777835846,
-0.6250475645065308,
-0.12315994501113892,
0.1160709410905838,
-0.0014192928792908788,
0.1875031739473343,
-0.004613192286342382,
0.644465446472168,
0.3969790041446686,
-0.676343560218811,
0.4398605525493622,
-0.3240356147289276,
0.7944462895393372,
-0.5765799283981323,
-0.09128337353467941,
-0.4124566912651062,
0.25340205430984497,
-0.19107607007026672,
-0.6860989928245544,
0.25315430760383606,
-0.3793075978755951,
-0.41523170471191406,
-0.002691651461645961,
0.3965340256690979,
-0.33467525243759155,
-0.6904435157775879,
0.4587356150150299,
0.4730500876903534,
0.28015467524528503,
-0.10653112083673477,
-0.14836174249649048,
-0.11937518417835236,
-0.12028580158948898,
0.09038931876420975,
0.5768789649009705,
0.4924394190311432,
-0.2763347327709198,
0.8259788155555725,
0.5381556153297424,
-0.0822804793715477,
0.1909468024969101,
0.3315725028514862,
0.7180302143096924,
-0.9112187027931213,
-0.31586647033691406,
-0.8586700558662415,
0.15754356980323792,
0.12145766615867615,
-0.3883127272129059,
0.48485857248306274,
0.5640861392021179,
1.105405569076538,
-0.47026148438453674,
0.8616012334823608,
-0.28478866815567017,
0.6360979080200195,
-0.33874091506004333,
0.3002525269985199,
-0.13454669713974,
0.265434592962265,
0.20444998145103455,
-0.8781416416168213,
-0.20171397924423218,
0.8948839902877808,
-0.6258061528205872,
0.03358251973986626,
0.6824154853820801,
0.5607771277427673,
-0.000456635927548632,
-0.04935140535235405,
0.41483062505722046,
0.029012979939579964,
0.24183882772922516,
0.7810574769973755,
1.0624092817306519,
-0.6031481623649597,
0.6171638369560242,
-0.7220739722251892,
-0.06487458199262619,
-0.04506933316588402,
-0.6401415467262268,
-0.8912630677223206,
-0.4951985776424408,
-0.17259714007377625,
-0.03295718505978584,
-0.18060453236103058,
0.5427993535995483,
0.7146216034889221,
-1.0753355026245117,
-0.6290985941886902,
-0.21783627569675446,
0.376926064491272,
-0.407596617937088,
-0.335954487323761,
-0.10495975613594055,
-0.6418907046318054,
-0.7833548784255981,
0.3060523271560669,
0.47577622532844543,
-0.20490393042564392,
-0.2727283835411072,
0.09028340131044388,
-0.26167523860931396,
-0.11990315467119217,
0.6620897650718689,
0.989189863204956,
-0.9606046080589294,
-0.2674087584018707,
0.09028375148773193,
-0.019517626613378525,
0.06143026798963547,
1.0819708108901978,
-1.0400304794311523,
0.4490257501602173,
0.7083740234375,
0.4695815145969391,
0.40305060148239136,
0.014910793863236904,
0.5857052803039551,
-0.5297905802726746,
0.48329463601112366,
0.45139655470848083,
0.28480467200279236,
0.24751368165016174,
-0.10119573026895523,
0.8396660089492798,
0.4686279296875,
-0.5266761183738708,
-0.715211033821106,
0.6709802746772766,
-0.6545068621635437,
-0.007010641507804394,
0.8413085341453552,
-0.07778581231832504,
0.13964809477329254,
-0.5254018306732178,
0.3376724421977997,
-0.1426766961812973,
-0.24651803076267242,
0.6581897139549255,
0.6643912196159363,
-0.2826022207736969,
-0.3312959671020508,
-0.558051347732544,
0.5592071413993835,
0.480766236782074,
-0.42564940452575684,
-0.1842825561761856,
0.07737632095813751,
0.30816709995269775,
0.5934308767318726,
0.6320269107818604,
-0.20287705957889557,
0.2632925510406494,
0.013055223971605301,
0.2924557030200958,
-0.007137136999517679,
-0.4818173944950104,
-0.18950682878494263,
-0.14219455420970917,
0.014726628549396992,
-0.4195614755153656
] |
http://arxiv.org/abs/2405.20101v1
|
http://arxiv.org/pdf/2405.20101v1
|
Fill in the Gap! Combining Self-supervised Representation Learning with Neural Audio Synthesis for Speech Inpainting
| 2024-05-30T14:41:39 | 2024-05-30T14:41:39 |
Ihab Asaad, Maxime Jacquelin, Olivier Perrotin, Laurent Girin, Thomas Hueber
|
cs.SD
|
cs.SD, cs.CL, eess.AS
|
Most speech self-supervised learning (SSL) models are trained with a pretext
task which consists in predicting missing parts of the input signal, either
future segments (causal prediction) or segments masked anywhere within the
input (non-causal prediction). Learned speech representations can then be
efficiently transferred to downstream tasks (e.g., automatic speech or speaker
recognition). In the present study, we investigate the use of a speech SSL
model for speech inpainting, that is reconstructing a missing portion of a
speech signal from its surrounding context, i.e., fulfilling a downstream task
that is very similar to the pretext task. To that purpose, we combine an SSL
encoder, namely HuBERT, with a neural vocoder, namely HiFiGAN, playing the role
of a decoder. In particular, we propose two solutions to match the HuBERT
output with the HiFiGAN input, by freezing one and fine-tuning the other, and
vice versa. Performance of both approaches was assessed in single- and
multi-speaker settings, for both informed and blind inpainting configurations
(i.e., the position of the mask is known or unknown, respectively), with
different objective metrics and a perceptual evaluation. Performances show that
if both solutions allow to correctly reconstruct signal portions up to the size
of 200ms (and even 400ms in some cases), fine-tuning the SSL encoder provides a
more accurate signal reconstruction in the single-speaker setting case, while
freezing it (and training the neural vocoder instead) is a better strategy when
dealing with multi-speaker data.
|
[
-0.416331022977829,
-0.47116318345069885,
0.3436180353164673,
0.3821530342102051,
-0.2610906958580017,
0.05291178449988365,
-0.11416076123714447,
-0.41931596398353577,
0.44819796085357666,
0.6339198350906372,
-0.6853020787239075,
-0.031317271292209625,
-0.27570855617523193,
-0.0599667988717556,
-0.3840486705303192,
0.7112216353416443,
0.22457940876483917,
0.08030238747596741,
-0.3158392310142517,
0.14999543130397797,
-0.8294393420219421,
-0.47828543186187744,
-0.4960714280605316,
-0.5783648490905762,
0.023544754832983017,
0.3421342670917511,
0.26888319849967957,
0.5292634963989258,
0.018337829038500786,
0.34145957231521606,
0.07294691354036331,
0.30058038234710693,
-0.40613052248954773,
0.2427780032157898,
0.14637722074985504,
-0.03130163997411728,
-0.26404517889022827,
0.22081246972084045,
0.6115003824234009,
0.575467586517334,
-0.127573624253273,
0.0321638323366642,
0.4036540687084198,
0.5213079452514648,
-0.7813624143600464,
0.04738069698214531,
-0.7060608863830566,
0.3666924238204956,
-0.04942532628774643,
-0.4637851119041443,
-0.2098056674003601,
-0.08363161236047745,
0.21667353808879852,
-0.5719369649887085,
0.18735669553279877,
-0.43484166264533997,
0.46607062220573425,
0.7795183658599854,
0.10892143100500107,
-0.10842090100049973,
-0.8249056339263916,
0.5057636499404907,
-1.0120582580566406,
0.48851969838142395,
0.5067278742790222,
0.36925822496414185,
-0.18157801032066345,
-0.6937835812568665,
-0.44146302342414856,
0.04172820225358009,
-0.026928173378109932,
0.5387082695960999,
-0.0385141521692276,
0.07512747496366501,
0.20481161773204803,
0.2833125591278076,
-0.45073917508125305,
-0.026180122047662735,
-0.3526415526866913,
-0.4266177713871002,
0.600574254989624,
-0.09609192609786987,
0.29562219977378845,
-0.04485887289047241,
-0.6602706909179688,
-0.017487935721874237,
-0.6756525635719299,
-0.017253568395972252,
0.42116084694862366,
0.5435616970062256,
0.00827648676931858,
0.12652486562728882,
-0.169489786028862,
0.7283713817596436,
0.22101068496704102,
-0.07941163331270218,
0.13419075310230255,
-0.251794695854187,
-0.3967084288597107,
0.676672101020813,
0.6872431635856628,
0.024989338591694832,
0.13315610587596893,
-0.17932669818401337,
-0.19836485385894775,
-0.058056026697158813,
0.3137087821960449,
-0.6956146955490112,
-0.39832863211631775,
-0.05260050296783447,
-0.27853861451148987,
0.1773257851600647,
-0.12144723534584045,
-0.6627159118652344,
0.006194294895976782,
-0.6814154982566833,
0.9333851933479309,
-0.21726322174072266,
-0.38041356205940247,
0.03380511328577995,
-0.17354103922843933,
-0.11284652352333069,
0.3009073734283447,
-1.0010013580322266,
0.2973330616950989,
0.3307252824306488,
0.6937223076820374,
-0.19466657936573029,
-0.28728410601615906,
-0.7957824468612671,
0.32555678486824036,
-0.5393305420875549,
0.3423384130001068,
-0.2707066535949707,
-0.22616586089134216,
-0.08314428478479385,
-0.24355259537696838,
-0.1338474154472351,
-0.7038689851760864,
0.1489468663930893,
-0.2573915421962738,
0.1791069656610489,
0.17186544835567474,
-0.7939066886901855,
0.016827957704663277,
-0.24190817773342133,
-0.5980287194252014,
0.7489462494850159,
0.12972581386566162,
-0.33923372626304626,
0.105511374771595,
-0.48858383297920227,
-0.29707953333854675,
0.1817532628774643,
-0.23294618725776672,
-0.6132427453994751,
0.009697633795440197,
0.3435502052307129,
0.5265093445777893,
0.16146773099899292,
-0.028431911021471024,
-0.3014683723449707,
-0.5851088762283325,
0.3046605885028839,
-0.5892526507377625,
0.6282820105552673,
0.038012005388736725,
-0.3934192657470703,
0.05232223868370056,
-0.9207075834274292,
-0.1328684240579605,
-0.21550902724266052,
-0.4420575201511383,
-0.0772845521569252,
-0.3366924226284027,
0.10479723662137985,
0.2982763648033142,
0.12455640733242035,
-0.8337826728820801,
-0.4462401270866394,
-0.7940352559089661,
0.6953967809677124,
0.691913366317749,
0.07707943767309189,
0.49167224764823914,
-0.06119412183761597,
0.39252620935440063,
-0.16379396617412567,
-0.01227436400949955,
-0.33573117852211,
-0.4685410261154175,
-0.7491827607154846,
-0.304925799369812,
0.4036596417427063,
0.22262577712535858,
-0.6163140535354614,
0.24136695265769958,
0.09859617799520493,
-0.21490465104579926,
-0.913366436958313,
0.0953681692481041,
0.5599417686462402,
0.7084500193595886,
0.6127937436103821,
-0.397271990776062,
-0.4889281690120697,
-0.9333246946334839,
-0.2117268592119217,
-0.08618175983428955,
-0.166900172829628,
-0.013844408094882965,
0.18488985300064087,
0.253814160823822,
0.8873642086982727,
0.0009362176060676575,
-0.8635777831077576,
0.21981018781661987,
0.008990233764052391,
0.333029180765152,
0.9390525221824646,
0.29615235328674316,
-0.5387229323387146,
-0.5963971018791199,
0.02697293646633625,
-0.7071307301521301,
0.15413424372673035,
-0.20466193556785583,
0.0769091546535492,
0.1438683420419693,
0.903494119644165,
-0.47414374351501465,
0.837325394153595,
0.44519883394241333,
0.13757926225662231,
0.33049947023391724,
-0.38216251134872437,
0.029602505266666412,
-0.614611029624939,
-0.49873900413513184,
-0.23957902193069458,
-0.30175668001174927,
-1.0487867593765259,
-0.2054259479045868,
0.06671349704265594,
-0.5107085704803467,
-0.5951636433601379,
0.29922616481781006,
-0.6756011843681335,
-0.05378752574324608,
-0.5987811088562012,
0.0003312974877189845,
-0.12403218448162079,
0.8682013154029846,
-0.04868973419070244,
0.7953826785087585,
0.6532472968101501,
-0.29790276288986206,
0.20338228344917297,
0.321462482213974,
-0.3258628845214844,
0.19281454384326935,
-0.6729638576507568,
0.5127237439155579,
-0.004088171757757664,
0.10880076885223389,
-1.2151356935501099,
-0.22009484469890594,
0.4029870629310608,
-0.5837321877479553,
0.5524115562438965,
-0.5292778611183167,
-0.28358423709869385,
0.15083932876586914,
0.23190490901470184,
0.65827876329422,
0.5666168332099915,
-0.7977231740951538,
0.7498064041137695,
0.5536158084869385,
-0.17709846794605255,
-0.30173853039741516,
-1.0246548652648926,
0.20134375989437103,
-0.3582812249660492,
-0.48686787486076355,
0.6659218072891235,
-0.054423753172159195,
0.30368727445602417,
-0.016131017357110977,
-0.24257320165634155,
-0.06624633073806763,
-0.16358691453933716,
0.3107951581478119,
0.07045692950487137,
-0.0755673348903656,
0.13859403133392334,
0.024340949952602386,
-0.339937686920166,
0.10094481706619263,
-0.2648939788341522,
0.31672555208206177,
0.13039562106132507,
-0.680181622505188,
-0.7175216674804688,
0.6651864051818848,
0.40276655554771423,
-0.4026626944541931,
0.11392461508512497,
0.6302095651626587,
-0.5634680390357971,
-0.2919895052909851,
-0.6091614365577698,
-0.3208107054233551,
-0.4824371039867401,
0.0024558263830840588,
-0.34743860363960266,
-0.9115512371063232,
0.2948998808860779,
0.03660069778561592,
-0.24482329189777374,
0.24632228910923004,
0.591097354888916,
-0.572483479976654,
0.7833664417266846,
0.4211639165878296,
-0.11990708112716675,
0.6308292746543884,
-0.4418646991252899,
0.1640365570783615,
-0.9959650635719299,
-0.14850321412086487,
-0.21176141500473022,
-0.24432185292243958,
-0.3645361065864563,
-0.27823859453201294,
0.5237336754798889,
-0.11858018487691879,
0.01640799641609192,
0.4490208029747009,
-0.6172899007797241,
0.5058487057685852,
0.8051539659500122,
0.46297135949134827,
-0.09223970770835876,
0.23931901156902313,
0.22118797898292542,
-0.05576800927519798,
-0.8313615322113037,
-0.04004029184579849,
0.9032856822013855,
0.11960233747959137,
0.5619615912437439,
-0.15168346464633942,
1.063444972038269,
0.1260388046503067,
-0.15152782201766968,
-0.40667179226875305,
0.3133581578731537,
-0.24333298206329346,
-0.4171033501625061,
-0.7118492126464844,
-0.2460874319076538,
-1.000617504119873,
0.5204959511756897,
-0.30019626021385193,
-0.5338062644004822,
0.4749601185321808,
0.2864334285259247,
-0.5311529636383057,
0.14367370307445526,
-0.5725374221801758,
0.781696617603302,
0.045986175537109375,
-0.28674671053886414,
-0.5099484324455261,
-0.8830984234809875,
0.06903776526451111,
-0.06945685297250748,
0.11780985444784164,
-0.24890843033790588,
0.4444403350353241,
0.6339707970619202,
-0.2529299855232239,
0.8784404397010803,
-0.30395641922950745,
0.11855897307395935,
0.1776609718799591,
-0.019960440695285797,
0.20044970512390137,
-0.05361196771264076,
-0.051302071660757065,
0.06409978121519089,
-0.07698018848896027,
-0.1984878033399582,
-0.7550049424171448,
0.742540180683136,
-0.680306077003479,
-0.6815012097358704,
-0.11960255354642868,
-0.49241212010383606,
-0.40783485770225525,
-0.06291161477565765,
0.04196123033761978,
0.8837767243385315,
-0.16894623637199402,
0.13175146281719208,
0.7079492211341858,
-0.035599131137132645,
0.8801679611206055,
0.06642186641693115,
0.12259222567081451,
-0.48181694746017456,
1.196698546409607,
0.19320425391197205,
0.33590200543403625,
0.2804849147796631,
0.15270809829235077,
-0.2682807445526123,
-0.593883752822876,
-0.6108907461166382,
0.12887883186340332,
-0.6663250923156738,
-0.21533727645874023,
-0.3140769302845001,
-0.5239913463592529,
-0.32532182335853577,
0.20132161676883698,
-0.4548177421092987,
-0.34823256731033325,
-0.8187214732170105,
0.19847111403942108,
-0.1132238581776619,
0.3630037307739258,
-0.18762415647506714,
0.29947277903556824,
-0.5554910898208618,
0.40914493799209595,
0.72519850730896,
0.07813750207424164,
0.03876961022615433,
-0.7501805424690247,
-0.5067310929298401,
0.07098226249217987,
-0.10164318978786469,
-0.9586602449417114,
0.5069857835769653,
0.5126672387123108,
0.6769925951957703,
0.13255049288272858,
-0.03815212845802307,
1.0319079160690308,
-0.5809670090675354,
0.5766260623931885,
0.32784491777420044,
-0.7851321697235107,
0.5682088732719421,
-0.11562161147594452,
0.561288595199585,
0.4749281704425812,
0.09013394266366959,
-0.304918497800827,
-0.5339447259902954,
-0.653880774974823,
-0.6556546688079834,
0.6596638560295105,
0.5592738389968872,
0.21969035267829895,
0.3413515090942383,
0.06884124875068665,
0.18915054202079773,
-0.026012402027845383,
-0.3357800841331482,
0.01794620044529438,
-0.5580056309700012,
0.06729662418365479,
-0.14940249919891357,
0.0328507125377655,
-0.21455040574073792,
-0.4271027147769928,
0.850608766078949,
-0.14292871952056885,
0.4298749268054962,
0.4024641215801239,
-0.1435791403055191,
-0.15439759194850922,
-0.02801228128373623,
0.43887582421302795,
0.6317351460456848,
-0.2370566725730896,
0.024168342351913452,
0.0645768940448761,
0.07818350195884705,
0.09082013368606567,
0.061742525547742844,
0.03969291225075722,
0.23582343757152557,
0.47343909740448,
1.0722407102584839,
0.21973177790641785,
-0.3487814664840698,
0.5816883444786072,
-0.0539882630109787,
-0.27334511280059814,
-0.5208139419555664,
-0.04765157774090767,
0.2336447387933731,
0.24914909899234772,
0.35171034932136536,
0.4456603527069092,
0.4119751453399658,
-0.45032423734664917,
0.25208574533462524,
0.2766854763031006,
-0.49834030866622925,
-0.23175469040870667,
0.7784619927406311,
-0.04333001375198364,
-0.5722720623016357,
0.7973865270614624,
0.2116612195968628,
-0.35975977778434753,
0.4373427629470825,
0.6924355626106262,
1.0457998514175415,
-0.3063229024410248,
-0.05887379124760628,
0.3086758553981781,
-0.05921228229999542,
0.3712378740310669,
0.15211497247219086,
-0.3856813609600067,
-0.6289286017417908,
-0.5872604846954346,
-0.5966475009918213,
-0.1628457009792328,
-0.01909111812710762,
-0.5244352221488953,
-0.19427968561649323,
-0.25790438055992126,
-0.04024651274085045,
0.07957104593515396,
-0.6217515468597412,
-0.6766715049743652,
0.21291229128837585,
0.2826882600784302,
0.4548441171646118,
-0.8970034122467041,
0.9969635605812073,
0.2067674696445465,
-0.3469558358192444,
-0.7620096206665039,
0.025283148512244225,
-0.08742817491292953,
-0.5981770157814026,
0.36777469515800476,
0.11246298253536224,
-0.34410539269447327,
-0.04688563570380211,
-0.2788596451282501,
-0.9059945344924927,
0.6692407727241516,
0.7784284353256226,
-0.562217652797699,
0.2620062232017517,
0.18933020532131195,
0.5371984839439392,
-0.41977566480636597,
-0.11312232911586761,
0.6102012395858765,
0.25457650423049927,
0.05706656724214554,
-1.1453739404678345,
-0.19085590541362762,
-0.29126307368278503,
0.14131677150726318,
-0.01483308058232069,
-0.3924984931945801,
0.6483693718910217,
0.4059671461582184,
-0.37664857506752014,
0.06824281811714172,
0.9075028300285339,
0.07836584001779556,
0.20177873969078064,
0.735122799873352,
0.5849364399909973,
0.36350446939468384,
-0.12919354438781738,
0.686987042427063,
-0.1603539139032364,
-0.004280769266188145,
1.2236709594726562,
0.27958211302757263,
0.8075719475746155,
0.7788063287734985,
-0.21900931000709534,
0.12985917925834656,
0.6218269467353821,
0.22847837209701538,
0.9579948782920837,
0.06450104713439941,
-0.2172715663909912,
-0.44826623797416687,
-0.006853914819657803,
-0.4748185873031616,
0.6666702032089233,
0.25793272256851196,
-0.001642684219405055,
-0.1186993271112442,
0.4293202757835388,
-0.6307311058044434,
0.087424136698246,
-0.2935671806335449,
1.0586875677108765,
0.20636551082134247,
-0.5970423221588135,
0.71878582239151,
-0.5419606566429138,
0.4608932137489319,
-0.415009081363678,
-0.5072345733642578,
-0.2883877754211426,
-0.014913268387317657,
-0.29446202516555786,
-0.6385613679885864,
0.4449703097343445,
-0.6960976123809814,
0.04834152013063431,
-0.5411334037780762,
0.941320538520813,
-0.9417895078659058,
-0.12190047651529312,
0.3565711975097656,
0.28274017572402954,
0.49318596720695496,
-0.2236124873161316,
-0.4926091730594635,
0.03721665218472481,
-0.06334318220615387,
0.19267864525318146,
0.5026170015335083,
0.19207490980625153,
0.20224745571613312,
0.5028327107429504,
0.6776962280273438,
0.06251849234104156,
0.35822242498397827,
0.4367675483226776,
0.8049362301826477,
-0.16844891011714935,
-0.7228710651397705,
-0.7333683371543884,
0.4690849184989929,
0.06934694945812225,
-0.19297167658805847,
0.7381740808486938,
0.43730857968330383,
1.0540786981582642,
-0.31637322902679443,
0.46802881360054016,
0.477003812789917,
0.3535201847553253,
-0.738094687461853,
0.6945062875747681,
-0.774193525314331,
-0.14062005281448364,
-0.4099588692188263,
-0.7670866250991821,
-0.07720262557268143,
0.5736813545227051,
0.32845863699913025,
-0.14765585958957672,
0.18115991353988647,
0.9776811003684998,
-0.20172330737113953,
0.12386192381381989,
0.6372053623199463,
-0.15492522716522217,
0.09449446946382523,
0.4751507341861725,
1.1137503385543823,
-0.3851710557937622,
0.4201573133468628,
-0.3324868679046631,
-0.1591668426990509,
-0.11430058628320694,
-0.514281153678894,
-0.6839070916175842,
-0.9323524236679077,
-0.4156685173511505,
-0.015593061223626137,
0.15470542013645172,
0.7630168199539185,
1.2540900707244873,
-0.7293493151664734,
-0.5230579972267151,
0.18708467483520508,
-0.19348673522472382,
-0.48300305008888245,
-0.1376827359199524,
0.436773419380188,
-0.32176482677459717,
-0.6997385621070862,
1.2823028564453125,
0.5553547739982605,
0.06458602845668793,
-0.4757000505924225,
-0.11205200850963593,
-0.14421425759792328,
-0.05356157198548317,
0.3854828178882599,
0.3905317485332489,
-0.933975100517273,
-0.3543895483016968,
-0.557351291179657,
0.2732621431350708,
0.38910216093063354,
0.7226991057395935,
-0.8938907980918884,
0.9796965718269348,
0.5582456588745117,
0.9089531898498535,
1.393445611000061,
-0.2692136764526367,
0.5632807016372681,
-0.947020947933197,
0.10164445638656616,
0.2584693431854248,
0.3912736475467682,
0.4363069534301758,
-0.24344928562641144,
0.37773898243904114,
0.018646683543920517,
-0.5993486642837524,
-0.5824392437934875,
0.17873874306678772,
-0.999332070350647,
-0.3730517029762268,
0.5009128451347351,
-0.15135818719863892,
-0.0975421667098999,
-0.12105228751897812,
-0.062513567507267,
0.5274524092674255,
-0.3133053779602051,
0.6751028299331665,
0.4634120464324951,
-0.3954978287220001,
-0.278793066740036,
-0.32779812812805176,
0.5663595199584961,
0.4846309721469879,
-0.4349217414855957,
-0.07226232439279556,
0.34450069069862366,
0.31765016913414,
0.1889774203300476,
0.7940241694450378,
-0.026847628876566887,
0.5703170299530029,
-0.11819660663604736,
0.011618574149906635,
-0.37133878469467163,
-0.6141958236694336,
-0.5551550984382629,
0.3179231584072113,
-0.40204837918281555,
-0.5554488301277161
] |
http://arxiv.org/abs/2405.20092v1
|
http://arxiv.org/pdf/2405.20092v1
|
Divide-and-Conquer Meets Consensus: Unleashing the Power of Functions in Code Generation
| 2024-05-30T14:31:33 | 2024-05-30T14:31:33 |
Jingchang Chen, Hongxuan Tang, Zheng Chu, Qianglong Chen, Zekun Wang, Ming Liu, Bing Qin
|
cs.CL
|
cs.CL, cs.SE
|
Despite recent progress made by large language models in code generation,
they still struggle with programs that meet complex requirements. Recent work
utilizes plan-and-solve decomposition to decrease the complexity and leverage
self-tests to refine the generated program. Yet, planning deep-inside
requirements in advance can be challenging, and the tests need to be accurate
to accomplish self-improvement. To this end, we propose FunCoder, a code
generation framework incorporating the divide-and-conquer strategy with
functional consensus. Specifically, FunCoder recursively branches off
sub-functions as smaller goals during code generation, represented by a tree
hierarchy. These sub-functions are then composited to attain more complex
objectives. Additionally, we designate functions via a consensus formed by
identifying similarities in program behavior, mitigating error propagation.
FunCoder outperforms state-of-the-art methods by +9.8% on average in HumanEval,
MBPP, xCodeEval and MATH with GPT-3.5 and GPT-4. Moreover, our method
demonstrates superiority on smaller models: With FunCoder, StableCode-3b
surpasses GPT-3.5 by +18.6% and achieves 97.7% of GPT-4's performance on
HumanEval. Further analysis reveals that our proposed dynamic function
decomposition is capable of handling complex requirements, and the functional
consensus prevails over self-testing in correctness evaluation.
|
[
-0.639417827129364,
-0.28345054388046265,
0.23935040831565857,
0.3615190088748932,
-0.19611383974552155,
0.35154181718826294,
-0.029378417879343033,
-0.193128764629364,
0.10764846205711365,
0.34701669216156006,
-0.47555074095726013,
-0.1662091463804245,
-0.5956630706787109,
-0.017337540164589882,
-0.3083485960960388,
0.9788389801979065,
-0.12038520723581314,
-0.21609291434288025,
-0.28449440002441406,
-0.1368766725063324,
-0.18965061008930206,
-0.8398728966712952,
-0.07528794556856155,
-0.4636693000793457,
0.4454246163368225,
0.6315773129463196,
0.8343486785888672,
0.7067016363143921,
0.7583643198013306,
0.28781622648239136,
0.1438053846359253,
0.1564439982175827,
-0.5713111758232117,
0.2939011752605438,
0.2685922682285309,
-0.2469911426305771,
-0.4391850233078003,
-0.5484492778778076,
0.19562813639640808,
0.39004895091056824,
-0.5058943629264832,
0.006309450604021549,
-0.2030450850725174,
0.8710096478462219,
-0.7539159059524536,
0.23425035178661346,
-0.24837204813957214,
0.2398305982351303,
0.10325999557971954,
-0.12236955761909485,
-0.1307523399591446,
-0.7260204553604126,
-0.3788588047027588,
-0.26234906911849976,
0.21035467088222504,
-0.20342566072940826,
0.4927094280719757,
0.41051146388053894,
-0.2524447441101074,
-0.55965656042099,
-0.6166954040527344,
0.5086056590080261,
-0.5203851461410522,
0.4958486557006836,
0.05324167013168335,
0.22769695520401,
-0.49385499954223633,
-0.933860182762146,
-0.6800185441970825,
-0.000639088568277657,
0.21981164813041687,
-0.031359028071165085,
-0.3216921091079712,
0.1217750608921051,
0.4384498596191406,
0.5767566561698914,
-0.44468531012535095,
-0.2720990478992462,
-0.5459389090538025,
-0.08678653836250305,
0.6934738755226135,
0.023983782157301903,
0.5261267423629761,
-0.19827795028686523,
-0.07860393822193146,
-0.04788563400506973,
-0.7294592261314392,
0.2485133856534958,
0.13760757446289062,
-0.09314337372779846,
0.12792937457561493,
0.5812978744506836,
-0.10631561279296875,
0.3748525083065033,
0.2547403573989868,
-0.12406144291162491,
0.41129443049430847,
-0.4576115608215332,
-0.40927091240882874,
-0.06368251144886017,
0.7130407094955444,
0.4257771372795105,
0.17321118712425232,
0.00427551195025444,
-0.5253190994262695,
-0.11846684664487839,
0.5030059814453125,
-1.1406517028808594,
-0.4992126226425171,
0.12909352779388428,
-0.46646982431411743,
-0.27147576212882996,
0.08284129947423935,
-0.53756183385849,
-0.09571997076272964,
-0.07559838145971298,
0.3521631062030792,
-0.5386751294136047,
-0.23151735961437225,
0.20542916655540466,
-0.021064842119812965,
0.23863138258457184,
0.14620669186115265,
-1.017580509185791,
0.36834582686424255,
0.9246088266372681,
0.6857032179832458,
-0.08882244676351547,
-0.06310348957777023,
-0.6673753261566162,
-0.26006627082824707,
-0.3623443841934204,
0.25814875960350037,
-0.21594510972499847,
-0.4555918872356415,
-0.15096242725849152,
-0.5256933569908142,
-0.09631043672561646,
-0.6427193284034729,
0.4076043665409088,
-0.649431049823761,
0.010555822402238846,
-0.34526321291923523,
-0.5438779592514038,
-0.06362271308898926,
0.4802704453468323,
-0.6180384159088135,
0.9301503896713257,
0.4307492971420288,
-0.7898821830749512,
0.46691927313804626,
-0.8630126714706421,
-0.6449835300445557,
0.09631063789129257,
-0.39652732014656067,
-0.677114725112915,
0.207320436835289,
0.18988606333732605,
0.39230817556381226,
-0.1274256706237793,
0.4046114981174469,
-0.29463833570480347,
-0.39047005772590637,
0.2747570276260376,
0.06465335935354233,
0.5004588961601257,
0.3782479763031006,
-0.6209881901741028,
0.29773417115211487,
-0.516730546951294,
0.28478187322616577,
0.02574905939400196,
-0.3307223618030548,
-0.05427274852991104,
0.25015443563461304,
-0.45049434900283813,
0.2155590057373047,
0.12704405188560486,
-0.5027737617492676,
0.3172704875469208,
-0.3615916669368744,
0.43492117524147034,
0.4016997218132019,
0.20635078847408295,
0.4312606155872345,
-0.5052977800369263,
0.8045378923416138,
-0.23353548347949982,
0.48783305287361145,
-0.23338180780410767,
-0.3873523473739624,
-0.8340097069740295,
-0.3845260441303253,
0.1859409660100937,
0.294793963432312,
-0.6212903261184692,
0.7694534063339233,
-0.2017737329006195,
-0.48742401599884033,
-0.16626355051994324,
-0.0047103362157940865,
0.33503541350364685,
0.20555366575717926,
0.44667160511016846,
-0.547672688961029,
-0.4301392734050751,
-0.6601113677024841,
0.18828800320625305,
-0.23271723091602325,
-0.09249654412269592,
-0.28022098541259766,
0.3872354030609131,
-0.4001316726207733,
0.8832976818084717,
-0.49182969331741333,
-0.1411443054676056,
-0.4834861159324646,
0.04990747943520546,
0.18584494292736053,
0.5418499708175659,
0.5162087082862854,
-0.9546055793762207,
-0.18837691843509674,
-0.012469363398849964,
-0.2686018645763397,
0.027854695916175842,
0.18541459739208221,
0.030249329283833504,
0.14514273405075073,
0.20405800640583038,
-0.14860869944095612,
0.1722078025341034,
0.63209068775177,
-0.05175020545721054,
0.5309787392616272,
-0.3083087205886841,
0.33863216638565063,
-0.8504003882408142,
0.0999622717499733,
-0.6861630082130432,
-0.1836748570203781,
-0.379798948764801,
0.4901221990585327,
-0.04162365943193436,
0.127582386136055,
-0.07037859410047531,
-0.09540358930826187,
-0.29301717877388,
-0.04715019091963768,
-0.05068444460630417,
-0.4508305788040161,
-0.2700742781162262,
0.29084670543670654,
-0.15053601562976837,
0.6865436434745789,
0.48500296473503113,
-0.47762203216552734,
0.2642211318016052,
-0.04268621280789375,
-0.19707027077674866,
-0.010320009663701057,
-0.5665866136550903,
0.12267216295003891,
0.22316527366638184,
0.05565894395112991,
-0.8279981017112732,
-0.6020984649658203,
0.15908664464950562,
-0.3875654339790344,
0.034622397273778915,
-0.12643404304981232,
-0.4797552525997162,
-0.5900364518165588,
-0.41692623496055603,
0.5327574610710144,
1.0040392875671387,
-0.6048007607460022,
0.4356108009815216,
0.4110928177833557,
-0.11553853750228882,
-0.5702534914016724,
-0.6562716364860535,
-0.21764108538627625,
0.1325489729642868,
-0.8359522819519043,
0.2812323570251465,
-0.36863839626312256,
-0.10550317913293839,
-0.1268218457698822,
-0.39091041684150696,
-0.18334294855594635,
-0.10196363180875778,
0.5387090444564819,
-0.21729964017868042,
-0.09774161130189896,
-0.11103668808937073,
0.24842773377895355,
-0.05466419458389282,
0.13141053915023804,
-0.2409915179014206,
0.49869585037231445,
-0.2014121264219284,
-0.7130497694015503,
0.36104920506477356,
0.3439335823059082,
0.7906789779663086,
-0.6009604334831238,
0.016941776499152184,
0.3247210383415222,
-0.06192518770694733,
-0.4567229449748993,
-0.4091009199619293,
0.12759283185005188,
-0.514456570148468,
0.17635005712509155,
-0.4582122564315796,
-1.3417198657989502,
0.5216402411460876,
-0.02487986534833908,
0.3724752962589264,
0.019113948568701744,
0.6490956544876099,
0.31248053908348083,
0.9470989108085632,
0.8255230188369751,
0.2836172580718994,
0.3801612854003906,
-0.24977640807628632,
0.5586241483688354,
-0.2149284929037094,
-0.4884134531021118,
-0.4207959771156311,
-0.3957339823246002,
-0.4647650420665741,
-0.8310595154762268,
0.398225873708725,
0.1904909908771515,
-0.11198292672634125,
0.3997568190097809,
-0.8588653802871704,
0.6392869353294373,
0.5249322056770325,
-0.21017764508724213,
0.21890367567539215,
0.027677198871970177,
-0.28030872344970703,
-0.010521843098104,
-0.917439341545105,
-0.09984948486089706,
0.7800354361534119,
0.2697896957397461,
0.5953080654144287,
0.08165112882852554,
1.5425666570663452,
0.33842113614082336,
0.5482017993927002,
-0.8298802375793457,
0.5507924556732178,
-0.12954962253570557,
-0.32042115926742554,
-0.11039044708013535,
-0.6518131494522095,
-0.7120646834373474,
0.22198182344436646,
0.413664847612381,
-0.25354185700416565,
0.24742020666599274,
0.23871445655822754,
-0.5242722034454346,
0.16080723702907562,
-0.6645277738571167,
0.9181994795799255,
-0.13147799670696259,
-0.1128244400024414,
-0.22680038213729858,
-0.577079713344574,
0.6125503778457642,
-0.10644601285457611,
0.44289523363113403,
0.11555895954370499,
0.07955437153577805,
0.6538791060447693,
-0.7369993925094604,
0.4300236701965332,
-0.2780248522758484,
-0.12807881832122803,
0.4471043050289154,
0.5209319591522217,
0.0017316009616479278,
0.08400294184684753,
-0.23705267906188965,
-0.23135505616664886,
0.005116915330290794,
-0.3240247964859009,
-0.6213016510009766,
0.5695534944534302,
-0.5396986603736877,
-0.28308600187301636,
-0.4596276581287384,
-0.386581152677536,
0.09048258513212204,
0.3876532018184662,
0.4043487310409546,
0.5781421065330505,
-0.35983383655548096,
0.26618173718452454,
0.37303248047828674,
0.29660820960998535,
0.783578097820282,
0.0041529331356287,
-0.46035632491111755,
-0.8845104575157166,
0.8634195327758789,
0.06986301392316818,
0.354747474193573,
0.1303877979516983,
-0.06317588686943054,
-0.2407316416501999,
-0.657249927520752,
-0.23850399255752563,
-0.14669084548950195,
-0.4933320879936218,
-0.4793682396411896,
-0.4627525806427002,
-0.2619982063770294,
-0.09320724010467529,
-0.5048103332519531,
-0.4499892592430115,
-0.35625144839286804,
0.15660549700260162,
-0.08700661361217499,
-0.14354097843170166,
0.893333911895752,
-0.4083811044692993,
0.15815284848213196,
-0.8571816682815552,
0.32735878229141235,
0.3490092158317566,
0.26102492213249207,
-0.26336008310317993,
-0.06621623039245605,
-0.01653953827917576,
-0.13103266060352325,
-0.5020913481712341,
-0.7145764827728271,
0.3154333233833313,
0.061815135180950165,
0.395088255405426,
0.1421383172273636,
0.41674259305000305,
0.5129637122154236,
-0.19208115339279175,
0.7187706828117371,
0.534127414226532,
-1.2136609554290771,
0.24480238556861877,
0.023580098524689674,
0.31574547290802,
0.6435722708702087,
0.10572399944067001,
-0.4336097240447998,
-0.5677770972251892,
-0.7989860773086548,
-0.7226549386978149,
0.5013542771339417,
0.4844726324081421,
0.13844117522239685,
-0.0919647365808487,
0.21062873303890228,
0.07534998655319214,
0.31210091710090637,
-0.6763453483581543,
0.25196996331214905,
-0.2996853291988373,
-0.17712686955928802,
0.29289767146110535,
-0.18395410478115082,
-0.15061050653457642,
-0.17625030875205994,
0.20776359736919403,
-0.31149086356163025,
0.35371673107147217,
0.4180012345314026,
0.0950707346200943,
-0.35599657893180847,
0.4882083833217621,
0.6397957801818848,
0.7250738739967346,
0.04671026021242142,
0.41804370284080505,
-0.1217174157500267,
-0.5213642716407776,
0.4359947741031647,
0.13679222762584686,
-0.30577346682548523,
-0.38475698232650757,
0.6350634098052979,
0.33894583582878113,
0.1991073489189148,
-0.5072268843650818,
0.684730052947998,
-0.16830281913280487,
-0.5215339064598083,
0.03230108693242073,
0.7118290066719055,
0.06744889914989471,
0.10033844411373138,
0.40525150299072266,
0.5084973573684692,
0.20734713971614838,
-0.2926744520664215,
0.8438597917556763,
0.011137446388602257,
-0.4079860746860504,
-0.44907745718955994,
0.347185879945755,
0.33938783407211304,
-0.3646675646305084,
0.4919990301132202,
-0.7847241163253784,
-0.9294214248657227,
0.9820184707641602,
0.5295364260673523,
0.9176092743873596,
-0.4213237464427948,
0.31988221406936646,
0.36349114775657654,
0.344850093126297,
-0.16240981221199036,
0.7374463677406311,
-0.30073800683021545,
-0.6710097789764404,
-0.6572999358177185,
-0.8295844197273254,
-0.26295244693756104,
-0.23345795273780823,
-0.5195909142494202,
0.06049184501171112,
-0.6509551405906677,
-0.015043689869344234,
-0.24147406220436096,
0.009442765265703201,
-0.20271098613739014,
0.13271893560886383,
0.02354062907397747,
0.7769054174423218,
-0.2989260256290436,
0.8535065650939941,
0.5622718334197998,
-0.3598407804965973,
-1.0554983615875244,
0.21704265475273132,
-0.19384212791919708,
-0.43473565578460693,
0.476256400346756,
0.4320234954357147,
-0.30741086602211,
-0.00869224313646555,
-0.4120221734046936,
-0.5081319212913513,
0.9317315816879272,
0.4467526078224182,
-0.6250784993171692,
0.048670459538698196,
-0.13900667428970337,
0.5115838646888733,
-0.5009548664093018,
0.06792133301496506,
0.46450766921043396,
0.47145694494247437,
0.6473080515861511,
-0.9145582914352417,
0.14144042134284973,
-0.26399534940719604,
-0.25558555126190186,
0.6340183019638062,
-0.4362542927265167,
0.7319369912147522,
-0.8197132349014282,
-0.09727358818054199,
-0.11817441880702972,
0.6514108180999756,
0.39981791377067566,
0.32114964723587036,
0.6998513340950012,
0.18319223821163177,
0.6568511724472046,
-0.1629808098077774,
0.8153725266456604,
-0.2934562861919403,
0.4769684374332428,
0.8308775424957275,
-0.36757054924964905,
0.6773269176483154,
0.4151865839958191,
-0.09930530935525894,
0.4702208340167999,
0.39341360330581665,
0.030563795939087868,
0.41339898109436035,
0.5561493635177612,
-0.20500974357128143,
-0.3427897095680237,
0.21299362182617188,
-0.41186949610710144,
0.1743401736021042,
0.05946381390094757,
-0.06086781620979309,
-0.3421153724193573,
-0.15613599121570587,
0.12675760686397552,
0.0038390611298382282,
0.0006195080350153148,
0.6151572465896606,
-0.03701801970601082,
-1.0895957946777344,
0.681991696357727,
0.06293941289186478,
0.46292176842689514,
-0.6868062019348145,
-0.07374351471662521,
-0.4127228558063507,
0.5855902433395386,
-0.39718252420425415,
-0.8188514113426208,
0.6365340948104858,
-0.17357423901557922,
-0.02879653312265873,
-0.3442521393299103,
0.6240922808647156,
-0.40922755002975464,
-0.18239068984985352,
0.5286441445350647,
0.14255502820014954,
-0.2897741198539734,
-0.054454606026411057,
-0.5713886618614197,
0.35464197397232056,
0.3497031033039093,
-0.09711802750825882,
0.1596677601337433,
0.4773785471916199,
0.1747104674577713,
0.571517288684845,
0.6023070812225342,
-0.24618883430957794,
0.2515849471092224,
0.04350810497999191,
1.1957119703292847,
-0.38233044743537903,
-0.7518723607063293,
-0.7762622237205505,
0.5546416640281677,
-0.03102170303463936,
-0.20933885872364044,
0.35640138387680054,
0.7960689663887024,
0.7755844593048096,
-0.08738527446985245,
0.7680702209472656,
-0.7408334612846375,
-0.14724010229110718,
-0.23613594472408295,
0.6465902924537659,
-0.5695323944091797,
0.028314562514424324,
-0.19445480406284332,
-0.8768309354782104,
-0.8378778100013733,
0.41962090134620667,
-0.12930873036384583,
0.10744711756706238,
0.6516427993774414,
0.8841885924339294,
-0.32731637358665466,
0.0031927363015711308,
0.43839943408966064,
-0.19460035860538483,
0.7580744028091431,
0.660577118396759,
0.8734486103057861,
-0.17820635437965393,
0.714767336845398,
-0.3439200222492218,
-0.6931405663490295,
-0.2939055562019348,
-0.8127588033676147,
-0.6853135228157043,
-0.47679615020751953,
-0.4513656497001648,
-0.24844281375408173,
0.05074096471071243,
1.0308250188827515,
0.8585329651832581,
-0.7500268220901489,
-0.40350884199142456,
-0.4304579794406891,
0.23079010844230652,
-0.33268967270851135,
-0.13821765780448914,
0.002773408545181155,
-0.6383016705513,
-0.1989745795726776,
0.396638423204422,
0.5165031552314758,
-0.25833970308303833,
-0.1852065771818161,
-0.5724928379058838,
0.24986107647418976,
0.16275395452976227,
0.5469448566436768,
0.4312259256839752,
-0.4961632788181305,
-0.2549842298030853,
0.29230353236198425,
-0.1743660867214203,
0.10881731659173965,
1.260288953781128,
-0.3387332260608673,
0.5165634751319885,
0.8269017934799194,
0.48272278904914856,
0.413860023021698,
0.1489691585302353,
0.6491884589195251,
-0.6397958397865295,
-0.2834409773349762,
0.43972864747047424,
0.08486274629831314,
0.16481155157089233,
-0.2659785747528076,
0.6970350742340088,
0.11035629361867905,
-0.7856057286262512,
-0.7604623436927795,
0.3659931719303131,
-0.8282358646392822,
-0.037366606295108795,
0.812565267086029,
-0.2485598772764206,
-0.384317547082901,
0.05712331086397171,
-0.3365434408187866,
0.00230608182027936,
-0.44963228702545166,
0.6405923962593079,
0.44623494148254395,
-0.5817139148712158,
-0.10020969808101654,
0.127339705824852,
0.669701337814331,
0.2037207931280136,
-0.7656211256980896,
0.29757553339004517,
0.5973851680755615,
0.33783265948295593,
0.5021618008613586,
1.0809787511825562,
-0.29884275794029236,
0.40904727578163147,
-0.020176604390144348,
0.5164645910263062,
-0.32208678126335144,
-0.4696650505065918,
-0.17807354032993317,
0.8384982943534851,
0.18661850690841675,
-0.18095505237579346
] |
http://arxiv.org/abs/2405.20089v1
|
http://arxiv.org/pdf/2405.20089v1
|
The Fine-Tuning Paradox: Boosting Translation Quality Without Sacrificing LLM Abilities
| 2024-05-30T14:25:56 | 2024-05-30T14:25:56 |
David Stap, Eva Hasler, Bill Byrne, Christof Monz, Ke Tran
|
cs.CL
|
cs.CL
|
Fine-tuning large language models (LLMs) for machine translation has shown
improvements in overall translation quality. However, it is unclear what is the
impact of fine-tuning on desirable LLM behaviors that are not present in neural
machine translation models, such as steerability, inherent document-level
translation abilities, and the ability to produce less literal translations. We
perform an extensive translation evaluation on the LLaMA and Falcon family of
models with model size ranging from 7 billion up to 65 billion parameters. Our
results show that while fine-tuning improves the general translation quality of
LLMs, several abilities degrade. In particular, we observe a decline in the
ability to perform formality steering, to produce technical translations
through few-shot examples, and to perform document-level translation. On the
other hand, we observe that the model produces less literal translations after
fine-tuning on parallel data. We show that by including monolingual data as
part of the fine-tuning data we can maintain the abilities while simultaneously
enhancing overall translation quality. Our findings emphasize the need for
fine-tuning strategies that preserve the benefits of LLMs for machine
translation.
|
[
-0.4152050316333771,
-0.6899218559265137,
0.4795754849910736,
0.0905400887131691,
-0.41552913188934326,
0.09036880731582642,
-0.43886297941207886,
-0.4519527852535248,
0.09465256333351135,
0.6069903373718262,
-0.5106155872344971,
-0.23600709438323975,
-0.8388551473617554,
0.38874420523643494,
-0.48690125346183777,
1.2319613695144653,
-0.1300162672996521,
0.07991333305835724,
-0.027976786717772484,
-0.20168012380599976,
-0.7032395601272583,
-0.1591395139694214,
-0.6034091711044312,
-0.44773393869400024,
0.7336229085922241,
0.5874394774436951,
1.1519039869308472,
1.2242947816848755,
0.6701014637947083,
0.2967137098312378,
-0.3573014438152313,
0.5490446090698242,
-0.8210603594779968,
-0.014318202622234821,
-0.08837735652923584,
-0.8667694330215454,
-0.4905864894390106,
0.11019518971443176,
0.8806624412536621,
0.7854512333869934,
0.14049415290355682,
0.2652873992919922,
0.25929442048072815,
0.9764701724052429,
-0.23132075369358063,
0.04382484778761864,
-0.9305293560028076,
-0.06529581546783447,
-0.21042843163013458,
-0.4352465271949768,
0.022661535069346428,
-0.15571606159210205,
-0.18088050186634064,
-0.6559334993362427,
0.13770881295204163,
0.29412248730659485,
1.2381231784820557,
0.8628692030906677,
-0.33777132630348206,
-0.11044858396053314,
-0.736482560634613,
0.7294725179672241,
-0.9735646843910217,
0.1409808099269867,
0.4389015734195709,
0.10412627458572388,
-0.28105300664901733,
-0.27856239676475525,
-0.4534943103790283,
-0.25435951352119446,
0.047747500240802765,
0.03807265684008598,
-0.12505757808685303,
0.06415662169456482,
0.2701066732406616,
0.5423938035964966,
-0.2622416317462921,
0.5199753642082214,
-0.3656618893146515,
-0.02075445093214512,
0.5729781985282898,
0.5061884522438049,
0.17589138448238373,
-0.00440408056601882,
-0.16242660582065582,
-0.11591937392950058,
-0.8647741675376892,
0.16768918931484222,
0.4001481533050537,
0.6106524467468262,
0.04818853363394737,
0.7086907029151917,
-0.352731317281723,
0.6018394231796265,
0.15356087684631348,
-0.3217901885509491,
0.015485094860196114,
-0.6424424648284912,
-0.21924729645252228,
-0.08690748363733292,
0.7170031070709229,
0.559387743473053,
0.47095978260040283,
-0.4618828296661377,
-0.44097745418548584,
-0.08625969290733337,
0.1243952214717865,
-0.7564612627029419,
0.33035674691200256,
0.08393411338329315,
-0.49215736985206604,
-0.22677412629127502,
0.07595326751470566,
-0.28026896715164185,
-0.18412922322750092,
-0.7034265995025635,
0.32407712936401367,
-0.3226523995399475,
0.09957605600357056,
0.4674278497695923,
-0.09625653922557831,
0.09982360154390335,
0.25191783905029297,
-0.9942682385444641,
0.3022671937942505,
0.8613842129707336,
0.8120960593223572,
-0.2730608880519867,
-0.6158273220062256,
-0.6380383372306824,
-0.03367774933576584,
-0.6270304322242737,
0.46577203273773193,
-0.4689764678478241,
-0.26921647787094116,
-0.2150922566652298,
0.2095617800951004,
-0.11115111410617828,
-0.8159528970718384,
0.6635685563087463,
-0.4320189654827118,
-0.5209389925003052,
-0.5567440390586853,
-0.41086676716804504,
-0.12463214993476868,
0.05445034056901932,
-0.40252479910850525,
0.488646924495697,
-0.24527859687805176,
-0.3304075300693512,
0.37093639373779297,
-0.10874484479427338,
-0.7520977854728699,
-0.2178182154893875,
0.06914050132036209,
-0.3289163112640381,
0.5271046161651611,
0.09239229559898376,
0.6329776644706726,
-0.5816159844398499,
0.23722176253795624,
-0.3689419627189636,
-0.5640705823898315,
0.25943833589553833,
-0.4507254362106323,
0.2807755172252655,
0.3640006482601166,
-0.019282519817352295,
-0.00931871123611927,
-0.5380464196205139,
-0.20416845381259918,
-0.0027745377738028765,
-0.6397010087966919,
-0.1747841089963913,
0.10586079210042953,
-0.034781426191329956,
0.3580628037452698,
0.32733795046806335,
-0.41886624693870544,
0.2896518111228943,
-0.5286691188812256,
0.715106725692749,
0.6849361658096313,
-0.27860647439956665,
0.6382699012756348,
-0.5808509588241577,
0.5003820061683655,
0.15532048046588898,
-0.08258598297834396,
-0.125156432390213,
-0.3241443634033203,
-1.1431376934051514,
-0.035741254687309265,
0.31540727615356445,
0.5151340365409851,
-0.5651518702507019,
0.23642446100711823,
-0.5925818681716919,
-0.29181668162345886,
-0.9414384961128235,
0.4875763952732086,
0.4276973307132721,
0.34907087683677673,
0.2969420850276947,
-0.2385014146566391,
-0.11290691792964935,
-1.1556518077850342,
-0.4893691837787628,
0.20834128558635712,
0.17993666231632233,
0.19957704842090607,
0.39195817708969116,
-0.2245049774646759,
0.4256005883216858,
-0.14913207292556763,
-0.43404486775398254,
-0.03790156915783882,
0.04125251621007919,
0.3150787353515625,
0.5778069496154785,
0.34724825620651245,
-0.49590209126472473,
-0.18524207174777985,
0.34935101866722107,
-0.530661404132843,
-0.16389106214046478,
-0.3681630790233612,
-0.057859767228364944,
0.24212120473384857,
0.5665005445480347,
-0.6062800884246826,
0.1654755026102066,
0.38824573159217834,
-0.05926227942109108,
0.3916953504085541,
-0.3843890130519867,
0.1963595300912857,
-0.7900968194007874,
0.03950056806206703,
-0.14423416554927826,
-0.19564402103424072,
-0.429807186126709,
0.2645365595817566,
0.21788008511066437,
0.1322501003742218,
-0.3267953395843506,
0.3304699957370758,
-0.23139795660972595,
-0.15742430090904236,
-0.46750447154045105,
0.11149469017982483,
-0.1603579819202423,
0.3056516647338867,
-0.29950442910194397,
1.061654806137085,
0.15160530805587769,
-0.7512341141700745,
-0.14993613958358765,
0.2821253538131714,
-0.3822786509990692,
0.45055973529815674,
-0.83380526304245,
-0.046513333916664124,
-0.1449202448129654,
-0.18819038569927216,
-0.6607442498207092,
-0.2749200165271759,
0.003267384832724929,
-0.3552066385746002,
0.6408915519714355,
0.0881035104393959,
-0.9253914952278137,
-0.19134727120399475,
-0.2719913125038147,
0.06091291829943657,
0.4388694167137146,
-0.26431509852409363,
-0.011427117511630058,
0.14682039618492126,
-0.22545506060123444,
-0.34993991255760193,
-0.9558179974555969,
0.35562416911125183,
-0.1647585779428482,
-0.6859915852546692,
0.502086877822876,
0.014568991027772427,
0.0022589359432458878,
-0.05788327381014824,
-0.2503718435764313,
0.21259082853794098,
0.37198999524116516,
0.0791616141796112,
0.051144737750291824,
-0.3142319321632385,
0.08094094693660736,
0.460385262966156,
-0.34369179606437683,
-0.19936321675777435,
-0.3153676986694336,
0.32857343554496765,
-0.45924821496009827,
-0.18872489035129547,
-0.456826388835907,
0.10250604152679443,
0.8782937526702881,
-0.4534842073917389,
0.8510546088218689,
0.42519518733024597,
-0.09674220532178879,
-0.003640918992459774,
-0.48595544695854187,
-0.16945044696331024,
-0.4569934606552124,
0.5106034278869629,
-0.48396557569503784,
-1.0521975755691528,
0.5725070238113403,
-0.13484801352024078,
0.06539475172758102,
0.6277180910110474,
0.4640772044658661,
-0.2367406189441681,
1.294071912765503,
0.6607977151870728,
-0.3228954076766968,
0.3317215144634247,
-0.0892305001616478,
0.08919724076986313,
-0.8948348760604858,
0.004286161158233881,
-0.6785876750946045,
-0.7792121767997742,
-0.8255590200424194,
-0.14723055064678192,
0.33840665221214294,
0.3923972249031067,
-0.36033931374549866,
0.37873250246047974,
-0.26747843623161316,
0.6205160617828369,
0.5890772342681885,
0.038548313081264496,
0.6880391836166382,
0.09473958611488342,
-0.0349704809486866,
-0.11965849250555038,
-0.9257926940917969,
-0.7543233036994934,
0.949086606502533,
0.4208071231842041,
0.7875458598136902,
-0.1502002328634262,
0.38350197672843933,
-0.14606520533561707,
-0.11277743428945541,
-0.8334843516349792,
0.38775888085365295,
-0.6290287971496582,
-0.4031405448913574,
-0.21038022637367249,
-0.6271834969520569,
-0.8015116453170776,
0.07425639033317566,
-0.32553595304489136,
-0.3478095531463623,
-0.08269507437944412,
0.12892836332321167,
-0.334943950176239,
0.2517121732234955,
-0.4173004925251007,
0.8071791529655457,
-0.4312664568424225,
-0.4039764404296875,
-0.4827636778354645,
-0.5994709134101868,
0.40502384305000305,
-0.4136883318424225,
0.043779026716947556,
-0.20803439617156982,
-0.2964636981487274,
0.351458877325058,
-0.27412381768226624,
0.6883652210235596,
0.3542836904525757,
-0.10332503914833069,
-0.2621685266494751,
0.2624503970146179,
0.6803980469703674,
0.0486302524805069,
-0.2603150010108948,
0.3556157946586609,
0.13618400692939758,
-0.4304538071155548,
-0.5242997407913208,
0.9610610008239746,
-0.9643663167953491,
-0.7976366877555847,
0.042702026665210724,
-0.8884434700012207,
-0.19325686991214752,
0.400387167930603,
0.2660226821899414,
-0.04245820268988609,
0.056925542652606964,
0.32556039094924927,
0.4437102973461151,
-0.24094603955745697,
0.22278665006160736,
0.509036123752594,
-0.11231456696987152,
-0.24033179879188538,
1.1771962642669678,
0.46061262488365173,
0.5537847876548767,
0.21054823696613312,
0.12221269309520721,
-0.027324622496962547,
-0.9450525641441345,
-0.6385908126831055,
0.43035057187080383,
-0.47846248745918274,
-0.18306861817836761,
-0.33509817719459534,
-0.09917816519737244,
0.05700187757611275,
-0.08289536088705063,
-0.47934290766716003,
-0.5564384460449219,
-0.5829302668571472,
0.15187393128871918,
0.16754475235939026,
0.7861026525497437,
0.13280700147151947,
0.4337412416934967,
-0.8575299382209778,
0.2540320158004761,
-0.0018004898447543383,
0.29921412467956543,
-0.06883086264133453,
-0.950944185256958,
-0.45096877217292786,
0.3392745554447174,
-0.4185488224029541,
-0.30140912532806396,
0.34355998039245605,
0.34801068902015686,
0.34160950779914856,
0.4289902150630951,
-0.23025648295879364,
0.9154494404792786,
-0.7024518251419067,
0.5097271800041199,
-0.11481968313455582,
-0.872944712638855,
0.26439300179481506,
-0.5621559023857117,
0.4063642621040344,
0.6542647480964661,
0.11330930888652802,
-0.5184664130210876,
-0.5349450707435608,
-0.16778482496738434,
-0.6524679064750671,
0.7369178533554077,
0.22575685381889343,
0.360885888338089,
0.09157293289899826,
0.5973228812217712,
0.22341607511043549,
0.41099753975868225,
-0.4239818751811981,
-0.18434396386146545,
-0.07412715256214142,
0.04419993981719017,
-0.4504610300064087,
-0.06730671226978302,
0.053171057254076004,
-0.5535762906074524,
0.5381665229797363,
-0.12067008763551712,
-0.08130068331956863,
-0.024183904752135277,
0.005608027335256338,
-0.5327177047729492,
0.19537916779518127,
0.8370230197906494,
0.2380448877811432,
-0.10344921797513962,
0.020880717784166336,
0.428501158952713,
-0.06316593289375305,
-0.023669518530368805,
-0.002580455970019102,
-0.4679553806781769,
-0.3263391852378845,
0.26809272170066833,
0.9826945662498474,
0.38144567608833313,
-0.3537995219230652,
0.06656709313392639,
0.25913551449775696,
-0.21961095929145813,
0.320243775844574,
0.2490982711315155,
0.28901752829551697,
0.20904432237148285,
0.04594307765364647,
0.49669620394706726,
-0.13101829588413239,
-0.457398921251297,
-0.1092575266957283,
0.5946308374404907,
-0.25810229778289795,
-0.27699100971221924,
0.9429035186767578,
0.1396608203649521,
-0.35688477754592896,
0.4353831708431244,
-0.13828913867473602,
-0.31276002526283264,
0.6910309195518494,
0.5259045958518982,
0.6773667931556702,
0.13827700912952423,
-0.12454930692911148,
0.25136005878448486,
0.7756460309028625,
-0.40659135580062866,
-0.08324641734361649,
0.1398221254348755,
-0.5409797430038452,
-0.3763578236103058,
-0.7753520607948303,
-0.06419617682695389,
0.12163757532835007,
-0.5360013842582703,
0.23682013154029846,
-0.319672554731369,
-0.17425279319286346,
-0.0640830397605896,
-0.08753307163715363,
-0.7956799864768982,
-0.11372563242912292,
-0.02166849747300148,
0.9933643937110901,
-0.5543489456176758,
0.8934561014175415,
0.524037778377533,
-0.6143765449523926,
-0.692179799079895,
0.08646006882190704,
-0.17652910947799683,
-0.7219827771186829,
0.6956950426101685,
0.2117968052625656,
-0.2658926844596863,
0.2782025933265686,
-0.505995512008667,
-0.9138725996017456,
0.9898616671562195,
0.8442883491516113,
-0.9018282890319824,
-0.00382800679653883,
0.7116410732269287,
0.6935957670211792,
-0.12243078649044037,
-0.32721811532974243,
0.8396285772323608,
0.591877818107605,
-0.19109882414340973,
-1.275743007659912,
-0.005888357758522034,
-0.07160825282335281,
0.22020336985588074,
0.1828620880842209,
-0.8683303594589233,
0.7604568004608154,
-0.2596917152404785,
-0.28546392917633057,
0.41963115334510803,
0.37892407178878784,
-0.27516138553619385,
0.019710134714841843,
0.15835414826869965,
0.5993785858154297,
0.7489641308784485,
-0.12629161775112152,
1.2590104341506958,
-0.5253861546516418,
0.15603403747081757,
0.845966100692749,
-0.012787525542080402,
0.9669511318206787,
0.7819498181343079,
0.05002562329173088,
-0.2159898728132248,
0.6666227579116821,
0.05591787025332451,
0.4415853023529053,
0.15700016915798187,
0.16548003256320953,
-0.6001620888710022,
-0.16749149560928345,
-0.3399929106235504,
0.3695138096809387,
0.2558709681034088,
-0.41648927330970764,
-0.05766769126057625,
-0.092255137860775,
0.027052782475948334,
0.18045437335968018,
-0.4048020839691162,
0.5037600994110107,
0.4003603160381317,
-0.8767712116241455,
1.086991310119629,
0.22044697403907776,
0.7268678545951843,
-0.31806060671806335,
0.2592959702014923,
-0.4712454378604889,
0.23559631407260895,
-0.15789145231246948,
-0.7768165469169617,
0.503768265247345,
0.014435418881475925,
-0.3961341679096222,
-0.25820016860961914,
0.45957183837890625,
-0.39990344643592834,
-0.533542811870575,
0.2500884234905243,
0.6168756484985352,
0.11188434809446335,
-0.11196395754814148,
-0.6678546667098999,
0.09784628450870514,
-0.20451165735721588,
-0.06959941983222961,
0.4480728209018707,
0.4332808554172516,
0.06742142140865326,
0.8431222438812256,
0.6855903267860413,
0.27397382259368896,
-0.022157391533255577,
-0.23141781985759735,
0.8201500773429871,
-0.5892835259437561,
-0.15046505630016327,
-0.9557397365570068,
0.25274500250816345,
0.3201635777950287,
-0.5125135779380798,
0.8531771898269653,
0.4509866237640381,
0.9924300312995911,
-0.14545375108718872,
0.48103663325309753,
0.48978376388549805,
0.07718927413225174,
-0.6478347182273865,
0.9941863417625427,
-0.9802113771438599,
0.4391574561595917,
-0.25741612911224365,
-0.821954071521759,
-0.3244190812110901,
0.27545496821403503,
-0.24729907512664795,
-0.22599218785762787,
0.5472360253334045,
1.0277942419052124,
-0.25776422023773193,
-0.22880594432353973,
0.6394285559654236,
0.44081148505210876,
0.006308961659669876,
0.6688286662101746,
0.7682491540908813,
-0.6517139673233032,
0.6192459464073181,
0.0701308399438858,
0.0514831505715847,
-0.26097550988197327,
-0.7542875409126282,
-0.9433218240737915,
-0.3834928572177887,
-0.054783325642347336,
-0.08317268639802933,
0.17070448398590088,
0.7435846924781799,
0.6021056175231934,
-0.643933892250061,
-0.15633288025856018,
-0.3470284044742584,
0.21098734438419342,
-0.2252524197101593,
-0.060335997492074966,
-0.011344089172780514,
-0.67754727602005,
-0.7883918881416321,
0.5233421921730042,
0.3923373818397522,
0.15818829834461212,
-0.04948141425848007,
-0.3738323748111725,
0.15671689808368683,
0.14541472494602203,
0.513260006904602,
0.30029064416885376,
-1.0153363943099976,
-0.22252348065376282,
0.25285008549690247,
-0.297358900308609,
0.09145231544971466,
0.4100069999694824,
-0.46549567580223083,
0.38383734226226807,
0.3832680284976959,
1.063400149345398,
0.4031125605106354,
-0.2245808243751526,
0.7436982989311218,
-0.3949054181575775,
0.07876530289649963,
-0.13477909564971924,
0.2592213749885559,
0.16787375509738922,
-0.16748693585395813,
0.36825329065322876,
0.041470546275377274,
-0.6624691486358643,
-0.6567516922950745,
0.16927875578403473,
-0.8095924258232117,
-0.17230530083179474,
1.143378496170044,
0.10194483399391174,
-0.043341025710105896,
0.19098789989948273,
-0.37761586904525757,
0.3794800043106079,
-0.2784486711025238,
0.9165246486663818,
0.8068368434906006,
0.17188218235969543,
0.09380932152271271,
-0.9588402509689331,
0.45825278759002686,
0.8600537180900574,
-0.6289829611778259,
0.08572965860366821,
0.22994683682918549,
0.21305696666240692,
-0.1372099369764328,
-0.0313439778983593,
0.03001413121819496,
0.2745102047920227,
-0.31945475935935974,
-0.3896394968032837,
-0.4171939194202423,
-0.37007659673690796,
-0.6307549476623535,
-0.22992143034934998,
0.40286189317703247,
-0.020813455805182457
] |
http://arxiv.org/abs/2405.20079v1
|
http://arxiv.org/pdf/2405.20079v1
|
Student Answer Forecasting: Transformer-Driven Answer Choice Prediction for Language Learning
| 2024-05-30T14:09:43 | 2024-05-30T14:09:43 |
Elena Grazia Gado, Tommaso Martorella, Luca Zunino, Paola Mejia-Domenzain, Vinitra Swamy, Jibril Frej, Tanja Käser
|
cs.CL
|
cs.CL, cs.CY, cs.LG
|
Intelligent Tutoring Systems (ITS) enhance personalized learning by
predicting student answers to provide immediate and customized instruction.
However, recent research has primarily focused on the correctness of the answer
rather than the student's performance on specific answer choices, limiting
insights into students' thought processes and potential misconceptions. To
address this gap, we present MCQStudentBert, an answer forecasting model that
leverages the capabilities of Large Language Models (LLMs) to integrate
contextual understanding of students' answering history along with the text of
the questions and answers. By predicting the specific answer choices students
are likely to make, practitioners can easily extend the model to new answer
choices or remove answer choices for the same multiple-choice question (MCQ)
without retraining the model. In particular, we compare MLP, LSTM, BERT, and
Mistral 7B architectures to generate embeddings from students' past
interactions, which are then incorporated into a finetuned BERT's
answer-forecasting mechanism. We apply our pipeline to a dataset of language
learning MCQ, gathered from an ITS with over 10,000 students to explore the
predictive accuracy of MCQStudentBert, which incorporates student interaction
patterns, in comparison to correct answer prediction and traditional
mastery-learning feature-based approaches. This work opens the door to more
personalized content, modularization, and granular support.
|
[
-0.5749039053916931,
-0.7780756950378418,
0.4370933473110199,
-0.06262946873903275,
0.20683954656124115,
0.4027700126171112,
0.0030604989733546972,
-0.16958606243133545,
0.1341332346200943,
0.7058947682380676,
-0.7272796034812927,
-0.24557146430015564,
-0.15146365761756897,
-0.1481374055147171,
-0.21351978182792664,
1.0312892198562622,
0.2766190767288208,
0.287670373916626,
-0.7244158983230591,
0.12336308509111404,
-0.442404568195343,
-0.6267127990722656,
-0.49566519260406494,
-0.3707128167152405,
0.6896060705184937,
0.7540389895439148,
0.6780288815498352,
0.6382135152816772,
0.14371120929718018,
0.20106519758701324,
-0.017186913639307022,
-0.134403795003891,
-0.06784187257289886,
0.2351677566766739,
-0.1477150321006775,
-0.6161640882492065,
-0.3632637858390808,
-0.12639765441417694,
0.38057148456573486,
0.6147631406784058,
-0.2450888603925705,
0.4130125343799591,
0.033130258321762085,
0.40234947204589844,
-0.28563734889030457,
-0.01734508015215397,
-0.7404693365097046,
0.022861657664179802,
0.07829107344150543,
-0.03665958717465401,
-0.5962712168693542,
-0.40831443667411804,
0.4657670557498932,
-0.06461197137832642,
0.10553953051567078,
-0.10309436172246933,
0.28373125195503235,
0.33816277980804443,
-0.3564417362213135,
-0.2608951926231384,
-0.5325388312339783,
0.824030339717865,
-0.5148330330848694,
0.40839365124702454,
0.2928624749183655,
0.8233553767204285,
0.12430446594953537,
-0.6790597438812256,
-0.33964836597442627,
-0.0898803249001503,
-0.05965922400355339,
0.4677315652370453,
0.12858004868030548,
-0.08048408478498459,
-0.12929652631282806,
-0.0699511393904686,
-0.7235368490219116,
0.06553998589515686,
-0.5165309309959412,
-0.12504570186138153,
0.42108267545700073,
0.34029915928840637,
0.018312973901629448,
-0.4014412760734558,
-0.4399012625217438,
0.05169760063290596,
-0.5055027008056641,
0.6138365268707275,
0.2658563256263733,
0.3651086986064911,
0.39408016204833984,
0.4933339059352875,
-0.10532688349485397,
0.6464911699295044,
-0.08323255926370621,
-0.09866226464509964,
0.041098661720752716,
0.21038281917572021,
0.0005640157614834607,
0.20215418934822083,
0.5656154155731201,
0.021146398037672043,
0.44802743196487427,
-0.29590311646461487,
0.0875341147184372,
-0.358887255191803,
0.09796401113271713,
-0.8468157052993774,
-0.45550382137298584,
0.6269028782844543,
-0.019555937498807907,
-0.3381757140159607,
-0.02513224259018898,
-0.6528813242912292,
-0.08046834915876389,
-0.3996492922306061,
0.11688132584095001,
-0.3780035078525543,
-0.06990255415439606,
-0.03517334163188934,
0.05422184616327286,
-0.03621833026409149,
0.4622645676136017,
-0.5472584366798401,
0.24254071712493896,
0.4968930780887604,
0.572893500328064,
-0.45043277740478516,
-0.3786790072917938,
-0.7227598428726196,
0.057777877897024155,
0.1042688712477684,
0.8225001096725464,
-0.6776924729347229,
-0.3347446322441101,
0.08311215788125992,
-0.12144888937473297,
0.025710124522447586,
-0.4346889853477478,
0.4348926544189453,
-0.8165690302848816,
0.3544027507305145,
-0.13905131816864014,
-0.6001842021942139,
-0.267220675945282,
0.34079962968826294,
-0.4469212591648102,
0.9363779425621033,
0.09408293664455414,
-0.673499584197998,
-0.1314365565776825,
-0.44531702995300293,
-0.03413751721382141,
0.0509846992790699,
-0.10411760956048965,
-0.26527613401412964,
-0.21736645698547363,
0.5032313466072083,
0.7116469740867615,
-0.05022881552577019,
0.5333137512207031,
-0.30891698598861694,
-0.1474778801202774,
0.5297476053237915,
-0.37854671478271484,
0.7315338850021362,
0.19277481734752655,
0.11637544631958008,
0.1517767608165741,
-0.5492213368415833,
0.3187904953956604,
-0.01122242771089077,
-0.2727617025375366,
0.00957726314663887,
-0.032906416803598404,
-0.058543816208839417,
0.6105540990829468,
0.32906243205070496,
-0.5624792575836182,
0.24299247562885284,
-0.36880749464035034,
0.27416032552719116,
1.0477668046951294,
-0.07424138486385345,
0.43728068470954895,
-0.5019605755805969,
0.9455878734588623,
0.18549373745918274,
0.021992359310388565,
-0.41379642486572266,
-0.5350502133369446,
-0.4934062957763672,
-0.018402697518467903,
0.23590965569019318,
0.6868112683296204,
-0.763681173324585,
-0.19215920567512512,
-0.4917255938053131,
-0.5488297343254089,
-0.3436014950275421,
0.19731593132019043,
0.1559986025094986,
0.622876763343811,
0.45350274443626404,
0.26728537678718567,
-0.7186986207962036,
-0.7009764313697815,
-0.41260626912117004,
-0.2756478786468506,
0.020400935783982277,
0.4766159653663635,
0.20161323249340057,
-0.21350130438804626,
1.251899242401123,
-0.7424783706665039,
0.006996737793087959,
-0.3950175642967224,
-0.17470088601112366,
0.43372657895088196,
0.2623879313468933,
0.4031643867492676,
-0.7631849646568298,
-0.7220599055290222,
-0.19610226154327393,
-0.3805861473083496,
0.051273565739393234,
0.10934408009052277,
0.08629965037107468,
0.060845062136650085,
0.3674515187740326,
-0.05283951014280319,
-0.006502816919237375,
0.602300763130188,
-0.07656104862689972,
0.7796536087989807,
0.13974522054195404,
-0.2079259306192398,
-1.1605864763259888,
-0.19099017977714539,
-0.23882712423801422,
-0.40013664960861206,
-0.6158159971237183,
-0.25945621728897095,
0.17811091244220734,
-0.04418087378144264,
-0.6047512888908386,
0.7602023482322693,
0.15021009743213654,
-0.04804236441850662,
-0.02960117533802986,
0.30307087302207947,
-0.30242404341697693,
0.5620155334472656,
0.08775869756937027,
1.029063105583191,
0.2221561223268509,
-0.4000043272972107,
0.2359946221113205,
0.4150952100753784,
-0.14498019218444824,
0.17664481699466705,
-0.7733113765716553,
0.13864070177078247,
-0.2570077180862427,
0.17324310541152954,
-1.0747959613800049,
-0.12342727184295654,
-0.12321136891841888,
-0.8643494844436646,
-0.050420597195625305,
-0.2391618937253952,
-0.19796574115753174,
-0.4558087885379791,
-0.1791829615831375,
0.22942160069942474,
0.42765554785728455,
-0.7668921947479248,
0.7562071084976196,
0.027910038828849792,
-0.557129979133606,
-0.9134947061538696,
-0.36816221475601196,
-0.13231800496578217,
-0.03811008110642433,
-0.5439673066139221,
0.1340416967868805,
-0.5516791343688965,
-0.06342443823814392,
-0.1264985203742981,
0.12057274580001831,
-0.20571184158325195,
0.12458199262619019,
0.3036081790924072,
0.6142385601997375,
-0.18831467628479004,
0.6272442936897278,
0.22984181344509125,
-0.030514443293213844,
0.07361973077058792,
-0.2537479102611542,
0.7491743564605713,
-0.3310294449329376,
-0.059633493423461914,
0.12420693039894104,
0.10186423361301422,
0.5096922516822815,
-0.30030524730682373,
0.7105332016944885,
0.5520614981651306,
-0.0907076820731163,
-0.13250309228897095,
-0.5641053915023804,
-0.2875547409057617,
-0.4841095805168152,
0.468823105096817,
-0.3083632290363312,
-1.075254201889038,
0.6141914129257202,
0.09628951549530029,
0.32772961258888245,
0.18022160232067108,
0.5387139320373535,
-0.30230554938316345,
1.453896403312683,
0.30102404952049255,
0.03314982354640961,
0.6333429217338562,
-0.2960427403450012,
0.163485586643219,
-0.8639028668403625,
-0.37660473585128784,
-0.4423074722290039,
-0.08913606405258179,
-0.4247022569179535,
-0.18557791411876678,
0.22429534792900085,
0.09645994752645493,
-0.532646119594574,
0.2411990761756897,
-0.3398341238498688,
0.4220307767391205,
0.5900630950927734,
0.005456413142383099,
0.18338298797607422,
-0.10219697654247284,
-0.3001483678817749,
-0.11550825089216232,
-0.6576570272445679,
-0.6319652199745178,
1.331300139427185,
0.30864202976226807,
0.5435165166854858,
0.11305645853281021,
0.7035603523254395,
0.19547060132026672,
0.7864554524421692,
-0.7725309729576111,
0.4646976888179779,
0.09487345814704895,
-0.603344738483429,
-0.30482029914855957,
-0.29271578788757324,
-0.6673077940940857,
0.3518100380897522,
-0.10870712995529175,
-0.8880972266197205,
-0.37172630429267883,
0.18193747103214264,
-0.2189214676618576,
0.17054958641529083,
-0.47621428966522217,
0.5942142009735107,
-0.12878526747226715,
-0.2947147786617279,
0.17278030514717102,
-0.5466272830963135,
0.24962179362773895,
-0.005871000699698925,
0.23965267837047577,
0.09173620492219925,
0.033507127314805984,
0.6639879941940308,
-0.11460515111684799,
0.6418283581733704,
-0.00889747403562069,
0.08026561886072159,
0.42276036739349365,
0.05008699372410774,
0.34029319882392883,
0.29907917976379395,
-0.43475541472435,
-0.46979647874832153,
0.4300309717655182,
-0.5064982771873474,
-0.7261855602264404,
0.9562281370162964,
-0.9430224895477295,
-0.9235605597496033,
-0.2751171886920929,
-0.5266270041465759,
-0.4832211136817932,
-0.016527466475963593,
0.16704288125038147,
0.5601460337638855,
-0.10859211534261703,
0.08058048039674759,
0.715675413608551,
0.12519583106040955,
0.6312701106071472,
0.4531247615814209,
-0.7156224250793457,
-0.6922630071640015,
0.9299769401550293,
0.30119261145591736,
0.1982555389404297,
0.33087608218193054,
0.485477477312088,
-0.5077382922172546,
-0.38175883889198303,
-0.5053727030754089,
0.17947055399417877,
-0.9517658948898315,
-0.2991325557231903,
-0.94223952293396,
-0.28691062331199646,
-0.5422986745834351,
-0.34751948714256287,
-0.10743467509746552,
-0.5642805695533752,
-0.3609026074409485,
-0.18138203024864197,
-0.061718206852674484,
0.4987550973892212,
0.32191455364227295,
0.5196134448051453,
-0.8775966167449951,
-0.23980915546417236,
0.6870467066764832,
0.11300317943096161,
0.10934720933437347,
-0.6205915212631226,
-0.27705392241477966,
0.28371283411979675,
-0.7168409824371338,
-0.7405387759208679,
0.4435707926750183,
0.28710782527923584,
0.550285816192627,
0.39258959889411926,
0.2539650797843933,
0.3993024528026581,
-0.5367486476898193,
0.8433951735496521,
0.13970546424388885,
-0.8044264912605286,
0.7293822169303894,
-0.18832911550998688,
0.5085456371307373,
0.33919772505760193,
0.48985734581947327,
-0.640401303768158,
-0.5046012997627258,
-0.7825570106506348,
-0.4914608597755432,
0.4741685092449188,
-0.35059550404548645,
0.3207249939441681,
-0.006018506363034248,
0.3195217251777649,
0.26585653424263,
0.43877336382865906,
-0.7153418064117432,
-0.39195001125335693,
-0.3485683500766754,
-0.44327500462532043,
-0.41458234190940857,
-0.12468380481004715,
0.2314406931400299,
-0.4543569087982178,
0.7343154549598694,
-0.48396679759025574,
0.08943407237529755,
0.018995214253664017,
-0.09770839661359787,
-0.033125460147857666,
0.34571942687034607,
0.48704180121421814,
0.8107837438583374,
-0.35672566294670105,
0.06499224901199341,
0.418438583612442,
-0.445099413394928,
-0.0626949816942215,
-0.09235595166683197,
0.07317840307950974,
0.09207706898450851,
0.2347407341003418,
0.36685824394226074,
-0.12902699410915375,
-1.0878850221633911,
0.5870787501335144,
-0.13602809607982635,
-0.02473350055515766,
-0.7824923992156982,
0.2587506175041199,
0.15256015956401825,
0.2650274634361267,
0.4749843180179596,
0.1975439190864563,
0.10924345254898071,
-0.37498852610588074,
0.1320238560438156,
0.319987416267395,
-0.8844338059425354,
-0.3995514512062073,
0.48469382524490356,
-0.06613269448280334,
-0.46099957823753357,
0.4910013675689697,
0.41423794627189636,
-0.8657888770103455,
0.7474815845489502,
0.6649206876754761,
0.6798312067985535,
-0.5834799408912659,
0.5831742286682129,
0.4749690592288971,
-0.19706371426582336,
0.28851044178009033,
0.16806483268737793,
-0.04677417874336243,
-0.7749152183532715,
-0.3442343771457672,
-0.4915732443332672,
-0.5736619234085083,
-0.042829133570194244,
-0.7967506051063538,
0.1900833696126938,
-0.48014307022094727,
0.02238217554986477,
0.02134823426604271,
0.05838506296277046,
-0.7810635566711426,
0.4687546491622925,
-0.17723172903060913,
0.9514724612236023,
-0.7465007305145264,
0.9793265461921692,
1.1070574522018433,
-0.1663971245288849,
-0.6074445843696594,
-0.06691091507673264,
-0.18088506162166595,
-0.6969786286354065,
0.7980673909187317,
0.3121872842311859,
-0.015481434762477875,
0.21759304404258728,
-0.5417602062225342,
-0.7087522745132446,
1.167694091796875,
0.26150670647621155,
-0.196123406291008,
0.011141568422317505,
0.2516016364097595,
0.39117440581321716,
-0.5578746795654297,
0.568584680557251,
0.3828447163105011,
-0.046002097427845,
0.49998435378074646,
-0.3741370439529419,
-0.43415123224258423,
-0.07769320905208588,
-0.15414120256900787,
0.16136687994003296,
-0.3806533217430115,
0.7277969717979431,
-0.4005424678325653,
0.11672983318567276,
-0.003971392754465342,
0.8322514295578003,
0.07720914483070374,
0.24917706847190857,
0.28403186798095703,
0.22036701440811157,
0.6847274899482727,
-0.22580663859844208,
0.8133618831634521,
-0.26262715458869934,
0.40907740592956543,
1.2897207736968994,
0.3122265040874481,
1.3229055404663086,
0.7634344100952148,
-0.2823541760444641,
0.7303881645202637,
0.7679190039634705,
0.3429281711578369,
0.5406572222709656,
0.16210778057575226,
-0.22929397225379944,
-0.5855653285980225,
-0.0715206041932106,
-0.20590725541114807,
0.36334970593452454,
0.3338671624660492,
-0.265705943107605,
0.09354383498430252,
0.3368489444255829,
-0.1763472855091095,
0.18468405306339264,
-0.379219114780426,
0.7487490177154541,
-0.213398277759552,
-0.9235217571258545,
0.496868759393692,
-0.2814085781574249,
0.46942761540412903,
-0.2538841962814331,
0.16718555986881256,
-0.17076697945594788,
0.18824489414691925,
-0.10340922325849533,
-1.0961673259735107,
0.0658477246761322,
-0.23784363269805908,
-0.35794052481651306,
-0.2844732701778412,
0.40864333510398865,
-0.6165894865989685,
-0.47243988513946533,
0.09992612153291702,
0.7975864410400391,
-0.27596285939216614,
0.21182547509670258,
-0.6353852152824402,
-0.4846144914627075,
0.10656069964170456,
-0.19925618171691895,
0.22480037808418274,
-0.0888717845082283,
0.22163087129592896,
1.3129900693893433,
0.4510834515094757,
-0.21615047752857208,
0.12175635993480682,
-0.23600143194198608,
0.8634567856788635,
-0.27904942631721497,
-0.5591327548027039,
-0.5247690081596375,
0.7309985756874084,
0.02802926115691662,
-0.32315340638160706,
0.6433552503585815,
0.445894718170166,
0.8837434649467468,
-0.12391338497400284,
0.9534792304039001,
0.48331016302108765,
0.8906610012054443,
-0.20856380462646484,
0.09797514230012894,
-0.4774363040924072,
0.5420570969581604,
-0.33553799986839294,
-0.9122552871704102,
-0.051228106021881104,
0.18662548065185547,
-0.6283621191978455,
-0.019738459959626198,
0.4001085162162781,
0.412727952003479,
0.06865637004375458,
0.3351043462753296,
0.41484230756759644,
-0.15707062184810638,
0.5243525505065918,
0.2965126037597656,
1.009143352508545,
-0.24096094071865082,
0.7720901966094971,
-0.5605912804603577,
-0.06829173117876053,
-0.3748076558113098,
-0.48408928513526917,
-1.1659961938858032,
-0.772200882434845,
-0.18073245882987976,
-0.23436959087848663,
0.01319695170968771,
1.1036077737808228,
0.3097146451473236,
-0.9556366205215454,
-0.2738787531852722,
-0.06976746022701263,
0.31631049513816833,
-0.03823837637901306,
-0.2623206377029419,
0.44841456413269043,
-0.4817139804363251,
-0.7269840836524963,
-0.14871491491794586,
-0.03259184956550598,
0.25670763850212097,
-0.3507533669471741,
-0.13034871220588684,
0.042488839477300644,
0.24207976460456848,
0.49341344833374023,
0.12735433876514435,
-0.9184635877609253,
-0.3572184145450592,
0.5866122841835022,
-0.019662829115986824,
0.07731474936008453,
0.509640097618103,
-1.0698440074920654,
0.4660571813583374,
0.3399234116077423,
0.7708797454833984,
0.32500264048576355,
0.12877655029296875,
0.5590305328369141,
-0.6951470971107483,
-0.20690800249576569,
0.5327867865562439,
0.2542596757411957,
0.12177743017673492,
-0.40349969267845154,
0.18229511380195618,
-0.26460400223731995,
-0.6552069187164307,
-0.5820852518081665,
0.2881232798099518,
-0.6622540950775146,
-0.3743829131126404,
0.7553035020828247,
-0.29163795709609985,
-0.042792581021785736,
-0.17022185027599335,
-0.5140095353126526,
-0.04232038930058479,
-0.348585844039917,
0.7045061588287354,
0.6593157649040222,
-0.26077157258987427,
-0.6330280900001526,
-0.7415964007377625,
0.3598417341709137,
0.44485926628112793,
-0.6538480520248413,
-0.07563863694667816,
0.1675020009279251,
0.18092665076255798,
0.18443839251995087,
0.07463403791189194,
0.3665226995944977,
0.37504494190216064,
-0.6101974248886108,
-0.347512423992157,
-0.2924272418022156,
-0.49237480759620667,
-0.05616830661892891,
0.2689204216003418,
0.12446005642414093,
-0.01039785798639059
] |
http://arxiv.org/abs/2405.20053v1
|
http://arxiv.org/pdf/2405.20053v1
|
Would I Lie To You? Inference Time Alignment of Language Models using Direct Preference Heads
| 2024-05-30T13:38:52 | 2024-05-30T13:38:52 |
Avelina Asada Hadji-Kyriacou, Ognjen Arandjelovic
|
cs.CL
|
cs.CL, cs.AI, cs.LG
|
Pre-trained Language Models (LMs) exhibit strong zero-shot and in-context
learning capabilities; however, their behaviors are often difficult to control.
By utilizing Reinforcement Learning from Human Feedback (RLHF), it is possible
to fine-tune unsupervised LMs to follow instructions and produce outputs that
reflect human preferences. Despite its benefits, RLHF has been shown to
potentially harm a language model's reasoning capabilities and introduce
artifacts such as hallucinations where the model may fabricate facts. To
address this issue we introduce Direct Preference Heads (DPH), a fine-tuning
framework that enables LMs to learn human preference signals through an
auxiliary reward head without directly affecting the output distribution of the
language modeling head. We perform a theoretical analysis of our objective
function and find strong ties to Conservative Direct Preference Optimization
(cDPO). Finally we evaluate our models on GLUE, RACE, and the GPT4All
evaluation suite and demonstrate that our method produces models which achieve
higher scores than those fine-tuned with Supervised Fine-Tuning (SFT) or Direct
Preference Optimization (DPO) alone.
|
[
-0.11800403892993927,
-0.6337965130805969,
0.8347314596176147,
0.0026537387166172266,
-0.1513146311044693,
-0.01187718752771616,
-0.32397550344467163,
-0.3996554911136627,
-0.17365697026252747,
0.6752260327339172,
-0.9958329200744629,
-0.4021807909011841,
-0.40293094515800476,
0.020095519721508026,
0.04163224250078201,
0.8499694466590881,
0.15794876217842102,
0.07170054316520691,
-0.13134315609931946,
0.12026872485876083,
-0.5016695857048035,
-0.4144534170627594,
-0.2990161180496216,
-0.5639706254005432,
0.6215929388999939,
0.6042175889015198,
0.8707110285758972,
0.9933333396911621,
0.341537743806839,
0.2530326247215271,
0.18094086647033691,
-0.035482749342918396,
-0.54342120885849,
0.16300922632217407,
-0.5724714398384094,
-0.3466521203517914,
-0.41149699687957764,
0.299447625875473,
0.22028273344039917,
0.8553657531738281,
-0.16813169419765472,
0.19254671037197113,
-0.11881987750530243,
0.7767766714096069,
-0.7004520297050476,
0.12414766103029251,
-0.6212253570556641,
0.18455207347869873,
-0.1252608299255371,
-0.36942577362060547,
-0.6619136929512024,
-0.5751132369041443,
0.4222646951675415,
-0.3809502124786377,
0.07702763378620148,
0.03777041658759117,
0.9046093225479126,
0.7463266849517822,
-0.4077886939048767,
-0.14708450436592102,
-0.9852041602134705,
0.8963000178337097,
-0.8663577437400818,
0.3020131289958954,
0.4760841727256775,
0.3833894431591034,
-0.22619925439357758,
-0.447810560464859,
-0.5946360230445862,
-0.4924294948577881,
-0.20418322086334229,
-0.025770945474505424,
0.11444922536611557,
0.33126527070999146,
0.3519246578216553,
0.2276299148797989,
-0.5976245999336243,
0.4523486793041229,
0.05757330358028412,
-0.23569326102733612,
0.682964563369751,
0.16248202323913574,
-0.009892133995890617,
0.15776705741882324,
-0.27794432640075684,
-0.302842915058136,
-0.5406198501586914,
0.14321912825107574,
0.8795809149742126,
0.47962939739227295,
0.08624561876058578,
0.7208208441734314,
-0.29730287194252014,
0.8870511651039124,
0.7050485014915466,
-0.3722178339958191,
-0.005845930892974138,
0.21605467796325684,
-0.20527410507202148,
0.24843834340572357,
0.7419871687889099,
0.4765768349170685,
0.3936375379562378,
-0.3086661100387573,
-0.01312356349080801,
0.47406265139579773,
0.15551230311393738,
-0.8649307489395142,
-0.02896011993288994,
0.4041033387184143,
-0.31618887186050415,
-0.4290136396884918,
-0.12193279713392258,
-0.5208138823509216,
-0.31160369515419006,
-0.6070423722267151,
0.2693515717983246,
-0.3241167366504669,
-0.26128390431404114,
0.4420233964920044,
0.19134847819805145,
0.206841841340065,
0.11138959974050522,
-1.0010576248168945,
0.23921272158622742,
0.8137650489807129,
0.4540311396121979,
-0.4245920777320862,
-0.4104708731174469,
-0.6822973489761353,
0.0021089280489832163,
-0.49264347553253174,
0.4258946180343628,
-0.620413601398468,
-0.30208685994148254,
-0.01676907390356064,
0.004867590498179197,
0.05516739562153816,
-0.5033442378044128,
0.7200669050216675,
-0.5844382047653198,
0.4354850649833679,
-0.3321323096752167,
-0.6065868139266968,
-0.05042577534914017,
-0.08815470337867737,
-0.3632350265979767,
0.4879415035247803,
0.095579594373703,
-0.699561595916748,
0.15051063895225525,
-0.24642814695835114,
-0.40344029664993286,
-0.10425592958927155,
-0.40753865242004395,
-0.42201775312423706,
-0.11323221027851105,
0.12344718724489212,
0.5379100441932678,
-0.09753122925758362,
0.6337778568267822,
-0.6543598175048828,
-0.4277484714984894,
0.45639321208000183,
-0.4016328752040863,
0.7902860045433044,
0.2728430926799774,
-0.7227278351783752,
0.20793652534484863,
-0.4869140684604645,
-0.09047591686248779,
0.18082252144813538,
-0.08270794153213501,
-0.3770293593406677,
0.15280912816524506,
-0.33137261867523193,
0.24328398704528809,
0.25493836402893066,
-0.6301541924476624,
0.36302390694618225,
-0.506645679473877,
0.22822031378746033,
1.2029662132263184,
-0.1813877522945404,
0.6737276315689087,
-0.19959606230258942,
0.5640531182289124,
0.10998087376356125,
-0.11536816507577896,
0.2481454759836197,
-0.07015348970890045,
-0.5002427697181702,
-0.00010611750622047111,
0.3725273013114929,
0.46963316202163696,
-0.49243301153182983,
0.5422963500022888,
-0.322257936000824,
-0.0889030173420906,
-0.6021716594696045,
-0.18919791281223297,
0.6161568760871887,
0.9731661677360535,
0.08229829370975494,
-0.040951214730739594,
-0.3781110644340515,
-1.3392387628555298,
-0.3751622438430786,
-0.21252323687076569,
-0.025237489491701126,
0.3965685963630676,
0.31450533866882324,
-0.1525886356830597,
1.2380121946334839,
-0.7164182662963867,
-0.09957312047481537,
0.14208021759986877,
-0.03925296291708946,
0.12069923430681229,
0.32882803678512573,
0.5514073967933655,
-0.6838786602020264,
-0.5333067774772644,
-0.057685889303684235,
-0.525772750377655,
-0.24468448758125305,
0.00812382809817791,
-0.20445667207241058,
0.1987207978963852,
0.17086005210876465,
-0.428292453289032,
0.20068375766277313,
0.6637179851531982,
-0.5980916619300842,
0.6582830548286438,
-0.031458206474781036,
0.15394620597362518,
-0.6230754256248474,
-0.1088814064860344,
0.012691812589764595,
-0.3762015104293823,
-0.3958289623260498,
-0.26123011112213135,
-0.011441007256507874,
-0.16394847631454468,
-0.30123451352119446,
0.6428539752960205,
-0.2339174747467041,
-0.12874232232570648,
-0.17634956538677216,
0.019540734589099884,
-0.1440553516149521,
0.7539133429527283,
0.39171814918518066,
0.798485517501831,
0.3695264160633087,
-0.8223339319229126,
0.07493261992931366,
0.28583160042762756,
-0.20369650423526764,
0.5871462225914001,
-0.618675947189331,
0.55550616979599,
-0.10570783168077469,
0.22650490701198578,
-0.688507616519928,
-0.27664992213249207,
0.5021564960479736,
-0.506708025932312,
0.32984042167663574,
-0.12938621640205383,
0.009448295459151268,
-0.20889028906822205,
-0.07772168517112732,
0.1585824191570282,
0.46621108055114746,
-0.6902176141738892,
0.2253323197364807,
0.4115690290927887,
0.08257012814283371,
-1.0726749897003174,
-0.5094372034072876,
-0.2929218113422394,
-0.3261062204837799,
-0.4311659634113312,
0.6310542225837708,
-0.15978795289993286,
-0.5357378125190735,
0.011813533492386341,
-0.23033979535102844,
0.05369130149483681,
-0.04624805971980095,
0.38434475660324097,
0.2044089138507843,
-0.0771128386259079,
-0.08619888126850128,
0.08513391017913818,
-0.2951236665248871,
-0.09653563052415848,
-0.34879252314567566,
0.39783811569213867,
-0.22448351979255676,
-0.4337296187877655,
-0.5222081542015076,
0.13086484372615814,
0.5295343399047852,
-0.15894488990306854,
0.4536452889442444,
0.2670949399471283,
-0.16207601130008698,
-0.28487223386764526,
-0.41743502020835876,
-0.46076658368110657,
-0.4625985324382782,
0.1907375305891037,
-0.3596338927745819,
-0.9540644288063049,
0.04064754396677017,
0.10921838134527206,
0.16170555353164673,
0.1053474098443985,
0.6349892616271973,
-0.16191048920154572,
1.2651607990264893,
0.6776593327522278,
-0.18850211799144745,
0.37057286500930786,
0.1559906005859375,
0.10038798302412033,
-0.43960434198379517,
0.18652890622615814,
-0.35089048743247986,
-0.5293610095977783,
-0.6908220052719116,
-0.2700112462043762,
0.13651354610919952,
-0.0030667821411043406,
-0.4686753749847412,
0.13944755494594574,
-0.5219070315361023,
0.41787564754486084,
0.5065702199935913,
0.412222295999527,
0.28606274724006653,
-0.17781078815460205,
0.008952178992331028,
-0.2133973091840744,
-0.4423302114009857,
-0.565887451171875,
0.862665593624115,
0.5750855803489685,
0.8909998536109924,
-0.04155484959483147,
0.5378860235214233,
0.32554808259010315,
-0.050082843750715256,
-0.8112011551856995,
0.4793447256088257,
-0.05543202906847,
-0.5980545282363892,
-0.45049476623535156,
-0.40723714232444763,
-0.7512534260749817,
0.08472398668527603,
0.1592070460319519,
-0.7171023488044739,
0.21722818911075592,
0.4202885627746582,
-0.5581017732620239,
0.1305127888917923,
-0.5860579013824463,
0.875836968421936,
-0.507417619228363,
-0.4663912057876587,
-0.29018640518188477,
-0.8805361390113831,
0.538872480392456,
0.3955242335796356,
-0.04655715823173523,
-0.47787025570869446,
0.09706024080514908,
0.6006271243095398,
-0.20973898470401764,
0.957740843296051,
-0.1892102062702179,
-0.1526363492012024,
0.10127898305654526,
0.36430859565734863,
0.5417810082435608,
0.1126750260591507,
-0.10132580250501633,
0.1402256041765213,
-0.007017919328063726,
-0.22889617085456848,
-0.5575604438781738,
0.7815751433372498,
-0.7896414399147034,
-0.7644827961921692,
-0.5312345027923584,
-0.5650079250335693,
-0.40696367621421814,
0.12019021809101105,
0.200567826628685,
0.14213670790195465,
-0.23278048634529114,
-0.17605213820934296,
0.7344738841056824,
-0.2058771252632141,
0.47120341658592224,
0.68516606092453,
-0.2531820833683014,
-0.08009438961744308,
0.7682162523269653,
-0.27714577317237854,
0.2835436463356018,
0.5376079082489014,
0.5057992339134216,
-0.4456811547279358,
-0.24623283743858337,
-0.45273882150650024,
0.4270308017730713,
-0.5875511169433594,
-0.02665352076292038,
-0.3850177228450775,
0.09549116343259811,
-0.47925233840942383,
0.02352794073522091,
-0.6696059107780457,
-0.3785496950149536,
-0.2144411951303482,
-0.05910908058285713,
0.3096769452095032,
0.5499748587608337,
0.017300985753536224,
0.35689181089401245,
-0.5085590481758118,
0.3665758967399597,
0.3865017294883728,
0.560789167881012,
-0.41139650344848633,
-0.5458720326423645,
0.04336323216557503,
0.2511157691478729,
-0.2188902199268341,
-0.96970134973526,
0.30226150155067444,
-0.05726451799273491,
0.32772669196128845,
0.42499759793281555,
0.3107602596282959,
0.6392861604690552,
-0.6304820775985718,
0.47756293416023254,
0.021761301904916763,
-0.9598865509033203,
0.43099498748779297,
-0.5282573699951172,
0.10794054716825485,
0.4626360535621643,
0.44970932602882385,
-0.4838219881057739,
0.11907012015581131,
-0.5702941417694092,
-0.22922615706920624,
0.7359258532524109,
-0.13317090272903442,
-0.10924702137708664,
0.09710247069597244,
0.6283825039863586,
0.34890782833099365,
0.2832563817501068,
-0.6867552399635315,
-0.43164706230163574,
0.03793634846806526,
-0.10849809646606445,
-0.15050199627876282,
-0.2311193346977234,
-0.18627682328224182,
-0.07302726805210114,
0.7897509336471558,
-0.47245675325393677,
0.10847742110490799,
0.036203425377607346,
-0.09358768910169601,
-0.48874279856681824,
0.22548997402191162,
0.7232790589332581,
0.8783293962478638,
-0.33958911895751953,
-0.11860601603984833,
-0.15655407309532166,
-0.1415679156780243,
0.23729537427425385,
-0.09254132956266403,
-0.18793131411075592,
-0.029847055673599243,
0.12323302030563354,
0.9560829401016235,
0.07068005949258804,
-0.5378454327583313,
0.5838064551353455,
-0.19912907481193542,
-0.05800415948033333,
-0.18766434490680695,
-0.05949937924742699,
0.11405426263809204,
0.25545915961265564,
-0.0696021243929863,
-0.11568433791399002,
-0.07648788392543793,
-0.5059106945991516,
0.34146520495414734,
0.6501487493515015,
-0.680199384689331,
-0.37123313546180725,
0.5788064002990723,
0.20105162262916565,
-0.410054475069046,
0.48934271931648254,
-0.03377338498830795,
-0.5148111581802368,
0.28847262263298035,
0.40642789006233215,
1.0057530403137207,
-0.47547563910484314,
0.36528459191322327,
0.22581747174263,
0.040466953068971634,
-0.026618564501404762,
-0.16622836887836456,
-0.09705030918121338,
-0.8247793316841125,
-0.6263120174407959,
-0.6915457248687744,
-0.6218623518943787,
0.2731130123138428,
-0.7952726483345032,
0.39943408966064453,
-0.3392271399497986,
-0.08250891417264938,
-0.11472360789775848,
-0.12774279713630676,
-0.5037152171134949,
0.21022546291351318,
0.32927367091178894,
0.5047858357429504,
-0.8174018263816833,
0.9478216767311096,
0.2796921730041504,
-0.20801635086536407,
-0.6860370635986328,
0.245955228805542,
0.025772906839847565,
-0.8019480109214783,
0.740264892578125,
-0.01398634072393179,
-0.4279841184616089,
0.06186133623123169,
-0.5904538035392761,
-0.7369685173034668,
0.828960120677948,
0.7366183400154114,
-1.020529866218567,
-0.4022073745727539,
0.07309092581272125,
0.3741697669029236,
-0.4669420123100281,
0.16815848648548126,
1.0229467153549194,
0.26767784357070923,
-0.0015671257860958576,
-0.9616501927375793,
0.0104315634816885,
0.4415007531642914,
0.0375044085085392,
0.017264636233448982,
-0.5812098979949951,
0.6653051972389221,
-0.3777956962585449,
-0.3159019351005554,
-0.16677096486091614,
0.7839000821113586,
0.1414346992969513,
-0.05372171476483345,
0.7533589005470276,
0.5548826456069946,
0.6512723565101624,
-0.083521768450737,
0.9915808439254761,
-0.25531601905822754,
0.3627209961414337,
1.4022856950759888,
-0.4036688506603241,
0.6272051930427551,
0.6415127515792847,
-0.18637920916080475,
0.49151432514190674,
0.8915494084358215,
0.530849814414978,
0.7525107860565186,
0.153739795088768,
-0.012748966924846172,
-0.32999593019485474,
0.0029618784319609404,
-0.2932406961917877,
0.4844232201576233,
0.21992190182209015,
-0.09287754446268082,
-0.22362133860588074,
-0.0758475586771965,
-0.14978449046611786,
0.41157928109169006,
-0.027337942272424698,
0.696177065372467,
0.12626725435256958,
-1.0131763219833374,
0.5739226937294006,
-0.12828437983989716,
0.6084110140800476,
-0.5478701591491699,
-0.10366787761449814,
-0.09271257370710373,
0.5891750454902649,
-0.1369771957397461,
-0.759188711643219,
0.233500137925148,
-0.2274763137102127,
-0.22766026854515076,
-0.3703688383102417,
0.48918914794921875,
-0.6172161102294922,
-0.06514318287372589,
0.4156323969364166,
0.33932122588157654,
-0.13937251269817352,
-0.06912676244974136,
-0.7943721413612366,
0.045981425791978836,
0.2390170842409134,
-0.3944271504878998,
0.5135070085525513,
0.06966323405504227,
0.0046289293095469475,
0.6797110438346863,
0.5708127617835999,
0.02477562613785267,
-0.18735766410827637,
0.11039840430021286,
0.5184518098831177,
-0.5998778939247131,
-0.3377131521701813,
-1.0926234722137451,
0.3473378121852875,
0.20880621671676636,
-0.3535492420196533,
0.6138103604316711,
0.2968045771121979,
1.0773245096206665,
-0.24292168021202087,
0.7897726893424988,
0.07405243813991547,
0.8322432637214661,
-0.5188456773757935,
0.44079092144966125,
-0.36030834913253784,
0.2857988476753235,
-0.2693808674812317,
-0.9148740768432617,
0.04517574608325958,
0.6148315072059631,
-0.5189269781112671,
-0.14900706708431244,
0.6181408762931824,
0.7601898312568665,
0.05801773816347122,
-0.18126586079597473,
0.4309253692626953,
0.21788595616817474,
0.33864107728004456,
0.4439832866191864,
0.8322834372520447,
-0.0556890033185482,
0.29034003615379333,
-0.8496811389923096,
-0.35533761978149414,
-0.2410983145236969,
-1.1450631618499756,
-0.8909978866577148,
-0.5234212875366211,
-0.421244353055954,
-0.5538687109947205,
0.03241583704948425,
1.120510220527649,
0.6846421360969543,
-0.8846150040626526,
-0.3976295590400696,
0.02138812467455864,
0.2678070664405823,
-0.34689947962760925,
-0.24921990931034088,
0.23457175493240356,
-0.26541584730148315,
-0.9924085736274719,
0.45097899436950684,
0.20032085478305817,
0.003364779055118561,
-0.34568262100219727,
-0.29445716738700867,
-0.07161259651184082,
-0.17177468538284302,
0.33694741129875183,
0.3686499297618866,
-1.0405266284942627,
-0.6034119129180908,
0.2462344467639923,
-0.2762523889541626,
0.13314826786518097,
0.8485655784606934,
-0.720478892326355,
0.3985341191291809,
0.27128636837005615,
0.7293713092803955,
0.4856794476509094,
0.23006953299045563,
1.023094892501831,
-0.6419914960861206,
0.1820807009935379,
0.5745760798454285,
0.1744404435157776,
0.2821785509586334,
-0.6497899889945984,
0.38682419061660767,
0.06967765837907791,
-0.7693483829498291,
-0.9089396595954895,
0.5391501188278198,
-0.870806097984314,
-0.4354977607727051,
1.157823920249939,
-0.03456176817417145,
-0.3347865641117096,
0.15358388423919678,
-0.15549561381340027,
0.3370676338672638,
-0.37756332755088806,
0.7945281863212585,
0.5411081910133362,
-0.42904189229011536,
0.07723815739154816,
-0.43850821256637573,
0.8163115382194519,
0.5641161799430847,
-0.42159172892570496,
0.31397944688796997,
0.5322293043136597,
0.4764014482498169,
0.04188147932291031,
0.5843881964683533,
0.10096219182014465,
0.1556701511144638,
-0.2603576183319092,
-0.01760404370725155,
-0.043774738907814026,
-0.364098459482193,
-0.5628045797348022,
-0.2314305454492569,
0.24903498589992523,
-0.3394295573234558
] |
http://arxiv.org/abs/2405.20787v1
|
http://arxiv.org/pdf/2405.20787v1
|
PGA-SciRE: Harnessing LLM on Data Augmentation for Enhancing Scientific Relation Extraction
| 2024-05-30T13:07:54 | 2024-05-30T13:07:54 |
Yang Zhou, Shimin Shan, Hongkui Wei, Zhehuan Zhao, Wenshuo Feng
|
cs.CL
|
cs.CL
|
Relation Extraction (RE) aims at recognizing the relation between pairs of
entities mentioned in a text. Advances in LLMs have had a tremendous impact on
NLP. In this work, we propose a textual data augmentation framework called PGA
for improving the performance of models for RE in the scientific domain. The
framework introduces two ways of data augmentation, utilizing a LLM to obtain
pseudo-samples with the same sentence meaning but with different
representations and forms by paraphrasing the original training set samples. As
well as instructing LLM to generate sentences that implicitly contain
information about the corresponding labels based on the relation and entity of
the original training set samples. These two kinds of pseudo-samples
participate in the training of the RE model together with the original dataset,
respectively. The PGA framework in the experiment improves the F1 scores of the
three mainstream models for RE within the scientific domain. Also, using a LLM
to obtain samples can effectively reduce the cost of manually labeling data.
|
[
-0.1099332943558693,
-0.643368124961853,
0.5894801616668701,
0.20294006168842316,
-0.43549492955207825,
0.02214113064110279,
-0.014889094978570938,
-0.7957361936569214,
0.3119787275791168,
0.5798426866531372,
-0.5076209902763367,
-0.4702390730381012,
-0.46656736731529236,
0.5830607414245605,
-0.22646769881248474,
1.097070336341858,
0.2152806520462036,
0.32632288336753845,
-0.7686141133308411,
0.14195287227630615,
0.18302297592163086,
-0.5083625316619873,
-0.48814699053764343,
-0.3947735130786896,
0.5034223794937134,
0.10791724920272827,
0.5077064037322998,
0.8267093300819397,
0.8473168015480042,
0.2572171688079834,
-0.07079815864562988,
0.5556785464286804,
-0.49564313888549805,
0.1287674903869629,
-0.3619922399520874,
-0.6243566274642944,
-0.6756172180175781,
0.17659799754619598,
0.6041586995124817,
0.8359525799751282,
0.18102556467056274,
0.04371485114097595,
-0.019994819536805153,
0.3025165796279907,
-0.3070089519023895,
0.6199050545692444,
-0.6311899423599243,
-0.026412609964609146,
-0.05783567950129509,
-0.5919417142868042,
-0.33752021193504333,
-0.32633695006370544,
0.33865252137184143,
-0.9191941022872925,
0.4846535921096802,
0.29989150166511536,
0.9557153582572937,
0.04297405853867531,
-0.20657721161842346,
-0.08074664324522018,
-0.6656222343444824,
0.7864663004875183,
-0.7478131055831909,
0.4732189476490021,
0.2781759798526764,
-0.09305677562952042,
-0.28029146790504456,
-1.0152214765548706,
-0.5580006241798401,
-0.27998262643814087,
-0.4243887960910797,
0.12461552023887634,
0.02280927635729313,
0.000041809555114014074,
0.4010227918624878,
0.5161763429641724,
-0.4187563359737396,
-0.11636412888765335,
-0.6086335182189941,
0.0017786382231861353,
0.7387655377388,
0.05656559392809868,
0.1866699606180191,
-0.4129445552825928,
-0.30348119139671326,
0.05547485128045082,
-0.9637333750724792,
-0.33809545636177063,
0.10077465325593948,
0.2992824912071228,
0.4628716707229614,
0.8877272605895996,
-0.0153009919449687,
0.7949010729789734,
-0.1152951568365097,
-0.23438352346420288,
0.23448823392391205,
-0.6226832866668701,
-0.3815784752368927,
-0.05859352648258209,
0.9077883958816528,
0.26607397198677063,
0.11253852397203445,
-0.38124150037765503,
0.057802341878414154,
0.014477422460913658,
0.01863453909754753,
-0.8923743963241577,
-0.5523128509521484,
-0.21881277859210968,
-0.2898986041545868,
-0.44029077887535095,
0.2850951850414276,
-0.9724358320236206,
-0.03601512685418129,
-0.3480498790740967,
0.05124831572175026,
-0.4903232753276825,
-0.12388534098863602,
0.10100287944078445,
-0.1383354663848877,
0.16053760051727295,
0.29728177189826965,
-0.7836638689041138,
0.3487875759601593,
0.873498797416687,
0.9560002684593201,
-0.16678360104560852,
-0.01634974218904972,
-0.5021493434906006,
0.4468904733657837,
-0.0016391471726819873,
0.873193085193634,
-0.8507598042488098,
-0.8393884897232056,
-0.4057732820510864,
0.1382463276386261,
-0.0023078874219208956,
-0.40579789876937866,
0.6764334440231323,
-0.6939700841903687,
0.5962876081466675,
-0.11109459400177002,
-0.7013808488845825,
-0.19041766226291656,
-0.08500818908214569,
-0.7785984873771667,
1.2092151641845703,
0.20521694421768188,
-0.7965922355651855,
0.44415509700775146,
-0.4725421667098999,
-0.33112460374832153,
0.22742080688476562,
-0.2274377942085266,
-0.5259042382240295,
0.0014732920099049807,
0.48990997672080994,
0.36880409717559814,
-0.49171313643455505,
0.28697097301483154,
-0.6192564964294434,
-0.09985500574111938,
0.16703617572784424,
-0.06016916781663895,
0.6268728971481323,
-0.047682568430900574,
0.24802133440971375,
-0.013952250592410564,
-0.9999821782112122,
-0.059813905507326126,
-0.07457245886325836,
-0.17464718222618103,
-0.6828605532646179,
-0.014136431738734245,
-0.1337207704782486,
0.3356328010559082,
0.04365693777799606,
-0.7055268287658691,
0.4260321259498596,
-0.7834053635597229,
0.4676952362060547,
0.4092753231525421,
0.4298880696296692,
0.6293867230415344,
-0.2100900560617447,
0.5823312401771545,
-0.31984513998031616,
-0.3124276399612427,
-0.21559837460517883,
-0.48656874895095825,
-0.37981346249580383,
-0.5414549112319946,
0.6053869724273682,
0.49303385615348816,
-0.7740225195884705,
0.6063539385795593,
-0.567572832107544,
-0.4390045404434204,
-0.5800045132637024,
0.18954578042030334,
0.22128444910049438,
1.0487751960754395,
0.574701726436615,
-0.1614500880241394,
-0.7799123525619507,
-0.6828747391700745,
-0.11079587042331696,
-0.23634231090545654,
-0.40092334151268005,
0.3073529601097107,
0.5193918347358704,
-0.002712925896048546,
1.2750202417373657,
-0.8323771357536316,
-0.30348116159439087,
-0.07773372530937195,
0.12917138636112213,
0.1563752144575119,
0.4302091896533966,
0.47223299741744995,
-0.7827484607696533,
-0.12674939632415771,
-0.08979400247335434,
-1.0396522283554077,
-0.3122605085372925,
-0.04800427705049515,
-0.10925690084695816,
-0.17357397079467773,
0.3355904221534729,
-0.7331486940383911,
0.3760910630226135,
0.05962657555937767,
0.15081146359443665,
0.5634227991104126,
-0.02821402996778488,
0.1319171041250229,
-0.9667142033576965,
0.1205461174249649,
0.30711829662323,
-0.3595760464668274,
-0.5171813368797302,
-0.05759137496352196,
-0.021250220015645027,
-0.052065011113882065,
-0.4038005471229553,
0.32060155272483826,
-0.5047934651374817,
-0.11289994418621063,
-0.3985980749130249,
0.3691262900829315,
0.5035224556922913,
0.14962242543697357,
0.4733598828315735,
0.8249982595443726,
0.46000751852989197,
-0.6505736708641052,
0.44385960698127747,
0.45254772901535034,
-0.15103976428508759,
0.447177916765213,
-0.8151825070381165,
0.10625110566616058,
-0.16231274604797363,
0.5115534067153931,
-0.7424812316894531,
-0.09099337458610535,
0.33571645617485046,
-0.39540615677833557,
0.32972848415374756,
0.013084289617836475,
-0.5091735124588013,
-0.2165319174528122,
-0.3566065728664398,
0.1288222372531891,
0.2042912095785141,
-0.5098208785057068,
0.6450002789497375,
0.3173046410083771,
-0.3702150583267212,
-0.3566662073135376,
-0.659637987613678,
0.000831832701805979,
-0.4870584011077881,
-0.8346974849700928,
0.8601386547088623,
0.34788018465042114,
-0.20253871381282806,
0.31041964888572693,
-0.20949317514896393,
-0.04903135821223259,
-0.18222734332084656,
0.16149838268756866,
0.5323051810264587,
-0.17025408148765564,
0.29336050152778625,
0.15675970911979675,
-0.1832454353570938,
0.4401630461215973,
-0.24466070532798767,
0.20279112458229065,
0.2997705042362213,
0.10416499525308609,
-0.29026365280151367,
0.1446293741464615,
0.056598544120788574,
-0.17275160551071167,
0.6780626773834229,
0.37020957469940186,
-0.33284541964530945,
-0.06624738872051239,
-0.04465177282691002,
-0.5756627917289734,
-0.4514150619506836,
0.42249545454978943,
-0.5386187434196472,
-0.8107708096504211,
0.24537596106529236,
-0.4158434271812439,
0.05860619619488716,
0.5817276835441589,
0.007404004689306021,
-0.2488550841808319,
0.712680995464325,
0.6910369992256165,
-0.05616336315870285,
0.27619755268096924,
-0.3180493712425232,
0.3759152591228485,
-1.1456639766693115,
-0.5240857601165771,
-0.5440213084220886,
0.07449793070554733,
-0.36247941851615906,
-0.5568810105323792,
0.24603983759880066,
0.30039942264556885,
0.32272911071777344,
0.4932074546813965,
-0.4620607793331146,
0.2918144762516022,
0.19913330674171448,
0.19663529098033905,
0.709231972694397,
0.1909770667552948,
0.1505073457956314,
-0.5315971374511719,
-0.7186750173568726,
-0.7036647796630859,
1.1694691181182861,
0.08926898241043091,
0.6780689358711243,
-0.055457547307014465,
0.5866421461105347,
0.03300822898745537,
0.5317733883857727,
-0.767289936542511,
0.6432939171791077,
0.05776156857609749,
-0.3113563060760498,
-0.020373376086354256,
-0.5614975690841675,
-0.8711971044540405,
0.3877233564853668,
-0.40396830439567566,
-0.4950637221336365,
0.295061320066452,
-0.004707330837845802,
-0.13440574705600739,
-0.08766278624534607,
-0.21399706602096558,
0.3920426070690155,
-0.29457923769950867,
-0.5698854923248291,
-0.010659046471118927,
-0.6383334994316101,
0.723749041557312,
-0.35021138191223145,
-0.03859948739409447,
0.0501876175403595,
-0.08074742555618286,
0.8634991645812988,
-0.42204612493515015,
0.5141481757164001,
0.04583650454878807,
0.0434945747256279,
0.14075708389282227,
-0.20805393159389496,
0.577853262424469,
0.5178438425064087,
-0.36084237694740295,
0.02728365547955036,
-0.08024906367063522,
-0.05561045929789543,
-0.9996384382247925,
0.7240669131278992,
-0.45271024107933044,
-0.7591174840927124,
-0.7429024577140808,
-0.5460472106933594,
-0.32854488492012024,
0.014582891017198563,
-0.01707638055086136,
0.07624128460884094,
-0.20241768658161163,
0.25412482023239136,
0.5683348178863525,
-0.05792713537812233,
0.07425424456596375,
0.48794859647750854,
-0.4929652214050293,
-0.44974786043167114,
0.5819185972213745,
-0.17680180072784424,
0.1923476755619049,
0.45609480142593384,
-0.029970534145832062,
-0.566173791885376,
-0.37023061513900757,
-0.1115436777472496,
0.5272998213768005,
-0.5018651485443115,
-0.4610486924648285,
-0.9165565371513367,
-0.22197319567203522,
-0.6060065627098083,
0.14549802243709564,
0.11774896085262299,
-0.7446915507316589,
-0.7626888155937195,
-0.4573294222354889,
0.7191315293312073,
0.3196452260017395,
-0.05686626583337784,
0.4309931993484497,
-0.8284788727760315,
0.268050879240036,
-0.06610264629125595,
-0.30161309242248535,
-0.4139361083507538,
-0.6396158337593079,
-0.0205379668623209,
0.038494329899549484,
-0.1547968089580536,
-0.8901938796043396,
0.786874532699585,
0.5448698997497559,
0.47155049443244934,
0.2465224415063858,
-0.23326528072357178,
1.0733518600463867,
-0.5094999074935913,
0.6949127316474915,
0.024163123220205307,
-0.6926106810569763,
0.6507163643836975,
-0.20621120929718018,
-0.24483099579811096,
0.5126335024833679,
0.6113384962081909,
-0.034282561391592026,
-0.25965696573257446,
-0.8226829767227173,
-1.017594575881958,
0.6193729639053345,
0.10860511660575867,
-0.07056665420532227,
0.18256033957004547,
0.8101489543914795,
0.09130580723285675,
0.31228771805763245,
-0.8320712447166443,
-0.08989106118679047,
-0.06752971559762955,
-0.02701624296605587,
-0.014078503474593163,
-0.11223451793193817,
-0.17410188913345337,
-0.42662617564201355,
0.7874080538749695,
-0.013697963207960129,
0.21481500566005707,
0.390916645526886,
-0.20663636922836304,
-0.07913244515657425,
-0.07960305362939835,
0.27925944328308105,
0.8619245290756226,
-0.34339725971221924,
0.11150074750185013,
0.0764504000544548,
-0.3197251856327057,
-0.151163250207901,
0.444970041513443,
-0.2181638777256012,
0.15701518952846527,
0.520224928855896,
0.5408844947814941,
0.35326892137527466,
-0.37197741866111755,
0.09500376880168915,
0.15970869362354279,
-0.2608512341976166,
0.09188301861286163,
0.18395596742630005,
0.059312302619218826,
-0.042286522686481476,
0.40058112144470215,
-0.09374506026506424,
0.2643072009086609,
-0.35662949085235596,
0.7335362434387207,
0.43505555391311646,
-0.007137902546674013,
-0.3888814151287079,
0.6638816595077515,
-0.03751659020781517,
-0.14436769485473633,
0.53019779920578,
-0.07055308669805527,
-0.436275839805603,
0.3868238925933838,
0.9259825348854065,
0.36835822463035583,
-0.1460370570421219,
0.3076931834220886,
0.48880207538604736,
0.10571614652872086,
0.02786882035434246,
0.13319262862205505,
-0.07744693011045456,
-0.4775097072124481,
-0.8341218829154968,
-0.7407312989234924,
-0.4280764162540436,
0.18236003816127777,
-0.7030338644981384,
0.531603217124939,
-0.3410058915615082,
0.00048781087389215827,
0.29749563336372375,
0.2276354730129242,
-0.34484392404556274,
0.34318962693214417,
-0.5257419347763062,
0.6888379454612732,
-0.8607229590415955,
1.0780384540557861,
0.5590686202049255,
-0.4883587956428528,
-0.6921253204345703,
-0.3517673909664154,
-0.09166841953992844,
-0.45974278450012207,
0.8898493647575378,
-0.038142018020153046,
-0.1969633549451828,
0.062276192009449005,
-0.3801674544811249,
-0.9698261022567749,
1.2164666652679443,
0.31862926483154297,
-0.6948468089103699,
-0.09306089580059052,
0.11199364811182022,
0.7954107522964478,
-0.7433828115463257,
0.20900708436965942,
0.5162064433097839,
0.358368843793869,
0.34845101833343506,
-0.42042407393455505,
0.13444770872592926,
-0.23301094770431519,
-0.10405389964580536,
0.22937624156475067,
-0.17427337169647217,
0.5170506834983826,
0.09590134024620056,
-0.19160525500774384,
0.0512411966919899,
1.0809364318847656,
0.6701709032058716,
0.42556527256965637,
0.21573102474212646,
0.41966044902801514,
0.9162737727165222,
-0.20795054733753204,
0.8343562483787537,
-0.19670650362968445,
0.39342084527015686,
1.2340470552444458,
-0.5741704702377319,
0.5698843598365784,
0.5943532586097717,
-0.43602094054222107,
0.35291582345962524,
0.8492864966392517,
-0.3491128981113434,
0.594415545463562,
0.17179399728775024,
-0.32598021626472473,
0.10305096209049225,
-0.15314550697803497,
-0.48720166087150574,
0.3471965193748474,
0.6920782327651978,
-0.7397819757461548,
-0.17114868760108948,
-0.05499809980392456,
0.12654335796833038,
0.09028643369674683,
-0.11632710695266724,
0.7051901817321777,
0.3965805470943451,
-0.4469433128833771,
0.14226751029491425,
0.013865162618458271,
0.4644991457462311,
-0.5510220527648926,
-0.21929731965065002,
0.04950997233390808,
-0.13942791521549225,
-0.49084165692329407,
-0.49247169494628906,
0.5476958751678467,
0.0002715560549404472,
-0.32360637187957764,
-0.10861962288618088,
0.923605740070343,
-0.6618814468383789,
-0.7466517686843872,
0.1750735640525818,
0.46724826097488403,
0.2685440182685852,
0.20907355844974518,
-0.7684879302978516,
-0.2169078141450882,
0.008484531193971634,
-0.15710510313510895,
0.16644029319286346,
0.4143558144569397,
-0.08254225552082062,
0.4547804296016693,
1.0810474157333374,
0.5634681582450867,
-0.11877039819955826,
-0.05404031276702881,
1.0960818529129028,
-0.6104139089584351,
-0.18312881886959076,
-0.9409885406494141,
0.1827826201915741,
-0.543180525302887,
-0.09263529628515244,
1.0764720439910889,
0.7258569598197937,
0.5292760133743286,
-0.07108378410339355,
0.7269272804260254,
-0.02082217112183571,
0.4621451199054718,
-0.5430338382720947,
0.24132558703422546,
-0.2708026170730591,
0.5984642505645752,
-0.40079638361930847,
-1.290816307067871,
-0.6830670833587646,
0.7948537468910217,
-0.5555128455162048,
-0.031183023005723953,
0.8139572739601135,
0.8595739006996155,
-0.1329270601272583,
0.4174635112285614,
-0.12900571525096893,
-0.06177147850394249,
0.5384537577629089,
0.25401926040649414,
0.5856650471687317,
-0.38618096709251404,
0.32922622561454773,
-0.35133594274520874,
-0.203773632645607,
0.14378614723682404,
-0.9442801475524902,
-0.6918379068374634,
-0.21849189698696136,
-0.4297672212123871,
-0.28408628702163696,
0.014599921181797981,
0.762747585773468,
0.545261800289154,
-0.5424238443374634,
0.10068385303020477,
-0.3779506981372833,
-0.10439144819974899,
-0.10954310745000839,
-0.35940712690353394,
0.6537893414497375,
-0.2000213861465454,
-0.9174382090568542,
0.765790581703186,
0.4607403576374054,
-0.08590646088123322,
-0.29790687561035156,
0.1514398604631424,
-0.44950810074806213,
-0.13559094071388245,
0.4797916114330292,
0.20017372071743011,
-0.43368399143218994,
-0.1325688660144806,
0.2076064795255661,
0.11317047476768494,
0.26106297969818115,
0.9188300967216492,
-0.9102693200111389,
0.3745861351490021,
0.4735153615474701,
0.5925257205963135,
0.8149635195732117,
0.3976394534111023,
0.8840305805206299,
-0.7978454828262329,
0.13662561774253845,
0.4218965470790863,
0.1596173346042633,
0.503413736820221,
-0.6230946779251099,
0.8508016467094421,
0.5190303325653076,
-0.670598566532135,
-0.9270869493484497,
0.13841482996940613,
-1.101423740386963,
-0.07085416465997696,
0.9861738681793213,
-0.3536423444747925,
-0.3487466275691986,
-0.13762423396110535,
-0.10189131647348404,
0.21327540278434753,
-0.2922738194465637,
0.6673731803894043,
0.6662324666976929,
-0.4894144833087921,
-0.18247826397418976,
-0.34406107664108276,
0.6898175477981567,
0.3934531807899475,
-1.0483185052871704,
-0.20055250823497772,
0.5323538184165955,
0.23528940975666046,
0.24819616973400116,
0.34768617153167725,
-0.3244132101535797,
0.10096646100282669,
-0.4035072922706604,
-0.23276594281196594,
-0.33953744173049927,
-0.22397147119045258,
-0.2180754840373993,
0.22153322398662567,
-0.3831791281700134,
0.11606106162071228
] |
http://arxiv.org/abs/2405.20018v1
|
http://arxiv.org/pdf/2405.20018v1
|
Safe Multi-agent Reinforcement Learning with Natural Language Constraints
| 2024-05-30T12:57:35 | 2024-05-30T12:57:35 |
Ziyan Wang, Meng Fang, Tristan Tomilin, Fei Fang, Yali Du
|
cs.MA
|
cs.MA, cs.CL, cs.LG
|
The role of natural language constraints in Safe Multi-agent Reinforcement
Learning (MARL) is crucial, yet often overlooked. While Safe MARL has vast
potential, especially in fields like robotics and autonomous vehicles, its full
potential is limited by the need to define constraints in pre-designed
mathematical terms, which requires extensive domain expertise and reinforcement
learning knowledge, hindering its broader adoption. To address this limitation
and make Safe MARL more accessible and adaptable, we propose a novel approach
named Safe Multi-agent Reinforcement Learning with Natural Language constraints
(SMALL). Our method leverages fine-tuned language models to interpret and
process free-form textual constraints, converting them into semantic embeddings
that capture the essence of prohibited states and behaviours. These embeddings
are then integrated into the multi-agent policy learning process, enabling
agents to learn policies that minimize constraint violations while optimizing
rewards. To evaluate the effectiveness of SMALL, we introduce the LaMaSafe, a
multi-task benchmark designed to assess the performance of multiple agents in
adhering to natural language constraints. Empirical evaluations across various
environments demonstrate that SMALL achieves comparable rewards and
significantly fewer constraint violations, highlighting its effectiveness in
understanding and enforcing natural language constraints.
|
[
-0.4970390796661377,
-0.5915338397026062,
0.3286154866218567,
0.12256945669651031,
-0.01726577989757061,
0.2068409025669098,
-0.3743497133255005,
-0.23800049722194672,
-0.23161041736602783,
0.6244477033615112,
-0.7935331463813782,
-0.43689465522766113,
-0.509403645992279,
0.3131681978702545,
0.5343557596206665,
1.4067864418029785,
-0.17653153836727142,
-0.15873780846595764,
-0.09637869149446487,
-0.36419105529785156,
-0.5813019871711731,
-0.19337934255599976,
-0.7618524432182312,
-0.34380072355270386,
0.5540964007377625,
0.5827950239181519,
0.832435667514801,
0.6728430986404419,
0.3783182203769684,
0.3336013853549957,
0.028907479718327522,
0.8917030692100525,
-0.23935580253601074,
-0.04898928478360176,
-0.2767052948474884,
-0.15259815752506256,
-0.06278213858604431,
0.19842614233493805,
0.6307633519172668,
0.368342787027359,
-0.4613308012485504,
-0.2369007170200348,
0.25195184350013733,
0.5148024559020996,
-0.8657383322715759,
0.5317940711975098,
-0.5651354789733887,
0.09660838544368744,
0.19465354084968567,
0.08203404396772385,
-0.6380724906921387,
-0.626090943813324,
0.016312025487422943,
-0.8404731154441833,
-0.19144056737422943,
0.1887897253036499,
0.9616265296936035,
0.8502673506736755,
-0.7835146188735962,
-0.4666113257408142,
-0.6085106134414673,
0.9268092513084412,
-0.3381095230579376,
0.14501792192459106,
0.5601679682731628,
0.621831476688385,
-0.4419398903846741,
-0.25664401054382324,
-0.46874475479125977,
-0.6329970955848694,
-0.2899740934371948,
-0.41998404264450073,
0.08712895959615707,
0.2710862159729004,
0.14365322887897491,
-0.10559932887554169,
-0.5152223110198975,
0.16009338200092316,
-0.05473116785287857,
-0.38530996441841125,
0.49732789397239685,
0.3775791823863983,
0.20045343041419983,
-0.06410201638936996,
-0.5277097821235657,
-0.44493383169174194,
-0.7846449613571167,
0.34985917806625366,
0.15339775383472443,
0.8708055019378662,
-0.12019259482622147,
0.28557664155960083,
-0.2428780198097229,
0.2735954523086548,
-0.2698393166065216,
-0.34999313950538635,
0.2875620424747467,
-0.36168521642684937,
-0.07056871801614761,
-0.046357426792383194,
0.8103084564208984,
0.007359147537499666,
0.17759345471858978,
-0.30488941073417664,
-0.2184268832206726,
0.031302087008953094,
0.29792651534080505,
-0.7193108201026917,
0.17048342525959015,
-0.339320570230484,
-0.011066985316574574,
-0.3099685311317444,
-0.06107185781002045,
-0.6590595245361328,
-0.7021646499633789,
-0.21274060010910034,
0.6080929040908813,
-0.4616355001926422,
0.09040933102369308,
0.005058934912085533,
0.049226246774196625,
0.25065454840660095,
0.11266233026981354,
-0.8637264966964722,
0.6362014412879944,
0.6355082988739014,
0.6136646270751953,
0.27475208044052124,
-0.6965265870094299,
-1.101671576499939,
0.47181740403175354,
-0.29652291536331177,
0.5529735684394836,
-0.47347819805145264,
-0.1538035124540329,
-0.05672505870461464,
0.18783964216709137,
-0.2850719690322876,
-0.29369547963142395,
0.523963987827301,
-0.21900397539138794,
-0.07275938242673874,
-0.16501660645008087,
-0.3418014645576477,
-0.28150397539138794,
0.4172912538051605,
-0.8142661452293396,
0.6870494484901428,
-0.15773610770702362,
-0.3510760962963104,
0.5121219158172607,
-0.6289921998977661,
-0.591299295425415,
-0.5660869479179382,
-0.10477683693170547,
-0.6014919877052307,
-0.45866379141807556,
0.36828726530075073,
0.18137302994728088,
-0.4003832936286926,
0.11815310269594193,
-0.4051208794116974,
-0.024994950741529465,
0.1587669551372528,
-0.4635940194129944,
0.386543333530426,
0.19337783753871918,
-0.16893433034420013,
0.3368381857872009,
-0.6844252347946167,
0.04623401537537575,
0.047815605998039246,
-0.3627999424934387,
-0.3394731283187866,
0.1310938149690628,
-0.3484281301498413,
0.4782486855983734,
0.15336455404758453,
-0.3147953450679779,
0.16998963057994843,
-0.600124180316925,
0.32934805750846863,
0.6891343593597412,
0.25112414360046387,
0.81361985206604,
-0.411143034696579,
0.386172354221344,
-0.4021805226802826,
0.378125935792923,
0.2695035934448242,
-0.23292045295238495,
-0.34807899594306946,
-0.3992340564727783,
0.10746265947818756,
0.5806273818016052,
-1.1010968685150146,
0.21421998739242554,
0.0903235450387001,
-0.32266533374786377,
-0.5579922199249268,
0.4269073009490967,
0.7400343418121338,
0.09213047474622726,
0.4101414084434509,
-0.0521327406167984,
-0.10386791080236435,
-0.7953382730484009,
-0.2628391981124878,
-0.010908268392086029,
0.12549836933612823,
0.2831416726112366,
0.7275082468986511,
-0.14771316945552826,
0.7686582207679749,
-0.37334099411964417,
-0.7164479494094849,
-0.30676892399787903,
0.4784429669380188,
-0.2820911407470703,
0.621585488319397,
0.43732765316963196,
-0.6926770210266113,
-0.5972037315368652,
0.03559449315071106,
-0.45560863614082336,
0.25289449095726013,
-0.15078957378864288,
-0.042755406349897385,
0.21043024957180023,
0.3433848023414612,
-0.69366854429245,
0.52154141664505,
0.2263471633195877,
-0.49302980303764343,
0.20152200758457184,
-0.6650437712669373,
-0.14934632182121277,
-0.5603734254837036,
-0.34994640946388245,
-0.24538901448249817,
-0.2698775827884674,
-0.680311381816864,
0.17538121342658997,
0.16255329549312592,
0.08233195543289185,
-0.6351840496063232,
0.5915825366973877,
-0.35973843932151794,
0.31450966000556946,
-0.34286609292030334,
-0.03141830861568451,
0.03155621141195297,
0.7548811435699463,
0.15736404061317444,
0.684787392616272,
0.26207152009010315,
-0.7284742593765259,
-0.06995980441570282,
0.4052823483943939,
0.0035248612985014915,
0.3992994427680969,
-0.4069296717643738,
0.19070640206336975,
-0.2602108418941498,
0.2398376762866974,
-0.5260565280914307,
-0.17715033888816833,
0.4780605137348175,
-0.013248524628579617,
0.24742338061332703,
-0.0777454525232315,
-0.44807228446006775,
0.02681003510951996,
-0.49151068925857544,
0.21511432528495789,
0.21493011713027954,
-0.49593260884284973,
0.5084068179130554,
0.5140569806098938,
0.26594406366348267,
-0.9009116888046265,
-0.2909391522407532,
-0.028807450085878372,
-0.17601677775382996,
-0.3056705892086029,
0.23633766174316406,
-0.009149094112217426,
-0.07285042852163315,
0.21193644404411316,
-0.030034910887479782,
-0.2959716320037842,
0.3576297163963318,
0.37137314677238464,
0.01150498352944851,
0.07416265457868576,
0.2600044906139374,
0.20292656123638153,
-0.3016364276409149,
-0.24439463019371033,
0.0133004579693079,
0.14777866005897522,
-0.5209844708442688,
-0.21861249208450317,
-0.21880708634853363,
0.32450854778289795,
0.4678466320037842,
-0.4214310050010681,
1.1903904676437378,
0.6425410509109497,
-0.5014522671699524,
-0.7117982506752014,
-0.02332804910838604,
-0.2154982089996338,
-0.5127732753753662,
0.11663811653852463,
-0.32948338985443115,
-0.9603838324546814,
0.09704271703958511,
-0.18930435180664062,
0.0990806445479393,
0.22181294858455658,
0.453759104013443,
0.31233686208724976,
1.1138403415679932,
0.8379227519035339,
0.05890010669827461,
0.21467363834381104,
0.028150370344519615,
-0.021824346855282784,
-0.47687995433807373,
-0.41506150364875793,
-0.5988007187843323,
0.09724868088960648,
-0.6253636479377747,
-0.6258492469787598,
0.09700168669223785,
-0.0655221939086914,
-0.5533143281936646,
0.4555255174636841,
-0.3766879439353943,
0.7484504580497742,
0.5707513093948364,
-0.0933285653591156,
0.06738408654928207,
-0.614454984664917,
-0.5145570635795593,
-0.04768184572458267,
-0.48812511563301086,
-0.7718678712844849,
0.866014301776886,
0.14867329597473145,
0.734479546546936,
0.4272328317165375,
0.8546779751777649,
0.29880082607269287,
0.36009564995765686,
-0.5578938126564026,
0.44099557399749756,
0.012222204357385635,
-0.6563613414764404,
-0.5959763526916504,
-0.5291965007781982,
-1.2309319972991943,
0.5850235223770142,
-0.4620557129383087,
-0.773163914680481,
-0.029392842203378677,
-0.06594973802566528,
-0.5167327523231506,
0.18960480391979218,
-0.6863096356391907,
1.1476337909698486,
-0.3669174313545227,
-0.4006643295288086,
-0.3200069069862366,
-0.8854449391365051,
0.21325938403606415,
-0.006640919018536806,
0.5967442393302917,
-0.6126840710639954,
-0.4069037139415741,
0.3886725604534149,
-0.6363614201545715,
0.8911775946617126,
-0.18893156945705414,
0.05419569090008736,
0.3393077552318573,
0.07095414400100708,
0.9136406183242798,
0.07614506781101227,
0.12569686770439148,
-0.5016034245491028,
0.18024860322475433,
-0.41104254126548767,
-0.43872734904289246,
0.4705723226070404,
-0.8518648743629456,
-0.3024670481681824,
-0.590133011341095,
-0.6487258672714233,
-0.6209009289741516,
0.14374186098575592,
-0.20894408226013184,
0.07501094788312912,
-0.6003665328025818,
0.01795322261750698,
0.4840563237667084,
-0.4052070677280426,
0.6621724963188171,
0.8072783946990967,
0.05964257940649986,
-0.501684844493866,
1.2085057497024536,
-0.058005716651678085,
0.23375113308429718,
0.49312081933021545,
0.30289891362190247,
-0.5322171449661255,
-0.4349229037761688,
-0.3493521511554718,
0.1601279377937317,
-0.6178250908851624,
-0.09738054871559143,
-0.28326356410980225,
-0.015941420570015907,
-0.2306176871061325,
-0.14172227680683136,
-0.6231023669242859,
-0.156119704246521,
-0.10191377252340317,
0.04922008141875267,
0.10487329214811325,
0.8636176586151123,
-0.38328051567077637,
0.21967384219169617,
-0.8662930727005005,
0.5189507007598877,
0.5527964234352112,
0.338449627161026,
-0.25359413027763367,
0.02134406566619873,
-0.3263480067253113,
-0.05285843834280968,
-0.27697107195854187,
-0.8487080335617065,
0.44646525382995605,
0.3502431809902191,
0.7462853193283081,
0.45331835746765137,
0.5416845679283142,
0.24464838206768036,
-0.8122222423553467,
0.3692724108695984,
0.07354167103767395,
-0.7843729257583618,
0.5126404166221619,
-0.2441396564245224,
0.051773522049188614,
0.9474485516548157,
0.12621386349201202,
-0.32627466320991516,
-0.4373708665370941,
-0.3557485342025757,
-0.5926033854484558,
0.6850795149803162,
0.35577648878097534,
-0.1965334564447403,
-0.10772262513637543,
-0.16595804691314697,
0.25400450825691223,
0.4030713737010956,
-0.9150693416595459,
-0.025444282218813896,
0.15800608694553375,
-0.20487624406814575,
-0.21636101603507996,
0.009986387565732002,
-0.3401558995246887,
-0.19399410486221313,
0.7887411713600159,
-0.31544920802116394,
0.04423261061310768,
-0.28931042551994324,
-0.4726462960243225,
0.09759309887886047,
0.5462424159049988,
0.783616304397583,
0.0779905691742897,
-0.18932132422924042,
0.30850115418434143,
0.36674216389656067,
-0.2551425099372864,
0.5009472370147705,
0.21597421169281006,
0.03802502527832985,
-0.23191583156585693,
0.016936905682086945,
0.7937473654747009,
0.4572725296020508,
-0.785639762878418,
0.40425923466682434,
-0.33000046014785767,
-0.18906547129154205,
-0.09021174907684326,
0.21809914708137512,
-0.2679600715637207,
0.36173003911972046,
-0.1058749258518219,
0.2497873455286026,
-0.15699079632759094,
-0.3107888400554657,
0.35309717059135437,
0.5459033250808716,
-0.5733016729354858,
0.05491705611348152,
0.6375038027763367,
0.24957042932510376,
-0.34005898237228394,
0.13883079588413239,
-0.8047882318496704,
-0.39016830921173096,
0.7413403391838074,
0.35061901807785034,
0.9822089672088623,
-0.09723706543445587,
0.5698387622833252,
0.1872076690196991,
1.0735737085342407,
-0.1761026382446289,
0.08965025842189789,
-0.029512930661439896,
-0.7501285076141357,
-0.41176438331604004,
-0.4543240964412689,
-0.7389109134674072,
-0.22641071677207947,
-0.41260600090026855,
0.07155156880617142,
-0.7629879713058472,
0.019621066749095917,
-0.07917322963476181,
0.2046440839767456,
-0.6510331034660339,
-0.075559601187706,
0.3551875650882721,
0.47744613885879517,
-0.7826998233795166,
1.0639814138412476,
0.6923810243606567,
-0.647432804107666,
-1.0913139581680298,
-0.17630663514137268,
0.4524519443511963,
-0.5768333077430725,
0.25430771708488464,
0.37666913866996765,
-0.5088817477226257,
-0.3408963680267334,
-0.30219677090644836,
-0.8878209590911865,
0.8668700456619263,
0.5076684355735779,
0.04172703996300697,
0.12046874314546585,
0.4174575209617615,
0.44305866956710815,
-0.33204200863838196,
-0.0872315913438797,
0.5223793387413025,
0.7088083028793335,
-0.0029311440885066986,
-0.9142076373100281,
0.27058666944503784,
-0.025211645290255547,
-0.3667493760585785,
0.5864754319190979,
-0.8095860481262207,
0.7999165654182434,
-0.3107072412967682,
-0.160244420170784,
0.004504144191741943,
0.493978887796402,
0.25070029497146606,
0.6208662390708923,
0.7247512936592102,
0.4790683388710022,
1.1345967054367065,
-0.06837204843759537,
0.8714560866355896,
0.17477883398532867,
0.3482396900653839,
1.1856807470321655,
-0.38561010360717773,
0.7672358155250549,
0.45577841997146606,
0.014244806952774525,
0.4500248432159424,
0.5078814625740051,
0.3474765717983246,
1.0932509899139404,
0.21721072494983673,
-0.3727465867996216,
-0.4320412278175354,
-0.5475344061851501,
-0.1339448243379593,
0.4912888705730438,
0.5037250518798828,
0.10908050090074539,
-0.4524718225002289,
0.30218008160591125,
0.1325569748878479,
0.2885063588619232,
-0.2799879014492035,
0.8642564415931702,
0.059731654822826385,
-0.6574628353118896,
0.4099307060241699,
0.19765393435955048,
0.503607988357544,
-0.6010249257087708,
-0.2445865273475647,
0.05410481244325638,
0.36249029636383057,
0.13752909004688263,
-0.4409054219722748,
0.3736571669578552,
0.023731930181384087,
0.05320557951927185,
-0.38315314054489136,
0.7738265991210938,
-0.5616729855537415,
-0.12140320241451263,
0.17175714671611786,
0.469449520111084,
-0.07862603664398193,
0.22318226099014282,
-0.6566990613937378,
-0.4229845106601715,
-0.28656235337257385,
-0.08308524638414383,
0.5212497711181641,
0.6036369204521179,
-0.06797324120998383,
0.9234762191772461,
0.4038790762424469,
-0.06152988597750664,
0.08881789445877075,
-0.3570674955844879,
0.6194561123847961,
-0.6373894214630127,
-0.8713077902793884,
-0.7818113565444946,
0.3045233488082886,
-0.06321272999048233,
-0.26898202300071716,
0.5891445875167847,
0.15990717709064484,
0.5367109775543213,
0.0795207992196083,
0.5151866674423218,
0.07553499937057495,
0.35082370042800903,
-0.6334779262542725,
0.7267987728118896,
-0.51900315284729,
0.2197873443365097,
-0.09029803425073624,
-0.44070467352867126,
-0.3817383646965027,
0.6652262806892395,
-0.29412364959716797,
-0.23170620203018188,
0.9573141932487488,
0.7912066578865051,
0.34316787123680115,
0.06704684346914291,
0.31915661692619324,
-0.2931296229362488,
0.2824944257736206,
1.0357507467269897,
1.0832842588424683,
0.07280701398849487,
0.9764124751091003,
-0.5318076014518738,
0.1574586182832718,
0.037284333258867264,
-1.0135270357131958,
-1.1514266729354858,
-0.3257790803909302,
-0.21473683416843414,
-0.21477708220481873,
0.07655074447393417,
1.5047364234924316,
0.616558313369751,
-0.8114653825759888,
-0.12694284319877625,
-0.05429937690496445,
0.7549796104431152,
-0.5468200445175171,
-0.11063260585069656,
0.24931658804416656,
-0.4748573899269104,
-0.6569821834564209,
0.7504934668540955,
0.22066839039325714,
-0.042200103402137756,
0.021250665187835693,
-0.8335745334625244,
-0.34100204706192017,
0.2635250389575958,
0.3174007833003998,
0.7141960859298706,
-0.6229898929595947,
-0.6065523624420166,
-0.4559156894683838,
-0.4683842658996582,
-0.2140505462884903,
0.6344273686408997,
-0.617360532283783,
0.2626921832561493,
0.141388937830925,
1.0449188947677612,
0.32025331258773804,
-0.4051550328731537,
0.4149306118488312,
-1.09376859664917,
0.514869213104248,
0.2539205849170685,
0.16245168447494507,
0.015785297378897667,
0.019745707511901855,
0.6182166337966919,
-0.015759257599711418,
-0.4179880917072296,
-0.8762446641921997,
0.29429686069488525,
-0.7645145058631897,
-0.43078601360321045,
1.1120158433914185,
-0.037249356508255005,
-0.07203458249568939,
-0.34560808539390564,
-0.2820618450641632,
0.3299667537212372,
-0.5762836933135986,
0.4930458068847656,
0.49690118432044983,
-0.0038783089257776737,
-0.09179379045963287,
-0.7015020251274109,
0.9335072040557861,
0.348554402589798,
-0.9598795771598816,
-0.15498338639736176,
0.5737066864967346,
-0.06895274668931961,
-0.12267684936523438,
0.3787652254104614,
0.5047606229782104,
0.25438547134399414,
0.037575267255306244,
-0.05704629793763161,
-0.38572725653648376,
-0.5868984460830688,
-0.3006282150745392,
0.4806571304798126,
0.32551485300064087,
-0.4854671359062195
] |
http://arxiv.org/abs/2405.20015v1
|
http://arxiv.org/pdf/2405.20015v1
|
Efficient LLM-Jailbreaking by Introducing Visual Modality
| 2024-05-30T12:50:32 | 2024-05-30T12:50:32 |
Zhenxing Niu, Yuyao Sun, Haodong Ren, Haoxuan Ji, Quan Wang, Xiaoke Ma, Gang Hua, Rong Jin
|
cs.AI
|
cs.AI, cs.CL
|
This paper focuses on jailbreaking attacks against large language models
(LLMs), eliciting them to generate objectionable content in response to harmful
user queries. Unlike previous LLM-jailbreaks that directly orient to LLMs, our
approach begins by constructing a multimodal large language model (MLLM)
through the incorporation of a visual module into the target LLM. Subsequently,
we conduct an efficient MLLM-jailbreak to generate jailbreaking embeddings
embJS. Finally, we convert the embJS into text space to facilitate the
jailbreaking of the target LLM. Compared to direct LLM-jailbreaking, our
approach is more efficient, as MLLMs are more vulnerable to jailbreaking than
pure LLM. Additionally, to improve the attack success rate (ASR) of
jailbreaking, we propose an image-text semantic matching scheme to identify a
suitable initial input. Extensive experiments demonstrate that our approach
surpasses current state-of-the-art methods in terms of both efficiency and
effectiveness. Moreover, our approach exhibits superior cross-class
jailbreaking capabilities.
|
[
-0.2091471552848816,
-1.1465262174606323,
0.6423507332801819,
0.19035126268863678,
-0.4775541424751282,
0.18493086099624634,
-0.3150832951068878,
-0.4840276539325714,
0.035944320261478424,
0.8539158701896667,
-0.3140113055706024,
-0.7759349346160889,
-0.47078216075897217,
-0.006112139672040939,
-0.3775786757469177,
0.6758070588111877,
-0.06803444772958755,
0.03453465551137924,
-0.08237212896347046,
-0.06852532923221588,
-0.6409896016120911,
-0.5135473012924194,
-0.2891198396682739,
0.255816787481308,
0.6447155475616455,
0.2866992950439453,
0.5036011338233948,
0.6340805888175964,
0.7586631178855896,
0.4030495584011078,
-0.018757252022624016,
0.1052592545747757,
-0.5564588904380798,
0.26015281677246094,
-0.08277860283851624,
-0.4971478581428528,
-0.15251460671424866,
-0.28515172004699707,
0.0588814951479435,
-0.04952764883637428,
-0.0825270488858223,
-0.09063021838665009,
-0.34904745221138,
0.734872043132782,
-1.0029237270355225,
-0.07303474098443985,
-1.1944715976715088,
0.053772635757923126,
-0.47409147024154663,
-0.1153808981180191,
-0.7367508411407471,
-0.06244795769453049,
-0.3955691158771515,
-0.41112396121025085,
-0.3175771236419678,
0.36814892292022705,
0.5383524894714355,
0.1182611957192421,
-0.3553332984447479,
-0.2812061607837677,
-0.2078915685415268,
0.5514843463897705,
-0.6688576340675354,
0.49369341135025024,
0.4150637686252594,
0.42699670791625977,
-0.3095652461051941,
-0.553878903388977,
-0.5373966693878174,
-0.5642327070236206,
0.09138953685760498,
-0.1541118174791336,
-0.31673526763916016,
0.12621437013149261,
0.2751764953136444,
0.02891658991575241,
-0.4957754909992218,
0.13579443097114563,
-0.4065234363079071,
-0.12020967900753021,
0.3736884891986847,
0.21251757442951202,
0.7004644274711609,
-0.5134613513946533,
-0.6322144269943237,
0.135611891746521,
-0.8838775753974915,
-0.0900491252541542,
0.5419878363609314,
0.17925409972667694,
-0.15480224788188934,
0.8799098134040833,
-0.06387236714363098,
0.8166993856430054,
-0.1796625405550003,
-0.4513944685459137,
0.05037913843989372,
-0.3851476311683655,
-0.22805631160736084,
-0.21305525302886963,
0.8873364925384521,
0.7795963287353516,
0.29064565896987915,
-0.30370429158210754,
-0.28935715556144714,
-0.05461763218045235,
0.3584143817424774,
-1.090650200843811,
-0.012028251774609089,
0.1666300892829895,
-0.6271370649337769,
-0.6475152969360352,
0.07976990938186646,
-0.7703810334205627,
-0.745229959487915,
0.20064513385295868,
0.4141383171081543,
-0.7003588676452637,
0.06627194583415985,
-0.05886353179812431,
-0.14433389902114868,
0.4422200322151184,
0.4673846662044525,
-0.8711258172988892,
0.1274314671754837,
0.6004037857055664,
0.9211397767066956,
0.041496943682432175,
-0.05786382779479027,
-0.48823845386505127,
0.506694495677948,
-0.03885935992002487,
0.5474499464035034,
-0.4848613739013672,
-0.2460058182477951,
-0.041623249650001526,
-0.051205795258283615,
0.0710308775305748,
-0.6435151100158691,
0.20523414015769958,
-0.884771466255188,
-0.39420098066329956,
0.11838945001363754,
-0.3884744942188263,
-0.13490568101406097,
0.5077775120735168,
-0.9073415398597717,
0.4595116376876831,
-0.16552665829658508,
-0.855969250202179,
0.3717298209667206,
-0.544000506401062,
-0.4094931483268738,
-0.15407578647136688,
-0.0679398849606514,
-0.5433127284049988,
0.17587819695472717,
0.4192262887954712,
0.5974316596984863,
-0.1138765960931778,
0.14324882626533508,
-0.5743340253829956,
-0.240001380443573,
0.4472007155418396,
-0.3636217415332794,
0.6914489269256592,
0.4955260157585144,
-0.2776280343532562,
0.1318739950656891,
-0.5891322493553162,
-0.244392529129982,
0.47571125626564026,
-0.34690991044044495,
-0.7812623977661133,
0.0897621139883995,
0.3580683469772339,
0.11471545696258545,
0.3111373484134674,
-0.823790967464447,
0.4105183184146881,
-0.35117387771606445,
0.6032460331916809,
0.8600818514823914,
-0.19239547848701477,
0.18401993811130524,
0.19475314021110535,
0.4110874831676483,
-0.05273444205522537,
0.3182230591773987,
-0.2704468369483948,
-0.1685163378715515,
-0.3623909056186676,
-0.5949553847312927,
0.1106991171836853,
0.7727662920951843,
-0.9775187969207764,
0.10110782831907272,
0.044052667915821075,
-0.5701431632041931,
-0.3811076283454895,
0.6477242112159729,
0.6121635437011719,
0.2382286936044693,
0.30070051550865173,
-0.2536027431488037,
-0.5078040957450867,
-0.9233769774436951,
-0.621681272983551,
-0.1320580691099167,
0.2996539771556854,
0.36303719878196716,
0.5909225940704346,
-0.23148611187934875,
0.4744186997413635,
-0.46546491980552673,
-0.22414690256118774,
-0.46639299392700195,
-0.49438390135765076,
0.0451488271355629,
0.4967654347419739,
0.8649990558624268,
-0.7536511421203613,
-0.4987219274044037,
-0.03362838178873062,
-1.00896418094635,
-0.08790916949510574,
-0.08044599741697311,
-0.007748808246105909,
0.2644193172454834,
0.9020681381225586,
-0.5313334465026855,
0.5673916339874268,
0.5094324946403503,
-0.8626511693000793,
0.4282803237438202,
0.00844642799347639,
0.33395758271217346,
-1.0179849863052368,
-0.2259174883365631,
0.0312558114528656,
-0.5420166254043579,
-0.5306717753410339,
0.4596148729324341,
0.2649688422679901,
-0.2423350065946579,
-0.7368516325950623,
0.39289140701293945,
-0.581911563873291,
0.1168229877948761,
-0.1368338018655777,
0.12893587350845337,
-0.23177024722099304,
0.254006564617157,
-0.45289814472198486,
0.6207560896873474,
0.4073142409324646,
0.24648255109786987,
0.6294946074485779,
0.08572907745838165,
-0.4697965681552887,
0.3342404067516327,
-0.7123134136199951,
0.05949239805340767,
-0.10596130043268204,
0.036840636283159256,
-0.9482226371765137,
-0.14127673208713531,
0.28739652037620544,
-0.05676524341106415,
0.3311571180820465,
-0.46803155541419983,
-0.6930235624313354,
-0.13791532814502716,
-0.6460964679718018,
0.4432496726512909,
0.26628604531288147,
-0.7322909235954285,
0.5380567908287048,
0.18012754619121552,
-0.011040724813938141,
-0.5239816904067993,
-0.8194981217384338,
0.6146392822265625,
-0.5482107400894165,
-1.0599737167358398,
0.2793106138706207,
0.05966803431510925,
-0.4763742983341217,
-0.12124025821685791,
0.13506130874156952,
0.04071386530995369,
0.295369029045105,
0.28155428171157837,
0.526612401008606,
-0.0008644154877401888,
-0.3656732738018036,
-0.1287052184343338,
0.018546193838119507,
-0.05233846604824066,
0.03549163043498993,
0.6303373575210571,
-0.14725488424301147,
-0.4176940321922302,
-0.4202348291873932,
0.48417365550994873,
0.8213252425193787,
-0.30603688955307007,
0.9474026560783386,
0.26384299993515015,
-0.010583107359707355,
-0.22645138204097748,
-0.7094795107841492,
0.014727654866874218,
-0.5343501567840576,
0.5216543674468994,
-0.5371805429458618,
-1.1366937160491943,
0.3977207839488983,
-0.09671373665332794,
-0.11845077574253082,
-0.3041802942752838,
0.6373031139373779,
0.05139878764748573,
0.8994861245155334,
0.7325812578201294,
-0.1164301261305809,
0.8593109846115112,
0.054379381239414215,
0.21798045933246613,
-0.6557509303092957,
-0.3691194951534271,
-0.18201006948947906,
-0.12390142679214478,
-0.5194075107574463,
-0.49597403407096863,
0.2096218764781952,
0.39191386103630066,
-0.055595122277736664,
0.6010403037071228,
-0.2959449589252472,
0.6535706520080566,
0.155955508351326,
0.3934956192970276,
0.4164455235004425,
0.062119074165821075,
-0.2599904239177704,
-0.09382877498865128,
-0.39738476276397705,
-0.4148131012916565,
1.322767734527588,
0.3889290392398834,
1.2574241161346436,
0.5004377961158752,
0.7306809425354004,
0.2064659297466278,
0.37908223271369934,
-0.8803044557571411,
0.6339840292930603,
-0.1766703873872757,
-0.521186351776123,
-0.03488728404045105,
-0.38558998703956604,
-0.6932466626167297,
0.5724906921386719,
-0.33095264434814453,
-1.0218273401260376,
-0.17848816514015198,
0.1266390085220337,
0.01032173354178667,
0.6443695425987244,
-0.8735631704330444,
1.0932073593139648,
-0.4579712748527527,
-0.5382985472679138,
-0.3630862832069397,
-0.6612859964370728,
0.8398484587669373,
-0.1319320648908615,
0.4974048435688019,
-0.1529286801815033,
-0.17292433977127075,
0.4932638704776764,
-0.8801226615905762,
0.9052541255950928,
-0.4213394820690155,
-0.11467012763023376,
0.08377359807491302,
0.3433130383491516,
0.5918441414833069,
0.26405832171440125,
0.12149399518966675,
-0.02063337340950966,
-0.34206172823905945,
-0.32475826144218445,
-0.798525869846344,
0.6804768443107605,
-0.48479968309402466,
-0.7948750853538513,
-0.055472761392593384,
-0.6456670165061951,
0.10903729498386383,
0.08293070644140244,
-0.08322815597057343,
0.3784060478210449,
-0.10948461294174194,
0.196039080619812,
0.5105429887771606,
-0.49575936794281006,
0.5805394053459167,
0.39630547165870667,
-0.5887337923049927,
-0.7388303279876709,
0.7554804682731628,
-0.12144751101732254,
0.4609914720058441,
0.279163122177124,
-0.07825091481208801,
-0.01891978830099106,
-0.894360363483429,
-0.6181867718696594,
0.08916965872049332,
-0.6870319843292236,
-0.4131404757499695,
-0.507161021232605,
0.08260177075862885,
-0.3028549253940582,
-0.46326369047164917,
-0.35810911655426025,
-0.27984458208084106,
0.21142402291297913,
0.09917504340410233,
0.6959652304649353,
0.39026108384132385,
0.07462934404611588,
0.33495908975601196,
-0.7500718235969543,
0.7005632519721985,
0.29885774850845337,
0.2675776183605194,
-0.09793389588594437,
-0.44636857509613037,
-0.07016828656196594,
-0.522265613079071,
-0.19146239757537842,
-1.1923967599868774,
0.38231292366981506,
0.06323587149381638,
0.3727909326553345,
0.45997101068496704,
-0.10198573023080826,
0.7471000552177429,
-0.7705180048942566,
0.49270549416542053,
0.5552025437355042,
-0.962541401386261,
0.9450528621673584,
-0.39196571707725525,
-0.10432294011116028,
0.628101110458374,
-0.04573255777359009,
-0.2710384428501129,
-0.6207277774810791,
-0.1594301164150238,
-1.215461254119873,
0.29831162095069885,
0.08234523236751556,
0.3841745853424072,
-0.010077670216560364,
0.23510383069515228,
-0.049985162913799286,
0.14229443669319153,
-1.1619930267333984,
-0.15706883370876312,
-0.22963444888591766,
-0.13698996603488922,
0.35585761070251465,
-0.31684190034866333,
-0.24700580537319183,
-0.46895745396614075,
0.35637691617012024,
0.026688698679208755,
0.0064012156799435616,
0.06479927897453308,
-0.5798845291137695,
0.32299429178237915,
0.48562073707580566,
0.41624680161476135,
0.4453732669353485,
-0.1811472773551941,
0.19240957498550415,
0.06265250593423843,
-0.5594727396965027,
0.3087650537490845,
-0.06835268437862396,
-0.33134758472442627,
-0.23826736211776733,
0.3902055025100708,
0.9407956600189209,
0.0923880860209465,
-1.153566837310791,
0.9375938177108765,
-0.1513596773147583,
0.05882096290588379,
-0.2664443254470825,
0.08478827029466629,
-0.008622081950306892,
0.5056391358375549,
0.02863854356110096,
-0.04237979277968407,
-0.06716261059045792,
-0.7974163293838501,
0.18236762285232544,
0.6766160726547241,
-0.2884247303009033,
0.04754691943526268,
0.7688027024269104,
0.14329802989959717,
-0.08144447952508926,
0.5204889178276062,
0.08794061839580536,
-0.5177130699157715,
0.5121434330940247,
0.937749445438385,
0.8518980145454407,
-0.02083466574549675,
0.016219180077314377,
-0.0015192980645224452,
0.6612482666969299,
0.25639107823371887,
0.354061096906662,
-0.08395271003246307,
-0.737525463104248,
-0.5137953758239746,
-0.6536514759063721,
-0.07168811559677124,
-0.024820443242788315,
-0.4077475666999817,
0.38329386711120605,
-0.8571534156799316,
0.040609460324048996,
-0.21187752485275269,
-0.6317974328994751,
-0.2583952844142914,
-0.06475739926099777,
0.27091941237449646,
1.0216131210327148,
-0.5461562871932983,
0.8808891177177429,
0.7373644709587097,
-0.2898796796798706,
-0.6523029804229736,
-0.307962030172348,
0.321774423122406,
-0.8909375667572021,
0.8312533497810364,
0.4165964126586914,
0.04264301434159279,
-0.289240300655365,
-0.9154396653175354,
-0.5966602563858032,
0.988397479057312,
0.4196018874645233,
-0.7809086441993713,
0.2966649830341339,
-0.11344150453805923,
0.01071515679359436,
-0.26154670119285583,
-0.054034169763326645,
0.6623336672782898,
0.6224190592765808,
-0.1316896378993988,
-0.6233878135681152,
0.47086283564567566,
-0.38799139857292175,
0.02354217879474163,
0.4013347923755646,
-0.5777755379676819,
0.6934894919395447,
-0.5328245759010315,
-0.009654468856751919,
0.2800633907318115,
0.44229257106781006,
0.47796350717544556,
0.1297321915626526,
0.6677920818328857,
1.023529291152954,
0.24559469521045685,
-0.06836193799972534,
1.0843535661697388,
-0.24052684009075165,
0.06071382015943527,
0.8282693028450012,
-0.10813005268573761,
0.9128798246383667,
1.0450373888015747,
0.04565673694014549,
0.4953828454017639,
0.0800773948431015,
-0.505416750907898,
0.829002857208252,
0.5898244976997375,
-0.323479562997818,
-0.3404487371444702,
0.14874814450740814,
-0.12046413868665695,
0.7739076614379883,
0.28149813413619995,
-0.47066745162010193,
-0.27598586678504944,
0.5118806958198547,
0.5067091584205627,
0.28953462839126587,
-0.48301962018013,
0.8590158820152283,
0.10549336671829224,
0.04409908503293991,
0.6125599145889282,
0.5293113589286804,
0.9517653584480286,
-0.546536922454834,
0.1375277191400528,
0.05251758173108101,
0.021016452461481094,
-0.3175562024116516,
-0.5380038619041443,
0.15911585092544556,
0.5361124873161316,
-0.022822769358754158,
-0.09926243126392365,
1.0639876127243042,
-0.14887718856334686,
-0.45768141746520996,
0.6303618550300598,
0.4694722294807434,
-0.018235940486192703,
-0.026101604104042053,
-0.5538825392723083,
0.5089505314826965,
0.013008782640099525,
-0.5178783535957336,
0.5000355839729309,
0.24479107558727264,
0.026744460687041283,
0.6773174405097961,
0.7843078970909119,
0.05884077399969101,
0.22811082005500793,
0.061738021671772,
1.2603576183319092,
-1.0437545776367188,
-0.23035648465156555,
-1.4480669498443604,
0.6795130968093872,
-0.21479055285453796,
-0.06378475576639175,
0.8735532760620117,
0.527299165725708,
0.7486116886138916,
-0.08303354680538177,
0.8572813868522644,
-0.41498637199401855,
-0.2826670706272125,
-1.0067319869995117,
0.875932514667511,
-0.6173243522644043,
0.6619237065315247,
-0.6174908876419067,
-0.704992949962616,
-0.3819909691810608,
0.4821106493473053,
-0.3488302528858185,
-0.2934279143810272,
0.49998950958251953,
1.0364784002304077,
-0.07892243564128876,
-0.29080653190612793,
0.547487199306488,
0.30314189195632935,
0.41252028942108154,
0.6543882489204407,
1.1515705585479736,
-0.31416743993759155,
0.6965000629425049,
-0.18519042432308197,
-0.32301318645477295,
-0.07083328813314438,
-0.8297588229179382,
-1.2829220294952393,
0.03216487169265747,
0.06984852999448776,
-0.44883471727371216,
0.29582679271698,
0.8121377825737,
0.5357822179794312,
-0.5848767161369324,
-0.19528310000896454,
0.02802184410393238,
0.20696814358234406,
0.35683590173721313,
-0.2222052663564682,
0.06519674509763718,
-0.3168184459209442,
-0.4492037296295166,
0.6895648837089539,
0.5665560960769653,
-0.11882735043764114,
-0.22538168728351593,
0.15165655314922333,
-0.07107189297676086,
-0.005393982864916325,
0.9356072545051575,
-0.0016970975557342172,
-0.8024728298187256,
-0.29527193307876587,
-0.26054251194000244,
-0.24639387428760529,
0.027103107422590256,
0.9021758437156677,
-0.642518162727356,
0.39619287848472595,
0.43274542689323425,
0.8265009522438049,
0.4826723337173462,
-0.06753209978342056,
0.3794923722743988,
-0.6215853691101074,
0.6105032563209534,
-0.11058604717254639,
0.6192644834518433,
0.324024498462677,
-0.25583502650260925,
0.298116534948349,
0.4313971698284149,
-0.19385762512683868,
-0.8318499326705933,
0.4554256796836853,
-1.1467249393463135,
-0.7747519016265869,
1.0554850101470947,
-0.20248304307460785,
-0.5510293841362,
-0.13220161199569702,
-0.32674723863601685,
-0.2574203610420227,
-0.44545337557792664,
0.6695006489753723,
0.4244658946990967,
0.09925508499145508,
-0.3028528392314911,
-0.747488796710968,
0.1567711979150772,
0.153432235121727,
-0.985685408115387,
0.1305219829082489,
0.5566479563713074,
0.42716163396835327,
-0.103080615401268,
0.2792155146598816,
-0.6347659826278687,
0.22590923309326172,
-0.013750551268458366,
0.1340337097644806,
-0.4243848919868469,
-0.259251207113266,
-0.16031387448310852,
0.44125500321388245,
0.06664218753576279,
0.10916470736265182
] |
http://arxiv.org/abs/2405.20003v1
|
http://arxiv.org/pdf/2405.20003v1
|
Kernel Language Entropy: Fine-grained Uncertainty Quantification for LLMs from Semantic Similarities
| 2024-05-30T12:42:05 | 2024-05-30T12:42:05 |
Alexander Nikitin, Jannik Kossen, Yarin Gal, Pekka Marttinen
|
cs.LG
|
cs.LG, cs.AI, cs.CL
|
Uncertainty quantification in Large Language Models (LLMs) is crucial for
applications where safety and reliability are important. In particular,
uncertainty can be used to improve the trustworthiness of LLMs by detecting
factually incorrect model responses, commonly called hallucinations.
Critically, one should seek to capture the model's semantic uncertainty, i.e.,
the uncertainty over the meanings of LLM outputs, rather than uncertainty over
lexical or syntactic variations that do not affect answer correctness. To
address this problem, we propose Kernel Language Entropy (KLE), a novel method
for uncertainty estimation in white- and black-box LLMs. KLE defines positive
semidefinite unit trace kernels to encode the semantic similarities of LLM
outputs and quantifies uncertainty using the von Neumann entropy. It considers
pairwise semantic dependencies between answers (or semantic clusters),
providing more fine-grained uncertainty estimates than previous methods based
on hard clustering of answers. We theoretically prove that KLE generalizes the
previous state-of-the-art method called semantic entropy and empirically
demonstrate that it improves uncertainty quantification performance across
multiple natural language generation datasets and LLM architectures.
|
[
-0.13054917752742767,
-1.0459532737731934,
0.9698132276535034,
-0.0002240598842035979,
-0.10710690170526505,
-0.09095566719770432,
-0.3450409471988678,
-0.5902856588363647,
0.033211465924978256,
0.12912194430828094,
-0.2676871418952942,
-0.6202471852302551,
-0.8144215941429138,
-0.09294817596673965,
-0.4103074073791504,
0.5344159603118896,
0.008768938481807709,
0.02913312241435051,
-0.4385025203227997,
-0.010342800058424473,
-0.2711378037929535,
-0.24755831062793732,
-0.42231592535972595,
-0.3006472885608673,
0.6598656177520752,
0.3478519320487976,
0.7557792067527771,
0.3837684988975525,
0.437588095664978,
0.30580073595046997,
-0.17729003727436066,
0.01205015741288662,
-0.0800691768527031,
0.1926015019416809,
0.1186181902885437,
-0.41458767652511597,
-0.23903268575668335,
-0.3844052255153656,
0.5248563885688782,
0.6259506344795227,
-0.26857390999794006,
0.2308955192565918,
0.09496396034955978,
0.5711353421211243,
-1.153869390487671,
0.054160334169864655,
-0.8526766896247864,
0.01950049214065075,
-0.0676211416721344,
-0.17860805988311768,
-0.4216236472129822,
-0.3987697660923004,
0.07230465859174728,
-0.5651662349700928,
-0.10736271739006042,
-0.09759615361690521,
0.755688488483429,
0.49271097779273987,
-0.3492613732814789,
-0.5784822702407837,
-0.8060551285743713,
1.0408357381820679,
-0.9003344774246216,
0.777614414691925,
0.5661432147026062,
0.30487948656082153,
-0.24897482991218567,
-0.6087290048599243,
-0.7972522974014282,
-0.26223960518836975,
-0.02389664389193058,
-0.039763178676366806,
-0.08247455954551697,
-0.015690958127379417,
-0.28447169065475464,
0.1415501981973648,
-0.3851485252380371,
0.23826003074645996,
-0.22448192536830902,
-0.7620053291320801,
0.4493763744831085,
0.10352085530757904,
0.1567293405532837,
-0.1512165665626526,
-0.41524919867515564,
-0.42551860213279724,
-0.19674228131771088,
0.1206233873963356,
0.3672610819339752,
0.1314774453639984,
-0.18148647248744965,
0.36409762501716614,
-0.2702522277832031,
0.8151862025260925,
-0.2176542580127716,
-0.41673222184181213,
0.23074685037136078,
-0.02093391679227352,
-0.3581300377845764,
0.44652238488197327,
0.6357012391090393,
0.4480028450489044,
0.03173401579260826,
-0.3524819612503052,
-0.07942900061607361,
0.29819294810295105,
0.14008967578411102,
-0.6134911775588989,
-0.0935128778219223,
0.5643115639686584,
-0.20265667140483856,
-0.5604199171066284,
0.1162070706486702,
-0.7536017894744873,
-0.41743505001068115,
-0.18549220263957977,
0.5903745293617249,
-0.600226104259491,
-0.1577623188495636,
0.3081342577934265,
-0.03931144252419472,
0.4612773358821869,
0.29415902495384216,
-0.7839928269386292,
0.1460878551006317,
0.959621787071228,
0.5535318851470947,
-0.11878655105829239,
-0.30502915382385254,
-0.479636549949646,
0.387131005525589,
-0.4092070460319519,
0.6598492860794067,
-0.6888918876647949,
-0.05347434803843498,
-0.10270436853170395,
-0.2548317313194275,
0.22747653722763062,
-0.3785906434059143,
0.4977867901325226,
-0.5661677122116089,
-0.15465402603149414,
-0.00004772568354383111,
-0.8397716283798218,
-0.07808209955692291,
0.3806542158126831,
-0.2735419273376465,
1.1371755599975586,
-0.03187547251582146,
-0.8601630926132202,
0.4777739346027374,
0.06425578892230988,
-0.15298672020435333,
-0.005738826468586922,
-0.4130202829837799,
-0.39506474137306213,
0.35375094413757324,
-0.0928676500916481,
0.6909179091453552,
-0.16179536283016205,
0.22067254781723022,
-0.692421555519104,
-0.057348333299160004,
0.4126773774623871,
-0.47348448634147644,
0.4499053657054901,
0.29433760046958923,
0.12653660774230957,
-0.07978656142950058,
-0.9635136723518372,
0.3959011733531952,
-0.136143758893013,
-0.16229738295078278,
-0.8320744037628174,
0.0549403578042984,
-0.20024970173835754,
-0.04168431833386421,
0.6061385869979858,
-0.8028131723403931,
-0.29175180196762085,
-0.3544517755508423,
0.3109982907772064,
0.8024048209190369,
-0.08136700838804245,
0.561314582824707,
-0.08271786570549011,
0.08527625352144241,
0.2314489483833313,
0.023051198571920395,
0.14382916688919067,
-0.5129042863845825,
-0.5613884329795837,
-0.16132475435733795,
0.35337433218955994,
0.5893785953521729,
-0.4014628231525421,
0.5320486426353455,
-0.0070614563301205635,
-0.5959256887435913,
-0.49668410420417786,
0.04869253933429718,
0.25170421600341797,
0.5733689665794373,
0.11436672508716583,
0.03282198682427406,
-0.3993183970451355,
-0.8087553381919861,
-0.07927492260932922,
-0.46775713562965393,
-0.2411079853773117,
0.21245138347148895,
0.3101869225502014,
-0.4581359922885895,
0.90097975730896,
-0.7023806571960449,
-0.0005670575774274766,
0.3708136975765228,
0.3072267174720764,
-0.15004892647266388,
0.3813354969024658,
0.1728896200656891,
-0.667587161064148,
-0.39336955547332764,
0.3365389406681061,
-0.6577696800231934,
-0.019811568781733513,
0.1602945774793625,
-0.06730189919471741,
0.6568959355354309,
0.6503733992576599,
-0.5444766879081726,
0.24071823060512543,
0.6255913972854614,
-0.4060658812522888,
0.4974527060985565,
-0.3951221704483032,
-0.08679608255624771,
-1.1733189821243286,
-0.17693372070789337,
-0.23910146951675415,
-0.15224477648735046,
-0.46326568722724915,
0.09616600722074509,
0.3008148968219757,
0.395447313785553,
-0.4767836034297943,
0.5668776035308838,
-0.12179278582334518,
-0.04091395437717438,
-0.2423054277896881,
-0.04579727351665497,
-0.1223280280828476,
0.22862426936626434,
-0.06333547085523605,
0.5431178212165833,
0.8275896310806274,
-0.6941357851028442,
0.37913697957992554,
-0.11943788826465607,
-0.4811215102672577,
0.6773772835731506,
-0.36202383041381836,
0.03491896018385887,
-0.31030720472335815,
-0.07336974143981934,
-0.9653802514076233,
-0.4260818064212799,
-0.01890392042696476,
-0.5968061685562134,
0.2119656801223755,
0.30718737840652466,
-0.24217478930950165,
-0.06385711580514908,
-0.18332171440124512,
0.551525354385376,
0.5643678307533264,
-0.17102311551570892,
0.38909757137298584,
0.3542077839374542,
-0.003195669734850526,
-0.5257713794708252,
-0.7188716530799866,
-0.01714654639363289,
-0.2657099664211273,
-0.6778063774108887,
0.1489485502243042,
0.06793778389692307,
-0.40788859128952026,
0.11631929874420166,
-0.5517725944519043,
-0.41015520691871643,
0.2087680697441101,
0.02504669688642025,
-0.09084061533212662,
-0.21615314483642578,
0.2765192985534668,
-0.024509206414222717,
-0.2689365744590759,
0.144825741648674,
-0.44681283831596375,
0.49564439058303833,
-0.28590431809425354,
-0.2931431531906128,
-0.4218352437019348,
0.2998083829879761,
0.46413564682006836,
0.11051490902900696,
0.5828329920768738,
0.9419891238212585,
-0.6531676650047302,
-0.327872633934021,
-0.5646905303001404,
-0.349089115858078,
-0.473267138004303,
0.33537784218788147,
-0.3355889916419983,
-1.2322442531585693,
0.7068145871162415,
0.17827843129634857,
-0.4881477355957031,
0.421773225069046,
0.6704319715499878,
-0.34366580843925476,
0.46698471903800964,
0.7320343255996704,
-0.06383326649665833,
-0.000631564122159034,
0.20495344698429108,
0.2622426450252533,
-0.43612831830978394,
-0.4149024486541748,
-0.5929912328720093,
-0.20097209513187408,
-0.7513211965560913,
-0.48654186725616455,
0.3275841474533081,
0.13863636553287506,
-0.09910588711500168,
0.10022087395191193,
-0.3275659680366516,
0.4869086444377899,
0.7048471570014954,
0.07966526597738266,
0.22218506038188934,
-0.043913137167692184,
-0.17381758987903595,
0.092368483543396,
-0.4643419682979584,
-0.5550408363342285,
0.776138186454773,
0.3999653160572052,
1.0085418224334717,
0.03486640006303787,
1.0178275108337402,
0.28894275426864624,
-0.2436446249485016,
-0.7934811115264893,
0.4690077304840088,
0.07122097164392471,
-0.24120382964611053,
-0.6952716708183289,
-0.6691381931304932,
-0.7877720594406128,
-0.11550825834274292,
-0.040345411747694016,
-1.1731961965560913,
0.19562548398971558,
0.17093978822231293,
-0.5651599168777466,
0.18380895256996155,
-0.8074100613594055,
0.8563710451126099,
0.14109846949577332,
-0.013348778709769249,
-0.1342986822128296,
-0.7333217263221741,
0.35976627469062805,
-0.5041289925575256,
0.09291833639144897,
-0.17161503434181213,
-0.051766134798526764,
0.6486197710037231,
-0.6781026124954224,
0.888677716255188,
0.08908484131097794,
-0.689124345779419,
0.42520996928215027,
0.3817141354084015,
0.7443626523017883,
0.0949869155883789,
-0.06814229488372803,
0.3745679259300232,
0.4017561972141266,
-0.3682553768157959,
-0.7393292188644409,
0.8695465922355652,
-0.6474526524543762,
-0.2473199963569641,
-0.32330283522605896,
-0.8820146322250366,
-0.3493404686450958,
0.1726158708333969,
0.33797359466552734,
0.04933691769838333,
0.14232097566127777,
0.18394835293293,
0.5869189500808716,
-0.3196737766265869,
0.4516132175922394,
0.3664664924144745,
0.2554095387458801,
-0.26488614082336426,
0.9592552781105042,
0.1440005600452423,
0.38877272605895996,
0.5932596325874329,
0.3916929066181183,
-0.16608816385269165,
-0.42351144552230835,
0.036100659519433975,
-0.23713281750679016,
-0.5325434803962708,
-0.38815727829933167,
-0.6227601170539856,
-0.28802523016929626,
-0.36891457438468933,
-0.33164116740226746,
-0.42147666215896606,
-0.5349745750427246,
0.13350825011730194,
-0.07527129352092743,
0.5854671001434326,
0.583209216594696,
-0.20504459738731384,
0.3319779932498932,
-0.8587764501571655,
0.272038996219635,
0.5525491237640381,
0.6116569638252258,
0.09664613753557205,
-0.34598150849342346,
-0.21171365678310394,
0.23167173564434052,
-0.1950913667678833,
-0.8363582491874695,
0.10130658745765686,
0.12671315670013428,
0.3225623369216919,
0.24532006680965424,
0.3411487638950348,
0.6737459897994995,
-0.5020581483840942,
0.6077412962913513,
0.23922353982925415,
-0.903876006603241,
0.39357683062553406,
-0.05673979967832565,
0.27608513832092285,
0.5432224273681641,
0.017651136964559555,
-0.43544700741767883,
-0.8879632353782654,
-0.511031448841095,
-0.849229097366333,
0.5253738164901733,
0.36895760893821716,
0.139532208442688,
-0.05183890834450722,
0.22762027382850647,
0.0866323783993721,
0.062496621161699295,
-0.5190948843955994,
-0.1467493623495102,
0.2645687460899353,
-0.5257261395454407,
0.06034093722701073,
-0.6276678442955017,
0.13742122054100037,
-0.11664880067110062,
0.6818417310714722,
0.0702587217092514,
0.4126932621002197,
0.25510793924331665,
-0.003618743969127536,
-0.2537263035774231,
0.4184572696685791,
0.7819210290908813,
0.3763801157474518,
-0.5893541574478149,
0.723209023475647,
0.5132062435150146,
-0.5939086675643921,
0.2346043586730957,
-0.29362085461616516,
-0.06482216715812683,
0.05946316197514534,
0.40034663677215576,
0.5081214308738708,
-0.018581891432404518,
-0.5992670655250549,
0.38857510685920715,
0.1577034890651703,
-0.04777668043971062,
-0.3575783371925354,
-0.02133406326174736,
0.0366235077381134,
0.45781850814819336,
0.15786366164684296,
-0.11424222588539124,
0.1562511920928955,
-0.24623245000839233,
0.6154541969299316,
0.5130519866943359,
-0.5043616890907288,
-0.22990086674690247,
0.4618891477584839,
-0.16705916821956635,
-0.22795049846172333,
0.15143948793411255,
-0.2741697430610657,
-0.12223915755748749,
0.6956444978713989,
0.5943852066993713,
1.0905741453170776,
-0.26121675968170166,
0.11613989621400833,
0.17694306373596191,
0.41833963990211487,
-0.0072363680228590965,
0.33114320039749146,
-0.13942380249500275,
-0.9301190376281738,
-0.6061381101608276,
-1.186514973640442,
-0.3567824363708496,
0.06244368106126785,
-0.6984200477600098,
0.13936032354831696,
-0.09480676800012589,
0.006468639709055424,
-0.04910861700773239,
-0.36385849118232727,
-0.2831670045852661,
0.24951788783073425,
0.47875210642814636,
0.9028698801994324,
-0.8498473167419434,
0.9446768760681152,
0.6263841390609741,
0.05358211696147919,
-0.9064922332763672,
0.2939161956310272,
-0.14981773495674133,
-0.9078234434127808,
0.64206862449646,
-0.017494473606348038,
-0.20185557007789612,
-0.07578422874212265,
-0.5074324011802673,
-0.8508857488632202,
1.0628098249435425,
0.46755552291870117,
-0.515903890132904,
0.199750617146492,
0.5838844180107117,
0.29529812932014465,
-0.050472281873226166,
-0.21828150749206543,
0.518255352973938,
0.4730803072452545,
0.23500508069992065,
-0.7566460371017456,
0.10375232249498367,
0.22507016360759735,
0.05882766842842102,
0.6241611838340759,
-0.32646167278289795,
0.4638894498348236,
-0.1305314600467682,
0.0035985130816698074,
-0.003885917365550995,
0.8951817750930786,
0.2733420729637146,
0.5941145420074463,
0.4785866141319275,
0.9778817296028137,
1.0071412324905396,
0.06625474244356155,
0.8536531329154968,
-0.6315245628356934,
0.578121542930603,
1.1370956897735596,
-0.24463070929050446,
1.0652717351913452,
0.8974810242652893,
-0.08534988015890121,
0.2802460491657257,
0.5837591886520386,
0.3834155201911926,
0.5959059596061707,
0.1788073182106018,
-0.4044077396392822,
-0.509566605091095,
-0.02327282913029194,
-0.2727035880088806,
0.3877113163471222,
0.4272329807281494,
-0.05312170833349228,
-0.5347803831100464,
0.024344727396965027,
0.09070292115211487,
-0.07997928559780121,
-0.14284518361091614,
0.8129907250404358,
0.382845938205719,
-0.3015420734882355,
0.7366299033164978,
0.12797121703624725,
0.5281133651733398,
-0.5006153583526611,
0.1857912242412567,
-0.10893771797418594,
0.20189735293388367,
-0.10905849188566208,
-0.8459072113037109,
0.5874322652816772,
-0.13206152617931366,
-0.14159558713436127,
0.09871776401996613,
0.7738184928894043,
-0.5468282103538513,
-0.896888256072998,
0.2071343958377838,
0.1946849822998047,
0.20385974645614624,
0.03321279212832451,
-0.34057852625846863,
0.373766154050827,
-0.25743982195854187,
0.0007702491711825132,
0.15682168304920197,
0.9134688973426819,
-0.0239707101136446,
0.6989250779151917,
0.16481363773345947,
-0.0007681100978516042,
0.36844176054000854,
-0.44076916575431824,
0.46118173003196716,
-0.5523777604103088,
-0.3256756067276001,
-1.1952224969863892,
0.35205748677253723,
0.1593727171421051,
-0.2606963813304901,
0.8204401731491089,
0.44915321469306946,
1.0868265628814697,
-0.0998370349407196,
0.6803053021430969,
-0.2083929032087326,
0.03297144174575806,
-0.7189167737960815,
0.6198959350585938,
-0.5465720891952515,
0.13149382174015045,
-0.40464720129966736,
-0.9769583344459534,
-0.5007575154304504,
0.7165493965148926,
-0.08798043429851532,
-0.26992908120155334,
0.7179803252220154,
1.0708742141723633,
-0.3345224857330322,
-0.19602863490581512,
0.5961242318153381,
0.49119406938552856,
-0.17109553515911102,
0.6009501218795776,
0.7361698150634766,
-0.46615591645240784,
0.42390578985214233,
-0.47987547516822815,
-0.15566501021385193,
-0.08700709044933319,
-1.060856580734253,
-0.44017988443374634,
-0.8152045607566833,
-0.483663946390152,
-0.43707987666130066,
-0.07910346984863281,
0.7603217363357544,
0.5944285988807678,
-0.956792414188385,
-0.25971588492393494,
-0.3174832761287689,
0.31309792399406433,
-0.059399623423814774,
-0.2013159841299057,
0.5385606288909912,
-0.7628509402275085,
-0.488850861787796,
0.13024884462356567,
0.2923715114593506,
0.056085407733917236,
-0.14596468210220337,
-0.425528347492218,
0.04795503616333008,
0.3043895363807678,
0.7257440090179443,
-0.0695471316576004,
-0.8905577063560486,
-0.6762082576751709,
-0.10240672528743744,
-0.2675645351409912,
-0.22457285225391388,
0.3372748792171478,
-0.4816405773162842,
0.3913182318210602,
0.6309072971343994,
0.8860650062561035,
0.09771502017974854,
-0.449607253074646,
0.43996283411979675,
-0.8724327683448792,
0.312127947807312,
0.0013294988311827183,
0.1858341544866562,
0.04295350983738899,
-0.36085373163223267,
0.2190885692834854,
0.0938076302409172,
-0.49725615978240967,
-1.0654011964797974,
0.4687999486923218,
-1.2568095922470093,
-0.3367948532104492,
1.3939321041107178,
0.2093980312347412,
-0.5965325236320496,
0.06880145519971848,
0.034943364560604095,
0.0795343667268753,
-0.3623157739639282,
0.9725474119186401,
0.959852933883667,
0.3086608350276947,
0.1279354989528656,
-0.48028844594955444,
0.46886593103408813,
0.44101375341415405,
-0.48919162154197693,
0.0698268935084343,
0.33809107542037964,
0.1116865947842598,
0.28350862860679626,
0.2688172161579132,
0.02252647466957569,
0.0490131713449955,
-0.1396087408065796,
0.3032197654247284,
0.23164668679237366,
-0.36596521735191345,
-0.16609542071819305,
0.27877700328826904,
0.1958794891834259,
-0.3769899904727936
] |
http://arxiv.org/abs/2405.19988v1
|
http://arxiv.org/pdf/2405.19988v1
|
Video-Language Critic: Transferable Reward Functions for Language-Conditioned Robotics
| 2024-05-30T12:18:06 | 2024-05-30T12:18:06 |
Minttu Alakuijala, Reginald McLean, Isaac Woungang, Nariman Farsad, Samuel Kaski, Pekka Marttinen, Kai Yuan
|
cs.RO
|
cs.RO, cs.AI, cs.CL, cs.CV, cs.LG
|
Natural language is often the easiest and most convenient modality for humans
to specify tasks for robots. However, learning to ground language to behavior
typically requires impractical amounts of diverse, language-annotated
demonstrations collected on each target robot. In this work, we aim to separate
the problem of what to accomplish from how to accomplish it, as the former can
benefit from substantial amounts of external observation-only data, and only
the latter depends on a specific robot embodiment. To this end, we propose
Video-Language Critic, a reward model that can be trained on readily available
cross-embodiment data using contrastive learning and a temporal ranking
objective, and use it to score behavior traces from a separate reinforcement
learning actor. When trained on Open X-Embodiment data, our reward model
enables 2x more sample-efficient policy training on Meta-World tasks than a
sparse reward only, despite a significant domain gap. Using in-domain data but
in a challenging task generalization setting on Meta-World, we further
demonstrate more sample-efficient training than is possible with prior
language-conditioned reward models that are either trained with binary
classification, use static images, or do not leverage the temporal information
present in video data.
|
[
-0.29911842942237854,
-0.6458122730255127,
0.4266450107097626,
0.06697743386030197,
0.053349997848272324,
0.14569371938705444,
-0.48409387469291687,
-0.03306742385029793,
0.31097742915153503,
0.29524821043014526,
-0.6459479928016663,
-0.19747109711170197,
-0.7627968192100525,
-0.2069614976644516,
-0.1817292869091034,
1.2782436609268188,
-0.14693452417850494,
-0.32308053970336914,
-0.07275901734828949,
-0.3063696622848511,
-0.05564112961292267,
-0.517579972743988,
-0.5789885520935059,
-0.4873257875442505,
0.5652141571044922,
0.40617430210113525,
0.4477115273475647,
0.37249743938446045,
0.41695636510849,
0.4068540334701538,
0.3350868821144104,
0.07718957960605621,
-0.551805317401886,
-0.2998334467411041,
-0.5857712626457214,
-0.4470668435096741,
-0.02701660990715027,
0.03436770290136337,
0.34623289108276367,
0.6157656908035278,
-0.12453242391347885,
0.06278195977210999,
0.023930959403514862,
0.4893791377544403,
-0.8797495365142822,
0.4211368262767792,
-0.3677101731300354,
0.2552902400493622,
0.3933112919330597,
-0.4022018313407898,
-0.404863566160202,
-0.37441107630729675,
0.01662258803844452,
-0.7337538599967957,
-0.02605033665895462,
-0.3053464889526367,
0.8996936678886414,
0.44078129529953003,
-0.39600521326065063,
-0.06112620234489441,
-1.0651503801345825,
0.7539268136024475,
-0.09523508697748184,
0.42548197507858276,
0.49581214785575867,
0.4435780942440033,
0.3190966248512268,
-0.5147863626480103,
-0.6749809980392456,
-0.541203498840332,
-0.10994788259267807,
0.14211654663085938,
-0.32089143991470337,
0.0656244158744812,
0.34204229712486267,
0.1202147826552391,
-0.4950338900089264,
-0.10193883627653122,
-0.17681199312210083,
-0.1948416829109192,
0.4419213533401489,
0.21407294273376465,
0.19811756908893585,
-0.17033348977565765,
-0.44131016731262207,
-0.776016116142273,
-0.35485509037971497,
0.6111488342285156,
0.43821755051612854,
0.3135245442390442,
-0.30722561478614807,
0.47515609860420227,
-0.4334096610546112,
0.5896191596984863,
-0.20426851511001587,
-0.08574875444173813,
0.2135200947523117,
-0.25631222128868103,
-0.16945217549800873,
-0.4369366466999054,
0.6097904443740845,
0.4906827211380005,
0.3812696039676666,
-0.2810896933078766,
-0.3337496519088745,
0.30332812666893005,
0.4751136004924774,
-0.7175890803337097,
-0.5516209602355957,
-0.07025445252656937,
-0.28798753023147583,
-0.3403930962085724,
0.37840524315834045,
-0.6559976935386658,
-0.331268310546875,
-0.37911728024482727,
0.677406370639801,
-0.16915373504161835,
-0.2148725688457489,
0.08362917602062225,
-0.43751394748687744,
0.03694690763950348,
0.2522887885570526,
-0.8830416202545166,
0.6298445463180542,
0.4016357362270355,
0.7028968334197998,
-0.03452533483505249,
-0.2967122495174408,
-1.108962059020996,
0.23075604438781738,
-0.19426710903644562,
0.7625667452812195,
-0.7046640515327454,
-0.060010358691215515,
0.2088785618543625,
0.20181070268154144,
-0.08083155006170273,
-0.44956690073013306,
0.26370295882225037,
-0.24563702940940857,
0.07475528866052628,
-0.13055789470672607,
-0.2869836390018463,
-0.37134966254234314,
0.4777304232120514,
-0.7994755506515503,
0.714486300945282,
0.5095632076263428,
-0.2825171947479248,
0.5196675658226013,
-0.4687724709510803,
-0.5268052220344543,
-0.20043107867240906,
-0.2152286320924759,
-0.058295443654060364,
-0.133306622505188,
0.16581779718399048,
0.39609473943710327,
0.08675549179315567,
0.14886407554149628,
-0.33585238456726074,
-0.3418518304824829,
0.37160974740982056,
-0.23644699156284332,
0.2106955200433731,
0.027677135542035103,
-0.44255951046943665,
0.031288325786590576,
-0.49214911460876465,
-0.02823513187468052,
0.043128032237291336,
-0.2991071045398712,
-0.3512941896915436,
0.135686457157135,
0.08718009293079376,
0.30461668968200684,
-0.14529730379581451,
-0.6019887924194336,
0.30932727456092834,
-0.16398657858371735,
0.3054039776325226,
0.8376445174217224,
-0.12866397202014923,
0.588826596736908,
-0.4275071918964386,
0.8726473450660706,
-0.3889707326889038,
0.07608921080827713,
-0.09946311265230179,
0.03551258146762848,
-0.6391304135322571,
-0.3916209936141968,
0.11290434747934341,
0.6181216239929199,
-1.015791654586792,
0.2568250894546509,
-0.3532257676124573,
-0.25588420033454895,
-0.31636616587638855,
0.14658409357070923,
0.5327476859092712,
0.2906344532966614,
0.3030008375644684,
-0.4483485519886017,
-0.5856916308403015,
-0.8261727690696716,
-0.15637759864330292,
-0.28368425369262695,
-0.080558180809021,
0.6982011795043945,
0.5365710854530334,
-0.024539504200220108,
0.6200313568115234,
-0.6832181811332703,
-0.41367393732070923,
-0.5735393762588501,
0.24250218272209167,
0.052408814430236816,
0.29649612307548523,
0.4329319894313812,
-0.7563530802726746,
-0.3409713804721832,
0.10880456864833832,
-0.6601834893226624,
-0.12783746421337128,
-0.38589686155319214,
0.21725492179393768,
0.14594842493534088,
0.7071117162704468,
-0.47978007793426514,
0.3483316898345947,
0.6746695041656494,
-0.2356627881526947,
0.0010814513079822063,
-0.17747265100479126,
0.2791043519973755,
-0.45984214544296265,
0.15907056629657745,
-0.02114764042198658,
-0.4779623746871948,
-0.40519991517066956,
0.04123106971383095,
-0.32537394762039185,
-0.040113188326358795,
-0.4365299344062805,
0.6796718835830688,
0.09194721281528473,
-0.04831458628177643,
-0.4579375088214874,
0.195301815867424,
-0.2203531712293625,
1.135987401008606,
0.4807051122188568,
0.25369805097579956,
0.3845387399196625,
-0.9548637866973877,
0.45658352971076965,
0.08479881286621094,
-0.40016624331474304,
0.4604116976261139,
-0.5792291760444641,
0.10542124509811401,
-0.04293539747595787,
0.32735854387283325,
-0.7898625135421753,
-0.17438165843486786,
0.6030036807060242,
-0.46341362595558167,
0.049753349274396896,
-0.21943336725234985,
-0.13140800595283508,
-0.06834865361452103,
-0.2740039825439453,
0.28519317507743835,
0.476494699716568,
-0.6644410490989685,
0.5582895278930664,
0.36700278520584106,
-0.04566431790590286,
-0.6209036111831665,
-0.6373550295829773,
-0.23475438356399536,
-0.1095055341720581,
-0.16968800127506256,
0.499769389629364,
-0.016587601974606514,
-0.16474506258964539,
0.21866494417190552,
-0.24362832307815552,
0.018572645261883736,
0.1077863797545433,
0.26789966225624084,
-0.010331923142075539,
0.3344319462776184,
0.27661240100860596,
-0.20859485864639282,
-0.22142672538757324,
0.10996866971254349,
-0.11431955546140671,
0.4596327245235443,
0.07072461396455765,
-0.2976820170879364,
-0.16079716384410858,
0.33879393339157104,
0.04444187134504318,
0.0607997290790081,
0.3806852698326111,
0.5416514873504639,
-0.2658569812774658,
-0.5577787160873413,
-0.04837965592741966,
-0.31267809867858887,
-0.4757569432258606,
0.6601959466934204,
-0.30753543972969055,
-0.8343475461006165,
0.06646620482206345,
-0.04131963104009628,
-0.024583810940384865,
-0.019395960494875908,
0.5088081955909729,
-0.03968852385878563,
0.9177203178405762,
0.8098567724227905,
-0.14344348013401031,
0.9482592940330505,
-0.3943915367126465,
-0.012316967360675335,
-0.4462050497531891,
-0.49550530314445496,
-0.39168259501457214,
-0.3958066403865814,
-0.5583798885345459,
-0.46344777941703796,
0.24966704845428467,
-0.1787424087524414,
-0.3679969608783722,
0.5103488564491272,
-0.19649790227413177,
0.35962235927581787,
0.5476295351982117,
0.33568692207336426,
0.06140385940670967,
0.0015584338689222932,
0.061388999223709106,
-0.04638775810599327,
-0.5694956183433533,
-0.27876123785972595,
0.8676163554191589,
0.0006231935694813728,
0.9591001868247986,
0.11356880515813828,
0.5574026107788086,
0.5157956480979919,
0.13091886043548584,
-0.8914183378219604,
0.5581437349319458,
-0.2969183325767517,
-0.12271155416965485,
-0.2868843674659729,
-0.4623776376247406,
-0.9490451812744141,
0.18101900815963745,
-0.09495298564434052,
-0.7529610395431519,
-0.020652372390031815,
0.3136032819747925,
-0.15533983707427979,
0.36673516035079956,
-0.5663199424743652,
0.9306365847587585,
-0.2498728185892105,
-0.4878615736961365,
-0.5269344449043274,
-0.5540264844894409,
0.19754020869731903,
0.4878363609313965,
0.3097521662712097,
0.08156538754701614,
-0.056502118706703186,
0.5353116989135742,
-0.3276374936103821,
0.8845083713531494,
-0.4112878739833832,
0.19563201069831848,
0.2627118229866028,
0.4043850004673004,
0.5517176389694214,
0.03935093805193901,
0.5841951370239258,
-0.39359673857688904,
-0.23925232887268066,
-0.31487324833869934,
-1.1913061141967773,
0.295903742313385,
-0.7101603746414185,
-0.45461225509643555,
-0.4334818124771118,
-0.41299962997436523,
-0.24790573120117188,
-0.35731807351112366,
-0.0720553994178772,
0.19946210086345673,
-0.3467473089694977,
0.2365393191576004,
0.5340160727500916,
-0.4059252142906189,
0.4454401433467865,
0.6201691627502441,
-0.21012412011623383,
-0.2846510112285614,
1.276538372039795,
-0.42574837803840637,
0.39247116446495056,
1.0091383457183838,
0.16629263758659363,
-0.12464012950658798,
0.14784322679042816,
-0.27723050117492676,
-0.1437608152627945,
-0.6746839880943298,
-0.02344576269388199,
-0.6206932067871094,
-0.04883633926510811,
0.010136129334568977,
-0.29034775495529175,
-0.4527231454849243,
-0.5819969773292542,
0.19416865706443787,
-0.30538901686668396,
0.400608628988266,
0.6552388668060303,
-0.44824743270874023,
0.27386367321014404,
-0.6323315501213074,
0.5692192316055298,
0.5495479106903076,
0.33384424448013306,
-0.24897944927215576,
-0.558527410030365,
-0.3033353090286255,
-0.05799871310591698,
-0.2006532996892929,
-0.5951066017150879,
0.36326515674591064,
0.20209991931915283,
0.6468947529792786,
0.2737884521484375,
-0.010349194519221783,
0.4223767817020416,
-0.20574596524238586,
0.6668661236763,
0.08670082688331604,
-1.020376205444336,
0.4840361475944519,
-0.055667877197265625,
0.11247338354587555,
0.4659906029701233,
0.514000654220581,
-0.7165502905845642,
-0.2906971275806427,
-0.5446696281433105,
-0.7183321118354797,
0.9451140761375427,
0.00608494458720088,
0.3153153955936432,
0.06840846687555313,
-0.011684156954288483,
0.14179061353206635,
0.1725924015045166,
-1.0683554410934448,
0.18692892789840698,
-0.46827247738838196,
0.007952488027513027,
-0.41681385040283203,
0.4225156307220459,
-0.2866823077201843,
-0.23972439765930176,
0.3575957119464874,
-0.48471206426620483,
0.3752170503139496,
0.14573156833648682,
-0.41738858819007874,
0.012101399712264538,
0.23936155438423157,
0.5008671283721924,
0.02569887414574623,
-0.2578602731227875,
0.2646631896495819,
0.02869841456413269,
-0.07557579129934311,
0.34488439559936523,
-0.133121520280838,
0.015992149710655212,
-0.15567147731781006,
0.42083680629730225,
0.9928054809570312,
0.34293293952941895,
-0.9915304183959961,
0.7500070333480835,
0.15315257012844086,
-0.33654648065567017,
-0.2696453928947449,
0.2446129024028778,
-0.2611761689186096,
0.4107222855091095,
-0.14363859593868256,
0.13548918068408966,
0.2606453597545624,
-0.8823118209838867,
0.34146538376808167,
0.38779720664024353,
-0.6141356229782104,
-0.5008948445320129,
0.43617257475852966,
0.10842788219451904,
-0.2647725045681,
0.6268636584281921,
-0.4142186939716339,
-0.6936660408973694,
0.639412522315979,
0.2652502655982971,
0.9363767504692078,
0.03622692823410034,
0.69172203540802,
0.40623605251312256,
0.3330972492694855,
-0.1302248239517212,
0.3625575006008148,
-0.5409324765205383,
-0.7496599555015564,
-0.45147907733917236,
-0.2132948935031891,
-0.6572280526161194,
-0.05451831966638565,
-0.7503960728645325,
0.1001490131020546,
-0.42555996775627136,
0.021514950320124626,
-0.3040582537651062,
-0.34189265966415405,
-0.8272621035575867,
0.3237869441509247,
0.20657336711883545,
0.49889934062957764,
-1.1023292541503906,
0.7185595631599426,
0.7423374056816101,
-0.6190270781517029,
-0.6131185293197632,
-0.17723232507705688,
-0.34775686264038086,
-0.7663475275039673,
0.9530637860298157,
0.0964311957359314,
-0.4792225956916809,
-0.5952459573745728,
-0.6876503229141235,
-0.6714267134666443,
0.7557079195976257,
0.3723694682121277,
-0.26248183846473694,
-0.029017623513936996,
-0.009737784042954445,
0.5992135405540466,
-0.2815828025341034,
0.4405527710914612,
0.4003627598285675,
0.4914299249649048,
-0.0786159485578537,
-0.6278465390205383,
0.11575035750865936,
-0.3890472650527954,
-0.2212827503681183,
0.2353944331407547,
-0.8564193248748779,
0.6365354657173157,
-0.3034680485725403,
-0.0643976554274559,
-0.127693310379982,
0.4503946304321289,
0.14599570631980896,
0.32611316442489624,
0.8504171967506409,
0.535080075263977,
0.4194908142089844,
0.029507722705602646,
1.3065274953842163,
0.10606716573238373,
0.23982438445091248,
0.9556278586387634,
-0.21980667114257812,
0.8162378072738647,
0.5283348560333252,
-0.22527433931827545,
0.9382718205451965,
0.2672782838344574,
-0.1079135462641716,
0.9397656321525574,
0.4207223057746887,
-0.00720263971015811,
-0.5546801090240479,
-0.33843401074409485,
0.14639198780059814,
0.6548700332641602,
0.11116361618041992,
-0.16676479578018188,
-0.0995975062251091,
0.23711831867694855,
-0.27190569043159485,
0.4072612524032593,
-0.2549668848514557,
0.7408012747764587,
0.0005753726582042873,
-1.0120009183883667,
0.21651309728622437,
-0.07400558888912201,
0.6111158728599548,
-0.7674151062965393,
-0.41051816940307617,
-0.1566985845565796,
0.4436546266078949,
-0.11015613377094269,
-0.6703737378120422,
0.369174063205719,
-0.016909562051296234,
-0.013982469215989113,
-0.5125450491905212,
0.2961764335632324,
-0.40798288583755493,
-0.017829053103923798,
0.5675833821296692,
0.40085628628730774,
0.193825826048851,
-0.04196319356560707,
-0.3662976324558258,
-0.06807518005371094,
-0.09966159611940384,
-0.29916852712631226,
0.403493195772171,
0.19918441772460938,
-0.09554224461317062,
0.9077813625335693,
0.28797075152397156,
0.033295854926109314,
-0.24394257366657257,
0.11946424096822739,
0.7967786192893982,
-0.8212580680847168,
-0.5625506639480591,
-0.6712664365768433,
0.46267756819725037,
0.053290896117687225,
-0.3465111553668976,
0.30690279603004456,
0.39191484451293945,
1.3215546607971191,
-0.17200325429439545,
0.898994505405426,
-0.3673514425754547,
0.3763905167579651,
-0.8448628783226013,
0.1360425055027008,
-0.7766291499137878,
-0.05383256822824478,
-0.3763633072376251,
-0.5235646963119507,
0.145961731672287,
0.7258641123771667,
0.03196769952774048,
0.2662915587425232,
0.7993878126144409,
0.6688818335533142,
0.10267339646816254,
-0.22051513195037842,
0.2511323094367981,
-0.27854272723197937,
0.2070191204547882,
1.1316449642181396,
1.0720964670181274,
-0.14006875455379486,
1.0165820121765137,
-0.5496412515640259,
-0.14971010386943817,
-0.1555001586675644,
-0.7221512198448181,
-0.8749368190765381,
-0.6801045536994934,
-0.34093594551086426,
-0.17094531655311584,
0.17438916862010956,
1.0852242708206177,
0.8514657616615295,
-0.6684622764587402,
-0.4367355704307556,
-0.08683605492115021,
0.13454747200012207,
-0.780015230178833,
-0.21997232735157013,
0.21421483159065247,
-0.34183555841445923,
-1.004692554473877,
0.5379935503005981,
0.11575601249933243,
-0.22953617572784424,
-0.19062316417694092,
-0.30270591378211975,
0.14943042397499084,
-0.13008442521095276,
0.6014876365661621,
0.62936931848526,
-0.49771061539649963,
-0.5391343235969543,
0.18192362785339355,
-0.09619466960430145,
-0.029217496514320374,
1.2800787687301636,
-1.0593245029449463,
0.4449954330921173,
0.598162055015564,
0.834740400314331,
0.8210189342498779,
-0.028408030048012733,
0.7910550832748413,
-0.817141056060791,
0.26577284932136536,
0.22579842805862427,
0.3535684049129486,
0.25488871335983276,
-0.006412073969841003,
0.7054969668388367,
0.32574138045310974,
-0.3232533931732178,
-0.6662895083427429,
0.42710259556770325,
-1.2008360624313354,
-0.3790948688983917,
1.3423839807510376,
-0.13506606221199036,
-0.0409749299287796,
0.11829819530248642,
-0.14175894856452942,
0.327394962310791,
-0.4728744626045227,
0.8423855304718018,
0.5550299882888794,
-0.06499968469142914,
-0.4125724136829376,
-0.5911209583282471,
0.6378581523895264,
0.6774972081184387,
-0.8203454613685608,
-0.05139933153986931,
0.2188292145729065,
0.1491990089416504,
-0.10852567106485367,
0.5898693799972534,
0.19380995631217957,
0.5042020678520203,
0.1782749891281128,
0.2679912745952606,
-0.13164246082305908,
-0.6631441116333008,
-0.4609491229057312,
0.13961078226566315,
-0.01537386979907751,
-0.4261385202407837
] |
http://arxiv.org/abs/2405.19967v2
|
http://arxiv.org/pdf/2405.19967v2
|
Improved Out-of-Scope Intent Classification with Dual Encoding and Threshold-based Re-Classification
| 2024-05-30T11:46:42 | 2024-05-31T08:54:24 |
Hossam M. Zawbaa, Wael Rashwan, Sourav Dutta, Haytham Assem
|
cs.CL
|
cs.CL, cs.AI, cs.LG
|
Detecting out-of-scope user utterances is essential for task-oriented
dialogues and intent classification. Current methodologies face difficulties
with the unpredictable distribution of outliers and often rely on assumptions
about data distributions. We present the Dual Encoder for Threshold-Based
Re-Classification (DETER) to address these challenges. This end-to-end
framework efficiently detects out-of-scope intents without requiring
assumptions on data distributions or additional post-processing steps. The core
of DETER utilizes dual text encoders, the Universal Sentence Encoder (USE) and
the Transformer-based Denoising AutoEncoder (TSDAE), to generate user utterance
embeddings, which are classified through a branched neural architecture.
Further, DETER generates synthetic outliers using self-supervision and
incorporates out-of-scope phrases from open-domain datasets. This approach
ensures a comprehensive training set for out-of-scope detection. Additionally,
a threshold-based re-classification mechanism refines the model's initial
predictions. Evaluations on the CLINC-150, Stackoverflow, and Banking77
datasets demonstrate DETER's efficacy. Our model outperforms previous
benchmarks, increasing up to 13% and 5% in F1 score for known and unknown
intents on CLINC-150 and Stackoverflow, and 16% for known and 24% % for unknown
intents on Banking77. The source code has been released at
https://github.com/Hossam-Mohammed-tech/Intent_Classification_OOS.
|
[
-0.1127789244055748,
-0.39946448802948,
0.45537614822387695,
-0.2794472575187683,
0.02212384156882763,
-0.07625216245651245,
-0.2826361358165741,
-0.3235098421573639,
0.03601662442088127,
0.7895126938819885,
-0.5440196394920349,
-0.48668354749679565,
-0.7397972941398621,
-0.1455400586128235,
-0.3928682208061218,
0.6650368571281433,
0.023906614631414413,
-0.049184493720531464,
-0.09660816937685013,
-0.08727779239416122,
-0.6781312823295593,
-0.5108383297920227,
-0.8218409419059753,
0.14553694427013397,
-0.14063362777233124,
0.6757307648658752,
-0.05427045747637749,
-0.08894190192222595,
0.34060564637184143,
0.2085551768541336,
0.16633395850658417,
0.49421459436416626,
-0.5006898641586304,
0.3672873079776764,
0.03045368194580078,
-0.279143750667572,
-0.20435039699077606,
-0.18110427260398865,
0.45798298716545105,
0.23783159255981445,
0.1009945273399353,
0.12798148393630981,
-0.028078090399503708,
0.5921668410301208,
-0.7237750291824341,
0.3882560431957245,
-0.34146982431411743,
-0.10484548658132553,
-0.3186206519603729,
-0.15613943338394165,
-0.9541754126548767,
0.13537083566188812,
0.022779492661356926,
-0.27394571900367737,
-0.18922880291938782,
-0.03613702580332756,
0.36671143770217896,
0.49340197443962097,
-0.6783917546272278,
-0.6233211159706116,
-0.5454797148704529,
0.7984175682067871,
-0.4982154667377472,
0.8887725472450256,
0.3292860686779022,
0.3448771834373474,
-0.42286595702171326,
-0.7083505988121033,
-0.11007944494485855,
-0.0743844136595726,
0.022636430338025093,
0.05845041200518608,
-0.3936014175415039,
-0.04103362560272217,
0.10426077246665955,
0.21732014417648315,
-0.3414362668991089,
-0.005172077100723982,
-0.2180202454328537,
-0.21040727198123932,
0.5928496718406677,
0.04089196026325226,
0.2821189761161804,
0.10446332395076752,
-0.46815919876098633,
-0.0734492689371109,
-0.41442030668258667,
0.4408513307571411,
0.33497321605682373,
0.18295924365520477,
-0.004524515941739082,
0.5085209608078003,
-0.23573167622089386,
0.455022394657135,
0.5890903472900391,
0.12487509846687317,
0.24397845566272736,
-0.4831467866897583,
-0.0031972259748727083,
0.3010130822658539,
0.6699690818786621,
0.29891425371170044,
0.04089151695370674,
-0.11566141247749329,
-0.24481354653835297,
0.042147308588027954,
0.42572954297065735,
-0.7823923230171204,
0.14872558414936066,
0.11081588268280029,
-0.48483985662460327,
-0.04545405134558678,
0.29786252975463867,
-0.49674028158187866,
-0.4812913239002228,
-0.026181669905781746,
0.3915955424308777,
-0.3836800456047058,
-0.22461938858032227,
0.48365411162376404,
-0.20605161786079407,
-0.06296855956315994,
0.18803182244300842,
-0.746778666973114,
0.4550316333770752,
0.5175210237503052,
0.6676177382469177,
-0.19947904348373413,
0.13578516244888306,
-0.6149033904075623,
0.030090395361185074,
-0.18613867461681366,
0.31548285484313965,
-0.5142313838005066,
-0.17365673184394836,
-0.06792700290679932,
-0.19417916238307953,
-0.1194683238863945,
-0.2797825038433075,
0.8208025097846985,
-0.5356824994087219,
0.39915984869003296,
0.0222761407494545,
-0.7119786739349365,
-0.48896047472953796,
-0.047564681619405746,
-0.5276843309402466,
0.7688581347465515,
0.30123060941696167,
-0.6198043823242188,
0.6980375647544861,
-1.2313588857650757,
-0.31401365995407104,
0.20267923176288605,
-0.26091596484184265,
-0.3624410331249237,
0.16716337203979492,
0.12457307428121567,
0.20974215865135193,
-0.3634636700153351,
0.4020337164402008,
0.004333337303251028,
-0.46514585614204407,
0.37915512919425964,
-0.8662325739860535,
0.6640276908874512,
0.11468455195426941,
-0.5323079824447632,
0.28728142380714417,
-0.30596107244491577,
0.1626686304807663,
-0.29792773723602295,
-0.10446993261575699,
-0.38818472623825073,
-0.12228976935148239,
-0.27399930357933044,
0.25886407494544983,
0.26442399621009827,
-0.8979946374893188,
-0.23509615659713745,
-0.27031269669532776,
0.5393438339233398,
0.29116129875183105,
0.254661500453949,
0.546948254108429,
-0.1222541406750679,
0.23868389427661896,
0.23244155943393707,
0.5092040300369263,
0.0677206888794899,
-0.9636131525039673,
-0.47196799516677856,
-0.44533371925354004,
-0.06531648337841034,
0.49573183059692383,
-0.26784443855285645,
0.952635645866394,
-0.401020884513855,
-0.15102966129779816,
-0.33657506108283997,
-0.05070672556757927,
0.5097974538803101,
0.4661780297756195,
0.3834867775440216,
-0.7304098606109619,
-0.5733429193496704,
-0.4032943844795227,
-0.2777172327041626,
-0.1680850386619568,
0.11594274640083313,
0.47003984451293945,
0.4370841979980469,
-0.7198564410209656,
1.1979539394378662,
-0.26313531398773193,
-0.7507666349411011,
-0.25945377349853516,
0.2836802899837494,
0.05505722016096115,
0.1098373532295227,
0.28236865997314453,
-0.9728193879127502,
-0.5702734589576721,
-0.13867759704589844,
-0.5403425097465515,
-0.030129380524158478,
-0.1629479080438614,
-0.009643231518566608,
0.3636181354522705,
0.581082820892334,
-0.4521600008010864,
0.9728643298149109,
0.17408642172813416,
-0.43707525730133057,
0.3002317249774933,
-0.20832863450050354,
0.24601134657859802,
-0.9611108899116516,
-0.26158371567726135,
-0.2604984641075134,
-0.12020844221115112,
-0.9299703240394592,
-0.4976884722709656,
0.325863242149353,
0.09463943541049957,
-0.435445100069046,
0.35553982853889465,
-0.43254098296165466,
-0.005581268575042486,
-0.2794422209262848,
-0.2583157420158386,
0.01763727329671383,
0.5374351143836975,
0.26639485359191895,
0.8050349354743958,
0.49924013018608093,
-0.5845258831977844,
0.24587629735469818,
0.4397530257701874,
-0.55558180809021,
0.4416312873363495,
-0.15182267129421234,
0.02248801663517952,
-0.006869025528430939,
0.4964026212692261,
-1.0860989093780518,
-0.23759298026561737,
0.6272791028022766,
-0.5701429843902588,
0.42108413577079773,
-0.35544100403785706,
0.055213019251823425,
-0.4053099751472473,
-0.5281366109848022,
0.5835563540458679,
0.484017550945282,
-0.7389394640922546,
0.5718674063682556,
0.6949031352996826,
0.304945707321167,
-0.6689502000808716,
-0.8565215468406677,
0.08141610771417618,
-0.4064417779445648,
-0.5628033876419067,
0.1307462751865387,
0.017951158806681633,
0.03941410034894943,
-0.08081778138875961,
-0.1218498945236206,
-0.1641479730606079,
-0.22003284096717834,
0.646616518497467,
-0.12265986204147339,
0.09415868669748306,
0.32749202847480774,
0.10279637575149536,
-0.094645194709301,
0.32417765259742737,
-0.6611862778663635,
0.4117468595504761,
-0.1557331085205078,
-0.4527595639228821,
-0.5795872211456299,
0.5299783945083618,
0.8729739785194397,
-0.17291781306266785,
0.34955185651779175,
0.6517677903175354,
-0.24680931866168976,
-0.17057868838310242,
-0.40582647919654846,
-0.35625511407852173,
-0.46441006660461426,
0.4736095666885376,
-0.48146408796310425,
-0.8852221369743347,
0.24092444777488708,
-0.037349455058574677,
0.11428140103816986,
0.14223173260688782,
0.3673076331615448,
0.34326013922691345,
0.7469499707221985,
0.5508247017860413,
0.19576552510261536,
0.6871786117553711,
-0.40050220489501953,
0.5538403987884521,
-1.1261942386627197,
-0.1074913740158081,
0.13903409242630005,
-0.02302420325577259,
-0.3130588233470917,
-0.6004424691200256,
0.3745277523994446,
-0.2666237950325012,
-0.09608103334903717,
0.5383137464523315,
-0.4344821870326996,
0.0958099439740181,
0.6530242562294006,
0.197178453207016,
0.09632281959056854,
-0.04251032695174217,
0.3314257264137268,
0.026690948754549026,
-0.5013400316238403,
-0.1973973661661148,
1.5418057441711426,
0.3543561100959778,
0.8342863917350769,
0.42173004150390625,
1.0597913265228271,
0.7031145095825195,
0.16231344640254974,
-0.9850322008132935,
0.44441893696784973,
-0.3295714855194092,
-0.6451902985572815,
-0.6037724614143372,
-0.6060863137245178,
-0.7220304012298584,
-0.004995379131287336,
0.14493602514266968,
-0.8656553030014038,
0.541986346244812,
-0.23523738980293274,
-0.6046981811523438,
0.4505740702152252,
-0.9135813117027283,
1.0479439496994019,
-0.3681470453739166,
0.015877394005656242,
0.030547527596354485,
-0.5520156621932983,
0.4227822422981262,
-0.3414478003978729,
0.1018996387720108,
-0.09831612557172775,
-0.07805908471345901,
0.9382519125938416,
-0.3061150312423706,
1.0914305448532104,
-0.31340792775154114,
-0.14875277876853943,
0.7366877794265747,
-0.20293231308460236,
0.443098783493042,
0.21200107038021088,
0.08296455442905426,
0.2602907121181488,
-0.27515625953674316,
0.321537584066391,
-0.5108841061592102,
0.4995608329772949,
-0.5529179573059082,
-0.3299115002155304,
-0.21738207340240479,
-0.6864158511161804,
-0.17717885971069336,
0.2915028929710388,
0.5855128765106201,
0.7849244475364685,
-0.1592387706041336,
0.3171354830265045,
0.6747123599052429,
0.15297801792621613,
0.323649138212204,
0.42730915546417236,
0.1945887804031372,
-0.178361713886261,
0.7200576663017273,
-0.1983237862586975,
0.2637277841567993,
0.5449689030647278,
0.15892581641674042,
-0.9544899463653564,
-0.3937154710292816,
-0.49709588289260864,
-0.008605806156992912,
-0.7383351922035217,
-0.3995663821697235,
-0.7223901152610779,
-0.32079482078552246,
-0.742530882358551,
-0.15004265308380127,
-0.40811923146247864,
-0.08741336315870285,
-0.2967151701450348,
0.24572311341762543,
0.439081072807312,
0.623434841632843,
-0.23944562673568726,
0.18859831988811493,
-0.4954569935798645,
0.2706835865974426,
0.1883348673582077,
0.1810074895620346,
-0.5079377889633179,
-1.1053574085235596,
-0.05306103453040123,
0.34847548604011536,
0.26437532901763916,
-0.8584486842155457,
0.42112258076667786,
0.45760390162467957,
0.44554781913757324,
0.6615433096885681,
0.5782884359359741,
0.39096546173095703,
-0.12362141162157059,
0.3177182674407959,
0.4147760570049286,
-0.9408701062202454,
0.4169570207595825,
0.1291913241147995,
0.21719710528850555,
0.7102897763252258,
0.2074698954820633,
-0.5573052763938904,
-0.3389354646205902,
-0.26017993688583374,
-0.7081714868545532,
1.0967445373535156,
-0.032494496554136276,
-0.09777134656906128,
-0.12828779220581055,
0.11232667416334152,
0.2778465747833252,
-0.015177961438894272,
-0.4081796109676361,
-0.07204186171293259,
-0.0820479467511177,
-0.45964187383651733,
0.053182076662778854,
-0.5137485861778259,
0.08271045982837677,
0.06291761249303818,
0.4132014811038971,
-0.07232880592346191,
0.3429804742336273,
0.13530190289020538,
-0.31624823808670044,
-0.1733914464712143,
0.4362478256225586,
0.5342773199081421,
0.34002506732940674,
-0.525479257106781,
-0.0035167315509170294,
0.09948521852493286,
-0.7845122218132019,
0.2920657694339752,
-0.20764245092868805,
-0.18912409245967865,
-0.054486483335494995,
-0.12714003026485443,
0.6481008529663086,
0.3817768394947052,
-0.7312938570976257,
0.772430419921875,
-0.5947773456573486,
-0.10107403248548508,
-0.6027154326438904,
-0.0045366231352090836,
-0.4488712549209595,
0.11906091123819351,
0.08087223768234253,
0.39016032218933105,
0.6101373434066772,
-0.4909304082393646,
0.4806417226791382,
0.31973889470100403,
-0.7354108691215515,
-0.05264601111412048,
0.3114257752895355,
0.3231399655342102,
-0.23696669936180115,
0.6538143157958984,
-0.8493913412094116,
-0.5373085141181946,
0.2864401340484619,
0.5589846968650818,
1.2227956056594849,
-0.14032791554927826,
0.25331470370292664,
0.2842189371585846,
0.10223431140184402,
-0.02349441684782505,
0.3566669225692749,
-0.40735098719596863,
-0.8485724925994873,
-0.21923866868019104,
-0.36085230112075806,
-0.2875157594680786,
-0.011079026386141777,
-0.7307322025299072,
0.1370937079191208,
-0.17741863429546356,
-0.4026109576225281,
-0.21524517238140106,
-0.18417014181613922,
-0.25430476665496826,
-0.1023302748799324,
0.17444007098674774,
0.5631778836250305,
-0.6668765544891357,
0.8045272827148438,
0.6000450849533081,
-0.07494036853313446,
-0.24456825852394104,
-0.06921698153018951,
0.19021490216255188,
-0.5513790845870972,
0.639864981174469,
0.6396575570106506,
-0.614073634147644,
-0.07139086723327637,
0.16462847590446472,
-0.9433672428131104,
0.921591579914093,
-0.1264685094356537,
-0.5157121419906616,
0.20165741443634033,
0.11797328293323517,
0.12539131939411163,
-0.6397750377655029,
0.35173794627189636,
0.5561429858207703,
0.3503296971321106,
0.1662455052137375,
-0.7314196228981018,
0.06852500885725021,
0.04842536896467209,
-0.45242124795913696,
0.6700313091278076,
-0.1495184600353241,
0.5878398418426514,
-0.42916813492774963,
-0.44057324528694153,
-0.03491635248064995,
0.43790489435195923,
-0.16880282759666443,
0.43362197279930115,
0.7054480910301208,
0.5114619135856628,
0.6479747891426086,
-0.19879038631916046,
0.5320163369178772,
-0.2698952257633209,
0.14116652309894562,
1.1449370384216309,
-0.35434699058532715,
0.7341777682304382,
0.23227788507938385,
0.20773500204086304,
0.4764087200164795,
0.3218276798725128,
0.4132915735244751,
0.6937867403030396,
0.03745594248175621,
-0.40417760610580444,
-0.2564079761505127,
-0.16102193295955658,
-0.17536555230617523,
0.8129358291625977,
0.9032956957817078,
-0.05793432146310806,
-0.18495191633701324,
0.1271171122789383,
-0.27004921436309814,
-0.18964242935180664,
-0.25876182317733765,
0.6893393993377686,
0.0030468942131847143,
-0.5353100895881653,
0.3600235879421234,
-0.09357594698667526,
1.0850815773010254,
-0.6198013424873352,
0.14439672231674194,
0.0005565155297517776,
0.6657471060752869,
-0.006527445744723082,
-0.8529059886932373,
0.274095356464386,
0.003381516085937619,
-0.14518937468528748,
-0.4811311960220337,
0.8649863004684448,
-0.6423175930976868,
0.03487180173397064,
0.41844305396080017,
0.1514209359884262,
0.33097660541534424,
-0.37956517934799194,
-0.5733699798583984,
-0.024484848603606224,
0.0958501547574997,
0.18172165751457214,
0.011723300442099571,
0.507097065448761,
-0.49176958203315735,
0.6099588871002197,
0.534581184387207,
-0.4682730436325073,
0.09198290854692459,
0.4179857075214386,
0.536205530166626,
-0.4379707872867584,
-0.7314310073852539,
-0.4301093518733978,
0.1097077801823616,
-0.1942780315876007,
-0.49318641424179077,
0.7276490926742554,
0.5440965890884399,
0.787203311920166,
-0.10930617898702621,
0.5351407527923584,
-0.22773464024066925,
0.33310726284980774,
-0.10146647691726685,
0.4854138195514679,
-0.3911316394805908,
0.11007736623287201,
0.33094653487205505,
-0.33585816621780396,
-0.11075180023908615,
0.22772426903247833,
-0.6172338724136353,
0.2893199622631073,
0.5343523025512695,
0.7429572939872742,
-0.1775728166103363,
0.08562561124563217,
0.4636158049106598,
-0.16356325149536133,
0.3018331825733185,
1.0037381649017334,
1.038923978805542,
-0.6227654814720154,
0.6562265753746033,
-0.105729840695858,
-0.5279840230941772,
-0.7275640368461609,
-0.2296670526266098,
-0.9563522934913635,
-0.5954498648643494,
-0.33236026763916016,
0.06703044474124908,
0.08742909878492355,
0.5204435586929321,
0.8990406394004822,
-0.8835541009902954,
-0.3065488934516907,
-0.4228760600090027,
-0.07343100756406784,
-0.3218046724796295,
-0.2591446042060852,
0.19020123779773712,
-0.6490979790687561,
-0.489518404006958,
0.742760956287384,
0.5925233364105225,
-0.027314715087413788,
0.01733931340277195,
-0.3910081684589386,
-0.2627048194408417,
0.10441931337118149,
0.5262535214424133,
0.3538404405117035,
-0.6053223013877869,
-0.2414461374282837,
0.07562992721796036,
-0.08005733788013458,
-0.14746490120887756,
0.7766462564468384,
-0.4023277163505554,
0.5363823771476746,
0.33658209443092346,
0.4638634920120239,
0.23753505945205688,
0.10578501969575882,
0.33035945892333984,
-0.885346531867981,
-0.058212172240018845,
0.35957449674606323,
0.311951607465744,
0.1379867047071457,
-0.6584457159042358,
0.4009876549243927,
-0.12496573477983475,
-0.45724812150001526,
-0.6378170251846313,
0.45171281695365906,
-0.8984104990959167,
-0.21721333265304565,
1.0129022598266602,
-0.24553246796131134,
-0.3441024720668793,
-0.7294267416000366,
-0.1955023556947708,
0.2180868536233902,
-0.6654927134513855,
0.6078794598579407,
0.22144554555416107,
-0.379586786031723,
0.08860848098993301,
-0.1290481984615326,
0.5770763754844666,
0.4433274567127228,
-0.6735590100288391,
0.45739102363586426,
0.3582872450351715,
0.018281400203704834,
0.25613486766815186,
0.7269218564033508,
-0.22000503540039062,
0.5558273792266846,
0.1250702142715454,
0.0580066442489624,
-0.28748175501823425,
-0.6266845464706421,
-0.19629009068012238,
-0.1716902256011963,
-0.266623854637146,
-0.7543820738792419
] |
http://arxiv.org/abs/2405.19958v1
|
http://arxiv.org/pdf/2405.19958v1
|
Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentation
| 2024-05-30T11:25:42 | 2024-05-30T11:25:42 |
Yi Liu, Xiangyu Liu, Xiangrong Zhu, Wei Hu
|
cs.CL
|
cs.CL, cs.AI
|
Multi-aspect controllable text generation aims to control the generated texts
in attributes from multiple aspects (e.g., "positive" from sentiment and
"sport" from topic). For ease of obtaining training samples, existing works
neglect attribute correlations formed by the intertwining of different
attributes. Particularly, the stereotype formed by imbalanced attribute
correlations significantly affects multi-aspect control. In this paper, we
propose MAGIC, a new multi-aspect controllable text generation method with
disentangled counterfactual augmentation. We alleviate the issue of imbalanced
attribute correlations during training using counterfactual feature vectors in
the attribute latent space by disentanglement. During inference, we enhance
attribute correlations by target-guided counterfactual augmentation to further
improve multi-aspect control. Experiments show that MAGIC outperforms
state-of-the-art baselines in both imbalanced and balanced attribute
correlation scenarios. Our source code and data are available at
https://github.com/nju-websoft/MAGIC.
|
[
-0.5823296308517456,
-1.0671420097351074,
0.1797768622636795,
0.4241923391819,
-0.3285677433013916,
0.27480578422546387,
0.0973406508564949,
-0.3524293005466461,
0.46596381068229675,
0.21072451770305634,
-0.8285502791404724,
-0.10734106600284576,
-0.758095383644104,
-0.16233035922050476,
-0.26741257309913635,
1.3601707220077515,
-0.1734597384929657,
0.15175090730190277,
-0.5592561364173889,
-0.18595799803733826,
-0.4135657250881195,
-0.6047781109809875,
-0.19445379078388214,
-0.605915367603302,
0.4750055968761444,
0.3395185172557831,
0.8185541033744812,
0.10757649689912796,
0.5826621651649475,
0.36177700757980347,
0.023443397134542465,
0.6850008368492126,
-0.2878396809101105,
0.22526521980762482,
-0.31588858366012573,
-0.2970031201839447,
-0.8263715505599976,
0.45446017384529114,
0.43296343088150024,
0.21092727780342102,
-0.0883791521191597,
0.034189753234386444,
0.34972384572029114,
0.6870885491371155,
-0.8317942023277283,
-0.158349871635437,
-0.5439451336860657,
0.18251709640026093,
-0.030292518436908722,
-0.44362741708755493,
0.005655309185385704,
-0.08178693801164627,
-0.10475771129131317,
-0.8332359790802002,
0.4193328619003296,
0.2599242925643921,
0.8915764689445496,
0.09403664618730545,
-0.5043959021568298,
-0.014310579746961594,
-0.9347934722900391,
0.9504204988479614,
-0.5384793877601624,
0.15138578414916992,
0.6710330247879028,
0.03960994631052017,
-0.08237074315547943,
-0.28094425797462463,
-1.085180640220642,
-0.014977635815739632,
-0.21487906575202942,
0.5270015597343445,
-0.09832927584648132,
-0.17342627048492432,
0.09576214849948883,
0.41329315304756165,
-0.48838508129119873,
0.002400345867499709,
-0.026910636574029922,
-0.08848102390766144,
0.7308265566825867,
0.056898269802331924,
0.2343509942293167,
-0.0396733283996582,
-0.12550266087055206,
-0.25530514121055603,
-0.6274966597557068,
-0.08233906328678131,
0.6532822847366333,
-0.18182097375392914,
-0.07270534336566925,
0.6470901370048523,
-0.22339916229248047,
0.35414329171180725,
0.6162689328193665,
-0.5516840219497681,
0.45924699306488037,
-0.43968021869659424,
-0.008432881906628609,
0.2294895499944687,
1.0023558139801025,
0.6592045426368713,
-0.20050227642059326,
-0.041991692036390305,
0.17414157092571259,
-0.18918518722057343,
0.4665793180465698,
-0.8670900464057922,
-0.21340663731098175,
0.43472713232040405,
-0.28987058997154236,
-0.6169038414955139,
0.040638815611600876,
-0.6966766715049744,
-0.3576420545578003,
-0.324339359998703,
0.561039388179779,
-0.6580607295036316,
-0.514831006526947,
-0.2586001455783844,
-0.19338417053222656,
-0.09663715958595276,
0.3126576840877533,
-0.9209626913070679,
-0.11940764635801315,
0.48621734976768494,
0.6502304673194885,
-0.1993427276611328,
-0.4287703037261963,
-0.3628869652748108,
0.1863728016614914,
-0.4582587778568268,
0.5206650495529175,
-0.5501980781555176,
-0.26805371046066284,
-0.2299371361732483,
-0.2478986531496048,
0.1971171498298645,
-0.19545847177505493,
0.1402176469564438,
-0.5190595388412476,
0.520011842250824,
0.09782743453979492,
-0.31681057810783386,
-0.08942274004220963,
0.6362915635108948,
-0.7062069773674011,
0.8149278163909912,
-0.17869560420513153,
-0.76483553647995,
0.5738841891288757,
-0.5547601580619812,
-0.6757041215896606,
-0.3054858446121216,
-0.04137104004621506,
-1.1901017427444458,
0.2830355763435364,
0.3335551917552948,
0.1227174773812294,
-0.0812765583395958,
0.23769433796405792,
-0.37632569670677185,
0.01357987243682146,
0.6940748691558838,
-0.9788482785224915,
0.2790597975254059,
0.20448380708694458,
-0.25053924322128296,
-0.15659622848033905,
-0.8450559377670288,
0.0561758391559124,
0.024907803162932396,
0.04470914229750633,
-0.5296192169189453,
0.07855835556983948,
-0.11836519837379456,
0.4061169922351837,
0.39127758145332336,
-0.5524940490722656,
0.15732085704803467,
-0.16481105983257294,
-0.11925449967384338,
0.35276445746421814,
0.006154373753815889,
0.581737220287323,
-0.20752264559268951,
0.2970307767391205,
0.6277915239334106,
0.3449234068393707,
-0.15967313945293427,
-0.2832639515399933,
-0.6533200144767761,
-0.16792719066143036,
0.1734512746334076,
0.5873966813087463,
-1.2059102058410645,
0.7668080925941467,
0.16824056208133698,
-0.5778567790985107,
-0.49024495482444763,
0.17730851471424103,
0.8078905344009399,
0.5093449354171753,
0.6209139823913574,
-0.31393226981163025,
-0.09985785186290741,
-0.8900606036186218,
-0.3052087724208832,
0.11722449958324432,
-0.019515831023454666,
0.18663902580738068,
0.3922511637210846,
0.23842093348503113,
0.9412990808486938,
-0.628475546836853,
-0.5135291218757629,
-0.070034459233284,
0.7525952458381653,
-0.1423911154270172,
0.8291522860527039,
0.6477695107460022,
-1.2634789943695068,
-0.5504933595657349,
-0.14468052983283997,
-0.623828649520874,
-0.18820202350616455,
-0.4014337360858917,
-0.33177369832992554,
0.20058037340641022,
0.13514365255832672,
-0.4510990083217621,
0.5563225150108337,
0.67254638671875,
-0.43728819489479065,
0.5281084179878235,
-0.38724085688591003,
0.7125303745269775,
-1.3202277421951294,
-0.07932340353727341,
0.14462949335575104,
-0.11259352415800095,
-0.6525852680206299,
-0.18878600001335144,
0.16938699781894684,
0.3584257960319519,
-0.45504453778266907,
0.06640158593654633,
-0.31073492765426636,
0.46628403663635254,
-0.7455626726150513,
-0.18442413210868835,
0.48367223143577576,
0.6237738132476807,
0.19031012058258057,
0.6912505626678467,
0.46885553002357483,
-0.5157466530799866,
0.25865933299064636,
0.09962347894906998,
0.1464620977640152,
1.1746143102645874,
-0.32972246408462524,
0.046202827244997025,
-0.33218303322792053,
0.04278404265642166,
-0.7932982444763184,
-0.05648154765367508,
0.18314626812934875,
-0.45797884464263916,
0.5645664930343628,
0.156034454703331,
-0.5196784138679504,
-0.30527645349502563,
-0.39979106187820435,
0.15513858199119568,
0.30839088559150696,
-0.3045674264431,
0.7298492193222046,
0.22116251289844513,
0.06316554546356201,
-0.5802305936813354,
-0.8979393839836121,
0.002650217618793249,
-0.23814831674098969,
-0.18784646689891815,
0.5538893342018127,
-0.2475174069404602,
0.04378751665353775,
-0.03469885513186455,
-0.27081790566444397,
-0.1642593890428543,
0.0012349063763394952,
0.17868949472904205,
0.314605176448822,
0.17224633693695068,
0.022475464269518852,
0.8581846356391907,
-0.05625855550169945,
-0.0507853738963604,
-0.14696727693080902,
0.32631227374076843,
0.21198807656764984,
-0.6189466118812561,
-0.2975442707538605,
0.5355450510978699,
0.2346010059118271,
-0.4257686138153076,
1.1013596057891846,
0.6874865293502808,
-0.010809573344886303,
0.000011232591532461811,
-0.3997418284416199,
-0.1379023790359497,
-0.5231388807296753,
0.5282928347587585,
-0.3876303732395172,
-0.6565975546836853,
0.27386486530303955,
0.05379842594265938,
0.3224369287490845,
0.3965989053249359,
0.485751748085022,
-0.3167155981063843,
1.1983987092971802,
0.47874367237091064,
0.2366880625486374,
0.7190755605697632,
-0.1346844583749771,
0.1506447196006775,
-0.6460405588150024,
-0.17962974309921265,
-0.07206945866346359,
-0.660258948802948,
-0.5841926336288452,
-0.3383217751979828,
0.5434730648994446,
0.6338748931884766,
-0.13440640270709991,
0.16079507768154144,
-0.6799591779708862,
0.5251901745796204,
0.71049565076828,
0.42446964979171753,
0.5507188439369202,
0.05286101996898651,
-0.023204313591122627,
-0.3432489335536957,
-0.43491148948669434,
-0.30909642577171326,
0.972178041934967,
0.023232553154230118,
0.9242685437202454,
0.21141865849494934,
0.6424201726913452,
0.19428189098834991,
0.515002965927124,
-0.3247399926185608,
0.1584218591451645,
-0.38122811913490295,
-0.6028492450714111,
-0.21524669229984283,
-0.3057132065296173,
-0.44177815318107605,
0.34640926122665405,
-0.8646992444992065,
-0.4251014292240143,
0.23623746633529663,
0.7386051416397095,
-0.0901319831609726,
0.34175994992256165,
-0.6433510780334473,
0.4315839111804962,
-0.3797355890274048,
-0.6909371018409729,
-0.2556436061859131,
-0.30265989899635315,
0.42582157254219055,
-0.34534332156181335,
0.04595236852765083,
0.2047964483499527,
0.2271973192691803,
0.6378515958786011,
-0.5469211935997009,
0.7782962322235107,
-0.11575129628181458,
-0.29120439291000366,
0.34788018465042114,
0.11396051943302155,
0.392566055059433,
0.09505826979875565,
0.26635563373565674,
0.4157918095588684,
-0.2681049108505249,
-0.1557179093360901,
-0.8393869996070862,
0.7403654456138611,
-0.702755868434906,
-0.43973714113235474,
-0.43531614542007446,
-0.6362473368644714,
-0.3141128718852997,
0.32001617550849915,
0.4991455078125,
0.32273632287979126,
-0.2203667014837265,
0.13278858363628387,
0.7211851477622986,
-0.23692698776721954,
0.6121898889541626,
0.9191393852233887,
-0.23845399916172028,
-0.6074613928794861,
1.20259690284729,
0.20387762784957886,
0.33223041892051697,
0.5808957815170288,
0.17498962581157684,
-0.22546423971652985,
-0.47331503033638,
-0.3649350106716156,
-0.3547309637069702,
-0.07097747176885605,
-0.41746363043785095,
-0.5682807564735413,
-0.3807113468647003,
-0.362082839012146,
0.025409389287233353,
-0.6151832342147827,
-0.32151567935943604,
-0.4083893299102783,
0.009025008417665958,
0.643103837966919,
0.46095266938209534,
-0.25829875469207764,
0.7075095772743225,
-0.7177397608757019,
0.7218393087387085,
0.3207607865333557,
0.30120936036109924,
-0.056033745408058167,
-0.26030173897743225,
-0.38225057721138,
0.35428348183631897,
-1.0221505165100098,
-0.7611309289932251,
0.42236679792404175,
0.15608204901218414,
0.2535551190376282,
0.5225536227226257,
0.18197518587112427,
0.6504120826721191,
-0.6933245658874512,
0.7576111555099487,
0.8669865131378174,
-0.768767774105072,
0.4758882522583008,
0.007620969321578741,
0.21194228529930115,
0.2411951869726181,
0.2361152619123459,
-0.267738401889801,
-0.9634871482849121,
-0.5969147682189941,
-0.7138489484786987,
0.7849869132041931,
0.5484717488288879,
0.1582903414964676,
0.12254638224840164,
0.0667014867067337,
0.3411092758178711,
0.5872516632080078,
-0.6323207020759583,
-0.6819180250167847,
-0.9246131777763367,
-0.23454873263835907,
0.054129406809806824,
-0.12360485643148422,
-0.20831657946109772,
-0.13541455566883087,
0.5752785205841064,
-0.09529485553503036,
-0.015233081765472889,
0.2431114912033081,
0.02143799513578415,
-0.20426592230796814,
0.3251580595970154,
0.6304128766059875,
0.4118090569972992,
-0.038080692291259766,
0.23429466784000397,
0.05304979532957077,
-0.933326780796051,
0.17609430849552155,
0.3934725522994995,
-0.3404645025730133,
-0.2606652081012726,
0.30058902502059937,
0.8896298408508301,
-0.39623841643333435,
0.10627631098031998,
0.3443923890590668,
0.11130250990390778,
-0.5238751769065857,
0.03922365605831146,
0.30554547905921936,
-0.09669403731822968,
0.2911341190338135,
0.5654188990592957,
0.18827827274799347,
0.0081907594576478,
-0.08958439528942108,
0.18890829384326935,
0.6111624836921692,
-0.307400107383728,
-0.1464971899986267,
0.8168880939483643,
0.23391158878803253,
-0.18404611945152283,
0.16262228786945343,
-0.40680408477783203,
-0.35030627250671387,
0.3922870457172394,
0.6946175694465637,
0.8121048212051392,
-0.2014106810092926,
0.41157132387161255,
0.13971500098705292,
0.307159423828125,
0.2478928118944168,
0.24747537076473236,
-0.0016777750570327044,
-0.8342417478561401,
-0.5844624042510986,
-0.6074501276016235,
-0.45847102999687195,
0.24039985239505768,
-0.44445428252220154,
-0.17100751399993896,
-0.2680000066757202,
-0.21377032995224,
-0.16648179292678833,
0.017400039359927177,
-0.3479365110397339,
0.36346662044525146,
0.056516338139772415,
0.3605060279369354,
-0.9597774147987366,
0.8701260685920715,
0.5792690515518188,
-0.5616880655288696,
-0.5027412176132202,
0.17913492023944855,
0.07239720970392227,
-0.31792348623275757,
0.42161303758621216,
-0.09133903682231903,
-0.15148460865020752,
-0.27711737155914307,
-0.7389833331108093,
-0.7439961433410645,
1.1350444555282593,
0.050670742988586426,
-0.7322007417678833,
0.1797240525484085,
0.44440051913261414,
0.5909519195556641,
-0.1822323203086853,
0.5073229074478149,
0.25198549032211304,
0.44964638352394104,
0.3313024044036865,
-0.9000121355056763,
-0.21369558572769165,
-0.23486509919166565,
-0.06883639842271805,
0.1448172926902771,
-0.7265788912773132,
0.9237291216850281,
0.2573617696762085,
0.2316259890794754,
-0.15941041707992554,
1.1268553733825684,
0.5116131901741028,
0.32622963190078735,
0.4352744221687317,
0.5869565010070801,
0.38355523347854614,
-0.08460940420627594,
0.721023440361023,
-0.48444053530693054,
0.19887244701385498,
1.289750576019287,
-0.0634143278002739,
0.4666951596736908,
0.5426873564720154,
-0.12026578933000565,
0.46811142563819885,
0.24639546871185303,
0.08283168822526932,
0.6920737028121948,
-0.21120113134384155,
-0.3141544461250305,
-0.2748223543167114,
-0.03309512138366699,
-0.2617810368537903,
0.41985949873924255,
0.3130573332309723,
-0.24727188050746918,
-0.21414929628372192,
0.3549026846885681,
0.20213313400745392,
0.12379856407642365,
-0.3155829906463623,
0.819913923740387,
-0.09708625823259354,
-0.7934187650680542,
0.1508360207080841,
-0.029103102162480354,
1.05118727684021,
-0.8346462845802307,
-0.34323132038116455,
-0.27796635031700134,
0.24384698271751404,
-0.24946190416812897,
-1.0769137144088745,
0.147030308842659,
-0.03500067815184593,
-0.4128956198692322,
-0.3222608268260956,
0.6441571712493896,
-0.8925285339355469,
-0.6613546013832092,
-0.23026509582996368,
0.3178519010543823,
-0.19207987189292908,
-0.20917892456054688,
-0.8169147968292236,
-0.3752228319644928,
-0.23106132447719574,
-0.4904928207397461,
0.43940219283103943,
0.6526614427566528,
-0.18043449521064758,
0.2144961804151535,
0.6370046138763428,
0.15912729501724243,
-0.1608750969171524,
-0.0630945935845375,
0.843856155872345,
-0.36439037322998047,
-0.6473284959793091,
-0.9539739489555359,
0.5492045283317566,
-0.42147523164749146,
-0.39440858364105225,
0.9404834508895874,
0.46975231170654297,
0.5315842628479004,
-0.03137074038386345,
0.5846215486526489,
-0.398478627204895,
0.46338456869125366,
-0.5856642127037048,
1.1215604543685913,
-0.8498072028160095,
-0.12246107310056686,
-0.5435211062431335,
-0.8242769837379456,
-0.17046751081943512,
0.3688400089740753,
-0.10036905854940414,
0.08042502403259277,
0.6541426777839661,
0.8431642651557922,
-0.248477041721344,
-0.2580200433731079,
0.27756693959236145,
-0.11026927828788757,
0.5958791375160217,
0.30208316445350647,
0.5302873849868774,
-0.4661261737346649,
0.4406243562698364,
-0.46487778425216675,
-0.3994327187538147,
0.09865933656692505,
-1.163270354270935,
-0.9198611974716187,
-0.5960218906402588,
-0.412665456533432,
-0.5138987898826599,
-0.17047086358070374,
0.6833676695823669,
0.5979629158973694,
-0.8649823069572449,
0.39608126878738403,
-0.08444765210151672,
0.3005124628543854,
-0.5010705590248108,
-0.26932239532470703,
0.42334383726119995,
-0.09748324006795883,
-0.9893391728401184,
-0.025168461725115776,
0.18139037489891052,
0.32440632581710815,
-0.5628317594528198,
-0.1834196001291275,
-0.2934533357620239,
0.06527366489171982,
0.647233784198761,
0.11965212225914001,
-0.35395506024360657,
-0.063084177672863,
-0.2393617182970047,
-0.14473794400691986,
-0.008879098109900951,
0.7127646803855896,
-0.6045202016830444,
0.4995061755180359,
0.32459571957588196,
0.02005862258374691,
0.36092254519462585,
0.1262010782957077,
0.6448451280593872,
-1.1762733459472656,
0.25313374400138855,
-0.20407840609550476,
-0.0206078439950943,
0.07147520035505295,
-0.4890042245388031,
-0.018070204183459282,
0.270541787147522,
-0.28109031915664673,
-0.2917002737522125,
0.1090068593621254,
-0.7248516082763672,
-0.3999521732330322,
0.9359186887741089,
0.1363595575094223,
-0.2498752325773239,
0.09263727068901062,
-0.38532862067222595,
0.3644675612449646,
-0.35520726442337036,
0.8820195198059082,
0.6048623323440552,
-0.23921699821949005,
-0.17449340224266052,
-0.0024063962046056986,
0.6142136454582214,
0.3649289608001709,
-0.848789632320404,
-0.15864816308021545,
0.6030518412590027,
-0.040896009653806686,
0.567703366279602,
0.5609082579612732,
-0.0750456303358078,
0.10111632198095322,
0.07298391312360764,
0.30123481154441833,
-0.5019584894180298,
-0.4684641361236572,
0.10474365949630737,
0.05702937766909599,
-0.34494614601135254,
-0.3864278793334961
] |
http://arxiv.org/abs/2405.19954v1
|
http://arxiv.org/pdf/2405.19954v1
|
GenKubeSec: LLM-Based Kubernetes Misconfiguration Detection, Localization, Reasoning, and Remediation
| 2024-05-30T11:18:52 | 2024-05-30T11:18:52 |
Ehud Malul, Yair Meidan, Dudu Mimran, Yuval Elovici, Asaf Shabtai
|
cs.CR
|
cs.CR, cs.CL, cs.DC, cs.LG
|
A key challenge associated with Kubernetes configuration files (KCFs) is that
they are often highly complex and error-prone, leading to security
vulnerabilities and operational setbacks. Rule-based (RB) tools for KCF
misconfiguration detection rely on static rule sets, making them inherently
limited and unable to detect newly-discovered misconfigurations. RB tools also
suffer from misdetection, since mistakes are likely when coding the detection
rules. Recent methods for detecting and remediating KCF misconfigurations are
limited in terms of their scalability and detection coverage, or due to the
fact that they have high expertise requirements and do not offer automated
remediation along with misconfiguration detection. Novel approaches that employ
LLMs in their pipeline rely on API-based, general-purpose, and mainly
commercial models. Thus, they pose security challenges, have inconsistent
classification performance, and can be costly. In this paper, we propose
GenKubeSec, a comprehensive and adaptive, LLM-based method, which, in addition
to detecting a wide variety of KCF misconfigurations, also identifies the exact
location of the misconfigurations and provides detailed reasoning about them,
along with suggested remediation. When empirically compared with three
industry-standard RB tools, GenKubeSec achieved equivalent precision (0.990)
and superior recall (0.999). When a random sample of KCFs was examined by a
Kubernetes security expert, GenKubeSec's explanations as to misconfiguration
localization, reasoning and remediation were 100% correct, informative and
useful. To facilitate further advancements in this domain, we share the unique
dataset we collected, a unified misconfiguration index we developed for label
standardization, our experimentation code, and GenKubeSec itself as an
open-source tool.
|
[
-0.5950449705123901,
-0.5027734637260437,
0.569695770740509,
0.05850493535399437,
-0.4741184711456299,
0.4332726299762726,
0.15743915736675262,
-0.09924585372209549,
0.23818911612033844,
0.6478328108787537,
-0.4684004485607147,
-0.9509972333908081,
-0.6261325478553772,
-0.06326118856668472,
-0.19322478771209717,
0.7901301980018616,
-0.0029202585574239492,
-0.2860183119773865,
-0.3080607056617737,
-0.27671363949775696,
-0.849381148815155,
-0.2371262162923813,
-0.7036556601524353,
-0.22344601154327393,
0.2566477060317993,
0.8875932097434998,
0.7385590672492981,
0.21719291806221008,
0.37351685762405396,
0.2631211578845978,
-0.36449915170669556,
0.34952858090400696,
-0.2536792457103729,
0.5713323354721069,
-0.02863435633480549,
-0.6308569312095642,
-0.1704220473766327,
-0.386887788772583,
0.36229944229125977,
0.27855798602104187,
-0.750573456287384,
0.05765543505549431,
-0.2196550816297531,
0.8738914728164673,
-1.1001554727554321,
-0.4378637671470642,
-0.639396607875824,
0.4464581608772278,
-0.050346869975328445,
-0.37424811720848083,
-0.44763967394828796,
-0.24088117480278015,
-0.3975633382797241,
-0.7960954904556274,
0.4171742796897888,
0.09039454162120819,
0.45593345165252686,
0.42874619364738464,
-0.4125630557537079,
-0.1644999384880066,
-0.8837242722511292,
0.38267794251441956,
-0.7502635717391968,
0.5734925866127014,
0.35520651936531067,
0.45955976843833923,
-0.8576083779335022,
-0.8403513431549072,
-0.17934390902519226,
-0.10609441250562668,
-0.37651628255844116,
0.18979129195213318,
-0.3261306583881378,
-0.03717268630862236,
0.27926886081695557,
-0.0634600892663002,
-0.46827802062034607,
0.4885968267917633,
-0.2900281846523285,
-0.632929801940918,
0.446998655796051,
0.29347002506256104,
-0.0610792376101017,
-0.20457318425178528,
-0.3578696846961975,
0.00048554365639574826,
-0.8487764000892639,
0.056650981307029724,
0.5778148174285889,
0.024203728884458542,
-0.38085705041885376,
-0.028633741661906242,
-0.6259377002716064,
0.4835662543773651,
0.061703428626060486,
-0.24441976845264435,
0.15034639835357666,
-0.25040146708488464,
-0.5101491212844849,
0.22006258368492126,
0.938643217086792,
0.31170886754989624,
0.0345943383872509,
-0.4800615608692169,
-0.1411283314228058,
-0.2579289972782135,
0.8139812350273132,
-0.7344822287559509,
-0.42344388365745544,
0.3020845949649811,
-0.4268640875816345,
-0.8210152387619019,
-0.10292111337184906,
-1.0504913330078125,
-0.7137138247489929,
-0.05708422511816025,
0.0501028448343277,
-0.5035095810890198,
-0.005731563549488783,
0.05331641808152199,
-0.21568484604358673,
0.35167407989501953,
0.26415419578552246,
-0.5557865500450134,
0.10428059101104736,
0.7200891971588135,
0.8113774061203003,
0.25426462292671204,
0.017049888148903847,
-0.24451830983161926,
0.245566725730896,
-0.5748651027679443,
0.9050712585449219,
-0.2817952334880829,
-0.7333406209945679,
-0.10817898064851761,
0.18925145268440247,
0.25207215547561646,
-0.5786949396133423,
0.6657098531723022,
-0.800148069858551,
-0.30367669463157654,
-0.06363989412784576,
-0.5904288291931152,
-0.12355348467826843,
-0.080473892390728,
-0.44019103050231934,
1.007680058479309,
-0.1348913460969925,
-0.5070769786834717,
0.45315951108932495,
-0.5528552532196045,
-0.45851218700408936,
0.40878117084503174,
-0.032699104398489,
-0.7735555768013,
-0.02828090637922287,
0.15791374444961548,
0.6761720180511475,
-0.03355082869529724,
0.23531368374824524,
-0.4346788823604584,
-0.32422366738319397,
0.026596209034323692,
0.15598668158054352,
0.8327410817146301,
0.3609050512313843,
-0.3429788053035736,
-0.054385945200920105,
-0.683294415473938,
0.02512355148792267,
0.2977026700973511,
-0.05382958799600601,
-0.2786847651004791,
0.29053568840026855,
-0.5665434002876282,
-0.4290969669818878,
-0.05181795731186867,
-0.43094223737716675,
0.15773922204971313,
0.16542114317417145,
0.4133144021034241,
0.905744194984436,
0.3871501684188843,
0.5449239611625671,
-0.06246687099337578,
0.697283923625946,
0.12422847747802734,
0.7430194020271301,
-0.1745879203081131,
-0.5555468201637268,
-0.7169996500015259,
-0.39333945512771606,
0.16700486838817596,
0.6961183547973633,
-0.4353574812412262,
0.4836544394493103,
0.05052439123392105,
-1.0251766443252563,
-0.4535711407661438,
0.34515005350112915,
0.18836714327335358,
0.5824199318885803,
0.1753213256597519,
-0.19523437321186066,
-0.6553933620452881,
-1.2335641384124756,
0.21493494510650635,
-0.07188203185796738,
0.05862673744559288,
-0.004109150264412165,
0.6152181625366211,
-0.3837434649467468,
0.8162592053413391,
-0.4952261745929718,
-0.05488845333456993,
0.3606347441673279,
0.14275367558002472,
0.21932284533977509,
0.31577983498573303,
0.7123069763183594,
-0.6779465079307556,
-0.05312220752239227,
0.15288761258125305,
-0.710797905921936,
-0.23963670432567596,
-0.23031458258628845,
-0.3213436007499695,
0.015348671935498714,
1.2112720012664795,
-0.46249648928642273,
0.17008523643016815,
0.4844055771827698,
-0.4401133358478546,
0.9851422905921936,
-0.44891440868377686,
0.24079729616641998,
-0.8783685564994812,
0.08287092298269272,
-0.21250326931476593,
-0.27360662817955017,
-0.7153212428092957,
0.34556424617767334,
0.43918362259864807,
0.262846976518631,
-0.28272098302841187,
-0.16025729477405548,
-0.09830101579427719,
-0.1967696249485016,
-0.16386018693447113,
0.05083880573511124,
0.04147518426179886,
0.2628163695335388,
-0.5547710061073303,
0.8469803929328918,
0.3990260660648346,
-0.732455313205719,
0.9109878540039062,
0.1356913149356842,
-0.5516229271888733,
0.68669593334198,
-0.4889165461063385,
0.46132051944732666,
-0.10010015964508057,
0.3398107886314392,
-1.0894675254821777,
-0.14191685616970062,
0.8095411062240601,
-0.2983933091163635,
0.09220366179943085,
-0.6297354102134705,
-0.70449298620224,
-0.03981999680399895,
-0.24351167678833008,
0.1345309466123581,
0.49853643774986267,
-0.5184153914451599,
0.8835187554359436,
-0.012399525381624699,
0.05178382247686386,
-0.6318818926811218,
-0.2623389661312103,
0.047071672976017,
-0.37695544958114624,
-0.34383758902549744,
0.38062843680381775,
-0.17737679183483124,
-0.09542398154735565,
-0.06552556157112122,
-0.35370051860809326,
-0.012218226678669453,
0.7209784388542175,
0.6670433282852173,
0.3923092186450958,
-0.09833264350891113,
0.1842866986989975,
0.39345860481262207,
-0.17191609740257263,
0.05143704637885094,
-0.04046981781721115,
0.2897374629974365,
-0.11636982858181,
-0.3832852840423584,
-0.27580443024635315,
0.04005156457424164,
0.8941823244094849,
-0.045986760407686234,
0.7193416357040405,
0.5319269895553589,
-0.03868602588772774,
-0.41757553815841675,
-0.5981320142745972,
0.013384242542088032,
-0.5405027270317078,
0.1689714640378952,
-0.3492489755153656,
-0.968977689743042,
0.6765263676643372,
-0.30845198035240173,
0.18091242015361786,
0.07873089611530304,
0.270855575799942,
-0.7411220669746399,
0.3199266195297241,
0.38556405901908875,
-0.249642476439476,
0.1781686544418335,
0.1319311410188675,
0.3660862147808075,
-0.6403414607048035,
-0.6042271256446838,
-0.637442409992218,
-0.5372043251991272,
-0.788716197013855,
-0.0383143350481987,
0.425626277923584,
0.5031043291091919,
-0.44346800446510315,
0.42589110136032104,
-0.5712770819664001,
0.6153948903083801,
0.6038529276847839,
0.003234035335481167,
0.37971436977386475,
-0.152068093419075,
-0.4104774296283722,
0.2810288071632385,
-0.8351743221282959,
-0.44275370240211487,
0.984204888343811,
0.19438932836055756,
0.5256893634796143,
0.14219899475574493,
0.6694427132606506,
0.7291061878204346,
0.3642268180847168,
-0.6289171576499939,
0.5757893919944763,
0.16917847096920013,
-0.4440174996852875,
-0.11770431697368622,
-0.3710627257823944,
-0.9156333208084106,
0.21247686445713043,
-0.4132439196109772,
-0.49611738324165344,
0.2977161407470703,
0.2751421630382538,
-0.5515292286872864,
0.5842193961143494,
-0.9735825657844543,
0.6364894509315491,
-0.014451496303081512,
0.3306443989276886,
-0.3672401010990143,
-0.5040988326072693,
0.2885012924671173,
-0.3595917224884033,
0.4213801920413971,
-0.15453387796878815,
-0.1607944816350937,
0.5857027769088745,
-0.2509188950061798,
0.9696662425994873,
-0.1620955467224121,
-0.28122153878211975,
0.09796296805143356,
0.38673579692840576,
0.6572799682617188,
0.3470565676689148,
0.3535999357700348,
0.4769718647003174,
0.022824812680482864,
-0.35932430624961853,
-0.5924801230430603,
0.6198652982711792,
-0.8173717260360718,
-0.5500147938728333,
-0.03270537033677101,
-0.3377898335456848,
-0.11919596791267395,
0.02785169705748558,
0.3379395306110382,
-0.17937618494033813,
-0.2061452716588974,
0.2602354884147644,
0.85551518201828,
-0.37539055943489075,
0.20186857879161835,
0.6855329275131226,
-0.05232730507850647,
-0.8009046912193298,
0.35262617468833923,
-0.22999244928359985,
0.3426547348499298,
0.2314322143793106,
-0.14662699401378632,
0.35602572560310364,
-0.6845703125,
-0.38098594546318054,
-0.017659272998571396,
-0.7651922702789307,
-0.7634643316268921,
-0.06392889469861984,
-0.047331418842077255,
-0.34570491313934326,
-0.48551467061042786,
-0.3583662807941437,
-0.14116911590099335,
0.02380577102303505,
-0.40772128105163574,
0.6293822526931763,
0.36911484599113464,
-0.2329002469778061,
0.8016129732131958,
-0.7197570204734802,
0.28875964879989624,
0.13140353560447693,
0.7006765007972717,
-0.20360954105854034,
-0.5052899718284607,
-0.19114631414413452,
-0.04185224696993828,
-0.2791476249694824,
-0.9566054344177246,
-0.2169916182756424,
-0.1363852173089981,
0.6158674359321594,
0.6162480115890503,
-0.16040469706058502,
0.20629848539829254,
-0.3535916209220886,
0.30561086535453796,
0.20732158422470093,
-0.7888501882553101,
0.6266885995864868,
-0.04134068265557289,
0.15421052277088165,
0.4875458776950836,
0.30459049344062805,
-0.9874471426010132,
-0.3972547948360443,
-0.5609861612319946,
-0.7350262999534607,
0.6426942944526672,
0.2084423452615738,
-0.13523417711257935,
0.5335277318954468,
0.7795813679695129,
0.059084661304950714,
0.02074907161295414,
-0.18231548368930817,
-0.6275440454483032,
-0.07523996382951736,
0.2323583960533142,
-0.007711711339652538,
-0.4727400243282318,
-0.2985226511955261,
0.09031669795513153,
0.9586247801780701,
-0.008939437568187714,
0.2997898459434509,
0.003649262711405754,
0.08182048052549362,
-0.08073265850543976,
0.415681391954422,
0.46561408042907715,
0.24581585824489594,
-0.30588504672050476,
0.019269518554210663,
0.635522723197937,
-0.49345672130584717,
0.492862343788147,
-0.13403578102588654,
-0.5855213403701782,
0.15380094945430756,
0.4874321520328522,
0.7051174640655518,
0.08532363176345825,
-0.5759077072143555,
0.16434429585933685,
-0.0016077872132882476,
-0.5028166770935059,
-0.4544660151004791,
0.4522464871406555,
0.3942447006702423,
0.4986552894115448,
-0.01590801402926445,
0.2395336925983429,
-0.05599421635270119,
-0.1464937925338745,
0.004748187959194183,
0.27632614970207214,
-0.11295624077320099,
0.0316958948969841,
0.13638019561767578,
0.14390544593334198,
-0.19106826186180115,
0.8278538584709167,
-0.32193636894226074,
-0.2948586642742157,
0.9580559730529785,
0.2080625593662262,
0.9070111513137817,
-0.4411727786064148,
0.485221803188324,
0.3900738060474396,
0.8359354138374329,
0.3043673634529114,
-0.10920444875955582,
-0.22105497121810913,
-1.3128435611724854,
-0.3086816072463989,
-0.4777624011039734,
-0.32888922095298767,
0.33300867676734924,
-0.49764037132263184,
0.2795024514198303,
-1.058505892753601,
-0.1094164177775383,
0.06659436225891113,
-0.6313261985778809,
-0.43116700649261475,
0.07253358513116837,
0.2776370644569397,
1.0398532152175903,
-1.021740198135376,
0.33697885274887085,
0.9619022011756897,
0.09660939127206802,
-0.4991726577281952,
-0.47526273131370544,
0.04922514408826828,
-0.6578182578086853,
0.2028374820947647,
-0.2642556130886078,
-0.20549258589744568,
-0.22186553478240967,
-0.7916158437728882,
-0.758237361907959,
1.5230093002319336,
0.3717784285545349,
-0.7838396430015564,
0.2960468828678131,
0.18158206343650818,
0.18398882448673248,
0.020743120461702347,
0.022393321618437767,
0.7611327171325684,
0.6302847862243652,
-0.26092395186424255,
-0.48806557059288025,
0.08790066093206406,
0.014335197396576405,
0.0030679679475724697,
0.6841098070144653,
-0.6920689344406128,
-0.3386485278606415,
-0.22351199388504028,
-0.15980669856071472,
-0.13598300516605377,
0.29196032881736755,
0.22928310930728912,
0.2431480437517166,
0.8541772365570068,
0.9110084176063538,
0.7800636291503906,
-0.13720907270908356,
0.7467089295387268,
-0.17064505815505981,
0.28435397148132324,
1.0183970928192139,
0.05178695544600487,
0.38702890276908875,
0.5094404220581055,
-0.21079686284065247,
0.6993077993392944,
0.8056837320327759,
-0.3842887580394745,
0.7319573760032654,
-0.09959650039672852,
-0.42526137828826904,
-0.6571581363677979,
0.06609378755092621,
-0.22271324694156647,
0.3138851523399353,
0.29981279373168945,
-0.30692124366760254,
-0.2556152641773224,
-0.25530683994293213,
0.13033486902713776,
-0.4574923813343048,
-0.23669910430908203,
0.5986401438713074,
0.239523246884346,
-0.37321022152900696,
0.35566359758377075,
0.2550640404224396,
0.43608906865119934,
-0.7465862035751343,
0.15416401624679565,
-0.43704771995544434,
0.019950831308960915,
-0.5190623998641968,
-0.6656880378723145,
0.34898078441619873,
-0.14725440740585327,
-0.17816822230815887,
-0.11267831176519394,
0.9107166528701782,
0.2559690475463867,
-0.13140223920345306,
0.48573651909828186,
0.2660679221153259,
-0.18003839254379272,
0.1549634039402008,
-0.4081418812274933,
0.055575113743543625,
0.19234837591648102,
-0.07321707159280777,
0.10239860415458679,
0.40942925214767456,
0.15616893768310547,
0.9356538653373718,
0.7688636183738708,
-0.1037721261382103,
0.031093211844563484,
0.22163651883602142,
0.6520595550537109,
-0.4438634216785431,
-0.3948485553264618,
-0.7998887896537781,
0.30535170435905457,
0.00021315630874596536,
-0.21815326809883118,
0.3308332860469818,
0.3631359934806824,
0.9810704588890076,
-0.07956451177597046,
0.7261510491371155,
-0.09317390620708466,
-0.004998824559152126,
-0.4639636278152466,
0.6440523266792297,
-0.3574306070804596,
0.1389666050672531,
-0.04078773036599159,
-0.5770226120948792,
-0.19048771262168884,
0.3637142777442932,
-0.0049807424657046795,
-0.2625069320201874,
0.4911315143108368,
1.298539161682129,
-0.20725049078464508,
0.2649800479412079,
0.3004664480686188,
0.3632943630218506,
0.2695005238056183,
0.3088896572589874,
0.8624480366706848,
-0.1596556156873703,
0.7264384031295776,
-0.3934878408908844,
-0.0710415244102478,
-0.3091132342815399,
-0.9365167021751404,
-0.3414338231086731,
-0.2581588327884674,
-0.42239776253700256,
-0.16848063468933105,
0.26422029733657837,
0.6203149557113647,
0.5116349458694458,
-0.877704918384552,
0.016193656250834465,
-0.33409982919692993,
0.2031136304140091,
-0.15841931104660034,
-0.13791745901107788,
-0.07879194617271423,
-0.4304514527320862,
0.0558001808822155,
0.5388335585594177,
0.3195030391216278,
-0.09536419808864594,
-0.03195643052458763,
-0.18307501077651978,
0.07958141714334488,
-0.2835180163383484,
0.3012954592704773,
0.13987763226032257,
-0.4538543224334717,
-0.3086147904396057,
-0.514968752861023,
-0.042710840702056885,
0.07714778184890747,
0.7575259804725647,
-0.5705869197845459,
0.44880592823028564,
0.22445081174373627,
0.6557936072349548,
0.359144926071167,
-0.4318617284297943,
0.392255961894989,
-0.8316956162452698,
-0.05342286080121994,
-0.07556911557912827,
0.6331607103347778,
0.20112405717372894,
-0.4760682284832001,
0.5301994681358337,
0.4448951482772827,
-0.39995473623275757,
-0.46488600969314575,
0.4656086564064026,
-0.5924006104469299,
-0.568623423576355,
0.859979510307312,
-0.04599050059914589,
0.17960427701473236,
-0.141991525888443,
-0.13450825214385986,
0.27267247438430786,
-0.37436941266059875,
1.0029317140579224,
0.9567694664001465,
0.09227436780929565,
0.014581738971173763,
-0.873673677444458,
0.29459574818611145,
0.5974730253219604,
-0.7844904065132141,
-0.0958283394575119,
0.5067548155784607,
0.6319568157196045,
0.24810968339443207,
0.1946132332086563,
-0.018439508974552155,
0.4256763160228729,
-0.23140908777713776,
0.28656578063964844,
-0.08406940847635269,
-0.26873719692230225,
-0.30796128511428833,
0.0978914201259613,
-0.027045369148254395,
-0.18055064976215363
] |
http://arxiv.org/abs/2406.15443v1
|
http://arxiv.org/pdf/2406.15443v1
|
ExU: AI Models for Examining Multilingual Disinformation Narratives and Understanding their Spread
| 2024-05-30T11:13:57 | 2024-05-30T11:13:57 |
Jake Vasilakes, Zhixue Zhao, Ivan Vykopal, Michal Gregor, Martin Hyben, Carolina Scarton
|
cs.CL
|
cs.CL, cs.AI
|
Addressing online disinformation requires analysing narratives across
languages to help fact-checkers and journalists sift through large amounts of
data. The ExU project focuses on developing AI-based models for multilingual
disinformation analysis, addressing the tasks of rumour stance classification
and claim retrieval. We describe the ExU project proposal and summarise the
results of a user requirements survey regarding the design of tools to support
fact-checking.
|
[
-0.4507097899913788,
-0.9983450770378113,
0.47816842794418335,
0.12053516507148743,
-0.10716073215007782,
0.23575858771800995,
0.03511140123009682,
-0.7924972772598267,
0.3061230182647705,
0.24307145178318024,
-0.4951222836971283,
-0.35716530680656433,
-0.7703810930252075,
0.17750728130340576,
-0.6547672152519226,
1.0912615060806274,
-0.15092696249485016,
-0.09160296618938446,
-0.18903186917304993,
-0.23240409791469574,
-0.07055646181106567,
-0.6327401995658875,
-0.5799545049667358,
-0.05192609131336212,
0.541539192199707,
0.717201292514801,
0.8729104399681091,
0.24769710004329681,
0.34787485003471375,
0.24624301493167877,
0.07160928100347519,
0.10470655560493469,
-0.30668285489082336,
-0.070704385638237,
-0.027683816850185394,
-0.8429580330848694,
-0.06608626991510391,
0.4690592586994171,
0.28522247076034546,
0.4638209640979767,
-0.40179818868637085,
0.48220810294151306,
-0.26539748907089233,
0.5253181457519531,
-0.3664707541465759,
0.343025267124176,
-0.29601821303367615,
0.008623163215816021,
-0.1636945605278015,
-0.012710035778582096,
-0.4344310164451599,
-0.4646013379096985,
0.1330660581588745,
-0.5542564988136292,
0.15520137548446655,
0.23672498762607574,
0.6713100075721741,
0.2693784832954407,
-0.7892466187477112,
-0.703787088394165,
-0.8459644317626953,
0.4229465126991272,
-0.5881624221801758,
0.48956334590911865,
0.6033269762992859,
0.23050335049629211,
0.006779317278414965,
-0.5748433470726013,
-0.9048628211021423,
-0.20024150609970093,
-0.3562910556793213,
0.1320728361606598,
-0.3662414252758026,
-0.2666383385658264,
0.38941067457199097,
0.2944975793361664,
-0.7254489660263062,
0.030927980318665504,
-0.5343770384788513,
-0.20413337647914886,
0.5665059685707092,
-0.17975832521915436,
0.4608883261680603,
-0.23713693022727966,
-0.2594725787639618,
0.02403835766017437,
-0.5900470018386841,
0.12370702624320984,
0.8746928572654724,
-0.1236901581287384,
-0.3657311499118805,
0.437089204788208,
-0.195712611079216,
0.4948704242706299,
-0.28302276134490967,
-0.3220674991607666,
0.38149210810661316,
-0.5342739224433899,
-0.18388210237026215,
0.40321987867355347,
0.47417008876800537,
0.39695873856544495,
-0.2633708715438843,
0.07965176552534103,
-0.06810920685529709,
0.3260495364665985,
0.002121059689670801,
-0.464485228061676,
-0.28382280468940735,
0.28901079297065735,
-0.5212909579277039,
-0.2796754837036133,
0.20390327274799347,
-0.9008499383926392,
-0.47970977425575256,
-0.43385469913482666,
0.337837278842926,
-0.4590098261833191,
-0.6023510694503784,
-0.0713883638381958,
-0.5862640738487244,
-0.09628814458847046,
0.5406278371810913,
-0.4775295853614807,
-0.16702933609485626,
0.37800219655036926,
0.5528639554977417,
0.1568124145269394,
-0.3916585147380829,
-0.4058064818382263,
0.06314083933830261,
-0.2734396159648895,
0.6805917024612427,
-0.6172346472740173,
-0.057278040796518326,
-0.005763980094343424,
0.08781548589468002,
0.017369257286190987,
-0.14871935546398163,
0.830173134803772,
-0.6994262337684631,
0.5490383505821228,
-0.13237497210502625,
-0.32618248462677,
-0.7851362228393555,
0.44054457545280457,
-1.0000602006912231,
1.0312035083770752,
0.20829598605632782,
-0.8942561745643616,
0.5271000266075134,
-0.7786052227020264,
-0.5310829281806946,
-0.06730714440345764,
-0.14629869163036346,
-0.29367396235466003,
0.26455914974212646,
0.1862766146659851,
0.15356135368347168,
-0.2418590933084488,
0.41547974944114685,
0.1320570707321167,
-0.0033333622850477695,
0.21380619704723358,
-0.7707808613777161,
0.9925513863563538,
0.4554610550403595,
-0.6419656276702881,
0.24940574169158936,
-0.7851080298423767,
-0.32184407114982605,
0.08940762281417847,
-0.3585968315601349,
-0.5720964670181274,
0.15745829045772552,
0.1998242735862732,
0.18352676928043365,
0.06219403073191643,
-0.5084993839263916,
0.21045759320259094,
0.07851046323776245,
0.2005598247051239,
0.17765851318836212,
-0.21890492737293243,
-0.032273899763822556,
-0.5219647884368896,
0.45970043540000916,
0.2903059422969818,
0.2818576395511627,
-0.4597882926464081,
-0.5006567239761353,
-0.7909224629402161,
0.04733419790863991,
0.09285356849431992,
0.7302626371383667,
-1.0294103622436523,
0.030117522925138474,
0.07904234528541565,
-0.7338479161262512,
-0.5196899175643921,
0.0506807379424572,
0.14465956389904022,
0.36783286929130554,
0.19975775480270386,
0.20502902567386627,
-0.6956736445426941,
-0.813633143901825,
-0.06840808689594269,
-0.6764405369758606,
0.35561603307724,
-0.08843521773815155,
0.4917309880256653,
-0.27851560711860657,
0.7849961519241333,
-0.1091194823384285,
-0.14818964898586273,
-0.5491132140159607,
0.6754050850868225,
0.28361839056015015,
0.11904145777225494,
0.815382182598114,
-1.6509969234466553,
-0.6197004318237305,
-0.017424196004867554,
-0.8486433029174805,
0.1644994616508484,
-0.1783127337694168,
0.3621242046356201,
0.5422841906547546,
0.4745693504810333,
-0.6550602912902832,
0.6970211267471313,
0.715389609336853,
-0.40560194849967957,
0.697902500629425,
-0.2581947445869446,
0.7140804529190063,
-0.9641192555427551,
0.15396979451179504,
0.06801017373800278,
-0.39897146821022034,
-0.6996967196464539,
0.2674310803413391,
0.04568895325064659,
-0.05687744915485382,
-0.6079418063163757,
-0.038978807628154755,
-0.6651493310928345,
0.3123428225517273,
-0.25198662281036377,
0.05795520171523094,
-0.030084753409028053,
0.0741179808974266,
0.14729246497154236,
0.23488329350948334,
0.5890771150588989,
-0.6872588992118835,
0.7841018438339233,
0.05795827880501747,
-0.6153329014778137,
0.6589511036872864,
-0.21957488358020782,
-0.03215473145246506,
-0.3052655756473541,
0.18740542232990265,
-1.1223230361938477,
-0.4581160843372345,
0.34135669469833374,
-0.5586299300193787,
0.18191108107566833,
-0.2731785178184509,
-0.7652868628501892,
-0.5130041241645813,
-0.2383420467376709,
0.262544721364975,
0.18530209362506866,
-0.5598647594451904,
0.7034103870391846,
0.7156103253364563,
-0.3677222728729248,
-0.6875011324882507,
-0.6236472129821777,
0.3116258680820465,
-0.46644192934036255,
-0.4400036931037903,
0.05017570033669472,
-0.17754970490932465,
-0.7532678246498108,
0.18072563409805298,
0.2755112648010254,
-0.218209370970726,
0.1455773264169693,
0.2043754607439041,
0.29629161953926086,
-0.23292182385921478,
-0.05051444098353386,
-0.005255995783954859,
-0.05215585231781006,
0.2930220067501068,
0.005682078190147877,
0.4278600811958313,
0.18145285546779633,
-0.5834870934486389,
-0.6658653616905212,
0.5499904751777649,
0.9594510793685913,
-0.29038766026496887,
0.9003238677978516,
0.7374729514122009,
-0.5449923872947693,
0.0661279559135437,
-0.7874398231506348,
0.05582784116268158,
-0.3805617690086365,
0.36954161524772644,
-0.27919071912765503,
-0.5746241807937622,
0.24331268668174744,
-0.029024172574281693,
0.260894238948822,
0.4701509177684784,
0.5897925496101379,
0.06991493701934814,
0.8789501190185547,
0.9548397064208984,
-0.3646250069141388,
0.0126992492005229,
-0.10023489594459534,
0.21487078070640564,
0.0019041193882003427,
-0.3675190806388855,
-0.41008493304252625,
-0.4110996425151825,
-0.28649193048477173,
-0.40663066506385803,
0.34486234188079834,
-0.07507463544607162,
0.5132580399513245,
0.1781887263059616,
-0.29855188727378845,
0.2822112739086151,
0.6736363172531128,
-0.38487330079078674,
0.7387067675590515,
0.12206834554672241,
0.009565258398652077,
0.14273804426193237,
-0.5653436779975891,
-0.4692811071872711,
0.6797001957893372,
0.38481947779655457,
0.918660581111908,
0.5488933324813843,
0.08907648921012878,
0.5738856196403503,
0.46762439608573914,
-0.5944513082504272,
0.10504008829593658,
0.29255905747413635,
-1.001817226409912,
-0.5385417938232422,
-0.23876243829727173,
-0.5459141135215759,
0.053678132593631744,
-0.08055292814970016,
-0.5452579259872437,
0.05765972286462784,
0.1854756623506546,
-0.33346688747406006,
0.6119117140769958,
-0.55411297082901,
0.474430650472641,
-0.5796820521354675,
0.23525893688201904,
-0.6460220813751221,
-0.7186161279678345,
0.4421040117740631,
-0.3689996600151062,
0.739425539970398,
-0.08583396673202515,
0.20780806243419647,
0.598882257938385,
0.04194575175642967,
0.980305552482605,
-0.2252947986125946,
-0.29545295238494873,
0.5524638295173645,
0.017453119158744812,
0.4369981288909912,
0.32226264476776123,
-0.22471047937870026,
0.3086559772491455,
0.21999280154705048,
0.025326602160930634,
-0.22411379218101501,
0.4416221082210541,
-0.8162403106689453,
-0.6080679893493652,
-0.6226655840873718,
-0.6227253675460815,
0.15498483180999756,
0.1647978574037552,
0.4199925661087036,
0.24145197868347168,
-0.5209639072418213,
0.19672136008739471,
0.5280213952064514,
-0.17407798767089844,
0.42545589804649353,
1.0488924980163574,
-0.5151633620262146,
0.06038270890712738,
0.7896419167518616,
0.3062266707420349,
-0.17270627617835999,
0.6395648717880249,
0.1307304948568344,
-0.48542386293411255,
-0.6496155261993408,
-0.855418860912323,
0.013181623071432114,
-0.6412506699562073,
0.03401400148868561,
-0.6180833578109741,
-0.1436719447374344,
-0.3568323254585266,
0.3147175908088684,
-0.2355252206325531,
-0.2888084053993225,
-0.18403875827789307,
-0.3214937448501587,
0.39451995491981506,
1.2581011056900024,
-0.2897404432296753,
0.303362637758255,
-0.684558629989624,
0.5163783431053162,
-0.12879130244255066,
0.0607205405831337,
-0.4223911762237549,
-0.43735700845718384,
-0.34230509400367737,
0.1778208464384079,
-0.13255219161510468,
-1.1154817342758179,
0.423211932182312,
0.16162359714508057,
0.9247100949287415,
0.5917205810546875,
0.3053967356681824,
0.23318791389465332,
-0.4415527284145355,
0.8178589940071106,
0.21018078923225403,
-0.6079230904579163,
0.764268696308136,
-0.17596398293972015,
-0.24635306000709534,
0.4657135605812073,
1.1913625001907349,
-1.0219964981079102,
-0.3795022666454315,
-0.5469867587089539,
-0.6871891617774963,
0.7918491959571838,
-0.07568003237247467,
0.0117113022133708,
-0.08743094652891159,
0.21728023886680603,
0.660728394985199,
0.1386813223361969,
-0.6521377563476562,
-0.7319944500923157,
-0.08955574035644531,
-0.09055843204259872,
-0.2484884411096573,
-0.5757949352264404,
-0.25390926003456116,
-0.02427457645535469,
0.7777537107467651,
-0.16468545794487,
-0.05590418726205826,
0.1927696317434311,
-0.5080820918083191,
-0.1795552521944046,
0.3986043930053711,
0.4486892819404602,
1.0210299491882324,
0.08520487695932388,
0.34001976251602173,
0.05222094804048538,
-0.45728662610054016,
0.4813798666000366,
0.37428390979766846,
-0.30786260962486267,
0.3863166868686676,
0.001159773557446897,
0.5343462228775024,
-0.16480590403079987,
-0.5847716927528381,
0.5845776200294495,
-0.2832660973072052,
-0.236209437251091,
-0.6037797927856445,
-0.1674068719148636,
0.1521643102169037,
0.058515239506959915,
0.666619062423706,
-0.04553583264350891,
0.18333612382411957,
-0.8728845715522766,
0.3502720296382904,
0.2102246731519699,
-0.41249439120292664,
-0.5951336622238159,
0.6704665422439575,
0.2110457420349121,
-0.0668293908238411,
0.8038085103034973,
-0.36804497241973877,
-0.5513851046562195,
0.5952982306480408,
0.5054445862770081,
0.09469051659107208,
-0.5159085988998413,
0.5738412141799927,
0.1170521154999733,
0.7105904221534729,
-0.13792027533054352,
0.3677244484424591,
0.42886820435523987,
-0.6085343956947327,
-0.3549526631832123,
-0.2764923572540283,
-0.41964447498321533,
0.4424222409725189,
-0.5425442457199097,
0.4958341419696808,
-0.11902742832899094,
-0.008015134371817112,
0.07122556120157242,
-0.2332310974597931,
-0.6896886229515076,
0.36615267395973206,
0.5773956775665283,
1.050709843635559,
-0.920527994632721,
0.8081203699111938,
0.9184179902076721,
-0.4296618103981018,
-0.5611061453819275,
-0.2101469337940216,
0.6868861317634583,
-0.5263563990592957,
0.5975470542907715,
0.370545357465744,
-0.025206170976161957,
-0.14665323495864868,
-0.28505703806877136,
-1.0495350360870361,
0.8280181288719177,
0.5821704864501953,
-0.8834090828895569,
0.058983705937862396,
0.3450881540775299,
0.2436395138502121,
-0.17671982944011688,
0.44346141815185547,
0.6180587410926819,
0.5917143225669861,
-0.11673818528652191,
-1.1023666858673096,
-0.20287147164344788,
-0.2954116463661194,
-0.9768580794334412,
0.09211079776287079,
-0.7931776642799377,
0.8874989151954651,
-0.3861451745033264,
-0.23957593739032745,
-0.11713363975286484,
0.7231727242469788,
-0.30653828382492065,
0.7603307366371155,
0.7554551362991333,
0.6456902027130127,
1.1205410957336426,
-0.01897091418504715,
0.933899462223053,
-0.5040643811225891,
0.18911954760551453,
1.2383406162261963,
-0.1450270712375641,
0.5881677865982056,
0.20059305429458618,
-0.0495375357568264,
0.6508798599243164,
0.6372134685516357,
-0.004219295922666788,
0.13703836500644684,
-0.031595416367053986,
-0.14355696737766266,
0.22240367531776428,
-0.37534812092781067,
-0.31775596737861633,
0.7433381676673889,
0.5872224569320679,
-0.2759940028190613,
-0.03626292571425438,
0.24442480504512787,
0.010838888585567474,
-0.10216441005468369,
-0.20226655900478363,
0.5261449813842773,
-0.33322542905807495,
-0.6839524507522583,
-0.025622766464948654,
0.24230796098709106,
0.6847112774848938,
-0.6580789685249329,
-0.1320604830980301,
-0.14123301208019257,
0.14776532351970673,
-0.23814712464809418,
-0.8178739547729492,
0.5287240743637085,
-0.02341502718627453,
-0.2950519919395447,
0.002906758338212967,
0.5553708076477051,
-0.5309945344924927,
-0.6379140019416809,
0.42325547337532043,
0.9375057816505432,
0.385834276676178,
-0.3666761517524719,
-0.7979530692100525,
0.14240099489688873,
0.12453706562519073,
-0.19524963200092316,
0.06436782330274582,
0.5019996762275696,
-0.29020074009895325,
0.6169456839561462,
0.6510346531867981,
-0.020723149180412292,
0.041957274079322815,
0.2981046140193939,
0.7821872234344482,
-0.4923989772796631,
-0.6939695477485657,
-1.0852601528167725,
0.2741753160953522,
0.055791355669498444,
-0.07653649896383286,
1.0867730379104614,
1.0104773044586182,
0.9051170945167542,
0.1391841173171997,
1.2305468320846558,
-0.48056432604789734,
0.6775823831558228,
-0.14583714306354523,
1.089446783065796,
-0.5042989253997803,
-0.12004231661558151,
-0.09227465093135834,
-0.8887217044830322,
-0.1011299192905426,
0.25616908073425293,
0.08436892181634903,
-0.4083898365497589,
0.6502367258071899,
0.5771670937538147,
-0.021050550043582916,
0.346683531999588,
0.4400060176849365,
0.23489153385162354,
0.29409322142601013,
0.23709620535373688,
1.3134270906448364,
-0.18759998679161072,
0.6663346290588379,
-0.34815099835395813,
-0.543742299079895,
-0.2493715137243271,
-0.8922351002693176,
-0.8614658117294312,
-0.5425389409065247,
-0.545758068561554,
-0.06167143955826759,
-0.08546599745750427,
0.7704524993896484,
0.744368851184845,
-0.921403706073761,
-0.10947713255882263,
0.36121809482574463,
0.2689862847328186,
-0.09620138257741928,
-0.23939669132232666,
0.31731337308883667,
-0.014125602319836617,
-0.8251683712005615,
0.43307265639305115,
0.20256683230400085,
-0.027262264862656593,
-0.5271927714347839,
0.1032213345170021,
-0.535169243812561,
0.07968729734420776,
0.591615617275238,
0.18500950932502747,
-0.6340819001197815,
-0.17152081429958344,
-0.08027999848127365,
-0.021205367520451546,
-0.0033374091144651175,
0.9952288866043091,
-0.6487224698066711,
0.4753642678260803,
0.39855748414993286,
0.38993358612060547,
0.26782217621803284,
-0.06754384934902191,
0.3531394302845001,
-0.8191657066345215,
0.2718031406402588,
-0.1457110494375229,
0.5114501118659973,
0.4889622926712036,
-0.8268962502479553,
0.47782498598098755,
0.35410186648368835,
-0.3622121810913086,
-0.6346108913421631,
-0.05677737668156624,
-0.5729767680168152,
-0.43992528319358826,
0.9781118631362915,
-0.2533157765865326,
-0.21881575882434845,
-0.7356449961662292,
-0.40632331371307373,
0.27806368470191956,
-0.3457512855529785,
0.7963355183601379,
0.9420247077941895,
-0.184946671128273,
-0.1451207548379898,
-0.7932367324829102,
0.5031855702400208,
-0.10515739768743515,
-1.012677550315857,
0.15797312557697296,
0.6053168177604675,
0.27176809310913086,
0.6317325830459595,
0.4152217209339142,
-0.028635336086153984,
0.3562838137149811,
0.22879701852798462,
-0.08481396734714508,
-0.18453584611415863,
-0.5538299679756165,
0.01403371337801218,
0.2155614197254181,
-0.08508322387933731,
0.07702705264091492
] |
http://arxiv.org/abs/2405.19893v1
|
http://arxiv.org/pdf/2405.19893v1
|
Similarity is Not All You Need: Endowing Retrieval Augmented Generation with Multi Layered Thoughts
| 2024-05-30T09:50:38 | 2024-05-30T09:50:38 |
Chunjing Gan, Dan Yang, Binbin Hu, Hanxiao Zhang, Siyuan Li, Ziqi Liu, Yue Shen, Lin Ju, Zhiqiang Zhang, Jinjie Gu, Lei Liang, Jun Zhou
|
cs.LG
|
cs.LG, cs.AI, cs.CL
|
In recent years, large language models (LLMs) have made remarkable
achievements in various domains. However, the untimeliness and cost of
knowledge updates coupled with hallucination issues of LLMs have curtailed
their applications in knowledge intensive tasks, where retrieval augmented
generation (RAG) can be of help. Nevertheless, existing retrieval augmented
models typically use similarity as a bridge between queries and documents and
follow a retrieve then read procedure. In this work, we argue that similarity
is not always the panacea and totally relying on similarity would sometimes
degrade the performance of retrieval augmented generation. To this end, we
propose MetRag, a Multi layEred Thoughts enhanced Retrieval Augmented
Generation framework. To begin with, beyond existing similarity oriented
thought, we embrace a small scale utility model that draws supervision from an
LLM for utility oriented thought and further come up with a smarter model by
comprehensively combining the similarity and utility oriented thoughts.
Furthermore, given the fact that the retrieved document set tends to be huge
and using them in isolation makes it difficult to capture the commonalities and
characteristics among them, we propose to make an LLM as a task adaptive
summarizer to endow retrieval augmented generation with compactness-oriented
thought. Finally, with multi layered thoughts from the precedent stages, an LLM
is called for knowledge augmented generation. Extensive experiments on
knowledge-intensive tasks have demonstrated the superiority of MetRag.
|
[
-0.48785892128944397,
-0.6565125584602356,
0.4817221164703369,
0.10608518868684769,
-0.30107179284095764,
0.28253623843193054,
-0.15616849064826965,
-0.4784354865550995,
0.5378668904304504,
0.8827651739120483,
-0.3551655113697052,
-0.1456807255744934,
-0.3252379298210144,
-0.028182243928313255,
-0.3049467206001282,
1.0691248178482056,
-0.006591494660824537,
-0.4510324001312256,
-0.29477638006210327,
-0.19744837284088135,
-0.49252673983573914,
-0.36646169424057007,
-0.6890990734100342,
-0.6635662913322449,
0.46901383996009827,
0.2051084339618683,
0.4901370406150818,
0.2221773862838745,
0.4965111017227173,
0.32565465569496155,
-0.08973437547683716,
0.6993321180343628,
-0.5940753817558289,
0.36684903502464294,
-0.17802025377750397,
-0.6075593829154968,
-0.6830078959465027,
-0.06535807996988297,
0.4516964554786682,
0.6725251078605652,
-0.16336816549301147,
0.23882155120372772,
0.2972041666507721,
0.973356306552887,
-0.8631762862205505,
-0.183917835354805,
-0.889610767364502,
0.12168187648057938,
-0.0599944107234478,
-0.4928850531578064,
-0.15311314165592194,
-0.11116694658994675,
-0.10785575211048126,
-0.7039992809295654,
0.20228222012519836,
0.6126570701599121,
0.42819860577583313,
0.375067800283432,
-0.1703091561794281,
-0.48096615076065063,
-0.48283007740974426,
0.9718090295791626,
-0.5797344446182251,
0.2860243022441864,
0.15859532356262207,
0.394883930683136,
-0.24896585941314697,
-0.7425631284713745,
-0.9579664468765259,
-0.13238871097564697,
-0.0161773432046175,
0.26352328062057495,
0.04618414491415024,
-0.15246546268463135,
0.33915379643440247,
0.5224450826644897,
-0.39551299810409546,
-0.2219744622707367,
-0.18705014884471893,
0.11409211903810501,
0.30130189657211304,
0.20895689725875854,
0.12376865744590759,
-0.4484446048736572,
-0.7390064597129822,
0.03129969537258148,
-0.7787549495697021,
-0.12202557176351547,
0.3893395662307739,
0.19259709119796753,
0.10534316301345825,
0.6503259539604187,
-0.37790921330451965,
0.5463321208953857,
0.22170543670654297,
-0.2708086669445038,
0.46391376852989197,
-0.1984027475118637,
-0.3541962802410126,
0.15715555846691132,
0.6582316160202026,
0.5258837938308716,
0.3070249855518341,
-0.2269732654094696,
-0.19282564520835876,
-0.12115524709224701,
0.7111714482307434,
-0.8263821601867676,
-0.21393075585365295,
0.2452455312013626,
-0.5312929153442383,
-0.4175310432910919,
-0.26892340183258057,
-0.8778730630874634,
-0.4189426898956299,
-0.4845186769962311,
0.36458390951156616,
-0.4177880883216858,
-0.13711613416671753,
0.022220514714717865,
-0.1844789832830429,
0.16370798647403717,
0.2395961433649063,
-0.8301939964294434,
0.41534706950187683,
1.0631650686264038,
0.8230274319648743,
-0.11024446785449982,
-0.4841673672199249,
-0.34582221508026123,
0.4548662304878235,
-0.28384512662887573,
1.0399593114852905,
-0.7633079290390015,
-0.3175344169139862,
-0.31408441066741943,
-0.4746614098548889,
-0.1520138531923294,
-0.6638765335083008,
0.4315749406814575,
-0.6547073125839233,
0.5530710816383362,
-0.30800989270210266,
-0.49711665511131287,
-0.2033299207687378,
0.6288366913795471,
-0.5969430208206177,
1.2310411930084229,
0.16918720304965973,
-1.4789693355560303,
0.6090214848518372,
-0.6026846766471863,
-0.32369354367256165,
0.28680339455604553,
-0.3370080292224884,
-0.3705165386199951,
0.1136678159236908,
0.24209940433502197,
0.3442685902118683,
-0.426944762468338,
0.20782457292079926,
-0.3347664177417755,
-0.4020264148712158,
0.12689949572086334,
-0.1391698122024536,
0.51554274559021,
0.36504608392715454,
-0.15004467964172363,
0.10785198956727982,
-0.6969462037086487,
0.1494847536087036,
-0.26548460125923157,
-0.49284127354621887,
-0.6762173771858215,
-0.17587865889072418,
-0.1365564912557602,
0.14183200895786285,
0.43234750628471375,
-0.8071298003196716,
0.1737622618675232,
-0.4929448664188385,
0.016814593225717545,
0.6632642149925232,
0.1816491037607193,
0.4566044211387634,
-0.8320782780647278,
0.38790544867515564,
0.07792461663484573,
-0.22392751276493073,
0.12205425649881363,
-0.17010943591594696,
-0.6264693737030029,
-0.327221542596817,
0.06476745009422302,
0.4889345169067383,
-0.9120419025421143,
0.12231587618589401,
-0.5010606050491333,
-0.37078073620796204,
-0.7457081079483032,
0.2661936283111572,
0.589474618434906,
0.644909679889679,
0.39276766777038574,
-0.34808942675590515,
-0.6763949990272522,
-0.9784805774688721,
-0.7103704810142517,
-0.02954784780740738,
-0.02864149585366249,
0.5870691537857056,
0.3907102644443512,
-0.23280565440654755,
0.6851462125778198,
-0.7391370534896851,
-0.3874327540397644,
-0.43041300773620605,
-0.0953279510140419,
0.2364039570093155,
0.27431681752204895,
0.5524111390113831,
-0.8808475136756897,
-0.52914959192276,
0.2133917659521103,
-0.8861795663833618,
-0.11185875535011292,
-0.05429845303297043,
-0.341413289308548,
-0.13024082779884338,
0.4685240387916565,
-0.7619536519050598,
-0.1542951911687851,
0.0883222371339798,
0.035570017993450165,
0.5652015805244446,
-0.3807561993598938,
0.3659960925579071,
-1.5811396837234497,
0.27665919065475464,
-0.4234468936920166,
-0.043615613132715225,
-0.42774513363838196,
0.42107459902763367,
-0.10457828640937805,
-0.13714931905269623,
-0.1997302919626236,
0.713128924369812,
-0.32477936148643494,
-0.12431944906711578,
-0.7265449166297913,
0.1343909353017807,
0.15908242762088776,
0.559942901134491,
-0.3035798966884613,
0.9512519836425781,
0.4699020981788635,
-0.615234911441803,
0.43356767296791077,
0.31149372458457947,
-0.35923925042152405,
0.8902648091316223,
-0.5086357593536377,
0.1898830533027649,
-0.3026123344898224,
0.04016364738345146,
-0.40205907821655273,
-0.2715855538845062,
-0.004014123696833849,
-0.25274837017059326,
0.5317613482475281,
0.2647838294506073,
-0.47674745321273804,
-0.25276580452919006,
-0.7023972272872925,
0.2959546446800232,
0.2822321951389313,
-0.5928109288215637,
0.6850313544273376,
0.5644740462303162,
-0.3252857029438019,
-0.9528999328613281,
-0.5306947231292725,
0.13235433399677277,
-0.5899884700775146,
-0.35487237572669983,
0.42409229278564453,
-0.08203341066837311,
-0.4217504560947418,
-0.036604344844818115,
0.06327193975448608,
0.14499081671237946,
-0.11956921219825745,
0.2838432788848877,
-0.07485898584127426,
0.02198128215968609,
0.1907765120267868,
0.19845667481422424,
0.0006174400914460421,
-0.13151425123214722,
-0.3532588481903076,
0.39878708124160767,
0.1156318187713623,
-0.13900452852249146,
0.3992866277694702,
0.6386203765869141,
0.5490838885307312,
-0.199406236410141,
0.7165588140487671,
0.5934029817581177,
-0.30929702520370483,
-0.4865058660507202,
-0.6850709319114685,
0.15541036427021027,
-0.4772624671459198,
0.21342851221561432,
-0.7451936602592468,
-1.0039745569229126,
0.5117970705032349,
-0.3642079830169678,
0.29264283180236816,
0.23228603601455688,
0.6859553456306458,
-0.40135347843170166,
0.4612692892551422,
0.6739910840988159,
-0.15862973034381866,
0.3983715772628784,
-0.1594642847776413,
0.2585250437259674,
-1.5032117366790771,
-0.3354392647743225,
-0.33870652318000793,
-0.5094789266586304,
-0.52133709192276,
-0.3503815829753876,
0.41504400968551636,
0.12829583883285522,
-0.2443237602710724,
0.2984747886657715,
-0.4744480848312378,
0.40890875458717346,
0.4982064366340637,
0.1933952122926712,
0.28984546661376953,
0.08098578453063965,
-0.3879562020301819,
0.04663443565368652,
-0.7358053922653198,
-0.3741512596607208,
1.2018963098526,
-0.22166015207767487,
0.7294096350669861,
0.12340398132801056,
0.9564931988716125,
0.4330971837043762,
0.17730148136615753,
-0.64246666431427,
0.6803700923919678,
-0.21968552470207214,
-0.26649394631385803,
-0.08244961500167847,
-0.5906639099121094,
-1.0545532703399658,
0.5845836400985718,
-0.14289310574531555,
-0.38448435068130493,
0.04154682159423828,
0.04711402952671051,
-0.18428131937980652,
0.3972029685974121,
-0.3327629566192627,
0.3255564272403717,
0.07678133994340897,
-0.3819969892501831,
-0.39707648754119873,
-0.42971232533454895,
0.5099979043006897,
-0.3841923475265503,
0.3108829855918884,
0.23574206233024597,
-0.041597507894039154,
0.8514330387115479,
-0.4592278003692627,
0.5313504338264465,
0.11747342348098755,
-0.015146825462579727,
0.490618497133255,
0.10110196471214294,
0.3554457426071167,
-0.44946345686912537,
-0.19880938529968262,
-0.4746227264404297,
-0.25924283266067505,
-0.3766201436519623,
-0.6722466349601746,
1.1422606706619263,
-0.49427875876426697,
-0.5929582118988037,
-0.016563989222049713,
-0.9099040031433105,
-0.050556909292936325,
0.41896191239356995,
0.1906260997056961,
0.5227230787277222,
-0.03316119313240051,
-0.02509962022304535,
0.5929398536682129,
-0.10424294322729111,
0.4983762800693512,
0.11515283584594727,
-0.16885045170783997,
-0.327538400888443,
1.0165047645568848,
0.07830320298671722,
0.05747640132904053,
0.6360928416252136,
0.04301062971353531,
-0.28661227226257324,
-0.4958622455596924,
-0.4549696743488312,
0.2468489557504654,
-0.626285970211029,
-0.39048340916633606,
-1.051604986190796,
0.09583820402622223,
-0.2354682832956314,
-0.1985013335943222,
-0.32709071040153503,
-0.5930069088935852,
-0.046039607375860214,
-0.0706086978316307,
0.5461158156394958,
0.7258062362670898,
0.17594842612743378,
0.03888678550720215,
-0.6724700331687927,
0.6468302011489868,
0.39466214179992676,
0.3921864926815033,
0.3036282956600189,
-0.5440647006034851,
-0.3539881706237793,
-0.04923117160797119,
-0.5437268614768982,
-0.5317408442497253,
0.47361597418785095,
0.36760103702545166,
0.6268357634544373,
0.04627399891614914,
0.09222307801246643,
0.6928471922874451,
-0.6047305464744568,
0.541592001914978,
-0.025807354599237442,
-0.569376528263092,
0.48529288172721863,
-0.1644393652677536,
0.09852166473865509,
0.666841983795166,
0.2720695734024048,
-0.21145989000797272,
-0.44286566972732544,
-0.6889210343360901,
-0.6614145040512085,
0.03781335800886154,
0.024274423718452454,
0.1549813449382782,
-0.04782828316092491,
0.32936692237854004,
0.3036500811576843,
0.6097598671913147,
-0.49657395482063293,
0.004723150283098221,
-0.059992238879203796,
-0.020765427500009537,
0.16649368405342102,
-0.21420708298683167,
0.10820894688367844,
0.16938625276088715,
0.48418983817100525,
-0.09419756382703781,
0.26791101694107056,
0.15848056972026825,
-0.059964802116155624,
-0.24258993566036224,
0.7158445715904236,
0.39561477303504944,
0.42196768522262573,
-0.18934345245361328,
0.5056316256523132,
0.3510643243789673,
-0.519201397895813,
-0.13786762952804565,
-0.16691811382770538,
-0.2296237349510193,
-0.18551242351531982,
0.49579235911369324,
0.6292942762374878,
0.4024379551410675,
-0.5216208696365356,
0.22635729610919952,
0.3371877372264862,
-0.16239751875400543,
-0.1318918615579605,
0.2530462145805359,
0.13294948637485504,
0.47158101201057434,
0.13646650314331055,
0.25330227613449097,
0.3057785928249359,
-0.8408024907112122,
0.27813008427619934,
0.6282466053962708,
-0.16866791248321533,
-0.11648139357566833,
0.6560115814208984,
0.0003708704898599535,
-0.3109462261199951,
0.4296673834323883,
-0.2404811531305313,
-0.8395344018936157,
0.1547241061925888,
0.5163679122924805,
0.7287134528160095,
0.007747449912130833,
-0.20756620168685913,
0.21797733008861542,
0.07618412375450134,
-0.11624468117952347,
0.598883330821991,
-0.3445299565792084,
-0.6801226735115051,
-0.5861265063285828,
-1.0025074481964111,
-0.30640310049057007,
-0.06150040030479431,
-0.5349220633506775,
-0.10823404788970947,
-0.3601517081260681,
-0.06592682749032974,
-0.25368526577949524,
0.36522525548934937,
-0.5429173111915588,
0.17864686250686646,
-0.2462725043296814,
0.6898697018623352,
-0.6541666388511658,
0.7191839218139648,
0.6308572292327881,
-0.1855202466249466,
-0.7613844275474548,
-0.17692475020885468,
-0.36077505350112915,
-0.5469757914543152,
0.4785253405570984,
0.029011566191911697,
-0.2798035144805908,
-0.011470724828541279,
-0.20059554278850555,
-0.42808395624160767,
1.199880599975586,
0.07495961338281631,
-0.3832825720310211,
-0.11635242402553558,
-0.12653464078903198,
0.7599852681159973,
-0.7468681335449219,
0.150041401386261,
0.36752864718437195,
0.19372811913490295,
0.17168685793876648,
-1.0870198011398315,
0.07323357462882996,
-0.4565528929233551,
-0.1870715618133545,
0.5119264721870422,
-0.72231125831604,
1.1758921146392822,
-0.5635377764701843,
-0.10057339817285538,
-0.16151553392410278,
0.5120735168457031,
0.5394129157066345,
0.4645140469074249,
0.10009094327688217,
1.030121088027954,
0.751846194267273,
0.6368370056152344,
1.3502197265625,
-0.07004250586032867,
0.20282332599163055,
1.378556489944458,
-0.4161536991596222,
0.9974490404129028,
0.435197114944458,
-0.11069468408823013,
0.49795404076576233,
0.06507042050361633,
0.15111838281154633,
0.6248127222061157,
-0.02313416637480259,
-0.230108380317688,
-0.07837847620248795,
-0.2857515811920166,
-0.44618505239486694,
0.44679638743400574,
0.3489122986793518,
-0.5125015377998352,
-0.31357812881469727,
-0.04154105484485626,
-0.29522597789764404,
0.44111454486846924,
-0.3913240134716034,
1.0210447311401367,
0.2721792459487915,
-0.6246058344841003,
0.5740590691566467,
-0.2534365952014923,
0.7761799097061157,
-0.11504897475242615,
-0.25218769907951355,
-0.0855802446603775,
0.08722416311502457,
-0.22973023355007172,
-0.8206163048744202,
0.2910580337047577,
0.06880464404821396,
-0.3564898669719696,
-0.35513436794281006,
1.0657482147216797,
-0.43148091435432434,
-0.47273439168930054,
0.29357248544692993,
0.8585966229438782,
0.37871024012565613,
-0.13061144948005676,
-0.610711395740509,
-0.17700953781604767,
0.015151026658713818,
-0.2156522125005722,
0.5603523850440979,
0.6557658314704895,
-0.031688105314970016,
0.937433123588562,
0.6454194784164429,
0.48227009177207947,
0.044417738914489746,
0.23002903163433075,
1.1395422220230103,
-0.5467374324798584,
-0.4922764003276825,
-0.6454331278800964,
-0.007722444832324982,
-0.1944836676120758,
-0.039336077868938446,
0.6669992208480835,
0.7777746915817261,
0.8054335713386536,
-0.022535962983965874,
0.728354275226593,
0.08331350982189178,
1.067398190498352,
-0.5232152342796326,
0.8831030130386353,
-0.5707730054855347,
0.4580036699771881,
-0.3483358323574066,
-1.3881592750549316,
0.07002969086170197,
0.434262216091156,
-0.21287359297275543,
0.182175412774086,
0.71013343334198,
0.7461320757865906,
-0.2995090186595917,
-0.05124090984463692,
0.38052624464035034,
0.03485585376620293,
0.10167703777551651,
0.693627655506134,
0.8003770709037781,
-0.310988187789917,
0.2678479850292206,
-0.042506881058216095,
-0.0758855789899826,
-0.024265717715024948,
-0.6572209000587463,
-1.0792837142944336,
-0.46911922097206116,
0.014600887894630432,
0.010963757522404194,
-0.025572411715984344,
0.7876982688903809,
0.2483893483877182,
-0.48115238547325134,
-0.01134439092129469,
-0.009815116412937641,
0.027775462716817856,
0.007571124471724033,
-0.22982680797576904,
0.5045455098152161,
-0.27862676978111267,
-0.4989546239376068,
0.25509411096572876,
0.35585370659828186,
-0.2077498435974121,
-0.07495591789484024,
0.13375386595726013,
-0.14789561927318573,
0.0864332988858223,
0.8517643213272095,
-0.13550694286823273,
-0.6442773938179016,
-0.4487287402153015,
-0.11318572610616684,
-0.1247561052441597,
0.0060672033578157425,
0.9963234663009644,
-1.1095659732818604,
0.5366169214248657,
0.632154643535614,
0.650754451751709,
0.46771055459976196,
0.24963900446891785,
0.32727423310279846,
-0.7424187064170837,
0.06632566452026367,
0.2549142837524414,
0.3656849265098572,
0.5337353348731995,
-0.42265594005584717,
0.39210495352745056,
-0.12071056663990021,
-0.6787533164024353,
-0.654563307762146,
0.4693312644958496,
-1.085474967956543,
-0.28563377261161804,
0.7584548592567444,
-0.07099170982837677,
-0.0903354287147522,
-0.268549382686615,
-0.34557050466537476,
0.24387170374393463,
-0.3263940215110779,
0.9952986836433411,
0.3793584406375885,
-0.3253588378429413,
-0.26133790612220764,
-0.43787577748298645,
0.4773281514644623,
0.44578567147254944,
-0.8152613043785095,
0.2893185317516327,
0.3649740517139435,
0.10651906579732895,
0.408075749874115,
0.6731100678443909,
-0.032103512436151505,
0.043502818793058395,
0.3396274745464325,
-0.14806266129016876,
-0.36657556891441345,
-0.3763490319252014,
0.17891837656497955,
0.594537615776062,
0.06265965104103088,
-0.010433713905513287
] |
http://arxiv.org/abs/2405.19883v1
|
http://arxiv.org/pdf/2405.19883v1
|
From Words to Actions: Unveiling the Theoretical Underpinnings of LLM-Driven Autonomous Systems
| 2024-05-30T09:42:54 | 2024-05-30T09:42:54 |
Jianliang He, Siyu Chen, Fengzhuo Zhang, Zhuoran Yang
|
cs.LG
|
cs.LG, cs.AI, cs.CL
|
In this work, from a theoretical lens, we aim to understand why large
language model (LLM) empowered agents are able to solve decision-making
problems in the physical world. To this end, consider a hierarchical
reinforcement learning (RL) model where the LLM Planner and the Actor perform
high-level task planning and low-level execution, respectively. Under this
model, the LLM Planner navigates a partially observable Markov decision process
(POMDP) by iteratively generating language-based subgoals via prompting. Under
proper assumptions on the pretraining data, we prove that the pretrained LLM
Planner effectively performs Bayesian aggregated imitation learning (BAIL)
through in-context learning. Additionally, we highlight the necessity for
exploration beyond the subgoals derived from BAIL by proving that naively
executing the subgoals returned by LLM leads to a linear regret. As a remedy,
we introduce an $\epsilon$-greedy exploration strategy to BAIL, which is proven
to incur sublinear regret when the pretraining error is small. Finally, we
extend our theoretical framework to include scenarios where the LLM Planner
serves as a world model for inferring the transition model of the environment
and to multi-agent settings, enabling coordination among multiple Actors.
|
[
-0.22483618557453156,
-0.968241274356842,
1.0536539554595947,
0.084107406437397,
0.20356082916259766,
0.23431463539600372,
-0.22996121644973755,
-0.170449897646904,
0.01530337706208229,
0.3747827410697937,
-0.7378166913986206,
-0.29451361298561096,
-0.5118656754493713,
-0.18278013169765472,
-0.2993442416191101,
0.8926509618759155,
-0.1328415423631668,
-0.177973210811615,
-0.06380503624677658,
0.17395120859146118,
-0.27108094096183777,
-0.2518342137336731,
-0.8393377065658569,
-0.6034771203994751,
0.6805980801582336,
0.3595695495605469,
0.7183459401130676,
0.3822462558746338,
0.10437960922718048,
0.36093688011169434,
0.07191772013902664,
0.3048531711101532,
-0.5129954814910889,
-0.05808546394109726,
-0.4435898959636688,
-0.3471960723400116,
-0.35514795780181885,
0.12715958058834076,
0.6027852296829224,
0.5629914402961731,
-0.419878214597702,
-0.3092604875564575,
0.12635765969753265,
0.46410271525382996,
-0.6603573560714722,
0.4924120604991913,
-0.5733368992805481,
0.18886317312717438,
0.38582348823547363,
-0.21713803708553314,
-0.2858683466911316,
0.1543775200843811,
0.2296156883239746,
-0.8427062630653381,
-0.24717552959918976,
-0.017467617988586426,
0.4365009069442749,
0.3689565658569336,
-0.4802686274051666,
-0.5439598560333252,
-1.1008931398391724,
0.7109021544456482,
-0.5146764516830444,
0.14404308795928955,
0.4450226426124573,
0.10949867218732834,
-0.6167569756507874,
-0.5475221872329712,
-0.6056069731712341,
-0.1909375935792923,
-0.027394520118832588,
0.2644217312335968,
-0.12856200337409973,
0.4429176449775696,
0.2049747258424759,
0.09567604959011078,
-0.1981692612171173,
0.3865671157836914,
-0.19762639701366425,
0.014993086457252502,
0.7300358414649963,
0.18847087025642395,
0.11298947036266327,
0.26806432008743286,
-0.43617406487464905,
-0.16914324462413788,
-0.6512411832809448,
0.35821396112442017,
0.1980060636997223,
0.41154080629348755,
-0.15980826318264008,
0.6771000623703003,
-0.14306622743606567,
0.6236411333084106,
0.06883928179740906,
-0.330629825592041,
-0.25921764969825745,
0.043400511145591736,
-0.4243354797363281,
0.0067970603704452515,
0.7002477645874023,
-0.02899809181690216,
0.4412960410118103,
-0.15447509288787842,
-0.493158221244812,
-0.11129702627658844,
0.5779357552528381,
-0.28613969683647156,
-0.012857587076723576,
0.3658526837825775,
-0.07024949043989182,
-0.1405288577079773,
0.036826130002737045,
-0.509148359298706,
-0.5088821053504944,
-0.5072360038757324,
0.8383570909500122,
-0.42351317405700684,
-0.2109469324350357,
0.24143704771995544,
0.18940326571464539,
0.32251057028770447,
0.36918768286705017,
-0.8304061889648438,
0.5589914321899414,
0.6810428500175476,
0.5644197463989258,
-0.0859844833612442,
-0.799187421798706,
-0.415179580450058,
0.329491525888443,
-0.8131876587867737,
0.8491834998130798,
-0.17213205993175507,
-0.5890538692474365,
0.2115604728460312,
-0.14231064915657043,
-0.2708221673965454,
-0.40640366077423096,
0.07506488263607025,
-0.49735718965530396,
-0.2431960105895996,
-0.23035641014575958,
-0.43076613545417786,
-0.38190314173698425,
0.2798566520214081,
-0.4947897493839264,
0.7217661142349243,
0.019053706899285316,
-0.12065163254737854,
0.5377107858657837,
-0.8592090606689453,
-0.4350906014442444,
-0.08258726447820663,
-0.28054893016815186,
-0.09403005242347717,
0.25000831484794617,
0.05526302009820938,
0.628479540348053,
-0.14528316259384155,
0.3246205747127533,
-0.05823538824915886,
-0.17498576641082764,
0.1581125408411026,
-0.2327275574207306,
0.29048484563827515,
-0.017279602587223053,
-0.3191738724708557,
0.4756530225276947,
-0.452538400888443,
-0.10682877898216248,
0.2788357436656952,
-0.6236867308616638,
-0.12242650240659714,
0.6313312649726868,
-0.3523567318916321,
0.3876410722732544,
0.24982383847236633,
-0.22359012067317963,
0.2975931167602539,
-0.226486474275589,
0.20709702372550964,
1.0700230598449707,
0.06621905416250229,
0.7833012938499451,
-0.39624524116516113,
0.6128630042076111,
-0.19449172914028168,
0.15651513636112213,
-0.03625786677002907,
-0.16704393923282623,
-0.6704040169715881,
-0.25531718134880066,
-0.18990570306777954,
0.5456731915473938,
-0.875967264175415,
0.4038997292518616,
-0.13346150517463684,
-0.31956255435943604,
-0.1475474238395691,
-0.0541573129594326,
0.3263503909111023,
0.21564660966396332,
0.28784704208374023,
-0.10772040486335754,
-0.26219406723976135,
-0.5606265068054199,
-0.12269268929958344,
-0.41697055101394653,
0.20383687317371368,
0.5396180152893066,
0.513435423374176,
-0.354541540145874,
1.1387088298797607,
-0.23113369941711426,
-0.2681383192539215,
-0.6540667414665222,
0.07525365054607391,
-0.03166232630610466,
0.3398365378379822,
0.26401519775390625,
-0.7493839859962463,
-0.2137307971715927,
0.1066521555185318,
-0.7128372192382812,
-0.042437124997377396,
-0.43809324502944946,
0.00433459272608161,
0.13420440256595612,
0.6308122277259827,
-0.6541274785995483,
0.5869313478469849,
0.40872204303741455,
-0.34638652205467224,
0.6160237193107605,
-0.6556684970855713,
-0.2427394539117813,
-0.7139614820480347,
-0.29919958114624023,
-0.10672368854284286,
-0.11750879883766174,
-0.46907496452331543,
0.3441328704357147,
-0.2758220136165619,
0.040499404072761536,
-0.42556434869766235,
0.6767062544822693,
-0.4688829779624939,
-0.5542654395103455,
-0.49901992082595825,
0.07901114225387573,
-0.4322676658630371,
0.6625637412071228,
0.1927606612443924,
0.6426650881767273,
0.7051093578338623,
-1.022113561630249,
0.2471064180135727,
-0.07155612856149673,
-0.31150534749031067,
0.3099740445613861,
-0.5099256634712219,
-0.21749646961688995,
-0.20038460195064545,
0.30754706263542175,
-0.689180850982666,
-0.19723644852638245,
0.07539494335651398,
-0.0562262237071991,
0.18920759856700897,
-0.0778629258275032,
-0.5023298859596252,
-0.0009497935534454882,
0.07637965679168701,
0.17733044922351837,
0.41426825523376465,
-0.43655848503112793,
0.9920591711997986,
0.5418214201927185,
-0.04297083988785744,
-0.4219331741333008,
-0.503158450126648,
0.06654752790927887,
-0.19924995303153992,
-0.08730368316173553,
0.2874259352684021,
-0.051347240805625916,
-0.6051174998283386,
-0.1442812830209732,
-0.008243314921855927,
0.1516074389219284,
0.22223713994026184,
0.3950827121734619,
-0.0011412191670387983,
0.12964341044425964,
0.04882837459445,
0.009061855264008045,
-0.19466295838356018,
0.1735645979642868,
-0.483376681804657,
0.6665021777153015,
-0.015094634145498276,
-0.4378508925437927,
-0.04377807676792145,
0.37220367789268494,
0.5677165985107422,
-0.10194578766822815,
0.5911667943000793,
0.10689026862382889,
-0.28489604592323303,
-0.46228739619255066,
0.011773130856454372,
-0.10871469974517822,
-0.4503284990787506,
0.4123198091983795,
-0.3330586850643158,
-0.6431975364685059,
0.45393526554107666,
-0.3907422423362732,
0.36355775594711304,
0.25163349509239197,
0.5986119508743286,
-0.09035168588161469,
0.7648292183876038,
0.9282122254371643,
0.005957862827926874,
0.49858567118644714,
-0.44021373987197876,
0.14648199081420898,
-0.728083074092865,
-0.2932964265346527,
0.05243852362036705,
-0.4301537573337555,
-0.6864129304885864,
-0.6896288394927979,
0.5823276042938232,
0.08359991759061813,
-0.37111443281173706,
0.15810345113277435,
0.09588970988988876,
0.44721606373786926,
0.4457138478755951,
-0.0364915132522583,
0.024314474314451218,
-0.15823855996131897,
-0.4511254131793976,
0.30434441566467285,
-0.9212284684181213,
-0.49530360102653503,
0.800996720790863,
0.2713126540184021,
0.9827243685722351,
0.09509257227182388,
0.74814373254776,
0.18844370543956757,
0.15682239830493927,
-1.200126051902771,
0.8088507056236267,
0.37976253032684326,
-0.39868149161338806,
-0.5832072496414185,
-0.10473299026489258,
-1.1537270545959473,
0.3201678991317749,
-0.40642043948173523,
-0.8159792423248291,
0.3521614074707031,
0.006467878818511963,
-0.5009869337081909,
0.42341023683547974,
-0.41172051429748535,
0.5592990517616272,
-0.4423128664493561,
-0.46383294463157654,
-0.5667762160301208,
-0.5323975682258606,
0.11152474582195282,
-0.032460201531648636,
0.4294135272502899,
0.11826180666685104,
-0.3470360338687897,
0.5992525815963745,
-0.149408221244812,
0.8895764946937561,
-0.22955909371376038,
-0.4893836975097656,
0.3487330377101898,
0.34927868843078613,
0.6529843807220459,
-0.2386322319507599,
0.15256927907466888,
-0.19492579996585846,
-0.4433651566505432,
-0.3449966013431549,
-0.5912558436393738,
0.5031762719154358,
-0.6976560354232788,
-0.4424992501735687,
-0.5041191577911377,
-0.6888942122459412,
-0.2890476584434509,
0.0042096879333257675,
-0.014832619577646255,
0.31563088297843933,
-0.38539496064186096,
-0.13135933876037598,
0.6477415561676025,
-0.39522647857666016,
0.7975056171417236,
0.8133026361465454,
-0.5381936430931091,
-0.1302604079246521,
0.7028374075889587,
0.21298103034496307,
0.3795381486415863,
0.47398579120635986,
0.23554718494415283,
-0.2350834161043167,
-0.5644481778144836,
-0.07109157741069794,
0.16394959390163422,
-0.535257875919342,
0.24100832641124725,
-0.6038638949394226,
-0.16133448481559753,
-0.1745472103357315,
-0.3740725517272949,
-0.42524486780166626,
-0.018504654988646507,
-0.1410020887851715,
-0.41636666655540466,
0.051887836307287216,
1.2036609649658203,
-0.586957573890686,
0.5135822296142578,
-0.3170870542526245,
0.33250507712364197,
0.5450538396835327,
-0.10832104086875916,
0.13398100435733795,
-0.3315648138523102,
-0.5313453674316406,
-0.0065490808337926865,
-0.37491291761398315,
-0.7306936383247375,
0.48035407066345215,
0.056101176887750626,
0.6638504862785339,
0.5210857391357422,
0.06953833252191544,
0.7887678742408752,
-0.6555772423744202,
0.6764417886734009,
-0.29203784465789795,
-0.6422496438026428,
0.45761922001838684,
-0.5041236877441406,
0.05410910025238991,
0.18546710908412933,
0.4735875129699707,
-0.2427017241716385,
-0.1844710409641266,
-0.7578974962234497,
-1.043853759765625,
0.6752604246139526,
-0.19562257826328278,
-0.15349748730659485,
0.20083372294902802,
0.3306773900985718,
-0.09097836166620255,
0.20738863945007324,
-0.9133750796318054,
-0.05313727259635925,
0.23328426480293274,
0.2200872302055359,
-0.5928530097007751,
-0.2096666395664215,
-0.15659521520137787,
-0.1527978926897049,
0.6733030676841736,
-0.340943843126297,
0.3916092813014984,
0.37276798486709595,
-0.07668503373861313,
-0.19006937742233276,
0.2709537744522095,
0.6975533366203308,
0.4833793044090271,
0.09243179112672806,
-0.021340347826480865,
-0.06891677528619766,
-0.03373682498931885,
0.31334394216537476,
-0.03221208602190018,
0.04294532909989357,
-0.6535963416099548,
0.5233780741691589,
0.7344531416893005,
0.3622678816318512,
-0.7694355845451355,
0.10069138556718826,
0.14400598406791687,
-0.22798234224319458,
-0.4687584638595581,
0.1608438789844513,
-0.13107281923294067,
0.5958017706871033,
0.6100742220878601,
-0.08195317536592484,
-0.12431547045707703,
-0.9324485659599304,
0.09129828959703445,
0.5452110767364502,
-0.5197119116783142,
-0.311860591173172,
0.1457764208316803,
-0.16385434567928314,
-0.5300942063331604,
0.3202546536922455,
-0.27301710844039917,
-0.6040149927139282,
0.582257091999054,
0.4392620921134949,
0.8270949125289917,
-0.07531613111495972,
0.3587372601032257,
0.06140882521867752,
0.5700368881225586,
-0.2440476417541504,
0.31943053007125854,
-0.3422132432460785,
-1.0387688875198364,
-0.5927570462226868,
-0.540485680103302,
-0.447051465511322,
0.04959772527217865,
-0.4755488336086273,
-0.19404952228069305,
-0.6639653444290161,
0.15349188446998596,
-0.541069746017456,
0.061995383352041245,
-0.2785215377807617,
0.3538849651813507,
-0.010089741088449955,
0.6903723478317261,
-0.7828124165534973,
0.6974433064460754,
0.6753225922584534,
-0.17553745210170746,
-0.9461573362350464,
0.3016854226589203,
0.023625098168849945,
-0.8114159107208252,
0.5292887687683105,
-0.1990768313407898,
-0.336084246635437,
0.178522989153862,
-0.6372321248054504,
-0.8631002902984619,
1.095706582069397,
0.12031702697277069,
-0.32614967226982117,
-0.14284731447696686,
-0.15137268602848053,
0.4269801676273346,
-0.49878647923469543,
-0.14972564578056335,
0.6107022166252136,
0.5100814700126648,
-0.0336645245552063,
-0.804248571395874,
-0.18039894104003906,
0.25378134846687317,
-0.2865965664386749,
0.14061163365840912,
-0.5677152872085571,
0.9959068298339844,
-0.5787280201911926,
-0.20427235960960388,
0.13386270403862,
0.6536080241203308,
0.5233154892921448,
0.22620005905628204,
0.46326830983161926,
0.5251315236091614,
0.4560350775718689,
0.09675394743680954,
1.352080225944519,
0.004866756033152342,
0.1680663377046585,
0.9088305830955505,
-0.44170767068862915,
0.7631385922431946,
0.48774608969688416,
-0.21591930091381073,
0.7262554168701172,
0.6203100085258484,
0.5895959734916687,
0.7231341600418091,
0.30331647396087646,
-0.3401404619216919,
-0.3120298981666565,
-0.06852725893259048,
0.25484389066696167,
0.6430781483650208,
0.6729279160499573,
-0.10634344816207886,
-0.31829044222831726,
0.07097037881612778,
-0.23374027013778687,
0.27166157960891724,
-0.5695308446884155,
1.0560394525527954,
0.05922551453113556,
-0.800163209438324,
0.011748280376195908,
-0.04950509965419769,
0.5079177618026733,
-0.8081218600273132,
-0.04442175105214119,
0.11727835983037949,
0.20387804508209229,
-0.01611170545220375,
-0.6823168396949768,
0.16736504435539246,
-0.2899185121059418,
-0.022688092663884163,
-0.6019065380096436,
0.6134406924247742,
-0.28637805581092834,
-0.24131880700588226,
0.635586678981781,
0.7633630633354187,
0.18178433179855347,
0.08334680646657944,
-0.6985533237457275,
-0.3087417185306549,
-0.2744799256324768,
-0.3593491315841675,
0.5567805767059326,
0.6465039849281311,
-0.007719553075730801,
0.8249548673629761,
0.5824425220489502,
0.33770251274108887,
-0.02510756626725197,
-0.3971533179283142,
0.6260085105895996,
-0.6283248066902161,
-0.6693336963653564,
-0.8570067286491394,
0.46176743507385254,
0.35446256399154663,
0.030193006619811058,
0.48616260290145874,
0.28270113468170166,
0.887212872505188,
0.07634498924016953,
0.7622953653335571,
-0.13881592452526093,
0.20072966814041138,
-0.8909437656402588,
0.5454387068748474,
-0.6034945845603943,
0.2297719269990921,
-0.22041060030460358,
-0.5932024717330933,
0.06759323924779892,
0.98227459192276,
-0.5279046297073364,
0.21845103800296783,
0.4947552978992462,
0.7289609313011169,
0.10400166362524033,
-0.5994121432304382,
0.6468848586082458,
0.15839430689811707,
0.4755931794643402,
0.6928580403327942,
0.9814794659614563,
-0.12602706253528595,
0.03823520988225937,
-0.010411134921014309,
-0.2214445024728775,
0.1173073798418045,
-0.9023661017417908,
-0.5391581654548645,
-0.7075340747833252,
0.072214774787426,
-0.17192451655864716,
-0.0675535500049591,
1.2149808406829834,
0.704589307308197,
-0.34148287773132324,
-0.714457094669342,
-0.4532552659511566,
0.4404430687427521,
-0.3988138735294342,
-0.2068352997303009,
0.04758083075284958,
-0.33261638879776,
-0.7164663076400757,
0.8665640950202942,
0.4192091226577759,
0.32754749059677124,
-0.5474726557731628,
-0.47989028692245483,
-0.5039211511611938,
0.3433346748352051,
0.6968797445297241,
0.6181665658950806,
-0.6555595397949219,
0.08588502556085587,
-0.3360382318496704,
0.04355042055249214,
-0.15840084850788116,
1.0915281772613525,
-0.9894952774047852,
0.15645277500152588,
0.1588878631591797,
0.5272541046142578,
0.2952963411808014,
-0.1658553034067154,
0.8070923089981079,
-0.5642614960670471,
0.22928842902183533,
0.17793606221675873,
0.34133416414260864,
0.01740115135908127,
-0.14647166430950165,
0.5260722041130066,
0.07538360357284546,
-0.6386929154396057,
-0.4782504737377167,
0.46245142817497253,
-0.7007808685302734,
-0.498960018157959,
1.3357844352722168,
-0.21815642714500427,
-0.37219512462615967,
-0.11483381688594818,
-0.2562340199947357,
0.08283054828643799,
-0.3729766309261322,
0.7560167908668518,
0.5405826568603516,
-0.362231582403183,
-0.25433239340782166,
-0.4077146649360657,
0.668297529220581,
0.150948166847229,
-0.8839750289916992,
0.16038845479488373,
0.516422688961029,
-0.14625988900661469,
0.25789758563041687,
0.7651253342628479,
0.19708329439163208,
0.13081631064414978,
-0.11004864424467087,
0.0005595260299742222,
0.13500556349754333,
-0.7524840831756592,
-0.4177153706550598,
-0.0024618154857307673,
0.08587390184402466,
0.017903780564665794
] |
http://arxiv.org/abs/2405.19877v1
|
http://arxiv.org/pdf/2405.19877v1
|
KNOW: A Real-World Ontology for Knowledge Capture with Large Language Models
| 2024-05-30T09:32:14 | 2024-05-30T09:32:14 |
Arto Bendiken
|
cs.AI
|
cs.AI, cs.CL, I.2.4; I.2.7
|
We present KNOW--the Knowledge Navigator Ontology for the World--the first
ontology designed to capture everyday knowledge to augment large language
models (LLMs) in real-world generative AI use cases such as personal AI
assistants. Our domain is human life, both its everyday concerns and its major
milestones. We have limited the initial scope of the modeled concepts to only
established human universals: spacetime (places, events) plus social (people,
groups, organizations). The inclusion criteria for modeled concepts are
pragmatic, beginning with universality and utility. We compare and contrast
previous work such as Schema.org and Cyc--as well as attempts at a synthesis of
knowledge graphs and language models--noting how LLMs already encode internally
much of the commonsense tacit knowledge that took decades to capture in the Cyc
project. We also make available code-generated software libraries for the 12
most popular programming languages, enabling the direct use of ontology
concepts in software engineering. We emphasize simplicity and developer
experience in promoting AI interoperability.
|
[
-0.3211265206336975,
-0.5199056267738342,
0.8372469544410706,
-0.14272543787956238,
0.3972283601760864,
0.06386353075504303,
0.022917671129107475,
-0.5610453486442566,
0.16215206682682037,
0.6282247304916382,
-0.4961080849170685,
-0.6999785304069519,
-0.3626045882701874,
-0.329446405172348,
-0.5190451741218567,
0.4742337465286255,
0.24624383449554443,
-0.31222760677337646,
-0.2699071168899536,
-0.10717032849788666,
0.14747504889965057,
-0.4575541615486145,
-0.4389401376247406,
-0.1778562366962433,
0.6265926957130432,
0.5262194871902466,
0.774635374546051,
0.4239712953567505,
0.4688835144042969,
0.19428735971450806,
-0.1486133188009262,
0.1836366057395935,
-0.30206072330474854,
0.053554877638816833,
-0.2404423952102661,
-0.5596938133239746,
-0.619217574596405,
0.13052590191364288,
0.3391766846179962,
0.804469883441925,
-0.16583983600139618,
0.12318061292171478,
-0.250897079706192,
0.42015692591667175,
-0.5772599577903748,
0.31240934133529663,
-0.3654997646808624,
0.2524614930152893,
-0.001977582462131977,
0.08099840581417084,
-0.11697471141815186,
-0.3347109854221344,
0.274767130613327,
-1.3729093074798584,
-0.15516506135463715,
0.3131610155105591,
0.596159040927887,
0.3655149042606354,
-0.39744094014167786,
-0.22635458409786224,
-0.891618013381958,
0.6220346689224243,
-0.5903787612915039,
0.5982262492179871,
0.2746751606464386,
0.8525001406669617,
-0.09053757786750793,
-1.1063545942306519,
-1.0359524488449097,
-0.36844736337661743,
0.11738063395023346,
0.19498877227306366,
-0.1813971996307373,
0.23567089438438416,
0.0342811681330204,
0.18987144529819489,
-0.42075130343437195,
0.0589514784514904,
-0.31558260321617126,
-0.3249312937259674,
0.6621931195259094,
0.21520709991455078,
0.5189080238342285,
0.20905892550945282,
-0.49135515093803406,
0.1226375624537468,
-1.1290792226791382,
-0.27141809463500977,
-0.0701875165104866,
-0.05257705971598625,
-0.14998461306095123,
0.44109126925468445,
-0.3360788822174072,
0.8004511594772339,
-0.6327475905418396,
-0.2978039085865021,
-0.16667763888835907,
-0.35392308235168457,
-0.11386970430612564,
-0.20143182575702667,
0.5497985482215881,
0.17404291033744812,
0.3237345516681671,
-0.6121475100517273,
0.18597368896007538,
-0.08768758177757263,
0.3294975757598877,
-0.2602020800113678,
-0.15573559701442719,
0.06047717481851578,
-0.08638723194599152,
-0.33358368277549744,
0.00943774450570345,
-0.46826741099357605,
-0.5607499480247498,
-0.3395286798477173,
0.3345806896686554,
-0.19179393351078033,
-0.07080038636922836,
-0.060093626379966736,
-0.1772795170545578,
0.48448988795280457,
0.5399380326271057,
-0.4893527328968048,
0.12794986367225647,
0.9374326467514038,
0.6089038252830505,
0.226496160030365,
-0.5092687010765076,
-0.11757993698120117,
0.3828737735748291,
-0.3582606613636017,
0.7652519345283508,
-0.2854548394680023,
-0.3233509659767151,
0.17492397129535675,
-0.3787741959095001,
0.4504765570163727,
-0.38424354791641235,
0.508615255355835,
-0.7632265090942383,
0.03689512982964516,
-0.1954098790884018,
-0.8353881239891052,
-0.16443900763988495,
0.6949421763420105,
-0.3738865256309509,
0.6355457901954651,
0.3461994528770447,
-0.4911285936832428,
0.46727684140205383,
-0.8088688850402832,
-0.367180734872818,
0.6291584372520447,
-0.38277047872543335,
0.30975887179374695,
-0.2886419892311096,
-0.3695463538169861,
0.4486831724643707,
-0.6745600700378418,
0.36865803599357605,
-0.2633504271507263,
-0.04317948594689369,
0.19122767448425293,
-0.03621044009923935,
0.815006673336029,
0.5653413534164429,
0.14851635694503784,
-0.015633096918463707,
-0.7259071469306946,
0.05675503611564636,
0.028153754770755768,
-0.3443852663040161,
-0.4095166027545929,
-0.0010535487672314048,
-0.24145027995109558,
0.27713218331336975,
0.2966561019420624,
-0.7202284336090088,
0.5748797655105591,
-0.33867865800857544,
0.7283901572227478,
0.3041996359825134,
-0.1776745617389679,
0.46410441398620605,
-0.32214054465293884,
0.6500177383422852,
-0.2173275500535965,
0.2621641457080841,
-0.09188247472047806,
-0.6396493911743164,
-0.7872761487960815,
-0.03243109583854675,
0.22039450705051422,
0.6273117065429688,
-0.6386474370956421,
0.6333686113357544,
-0.5944681763648987,
-0.8565775156021118,
-0.31140732765197754,
-0.013417672365903854,
0.2770422399044037,
0.43576276302337646,
0.17042121291160583,
0.09089700877666473,
-0.5399556756019592,
-0.559369683265686,
-0.2678373456001282,
-0.36013561487197876,
-0.13566994667053223,
0.5637544393539429,
0.3095147907733917,
-0.44768205285072327,
1.2914055585861206,
-0.8751347661018372,
-0.672452986240387,
-0.3905293345451355,
-0.28315624594688416,
-0.2966406047344208,
0.21845392882823944,
0.23152831196784973,
-0.9208501577377319,
-0.38260698318481445,
0.21780279278755188,
-1.161544919013977,
0.305850625038147,
0.150957852602005,
-0.4047665297985077,
-0.230819433927536,
0.8223508596420288,
-0.7634614706039429,
0.42967918515205383,
0.43251803517341614,
-0.4334382116794586,
0.19510997831821442,
-0.3251354694366455,
-0.0897473469376564,
-1.0743666887283325,
0.21317826211452484,
-0.4424341022968292,
-0.24428312480449677,
-0.5978062152862549,
0.31910720467567444,
0.0541253536939621,
-0.3052845299243927,
-0.555888295173645,
1.200799584388733,
-0.06223692744970322,
-0.045377783477306366,
0.04207095503807068,
0.6859680414199829,
0.15461239218711853,
0.24721576273441315,
0.07964076101779938,
0.5280392169952393,
0.46814653277397156,
-0.9046896696090698,
0.6005874276161194,
0.563432514667511,
-0.5960745811462402,
0.5179909467697144,
-0.43238890171051025,
0.04386863112449646,
0.019422361627221107,
0.2812947630882263,
-0.5275607109069824,
-0.449106365442276,
0.10217007994651794,
-0.6335074305534363,
-0.12191244214773178,
-0.03059784695506096,
-0.40578675270080566,
-0.41775426268577576,
0.2769677937030792,
0.08507799357175827,
0.5601621270179749,
-0.6309353709220886,
0.8151021599769592,
0.8038796186447144,
0.04961952939629555,
-0.2865317463874817,
-0.6720418334007263,
0.32092487812042236,
0.07455050200223923,
-0.806813657283783,
0.38117676973342896,
-0.17380233108997345,
-0.5112333297729492,
0.06455408781766891,
-0.03706465661525726,
-0.3446945548057556,
0.23375941812992096,
0.3293323814868927,
0.1600789874792099,
-0.05311272665858269,
0.46169641613960266,
-0.042087115347385406,
-0.17430520057678223,
0.03420846164226532,
-0.8051814436912537,
0.2487676590681076,
0.1343337446451187,
-0.38436466455459595,
-0.21622075140476227,
0.1369771659374237,
0.5707545280456543,
-0.05314258113503456,
0.8524080514907837,
0.16260458528995514,
-0.5312609076499939,
-0.1434846967458725,
-0.5167531967163086,
0.03872368857264519,
-0.3996450901031494,
0.22361598908901215,
-0.311845064163208,
-0.9732837080955505,
0.5492293238639832,
-0.12364032119512558,
0.31994813680648804,
0.3507790267467499,
0.1401725709438324,
-0.18350113928318024,
0.6688345670700073,
0.9271100163459778,
-0.19968736171722412,
0.17478623986244202,
-0.3874123692512512,
0.505004346370697,
-0.6890654563903809,
-0.47654834389686584,
-0.5845006108283997,
-0.0210921261459589,
-0.1759195178747177,
-0.521051824092865,
0.4946419298648834,
-0.06584346294403076,
-0.4669257402420044,
0.22869831323623657,
-0.17167416214942932,
0.31153059005737305,
0.6674159169197083,
-0.26385870575904846,
0.7615350484848022,
-0.37311869859695435,
0.023493895307183266,
0.18452595174312592,
-0.9160784482955933,
-0.5141388773918152,
1.109976053237915,
0.07993648201227188,
0.8827551007270813,
0.08654166013002396,
0.5665122866630554,
0.5702973008155823,
0.4225957691669464,
-0.7861679792404175,
0.5741583704948425,
-0.06951931864023209,
-0.9418047070503235,
-0.19712240993976593,
-0.32159146666526794,
-0.8787723183631897,
-0.14287444949150085,
-0.009159979410469532,
-0.44006434082984924,
-0.16236278414726257,
0.4748682677745819,
-0.5047178864479065,
0.28483277559280396,
-0.48135122656822205,
1.0050431489944458,
-0.22433370351791382,
0.056470777839422226,
-0.3258492648601532,
-0.8336451649665833,
0.3441068232059479,
0.13946615159511566,
0.3571014106273651,
-0.1288171410560608,
-0.2014666050672531,
0.49234411120414734,
-0.4943293035030365,
0.8008146286010742,
-0.08914995938539505,
-0.25499069690704346,
0.6747413277626038,
0.06684450060129166,
0.4381818473339081,
-0.0425969734787941,
0.17114563286304474,
0.19738398492336273,
-0.015802083536982536,
-0.24820347130298615,
-0.7385566234588623,
0.7425011992454529,
-0.9411943554878235,
-0.3460346758365631,
-0.19357556104660034,
-0.3433850407600403,
-0.18569205701351166,
0.11974373459815979,
0.3175854980945587,
0.2525729238986969,
-0.6211389899253845,
-0.00791937205940485,
0.594513475894928,
-0.1098770871758461,
-0.18116068840026855,
0.8004055619239807,
-0.4507274329662323,
0.07200126349925995,
1.0604543685913086,
0.25469276309013367,
0.33971625566482544,
0.7517697215080261,
0.22669066488742828,
-0.066543348133564,
-0.04847097024321556,
-0.3717304468154907,
-0.012953869067132473,
-0.9044375419616699,
-0.21018032729625702,
-0.7418974041938782,
-0.4947734773159027,
-0.6416676044464111,
-0.4034344553947449,
-0.3800623118877411,
-0.6022040247917175,
0.010855937376618385,
0.022986548021435738,
0.4330192506313324,
0.9091739058494568,
-0.00900371465831995,
0.31908977031707764,
-1.13816237449646,
0.3559655249118805,
0.6820863485336304,
0.13574926555156708,
-0.1452956646680832,
-0.589417040348053,
-0.3253112733364105,
-0.05248795449733734,
-0.13056959211826324,
-0.4586627185344696,
0.3781924843788147,
0.4504353404045105,
0.9160338640213013,
0.4307302236557007,
0.21580511331558228,
0.23688168823719025,
-0.01851830445230007,
0.7218049168586731,
-0.07611709088087082,
-0.7773277759552002,
0.565955638885498,
-0.23387210071086884,
0.20438151061534882,
0.3779050409793854,
0.5368329882621765,
-1.1304105520248413,
-0.3802889585494995,
-0.772874116897583,
-0.6876431107521057,
0.4717077910900116,
0.041822150349617004,
0.0626986175775528,
0.17943064868450165,
0.4884224534034729,
-0.07468359172344208,
0.3575335741043091,
-0.48538291454315186,
-0.23961776494979858,
0.004356411751359701,
-0.43354278802871704,
0.17319265007972717,
0.012418461963534355,
-0.29301542043685913,
-0.05582199618220329,
0.5406201481819153,
-0.24093644320964813,
0.12101127952337265,
0.1724550873041153,
-0.22774669528007507,
0.31570762395858765,
0.16232943534851074,
0.07779562473297119,
0.6443236470222473,
0.11737290769815445,
0.30576059222221375,
0.0291263610124588,
-0.5060697197914124,
0.02199840545654297,
-0.08428461849689484,
-0.5150636434555054,
-0.5998671054840088,
0.46534907817840576,
0.42316940426826477,
0.18197666108608246,
-1.1849172115325928,
0.4023633301258087,
-0.06318878382444382,
-0.036895401775836945,
-0.7792887091636658,
0.49455034732818604,
0.21098563075065613,
0.32489192485809326,
0.06388004124164581,
0.012963077053427696,
0.07541383057832718,
-0.5194726586341858,
-0.15604116022586823,
0.2597866356372833,
-0.5376107692718506,
-0.4022814929485321,
0.6327517628669739,
0.4850596487522125,
-0.3291504979133606,
0.7011635899543762,
-0.6380199790000916,
-0.5956448316574097,
0.4421272873878479,
0.2616858184337616,
0.45273643732070923,
0.10526154935359955,
0.03815194591879845,
0.33603549003601074,
0.12136267870664597,
0.12518538534641266,
0.2666184604167938,
-0.4649444818496704,
-1.150258183479309,
-0.3232802748680115,
-0.5057370066642761,
-0.6145652532577515,
-0.19637875258922577,
-0.30278122425079346,
0.23482374846935272,
-0.3933374881744385,
0.0737665444612503,
-0.10043256729841232,
-0.15157966315746307,
-0.8027300238609314,
0.21556811034679413,
0.2532266080379486,
1.2054355144500732,
-0.7703325748443604,
1.022729754447937,
0.9484534859657288,
-0.42001643776893616,
-0.9016198515892029,
-0.12666131556034088,
0.04535529017448425,
-0.8798400163650513,
0.7918253540992737,
-0.21696335077285767,
-0.027391012758016586,
0.38931208848953247,
-0.7148157358169556,
-0.8592382669448853,
1.2345173358917236,
0.181728333234787,
-0.42888376116752625,
-0.3132229149341583,
0.034981515258550644,
0.4813891053199768,
-0.5032441020011902,
-0.09501539915800095,
0.7645239233970642,
0.7192267179489136,
0.15650305151939392,
-0.6283727884292603,
-0.35747888684272766,
-0.13187852501869202,
-0.26281067728996277,
0.0661126971244812,
-0.5719496607780457,
0.3955240845680237,
-0.5050801038742065,
-0.09961862117052078,
0.029958203434944153,
0.6393862366676331,
0.20365042984485626,
0.2888903319835663,
0.25756800174713135,
0.7120145559310913,
0.7549695372581482,
0.03914743289351463,
1.088891625404358,
-0.40247470140457153,
0.1663345843553543,
0.9533905982971191,
-0.36355680227279663,
0.6364434361457825,
0.17788803577423096,
-0.5755316615104675,
0.36653944849967957,
0.03341151773929596,
0.3421979248523712,
0.31910833716392517,
0.025602707639336586,
-0.39324039220809937,
-0.5723841190338135,
-0.2819725573062897,
-0.22429148852825165,
0.6191408038139343,
0.6886147260665894,
0.03146333247423172,
-0.0542537197470665,
0.09878628700971603,
0.14384329319000244,
-0.004243532661348581,
-0.0783313661813736,
0.9089285731315613,
0.2075502872467041,
-0.9395407438278198,
0.15568143129348755,
-0.22824428975582123,
0.39041009545326233,
-0.8105804920196533,
0.051430270075798035,
-0.302123486995697,
0.23700790107250214,
-0.010735750198364258,
-0.9312688708305359,
0.2977931797504425,
-0.21482743322849274,
-0.06512605398893356,
-0.09199410676956177,
0.7707899808883667,
-0.39587900042533875,
-0.3070586919784546,
0.4668373763561249,
0.5355499386787415,
0.2967970073223114,
-0.3202379047870636,
-0.2873154282569885,
-0.22712241113185883,
-0.10501368343830109,
-0.05979310721158981,
0.27749165892601013,
0.44619593024253845,
0.10418248921632767,
1.19523286819458,
0.3677852749824524,
0.060813017189502716,
0.30857011675834656,
-0.004622695501893759,
0.8705613613128662,
-0.8874666690826416,
-0.45180419087409973,
-0.2409685105085373,
0.40249085426330566,
0.10102535784244537,
-0.4669725000858307,
0.6619283556938171,
0.4310179352760315,
0.7772465348243713,
0.17894059419631958,
1.1585749387741089,
-0.513988196849823,
0.663637101650238,
-0.30558842420578003,
0.8647209405899048,
-0.6701264381408691,
0.15117380023002625,
0.27340972423553467,
-0.7160254716873169,
-0.38365602493286133,
0.5268771052360535,
-0.05088977515697479,
-0.16992679238319397,
0.1709045171737671,
0.6330763101577759,
0.0948994904756546,
-0.023662138730287552,
0.6554942727088928,
0.2418837994337082,
0.46265941858291626,
0.5039739012718201,
1.0438271760940552,
-0.28578829765319824,
0.8227620720863342,
-0.07325470447540283,
-0.22234877943992615,
-0.39713066816329956,
-0.7390288710594177,
-0.4122487008571625,
-0.7243554592132568,
-0.21955089271068573,
-0.1782112717628479,
0.10186368972063065,
0.6920938491821289,
0.9411786198616028,
-0.4612445831298828,
0.0759614035487175,
-0.37677839398384094,
0.20195423066616058,
0.12463457137346268,
-0.13787682354450226,
-0.013701272197067738,
-0.2954657971858978,
-0.3863825500011444,
0.5799441933631897,
0.3145717978477478,
-0.016868487000465393,
-0.6467916369438171,
-0.4278981387615204,
0.07423519343137741,
0.038247138261795044,
0.6166053414344788,
0.6899505257606506,
-0.5934422612190247,
-0.2326156497001648,
0.25931429862976074,
-0.2794518768787384,
-0.084732785820961,
0.9236053824424744,
-1.0345162153244019,
0.5372239351272583,
0.5892074108123779,
0.39991694688796997,
0.22659851610660553,
-0.2524058222770691,
0.5786760449409485,
-0.6997857093811035,
0.2911964952945709,
0.2766721546649933,
0.3537999093532562,
0.24924521148204803,
-0.25764769315719604,
0.5800004005432129,
0.22531090676784515,
-0.6817831993103027,
-0.36516252160072327,
0.41399672627449036,
-0.7670304775238037,
-0.17918139696121216,
0.8837859034538269,
-0.5553827285766602,
-0.10812562704086304,
-0.44747301936149597,
-0.0032281866297125816,
0.2781921625137329,
-0.11191651970148087,
0.5929557681083679,
0.3470759987831116,
0.026368552818894386,
0.2730921804904938,
-0.522964358329773,
0.29392901062965393,
-0.01440225075930357,
-1.2163331508636475,
0.1278904676437378,
0.4485023021697998,
0.15531666576862335,
0.43053439259529114,
0.7434020638465881,
0.0921836569905281,
0.1893722414970398,
0.196258082985878,
0.5015657544136047,
-0.11364558339118958,
-0.608622133731842,
0.27916815876960754,
0.0271587073802948,
0.5019288063049316,
0.16572518646717072
] |
http://arxiv.org/abs/2405.19874v1
|
http://arxiv.org/pdf/2405.19874v1
|
Is In-Context Learning Sufficient for Instruction Following in LLMs?
| 2024-05-30T09:28:56 | 2024-05-30T09:28:56 |
Hao Zhao, Maksym Andriushchenko, Francesco Croce, Nicolas Flammarion
|
cs.CL
|
cs.CL, cs.AI, cs.LG
|
In-context learning (ICL) allows LLMs to learn from examples without changing
their weights, which is a particularly promising capability for long-context
LLMs that can potentially learn from many examples. Recently, Lin et al. (2024)
proposed URIAL, a method using only three in-context examples to align base
LLMs, achieving non-trivial instruction following performance. In this work, we
show that, while effective, ICL alignment with URIAL still underperforms
compared to instruction fine-tuning on established benchmarks such as MT-Bench
and AlpacaEval 2.0 (LC), especially with more capable base LMs. Unlike for
tasks such as classification, translation, or summarization, adding more ICL
demonstrations for long-context LLMs does not systematically improve
instruction following performance. To address this limitation, we derive a
greedy selection approach for ICL examples that noticeably improves
performance, yet without bridging the gap to instruction fine-tuning. Finally,
we provide a series of ablation studies to better understand the reasons behind
the remaining gap, and we show how some aspects of ICL depart from the existing
knowledge and are specific to the instruction tuning setting. Overall, our work
advances the understanding of ICL as an alignment technique. We provide our
code at https://github.com/tml-epfl/icl-alignment.
|
[
-0.22702835500240326,
-0.4588478207588196,
0.3719891309738159,
-0.059583745896816254,
-0.4531650245189667,
0.11938754469156265,
-0.3340263366699219,
-0.36825138330459595,
-0.4196205139160156,
0.28267863392829895,
-0.4593486487865448,
-0.7307811975479126,
-0.3689803183078766,
-0.07206084579229355,
-0.31696730852127075,
1.1817498207092285,
-0.05596719682216644,
0.1460360735654831,
-0.5020627975463867,
-0.4019961655139923,
-0.6089189648628235,
-0.15529797971248627,
-0.44979140162467957,
-0.37462830543518066,
0.39985060691833496,
0.7934321761131287,
0.09585155546665192,
1.0982016324996948,
0.45756974816322327,
0.1437588483095169,
-0.0639667958021164,
0.574486255645752,
-0.4831402003765106,
0.025813240557909012,
-0.012263983488082886,
-0.10737857222557068,
-0.23691272735595703,
-0.049083322286605835,
0.8545524477958679,
0.785797655582428,
-0.1542070209980011,
0.09768036007881165,
0.6450345516204834,
0.7952407002449036,
-0.6017059683799744,
-0.2796657681465149,
-0.5603156089782715,
0.08631931245326996,
-0.34519287943840027,
-0.38201266527175903,
-0.6562178730964661,
-0.4411954879760742,
0.26638421416282654,
-0.2935638129711151,
-0.10580461472272873,
0.27443352341651917,
0.6020866632461548,
0.5630164742469788,
-0.4818544387817383,
-0.5295929908752441,
-0.2980477809906006,
0.9834039211273193,
-0.6782534718513489,
0.578299880027771,
0.24150708317756653,
0.09379242360591888,
-0.058229606598615646,
-0.5717998743057251,
0.015826866030693054,
-0.15161201357841492,
-0.13307026028633118,
0.036902572959661484,
0.26362547278404236,
0.07856167107820511,
0.31377315521240234,
0.024478141218423843,
-0.3159150779247284,
0.40060052275657654,
-0.2452635020017624,
0.051786236464977264,
0.24342288076877594,
0.3083449602127075,
0.07691197097301483,
0.31350329518318176,
-0.866415798664093,
0.14435501396656036,
-1.3221808671951294,
0.4313097894191742,
0.18973016738891602,
0.2925409972667694,
-0.3115077614784241,
0.4597316086292267,
0.08553013205528259,
0.9509979486465454,
0.2070467174053192,
-0.3381615877151489,
-0.0676146000623703,
-0.1398932784795761,
-0.2956736087799072,
0.4221659004688263,
0.2896428108215332,
0.4405394494533539,
0.11220826208591461,
-0.38047102093696594,
-0.10876847803592682,
-0.3932093679904938,
0.21644295752048492,
-0.8143250346183777,
0.05000611022114754,
-0.007885259576141834,
-0.2552795708179474,
0.06702779978513718,
0.19412168860435486,
-0.4656442105770111,
-0.019147707149386406,
-0.49870070815086365,
0.07872015237808228,
-0.5413724780082703,
0.45096418261528015,
-0.20293846726417542,
0.006075229030102491,
0.6219833493232727,
0.4357548952102661,
-0.9480088949203491,
0.494723916053772,
0.8457481265068054,
0.7867761254310608,
-0.541979968547821,
-0.4879303574562073,
-0.8356315493583679,
0.40957146883010864,
-0.4078509509563446,
0.6305599212646484,
-0.4862864315509796,
-0.24836465716362,
0.05464857444167137,
-0.25888776779174805,
-0.07896500825881958,
-0.714989423751831,
0.17467911541461945,
-0.5903576612472534,
0.05180448666214943,
-0.35373204946517944,
-0.9855143427848816,
0.12994667887687683,
0.11264197528362274,
-0.19346381723880768,
0.7129906415939331,
0.06279344111680984,
-0.4676366150379181,
0.6568714380264282,
-0.5086788535118103,
-0.5863528251647949,
-0.03818125277757645,
-0.3254557251930237,
-0.31395047903060913,
0.06670794636011124,
-0.018337605521082878,
0.2237066626548767,
-0.01076511200517416,
-0.09040452539920807,
-0.14833272993564606,
-1.0682631731033325,
0.3157596290111542,
-0.4495180547237396,
0.857487678527832,
0.08610547333955765,
-0.7580376267433167,
-0.14328546822071075,
-0.2655601501464844,
0.12964296340942383,
-0.42520034313201904,
-0.6317899823188782,
-0.2834082841873169,
0.1832173466682434,
-0.38863837718963623,
-0.03553345799446106,
0.1343749761581421,
-0.3964892625808716,
0.4469909071922302,
-0.29440444707870483,
0.08316782861948013,
1.0780348777770996,
-0.10255999118089676,
0.6149570941925049,
-0.22427009046077728,
0.28832265734672546,
-0.12295401841402054,
0.043148256838321686,
-0.023590942844748497,
-0.06139308586716652,
-0.7903889417648315,
-0.2708173096179962,
0.3708033263683319,
0.4295884370803833,
-0.4013862609863281,
0.15921448171138763,
-0.0833272784948349,
-0.003890544641762972,
-0.36573195457458496,
0.5062602758407593,
0.8922746777534485,
0.9493882656097412,
0.512998104095459,
-0.04720398783683777,
-0.4512387812137604,
-0.6929120421409607,
-0.1683647483587265,
0.06758377701044083,
0.19515134394168854,
0.5452795624732971,
-0.0018238590564578772,
0.09762100875377655,
0.619836688041687,
-0.2085224986076355,
-0.202980637550354,
-0.10977941006422043,
-0.24175624549388885,
0.05819780007004738,
0.5559417605400085,
0.3858301341533661,
-0.5474520921707153,
-0.7672024965286255,
0.14534878730773926,
-0.8086115717887878,
-0.2900916635990143,
0.1214449554681778,
-0.3206947445869446,
0.46686872839927673,
0.8283992409706116,
-0.23333561420440674,
0.3637809455394745,
0.32570022344589233,
-0.13288725912570953,
0.12036743015050888,
-0.12879016995429993,
0.05947921425104141,
-0.6928109526634216,
-0.18633423745632172,
0.018827803432941437,
-0.13676531612873077,
-0.4591720700263977,
0.14969231188297272,
0.5945102572441101,
0.32889124751091003,
-0.8213340044021606,
0.6873189210891724,
-0.544414758682251,
-0.1728067398071289,
-0.42723286151885986,
0.014400983229279518,
-0.15316671133041382,
0.46982133388519287,
-0.02455398626625538,
1.104508876800537,
0.44451239705085754,
-0.6687723398208618,
-0.21458560228347778,
0.1425868570804596,
-0.40387651324272156,
0.4170405864715576,
-0.319624125957489,
0.22216679155826569,
0.025402432307600975,
0.19274838268756866,
-0.7463802099227905,
-0.012199338525533676,
0.31809863448143005,
-0.05561228469014168,
0.6134636402130127,
-0.43550920486450195,
-0.28033530712127686,
0.16983461380004883,
-0.23834019899368286,
0.5131099224090576,
0.7094557881355286,
-0.9149572253227234,
0.17827482521533966,
-0.16066420078277588,
0.3048003911972046,
-0.963808000087738,
-0.5275525450706482,
-0.3024000823497772,
-0.6037904620170593,
-0.08335656672716141,
0.48194584250450134,
-0.3569159507751465,
-0.37211427092552185,
-0.12188812345266342,
-0.35836517810821533,
0.20577237010002136,
0.2635767459869385,
0.07266218960285187,
0.3136584758758545,
-0.3026579022407532,
0.05905125290155411,
0.20312076807022095,
-0.02926972508430481,
-0.16672544181346893,
-0.4000393748283386,
0.2857730984687805,
-0.13696043193340302,
-0.5690994262695312,
-0.6360321640968323,
0.15604926645755768,
0.3639756143093109,
0.06503699719905853,
0.40140044689178467,
0.274800181388855,
-0.26154908537864685,
-0.38941267132759094,
-0.4907725751399994,
-0.0739203467965126,
-0.4549518823623657,
-0.0008459808886982501,
-0.001793595845811069,
-0.7445852160453796,
0.236158087849617,
-0.0413220189511776,
0.1971011906862259,
0.06362763047218323,
0.1340193748474121,
-0.6066566705703735,
1.0462573766708374,
0.7038021087646484,
-0.13809828460216522,
0.6547207236289978,
-0.27146342396736145,
-0.11275062710046768,
-1.3098641633987427,
-0.2978399395942688,
-0.27163752913475037,
-0.46051034331321716,
-0.3276672959327698,
0.013962098397314548,
0.23114995658397675,
0.30145689845085144,
-0.44212427735328674,
0.1353382170200348,
-0.2637135088443756,
0.734234631061554,
0.5583088397979736,
0.20185236632823944,
0.09013400226831436,
0.17971912026405334,
-0.22489041090011597,
-0.11716137081384659,
-0.6153448224067688,
-0.47842085361480713,
0.8187880516052246,
-0.04771990701556206,
0.9437960386276245,
0.27921223640441895,
0.8574816584587097,
0.21860840916633606,
0.5457186102867126,
-0.5160919427871704,
0.4847068190574646,
-0.3552379310131073,
-0.12197472900152206,
-0.22588802874088287,
-0.16403968632221222,
-0.7891129851341248,
0.047608789056539536,
0.24287950992584229,
-0.9027326107025146,
-0.09006289392709732,
0.29871171712875366,
-0.5345941781997681,
0.26880714297294617,
-0.7112187743186951,
0.6741868853569031,
-0.557701587677002,
-0.7357940673828125,
-0.006496305111795664,
-0.7426599264144897,
-0.019533783197402954,
0.2119065374135971,
-0.15970700979232788,
0.04825839772820473,
-0.47121676802635193,
0.3410358726978302,
-0.3353408873081207,
0.8823897242546082,
-0.16092854738235474,
-0.005515516269952059,
0.32901695370674133,
-0.10450161248445511,
0.351974755525589,
0.08884438872337341,
-0.007454585283994675,
-0.1523887813091278,
-0.5474573373794556,
-0.4524296820163727,
-0.6530439853668213,
1.0490233898162842,
-0.5581635236740112,
-0.7393245697021484,
-0.22368259727954865,
-0.43870988488197327,
-0.21054337918758392,
0.06409996747970581,
0.29885050654411316,
0.8336461186408997,
0.2141648381948471,
0.4035118520259857,
1.006316065788269,
0.1795070320367813,
0.5978702902793884,
0.316058486700058,
0.30095794796943665,
-0.28150713443756104,
0.9113988876342773,
0.10489935427904129,
0.3138784170150757,
0.6050474047660828,
0.20301954448223114,
-0.34531399607658386,
-0.9045794010162354,
-0.85153728723526,
0.030927220359444618,
-0.640778124332428,
-0.4547978639602661,
-0.38002026081085205,
-0.1345660537481308,
-0.14135076105594635,
-0.7168779969215393,
-0.08284584432840347,
0.19683434069156647,
-0.6499803066253662,
0.08533484488725662,
-0.05034181848168373,
0.5761526226997375,
0.2658829391002655,
0.17088858783245087,
-0.6175566911697388,
-0.220698282122612,
0.2567235827445984,
0.5856715440750122,
0.22602884471416473,
-0.6256017684936523,
-0.47256019711494446,
-0.06729292124509811,
-0.4570104777812958,
-0.4359142482280731,
0.003345609176903963,
0.26983562111854553,
0.6906298995018005,
0.6969295144081116,
-0.06836111098527908,
1.2614941596984863,
-0.613287091255188,
0.5286111235618591,
-0.10713250935077667,
-0.7717562913894653,
0.5052869915962219,
-0.08667885512113571,
0.42287978529930115,
0.7503980398178101,
0.41857296228408813,
-0.1977660208940506,
-0.3532066345214844,
-0.4625355303287506,
-0.7138388156890869,
0.7523826956748962,
-0.1657392382621765,
0.05156939476728439,
-0.11904404312372208,
0.5059598088264465,
0.2565191984176636,
0.07307171076536179,
-0.5716626644134521,
-0.3140893876552582,
0.23765204846858978,
-0.30002811551094055,
0.042456794530153275,
-0.09352204948663712,
-0.177728533744812,
-0.18083032965660095,
0.6674405336380005,
-0.29308778047561646,
0.07205791026353836,
0.07941504567861557,
-0.3757077753543854,
-0.29094383120536804,
-0.08022749423980713,
0.7065715789794922,
0.9462549686431885,
-0.37146204710006714,
0.018876073881983757,
0.4334583580493927,
-0.06437742710113525,
0.08371245861053467,
0.004871247336268425,
-0.16956935822963715,
-0.5051900148391724,
0.5054557919502258,
0.45428258180618286,
0.5618087649345398,
-0.9051249027252197,
0.5611772537231445,
0.019548004493117332,
-0.04898272827267647,
-0.33838504552841187,
0.36988383531570435,
-0.12778551876544952,
0.5147534608840942,
0.48142409324645996,
-0.06834001839160919,
0.12479472160339355,
-0.3404906392097473,
0.21902766823768616,
0.6674773097038269,
-0.5883961319923401,
0.06987448036670685,
0.5342051982879639,
-0.07336694002151489,
-0.3638066053390503,
0.9651394486427307,
-0.041551556438207626,
-0.20863807201385498,
0.67207270860672,
0.7988564372062683,
0.5151655077934265,
0.21093890070915222,
-0.2204596996307373,
0.12591636180877686,
-0.0717344731092453,
0.17418266832828522,
-0.09462305903434753,
-0.5369263291358948,
-0.4461117088794708,
-0.4215279221534729,
-0.25632238388061523,
-0.42033323645591736,
-0.09870597720146179,
-0.6608341932296753,
0.3168039321899414,
-0.48932889103889465,
0.46642065048217773,
-0.43266624212265015,
0.1549873799085617,
-0.5185218453407288,
-0.01116233877837658,
0.12647290527820587,
0.9731280207633972,
-0.4540928304195404,
0.8240005970001221,
0.7059517502784729,
-0.029096880927681923,
-0.6059607863426208,
0.3428339660167694,
0.07954692840576172,
-0.6418287754058838,
0.7306331992149353,
0.36392539739608765,
-0.16741229593753815,
-0.011224757879972458,
-0.7204957604408264,
-0.8462435603141785,
1.3928135633468628,
0.3528469502925873,
-0.36954382061958313,
-0.014095628634095192,
-0.2651267945766449,
0.3554997146129608,
-0.6134278178215027,
0.0722850039601326,
0.10474513471126556,
0.09270920604467392,
0.09469018131494522,
-0.37111803889274597,
-0.09700265526771545,
0.090021513402462,
-0.23310190439224243,
0.40832826495170593,
-0.9116950631141663,
0.5440312027931213,
-0.39443883299827576,
-0.2424255609512329,
0.430720716714859,
0.7483065128326416,
0.38716602325439453,
0.4869695007801056,
0.3782043755054474,
0.5725042819976807,
0.49369820952415466,
0.02964741922914982,
1.028876781463623,
-0.15140138566493988,
0.06606251746416092,
1.1836210489273071,
-0.3259083032608032,
0.6698880195617676,
0.6529418230056763,
0.08485844731330872,
0.46226802468299866,
0.8578376770019531,
0.28275519609451294,
0.784817099571228,
-0.0027737729251384735,
-0.24486792087554932,
-0.20203198492527008,
-0.16143794357776642,
-0.2606108486652374,
0.30836281180381775,
0.343364417552948,
-0.3362337350845337,
-0.28347623348236084,
-0.131183922290802,
-0.14171704649925232,
-0.0007296246476471424,
-0.3471320867538452,
0.9650960564613342,
-0.026721782982349396,
-0.8751994371414185,
0.6318219304084778,
-0.40014633536338806,
0.6188328862190247,
-0.48701855540275574,
-0.49062907695770264,
-0.42076948285102844,
0.11347995698451996,
-0.12202949821949005,
-0.6361002922058105,
-0.029817676171660423,
-0.044215939939022064,
-0.009021691977977753,
-0.3917081654071808,
0.5587429404258728,
-0.4443310797214508,
0.006204741541296244,
0.17790670692920685,
0.42131659388542175,
0.164053276181221,
0.7447177767753601,
-0.39984095096588135,
-0.018833881244063377,
0.22059784829616547,
-0.03939163312315941,
0.7815679311752319,
0.3621213734149933,
-0.12912733852863312,
0.6225664019584656,
0.47577399015426636,
-0.11507260054349899,
-0.030713511630892754,
0.026163620874285698,
0.6974849104881287,
-0.522436261177063,
-0.08629211038351059,
-1.0726333856582642,
0.5341742038726807,
-0.011299624107778072,
-0.5386902689933777,
0.6539840698242188,
0.6313310861587524,
1.3807491064071655,
0.22580546140670776,
0.4115482568740845,
0.0961354523897171,
0.20052525401115417,
-0.9048112630844116,
0.21919679641723633,
-0.7646169066429138,
0.3566562533378601,
-0.11948502063751221,
-0.8183330297470093,
-0.3379940092563629,
0.4413178563117981,
-0.12173404544591904,
0.03807513415813446,
0.6220813989639282,
0.5516894459724426,
-0.24747183918952942,
-0.19238613545894623,
0.38592302799224854,
-0.1884884089231491,
0.03844814375042915,
0.42700546979904175,
0.9208192229270935,
-0.12952791154384613,
0.46865829825401306,
-0.4326724112033844,
-0.1644555777311325,
-0.39729243516921997,
-1.030191421508789,
-0.8428613543510437,
-0.4332277476787567,
-0.1355389952659607,
-0.21646901965141296,
0.44979894161224365,
1.3018414974212646,
0.6791529059410095,
-0.5356410145759583,
-0.4763455092906952,
-0.032126303762197495,
0.42957332730293274,
-0.5427805185317993,
-0.15084412693977356,
0.5061867833137512,
-0.6499627828598022,
-0.817007303237915,
0.5146703124046326,
0.3001396358013153,
0.21823245286941528,
0.14399513602256775,
-0.4025276005268097,
-0.12515667080879211,
-0.38490960001945496,
0.5180251598358154,
0.41950419545173645,
-0.800752580165863,
-0.3812177777290344,
0.08819475769996643,
-0.22863143682479858,
0.274765282869339,
0.8773667216300964,
-0.6259927749633789,
0.1250097155570984,
0.057458195835351944,
0.9797126650810242,
0.28139767050743103,
0.26761797070503235,
0.21882084012031555,
-0.8062113523483276,
-0.1527128517627716,
0.1989465206861496,
0.5351452231407166,
0.26415085792541504,
-0.45093834400177,
0.43159347772598267,
-0.24348396062850952,
-0.7490017414093018,
-0.639561653137207,
0.1471477597951889,
-0.7718155980110168,
-0.13427020609378815,
1.1305893659591675,
-0.031960126012563705,
-0.1776157170534134,
0.1255435049533844,
-0.08734364062547684,
0.23088707029819489,
-0.562252938747406,
0.8045954704284668,
0.5646413564682007,
-0.6933374404907227,
-0.08849088102579117,
-0.5015096664428711,
0.4281143546104431,
0.48825082182884216,
-0.4636695384979248,
-0.018162911757826805,
0.49460363388061523,
0.22340255975723267,
-0.3756260871887207,
0.4327239990234375,
-0.057508040219545364,
0.45305055379867554,
-0.6002101302146912,
-0.40801453590393066,
-0.047520268708467484,
-0.5940220952033997,
-0.3298684060573578,
-0.040769610553979874,
0.38123419880867004,
-0.2489030510187149
] |
http://arxiv.org/abs/2405.19856v1
|
http://arxiv.org/pdf/2405.19856v1
|
DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code Repositories
| 2024-05-30T09:03:42 | 2024-05-30T09:03:42 |
Jia Li, Ge Li, Yunfei Zhao, Yongmin Li, Huanyu Liu, Hao Zhu, Lecheng Wang, Kaibo Liu, Zheng Fang, Lanshen Wang, Jiazheng Ding, Xuanming Zhang, Yuqi Zhu, Yihong Dong, Zhi Jin, Binhua Li, Fei Huang, Yongbin Li
|
cs.CL
|
cs.CL, cs.SE
|
How to evaluate the coding abilities of Large Language Models (LLMs) remains
an open question. We find that existing benchmarks are poorly aligned with
real-world code repositories and are insufficient to evaluate the coding
abilities of LLMs.
To address the knowledge gap, we propose a new benchmark named DevEval, which
has three advances. (1) DevEval aligns with real-world repositories in multiple
dimensions, e.g., code distributions and dependency distributions. (2) DevEval
is annotated by 13 developers and contains comprehensive annotations (e.g.,
requirements, original repositories, reference code, and reference
dependencies). (3) DevEval comprises 1,874 testing samples from 117
repositories, covering 10 popular domains (e.g., Internet, Database). Based on
DevEval, we propose repository-level code generation and evaluate 8 popular
LLMs on DevEval (e.g., gpt-4, gpt-3.5, StarCoder 2, DeepSeek Coder, CodeLLaMa).
Our experiments reveal these LLMs' coding abilities in real-world code
repositories. For example, in our experiments, the highest Pass@1 of
gpt-4-turbo is only 53.04%. We also analyze LLMs' failed cases and summarize
their shortcomings. We hope DevEval can facilitate the development of LLMs in
real code repositories. DevEval, prompts, and LLMs' predictions have been
released.
|
[
-0.45569998025894165,
-0.44857993721961975,
0.2904624938964844,
0.26032358407974243,
0.012755750678479671,
0.3961670994758606,
-0.4332192838191986,
-0.33744552731513977,
-0.07244114577770233,
0.2043517529964447,
-0.3435158431529999,
-0.8131591081619263,
-0.40255001187324524,
0.3748336434364319,
-0.3843858540058136,
0.8186067342758179,
-0.0772375613451004,
-0.022275937721133232,
-0.2965751886367798,
0.01169191487133503,
-0.4252496063709259,
-0.5235598087310791,
-0.03248417004942894,
0.2211627960205078,
0.22071464359760284,
0.43069297075271606,
0.51512211561203,
0.7690534591674805,
0.9127298593521118,
0.2528935968875885,
0.021623242646455765,
0.1061662882566452,
-0.4157274067401886,
0.4178902208805084,
0.0730293020606041,
-0.2620958983898163,
-0.5158473253250122,
-0.15716667473316193,
0.4216082990169525,
0.24291060864925385,
-0.17912499606609344,
0.51186603307724,
-0.020247478038072586,
0.7582718729972839,
-0.726755678653717,
0.09815657883882523,
-0.5966084003448486,
-0.013378812000155449,
-0.31957992911338806,
0.016191551461815834,
-0.23575006425380707,
-0.889308512210846,
-0.08877044916152954,
-0.19228288531303406,
0.15288451313972473,
-0.17853856086730957,
0.5159323811531067,
0.3751354217529297,
-0.03442978113889694,
-0.3501091003417969,
-0.48077839612960815,
0.6904296278953552,
-0.7667683362960815,
0.3365836441516876,
0.23466745018959045,
0.5611391067504883,
-0.008313882164657116,
-0.7871877551078796,
-0.42001423239707947,
-0.3863731324672699,
0.2213248610496521,
-0.23131772875785828,
0.07791063189506531,
-0.26882266998291016,
0.3904610872268677,
0.49101167917251587,
-0.5064830183982849,
0.0037111444398760796,
-0.49381008744239807,
-0.15106551349163055,
0.685926079750061,
0.021764177829027176,
0.06398739665746689,
-0.21171918511390686,
-0.2944430708885193,
-0.09899609535932541,
-1.0797864198684692,
-0.3866250813007355,
0.1947082281112671,
0.1722542643547058,
-0.06464211642742157,
0.34467291831970215,
-0.06994682550430298,
0.6428576111793518,
-0.2733568847179413,
-0.0850587859749794,
0.6284329891204834,
-0.35604262351989746,
-0.035644348710775375,
-0.11450768262147903,
0.5281698107719421,
0.4011891186237335,
0.5346667170524597,
-0.07142527401447296,
-0.3993180990219116,
0.12742340564727783,
0.41713419556617737,
-1.0225846767425537,
-0.322600781917572,
0.27433839440345764,
-0.23869620263576508,
-0.5507020354270935,
-0.20130480825901031,
-0.9414228200912476,
-0.5866972804069519,
-0.11740972101688385,
0.0021784836426377296,
-0.11569565534591675,
-0.46608757972717285,
-0.4146193861961365,
0.16852685809135437,
0.2464250922203064,
0.07319660484790802,
-0.6362897157669067,
0.152003675699234,
0.8029714226722717,
0.9670032858848572,
-0.0847858339548111,
-0.5475938320159912,
-0.5742065906524658,
-0.13079242408275604,
-0.38927578926086426,
0.907079815864563,
-0.4705302119255066,
-0.2256213128566742,
0.4570557177066803,
-0.3539060056209564,
0.29705625772476196,
-0.6958297491073608,
0.4305192530155182,
-0.606506884098053,
-0.21610602736473083,
-0.3050570487976074,
-0.6407790184020996,
0.19152037799358368,
0.4926776885986328,
-0.5035868883132935,
0.9003792405128479,
0.27829304337501526,
-0.5985561609268188,
0.5276163220405579,
-0.4744497239589691,
-0.3265501856803894,
0.361167848110199,
-0.38026681542396545,
-0.31465068459510803,
0.04072054848074913,
0.0832928717136383,
0.32442593574523926,
-0.45406225323677063,
0.5110858082771301,
-0.3157365322113037,
-0.4688263237476349,
0.15670576691627502,
-0.3208014667034149,
0.44350677728652954,
0.3116210103034973,
-0.5092576742172241,
-0.11050177365541458,
-0.7820529341697693,
0.27245447039604187,
-0.037743184715509415,
-0.4643443524837494,
-0.027365263551473618,
0.0033758128993213177,
-0.05233196169137955,
0.28909945487976074,
0.23107218742370605,
-0.36504772305488586,
0.4144297242164612,
-0.2608717083930969,
0.5496414303779602,
0.625437319278717,
-0.021711967885494232,
0.13379496335983276,
-0.1669238656759262,
0.7443495988845825,
-0.2591368556022644,
0.18800903856754303,
-0.14193277060985565,
-0.36853256821632385,
-0.5355820059776306,
-0.2950383126735687,
0.5054170489311218,
0.4313018023967743,
-0.5477408766746521,
0.34705236554145813,
-0.3263606131076813,
-0.7187509536743164,
-0.7579643130302429,
0.38258299231529236,
0.8037667870521545,
0.41693830490112305,
0.4018264710903168,
-0.05636626109480858,
-0.6285085678100586,
-0.9517314434051514,
-0.30347147583961487,
-0.3867605924606323,
-0.00036000809632241726,
0.11634396761655807,
0.5338400602340698,
-0.159078449010849,
0.6736077666282654,
-0.38783732056617737,
-0.16672179102897644,
-0.042686376720666885,
-0.010745859704911709,
0.09158435463905334,
0.3195391297340393,
0.35587620735168457,
-0.542789876461029,
-0.2586175799369812,
-0.2717452347278595,
-0.7260911464691162,
-0.3617299199104309,
0.2856330871582031,
0.08776800334453583,
0.22826839983463287,
0.4965254068374634,
-0.2693638205528259,
0.12628565728664398,
0.7636488676071167,
-0.10938120633363724,
0.46971645951271057,
-0.2870604991912842,
0.3286973237991333,
-0.9733367562294006,
-0.0660141259431839,
-0.15343379974365234,
0.0499076247215271,
-0.5246071815490723,
0.33440348505973816,
0.5742489099502563,
-0.1305750012397766,
-0.4916383624076843,
0.2841481864452362,
-0.6006518602371216,
-0.40148359537124634,
-0.13456259667873383,
0.41727736592292786,
-0.014440862461924553,
0.2476622313261032,
0.04459484666585922,
1.094160556793213,
0.4439818263053894,
-0.41941922903060913,
0.38270723819732666,
0.15977360308170319,
-0.6071417331695557,
0.45561397075653076,
-0.6165458559989929,
0.18065446615219116,
0.2855072617530823,
0.09662749618291855,
-0.8209228515625,
-0.17169925570487976,
-0.39427632093429565,
-0.28204500675201416,
0.20175518095493317,
-0.322742760181427,
-0.4378010630607605,
-0.448822945356369,
-0.4908536970615387,
0.3571756184101105,
0.8695964217185974,
-0.5594104528427124,
-0.006075860466808081,
0.41793709993362427,
-0.018436577171087265,
-0.49182501435279846,
-0.9859301447868347,
0.2983405292034149,
-0.09493887424468994,
-0.6996069550514221,
0.171382874250412,
-0.1966787725687027,
-0.41209059953689575,
-0.19533348083496094,
0.19481606781482697,
0.054967980831861496,
0.05161204934120178,
0.2385464459657669,
0.1647849828004837,
-0.4210442900657654,
0.27271100878715515,
-0.1823250949382782,
-0.21074561774730682,
0.06085706129670143,
-0.19022460281848907,
0.33818814158439636,
-0.5707824230194092,
-0.5507526993751526,
-0.045761335641145706,
-0.046892859041690826,
0.5482679009437561,
-0.381055623292923,
0.37232843041419983,
0.2106572985649109,
-0.2431526780128479,
-0.2736237645149231,
-0.8930336236953735,
0.04466204717755318,
-0.4351448118686676,
0.2687751054763794,
-0.4636891484260559,
-0.7174481153488159,
0.49227645993232727,
-0.16172091662883759,
0.3115057051181793,
0.3609650731086731,
0.759937584400177,
0.41939905285835266,
0.7690797448158264,
0.38476458191871643,
0.1675698161125183,
0.12098643183708191,
-0.312311589717865,
0.1000826507806778,
-0.8714998364448547,
-0.29932883381843567,
-0.572347104549408,
-0.30780503153800964,
-0.8490737676620483,
-0.5311558246612549,
0.08910808712244034,
0.2860865592956543,
-0.46449029445648193,
0.6129729747772217,
-0.8275023102760315,
0.6104475259780884,
0.342099666595459,
-0.42658987641334534,
0.464457243680954,
-0.17007753252983093,
-0.07603450119495392,
-0.14277604222297668,
-0.4327940344810486,
-0.6299437880516052,
1.1075555086135864,
0.35326504707336426,
0.682918131351471,
0.2962661385536194,
0.993101179599762,
0.44882938265800476,
0.7557776570320129,
-0.2553083598613739,
0.44656938314437866,
0.046215299516916275,
-0.5568877458572388,
0.06936556100845337,
-0.3869147002696991,
-0.5984634160995483,
0.12101766467094421,
0.07530555874109268,
-0.27020731568336487,
0.2710084021091461,
0.23389580845832825,
-0.21786732971668243,
0.17019884288311005,
-0.995879590511322,
0.8970987796783447,
-0.3152720630168915,
-0.3316194415092468,
0.003907755948603153,
-0.3092464804649353,
0.40670496225357056,
-0.3104584813117981,
0.4953232407569885,
-0.26061537861824036,
-0.3633730113506317,
0.5513105392456055,
-0.49503299593925476,
0.5152340531349182,
-0.47082653641700745,
-0.14283336699008942,
0.30985328555107117,
0.3903660774230957,
0.48509228229522705,
0.2333875149488449,
-0.43733277916908264,
0.32728126645088196,
-0.1276836097240448,
-0.35249361395835876,
-0.2639906406402588,
1.1463477611541748,
-0.623993456363678,
-0.5252705812454224,
-0.309825599193573,
-0.18083049356937408,
-0.3041399121284485,
0.07247435301542282,
0.18891412019729614,
0.5116561651229858,
-0.1283152848482132,
0.02979975752532482,
0.3415815830230713,
-0.1986791491508484,
0.5010406970977783,
0.6150834560394287,
-0.24157476425170898,
-0.600794792175293,
0.8107184171676636,
0.022454187273979187,
0.3294031023979187,
0.04839826002717018,
0.07843884825706482,
-0.2560654580593109,
-0.9313961267471313,
-0.6920869946479797,
-0.02159028872847557,
-0.7141141891479492,
-0.6335851550102234,
-0.41998592019081116,
-0.28735673427581787,
-0.32893094420433044,
-0.3039567172527313,
-0.5010251998901367,
-0.24069543182849884,
0.034881580621004105,
-0.07619882375001907,
0.6145397424697876,
0.9583360552787781,
0.05651017650961876,
-0.37825146317481995,
-0.7627044320106506,
0.007128150202333927,
0.2254369854927063,
0.5453017950057983,
-0.014303355477750301,
-0.5376726984977722,
-0.15782153606414795,
-0.13108137249946594,
-0.15101905167102814,
-0.6700295805931091,
0.2674108147621155,
0.17666621506214142,
0.40627771615982056,
0.05518672242760658,
0.19549788534641266,
0.7232025265693665,
-0.49312087893486023,
0.8441062569618225,
0.018361102789640427,
-0.8461242914199829,
0.7908682227134705,
-0.16225922107696533,
0.3273315727710724,
0.9843313694000244,
0.026787837967276573,
-0.3043381869792938,
-0.6579038500785828,
-0.5192475914955139,
-0.6976138353347778,
0.2701058089733124,
0.18237411975860596,
0.13534340262413025,
-0.3760967254638672,
0.3154710531234741,
0.045448463410139084,
0.21968048810958862,
-0.5274436473846436,
0.03206454962491989,
-0.15349160134792328,
-0.11592575162649155,
0.19870536029338837,
-0.34531718492507935,
0.07231052219867706,
-0.03231046721339226,
0.326791912317276,
-0.010655331425368786,
0.029494065791368484,
0.16968214511871338,
-0.22659479081630707,
-0.026196599006652832,
0.2698441743850708,
0.7532095313072205,
1.0356807708740234,
-0.26233217120170593,
0.30213892459869385,
0.2614526152610779,
-0.5214614868164062,
0.12765397131443024,
0.0852256491780281,
-0.01900075376033783,
-0.2298182249069214,
0.6367805600166321,
0.3731399476528168,
0.20466992259025574,
-0.873679518699646,
0.7989392280578613,
-0.16544602811336517,
-0.34636205434799194,
-0.35604333877563477,
0.06362045556306839,
0.19800417125225067,
0.31702491641044617,
0.3462289869785309,
0.054511480033397675,
-0.11513378471136093,
-0.24845658242702484,
0.2808527648448944,
0.1950821876525879,
-0.33701175451278687,
-0.22432228922843933,
0.5273733139038086,
0.5414004921913147,
-0.592617392539978,
0.6589975357055664,
-0.3822404146194458,
-0.34771543741226196,
0.5295397639274597,
0.3763570189476013,
1.0406713485717773,
-0.1888238787651062,
-0.057699743658304214,
0.5030800104141235,
0.33858808875083923,
-0.07195473462343216,
0.372653067111969,
-0.007213513366878033,
-0.28227972984313965,
-0.627581000328064,
-0.743717610836029,
-0.40663376450538635,
-0.050410591065883636,
-0.39850619435310364,
0.36856481432914734,
-0.305081307888031,
-0.0012718230718746781,
-0.1243734210729599,
0.15112461149692535,
-0.5852262377738953,
-0.21567292511463165,
0.06152604892849922,
1.2650041580200195,
-0.6513702869415283,
0.8260592818260193,
0.5358965992927551,
-0.47569042444229126,
-0.6310702562332153,
0.030752329155802727,
-0.025358712300658226,
-0.9985909461975098,
0.7513828277587891,
0.11738176643848419,
0.05951952189207077,
0.008538846857845783,
-0.2509010434150696,
-0.6498190760612488,
1.1666932106018066,
0.4130370616912842,
-0.8652514219284058,
0.2642321288585663,
-0.04214697703719139,
0.7306641936302185,
-0.5350703001022339,
0.3363998830318451,
0.6703729629516602,
0.5007209181785583,
-0.04441262409090996,
-0.7549218535423279,
0.07022715359926224,
-0.4943566918373108,
0.22946590185165405,
0.38242557644844055,
-0.4644596576690674,
0.6939405798912048,
-0.5309306383132935,
-0.03224615007638931,
0.07082855701446533,
0.4029605984687805,
0.56635981798172,
0.055090706795454025,
0.23263321816921234,
0.39079585671424866,
0.7045676708221436,
-0.13116128742694855,
1.2080243825912476,
-0.702621340751648,
0.32191720604896545,
0.7876641154289246,
-0.4977456331253052,
1.1717122793197632,
0.2756684124469757,
-0.3277226686477661,
0.5939925909042358,
0.4425294101238251,
-0.2783721685409546,
0.5042634010314941,
0.5910776257514954,
-0.16128337383270264,
-0.021847497671842575,
0.04076720029115677,
-0.8593122959136963,
0.07724810391664505,
0.05571529641747475,
-0.28535735607147217,
-0.17538940906524658,
-0.10765080153942108,
-0.09174689650535583,
0.2239644080400467,
0.07805851101875305,
0.7662808895111084,
0.017933234572410583,
-0.7100854516029358,
1.0642396211624146,
-0.1523868590593338,
0.5615848302841187,
-0.3439323306083679,
-0.1786169707775116,
-0.5612455010414124,
0.41173750162124634,
-0.2852635681629181,
-0.8828210234642029,
0.18382813036441803,
0.4569155275821686,
0.1269480288028717,
-0.14184361696243286,
0.6415969729423523,
-0.281496524810791,
-0.4356904625892639,
0.32022106647491455,
0.5173367261886597,
0.30643734335899353,
0.07627813518047333,
-0.5631359815597534,
0.292995810508728,
-0.013454701751470566,
-0.38192474842071533,
0.47850075364112854,
0.43880531191825867,
0.03968329355120659,
0.6077623963356018,
0.4769686162471771,
0.268474280834198,
-0.03051540069282055,
0.3106907904148102,
0.8405410051345825,
-0.7017008066177368,
-0.17384101450443268,
-0.9348016977310181,
0.24235574901103973,
-0.18203862011432648,
-0.6453995108604431,
0.6973875164985657,
0.6329036951065063,
0.7118539810180664,
0.010527598671615124,
0.6146882176399231,
-0.14964659512043,
0.46870511770248413,
-0.3090965151786804,
0.486876517534256,
-0.2985265552997589,
0.7091982364654541,
-0.14314988255500793,
-1.2441779375076294,
-0.43407168984413147,
0.36449822783470154,
-0.410316526889801,
0.26397252082824707,
0.6100139021873474,
0.9546607732772827,
0.26669567823410034,
0.026562999933958054,
0.3401367664337158,
0.09081235527992249,
0.4095345139503479,
0.6791419982910156,
1.0508670806884766,
-0.3173882067203522,
0.8382111191749573,
-0.36877602338790894,
-0.3061712384223938,
-0.14763286709785461,
-1.1391048431396484,
-0.8108347058296204,
-0.2984966039657593,
-0.5082619190216064,
-0.36628684401512146,
0.21357080340385437,
0.7762494087219238,
0.6573439240455627,
-0.8840590715408325,
-0.143268421292305,
-0.5138753056526184,
0.05868783965706825,
-0.14045986533164978,
-0.16325756907463074,
0.47796934843063354,
-0.5778335332870483,
-0.4292915463447571,
0.3389529585838318,
0.3708305060863495,
-0.20594723522663116,
-0.779109537601471,
-0.33660340309143066,
0.015768468379974365,
-0.28290268778800964,
0.38504207134246826,
0.12778240442276,
-0.628318190574646,
-0.22881679236888885,
0.040153998881578445,
-0.3424362242221832,
0.0688280463218689,
0.8429993391036987,
-0.7546489834785461,
0.2712603211402893,
0.5686938762664795,
0.6308193206787109,
0.26114508509635925,
0.04120541363954544,
0.48226526379585266,
-0.8559723496437073,
-0.14430668950080872,
0.36644676327705383,
0.11032205820083618,
0.5286732316017151,
0.057745546102523804,
0.673656702041626,
-0.03304547071456909,
-0.9548060894012451,
-1.0097671747207642,
0.06580547243356705,
-0.33867260813713074,
-0.1458304077386856,
1.266823410987854,
-0.21691080927848816,
-0.021786028519272804,
-0.0926583930850029,
0.15337127447128296,
-0.21136020123958588,
-0.28498831391334534,
0.7524323463439941,
0.47235918045043945,
0.1454823613166809,
-0.05606625974178314,
-0.7513872981071472,
0.7486622333526611,
0.009527584537863731,
-1.0136572122573853,
0.4890958368778229,
0.5333141088485718,
0.14784489572048187,
0.2509363889694214,
0.6148696541786194,
-0.25288209319114685,
0.3775699734687805,
0.14990873634815216,
0.28674036264419556,
-0.25807246565818787,
-0.12231036275625229,
-0.3252919018268585,
0.2563128173351288,
0.598950982093811,
0.026174619793891907
] |
http://arxiv.org/abs/2405.19846v2
|
http://arxiv.org/pdf/2405.19846v2
|
Quest: Query-centric Data Synthesis Approach for Long-context Scaling of Large Language Model
| 2024-05-30T08:50:55 | 2024-06-20T02:26:48 |
Chaochen Gao, Xing Wu, Qi Fu, Songlin Hu
|
cs.CL
|
cs.CL, cs.AI
|
Large language models, initially pre-trained with a limited context length,
can better handle longer texts by continuing training on a corpus with extended
contexts. However, obtaining effective long-context data is challenging due to
the scarcity and uneven distribution of long documents across different
domains. To address this issue, we propose a Query-centric data synthesis
method, abbreviated as Quest. Quest is an interpretable method based on the
observation that documents retrieved by similar queries are relevant but
low-redundant, thus well-suited for synthesizing long-context data. The method
is also scalable and capable of constructing large amounts of long-context
data. Using Quest, we synthesize a long-context dataset up to 128k context
length, significantly outperforming other data synthesis methods on multiple
long-context benchmark datasets. In addition, we further verify that the Quest
method is predictable through scaling law experiments, making it a reliable
solution for advancing long-context models.
|
[
-0.43262791633605957,
-0.6610067486763,
0.689544141292572,
0.26460278034210205,
-0.07206655293703079,
-0.13334117829799652,
-0.3589308261871338,
-0.27908647060394287,
0.5279582142829895,
0.7028024196624756,
-0.8770450949668884,
-0.5497435927391052,
-0.09791261702775955,
0.03296423330903053,
-0.6218020915985107,
0.8886029720306396,
0.10708799958229065,
-0.12610746920108795,
-0.3698391020298004,
-0.22455008327960968,
-0.35134586691856384,
-0.7059096097946167,
-0.6355711221694946,
-0.0018738677026703954,
0.5945974588394165,
0.21686378121376038,
0.39765042066574097,
0.6540135145187378,
0.19046670198440552,
0.1411202847957611,
-0.14097675681114197,
0.3055187165737152,
-0.9867492318153381,
0.6664343476295471,
-0.46686819195747375,
-0.28289443254470825,
-0.5371964573860168,
-0.09514003247022629,
0.9461306929588318,
0.9424808025360107,
0.14942103624343872,
0.15052708983421326,
-0.003020211821421981,
0.9406226277351379,
-0.4563109874725342,
0.08226823806762695,
-0.8334425687789917,
-0.13959768414497375,
-0.44251930713653564,
-0.13262337446212769,
-0.4449881315231323,
-0.07087129354476929,
0.20480354130268097,
-0.7047197818756104,
0.32069501280784607,
0.4018418788909912,
0.17862609028816223,
0.04391976445913315,
-0.7218232750892639,
-0.2831287086009979,
-0.6409081816673279,
0.9417614340782166,
-0.6877469420433044,
0.4737662971019745,
0.35820722579956055,
0.4160577058792114,
-0.5582654476165771,
-1.0374444723129272,
-0.6183165311813354,
-0.06503655016422272,
0.055133577436208725,
-0.07629241049289703,
0.4437932074069977,
0.01190743688493967,
0.24384953081607819,
0.32083868980407715,
-0.5934975147247314,
-0.08075132220983505,
-0.28461316227912903,
-0.1455145925283432,
0.6650530695915222,
0.4646138548851013,
0.0072124977596104145,
-0.3071008026599884,
-0.15759819746017456,
0.019247012212872505,
-1.127971887588501,
0.09201832115650177,
0.09934023022651672,
0.8890274167060852,
0.5393794178962708,
0.6440568566322327,
-0.599211573600769,
0.7248783111572266,
0.11281266808509827,
-0.08045636117458344,
0.16660454869270325,
-0.5767432451248169,
-0.09583179652690887,
0.0805123895406723,
0.6837095618247986,
0.5180281400680542,
-0.3756575882434845,
-0.1804792433977127,
-0.2562660872936249,
-0.5616065263748169,
0.29962071776390076,
-1.1477400064468384,
0.3393256366252899,
0.3663000166416168,
-0.1571015864610672,
0.000004202807758701965,
-0.39556774497032166,
-0.8274774551391602,
-0.3837490677833557,
-0.34845873713493347,
0.3678939640522003,
-0.1518780142068863,
-0.042077381163835526,
0.08118836581707001,
0.24593901634216309,
0.1836894005537033,
0.19645404815673828,
-0.971404492855072,
0.17441312968730927,
0.7832933068275452,
0.7533453106880188,
-0.5711449384689331,
-0.5314120650291443,
-0.8137029409408569,
0.243709996342659,
-0.5338545441627502,
0.35613346099853516,
-0.34671521186828613,
-0.45722419023513794,
0.211008220911026,
0.545891284942627,
0.06018635258078575,
-0.38167887926101685,
0.6984167695045471,
-0.6630313396453857,
0.2497592270374298,
-0.4690113961696625,
-0.7199690937995911,
0.11445353180170059,
0.4684619903564453,
-0.8434897661209106,
1.1103578805923462,
0.5195455551147461,
-0.6594921350479126,
0.40407589077949524,
-0.5013381838798523,
-0.6979571580886841,
0.15463759005069733,
0.12758906185626984,
-0.14050434529781342,
0.0864848643541336,
0.3255598545074463,
0.32487237453460693,
-0.6519713401794434,
0.29695823788642883,
-0.2958119213581085,
-0.3291689455509186,
0.09883737564086914,
-0.2228974848985672,
0.43580010533332825,
0.1233752891421318,
-0.13670217990875244,
0.040568411350250244,
-0.8359850645065308,
0.268404096364975,
0.062319837510585785,
-0.32674115896224976,
-0.5723584890365601,
0.21165530383586884,
-0.01685757003724575,
-0.03217344731092453,
0.4398755729198456,
-0.490316241979599,
0.43007948994636536,
-0.7009438276290894,
0.5253568291664124,
0.2876007854938507,
0.049395669251680374,
0.5290027260780334,
-0.07606951147317886,
0.40615639090538025,
-0.31151020526885986,
0.17538224160671234,
-0.2696847915649414,
0.10904638469219208,
-0.5486796498298645,
-0.256401926279068,
0.14883849024772644,
0.14024081826210022,
-0.766497790813446,
0.2265641689300537,
-0.7133263945579529,
-0.30436843633651733,
-0.2669762969017029,
-0.19036908447742462,
0.07891135662794113,
0.6088427305221558,
0.44637173414230347,
-0.22416892647743225,
-0.46586889028549194,
-0.7853610515594482,
-0.32426315546035767,
-0.05453219637274742,
-0.2659246027469635,
0.6426491141319275,
0.2803418040275574,
-0.4235994219779968,
1.05802321434021,
-0.6530016660690308,
-0.12507866322994232,
-0.08327660709619522,
-0.04442810267210007,
0.5685093998908997,
0.4799179434776306,
0.42411842942237854,
-0.7213649749755859,
-0.5345274209976196,
0.056951168924570084,
-0.3106563985347748,
0.06009169667959213,
-0.03955918550491333,
-0.48660263419151306,
0.17381437122821808,
0.7808977961540222,
-0.6585177779197693,
0.2075648009777069,
0.3181383013725281,
-0.09749361872673035,
0.6231500506401062,
-0.03262782841920853,
0.45026782155036926,
-1.3811594247817993,
0.21789614856243134,
-0.4397127330303192,
-0.4013185501098633,
-0.8184476494789124,
0.14720618724822998,
0.21242335438728333,
-0.2402271330356598,
-0.3903353214263916,
0.8063504695892334,
-0.257532000541687,
-0.09233082085847855,
-0.32480475306510925,
-0.08765088766813278,
0.3042847812175751,
0.43560630083084106,
-0.02373626083135605,
0.9417808055877686,
0.5932243466377258,
-0.530280590057373,
0.5686792731285095,
0.1939338892698288,
-0.5051954388618469,
0.5513113737106323,
-0.7907953262329102,
0.09726136922836304,
0.046389829367399216,
0.467227965593338,
-0.866896390914917,
-0.5191174745559692,
-0.1501230001449585,
-0.22624197602272034,
0.26369068026542664,
-0.6203814148902893,
-0.45899927616119385,
-0.40701907873153687,
-0.14973554015159607,
0.8981661200523376,
0.146113321185112,
-0.76832515001297,
0.5043622851371765,
0.411940336227417,
-0.46093103289604187,
-0.39741820096969604,
-0.5701950788497925,
0.20572413504123688,
-0.46773549914360046,
-0.6472600698471069,
0.5473382472991943,
-0.2555769085884094,
0.1669314205646515,
-0.4505045711994171,
-0.030595505610108376,
-0.31346073746681213,
-0.3050617575645447,
0.2838004529476166,
0.07935921847820282,
-0.18019743263721466,
0.38310402631759644,
0.35350003838539124,
0.3598613440990448,
0.24726438522338867,
-0.5772640109062195,
0.5504031181335449,
-0.0009110170067287982,
-0.3581984043121338,
0.07203593105077744,
0.5948761105537415,
1.0829286575317383,
-0.2628277838230133,
0.713341236114502,
0.17397627234458923,
-0.23053161799907684,
-0.37124040722846985,
-0.4069164991378784,
-0.10860093683004379,
-0.4457932710647583,
0.3444264829158783,
-0.5120511054992676,
-1.0923612117767334,
0.6397626399993896,
-0.34362396597862244,
0.08816507458686829,
0.4392450451850891,
0.4485650658607483,
0.30644968152046204,
1.1347136497497559,
0.4442969560623169,
-0.15446703135967255,
0.5124242305755615,
-0.04752711206674576,
0.17426639795303345,
-1.008297324180603,
-0.10303620994091034,
-0.3840104341506958,
0.01965538039803505,
-0.6797337532043457,
-0.488166481256485,
0.6463266015052795,
-0.24141819775104523,
-0.3510829210281372,
0.17848047614097595,
-0.3621669411659241,
0.397171288728714,
0.5796126127243042,
-0.10534356534481049,
-0.004639483988285065,
0.10375677794218063,
0.14516468346118927,
0.02238929457962513,
-0.2659156620502472,
0.1167232096195221,
1.298493504524231,
-0.07737820595502853,
0.6319144368171692,
0.0770215317606926,
0.6750307083129883,
0.11372772604227066,
-0.1331581026315689,
-1.0957362651824951,
0.32916057109832764,
0.02513359673321247,
-0.8143768906593323,
-0.7236726880073547,
-0.6265984773635864,
-1.1270989179611206,
0.19244620203971863,
-0.0903163030743599,
-0.3733004927635193,
0.05543152615427971,
-0.2549593448638916,
-0.1912381947040558,
-0.10961932688951492,
-0.4673422873020172,
0.8171522617340088,
-0.07546623796224594,
-0.6641589403152466,
-0.1296924352645874,
-0.6607381701469421,
0.17855395376682281,
-0.4326263964176178,
0.20842042565345764,
0.09018164873123169,
0.24700723588466644,
0.6676604151725769,
-0.5873770713806152,
0.37892892956733704,
-0.07489209622144699,
-0.06548011302947998,
0.4477064311504364,
0.26004278659820557,
0.7335680723190308,
0.35096797347068787,
-0.3325471580028534,
-0.36722445487976074,
0.3855133354663849,
-0.4839508831501007,
-0.5709072947502136,
0.9591085314750671,
-0.2746339440345764,
-0.7309909462928772,
-0.10865258425474167,
-0.7679429650306702,
-0.6146666407585144,
0.6294426321983337,
0.12955136597156525,
0.7302332520484924,
-0.34678441286087036,
0.38819241523742676,
0.4678047001361847,
-0.08138076215982437,
0.16006889939308167,
0.5863643288612366,
-0.4829317629337311,
-0.3914935290813446,
0.7829020619392395,
0.10806981474161148,
0.2861224412918091,
0.25363218784332275,
-0.051945045590400696,
-0.3421124219894409,
-0.6132763624191284,
-0.53909832239151,
0.1322820633649826,
-0.38458800315856934,
-0.13707682490348816,
-0.285685271024704,
-0.23434944450855255,
-0.4763791561126709,
-0.061161041259765625,
-0.7446169257164001,
-0.4111737906932831,
-0.10447190701961517,
0.22232893109321594,
0.3383963704109192,
0.36877304315567017,
0.2934512495994568,
0.19756880402565002,
-0.757599949836731,
0.0762064978480339,
0.4684423804283142,
0.3855328857898712,
-0.13088658452033997,
-0.5484520792961121,
-0.5474438667297363,
0.3001064956188202,
0.18421447277069092,
-0.44765549898147583,
0.6483101844787598,
0.13773266971111298,
0.1748584657907486,
-0.0021978062577545643,
0.2896957993507385,
0.5011249780654907,
-0.7524127960205078,
1.0856268405914307,
0.13735507428646088,
-0.8711586594581604,
0.610344409942627,
-0.5307729840278625,
0.5871559977531433,
0.7861835360527039,
0.43452712893486023,
-0.5786791443824768,
-0.16964350640773773,
-0.12243235111236572,
-1.3563292026519775,
0.607596755027771,
-0.0027910969220101833,
0.30071622133255005,
-0.17183583974838257,
0.6645611524581909,
0.37885189056396484,
0.234821155667305,
-0.4129188358783722,
-0.01842200569808483,
-0.16754643619060516,
-0.0022239491809159517,
-0.04042215645313263,
-0.34082481265068054,
-0.23791050910949707,
-0.13172750174999237,
0.6828641891479492,
-0.4906754195690155,
-0.1417127251625061,
0.09888454526662827,
-0.03419552370905876,
0.061578039079904556,
0.3317520320415497,
0.31412848830223083,
1.1446598768234253,
-0.375076025724411,
-0.03151119500398636,
-0.0015567709924653172,
-0.42778900265693665,
-0.07355528324842453,
0.23043754696846008,
-0.17485356330871582,
-0.07720424979925156,
0.11232521384954453,
0.7597706317901611,
-0.09926347434520721,
-0.8745036125183105,
0.5688519477844238,
-0.36139848828315735,
-0.0709531381726265,
-0.22586335241794586,
-0.16573801636695862,
0.1696961224079132,
0.31750425696372986,
0.5344558358192444,
-0.5816192626953125,
0.3445405662059784,
-0.5825231075286865,
0.038945697247982025,
0.35543274879455566,
-0.25177285075187683,
-0.26008105278015137,
0.4159184992313385,
0.07610610872507095,
0.11063916236162186,
0.835961103439331,
-0.06876768171787262,
-0.362938791513443,
0.35722705721855164,
0.5672240853309631,
0.530960738658905,
-0.04905607923865318,
0.06955219805240631,
0.6253359913825989,
-0.16686660051345825,
-0.3217875063419342,
0.13205856084823608,
-0.0032495923805981874,
-0.16846539080142975,
-0.6829674243927002,
-0.9391298890113831,
-0.2705010175704956,
0.27582263946533203,
-0.9248005151748657,
0.1246519386768341,
-0.17169202864170074,
-0.14358362555503845,
-0.1749730110168457,
0.18812254071235657,
-0.4739571809768677,
0.3718087077140808,
-0.2951946556568146,
0.6383008360862732,
-0.39562883973121643,
0.9014385342597961,
0.35478851199150085,
-0.06550749391317368,
-0.714015781879425,
0.05569994077086449,
-0.294124037027359,
-0.5686522722244263,
0.485746294260025,
0.14142532646656036,
-0.09353814274072647,
-0.07716856151819229,
-0.594386875629425,
-1.0878483057022095,
1.020993947982788,
0.1703251600265503,
-0.6669391393661499,
-0.10038108378648758,
0.28541940450668335,
0.7247986197471619,
-0.6011526584625244,
-0.2509705424308777,
0.5462680459022522,
0.20471854507923126,
0.536339521408081,
-0.8852059245109558,
0.26320213079452515,
0.007108001969754696,
-0.06315794587135315,
0.48240897059440613,
-0.425166517496109,
0.851716160774231,
0.15480057895183563,
-0.2572470009326935,
0.33776387572288513,
0.7871396541595459,
0.046615879982709885,
0.47322991490364075,
0.40014752745628357,
0.3552526533603668,
0.9065237045288086,
0.24789626896381378,
0.7850329279899597,
-0.4863300621509552,
0.5062844753265381,
1.2877691984176636,
-0.4852791130542755,
0.845226526260376,
0.5412890911102295,
-0.23592409491539001,
0.15607483685016632,
0.5752868056297302,
0.42471686005592346,
0.6553540229797363,
0.27572211623191833,
-0.5046560168266296,
-0.2088971585035324,
-0.2297460436820984,
-0.5080803036689758,
0.2595091760158539,
0.5539346933364868,
-0.338100403547287,
0.004887642338871956,
-0.07226350158452988,
-0.10409784317016602,
-0.28303274512290955,
-0.5003374814987183,
0.6510084867477417,
-0.04224860295653343,
-1.0551719665527344,
1.131410002708435,
-0.12666966021060944,
0.23042844235897064,
-0.5795659422874451,
0.34564077854156494,
-0.46603500843048096,
-0.1175902932882309,
0.07414498925209045,
-0.7511075735092163,
0.19422647356987,
-0.23947229981422424,
-0.49551528692245483,
-0.022732725366950035,
0.4131260812282562,
-0.7135040163993835,
-0.3741927742958069,
-0.04048675298690796,
0.5504050254821777,
0.14112131297588348,
-0.3906320631504059,
-0.25839823484420776,
-0.07038886845111847,
0.09938256442546844,
-0.40553441643714905,
0.6379294395446777,
0.7070485353469849,
-0.1958501636981964,
0.49061381816864014,
0.638298511505127,
0.12719111144542694,
-0.01514863595366478,
0.06826973706483841,
1.1612138748168945,
-0.797970175743103,
-0.38676702976226807,
-0.5156645774841309,
0.15289315581321716,
-0.04819875210523605,
-0.11927828192710876,
0.5475822687149048,
0.6559632420539856,
0.5927326083183289,
0.07382839918136597,
0.7447578310966492,
-0.19060982763767242,
0.7832608222961426,
-0.48147761821746826,
0.5830572247505188,
-0.8730653524398804,
0.09878703951835632,
0.18938323855400085,
-1.0899672508239746,
-0.16210147738456726,
0.006811222992837429,
-0.26604989171028137,
-0.2298569530248642,
0.7054828405380249,
0.9435877203941345,
-0.22537198662757874,
-0.1187022477388382,
0.18582649528980255,
0.2563764452934265,
0.5760623216629028,
0.5641635656356812,
0.5465982556343079,
-0.21525511145591736,
0.47552400827407837,
0.18366967141628265,
-0.09445054829120636,
-0.39475440979003906,
-0.817690372467041,
-0.8519249558448792,
-0.8691695928573608,
0.20622290670871735,
-0.4552351236343384,
-0.024334145709872246,
0.7660426497459412,
0.6919364333152771,
-0.6130737066268921,
-0.1424471139907837,
-0.06505946815013885,
0.04268118739128113,
0.07447334378957748,
-0.23543180525302887,
0.6567232608795166,
-0.40686917304992676,
-0.9465838074684143,
0.8154089450836182,
0.18981511890888214,
-0.19497235119342804,
-0.320238322019577,
-0.03716608136892319,
0.06371591985225677,
0.3163641691207886,
0.9168013334274292,
0.47722262144088745,
-0.41165223717689514,
-0.3313608467578888,
-0.0038853443693369627,
-0.16166740655899048,
-0.08483292907476425,
0.8056927919387817,
-0.7765581011772156,
0.7766280770301819,
0.7280697822570801,
0.7567086815834045,
0.9364676475524902,
-0.020114267244935036,
0.6696872711181641,
-0.6860095262527466,
0.12068618088960648,
0.2758495509624481,
0.2017073631286621,
0.37781232595443726,
-0.39915746450424194,
0.3956220746040344,
-0.16494542360305786,
-0.7752442359924316,
-1.0028159618377686,
0.4267864227294922,
-1.1464139223098755,
-0.32503998279571533,
1.2554254531860352,
-0.18328575789928436,
-0.5118761658668518,
0.3312244713306427,
-0.20053145289421082,
0.0004865170631092042,
-0.2318996787071228,
0.6651869416236877,
0.6140905022621155,
-0.005402497481554747,
0.43265190720558167,
-0.4920918643474579,
0.5689185261726379,
0.3584296405315399,
-0.7419605851173401,
0.5062064528465271,
0.836049497127533,
0.24490688741207123,
0.08829110115766525,
0.3555792272090912,
-0.11426958441734314,
-0.03569655492901802,
-0.17203810811042786,
-0.3499327301979065,
0.12080185860395432,
-0.37725844979286194,
0.17407679557800293,
0.21804334223270416,
0.09350834041833878,
0.26420918107032776
] |
http://arxiv.org/abs/2405.19842v1
|
http://arxiv.org/pdf/2405.19842v1
|
Improve Student's Reasoning Generalizability through Cascading Decomposed CoTs Distillation
| 2024-05-30T08:49:34 | 2024-05-30T08:49:34 |
Chengwei Dai, Kun Li, Wei Zhou, Songlin Hu
|
cs.CL
|
cs.CL, cs.AI
|
Large language models (LLMs) exhibit enhanced reasoning at larger scales,
driving efforts to distill these capabilities into smaller models via
teacher-student learning. Previous works simply fine-tune student models on
teachers' generated Chain-of-Thoughts (CoTs) data. Although these methods
enhance in-domain (IND) reasoning performance, they struggle to generalize to
out-of-domain (OOD) tasks. We believe that the widespread spurious correlations
between questions and answers may lead the model to preset a specific answer
which restricts the diversity and generalizability of its reasoning process. In
this paper, we propose Cascading Decomposed CoTs Distillation (CasCoD) to
address these issues by decomposing the traditional single-step learning
process into two cascaded learning steps. Specifically, by restructuring the
training objectives -- removing the answer from outputs and concatenating the
question with the rationale as input -- CasCoD's two-step learning process
ensures that students focus on learning rationales without interference from
the preset answers, thus improving reasoning generalizability. Extensive
experiments demonstrate the effectiveness of CasCoD on both IND and OOD
benchmark reasoning datasets. Code can be found at
https://github.com/C-W-D/CasCoD.
|
[
-0.43286657333374023,
-0.7200644612312317,
0.5012177228927612,
-0.033858153969049454,
-0.6250097751617432,
0.3927531838417053,
-0.41320502758026123,
-0.04991086944937706,
-0.12819531559944153,
0.689174473285675,
-0.38225746154785156,
-0.784156084060669,
-0.48936235904693604,
-0.06566759198904037,
-0.2722790241241455,
1.2659199237823486,
-0.2438904494047165,
0.20040705800056458,
-0.4830789864063263,
-0.039301857352256775,
-0.3624330759048462,
-0.6381484866142273,
-0.7533239722251892,
-0.3715652823448181,
0.2974347770214081,
0.5706930160522461,
0.42648547887802124,
0.18677446246147156,
0.2452172487974167,
0.13188359141349792,
-0.1145901158452034,
0.4434759020805359,
-0.4117877185344696,
0.3837450444698334,
-0.6232436299324036,
-0.5526727437973022,
-0.4103560447692871,
-0.28427043557167053,
0.2653113603591919,
0.9517331123352051,
-0.15422390401363373,
0.04580362141132355,
0.3921206295490265,
0.49150219559669495,
-0.8329949975013733,
0.28641822934150696,
-0.6661407947540283,
-0.16498911380767822,
0.05973263457417488,
-0.19513213634490967,
-0.5083045959472656,
-0.24670934677124023,
0.26359322667121887,
-0.42571407556533813,
0.5573213696479797,
-0.38272568583488464,
0.4392566680908203,
0.25775063037872314,
-0.4933820962905884,
-0.5188024640083313,
-0.7432875633239746,
0.7453031539916992,
-0.50194251537323,
-0.06840138137340546,
0.4348162114620209,
0.41992834210395813,
-0.4201662838459015,
-0.7333491444587708,
-0.4179796874523163,
0.18960264325141907,
0.016550442203879356,
0.034641265869140625,
0.12143401801586151,
0.24377019703388214,
0.19273275136947632,
0.2700618505477905,
-0.5029800534248352,
-0.16973178088665009,
-0.2858660817146301,
-0.1369316279888153,
0.6199507713317871,
0.15927426517009735,
0.22015894949436188,
0.18610930442810059,
-0.32939401268959045,
-0.16927054524421692,
-0.4384397864341736,
0.2900245487689972,
0.24275055527687073,
0.48056498169898987,
0.16460725665092468,
0.28161510825157166,
-0.2408287227153778,
0.4524151384830475,
0.16245752573013306,
-0.15469865500926971,
-0.02040797472000122,
-0.3027888536453247,
-0.24815453588962555,
0.11188645660877228,
0.23203642666339874,
-0.0890207514166832,
0.27552661299705505,
-0.2781260907649994,
-0.0680149495601654,
0.10674665868282318,
0.11774353682994843,
-0.8339622020721436,
-0.5110475420951843,
0.38447338342666626,
-0.06612405180931091,
-0.16355450451374054,
0.0306487288326025,
-0.6643742918968201,
0.021196462213993073,
-0.4958193898200989,
0.38165774941444397,
-0.35457247495651245,
-0.05348419398069382,
0.45682209730148315,
-0.06142687052488327,
0.04254617914557457,
0.5399588346481323,
-0.9013145565986633,
0.7480657696723938,
0.6996573209762573,
0.602875828742981,
-0.22815179824829102,
-0.19135510921478271,
-0.5185201168060303,
0.13413509726524353,
-0.32690927386283875,
0.5107513070106506,
-0.7002704739570618,
-0.5338231325149536,
-0.21609964966773987,
-0.1995154470205307,
0.07523973286151886,
-0.5333549380302429,
0.4954164922237396,
-0.6450294852256775,
-0.0019038582686334848,
-0.6896481513977051,
-0.33938977122306824,
-0.08917220681905746,
0.21169206500053406,
-0.46891066431999207,
0.8759000897407532,
-0.12944109737873077,
-0.8110532164573669,
0.3558715283870697,
-0.5089887380599976,
-0.48355600237846375,
-0.1764858067035675,
-0.35234561562538147,
-0.36012566089630127,
0.05805671960115433,
0.6359578371047974,
0.31740260124206543,
-0.37447160482406616,
0.49152249097824097,
-0.24974024295806885,
-0.3177071511745453,
-0.10833550244569778,
-0.40979811549186707,
0.9502837061882019,
0.34607526659965515,
-0.16587646305561066,
-0.22099226713180542,
-0.5723733901977539,
-0.029008807614445686,
-0.04436478018760681,
-0.2121126651763916,
-0.5959276556968689,
-0.00945523101836443,
-0.4377634525299072,
0.07025950402021408,
0.03165805712342262,
-0.29891809821128845,
0.48535504937171936,
-0.2242833375930786,
0.36038458347320557,
0.7095547318458557,
0.1615709364414215,
0.614915668964386,
-0.07151355594396591,
0.45646682381629944,
0.5833939909934998,
0.04634168744087219,
-0.1878463476896286,
-0.40676170587539673,
-0.7385559678077698,
-0.485870361328125,
0.16087767481803894,
0.13909485936164856,
-0.8781037330627441,
0.20087632536888123,
-0.05609021708369255,
-0.27662697434425354,
-0.27505484223365784,
0.4030589163303375,
0.4560947120189667,
0.6516880393028259,
0.751916229724884,
-0.4667496979236603,
-0.3944007456302643,
-0.3961651623249054,
-0.21039403975009918,
0.041423141956329346,
0.029923390597105026,
-0.08017760515213013,
0.6955748796463013,
-0.22143739461898804,
1.2090407609939575,
-0.7524702548980713,
-0.247159942984581,
-0.33091020584106445,
0.40592244267463684,
-0.05743519961833954,
0.5136218070983887,
0.4299962818622589,
-0.6267078518867493,
-0.3479619026184082,
-0.1986444592475891,
-0.43825745582580566,
-0.0022333094384521246,
-0.08023133128881454,
-0.48570144176483154,
-0.0416695810854435,
0.39476582407951355,
-0.5953992605209351,
0.6809045672416687,
-0.08738845586776733,
-0.05108964070677757,
0.6899134516716003,
-0.2877885103225708,
0.058325476944446564,
-1.1960809230804443,
-0.1380927413702011,
-0.31607919931411743,
-0.03157399222254753,
-0.38176044821739197,
0.10343079268932343,
0.024613765999674797,
-0.03463393449783325,
-0.20326471328735352,
0.17512106895446777,
-0.5725429058074951,
-0.18070580065250397,
-0.33150622248649597,
0.20043829083442688,
0.30454021692276,
0.3983486592769623,
0.12140895426273346,
0.6652578115463257,
0.7940714359283447,
-0.7820067405700684,
0.3679594397544861,
0.17766070365905762,
-0.32039812207221985,
0.4485587775707245,
-0.5701977014541626,
0.25308340787887573,
-0.3456233739852905,
0.9197008609771729,
-1.159879446029663,
-0.13077077269554138,
-0.10281403362751007,
-0.2993902564048767,
0.10039804875850677,
-0.1736139953136444,
-0.2887001931667328,
-0.3490697145462036,
-0.26636844873428345,
0.9009830951690674,
0.2419998198747635,
-1.0196417570114136,
0.6905255317687988,
-0.07193302363157272,
0.041319556534290314,
-0.9206425547599792,
-0.7464308142662048,
-0.07830733805894852,
-0.05329732224345207,
-0.3951182961463928,
0.43298906087875366,
-0.14333243668079376,
-0.25608235597610474,
0.04289644584059715,
-0.5010591745376587,
-0.3233363628387451,
-0.059893783181905746,
-0.05504588782787323,
0.3457677960395813,
-0.10351932793855667,
0.46581923961639404,
0.6194100379943848,
-0.042522720992565155,
0.17736221849918365,
-0.5285776853561401,
0.6272392272949219,
0.0700354054570198,
-0.3335551619529724,
-0.22811925411224365,
0.2536568343639374,
0.6868069171905518,
-0.40189090371131897,
0.6098023056983948,
0.1960269659757614,
-0.2798551321029663,
-0.9746065735816956,
-0.29740235209465027,
-0.33890387415885925,
-0.41893965005874634,
0.23502416908740997,
-0.7289602160453796,
-0.7109849452972412,
0.6038248538970947,
-0.3048442304134369,
0.07283832132816315,
0.09401294589042664,
0.428212970495224,
0.08814635127782822,
0.9713327884674072,
0.29778870940208435,
-0.0615370087325573,
-0.05270480737090111,
-0.577109694480896,
0.3256092369556427,
-0.7670193314552307,
-0.373529851436615,
-0.5607457756996155,
-0.1805538833141327,
-0.19423003494739532,
-0.6713488698005676,
0.10962904244661331,
0.3151358962059021,
-0.07771048694849014,
0.18905554711818695,
-0.4835379719734192,
0.877899169921875,
0.24497953057289124,
0.4062647521495819,
0.4242335259914398,
-0.02502496726810932,
-0.563560962677002,
0.42485499382019043,
-0.4019485414028168,
-0.48167547583580017,
1.370315670967102,
-0.04811958596110344,
0.8515965342521667,
0.06912419199943542,
0.9392900466918945,
0.2204049676656723,
0.008865063078701496,
-0.6698938012123108,
0.5785678029060364,
-0.2301865667104721,
-0.47743865847587585,
-0.2649911046028137,
-0.42911186814308167,
-0.8266699910163879,
0.6044408082962036,
0.195381760597229,
-0.647742509841919,
0.19114930927753448,
0.057374466210603714,
-0.41626468300819397,
0.3917643129825592,
-0.6177341341972351,
0.47407689690589905,
-0.09535275399684906,
-0.3908972442150116,
-0.3251804709434509,
-0.675788164138794,
0.5842981338500977,
-0.1182534322142601,
0.20400463044643402,
0.08089909702539444,
0.2220669686794281,
0.39275455474853516,
-0.8878015875816345,
0.8039023876190186,
-0.1311333328485489,
-0.2613396942615509,
0.6465743184089661,
0.06916559487581253,
0.49216294288635254,
0.3149690330028534,
0.05957437679171562,
-0.21905088424682617,
0.20448030531406403,
-0.7363919615745544,
-0.9970877766609192,
0.859947919845581,
-0.7621480226516724,
-0.7647456526756287,
-0.39002692699432373,
-0.5780105590820312,
-0.3796372711658478,
-0.3341017961502075,
0.19991621375083923,
0.5966132879257202,
-0.024495333433151245,
-0.029202599078416824,
0.9200955033302307,
0.1486339569091797,
0.4148322641849518,
0.3283658027648926,
-0.2115883082151413,
-0.34974297881126404,
0.45693132281303406,
0.06352391839027405,
0.582588255405426,
0.2942741811275482,
0.06231830641627312,
-0.4771853983402252,
-0.3286220133304596,
-0.1268891543149948,
0.05895192176103592,
-1.1165986061096191,
-0.06383397430181503,
-0.5237987041473389,
-0.07427804172039032,
-0.5904508233070374,
-0.28238072991371155,
-0.19994491338729858,
-0.41104862093925476,
-0.5684242248535156,
-0.1914912909269333,
0.0030389619059860706,
0.37239670753479004,
0.056567996740341187,
-0.011324112303555012,
-0.23960359394550323,
0.5595138072967529,
0.640214741230011,
0.03561452776193619,
0.2661290764808655,
-0.644018292427063,
-0.018245184794068336,
0.29239457845687866,
-0.33940988779067993,
-0.5192753076553345,
0.09204012900590897,
0.20029714703559875,
0.4573473036289215,
0.5744231343269348,
0.5847218036651611,
0.965874969959259,
-0.17859646677970886,
0.6480247378349304,
0.2826908826828003,
-1.1284611225128174,
0.8784050345420837,
0.20244033634662628,
0.31680211424827576,
0.7233927845954895,
0.5573169589042664,
0.002355495234951377,
-0.3632298707962036,
-0.34547731280326843,
-0.8559978008270264,
0.5988052487373352,
0.055776845663785934,
0.17963609099388123,
-0.09960589557886124,
0.5020000338554382,
0.4116588830947876,
-0.07730774581432343,
-0.2640362083911896,
-0.045627325773239136,
-0.1311672031879425,
-0.26580241322517395,
-0.08276869356632233,
-0.018568286672234535,
-0.05298628285527229,
-0.6232585906982422,
0.5852171778678894,
-0.2525247633457184,
-0.3573436141014099,
0.29264524579048157,
-0.15294870734214783,
0.20569200813770294,
0.3433930575847626,
0.38190048933029175,
0.6341089606285095,
-0.1887485831975937,
0.7130348682403564,
0.3882085680961609,
-0.7041191458702087,
0.31407463550567627,
-0.4498228430747986,
0.03850118815898895,
-0.1661553531885147,
0.1071576252579689,
0.38321882486343384,
0.052277613431215286,
-0.545632541179657,
0.5470351576805115,
-0.1827373504638672,
-0.21237289905548096,
-0.0614640973508358,
0.34267863631248474,
-0.13093557953834534,
0.2845059335231781,
0.5491673350334167,
0.27786707878112793,
0.12902168929576874,
-0.8010252714157104,
0.25210198760032654,
0.3183519244194031,
-0.059562645852565765,
-0.33062663674354553,
0.5775951147079468,
0.2264094054698944,
0.06233322620391846,
0.39460065960884094,
-0.11849562078714371,
-0.41733187437057495,
0.7299677729606628,
0.7090191841125488,
1.0144604444503784,
-0.13212981820106506,
0.3455829620361328,
0.47125521302223206,
0.08486379683017731,
-0.42552995681762695,
0.17056037485599518,
-0.6352412104606628,
-0.6686599254608154,
-0.40275856852531433,
-0.45222339034080505,
-0.5730001926422119,
0.07872623950242996,
-0.9994062185287476,
0.4935724139213562,
-0.5846225023269653,
-0.1564437747001648,
-0.0438251756131649,
0.06184764951467514,
-0.5374568104743958,
0.5877915620803833,
-0.14548176527023315,
0.6557887196540833,
-0.8413609862327576,
1.2017117738723755,
0.5861181616783142,
-0.6598206162452698,
-0.6794756650924683,
0.3567982316017151,
-0.2694575786590576,
-0.273647665977478,
0.673766553401947,
0.0036732868757098913,
-0.41744837164878845,
-0.061098143458366394,
-0.8369842767715454,
-0.6138683557510376,
1.1901345252990723,
0.4754280149936676,
-0.5880330801010132,
-0.003433368867263198,
0.40558427572250366,
0.5500620007514954,
-0.6065706610679626,
0.4947926998138428,
0.7523372173309326,
-0.017181748524308205,
0.6514931917190552,
-0.5325155854225159,
0.09203705191612244,
0.05376943573355675,
0.0918872132897377,
-0.029520446434617043,
-0.4268738031387329,
0.8849507570266724,
-0.5721556544303894,
-0.18428286910057068,
-0.15090441703796387,
0.5889624357223511,
0.2917403280735016,
0.5479201674461365,
0.26157528162002563,
0.7388550639152527,
1.0522695779800415,
-0.07825197279453278,
0.5149343013763428,
-0.005981074646115303,
0.504355251789093,
1.519567608833313,
-0.2655058801174164,
0.6997844576835632,
0.48306968808174133,
-0.13410428166389465,
0.7776594758033752,
0.42905572056770325,
0.3751303553581238,
0.8260049819946289,
0.41529563069343567,
-0.5846630334854126,
-0.5062618851661682,
0.24279189109802246,
-0.41374140977859497,
0.3996821641921997,
0.3496635854244232,
-0.25040650367736816,
-0.5164794325828552,
0.19503095746040344,
0.03387073427438736,
0.2568396329879761,
-0.34732764959335327,
0.5080259442329407,
-0.017466828227043152,
-0.7393591403961182,
0.8168138861656189,
-0.21854043006896973,
0.4438484311103821,
-0.43569323420524597,
-0.012939677573740482,
-0.4439249336719513,
0.2697325050830841,
-0.2670358121395111,
-0.5659368634223938,
0.241829052567482,
0.04772220551967621,
-0.2464037537574768,
0.01674240455031395,
0.5501821041107178,
-0.655159592628479,
-0.38504377007484436,
0.350778728723526,
0.09249082207679749,
0.1825086772441864,
0.08532284200191498,
-0.3340246081352234,
0.0358852744102478,
-0.02512914314866066,
0.03197995200753212,
0.3184998333454132,
0.5732654333114624,
-0.16089767217636108,
0.6737672090530396,
0.5344451665878296,
-0.12864679098129272,
-0.08853466808795929,
0.25212162733078003,
1.2316688299179077,
-0.31640347838401794,
-0.3058541417121887,
-0.7323108911514282,
0.5122236609458923,
-0.025460319593548775,
-0.4273400604724884,
0.5656835436820984,
0.6665747165679932,
1.118792176246643,
-0.07548683136701584,
0.8698986172676086,
0.344648540019989,
0.2717553675174713,
-0.4631439745426178,
0.3730374872684479,
-0.30338507890701294,
0.6685211062431335,
-0.4414466321468353,
-0.9212093949317932,
-0.260348916053772,
0.42109280824661255,
-0.49611184000968933,
0.020512780174613,
0.8634477257728577,
0.6733403205871582,
-0.16410987079143524,
0.2547347843647003,
0.24445953965187073,
-0.022693727165460587,
0.5132260322570801,
0.6824842095375061,
0.6689367890357971,
-0.33323875069618225,
0.4969461262226105,
-0.3193272054195404,
-0.38593026995658875,
-0.12103024870157242,
-0.5833246111869812,
-1.252303957939148,
-0.576305091381073,
-0.5413965582847595,
-0.19715894758701324,
0.12890252470970154,
0.8271801471710205,
0.41996291279792786,
-1.0180139541625977,
-0.1702142059803009,
-0.578205943107605,
0.14852182567119598,
-0.20612001419067383,
-0.2184811532497406,
0.45775601267814636,
-0.8192976713180542,
-0.6253188252449036,
0.14093561470508575,
0.13107416033744812,
-0.09281427413225174,
-0.19844619929790497,
-0.11000505089759827,
-0.01883474364876747,
0.6034435033798218,
0.6405070424079895,
0.05687595531344414,
-0.8266023397445679,
-0.1981285959482193,
-0.23583586513996124,
-0.03684316202998161,
-0.08502344787120819,
0.9298748970031738,
-0.7504643201828003,
0.7306798100471497,
0.45021894574165344,
0.42669081687927246,
0.8438458442687988,
0.37542015314102173,
0.17556540668010712,
-0.765917181968689,
0.058441586792469025,
0.18742452561855316,
0.1560029238462448,
-0.12742388248443604,
-0.23059462010860443,
0.4030056595802307,
0.1601012498140335,
-0.46464473009109497,
-0.8006579875946045,
0.17475676536560059,
-0.9848906397819519,
-0.668549120426178,
0.9788060784339905,
-0.47421321272850037,
-0.09378302097320557,
-0.4099709987640381,
-0.45099160075187683,
0.3229890465736389,
-0.28354355692863464,
1.0041199922561646,
0.6967045664787292,
0.009196190163493156,
0.055496882647275925,
0.07591404020786285,
0.42497408390045166,
0.43299204111099243,
-0.8879491090774536,
0.12558089196681976,
0.4057343602180481,
0.44043517112731934,
0.007931155152618885,
0.463145911693573,
-0.16455361247062683,
0.2169870138168335,
0.013488458469510078,
-0.050878215581178665,
0.0576510950922966,
-0.587000846862793,
-0.02646406553685665,
0.32277828454971313,
-0.19694937765598297,
-0.39872491359710693
] |
http://arxiv.org/abs/2405.19831v2
|
http://arxiv.org/pdf/2405.19831v2
|
Just Rewrite It Again: A Post-Processing Method for Enhanced Semantic Similarity and Privacy Preservation of Differentially Private Rewritten Text
| 2024-05-30T08:41:33 | 2024-05-31T07:24:55 |
Stephen Meisenbacher, Florian Matthes
|
cs.CL
|
cs.CL
|
The study of Differential Privacy (DP) in Natural Language Processing often
views the task of text privatization as a $\textit{rewriting}$ task, in which
sensitive input texts are rewritten to hide explicit or implicit private
information. In order to evaluate the privacy-preserving capabilities of a DP
text rewriting mechanism, $\textit{empirical privacy}$ tests are frequently
employed. In these tests, an adversary is modeled, who aims to infer sensitive
information (e.g., gender) about the author behind a (privatized) text. Looking
to improve the empirical protections provided by DP rewriting methods, we
propose a simple post-processing method based on the goal of aligning rewritten
texts with their original counterparts, where DP rewritten texts are rewritten
$\textit{again}$. Our results show that such an approach not only produces
outputs that are more semantically reminiscent of the original inputs, but also
texts which score on average better in empirical privacy evaluations.
Therefore, our approach raises the bar for DP rewriting methods in their
empirical privacy evaluations, providing an extra layer of protection against
malicious adversaries.
|
[
-0.1512356400489807,
-0.7622676491737366,
0.685429036617279,
-0.07494844496250153,
-0.36834362149238586,
0.17122262716293335,
-0.08908116072416306,
-0.15655401349067688,
0.2540903091430664,
1.1010249853134155,
-0.6864470839500427,
-0.8539189696311951,
-0.526947021484375,
0.29516854882240295,
-0.5674509406089783,
1.1071066856384277,
-0.10747740417718887,
-0.2913129925727844,
-0.1711597591638565,
0.1003197729587555,
-0.02745356224477291,
-0.5307701230049133,
-0.46382737159729004,
0.033361826092004776,
0.5927404165267944,
0.2814202308654785,
0.6760706305503845,
0.922046959400177,
0.4917800724506378,
0.37530189752578735,
0.08287426829338074,
0.015991611406207085,
-0.6297498345375061,
0.2854236662387848,
-0.3481110632419586,
-0.33863893151283264,
-0.6134138703346252,
0.10908418148756027,
0.9982979893684387,
0.6916728615760803,
-0.13563840091228485,
0.1600298285484314,
0.32375001907348633,
0.7056915163993835,
-0.7040985226631165,
-0.2831418812274933,
-0.865695059299469,
-0.010336448438465595,
0.03803106024861336,
-0.41480815410614014,
-0.37412890791893005,
-0.8095288872718811,
0.10151886194944382,
-0.6667830348014832,
0.68946373462677,
0.05965092033147812,
0.7800398468971252,
0.1787792146205902,
-0.23605287075042725,
0.17016324400901794,
-0.669933557510376,
0.7641615271568298,
-0.42894765734672546,
0.3762078583240509,
0.3678045868873596,
0.08707268536090851,
-0.37456756830215454,
-1.009420394897461,
-0.6917557716369629,
-0.2406293898820877,
-0.20162302255630493,
-0.03824760764837265,
-0.4018600881099701,
-0.10019243508577347,
0.10008551180362701,
0.5170599818229675,
-0.2978419363498688,
-0.2492603212594986,
-0.3115387558937073,
-0.48111987113952637,
0.8994047045707703,
0.09281134605407715,
0.1303952932357788,
0.1460351049900055,
-0.4610380530357361,
-0.358199805021286,
-0.58552485704422,
-0.16632045805454254,
0.7869895696640015,
0.03920023888349533,
0.4110431969165802,
0.5287907123565674,
-0.31289005279541016,
0.1986699104309082,
0.12183986604213715,
0.02031753398478031,
0.4475618302822113,
-0.3293897211551666,
-0.31191644072532654,
0.18937577307224274,
0.5471534132957458,
0.7081584930419922,
0.19550998508930206,
-0.22384798526763916,
0.1734064668416977,
0.015449508093297482,
0.6689399480819702,
-0.5843916535377502,
-0.26360225677490234,
-0.05334579199552536,
-0.6251636147499084,
-0.5042140483856201,
-0.020891452208161354,
-0.9533549547195435,
-0.4999294579029083,
-0.5203616619110107,
0.3200927972793579,
-0.34616321325302124,
-0.28677794337272644,
0.36744755506515503,
-0.16839902102947235,
0.1272222250699997,
0.25267884135246277,
-0.726744532585144,
0.8389862179756165,
1.2539360523223877,
0.5765584111213684,
0.02671911008656025,
-0.6899173259735107,
-0.33455148339271545,
0.2980053126811981,
-0.19587643444538116,
0.5086135268211365,
-0.6641387939453125,
-0.45497652888298035,
-0.05184062942862511,
0.15961556136608124,
0.15047550201416016,
-0.2757018804550171,
0.833317220211029,
-0.666015625,
0.46563613414764404,
-0.2613186240196228,
-0.39644527435302734,
-0.11480768769979477,
0.27196991443634033,
-0.5955116152763367,
0.7994901537895203,
-0.2031453400850296,
-1.105873703956604,
0.5590170621871948,
-0.2498232126235962,
-0.28803372383117676,
-0.4925059974193573,
-0.029516231268644333,
-0.9055327773094177,
0.2914908826351166,
0.02051445096731186,
0.019962595775723457,
-0.0024600194301456213,
0.2110373079776764,
-0.4241301715373993,
-0.26991745829582214,
0.14638590812683105,
-0.636713981628418,
0.7752920985221863,
-0.0585329495370388,
-0.33193668723106384,
0.1308690756559372,
-0.9828845262527466,
0.16134712100028992,
-0.00727469939738512,
-0.16999945044517517,
-0.67610102891922,
-0.1641041785478592,
-0.36668020486831665,
-0.31105291843414307,
0.5272397994995117,
-1.0491137504577637,
0.10870689898729324,
-0.6713148951530457,
0.14741341769695282,
0.9476490020751953,
-0.09180948138237,
0.837153434753418,
-0.35008081793785095,
0.2721453905105591,
-0.4004848003387451,
0.29081374406814575,
0.017638996243476868,
-0.3708949387073517,
-0.4742436110973358,
-0.40366262197494507,
0.27910035848617554,
0.3090846538543701,
-0.005867363885045052,
0.2766872048377991,
-0.47970300912857056,
-0.3780154883861542,
-0.8381319642066956,
0.034653838723897934,
0.6639219522476196,
0.6185473799705505,
0.16878508031368256,
-0.24197009205818176,
-0.749693751335144,
-1.2821956872940063,
-0.8581534624099731,
0.06000594422221184,
-0.07769933342933655,
0.122545525431633,
0.2770911157131195,
-0.3727771043777466,
0.7180490493774414,
-0.8484542369842529,
-0.2847781777381897,
0.19646267592906952,
0.19864267110824585,
-0.22854378819465637,
0.5557295680046082,
0.15159457921981812,
-0.7855871319770813,
-0.5267714858055115,
-0.24917981028556824,
-0.4683120846748352,
-0.42891794443130493,
0.1955638825893402,
-0.6641185283660889,
0.16700761020183563,
0.4376547038555145,
-0.37301716208457947,
0.6251664161682129,
0.20047852396965027,
-0.4803648293018341,
0.2811307907104492,
-0.6075337529182434,
0.5499552488327026,
-1.0018047094345093,
-0.1844262182712555,
-0.6153556704521179,
-0.384772390127182,
-0.5244656801223755,
0.3462750315666199,
0.007913979701697826,
-0.3377586603164673,
-0.28895804286003113,
0.20736560225486755,
-0.5851464867591858,
-0.12492907047271729,
-0.6686798334121704,
0.02412882074713707,
0.18650902807712555,
0.18317493796348572,
-0.05424303188920021,
0.4575970768928528,
0.6153404116630554,
-0.42815834283828735,
0.1858920007944107,
0.2394259124994278,
0.03429979085922241,
0.5230818390846252,
-0.4212266802787781,
0.5953511595726013,
-0.5648635625839233,
0.28269901871681213,
-1.0268778800964355,
0.024167323485016823,
0.3648194372653961,
-0.43318575620651245,
0.19914230704307556,
-0.03851539269089699,
-0.4978971779346466,
0.167128324508667,
-0.9305031895637512,
0.2801782488822937,
0.5194492936134338,
-0.5112800598144531,
0.67265784740448,
0.27360793948173523,
-0.07363708317279816,
-0.6518536806106567,
-0.71828293800354,
0.3384149372577667,
-0.3559596538543701,
-0.7567158937454224,
0.8269075751304626,
0.33131498098373413,
-0.2354651391506195,
0.242522731423378,
-0.11755722761154175,
-0.37530428171157837,
0.15507222712039948,
0.2828611731529236,
0.07918306440114975,
0.008276144042611122,
-0.27919453382492065,
0.3616023659706116,
-0.6723197102546692,
-0.002769139362499118,
-0.22993290424346924,
0.433337539434433,
0.1341596245765686,
-0.13596291840076447,
-0.7987002730369568,
0.9165754318237305,
0.08375723659992218,
-0.15597283840179443,
0.7880763411521912,
0.2311553657054901,
-0.396577388048172,
-0.10261553525924683,
-0.34834471344947815,
-0.28094810247421265,
-0.47451749444007874,
0.049879029393196106,
-0.4510522484779358,
-0.8302993178367615,
0.22683407366275787,
0.06419239938259125,
0.37648773193359375,
0.21387334167957306,
0.3486851453781128,
0.002736108610406518,
0.6040077209472656,
1.0520210266113281,
0.17398855090141296,
0.30748385190963745,
0.24011492729187012,
0.49888184666633606,
-0.4905344843864441,
-0.10257538408041,
-0.426512211561203,
-0.3716256320476532,
-0.9051945209503174,
-0.08995842933654785,
-0.08664751797914505,
-0.08243336528539658,
-0.042450420558452606,
0.508025586605072,
-0.6026719808578491,
0.6806197166442871,
0.6900405287742615,
0.36857208609580994,
0.5906817317008972,
0.20947882533073425,
0.3875894844532013,
-0.3130206763744354,
0.052507683634757996,
-0.9250359535217285,
1.3925418853759766,
0.17182086408138275,
0.6661346554756165,
0.2094239741563797,
1.3273102045059204,
0.24248817563056946,
0.3206298053264618,
-0.042540885508060455,
0.6382437348365784,
-0.35421326756477356,
-0.42518821358680725,
-0.4096352756023407,
-0.2894376516342163,
-1.042152762413025,
0.37605321407318115,
-0.0089408028870821,
-0.854043185710907,
0.16735374927520752,
0.4197297990322113,
-0.35585883259773254,
0.20649442076683044,
-0.7860395908355713,
0.7721725702285767,
0.23927970230579376,
-0.6826326847076416,
-0.3539822995662689,
-0.47625067830085754,
0.39768823981285095,
-0.22666943073272705,
0.13499803841114044,
0.057484839111566544,
-0.3616349399089813,
0.6974430084228516,
-0.5887274742126465,
0.9250463843345642,
-0.04502477869391441,
-0.24421076476573944,
-0.09796696901321411,
0.38718560338020325,
0.24007663130760193,
0.2641574442386627,
-0.1711476892232895,
0.18097321689128876,
0.1321914792060852,
-0.14985522627830505,
-0.6155822277069092,
1.0879687070846558,
-0.46840232610702515,
-1.0531542301177979,
-0.4563341438770294,
-0.23603731393814087,
0.2743547260761261,
0.41405853629112244,
0.1424766331911087,
0.18578365445137024,
-0.2135688066482544,
0.20753075182437897,
0.6319703459739685,
-0.2629449963569641,
0.1517983227968216,
0.6951259970664978,
-0.023459311574697495,
-0.1815333217382431,
0.4596300721168518,
-0.1413200944662094,
0.03631308674812317,
0.5694954991340637,
0.3787837624549866,
-0.5664073824882507,
-0.42181292176246643,
-0.15326561033725739,
0.06822551786899567,
-0.4634345471858978,
0.052640873938798904,
-1.139906644821167,
0.17673365771770477,
-0.7304662466049194,
-0.2850736379623413,
-0.5692102909088135,
-0.2530401647090912,
-0.03816758468747139,
-0.08094456791877747,
0.47702476382255554,
0.2576393783092499,
-0.41968947649002075,
0.10623665153980255,
-0.569105327129364,
0.8706725239753723,
0.16448067128658295,
0.62211674451828,
-0.22223514318466187,
-0.4612674117088318,
0.5161756277084351,
0.05360030382871628,
-0.18080711364746094,
-0.8279348611831665,
0.1547738015651703,
0.2203214019536972,
0.2565993070602417,
-0.31047624349594116,
0.39949071407318115,
0.5228825807571411,
-1.0255788564682007,
0.43273282051086426,
-0.18810129165649414,
-0.9576322436332703,
0.39038074016571045,
0.009546159766614437,
-0.30817681550979614,
0.9426517486572266,
0.08663848787546158,
-0.2068680375814438,
-0.4447241723537445,
-0.8417196869850159,
-1.0174086093902588,
0.5436776280403137,
0.427401065826416,
0.517503559589386,
0.2616378962993622,
0.5031912922859192,
0.5912047028541565,
0.3961198329925537,
-0.5800762176513672,
-0.29063427448272705,
-0.18584170937538147,
-0.0987592563033104,
0.026096735149621964,
-0.6384816765785217,
-0.29040881991386414,
-0.06516481190919876,
0.3535487949848175,
0.5040580034255981,
0.22658666968345642,
0.3787526488304138,
0.1856185495853424,
0.2128780484199524,
0.3739032447338104,
0.14349931478500366,
0.3828110098838806,
-0.2277335226535797,
0.3941308557987213,
-0.08572357147932053,
-0.5018695592880249,
0.4206295907497406,
0.15701863169670105,
-0.35031604766845703,
0.022970840334892273,
0.24304692447185516,
0.2496621459722519,
0.3049035370349884,
-0.1805288940668106,
0.5904356241226196,
-0.24163039028644562,
-0.3714616000652313,
-0.5752240419387817,
0.1463596075773239,
-0.12576118111610413,
0.08275461196899414,
-0.18238836526870728,
-0.09227362275123596,
0.498974472284317,
-0.7522264122962952,
0.7812798619270325,
0.19443202018737793,
0.18037696182727814,
-0.12813976407051086,
0.8155246376991272,
-0.028189729899168015,
-0.723939836025238,
0.31656140089035034,
-0.10479442030191422,
-0.5089066624641418,
0.11373749375343323,
0.505164384841919,
1.1820740699768066,
-0.29055050015449524,
0.17053234577178955,
0.21503949165344238,
0.30250856280326843,
-0.10403341054916382,
0.37833505868911743,
-0.3380544185638428,
-0.5409497618675232,
-0.1465718001127243,
-0.5103011131286621,
-0.1799946427345276,
-0.23333725333213806,
-0.720549464225769,
0.12183421105146408,
-0.7858149409294128,
0.09001049399375916,
0.20493650436401367,
-0.221260204911232,
-0.33944088220596313,
0.23153860867023468,
-0.1572265625,
0.4968506097793579,
-0.7312682271003723,
0.6494649052619934,
0.4580186903476715,
-0.01824076846241951,
-0.3347393274307251,
0.37546780705451965,
0.06217232719063759,
-0.5906980633735657,
0.4956411123275757,
0.08193165063858032,
-0.5431175231933594,
-0.0662558376789093,
-0.22912734746932983,
-0.9208629131317139,
0.6381152868270874,
0.5649998784065247,
-0.7128180861473083,
0.30096593499183655,
0.33207452297210693,
0.7673267126083374,
-0.011822768487036228,
-0.2594996392726898,
0.8182322382926941,
0.3041679263114929,
-0.46771812438964844,
-0.688270092010498,
0.3567764163017273,
-0.19538578391075134,
-0.11072879284620285,
0.31501680612564087,
-0.3638908267021179,
0.7900850772857666,
0.12109652906656265,
-0.500148355960846,
0.012476354837417603,
0.4954655170440674,
0.08522941172122955,
0.6166550517082214,
0.5925120711326599,
0.6403601169586182,
0.7251078486442566,
0.034503791481256485,
1.1448750495910645,
0.15326674282550812,
0.21681705117225647,
1.405473232269287,
-0.4849158823490143,
0.6761943101882935,
0.468984454870224,
-0.03632121905684471,
0.38690459728240967,
0.14998456835746765,
0.12429524958133698,
0.9353188872337341,
0.6123361587524414,
-0.19550387561321259,
0.04629218578338623,
0.05900455638766289,
-0.4047546088695526,
0.3960190415382385,
-0.5712621212005615,
-0.5627585053443909,
-0.3750743269920349,
-0.1998593509197235,
0.34569093585014343,
0.8568295836448669,
-0.031736161559820175,
0.8259777426719666,
-0.007536898832768202,
-0.5054909586906433,
0.31338176131248474,
0.27150559425354004,
0.6624019742012024,
-0.38083353638648987,
-0.019792810082435608,
-0.11559829115867615,
0.5367668867111206,
-0.3097793459892273,
-0.821494460105896,
0.9575552940368652,
0.3968604803085327,
-0.4371362328529358,
-0.5528058409690857,
0.5995615124702454,
-0.2858338952064514,
-0.4634449779987335,
0.3267182409763336,
-0.10727330297231674,
0.1864042431116104,
-0.20548249781131744,
-0.5184425711631775,
0.11764959245920181,
0.3017427325248718,
-0.30565160512924194,
0.3104345202445984,
0.3643007278442383,
-0.03653648868203163,
0.3709326684474945,
0.7268710136413574,
-0.2388371378183365,
0.15570369362831116,
0.30090364813804626,
0.9430274367332458,
-0.7709091901779175,
-0.749122142791748,
-1.1985058784484863,
0.3680708408355713,
-0.45681214332580566,
-0.4899604022502899,
0.9508092999458313,
0.6948069334030151,
0.9752994179725647,
0.09283353388309479,
0.6400981545448303,
0.2762341797351837,
0.9036902189254761,
-0.498875230550766,
0.6519255042076111,
-0.49991288781166077,
0.21893760561943054,
-0.49328795075416565,
-0.9928401112556458,
-0.4275559186935425,
0.42932724952697754,
-0.3990059494972229,
-0.41384902596473694,
0.6142016649246216,
0.9403464794158936,
-0.034813448786735535,
0.17289845645427704,
0.2331993281841278,
-0.03375525400042534,
0.3200763165950775,
0.4937041103839874,
0.7463647723197937,
-0.5603806376457214,
0.4409061372280121,
-0.5897146463394165,
-0.25500932335853577,
0.3207930326461792,
-1.0666075944900513,
-0.6862789988517761,
-0.39520585536956787,
-0.5934252738952637,
-0.28679782152175903,
0.2100704312324524,
0.30827468633651733,
0.16217178106307983,
-0.4665806293487549,
0.27277660369873047,
-0.2352965623140335,
0.006845592055469751,
-0.08849184960126877,
-0.18741363286972046,
0.572658121585846,
0.3159044682979584,
-0.8696050047874451,
0.2759034037590027,
0.22876200079917908,
-0.13803625106811523,
-0.06592445820569992,
0.34637439250946045,
0.24404704570770264,
-0.01973862014710903,
0.20000000298023224,
-0.008379779756069183,
-0.5536056160926819,
-0.3773411214351654,
-0.21595750749111176,
0.03585730865597725,
-0.1871301531791687,
0.9991021156311035,
-0.4471460282802582,
0.4473010301589966,
0.6102576851844788,
0.859091579914093,
0.2893482446670532,
0.34350448846817017,
0.820466160774231,
-0.6181331872940063,
0.24788840115070343,
0.21475715935230255,
0.21039631962776184,
0.3793182373046875,
-0.7495797276496887,
0.07845865935087204,
0.007764004170894623,
-0.4315306842327118,
-0.9550319910049438,
0.45015108585357666,
-0.6842707395553589,
-0.3763867914676666,
0.8623915910720825,
-0.3533993065357208,
-0.3438476026058197,
-0.2833414077758789,
-0.5388041734695435,
0.3790338337421417,
-0.3770197927951813,
1.0034093856811523,
0.25082218647003174,
0.3796073794364929,
-0.038102198392152786,
-0.05542038008570671,
0.5420758724212646,
0.3695313036441803,
-0.43474823236465454,
0.6123056411743164,
0.3663821220397949,
0.5487465262413025,
-0.007361701223999262,
0.9762991070747375,
-0.4520425498485565,
0.05617697164416313,
0.2872600853443146,
-0.25042709708213806,
-0.220483660697937,
-0.25499579310417175,
-0.29755640029907227,
0.27863436937332153,
-0.27615270018577576,
-0.7369235157966614
] |
http://arxiv.org/abs/2405.19799v2
|
http://arxiv.org/pdf/2405.19799v2
|
Unsupervised Mutual Learning of Dialogue Discourse Parsing and Topic Segmentation
| 2024-05-30T08:10:50 | 2024-06-03T08:13:10 |
Jiahui Xu, Feng Jiang, Anningzhe Gao, Haizhou Li
|
cs.CL
|
cs.CL
|
The advancement of large language models (LLMs) has propelled the development
of dialogue systems. Unlike the popular ChatGPT-like assistant model, which
only satisfies the user's preferences, task-oriented dialogue systems have also
faced new requirements and challenges in the broader business field. They are
expected to provide correct responses at each dialogue turn, at the same time,
achieve the overall goal defined by the task. By understanding rhetorical
structures and topic structures via topic segmentation and discourse parsing, a
dialogue system may do a better planning to achieve both objectives. However,
while both structures belong to discourse structure in linguistics, rhetorical
structure and topic structure are mostly modeled separately or with one
assisting the other in the prior work. The interaction between these two
structures has not been considered for joint modeling and mutual learning.
Furthermore, unsupervised learning techniques to achieve the above are not well
explored. To fill this gap, we propose an unsupervised mutual learning
framework of two structures leveraging the global and local connections between
them. We extend the topic modeling between non-adjacent discourse units to
ensure global structural relevance with rhetorical structures. We also
incorporate rhetorical structures into the topic structure through a graph
neural network model to ensure local coherence consistency. Finally, we utilize
the similarity between the two fused structures for mutual learning. The
experimental results demonstrate that our methods outperform all strong
baselines on two dialogue rhetorical datasets (STAC and Molweni), as well as
dialogue topic datasets (Doc2Dial and TIAGE). We provide our code at
https://github.com/Jeff-Sue/URT.
|
[
-0.23880186676979065,
-0.877257764339447,
0.5384941697120667,
0.06726627051830292,
-0.4312039613723755,
0.4685976803302765,
-0.02964101918041706,
-0.13913854956626892,
0.34262239933013916,
0.556226372718811,
-0.4249308705329895,
-0.6759145855903625,
-0.45345067977905273,
-0.2884676456451416,
-0.013980180956423283,
0.7076410055160522,
0.21065552532672882,
0.32925209403038025,
-0.44731587171554565,
-0.32885128259658813,
-0.4139801561832428,
-0.6994821429252625,
-0.6241822242736816,
-0.48402002453804016,
0.48188215494155884,
0.33530259132385254,
0.3116684556007385,
0.2741311490535736,
0.048505380749702454,
0.48498061299324036,
-0.32729631662368774,
0.11092688143253326,
-0.35123729705810547,
0.38414010405540466,
-0.37532588839530945,
-0.32941755652427673,
-0.17575056850910187,
-0.12091377377510071,
0.5992699265480042,
1.2499183416366577,
-0.19084450602531433,
-0.2912277579307556,
0.3525007367134094,
0.4377616047859192,
-0.07507278025150299,
0.5566145181655884,
-0.7541660070419312,
0.076480433344841,
0.07500910758972168,
-0.1086173728108406,
-0.221671462059021,
-0.24695348739624023,
0.5556921362876892,
-0.40799856185913086,
0.09132973104715347,
0.03054095432162285,
0.7910643219947815,
-0.12503401935100555,
-0.7661861777305603,
-0.11074481159448624,
-0.24866455793380737,
0.6599777340888977,
-0.3277367651462555,
0.2549172043800354,
0.19116094708442688,
-0.015593616291880608,
-0.33291128277778625,
-0.8060508966445923,
0.008510706014931202,
-0.027223700657486916,
-0.08919578790664673,
0.2368960827589035,
-0.4087692201137543,
0.30587857961654663,
-0.03351796790957451,
0.32091256976127625,
-0.4793075919151306,
0.1549561768770218,
-0.2702387571334839,
-0.37789076566696167,
0.16627559065818787,
0.07100755721330643,
0.2292981743812561,
-0.4581448435783386,
-0.5101185441017151,
0.17815455794334412,
-0.5758971571922302,
0.0406755767762661,
0.2470729798078537,
0.33147767186164856,
-0.07131002843379974,
0.25575530529022217,
-0.17480522394180298,
0.5109850168228149,
0.028443677350878716,
-0.10088669508695602,
0.012871732003986835,
-0.1120462492108345,
-0.3043399453163147,
0.04722687602043152,
0.8471119999885559,
0.20474125444889069,
0.05212337523698807,
-0.11562959104776382,
0.11674816161394119,
0.015455827116966248,
-0.050454676151275635,
-0.5050944685935974,
-0.20498774945735931,
-0.2784977853298187,
-0.6333814859390259,
-0.1700860857963562,
-0.15677063167095184,
-0.6477451324462891,
-0.13917486369609833,
-0.564697802066803,
0.11405152082443237,
-0.27149683237075806,
-0.27571138739585876,
0.035618532449007034,
0.10524128377437592,
0.01900363899767399,
0.29237765073776245,
-0.7543787360191345,
0.5220456123352051,
0.9341662526130676,
1.018269658088684,
-0.20999448001384735,
-0.21895690262317657,
-0.5449386239051819,
0.1756543070077896,
-0.2097260057926178,
0.9891763925552368,
-0.7155427932739258,
-0.5039839148521423,
0.0022408084478229284,
0.06941799819469452,
-0.38372570276260376,
-0.45488518476486206,
0.2649635970592499,
-0.5932819843292236,
0.6109262108802795,
-0.24450062215328217,
-0.6890690922737122,
-0.3493499457836151,
0.24427902698516846,
-0.3308972418308258,
0.6193326711654663,
0.12386121600866318,
-0.9155305624008179,
-0.03309117630124092,
-0.6992064714431763,
-0.4210997223854065,
-0.06294433027505875,
-0.4634086489677429,
-0.3099709749221802,
0.18990124762058258,
0.1621459722518921,
0.4185846447944641,
-0.36588531732559204,
0.9031881093978882,
-0.3326350450515747,
-0.0957362949848175,
0.1490618884563446,
-0.6283885836601257,
0.6871588826179504,
0.1334761381149292,
-0.1460866779088974,
0.5162600874900818,
-0.6495651006698608,
-0.20017488300800323,
-0.013424338772892952,
-0.0307288970798254,
-0.23880930244922638,
-0.12405570596456528,
-0.3168081045150757,
-0.009045379236340523,
0.09300948679447174,
-0.4883027970790863,
0.04008647799491882,
-0.6247115731239319,
0.5573434829711914,
0.8140698671340942,
0.4081101417541504,
0.5342977643013,
-0.20287322998046875,
0.3551299273967743,
0.11575603485107422,
-0.2428719401359558,
-0.2505638003349304,
-0.5329343676567078,
-0.7108274102210999,
-0.22947977483272552,
0.33428481221199036,
0.5829507112503052,
-0.6417939066886902,
0.5023602247238159,
0.028483456000685692,
-0.27087247371673584,
0.0852939784526825,
-0.203457772731781,
0.5066700577735901,
0.7585883140563965,
0.1170639842748642,
-0.6391079425811768,
-0.4305163323879242,
-0.6815550923347473,
-0.0594138577580452,
-0.36162957549095154,
-0.03178783506155014,
0.42417025566101074,
0.18812687695026398,
0.05888563394546509,
1.0036494731903076,
-0.7617452144622803,
-0.2371712028980255,
-0.43875807523727417,
0.5439045429229736,
0.01801891252398491,
0.34907519817352295,
0.24468287825584412,
-0.6040686368942261,
-0.597972571849823,
-0.012735088355839252,
-0.678240180015564,
-0.1568852663040161,
0.08721923828125,
-0.15910965204238892,
0.17177380621433258,
0.5445510149002075,
-0.434838205575943,
0.5026732087135315,
0.19159755110740662,
-0.17462077736854553,
0.33915939927101135,
-0.33991891145706177,
-0.08536529541015625,
-1.5776786804199219,
-0.21759018301963806,
0.045692771673202515,
-0.3154859244823456,
-0.5739817023277283,
-0.42013072967529297,
-0.4960380494594574,
-0.43994614481925964,
-0.35149481892585754,
0.30232149362564087,
-0.4650603234767914,
-0.6783440709114075,
-0.4821777641773224,
0.1289876252412796,
0.28825831413269043,
0.8591217398643494,
0.30376699566841125,
0.7259323000907898,
0.7616590857505798,
-0.33376821875572205,
0.46676233410835266,
0.3362100422382355,
-0.5095974206924438,
0.6133358478546143,
-0.8318011164665222,
0.09632459282875061,
0.12416186928749084,
0.44230327010154724,
-0.9058471918106079,
-0.09886748343706131,
0.47253572940826416,
-0.2553362548351288,
0.2071531116962433,
-0.34589341282844543,
-0.23004412651062012,
0.16946859657764435,
0.03482300043106079,
0.27795499563217163,
0.2040589302778244,
-0.4752133786678314,
0.5157972574234009,
0.6378117799758911,
-0.6315170526504517,
-0.3575401306152344,
-0.1487005054950714,
-0.14029256999492645,
-0.2783547639846802,
-0.7322368025779724,
0.3985302448272705,
0.2723676264286041,
-0.2915639281272888,
-0.11157355457544327,
-0.2532690465450287,
-0.30365467071533203,
-0.0017314181895926595,
0.535446286201477,
0.25699886679649353,
-0.24008631706237793,
0.20644237101078033,
0.13375335931777954,
-0.40026605129241943,
0.04537809640169144,
-0.5313484072685242,
0.8090157508850098,
-0.18179820477962494,
-0.62323397397995,
-0.563903272151947,
0.5440521836280823,
0.33411329984664917,
-0.4259940981864929,
0.5433483719825745,
0.35016316175460815,
-0.09725537896156311,
0.21772335469722748,
-0.36835595965385437,
-0.1748685985803604,
-0.4890405237674713,
0.40768110752105713,
-0.41478267312049866,
-1.2721948623657227,
0.48457929491996765,
-0.571317732334137,
-0.19550015032291412,
0.23198102414608002,
0.3878331482410431,
-0.094946950674057,
0.6420427560806274,
0.5528207421302795,
-0.35996192693710327,
0.5745074152946472,
-0.11681989580392838,
0.3021591007709503,
-0.7461960315704346,
-0.5130441784858704,
-0.45194491744041443,
-0.0947803258895874,
-0.33637502789497375,
-0.6622883081436157,
0.3694594204425812,
0.05509120970964432,
-0.008629059419035912,
0.04683217778801918,
-0.26749664545059204,
0.5585529208183289,
0.6793213486671448,
-0.18963566422462463,
0.26738351583480835,
0.5691370368003845,
-0.7856693863868713,
-0.08890184760093689,
-0.5561060309410095,
-0.3116607367992401,
0.6609197854995728,
0.3065178692340851,
0.6682130694389343,
-0.20409388840198517,
0.5586260557174683,
0.2098202407360077,
-0.25994136929512024,
-0.6721721291542053,
0.8647658824920654,
-0.015140059404075146,
-0.01986050046980381,
-0.32865968346595764,
-0.6590003371238708,
-1.0720173120498657,
0.6968922019004822,
0.2692725360393524,
-1.0967236757278442,
0.2551875412464142,
-0.27825793623924255,
-0.06383438408374786,
0.4560910761356354,
-0.5446893572807312,
0.8709574937820435,
-0.09145862609148026,
-0.3307446539402008,
-0.4000340402126312,
-0.7249480485916138,
0.009256473742425442,
0.2996363043785095,
-0.08794011920690536,
-0.25744718313217163,
0.3336982727050781,
0.7599950432777405,
-0.3602522611618042,
1.2402291297912598,
-0.2269764244556427,
-0.13735054433345795,
0.40749937295913696,
-0.02205265313386917,
0.20761992037296295,
0.22656027972698212,
0.15739864110946655,
0.24228760600090027,
-0.1646183431148529,
-0.2931845188140869,
-0.6734751462936401,
0.6267757415771484,
-0.748605489730835,
-0.7087097764015198,
-0.567292332649231,
-0.5498970150947571,
-0.36479490995407104,
0.09950856864452362,
0.07992817461490631,
0.8103193044662476,
-0.5691376328468323,
0.0276179276406765,
0.7552316784858704,
-0.13024230301380157,
0.40633830428123474,
0.640278160572052,
-0.1561426818370819,
-0.6867192387580872,
1.0065312385559082,
-0.16579808294773102,
0.1956525295972824,
0.5738391876220703,
0.13414925336837769,
-0.4853822588920593,
-0.43258827924728394,
0.008759218268096447,
0.36233633756637573,
-0.6582091450691223,
-0.18729905784130096,
-0.6747411489486694,
-0.3069567382335663,
-0.45401790738105774,
0.06539160758256912,
-0.2050378918647766,
-0.481726735830307,
-0.5170395374298096,
-0.25394535064697266,
0.051644258201122284,
0.6447117328643799,
-0.1893080174922943,
0.2858498692512512,
-0.6230697631835938,
0.12066265940666199,
0.4352042078971863,
0.19953176379203796,
-0.07919034361839294,
-0.4444950222969055,
0.10447152704000473,
0.15364734828472137,
-0.5830069184303284,
-0.7934269309043884,
0.2494536191225052,
0.06983786821365356,
0.49621084332466125,
0.6954509019851685,
0.02105938270688057,
0.5876734852790833,
-0.4540252983570099,
0.6305582523345947,
0.3561646640300751,
-1.0400390625,
0.6774265766143799,
-0.40992242097854614,
0.21736840903759003,
0.49602237343788147,
0.39510539174079895,
-0.7598872780799866,
-0.1536596119403839,
-0.5653330683708191,
-0.6112902164459229,
0.8147051930427551,
-0.013281344436109066,
-0.026388542726635933,
0.09022900462150574,
0.10593447834253311,
0.11399582773447037,
0.13568563759326935,
-0.7590911984443665,
-0.12407823652029037,
-0.06457997113466263,
0.022283760830760002,
0.1802239865064621,
-0.29248249530792236,
-0.22557027637958527,
-0.33118736743927,
0.6196840405464172,
-0.3298276960849762,
0.2794927954673767,
-0.019649716094136238,
-0.07862462848424911,
0.06776172667741776,
0.4876260459423065,
0.4784320890903473,
0.6277694702148438,
-0.10966701060533524,
0.0230016577988863,
-0.015188967809081078,
-0.002004866488277912,
0.1993507593870163,
0.1803092658519745,
-0.009375706315040588,
0.11628968268632889,
0.2871673107147217,
1.1233388185501099,
0.525726854801178,
-0.2840166389942169,
0.509532630443573,
-0.22974793612957,
-0.3432435095310211,
0.0465390644967556,
-0.17222048342227936,
0.2666635811328888,
0.4341743588447571,
0.05495805665850639,
-0.008237117901444435,
0.0064688813872635365,
-0.6605098843574524,
0.34152719378471375,
0.6065093278884888,
-0.4884943962097168,
-0.3756117522716522,
0.10996944457292557,
0.42745912075042725,
-0.3501419126987457,
0.4217236042022705,
-0.17425552010536194,
-0.8654313683509827,
0.3830476403236389,
0.719140887260437,
0.7639621496200562,
-0.19656608998775482,
0.7879371643066406,
-0.05370165780186653,
-0.3035488426685333,
0.21192775666713715,
0.02505764737725258,
-0.5444610714912415,
-0.5662464499473572,
-0.2910159230232239,
-0.5245922803878784,
-0.6602480411529541,
0.09185720980167389,
-0.5591822862625122,
-0.15332143008708954,
-0.2944306433200836,
0.0998079925775528,
-0.21962693333625793,
0.16324526071548462,
0.029942668974399567,
-0.0579400509595871,
-0.15717463195323944,
0.38183581829071045,
-0.7289928197860718,
0.8802904486656189,
0.6523852348327637,
-0.13242653012275696,
-0.7326859831809998,
0.13631455600261688,
-0.01817292533814907,
-0.6687715649604797,
0.6224701404571533,
0.1907932311296463,
-0.1690019816160202,
-0.2345055192708969,
-0.12920595705509186,
-0.8189070820808411,
1.0139213800430298,
0.4275535047054291,
-0.4550786316394806,
-0.22467586398124695,
0.48253244161605835,
0.3628286123275757,
-0.578973114490509,
0.22506274282932281,
0.14680860936641693,
-0.13495856523513794,
0.5244680047035217,
-0.7807510495185852,
-0.2002251148223877,
0.19195722043514252,
0.02984873205423355,
0.27072930335998535,
-0.8575212955474854,
0.5961048603057861,
0.1914716362953186,
-0.1697283685207367,
0.09608539938926697,
0.8453142642974854,
0.11488865315914154,
0.5246681571006775,
0.472947359085083,
0.577913761138916,
0.9218562245368958,
-0.12728850543498993,
0.23119258880615234,
-0.2101493626832962,
0.2383488118648529,
1.2898303270339966,
-0.5518877506256104,
0.6290006637573242,
0.054203033447265625,
-0.1063944548368454,
0.59889817237854,
0.6191900968551636,
0.1039850264787674,
0.6236684918403625,
0.15919294953346252,
-0.42331480979919434,
-0.20418989658355713,
-0.5096518397331238,
-0.4911527633666992,
0.589061975479126,
0.43440476059913635,
-0.268266499042511,
-0.5686966180801392,
0.13289625942707062,
0.013786258175969124,
0.14352978765964508,
-0.021338723599910736,
1.1625251770019531,
0.2782311737537384,
-0.6594616770744324,
0.2241031974554062,
0.059031374752521515,
0.2976975440979004,
-0.6834309697151184,
0.07062415778636932,
-0.4515400230884552,
-0.1621357649564743,
0.11935479938983917,
-0.43320760130882263,
0.35340389609336853,
-0.13760019838809967,
0.017785562202334404,
-0.3454294502735138,
1.0118542909622192,
-0.534503161907196,
-0.3125629723072052,
0.4367789924144745,
0.6151115298271179,
0.10468661785125732,
-0.06406872719526291,
-0.8047875761985779,
0.08633624762296677,
0.22031335532665253,
0.1472105234861374,
0.6109987497329712,
0.624743640422821,
0.010733178816735744,
0.5926238298416138,
0.4836288094520569,
-0.04981191083788872,
-0.32335999608039856,
0.3257652521133423,
1.0469120740890503,
-0.47758302092552185,
-0.7274442315101624,
-0.6678865551948547,
0.08210986107587814,
-0.3151538074016571,
0.08119400590658188,
0.5955493450164795,
0.7510749697685242,
0.6501268744468689,
0.318403035402298,
0.42146652936935425,
0.4767936170101166,
0.6201367378234863,
-0.5272281169891357,
0.4394094944000244,
-0.3031313717365265,
0.35758528113365173,
-0.37973326444625854,
-1.1425871849060059,
-0.016841812059283257,
0.6842697858810425,
-0.47106075286865234,
-0.241414412856102,
0.8654459118843079,
0.7062073349952698,
-0.16350167989730835,
0.38392242789268494,
0.41436436772346497,
-0.011912238784134388,
0.35629433393478394,
0.4841749966144562,
1.0585148334503174,
0.08956032246351242,
0.49026742577552795,
-0.06502841413021088,
-0.2166631668806076,
0.15473482012748718,
-0.4891763925552368,
-1.154914379119873,
-0.7465659976005554,
-0.48903360962867737,
0.006931970827281475,
0.129475936293602,
0.7995980978012085,
0.7434108853340149,
-0.5633105635643005,
-0.460277259349823,
-0.4089926481246948,
0.3654651641845703,
0.32751432061195374,
-0.23022466897964478,
0.536556601524353,
-0.44265052676200867,
-0.5825327038764954,
0.6631317734718323,
0.7326195240020752,
0.05367330461740494,
-0.14668920636177063,
0.022041674703359604,
-0.3268930912017822,
0.15291133522987366,
0.4082864820957184,
0.3222893476486206,
-0.7690677642822266,
-0.10103495419025421,
-0.38640066981315613,
0.13375121355056763,
0.37870335578918457,
1.117789626121521,
-0.8616539835929871,
0.1602247804403305,
0.3224562108516693,
0.689785897731781,
0.43553426861763,
0.11991604417562485,
0.6138619184494019,
-0.8691458702087402,
0.1660347431898117,
0.07792070508003235,
0.5489124655723572,
0.3385469317436218,
0.04742176830768585,
0.297969251871109,
0.5215325355529785,
-0.5884727239608765,
-0.5921679735183716,
0.6141868829727173,
-0.7810890674591064,
-0.4184585213661194,
0.7677046060562134,
-0.4497200548648834,
-0.10706356912851334,
-0.4327816665172577,
-0.5194841027259827,
0.4348694086074829,
-0.5369560122489929,
0.4210549592971802,
0.541251540184021,
-0.30292588472366333,
-0.06271244585514069,
0.2198784500360489,
0.29771512746810913,
0.6926791667938232,
-0.9827017188072205,
0.07858861237764359,
0.6904700398445129,
0.2443559318780899,
0.1074271872639656,
0.8619235754013062,
0.17976050078868866,
-0.05886297672986984,
-0.07294952124357224,
-0.5129026174545288,
0.16672317683696747,
-0.45738017559051514,
-0.3083689510822296,
0.4846283197402954,
-0.15714743733406067,
-0.3258971869945526
] |
http://arxiv.org/abs/2405.19795v1
|
http://arxiv.org/pdf/2405.19795v1
|
SLM as Guardian: Pioneering AI Safety with Small Language Models
| 2024-05-30T08:03:15 | 2024-05-30T08:03:15 |
Ohjoon Kwon, Donghyeon Jeon, Nayoung Choi, Gyu-Hwung Cho, Changbong Kim, Hyunwoo Lee, Inho Kang, Sun Kim, Taiwoo Park
|
cs.CL
|
cs.CL, cs.AI
|
Most prior safety research of large language models (LLMs) has focused on
enhancing the alignment of LLMs to better suit the safety requirements of
humans. However, internalizing such safeguard features into larger models
brought challenges of higher training cost and unintended degradation of
helpfulness. To overcome such challenges, a modular approach employing a
smaller LLM to detect harmful user queries is regarded as a convenient solution
in designing LLM-based system with safety requirements.
In this paper, we leverage a smaller LLM for both harmful query detection and
safeguard response generation. We introduce our safety requirements and the
taxonomy of harmfulness categories, and then propose a multi-task learning
mechanism fusing the two tasks into a single model. We demonstrate the
effectiveness of our approach, providing on par or surpassing harmful query
detection and safeguard response performance compared to the publicly available
LLMs.
|
[
0.008627213537693024,
-0.7782320380210876,
0.4585733413696289,
-0.38611921668052673,
-0.06921467930078506,
-0.1074291542172432,
0.17558206617832184,
-0.7339305281639099,
-0.139865443110466,
0.880843460559845,
-0.5356623530387878,
-0.4660244882106781,
-0.4322596788406372,
-0.10266635566949844,
-0.31937360763549805,
0.9028076529502869,
0.4459581971168518,
-0.19034717977046967,
-0.12338054925203323,
0.055833689868450165,
-0.5057190656661987,
-0.7414152026176453,
-1.092795968055725,
-0.14951543509960175,
0.6629815101623535,
0.33071067929267883,
0.49782004952430725,
0.353078693151474,
0.6932799816131592,
0.2684837281703949,
-0.11399414390325546,
0.4248623251914978,
-0.2568029463291168,
0.2100711166858673,
-0.26274678111076355,
-0.6495476961135864,
-0.6800644397735596,
-0.11564110964536667,
0.32959818840026855,
0.1511126607656479,
-0.23024649918079376,
0.0007274272502399981,
0.2361096441745758,
0.6759911775588989,
-0.7014384269714355,
0.12285065650939941,
-0.9653684496879578,
-0.015080881305038929,
-0.26865386962890625,
-0.05928729847073555,
-0.8218969702720642,
-0.14235886931419373,
-0.09448637813329697,
-0.23579759895801544,
-0.2167268544435501,
0.49620288610458374,
0.3601064682006836,
0.42650148272514343,
-0.6749361753463745,
-0.2113720029592514,
-0.3081863820552826,
0.8575154542922974,
-0.7038541436195374,
0.15236829221248627,
0.5724407434463501,
0.2890108525753021,
-0.07996290177106857,
-0.512413740158081,
-0.476471483707428,
-0.3649757206439972,
-0.30706825852394104,
-0.09984410554170609,
-0.23467236757278442,
0.3213203251361847,
0.05362199619412422,
-0.2053045928478241,
-0.6218851804733276,
0.5334932208061218,
-0.31000816822052,
-0.4190504848957062,
0.9331368803977966,
0.6981384754180908,
0.48563602566719055,
-0.4548409581184387,
-0.5531936287879944,
0.007605960126966238,
-1.2354141473770142,
0.05535508692264557,
0.20169225335121155,
0.6855884790420532,
0.015426292084157467,
0.4210757315158844,
-0.07565142214298248,
0.4086988568305969,
-0.05585629492998123,
-0.4497722387313843,
-0.06888996809720993,
-0.4756992757320404,
-0.11853495985269547,
-0.03551478311419487,
0.7900856733322144,
0.295047402381897,
-0.13917306065559387,
-0.2168668508529663,
-0.3836911916732788,
0.14813990890979767,
0.7380649447441101,
-0.6825734972953796,
-0.07692805677652359,
-0.029909268021583557,
-0.4893012046813965,
-0.417167991399765,
-0.13366559147834778,
-0.5091031193733215,
-0.5289567112922668,
-0.17054496705532074,
0.3556860685348511,
-0.4390064477920532,
-0.16847488284111023,
0.11654464900493622,
0.4997774660587311,
0.1260407269001007,
0.17165924608707428,
-0.728239893913269,
0.27317431569099426,
0.7711542844772339,
0.6011692881584167,
-0.5613977313041687,
-0.04822881892323494,
-0.8241289258003235,
0.5881718993186951,
-0.04512597620487213,
0.6235865950584412,
-0.3260956108570099,
-0.6203641891479492,
0.08195655792951584,
0.1262199431657791,
-0.3090786337852478,
-0.40851691365242004,
0.7406973838806152,
-0.7443837523460388,
-0.09426383674144745,
-0.12727710604667664,
-0.20815397799015045,
-0.14261414110660553,
0.36314162611961365,
-0.43499961495399475,
0.8282084465026855,
-0.2596321105957031,
-0.9013652205467224,
0.3011906147003174,
-0.6351211071014404,
-0.6478508114814758,
0.18936234712600708,
-0.046478744596242905,
-0.6996378898620605,
-0.13486908376216888,
-0.032653048634529114,
0.3574938178062439,
-0.06621646136045456,
-0.052097298204898834,
-0.26098185777664185,
-0.23004493117332458,
-0.018070517107844353,
-0.21353992819786072,
0.7883031964302063,
0.20948229730129242,
-0.13136684894561768,
0.516552746295929,
-0.24806047976016998,
0.22621825337409973,
-0.09166976809501648,
-0.6489888429641724,
-0.5836449861526489,
0.30105093121528625,
-0.13857443630695343,
0.3587324023246765,
0.2098032832145691,
-0.4390183389186859,
-0.28702089190483093,
-0.533333420753479,
0.36237239837646484,
0.8424707055091858,
0.09784837812185287,
0.45580020546913147,
-0.5702347755432129,
0.3597766160964966,
0.13228219747543335,
0.4973400831222534,
0.25105229020118713,
-0.36964908242225647,
-0.6917532682418823,
-0.1005435362458229,
-0.28444188833236694,
0.7451030015945435,
-0.8748337030410767,
0.6228814721107483,
0.09740590304136276,
-0.2767558991909027,
-0.27890539169311523,
0.34360548853874207,
0.8457879424095154,
0.4129685163497925,
0.33649832010269165,
-0.10421191155910492,
-0.5049371123313904,
-0.818981945514679,
-0.17926408350467682,
-0.6721940636634827,
0.11059756577014923,
0.5432544946670532,
0.45632246136665344,
-0.6101857423782349,
0.5686599612236023,
-0.45532676577568054,
-0.5954749584197998,
-0.18229277431964874,
-0.2506823241710663,
-0.21397200226783752,
0.6081214547157288,
0.6241413354873657,
-0.8005231618881226,
-0.3487328588962555,
-0.07901240140199661,
-0.7396175265312195,
0.19068890810012817,
0.36298903822898865,
-0.1319933980703354,
0.3966110348701477,
0.7474084496498108,
-0.6846432089805603,
0.2826174795627594,
0.05726896971464157,
-0.09849866479635239,
0.5857058167457581,
0.11055437475442886,
-0.19075579941272736,
-1.0437179803848267,
-0.017856040969491005,
0.043542999774217606,
-0.3685748279094696,
-0.9127504229545593,
0.7526072859764099,
0.2186564952135086,
-0.07873460650444031,
-0.9652960300445557,
0.38218480348587036,
-0.30135950446128845,
0.33951109647750854,
-0.42587870359420776,
0.18987710773944855,
-0.26708322763442993,
0.2739144265651703,
-0.1944415420293808,
0.9080211520195007,
0.4634134769439697,
-0.8132304549217224,
0.09094508737325668,
0.2557125687599182,
-0.019101185724139214,
0.5680294036865234,
-0.5963147282600403,
0.38328805565834045,
-0.13658800721168518,
-0.03294116258621216,
-0.6795945763587952,
-0.4066803753376007,
0.1845163106918335,
-0.07770015299320221,
0.31591689586639404,
-0.2518077790737152,
-0.6152722835540771,
-0.5524066090583801,
-0.6098871231079102,
0.31286531686782837,
0.5681040287017822,
-0.3817507028579712,
0.48292723298072815,
0.9598281979560852,
-0.27161329984664917,
-0.48289769887924194,
-0.569173276424408,
-0.018748309463262558,
-0.6147297024726868,
-0.7071035504341125,
0.08693526685237885,
-0.18634317815303802,
-0.34948739409446716,
-0.25157031416893005,
-0.30929696559906006,
-0.0899047926068306,
0.5065776705741882,
0.6096232533454895,
0.5393281579017639,
-0.15192648768424988,
0.19445982575416565,
0.009492731653153896,
-0.24776692688465118,
0.2258453369140625,
0.006739495787769556,
0.24488161504268646,
-0.29302480816841125,
-0.5381149053573608,
-0.5483572483062744,
0.35490354895591736,
0.32991766929626465,
-0.12026917934417725,
0.6495128273963928,
0.27484989166259766,
-0.4833342730998993,
-0.3126578629016876,
-0.3655132055282593,
-0.5129159092903137,
-0.6304885745048523,
0.20629219710826874,
0.012505600228905678,
-1.2822997570037842,
0.14626377820968628,
0.10948821902275085,
0.15957526862621307,
0.37485820055007935,
0.42927825450897217,
-0.23593761026859283,
1.14594304561615,
0.7573557496070862,
-0.4980100393295288,
0.36975574493408203,
0.1824716478586197,
0.2356216013431549,
-0.6770604252815247,
-0.4428226053714752,
-0.6704791188240051,
-0.02498403750360012,
-0.356644868850708,
-0.29720091819763184,
0.8742560744285583,
-0.03530661389231682,
-0.4433397948741913,
0.4847247898578644,
-0.535464882850647,
0.5046550631523132,
0.32962775230407715,
0.4744463264942169,
0.3759428858757019,
-0.08081270009279251,
-0.21984025835990906,
0.05042564868927002,
-0.4794656038284302,
-0.8410820364952087,
0.7351494431495667,
0.23104192316532135,
1.3036881685256958,
0.5690137147903442,
0.7058504819869995,
0.4906764328479767,
0.45283031463623047,
-0.6202252507209778,
0.8773163557052612,
-0.2771347463130951,
-0.8315096497535706,
-0.34166419506073,
-0.3063287138938904,
-0.8377560973167419,
0.3988405466079712,
-0.20189306139945984,
-1.007768154144287,
-0.39925071597099304,
0.22789372503757477,
-0.6382561326026917,
0.23303918540477753,
-0.6860708594322205,
0.5773064494132996,
-0.4382127821445465,
-0.34770238399505615,
-0.2749761641025543,
-0.8096962571144104,
0.7733408808708191,
-0.11494918167591095,
0.1939062774181366,
-0.17871159315109253,
-0.2518540918827057,
0.5471903085708618,
-0.19608208537101746,
1.3842381238937378,
-0.2378658801317215,
-0.044072944670915604,
0.35631248354911804,
0.11462903767824173,
0.7100653052330017,
0.2924707531929016,
-0.17860959470272064,
-0.3969847857952118,
-0.10550650954246521,
-0.16770237684249878,
0.012424280866980553,
0.8002060651779175,
-0.5067805647850037,
-1.1117826700210571,
-0.338805228471756,
-0.4773878753185272,
-0.3221621513366699,
0.4147258996963501,
-0.12804904580116272,
-0.007104450836777687,
0.0890970230102539,
0.2117019146680832,
0.9024901986122131,
-0.15165404975414276,
0.5995226502418518,
0.8427258729934692,
-0.1212444081902504,
0.10059152543544769,
0.7533690929412842,
-0.21623893082141876,
0.2669265866279602,
0.18333902955055237,
0.01568559743463993,
-0.41685494780540466,
-0.9892541766166687,
-0.2389950156211853,
-0.12656085193157196,
-0.503680408000946,
-0.6217570900917053,
-0.7029392123222351,
-0.5114090442657471,
-0.18968504667282104,
0.19297118484973907,
-0.037235114723443985,
-0.04212396964430809,
-0.3989745080471039,
-0.3711658716201782,
0.21632051467895508,
0.6681963801383972,
0.1643485277891159,
0.37427085638046265,
-0.9550724029541016,
0.12938828766345978,
0.5674108862876892,
0.03702240064740181,
0.04022196680307388,
-0.3154658079147339,
-0.02913055568933487,
-0.17975664138793945,
-0.6210485696792603,
-0.5745038986206055,
0.24502132833003998,
0.22741395235061646,
0.8815165162086487,
0.5232968330383301,
0.6183856129646301,
0.11029312014579773,
-0.4959816038608551,
0.8583866953849792,
0.28719595074653625,
-0.5408186912536621,
0.6721715331077576,
-0.30714181065559387,
-0.29478690028190613,
0.76039057970047,
0.33382320404052734,
-0.2807976305484772,
-0.3104862868785858,
-0.271481454372406,
-0.7799808382987976,
0.6418318152427673,
0.09511839598417282,
0.31726837158203125,
-0.17083673179149628,
0.22550679743289948,
0.10351087898015976,
0.08733337372541428,
-0.77885502576828,
-0.12002881616353989,
0.34542715549468994,
0.02827371656894684,
0.2111007273197174,
-0.35641106963157654,
-0.5430235266685486,
0.06895995885133743,
0.7442522048950195,
-0.44403183460235596,
0.0784119963645935,
-0.27793455123901367,
-0.38663679361343384,
-0.026086192578077316,
0.49543851613998413,
0.4013483226299286,
0.1517476886510849,
0.058691419661045074,
0.5204652547836304,
0.5354891419410706,
-0.38297349214553833,
0.21360063552856445,
-0.13374504446983337,
-0.3804130554199219,
-0.5706984996795654,
0.25622910261154175,
0.37775006890296936,
0.3477208614349365,
-0.7314512729644775,
0.5310031175613403,
-0.0008684161002747715,
0.17117895185947418,
-0.16445131599903107,
0.7870389223098755,
0.2516692876815796,
0.13489893078804016,
0.38486218452453613,
0.09394057840108871,
0.1050628051161766,
-0.5065624117851257,
0.5362611413002014,
0.7415614128112793,
-0.4561516046524048,
-0.30668163299560547,
0.816666305065155,
0.46966663002967834,
-0.3700907826423645,
0.21837151050567627,
-0.21842750906944275,
-0.5177124738693237,
0.4560966193675995,
0.4440153241157532,
0.6210564374923706,
-0.2630248963832855,
0.08215491473674774,
0.241395503282547,
0.6422451138496399,
-0.020868496969342232,
0.5038737058639526,
0.15495163202285767,
-0.7039932012557983,
-0.04217015206813812,
-0.6352529525756836,
-0.34169045090675354,
0.11954867094755173,
-0.6667593717575073,
-0.16303609311580658,
-0.6081250309944153,
-0.3087419867515564,
-0.05524291843175888,
-0.09766332805156708,
-0.2943166196346283,
0.025872215628623962,
0.006287168245762587,
0.731925904750824,
-0.7452109456062317,
0.8082477450370789,
0.6678270697593689,
-0.4911683201789856,
-0.7349933385848999,
0.12418009340763092,
0.484279066324234,
-0.8980816006660461,
0.4850560128688812,
0.2263127565383911,
-0.33236244320869446,
-0.3738422989845276,
-0.49982234835624695,
-0.4901301860809326,
0.9933085441589355,
0.3812803030014038,
-0.5728990435600281,
-0.24263110756874084,
0.05856958031654358,
0.5122745633125305,
-0.23398040235042572,
-0.37358003854751587,
0.5855306386947632,
0.29652872681617737,
-0.39754170179367065,
-0.9187058210372925,
0.29893678426742554,
0.017034292221069336,
-0.04945068806409836,
0.28476256132125854,
-0.8352910280227661,
0.6529016494750977,
-0.3224239945411682,
-0.49140051007270813,
0.28722450137138367,
0.3829304277896881,
0.502088189125061,
0.44316649436950684,
0.6122998595237732,
0.434626042842865,
0.7176520228385925,
0.011930370703339577,
1.082924485206604,
-0.17203927040100098,
0.1736043095588684,
1.087761640548706,
-0.40915343165397644,
0.994999885559082,
0.3948122262954712,
-0.2950397729873657,
0.11729785799980164,
0.448061466217041,
0.48951980471611023,
0.7715371251106262,
0.010237328708171844,
-0.6798884272575378,
-0.5540629029273987,
-0.2564961016178131,
-0.23758827149868011,
0.15805673599243164,
0.5360111594200134,
-0.283119261264801,
-0.21195416152477264,
0.11199901252985,
-0.024209601804614067,
0.07615983486175537,
-0.5374648571014404,
0.9488377571105957,
0.48044338822364807,
-0.5192643404006958,
0.1565837562084198,
0.09006211161613464,
0.9470881819725037,
-0.4301849603652954,
0.3481863737106323,
-0.05990185961127281,
0.2789057493209839,
-0.3508584499359131,
-0.8536427021026611,
0.5505369901657104,
-0.08785585314035416,
-0.24545451998710632,
-0.05393720045685768,
1.2546194791793823,
-0.16194382309913635,
-0.2703879475593567,
0.5077832937240601,
0.48461681604385376,
0.07376693934202194,
0.12288245558738708,
-0.7578166723251343,
-0.16658058762550354,
-0.2346467673778534,
0.11717269569635391,
0.6932448744773865,
-0.04405364766716957,
-0.3146169185638428,
0.9689428806304932,
0.6405513882637024,
-0.1943802833557129,
0.40157005190849304,
-0.10535376518964767,
1.0320883989334106,
-0.3196679949760437,
-0.6379032135009766,
-0.7472352981567383,
0.36739763617515564,
0.0010543061653152108,
0.13319140672683716,
0.7345467209815979,
0.4382373094558716,
0.5661367177963257,
-0.04696860909461975,
0.8274859189987183,
0.005744673311710358,
0.4488975703716278,
-0.6326181292533875,
1.0489214658737183,
-0.4801611006259918,
0.5250549912452698,
-0.08933991193771362,
-0.4354880154132843,
-0.3130447566509247,
0.3744610548019409,
-0.10870243608951569,
-0.01784287765622139,
0.5310180187225342,
1.1694412231445312,
-0.0080120163038373,
0.023753706365823746,
0.4388335049152374,
0.003271601628512144,
0.3981721103191376,
0.6820859909057617,
0.8793354630470276,
-0.1666603982448578,
0.7080265283584595,
0.10198775678873062,
0.13412700593471527,
-0.33689630031585693,
-0.7930619716644287,
-1.1862459182739258,
-0.25773194432258606,
-0.07429778575897217,
-0.3276313245296478,
0.3776607811450958,
0.721523106098175,
1.1036702394485474,
-0.9926687479019165,
0.19752752780914307,
0.1783519834280014,
0.284745454788208,
-0.010445946827530861,
-0.17645710706710815,
0.19113250076770782,
-0.317569762468338,
-0.3448742628097534,
0.8407232761383057,
0.28347814083099365,
-0.011216232553124428,
-0.2015441209077835,
-0.3407018780708313,
-0.041296906769275665,
0.05252687260508537,
0.6670331358909607,
0.31935787200927734,
-0.8064724206924438,
-0.9197955131530762,
-0.31888169050216675,
-0.513052225112915,
-0.27289819717407227,
0.753512978553772,
-0.30979472398757935,
0.052218399941921234,
0.33563143014907837,
0.8225256204605103,
0.3203343152999878,
-0.07341432571411133,
0.19570127129554749,
-1.1627177000045776,
0.08895301818847656,
0.34640154242515564,
0.4765385389328003,
0.1815948635339737,
-0.7426632046699524,
0.5971160531044006,
0.06094258651137352,
-0.5223614573478699,
-0.8991863131523132,
0.6072292923927307,
-0.9531592130661011,
-0.13620400428771973,
1.075402021408081,
-0.2103617936372757,
-0.1690300703048706,
-0.48488083481788635,
-0.23459887504577637,
-0.2095145583152771,
-0.41704168915748596,
0.8332796692848206,
0.09457392245531082,
-0.35242822766304016,
-0.06555280089378357,
-0.4606492221355438,
0.5821006894111633,
0.23803597688674927,
-1.2313318252563477,
-0.0007627702434547246,
0.37923380732536316,
0.5445079803466797,
0.22354011237621307,
0.3937685489654541,
-0.18119212985038757,
0.5291407108306885,
-0.13415458798408508,
-0.3708849549293518,
-0.14215362071990967,
-0.40949687361717224,
-0.06337602436542511,
0.4559604823589325,
0.19704613089561462,
-0.2377976030111313
] |
http://arxiv.org/abs/2405.19793v1
|
http://arxiv.org/pdf/2405.19793v1
|
PDDLEGO: Iterative Planning in Textual Environments
| 2024-05-30T08:01:20 | 2024-05-30T08:01:20 |
Li Zhang, Peter Jansen, Tianyi Zhang, Peter Clark, Chris Callison-Burch, Niket Tandon
|
cs.CL
|
cs.CL
|
Planning in textual environments have been shown to be a long-standing
challenge even for current models. A recent, promising line of work uses LLMs
to generate a formal representation of the environment that can be solved by a
symbolic planner. However, existing methods rely on a fully-observed
environment where all entity states are initially known, so a one-off
representation can be constructed, leading to a complete plan. In contrast, we
tackle partially-observed environments where there is initially no sufficient
information to plan for the end-goal. We propose PDDLEGO that iteratively
construct a planning representation that can lead to a partial plan for a given
sub-goal. By accomplishing the sub-goal, more information is acquired to
augment the representation, eventually achieving the end-goal. We show that
plans produced by few-shot PDDLEGO are 43% more efficient than generating plans
end-to-end on the Coin Collector simulation, with strong performance (98%) on
the more complex Cooking World simulation where end-to-end LLMs fail to
generate coherent plans (4%).
|
[
-0.23299112915992737,
-0.7961722016334534,
1.0075106620788574,
0.3149822950363159,
-0.22395463287830353,
0.000767120101954788,
-0.41520583629608154,
-0.22035269439220428,
0.6509658694267273,
0.7683247327804565,
-1.060873031616211,
-0.7967274785041809,
-0.45362257957458496,
0.061228763312101364,
-0.4057415723800659,
0.8388984203338623,
-0.3532295823097229,
-0.38255926966667175,
-0.0952482745051384,
0.5144805312156677,
-0.10353972762823105,
-0.12698566913604736,
-0.5928273797035217,
-0.5176790356636047,
0.465131938457489,
0.5578548312187195,
0.39480435848236084,
0.48377224802970886,
0.22902926802635193,
0.32487109303474426,
-0.017223656177520752,
0.4271630644798279,
-0.8013657331466675,
0.46732375025749207,
0.01958719827234745,
-0.41841599345207214,
-0.31043189764022827,
0.010994662530720234,
0.2652803063392639,
0.5943893790245056,
-0.3389067053794861,
0.1285681575536728,
-0.18644648790359497,
0.608189046382904,
-0.6366478800773621,
0.49046623706817627,
-0.7280312776565552,
0.3850807547569275,
-0.16440121829509735,
-0.25688713788986206,
-0.24355104565620422,
0.17189070582389832,
0.13070817291736603,
-1.1874258518218994,
0.03353164345026016,
0.20172682404518127,
0.46074163913726807,
-0.009846092201769352,
-0.1846850961446762,
-0.7089781165122986,
-0.9647583961486816,
0.5028506517410278,
-0.5262259244918823,
-0.04341201111674309,
0.4017440974712372,
0.2402329295873642,
-0.6427053213119507,
-0.9175729155540466,
-0.7648302316665649,
-0.18184326589107513,
0.003863520920276642,
0.5768892765045166,
-0.033293891698122025,
0.12676705420017242,
0.4243738353252411,
-0.07168741524219513,
-0.41432270407676697,
-0.10137911885976791,
-0.41417166590690613,
0.03643335774540901,
0.6234514117240906,
0.534461259841919,
-0.10697823762893677,
-0.45092031359672546,
-0.6098648905754089,
0.016346294432878494,
-0.6002026796340942,
-0.025048168376088142,
0.423583447933197,
0.17954584956169128,
0.015278813429176807,
0.8393744826316833,
-0.23584748804569244,
0.4152121841907501,
-0.07333115488290787,
-0.3324216604232788,
-0.45229262113571167,
-0.27260512113571167,
-0.31271272897720337,
0.16239239275455475,
0.5068769454956055,
0.3391464650630951,
0.09545472264289856,
-0.17528609931468964,
-0.38072267174720764,
0.10463219881057739,
0.3156158924102783,
-0.5337125062942505,
-0.5817147493362427,
0.44700559973716736,
-0.1752612292766571,
-0.14936234056949615,
-0.25023990869522095,
-0.7818902134895325,
-0.3600124716758728,
-0.3158431053161621,
0.17914645373821259,
-0.5834558606147766,
-0.1446409970521927,
0.22060023248195648,
-0.2688243091106415,
0.048086535185575485,
0.6862273812294006,
-0.7560366988182068,
0.5370038747787476,
0.7530041337013245,
0.9769749045372009,
0.2766560912132263,
-0.4512614607810974,
-0.5362638831138611,
0.7281899452209473,
-0.6813393831253052,
1.13987398147583,
-0.42670443654060364,
-0.7916141748428345,
-0.062333669513463974,
-0.33820927143096924,
0.36733391880989075,
-0.2650042474269867,
0.6015961170196533,
-0.2573462128639221,
0.2112113982439041,
-0.6878343820571899,
-0.6592386960983276,
-0.06692144274711609,
0.6100065112113953,
-0.6439746022224426,
0.9269459843635559,
0.10852772742509842,
-0.6993661522865295,
0.6317249536514282,
-0.45415931940078735,
-0.342825710773468,
-0.014226310886442661,
-0.24041731655597687,
-0.1978563666343689,
0.01910022832453251,
0.16834545135498047,
0.33454158902168274,
-0.25155410170555115,
0.008449001237750053,
-0.15431617200374603,
-0.42340198159217834,
-0.11523833125829697,
0.07389068603515625,
0.5358841419219971,
0.08841126412153244,
-0.40226706862449646,
0.319689005613327,
-0.48753952980041504,
0.12787824869155884,
0.27316179871559143,
-0.18928347527980804,
-0.3768821954727173,
0.2121850550174713,
0.10178831219673157,
-0.07389883697032928,
0.39945417642593384,
-0.4498182535171509,
0.6585837602615356,
-0.45815086364746094,
0.2743948698043823,
1.0200157165527344,
-0.14484268426895142,
1.0915178060531616,
-0.5204140543937683,
0.5175819396972656,
-0.1703193336725235,
0.08661115169525146,
-0.3412306010723114,
-0.4924301207065582,
-0.6777257919311523,
-0.37986069917678833,
0.3162430226802826,
0.480952650308609,
-0.796887993812561,
0.24726223945617676,
-0.07947263866662979,
-0.30408912897109985,
0.08334960788488388,
0.04597663879394531,
0.0012203608639538288,
0.3681996762752533,
0.09341706335544586,
-0.13556106388568878,
-0.5730020403862,
-0.6034157276153564,
-0.05038886144757271,
-0.24022379517555237,
0.010491364635527134,
-0.1279727965593338,
0.6542138457298279,
-0.11101134121417999,
0.7665565609931946,
-0.5450074076652527,
-0.6558986306190491,
-0.4239637553691864,
0.06489811837673187,
0.26218006014823914,
0.04701150581240654,
0.44108954071998596,
-0.4852233827114105,
-0.69359290599823,
-0.08531704545021057,
-0.6984763145446777,
0.05600770562887192,
-0.5291894674301147,
-0.4963255226612091,
-0.041324686259031296,
0.11090399324893951,
-0.8479247689247131,
0.5450183153152466,
0.3604499399662018,
-0.07372535765171051,
0.37534940242767334,
-0.5280171632766724,
-0.022353900596499443,
-0.9634838700294495,
-0.16035297513008118,
0.07869704067707062,
-0.20976562798023224,
-0.5714167356491089,
-0.03045107051730156,
-0.02548970840871334,
-0.1787225753068924,
0.20429997146129608,
0.7662631273269653,
-0.846230685710907,
-0.22436821460723877,
-0.3566104769706726,
0.3966658413410187,
-0.1514323502779007,
0.4702141582965851,
0.230280801653862,
0.5380387306213379,
0.5635442137718201,
-0.44215017557144165,
0.3729809820652008,
0.34163233637809753,
-0.28183606266975403,
0.5196011066436768,
-0.3843713104724884,
0.1383562833070755,
-0.33322349190711975,
0.594718873500824,
-0.8131157755851746,
-0.2699255049228668,
0.43003714084625244,
-0.18297941982746124,
0.5342809557914734,
-0.1626492440700531,
-0.5185452103614807,
-0.2737816274166107,
-0.6911280155181885,
-0.24672919511795044,
0.397931307554245,
-0.46604788303375244,
0.8133696913719177,
0.42986032366752625,
-0.1383683681488037,
-0.2608707845211029,
-0.4986480474472046,
0.324819415807724,
-0.2248307466506958,
-0.6521392464637756,
0.674397885799408,
0.1391647458076477,
-0.4547717571258545,
0.12889647483825684,
-0.3770677149295807,
0.2635311484336853,
-0.2711099088191986,
0.24959707260131836,
0.06326171010732651,
0.3308199346065521,
-0.302211195230484,
0.19774103164672852,
-0.36594730615615845,
0.1889169067144394,
-0.28571924567222595,
0.5967444777488708,
0.605516254901886,
-0.13716168701648712,
-0.1727091521024704,
0.797351598739624,
0.0525214709341526,
-0.0017117789248004556,
0.5006252527236938,
0.11394929885864258,
-0.669192373752594,
-0.8310162425041199,
-0.03848087042570114,
0.0639260932803154,
-0.501168966293335,
0.05878947675228119,
-0.7206520438194275,
-0.1433757245540619,
0.6400301456451416,
-0.4692244231700897,
0.5048419237136841,
0.15023837983608246,
0.4409359395503998,
-0.636009156703949,
0.6314249038696289,
0.7483339905738831,
0.34849780797958374,
0.4185868501663208,
-0.6280238032341003,
0.06425885111093521,
-0.8812546133995056,
-0.527405858039856,
-0.31282520294189453,
-0.6395984292030334,
-0.48755714297294617,
-0.7102610468864441,
0.6996976137161255,
0.2207316756248474,
-0.019703906029462814,
0.5221583247184753,
-0.3532039225101471,
0.4393343925476074,
0.693002462387085,
0.32143229246139526,
0.34009769558906555,
0.06844902783632278,
-0.2673414945602417,
-0.2503301501274109,
-0.7837004661560059,
-0.8911115527153015,
1.1816611289978027,
-0.1830218881368637,
1.0632752180099487,
-0.10037197917699814,
1.3049699068069458,
0.10300321131944656,
0.3045468330383301,
-0.6445788145065308,
0.6581217050552368,
0.08459751307964325,
-0.45559075474739075,
-0.4149133265018463,
-0.3557807505130768,
-0.9140565395355225,
0.008656792342662811,
-0.3577030599117279,
-0.8106816411018372,
0.0935976579785347,
0.09457423537969589,
-0.011892746202647686,
0.3274286389350891,
-0.6471925377845764,
0.5801493525505066,
-0.35123637318611145,
-0.4252847135066986,
-0.10149573534727097,
-0.2736852467060089,
0.26831379532814026,
-0.08576441556215286,
0.08181539922952652,
-0.26561227440834045,
-0.40409055352211,
0.5370181202888489,
-0.42745792865753174,
0.6959267854690552,
-0.2578091323375702,
-0.0672106221318245,
0.4212537407875061,
0.4594650864601135,
1.1212661266326904,
0.30640336871147156,
-0.12174971401691437,
-0.11072893440723419,
-0.022666623815894127,
-0.5172953009605408,
-0.27698490023612976,
0.8373322486877441,
-0.3662669360637665,
-0.6430589556694031,
-0.7598835825920105,
-0.6706292629241943,
-0.027827467769384384,
0.05996100604534149,
0.37469080090522766,
0.10684754699468613,
-0.3313305377960205,
-0.40307849645614624,
0.4164600670337677,
-0.2215387225151062,
0.3646046817302704,
0.1918494701385498,
-0.5131008625030518,
-0.24878408014774323,
0.2987239360809326,
0.4102374017238617,
-0.012270882725715637,
0.4192442297935486,
-0.005778109189122915,
-0.30798327922821045,
-0.5900447368621826,
-0.41253793239593506,
0.206165611743927,
-0.7890537977218628,
-0.1143389642238617,
-0.2608523964881897,
-0.029148457571864128,
-0.040059495717287064,
-0.5706561207771301,
-0.2952910363674164,
-0.4346020221710205,
-0.1276262402534485,
-0.004445627331733704,
0.31650739908218384,
0.8293730616569519,
-0.2981026768684387,
0.22220493853092194,
-0.26738590002059937,
0.38992613554000854,
0.10570674389600754,
0.0693989023566246,
-0.2869347929954529,
-0.10638970136642456,
0.0008552591316401958,
0.034146182239055634,
-0.2877724766731262,
-1.053175449371338,
0.5962586998939514,
-0.06450863182544708,
0.5765049457550049,
0.10846178233623505,
0.3079361617565155,
1.1389626264572144,
-0.6810420751571655,
0.4582565426826477,
0.19094818830490112,
-0.660269021987915,
0.6617690324783325,
-0.32933515310287476,
0.309550940990448,
0.41339248418807983,
0.5195805430412292,
-0.3790549337863922,
-0.40840911865234375,
-0.5902586579322815,
-0.9191216230392456,
0.6095494031906128,
0.43325990438461304,
0.10170697420835495,
-0.035738203674554825,
0.4010080397129059,
0.30067017674446106,
0.10368217527866364,
-0.44125550985336304,
-0.15474320948123932,
0.018814971670508385,
0.10791777074337006,
0.0029318174347281456,
-0.17073054611682892,
-0.5258402824401855,
-0.07988157123327255,
0.4932951033115387,
-0.15610961616039276,
0.5708184838294983,
0.2250450998544693,
0.07451674342155457,
-0.39163684844970703,
-0.051727209240198135,
0.5141170620918274,
0.8700688481330872,
-0.21859420835971832,
0.1111840084195137,
0.04621824249625206,
-0.2051706314086914,
-0.019255340099334717,
0.31083953380584717,
-0.3454943597316742,
0.06682322174310684,
0.47420576214790344,
0.36532020568847656,
0.22178834676742554,
-0.5951559543609619,
0.10537334531545639,
-0.02444419264793396,
-0.3680742681026459,
-0.717770516872406,
0.019286973401904106,
0.42984938621520996,
0.5295369029045105,
0.384060263633728,
-0.10258005559444427,
0.06114467978477478,
-0.873681366443634,
-0.062368229031562805,
0.36006462574005127,
0.12143119424581528,
-0.1339639276266098,
0.7900687456130981,
0.09858909249305725,
-0.32832303643226624,
0.5140376687049866,
-0.5405276417732239,
-0.49336978793144226,
0.7492284774780273,
0.7489002346992493,
0.618191659450531,
0.3833887577056885,
0.41133955121040344,
0.4948233366012573,
0.5895053744316101,
0.02826465480029583,
0.682185709476471,
-0.28816959261894226,
-0.47645366191864014,
-0.24468626081943512,
-0.48273009061813354,
-0.6818168759346008,
-0.23069092631340027,
-0.09327881038188934,
0.5034176707267761,
-0.7617859244346619,
-0.10488717257976532,
-0.2597692012786865,
0.25754430890083313,
-0.575671911239624,
-0.06474174559116364,
0.03097575530409813,
0.9120773673057556,
-0.29860755801200867,
0.6026925444602966,
0.8713054060935974,
-0.20811796188354492,
-0.45853331685066223,
0.16168178617954254,
0.1993037611246109,
-0.8279024958610535,
0.3388642966747284,
0.007239427883177996,
-0.0706983134150505,
-0.18962489068508148,
-0.3957958221435547,
-0.7981432676315308,
1.4725579023361206,
0.3312752842903137,
-0.8919016718864441,
-0.4621469974517822,
-0.14571323990821838,
0.27461332082748413,
-0.1075366735458374,
0.002264697104692459,
0.27052345871925354,
0.5810732841491699,
0.3895871341228485,
-0.7017719745635986,
-0.015572629868984222,
0.1742715984582901,
0.006656044162809849,
0.629112184047699,
-0.5060348510742188,
0.8348204493522644,
-0.40062084794044495,
-0.5535586476325989,
0.2246151864528656,
0.5538530945777893,
0.4920194447040558,
0.5101732015609741,
0.37257739901542664,
0.6950045824050903,
0.8610908389091492,
-0.37780624628067017,
1.0438101291656494,
-0.1786084920167923,
0.3766604959964752,
1.0803476572036743,
-0.6378882527351379,
0.6357050538063049,
0.3920673727989197,
-0.24362312257289886,
0.221546471118927,
0.8443535566329956,
0.4442262351512909,
0.9104561805725098,
0.15587875247001648,
-0.45458856225013733,
-0.20131400227546692,
0.29824623465538025,
-0.17344632744789124,
0.33196553587913513,
0.44958949089050293,
-0.018510404974222183,
-0.529277503490448,
-0.1163344755768776,
0.015282414853572845,
0.34631338715553284,
-0.24117964506149292,
0.6397942900657654,
0.11522060632705688,
-0.3380421996116638,
0.06373994052410126,
0.11992703378200531,
0.6143086552619934,
-0.8311069011688232,
-0.11920583248138428,
-0.4182567894458771,
-0.053882889449596405,
-0.0651901587843895,
-0.9280639290809631,
0.3867720067501068,
0.09763621538877487,
0.021478457376360893,
-0.6191761493682861,
0.8243104815483093,
-0.3012715280056,
-0.3762655556201935,
0.19658228754997253,
0.4059430956840515,
-0.11003074795007706,
-0.034941621124744415,
-0.6130644679069519,
-0.1454716920852661,
-0.195068359375,
-0.49142491817474365,
0.21508733928203583,
0.8914070129394531,
-0.028888819739222527,
0.504274845123291,
0.5936471819877625,
0.2503153085708618,
0.13016483187675476,
-0.5403616428375244,
1.037046194076538,
-0.8145561218261719,
-0.5381162166595459,
-0.5633702278137207,
0.35566040873527527,
-0.3817935287952423,
-0.24651086330413818,
0.5069067478179932,
0.648215115070343,
1.0562398433685303,
0.08355823159217834,
0.5796297192573547,
-0.19981710612773895,
0.04901308938860893,
-0.8238384127616882,
0.3211129307746887,
-0.3439510762691498,
0.48546770215034485,
-0.17363612353801727,
-1.116336703300476,
0.05727752298116684,
0.958100438117981,
-0.4224089980125427,
-0.19218607246875763,
0.7006183862686157,
0.4774044156074524,
-0.006570161320269108,
-0.12763822078704834,
0.4394145607948303,
-0.1000494435429573,
0.2719230353832245,
0.6875186562538147,
0.8873157501220703,
-0.1232791319489479,
0.3816070258617401,
-0.6936972141265869,
-0.17200402915477753,
0.36292359232902527,
-0.860018253326416,
-0.8425009846687317,
-0.6783210635185242,
0.0603727288544178,
-0.05103079229593277,
-0.04884709045290947,
0.8368419408798218,
0.622208297252655,
-0.201601043343544,
-0.4776591360569,
-0.19460076093673706,
-0.021293163299560547,
0.023024002090096474,
-0.18706494569778442,
0.07037895917892456,
-0.2825276255607605,
-0.9115048050880432,
0.43961405754089355,
0.7100361585617065,
-0.16985028982162476,
-0.537251353263855,
-0.20490975677967072,
-0.18006791174411774,
0.14823226630687714,
0.6181032061576843,
0.2061508148908615,
-0.5605703592300415,
0.012642179615795612,
0.06680934131145477,
-0.03525646775960922,
-0.07807248830795288,
0.9096049666404724,
-0.8027530908584595,
0.6432079076766968,
0.3276553750038147,
0.228193998336792,
1.425660490989685,
-0.2161881923675537,
0.6115259528160095,
-0.6793758273124695,
0.37621593475341797,
0.42495328187942505,
0.38019755482673645,
-0.055917661637067795,
-0.33357980847358704,
0.6922880411148071,
-0.09418503940105438,
-0.4611530601978302,
-0.511938750743866,
0.2566803991794586,
-1.0517706871032715,
-0.445263534784317,
0.9754292368888855,
-0.03991158679127693,
-0.4355715215206146,
0.32637542486190796,
-0.5813948512077332,
0.10516589879989624,
-0.47493040561676025,
0.9043193459510803,
0.6310957670211792,
-0.46738579869270325,
-0.09483420848846436,
-0.6772154569625854,
0.30327242612838745,
-0.08218038827180862,
-1.1926029920578003,
-0.04177270829677582,
0.7618224024772644,
0.09491238743066788,
0.15419679880142212,
1.2778570652008057,
0.31617096066474915,
0.042709268629550934,
0.3645300269126892,
-0.3499165177345276,
0.07953666150569916,
-0.540403425693512,
0.39961543679237366,
0.14217627048492432,
-0.025317663326859474,
0.11819430440664291
] |
http://arxiv.org/abs/2405.19787v2
|
http://arxiv.org/pdf/2405.19787v2
|
From Symbolic Tasks to Code Generation: Diversification Yields Better Task Performers
| 2024-05-30T07:54:07 | 2024-05-31T01:23:41 |
Dylan Zhang, Justin Wang, Francois Charton
|
cs.CL
|
cs.CL, cs.AI, cs.LG, cs.LO, cs.PL
|
Instruction tuning -- tuning large language models on instruction-output
pairs -- is a promising technique for making models better adapted to the real
world. Yet, the key factors driving the model's capability to understand and
follow instructions not seen during training remain under-explored. Our
investigation begins with a series of synthetic experiments within the
theoretical framework of a Turing-complete algorithm called Markov algorithm,
which allows fine-grained control over the instruction-tuning data.
Generalization and robustness with respect to the training distribution emerge
once a diverse enough set of tasks is provided, even though very few examples
are provided for each task. We extend these initial results to a real-world
application scenario of code generation and find that a more diverse
instruction set, extending beyond code-related tasks, improves the performance
of code generation. Our observations suggest that a more diverse semantic space
for instruction-tuning sets greatly improves the model's ability to follow
instructions and perform tasks.
|
[
-0.34079238772392273,
-0.599963366985321,
0.31277698278427124,
0.10538026690483093,
-0.09994378685951233,
0.10550899058580399,
-0.3651782274246216,
-0.3017849326133728,
-0.13011544942855835,
0.27128902077674866,
-0.9712361693382263,
-0.49450400471687317,
-0.7412303686141968,
0.01164483092725277,
-0.38559460639953613,
1.1560946702957153,
0.1610555648803711,
0.011088610626757145,
0.012675878591835499,
0.03657643869519234,
-0.712307333946228,
-0.24885089695453644,
-0.25666067004203796,
-0.17796966433525085,
0.4534330368041992,
0.35174331068992615,
0.7115284204483032,
1.160923719406128,
0.5220212936401367,
0.3172229528427124,
0.29358309507369995,
0.33317646384239197,
-0.6309837102890015,
0.3152295649051666,
-0.049434155225753784,
-0.8703041076660156,
-0.13649730384349823,
-0.08435026556253433,
0.6581286787986755,
0.66994708776474,
0.01584998331964016,
0.2508372366428375,
0.05863039940595627,
0.6760205030441284,
-0.6714757680892944,
0.22104530036449432,
-0.7746158242225647,
0.02725769579410553,
-0.00985649786889553,
-0.4149666428565979,
-0.36383068561553955,
-0.37940678000450134,
-0.2412319779396057,
-0.6837167143821716,
0.3796756863594055,
0.007917390204966068,
0.6587950587272644,
0.4223664104938507,
-0.49041861295700073,
-0.2502063810825348,
-0.9252436757087708,
1.0208804607391357,
-0.5068051815032959,
0.2818351089954376,
0.1910373419523239,
0.20424063503742218,
-0.163883775472641,
-0.4423866868019104,
-0.26655223965644836,
-0.16858439147472382,
0.20865805447101593,
-0.00400219252333045,
0.013870924711227417,
0.08074463903903961,
0.6295107007026672,
0.4142756164073944,
-0.31723853945732117,
0.12917350232601166,
-0.5400832295417786,
0.042669352144002914,
0.5425400137901306,
0.37263908982276917,
0.6092467308044434,
0.2709875702857971,
0.24260321259498596,
-0.40079420804977417,
-0.7854931950569153,
0.21528950333595276,
0.7509650588035583,
0.28556928038597107,
-0.12654708325862885,
0.6597574353218079,
-0.3235417902469635,
1.0654546022415161,
-0.07182900607585907,
0.14592409133911133,
0.02983468770980835,
-0.6000016331672668,
-0.180659681558609,
-0.14929082989692688,
0.25688648223876953,
0.13195818662643433,
0.6051555871963501,
-0.13628947734832764,
-0.19481588900089264,
0.4388420879840851,
0.7343100309371948,
-0.7247981429100037,
-0.5619754791259766,
-0.039871346205472946,
-0.42172542214393616,
-0.29591092467308044,
0.30797386169433594,
-0.134679913520813,
0.09051813185214996,
-0.7844147682189941,
0.22549642622470856,
-0.4330742657184601,
-0.11803039163351059,
0.057044867426157,
-0.4487172067165375,
0.20405757427215576,
0.09563830494880676,
-1.2349148988723755,
0.30128225684165955,
1.1228584051132202,
0.6050535440444946,
-0.3063230812549591,
-0.25360509753227234,
-0.6726241707801819,
0.09776554256677628,
-0.6212407350540161,
0.48583313822746277,
-0.928901731967926,
-0.26533544063568115,
-0.0954817533493042,
-0.07759928703308105,
-0.12954168021678925,
-0.7017126679420471,
-0.03785761818289757,
-0.5146042108535767,
-0.09265689551830292,
-0.2586737871170044,
-0.4693737030029297,
0.07903503626585007,
-0.02641325816512108,
-0.6063625812530518,
0.8033891320228577,
0.2803644835948944,
-0.5372998118400574,
0.7751559019088745,
-0.5368356704711914,
-0.6818247437477112,
-0.04515519365668297,
-0.2728213369846344,
-0.3221548795700073,
0.4824296534061432,
0.04968453198671341,
0.35104724764823914,
-0.19595663249492645,
-0.006962763145565987,
-0.2567841112613678,
-0.6539705395698547,
0.3423002064228058,
-0.10503298789262772,
0.6507031917572021,
0.12713563442230225,
-0.4898928701877594,
0.22748936712741852,
-0.7399609088897705,
0.2559100389480591,
-0.16473388671875,
-0.3915087878704071,
-0.37936046719551086,
0.1502661406993866,
-0.2199556529521942,
0.1982283592224121,
-0.07167957723140717,
-0.3743632137775421,
0.36477038264274597,
-0.44292548298835754,
0.3381814956665039,
0.6608229875564575,
0.06526732444763184,
0.48945316672325134,
-0.5749459862709045,
0.6097214818000793,
0.07037658989429474,
0.08627147227525711,
-0.4354473948478699,
-0.7091537117958069,
-0.749460756778717,
-0.2895168960094452,
0.21146529912948608,
0.6022392511367798,
-0.5733763575553894,
0.3405456840991974,
-0.19698628783226013,
-0.3336484134197235,
-0.6483397483825684,
0.394814670085907,
0.5668259859085083,
0.06818700581789017,
0.11523579061031342,
-0.4103141129016876,
-0.5884959101676941,
-0.9039536714553833,
-0.5201853513717651,
0.169769749045372,
-0.23666086792945862,
0.31728917360305786,
0.3555991053581238,
-0.3413199484348297,
0.5629433989524841,
-0.5344004034996033,
0.2785460948944092,
-0.013626476749777794,
0.029914243146777153,
0.3341124653816223,
0.7870686054229736,
0.16962909698486328,
-0.602854311466217,
-0.4191947281360626,
0.08531972020864487,
-0.4995374083518982,
0.04203980043530464,
-0.20966480672359467,
-0.34794285893440247,
0.061282020062208176,
0.4047447741031647,
-0.3564607501029968,
0.16819100081920624,
0.44796517491340637,
-0.05334850400686264,
0.36718496680259705,
-0.4604717493057251,
0.21251335740089417,
-1.0174200534820557,
-0.16786716878414154,
-0.06179283559322357,
-0.08279882371425629,
-0.5590720772743225,
0.42455539107322693,
0.17062143981456757,
-0.10494132339954376,
-0.09645766019821167,
-0.05317860469222069,
-0.6393033266067505,
-0.13750912249088287,
-0.27085959911346436,
-0.13268744945526123,
-0.32470178604125977,
0.48372140526771545,
-0.1466824859380722,
0.8319316506385803,
0.8989819288253784,
-0.8650567531585693,
0.24262937903404236,
-0.12384258210659027,
-0.4475156366825104,
0.3156189024448395,
-0.7248535752296448,
0.010635824874043465,
-0.07207871973514557,
-0.18899428844451904,
-0.8954771757125854,
-0.30295851826667786,
-0.06867547333240509,
-0.11513886600732803,
0.3789328634738922,
-0.11793830990791321,
-0.4631882905960083,
-0.19868211448192596,
-0.1028541699051857,
0.43382027745246887,
0.9981824159622192,
-0.39266887307167053,
0.21377038955688477,
0.30563411116600037,
0.13135726749897003,
-0.3522687554359436,
-0.6247780323028564,
-0.3124241828918457,
-0.0679389089345932,
-0.4541974663734436,
0.20614665746688843,
-0.008047860115766525,
-0.280178964138031,
-0.1707216501235962,
-0.3688942492008209,
-0.028757361695170403,
0.3621944487094879,
0.34289446473121643,
0.27297407388687134,
-0.312288373708725,
0.2693692147731781,
0.3723164498806,
0.01480988971889019,
0.05397989973425865,
-0.7357545495033264,
0.3586161136627197,
0.11349449306726456,
-0.5614287853240967,
-0.3054572343826294,
0.41544175148010254,
0.2830217182636261,
-0.2889324724674225,
0.7613067030906677,
0.4153701961040497,
-0.04409042373299599,
-0.9138973951339722,
-0.12637922167778015,
-0.31616801023483276,
-0.532012403011322,
0.5649439692497253,
-0.3564576208591461,
-0.8809250593185425,
0.1897139996290207,
-0.22918352484703064,
0.5070345997810364,
0.32100051641464233,
0.712440013885498,
-0.13389535248279572,
1.22248113155365,
0.8462427854537964,
0.1784902960062027,
0.7809333801269531,
-0.30931931734085083,
0.2608301043510437,
-0.6438756585121155,
-0.1888302117586136,
-0.5487304925918579,
-0.7114213109016418,
-1.095035433769226,
-0.5381942391395569,
0.3230063319206238,
-0.09208939224481583,
-0.2507511079311371,
0.4706820547580719,
-0.849911630153656,
0.7026799917221069,
0.8565940856933594,
0.08492603152990341,
0.09131533652544022,
0.08644271641969681,
0.10137585550546646,
0.14526093006134033,
-0.8507622480392456,
-0.33232414722442627,
1.2196404933929443,
-0.006983462255448103,
0.8730969429016113,
0.01022591907531023,
0.9374220371246338,
0.23061895370483398,
0.08897126466035843,
-0.46895644068717957,
0.34546178579330444,
-0.3986056447029114,
-0.30610498785972595,
-0.20917044579982758,
-0.6130834221839905,
-1.1638671159744263,
0.11814586073160172,
-0.2480718046426773,
-0.64760822057724,
-0.07366808503866196,
0.41807645559310913,
-0.09178762137889862,
0.015445773489773273,
-0.9070297479629517,
0.8827850222587585,
-0.04841453582048416,
-0.11648179590702057,
-0.6003491282463074,
-0.5031318664550781,
0.5537848472595215,
-0.08210927993059158,
0.027905885130167007,
0.006693392060697079,
-0.19055570662021637,
0.4285021126270294,
-0.257455974817276,
0.8573518395423889,
0.10642796009778976,
-0.1316424161195755,
0.06492298096418381,
0.1850866973400116,
0.4203478693962097,
-0.04795544221997261,
0.08423933386802673,
-0.18586663901805878,
0.022649619728326797,
-0.5808157920837402,
-0.89131760597229,
0.8798067569732666,
-1.0080095529556274,
-0.6887152194976807,
0.1808033138513565,
-1.1390595436096191,
-0.2888247072696686,
-0.09147647023200989,
0.2564631402492523,
0.5814025402069092,
0.0823778435587883,
0.27133357524871826,
0.9132731556892395,
-0.0905723050236702,
0.21626444160938263,
-0.008294356986880302,
0.06440315395593643,
0.15132474899291992,
1.08990478515625,
0.03660235553979874,
0.48346012830734253,
0.459308385848999,
-0.15840746462345123,
0.16584919393062592,
-0.31533175706863403,
-0.48208799958229065,
-0.012968388386070728,
-0.6116663813591003,
0.07958680391311646,
-0.5525081753730774,
-0.06820058822631836,
-0.25203487277030945,
-0.11582908034324646,
-0.1089361160993576,
-0.6743472814559937,
-0.3547515869140625,
0.08477447926998138,
0.17680956423282623,
0.9401809573173523,
0.371034175157547,
0.25233644247055054,
-0.7864884734153748,
0.38969966769218445,
0.5175424218177795,
0.2987104058265686,
-0.03712811693549156,
-0.3798389434814453,
-0.4211404323577881,
0.27302637696266174,
-0.4141131341457367,
-0.8177945613861084,
0.03966687247157097,
0.44731804728507996,
0.671728253364563,
0.1667444407939911,
-0.23381662368774414,
0.6493896842002869,
-0.5034598112106323,
0.5933852791786194,
-0.11381693929433823,
-0.9321137070655823,
0.6843190789222717,
-0.45152416825294495,
0.6762375235557556,
0.22782418131828308,
0.2988002300262451,
-0.21369826793670654,
-0.7771715521812439,
-0.6165575385093689,
-0.6729679107666016,
0.925781786441803,
0.2934873700141907,
0.3839273452758789,
0.09960316121578217,
0.3709024488925934,
0.19022826850414276,
0.36472028493881226,
-0.4800450801849365,
-0.15243874490261078,
-0.18232017755508423,
-0.4420960545539856,
-0.16609084606170654,
0.19287815690040588,
-0.23625792562961578,
-0.24407625198364258,
0.5936433672904968,
-0.10204821825027466,
0.28252163529396057,
-0.44065597653388977,
-0.1836412250995636,
-0.13904982805252075,
0.18657000362873077,
0.7318915724754333,
0.6372387409210205,
0.23724928498268127,
0.14369113743305206,
-0.01536927092820406,
-0.3206937909126282,
0.10307871550321579,
-0.22512675821781158,
-0.243767648935318,
-0.22019003331661224,
0.4458593428134918,
1.0768742561340332,
0.21294018626213074,
-0.692348301410675,
0.05943048745393753,
0.09505753219127655,
-0.18574775755405426,
0.2432844340801239,
1.2222793102264404,
0.04873961582779884,
0.335110068321228,
0.07806587964296341,
0.2926890552043915,
0.16946598887443542,
-0.8077919483184814,
0.25751668214797974,
0.6658682823181152,
-0.12142065912485123,
-0.26206502318382263,
0.5219994783401489,
-0.01273620966821909,
-0.7002653479576111,
0.7511484026908875,
-0.08320516347885132,
-0.20562216639518738,
1.0775715112686157,
0.7552050352096558,
0.8196276426315308,
-0.019290538504719734,
0.16831637918949127,
0.2528340220451355,
0.35637444257736206,
-0.19404417276382446,
0.42409026622772217,
-0.5592696070671082,
-0.49742674827575684,
-0.38246214389801025,
-0.5460952520370483,
-0.20395760238170624,
-0.4617063105106354,
-0.6780821681022644,
0.001920873997732997,
-0.4692004919052124,
-0.11874358355998993,
-0.15526212751865387,
-0.2955358624458313,
-0.7497218251228333,
0.16300047934055328,
-0.0012867755722254515,
0.6668492555618286,
-0.9195079803466797,
0.9268841743469238,
0.7798911333084106,
-0.06268377602100372,
-0.9778566360473633,
0.14271043241024017,
-0.18741582334041595,
-0.7691977024078369,
0.7916759252548218,
0.21052761375904083,
0.0312404353171587,
0.02433658391237259,
-0.40630367398262024,
-0.8304293751716614,
0.9339916110038757,
0.4612296521663666,
-0.6582525968551636,
0.005254956893622875,
0.11252304911613464,
0.6905328631401062,
-0.4055783152580261,
0.036580003798007965,
0.6611773371696472,
0.202183336019516,
0.025999318808317184,
-0.7047885060310364,
-0.08488743752241135,
-0.5135747194290161,
0.4022054970264435,
0.5546538233757019,
-0.29967793822288513,
0.9350785613059998,
-0.2831341028213501,
-0.10919040441513062,
-0.04607037082314491,
0.542475163936615,
0.30969080328941345,
-0.16779890656471252,
0.2422625571489334,
0.3251194357872009,
0.7023181319236755,
-0.2660086154937744,
1.4282500743865967,
-0.5985865592956543,
0.019650371745228767,
0.81003338098526,
0.2039327323436737,
0.5560005903244019,
0.3752698004245758,
-0.06370708346366882,
0.6512880325317383,
0.5300408005714417,
-0.2754194736480713,
0.6010785102844238,
0.5187833905220032,
-0.06938036531209946,
-0.442457914352417,
0.21246907114982605,
-0.16532303392887115,
0.12611538171768188,
0.1532447636127472,
-0.3687457740306854,
0.06419768929481506,
-0.007112485356628895,
-0.5165953040122986,
0.03381013497710228,
-0.48286721110343933,
0.7979574799537659,
0.023151399567723274,
-1.091720700263977,
0.6716819405555725,
0.09470679610967636,
0.5939388871192932,
-0.6318315267562866,
-0.23878471553325653,
0.12091875076293945,
0.36250242590904236,
-0.15355275571346283,
-0.6136789917945862,
0.3310225009918213,
-0.15583276748657227,
-0.3086707890033722,
-0.25680384039878845,
0.529443085193634,
-0.5334094762802124,
-0.5410816669464111,
-0.15607430040836334,
0.3840116560459137,
0.011150880716741085,
0.22312569618225098,
-0.46359091997146606,
0.06108272820711136,
-0.013986978679895401,
0.053506191819906235,
0.5264409184455872,
0.5826501846313477,
-0.1402808129787445,
0.6945163607597351,
0.6504753232002258,
0.14431840181350708,
0.4648049771785736,
-0.083588145673275,
0.7571382522583008,
-0.45287883281707764,
-0.6101112365722656,
-0.8429920077323914,
0.4582791030406952,
0.08313547819852829,
-0.4669617712497711,
0.7908861637115479,
0.4222128689289093,
1.1811808347702026,
-0.4560038149356842,
0.694868803024292,
0.131174236536026,
-0.0807548463344574,
-0.5231179594993591,
0.42719489336013794,
-0.45251959562301636,
0.2292599380016327,
-0.23043036460876465,
-1.0512936115264893,
-0.24538716673851013,
0.6063293814659119,
-0.15840420126914978,
0.4086044728755951,
0.582992672920227,
0.9758142232894897,
-0.3451111316680908,
0.070438452064991,
0.35921743512153625,
-0.08606571704149246,
0.06543251872062683,
0.629677951335907,
0.7745518088340759,
-0.22475352883338928,
0.28401729464530945,
-0.13388235867023468,
-0.22131022810935974,
0.02850046195089817,
-0.5765820741653442,
-1.0132097005844116,
-0.6348050832748413,
-0.3129846453666687,
-0.06202079355716705,
0.14971287548542023,
0.856071412563324,
0.9657555222511292,
-0.8705728650093079,
-0.4807593524456024,
-0.459684818983078,
0.12241137027740479,
-0.6658145785331726,
-0.1328018605709076,
-0.13551385700702667,
-0.8832606673240662,
-0.7445709705352783,
0.17976045608520508,
0.3805359899997711,
-0.20708955824375153,
-0.11979923397302628,
-0.14011017978191376,
0.12630347907543182,
0.3178056478500366,
0.4123895764350891,
0.152754008769989,
-0.5905327200889587,
-0.047336969524621964,
0.21059256792068481,
-0.08956929296255112,
0.04896741360425949,
1.2425501346588135,
-0.6332890391349792,
0.4031054377555847,
0.4402410387992859,
0.895948052406311,
0.4284747242927551,
-0.10401222854852676,
0.79901123046875,
-0.8191079497337341,
0.021851321682333946,
-0.028452834114432335,
0.10891253501176834,
-0.01001463457942009,
-0.42260265350341797,
0.1636548787355423,
0.13159729540348053,
-0.5406334400177002,
-0.614682674407959,
0.47712981700897217,
-0.7245868444442749,
-0.34590646624565125,
1.0474947690963745,
-0.0027840356342494488,
-0.27408456802368164,
0.04335898160934448,
-0.09653069078922272,
0.5326786041259766,
-0.2604192793369293,
1.0536350011825562,
0.6098204255104065,
-0.24043142795562744,
-0.06260088831186295,
-0.4452371895313263,
0.5189403891563416,
0.7256715297698975,
-0.9839944839477539,
0.03604140132665634,
0.5997650027275085,
0.32710668444633484,
-0.0648089125752449,
0.11887889355421066,
0.21584506332874298,
0.6705086827278137,
0.02375667914748192,
-0.2764679491519928,
-0.2527453303337097,
-0.49491816759109497,
-0.2948068678379059,
0.19408679008483887,
0.22517229616641998,
-0.2864375710487366
] |
http://arxiv.org/abs/2405.19782v1
|
http://arxiv.org/pdf/2405.19782v1
|
Dataflow-Guided Retrieval Augmentation for Repository-Level Code Completion
| 2024-05-30T07:48:00 | 2024-05-30T07:48:00 |
Wei Cheng, Yuhan Wu, Wei Hu
|
cs.SE
|
cs.SE, cs.CL
|
Recent years have witnessed the deployment of code language models (LMs) in
various code intelligence tasks such as code completion. Yet, it is challenging
for pre-trained LMs to generate correct completions in private repositories.
Previous studies retrieve cross-file context based on import relations or text
similarity, which is insufficiently relevant to completion targets. In this
paper, we propose a dataflow-guided retrieval augmentation approach, called
DraCo, for repository-level code completion. DraCo parses a private repository
into code entities and establishes their relations through an extended dataflow
analysis, forming a repo-specific context graph. Whenever triggering code
completion, DraCo precisely retrieves relevant background knowledge from the
repo-specific context graph and generates well-formed prompts to query code
LMs. Furthermore, we construct a large Python dataset, ReccEval, with more
diverse completion targets. Our experiments demonstrate the superior accuracy
and applicable efficiency of DraCo, improving code exact match by 3.43% and
identifier F1-score by 3.27% on average compared to the state-of-the-art
approach.
|
[
-0.1612284779548645,
-0.12803314626216888,
0.2707369327545166,
-0.03878343105316162,
-0.21708296239376068,
0.49787119030952454,
-0.2908194065093994,
-0.3760409951210022,
0.22243981063365936,
0.7246042490005493,
-0.6739382743835449,
-0.6889598369598389,
-0.19285964965820312,
0.33643221855163574,
-0.5219900608062744,
0.8000607490539551,
-0.22031629085540771,
-0.32717621326446533,
-0.13626809418201447,
-0.05603112652897835,
-0.6862553358078003,
-0.3000614047050476,
0.11113838851451874,
-0.26667195558547974,
0.5767928957939148,
0.34169381856918335,
0.4704981744289398,
1.050343632698059,
0.47727563977241516,
0.2513270676136017,
-0.007316464092582464,
0.36049020290374756,
-0.5209620594978333,
0.29004302620887756,
-0.11629249155521393,
-0.4436870813369751,
-0.18733371794223785,
-0.13998238742351532,
0.45471280813217163,
0.5161302089691162,
-0.3315966725349426,
-0.035625580698251724,
0.14751170575618744,
1.0236493349075317,
-0.7187997102737427,
0.1977749466896057,
-0.567617654800415,
0.24692092835903168,
0.009302731603384018,
-0.42258551716804504,
-0.3506636321544647,
-0.23249834775924683,
0.3417513370513916,
-0.7519422173500061,
0.06438913941383362,
-0.21864843368530273,
0.6638751029968262,
0.6145749688148499,
-0.3174997866153717,
-0.5918258428573608,
-0.4413754642009735,
0.5779958963394165,
-0.5795570015907288,
0.3990507423877716,
0.2607753872871399,
0.25127580761909485,
-0.19911624491214752,
-1.0730282068252563,
-0.37984755635261536,
-0.3606474697589874,
-0.68572598695755,
-0.08865591883659363,
0.12708519399166107,
0.14854447543621063,
0.43776488304138184,
0.7395135164260864,
-0.5714888572692871,
-0.42537936568260193,
-0.37104788422584534,
-0.36908093094825745,
0.35859185457229614,
0.14142322540283203,
0.18817518651485443,
-0.17611779272556305,
-0.3906705975532532,
-0.10175938904285431,
-0.5522670149803162,
0.03674361854791641,
0.34586068987846375,
0.3504711985588074,
0.22650860249996185,
0.21681788563728333,
-0.27441081404685974,
0.9971856474876404,
-0.0876467376947403,
0.04335469752550125,
0.6270367503166199,
-0.563829243183136,
-0.14003223180770874,
-0.08297115564346313,
0.4626256823539734,
-0.11251816153526306,
0.24811717867851257,
-0.2795056402683258,
-0.22439324855804443,
-0.36888402700424194,
0.5084707736968994,
-0.781054675579071,
-0.32781487703323364,
0.471594899892807,
-0.25533488392829895,
-0.4509754776954651,
0.1917491853237152,
-0.7014365196228027,
-0.438518226146698,
-0.3852750360965729,
-0.022936470806598663,
-0.26141804456710815,
-0.19248713552951813,
-0.11380937695503235,
-0.2438913732767105,
0.10466990619897842,
0.24052737653255463,
-0.36679595708847046,
-0.15821269154548645,
0.7858942151069641,
0.7571653723716736,
-0.047939009964466095,
-0.48619040846824646,
-0.7046716213226318,
0.24961696565151215,
-0.42154616117477417,
0.4818754196166992,
-0.8584943413734436,
-0.27946987748146057,
0.046601079404354095,
-0.06225018948316574,
0.150672048330307,
-0.5723215937614441,
0.15821883082389832,
-0.8435041308403015,
0.24641123414039612,
-0.12913766503334045,
-0.7183080911636353,
-0.24006594717502594,
0.18599069118499756,
-0.7385063171386719,
0.8901425004005432,
0.5786521434783936,
-0.6408121585845947,
0.5550256967544556,
-0.3591594994068146,
-0.47564128041267395,
0.2812526822090149,
-0.5536656975746155,
-0.07799428701400757,
-0.37093260884284973,
0.07118456065654755,
0.2812407910823822,
0.19770678877830505,
0.44601115584373474,
-0.305599570274353,
-0.7406666874885559,
-0.11787106841802597,
-0.009312588721513748,
0.6123545169830322,
0.29275619983673096,
-0.37199172377586365,
-0.14468827843666077,
-0.6473446488380432,
0.1078430637717247,
-0.3878668248653412,
-0.5189497470855713,
-0.46147945523262024,
-0.35436832904815674,
-0.2449726164340973,
0.19657845795154572,
0.4771620035171509,
-0.5057947635650635,
0.6189915537834167,
-0.2370339184999466,
0.38324475288391113,
0.5571420788764954,
-0.0896049290895462,
0.6298732757568359,
-0.12090955674648285,
0.38239237666130066,
-0.13690900802612305,
0.05802387371659279,
-0.4018622636795044,
-0.3651196360588074,
-0.05930205434560776,
-0.9885196685791016,
0.39131563901901245,
0.6718401312828064,
-0.8300200700759888,
0.5209128260612488,
-0.2668120861053467,
-0.3953379690647125,
-0.444323867559433,
0.48886948823928833,
0.5361576676368713,
0.7096503973007202,
0.3545883893966675,
-0.14982269704341888,
-0.6487122178077698,
-0.7156219482421875,
-0.11102111637592316,
-0.040057871490716934,
-0.11871641129255295,
0.838344931602478,
0.4710453450679779,
-0.5338438749313354,
0.8833656311035156,
-0.6311905384063721,
-0.6441056132316589,
0.1397710144519806,
-0.15595491230487823,
0.6127806305885315,
0.36996278166770935,
0.5869773030281067,
-0.8155170679092407,
-0.5158578157424927,
0.17214202880859375,
-0.7631665468215942,
-0.13447305560112,
0.0029110845644026995,
-0.08593303710222244,
0.04830268770456314,
0.27594372630119324,
-0.061645276844501495,
0.3832951486110687,
0.40687277913093567,
-0.1578207165002823,
0.03091084398329258,
-0.37493696808815,
0.580881655216217,
-0.9496192336082458,
0.3647196590900421,
-0.4558846652507782,
-0.3493345081806183,
-0.5039371252059937,
0.29107925295829773,
0.5592146515846252,
-0.20926861464977264,
-0.3630176782608032,
0.4386669993400574,
-0.5211607217788696,
-0.2415788620710373,
-0.42980849742889404,
0.10492559522390366,
0.22169063985347748,
0.6871020197868347,
0.26853394508361816,
1.0043354034423828,
0.6464060544967651,
-0.5281035900115967,
0.5494071841239929,
0.038465261459350586,
-0.14117376506328583,
-0.00669711921364069,
-0.554923951625824,
0.30377840995788574,
0.07576125115156174,
0.41994813084602356,
-0.9306289553642273,
-0.09967179596424103,
0.06762854009866714,
-0.36058831214904785,
0.4695911109447479,
-0.5648333430290222,
-0.3113381564617157,
-0.3019872009754181,
-0.344918817281723,
0.42425936460494995,
0.4091176390647888,
-0.7188223004341125,
0.4134212136268616,
0.33277493715286255,
0.11100535094738007,
-1.200414776802063,
-0.8149909973144531,
0.06493987143039703,
0.0729212760925293,
-0.5372593998908997,
0.4417046904563904,
0.12288016080856323,
0.13768647611141205,
-0.18755704164505005,
-0.2711435556411743,
-0.3152531087398529,
-0.008322305977344513,
0.11141499131917953,
0.26452672481536865,
0.15226608514785767,
-0.10177811980247498,
0.08203525841236115,
-0.18484018743038177,
-0.2645323574542999,
-0.47194692492485046,
0.2656261622905731,
0.1112707182765007,
-0.12799938023090363,
-0.30640944838523865,
0.3339845538139343,
0.5551350712776184,
-0.23278957605361938,
0.279391348361969,
0.09403000771999359,
-0.3724459409713745,
-0.31503987312316895,
-0.19631323218345642,
-0.2936055362224579,
-0.4832913875579834,
0.17590191960334778,
-0.3944227695465088,
-0.9387844800949097,
0.6545543074607849,
0.3277878165245056,
0.19044892489910126,
-0.1961866021156311,
0.2707458734512329,
0.21030743420124054,
0.5660566091537476,
0.4253886044025421,
-0.30104565620422363,
0.7323924899101257,
-0.6377636194229126,
0.014442366547882557,
-0.7306237816810608,
-0.29843297600746155,
-0.5080540776252747,
-0.17427240312099457,
-0.6195975542068481,
-0.4700985848903656,
-0.07637670636177063,
-0.07245383411645889,
0.16824382543563843,
1.1262078285217285,
-0.867027223110199,
0.3268469274044037,
0.3735518753528595,
0.2634378969669342,
0.6336344480514526,
0.020054684951901436,
0.030332911759614944,
0.20406043529510498,
-0.48917263746261597,
-0.26701611280441284,
1.0336296558380127,
0.3219142556190491,
0.7204226851463318,
-0.09251546114683151,
1.0020304918289185,
0.6017606854438782,
0.24472814798355103,
-0.533648669719696,
0.20109190046787262,
-0.033498406410217285,
-0.6245375275611877,
-0.04616698995232582,
-0.8698531985282898,
-0.7390194535255432,
0.016079777851700783,
0.3061996102333069,
-0.34860745072364807,
0.6629524230957031,
0.145478755235672,
-0.25122424960136414,
-0.13904209434986115,
-0.42752113938331604,
0.7766798734664917,
0.087894007563591,
-0.26995301246643066,
-0.21412411332130432,
-0.5040389895439148,
0.13228151202201843,
-0.11504308134317398,
0.09347933530807495,
0.2518666386604309,
-0.5291938185691833,
0.3536471724510193,
-0.7026938199996948,
0.20827490091323853,
-0.3101903796195984,
-0.49147817492485046,
0.3101758360862732,
0.038064565509557724,
0.5849869847297668,
0.4576314687728882,
-0.27684566378593445,
0.24919435381889343,
-0.05165817216038704,
-0.44862988591194153,
-0.7723790407180786,
0.9537145495414734,
-0.46083635091781616,
-0.2793850302696228,
-0.28517889976501465,
-0.6850497126579285,
0.08536168932914734,
0.24768184125423431,
0.08826807141304016,
0.6282175183296204,
0.41350018978118896,
0.11866950988769531,
0.7338090538978577,
-0.07637640088796616,
0.29786279797554016,
0.8269029259681702,
-0.0651661828160286,
-0.5730542540550232,
0.7291964292526245,
0.050488680601119995,
-0.0015897073317319155,
0.5509548783302307,
-0.2560001015663147,
-0.4510843753814697,
-0.46898365020751953,
-0.6959128975868225,
0.09408476948738098,
-0.5174975395202637,
-0.4534335732460022,
-0.548515260219574,
0.07835115492343903,
-0.45336127281188965,
-0.0971449762582779,
-0.3606738746166229,
-0.0798792615532875,
-0.18775594234466553,
0.10150784254074097,
0.6810831427574158,
0.5496827363967896,
-0.02298286184668541,
-0.2724478542804718,
-1.018132209777832,
0.22944964468479156,
0.3498895764350891,
0.7228339314460754,
-0.20777469873428345,
-0.6094110012054443,
-0.15381981432437897,
0.21177436411380768,
0.15895995497703552,
-0.9871155619621277,
0.14732791483402252,
0.006720906123518944,
0.5838122367858887,
0.11015259474515915,
0.20373724400997162,
0.7731922268867493,
-0.3413502275943756,
0.2590802013874054,
-0.4092196822166443,
-0.7411365509033203,
0.7268908023834229,
-0.30871543288230896,
-0.16007892787456512,
0.9577605724334717,
0.04282205179333687,
-0.1640576720237732,
-0.4428561329841614,
-0.2322646975517273,
-0.9321637153625488,
0.6845951080322266,
0.5479305386543274,
0.14062389731407166,
0.15326978266239166,
0.7616082429885864,
0.13257457315921783,
0.43139371275901794,
-0.27161428332328796,
-0.44801661372184753,
-0.08392493426799774,
-0.15798695385456085,
0.3971687853336334,
0.3301619589328766,
0.08460435271263123,
-0.0928516611456871,
0.5472772121429443,
-0.16869480907917023,
0.15683133900165558,
0.530856192111969,
-0.300645112991333,
-0.08920707553625107,
-0.056005824357271194,
0.36534756422042847,
0.741102397441864,
-0.41769421100616455,
-0.5511272549629211,
-0.1578913927078247,
-0.6314605474472046,
-0.010208609513938427,
0.4758944809436798,
-0.0038899052888154984,
0.16606172919273376,
0.41977766156196594,
0.2496296912431717,
-0.07500206679105759,
-0.7926686406135559,
0.6793120503425598,
-0.3025888502597809,
-0.049063343554735184,
-0.15237638354301453,
0.28893300890922546,
-0.4678567349910736,
0.35600608587265015,
0.7179055213928223,
-0.10147080570459366,
0.50019371509552,
-0.6872240304946899,
0.9239371418952942,
0.26333045959472656,
-0.546621561050415,
0.3806963562965393,
0.20135655999183655,
0.39411041140556335,
-0.22016552090644836,
0.7456392049789429,
-0.07709281891584396,
-0.47218894958496094,
0.860689640045166,
0.031062748283147812,
0.75480055809021,
0.34151244163513184,
-0.1548730731010437,
0.2624167203903198,
0.05036308243870735,
0.0604553297162056,
0.38722893595695496,
-0.6439582109451294,
-0.24706152081489563,
-0.7075398564338684,
-0.27118241786956787,
-0.32078301906585693,
-0.09900952875614166,
-0.8160528540611267,
0.34563344717025757,
-0.23423032462596893,
0.29646584391593933,
-0.5240006446838379,
0.40515783429145813,
-0.39950647950172424,
0.01991286501288414,
0.2041322886943817,
1.432328701019287,
-0.467852920293808,
1.042772889137268,
0.7644276022911072,
-0.5302284955978394,
-0.9692202806472778,
0.01890725828707218,
-0.39236366748809814,
-0.6355339288711548,
0.20322053134441376,
0.2495431900024414,
0.09753650426864624,
0.11709516495466232,
-0.19916483759880066,
-0.7901512980461121,
1.3880289793014526,
0.26726534962654114,
-0.8044172525405884,
-0.05414357781410217,
-0.13869944214820862,
0.6971278786659241,
-0.5355499386787415,
0.44720327854156494,
0.5321753025054932,
0.3295465409755707,
0.08449330180883408,
-0.8128321170806885,
0.23631522059440613,
-0.3252173364162445,
0.13421805202960968,
0.3972820043563843,
-0.34482985734939575,
0.3804152011871338,
-0.3339880108833313,
0.03716736659407616,
0.2802974283695221,
0.6701945066452026,
0.5394343733787537,
0.3108867108821869,
0.3687344491481781,
0.45291802287101746,
0.7753352522850037,
0.034925349056720734,
1.0334137678146362,
-0.7163196206092834,
0.6648154854774475,
1.0306099653244019,
-0.2921413481235504,
0.4593782424926758,
0.3509661853313446,
0.027629483491182327,
0.7808581590652466,
0.6258940100669861,
0.06785126030445099,
0.9147226810455322,
0.19066622853279114,
0.10428854078054428,
0.12812630832195282,
0.02739553526043892,
-0.7395345568656921,
0.011066476814448833,
0.18062466382980347,
-0.5931099057197571,
-0.09630423784255981,
0.01304086297750473,
-0.2590486407279968,
0.14941206574440002,
-0.21221594512462616,
0.8415910601615906,
-0.07501112669706345,
-0.7773041725158691,
0.6272350549697876,
-0.6053868532180786,
0.6592183113098145,
-0.45466768741607666,
-0.36017516255378723,
-0.6385693550109863,
0.34564340114593506,
-0.3992193639278412,
-1.1090819835662842,
0.2590523362159729,
0.09755919128656387,
-0.2320934534072876,
-0.3025779128074646,
0.6058716773986816,
-0.6543192267417908,
0.1234508529305458,
0.6765044927597046,
0.16991211473941803,
0.08140364289283752,
-0.22568611800670624,
-0.8782567381858826,
-0.23248551785945892,
0.22943434119224548,
-0.2743334174156189,
0.21043555438518524,
0.4366706311702728,
0.36759090423583984,
0.6279653310775757,
0.5047788023948669,
-0.07867328077554703,
-0.14026659727096558,
0.1249399408698082,
1.1025208234786987,
-0.5364975929260254,
-0.3661309778690338,
-0.5591828227043152,
0.46267855167388916,
-0.14607694745063782,
-0.16767999529838562,
0.39816322922706604,
0.6799618601799011,
0.967266321182251,
-0.047317024320364,
0.7451155781745911,
-0.28452491760253906,
0.5201538801193237,
-0.18056122958660126,
0.6671274900436401,
-0.6634138822555542,
0.6461591124534607,
-0.4327910840511322,
-0.809715986251831,
0.00032780534820631146,
0.6235379576683044,
-0.056871481239795685,
0.04149380698800087,
0.5062762498855591,
1.2019052505493164,
0.004320214036852121,
-0.1854906976222992,
0.18038493394851685,
-0.23195511102676392,
0.1477402001619339,
0.8693529963493347,
0.8403023481369019,
-0.6619622111320496,
0.9498922228813171,
-0.6356605887413025,
-0.4508509337902069,
-0.034991439431905746,
-0.827721118927002,
-0.7101292014122009,
-0.3120402693748474,
-0.34576359391212463,
-0.509365439414978,
0.08909372985363007,
0.7731499671936035,
0.6204649209976196,
-0.8371890187263489,
0.0835300087928772,
-0.30688604712486267,
0.4113689661026001,
-0.21016275882720947,
-0.2820073068141937,
0.1098216325044632,
-0.5133440494537354,
-0.7381039261817932,
0.39914169907569885,
0.40442633628845215,
-0.3671347498893738,
-0.20709048211574554,
-0.23824547231197357,
-0.13845600187778473,
-0.4046090543270111,
0.026096582412719727,
0.25061577558517456,
-0.3288829028606415,
0.004016035236418247,
0.4635367691516876,
-0.575835108757019,
0.09420419484376907,
1.188315510749817,
-1.1696691513061523,
0.3378317058086395,
1.0178879499435425,
0.6370919346809387,
0.05767782777547836,
-0.027163896709680557,
0.7437793612480164,
-0.8506232500076294,
0.09673603624105453,
0.26490670442581177,
0.44483286142349243,
0.1315351277589798,
-0.814706027507782,
0.71248459815979,
0.22219212353229523,
-0.5318304896354675,
-0.8862435221672058,
0.11362197995185852,
-0.5770193338394165,
-0.33694928884506226,
0.9598914384841919,
-0.49560612440109253,
-0.26650702953338623,
-0.24926599860191345,
-0.2642805576324463,
0.3764896094799042,
-0.82464599609375,
0.6747761964797974,
0.23047862946987152,
0.09275104850530624,
0.11935796588659286,
-0.1863860934972763,
0.5950981974601746,
0.14461545646190643,
-0.5810191035270691,
0.27004891633987427,
0.5148911476135254,
0.26185593008995056,
0.4259771406650543,
0.5302717089653015,
-0.175752654671669,
0.6535971164703369,
-0.2995866537094116,
-0.16374965012073517,
-0.41914328932762146,
-0.44382837414741516,
-0.34595564007759094,
0.025947973132133484,
-0.29637303948402405,
-0.18184563517570496
] |
http://arxiv.org/abs/2405.19778v3
|
http://arxiv.org/pdf/2405.19778v3
|
Enhancing Consistency and Role-Specific Knowledge Capturing by Rebuilding Fictional Character's Persona
| 2024-05-30T07:44:16 | 2024-06-05T02:57:20 |
Jeiyoon Park, Chanjun Park, Heuiseok Lim
|
cs.CL
|
cs.CL, cs.AI
|
With the recent introduction of Assistants API, it is expected that
document-based language models will be actively used in various domains,
especially Role-playing. However, a key challenge lies in utilizing
protagonist's persona: Assistants API often fails to achieve with its search
because the information extraction part is different each time and it often
omits important information such as protagonist's backstory or relationships.
It is hard to maintain a consistent persona simply by using the persona
document as input to the Assistants API. To address the challenge of achieving
stable persona consistency, we propose CharacterGPT, a novel persona
reconstruction framework to alleviate the shortcomings of the Assistants API.
Our method involves Character Persona Training (CPT), an effective persona
rebuilding process that updates the character persona by extracting the
character's traits from given summary of the novel for each character as if the
story in a novel progresses. In our experiments, we ask each character to take
the Big Five Inventory personality test in various settings and analyze the
results. To assess whether it can think outside the box, we let each character
generate short novels. Extensive experiments and human evaluation demonstrate
that CharacterGPT presents new possibilities for role-playing agent research.
Code and results are available at: https://github.com/Jeiyoon/charactergpt
|
[
-0.3195224106311798,
-0.5150402188301086,
0.7504369020462036,
0.03828803449869156,
0.22633644938468933,
0.20416618883609772,
-0.030362743884325027,
-0.40856727957725525,
0.33369341492652893,
0.8024569153785706,
-0.5790427923202515,
0.06499920040369034,
-0.41293928027153015,
0.2894544303417206,
0.14958834648132324,
0.9864481687545776,
0.028049619868397713,
-0.11700271815061569,
-0.16149067878723145,
-0.0911896601319313,
-0.8566827178001404,
-0.5500361919403076,
-1.0738484859466553,
-0.42693427205085754,
0.491759717464447,
0.23001177608966827,
0.5937801003456116,
0.4631061851978302,
0.3415966033935547,
0.24291835725307465,
0.41462597250938416,
0.22010144591331482,
-0.6261102557182312,
0.32321715354919434,
-0.43559369444847107,
-0.3922240734100342,
-0.5115299224853516,
0.06817054003477097,
0.701061487197876,
0.4983331561088562,
0.16039635241031647,
-0.26270073652267456,
0.23542529344558716,
0.24180743098258972,
-0.45672309398651123,
0.5486538410186768,
-0.2940205931663513,
-0.0393754318356514,
-0.037169199436903,
-0.3722536563873291,
-0.45416492223739624,
-0.1916368156671524,
0.17405402660369873,
-0.700758695602417,
0.475278377532959,
0.10841108858585358,
0.8384069204330444,
0.03351893275976181,
-0.4221155345439911,
-0.2744431793689728,
-0.7918201684951782,
0.5284029841423035,
-0.47592970728874207,
0.26556918025016785,
0.5945968627929688,
0.5411244630813599,
-0.08384794741868973,
-0.5083364248275757,
-0.5180878043174744,
-0.4221773147583008,
-0.306443452835083,
0.1399126797914505,
0.24891042709350586,
0.0048029981553554535,
0.18099895119667053,
0.12942902743816376,
-0.5272243618965149,
-0.3391340970993042,
-0.038687679916620255,
-0.28810611367225647,
0.6100315451622009,
0.02418944612145424,
0.6469941735267639,
-0.09940844029188156,
-0.3454812169075012,
-0.3518603444099426,
-0.7646305561065674,
-0.01223178580403328,
0.5496988892555237,
0.2530018091201782,
0.46062037348747253,
0.3453841209411621,
0.17772476375102997,
0.13623160123825073,
0.47236812114715576,
-0.19084732234477997,
0.141737699508667,
-0.01293183770030737,
-0.07922807335853577,
0.08835562318563461,
0.44408243894577026,
0.03751559183001518,
0.15607166290283203,
-0.4167955219745636,
-0.23861190676689148,
-0.15810756385326385,
0.6276570558547974,
-0.7097707986831665,
-0.49768662452697754,
0.2813832759857178,
-0.37931573390960693,
-0.17578323185443878,
0.07253584265708923,
-0.6438066363334656,
-0.8350943326950073,
-0.2205033302307129,
0.2782500982284546,
-0.9017859697341919,
-0.43155142664909363,
-0.1853874772787094,
-0.21238382160663605,
0.5029533505439758,
0.47355279326438904,
-1.2639354467391968,
0.06633161008358002,
0.8232454061508179,
0.5163747072219849,
-0.11988317966461182,
-0.5736004710197449,
-0.5623022317886353,
0.21988733112812042,
-0.32518115639686584,
0.8671044111251831,
-0.4360203742980957,
-0.46374353766441345,
-0.04527437686920166,
0.11135464906692505,
-0.29777050018310547,
-0.4504505693912506,
0.5410938858985901,
-0.3511868715286255,
0.09413789212703705,
-0.7812545299530029,
-0.6057663559913635,
0.4137282967567444,
0.841689944267273,
-0.8482420444488525,
0.6296377182006836,
0.21090638637542725,
-0.4968990981578827,
0.37249094247817993,
-0.46984755992889404,
-0.09616193175315857,
0.10243845731019974,
-0.3641299605369568,
-0.4115195572376251,
-0.1460164189338684,
0.24753789603710175,
0.37190017104148865,
0.006567029748111963,
-0.015486943535506725,
-0.24594026803970337,
-0.49253833293914795,
0.142426535487175,
-0.09085217863321304,
0.7678411602973938,
-0.13020861148834229,
-0.006110563408583403,
-0.22736810147762299,
-0.526576817035675,
-0.2445102483034134,
0.02637433260679245,
-0.18452230095863342,
-0.37347882986068726,
-0.07041124254465103,
-0.023271121084690094,
-0.06545889377593994,
0.31062448024749756,
-0.5858598351478577,
0.5741904973983765,
-0.07141435891389847,
0.10225587338209152,
0.85026615858078,
0.23223787546157837,
0.5176259279251099,
-0.7138234972953796,
0.690251886844635,
-0.41544824838638306,
-0.09765379130840302,
-0.5779691934585571,
-0.32977402210235596,
-0.4211134910583496,
-0.5450829267501831,
0.2212061583995819,
0.5630603432655334,
-0.9480196833610535,
0.542452335357666,
-0.30177056789398193,
-0.4223896563053131,
-0.3097330927848816,
-0.30843421816825867,
0.5543971061706543,
0.644914984703064,
0.27594801783561707,
-0.48236051201820374,
-0.5984569787979126,
-0.5317017436027527,
-0.5057229399681091,
-0.6301009058952332,
-0.3354688286781311,
0.30926549434661865,
0.30248311161994934,
-0.22674255073070526,
1.088088870048523,
-0.490317702293396,
-0.4349711537361145,
-0.41372987627983093,
0.17996320128440857,
-0.38030731678009033,
0.7304859161376953,
0.6840311884880066,
-0.7373408079147339,
-0.6682901978492737,
-0.0052568018436431885,
-0.8719772696495056,
-0.02172873541712761,
-0.35344240069389343,
-0.185482919216156,
-0.21521615982055664,
0.4051826596260071,
-0.8542641997337341,
0.29357558488845825,
0.061507854610681534,
-0.6441636681556702,
0.8700791597366333,
-0.21437987685203552,
0.5984387993812561,
-1.1571376323699951,
0.5173982977867126,
-0.22830665111541748,
-0.38059502840042114,
-0.5736873149871826,
0.3509792387485504,
-0.06297873705625534,
-0.46970319747924805,
0.1033192053437233,
0.9464680552482605,
-0.5675942897796631,
-0.13682426512241364,
-0.3440898656845093,
0.04304670915007591,
0.1789969801902771,
0.6586515307426453,
0.09119221568107605,
0.882474958896637,
0.13074509799480438,
-0.279845654964447,
0.31748977303504944,
0.5869173407554626,
-0.00985183659940958,
1.2130823135375977,
-0.5518947839736938,
0.43048644065856934,
-0.1363428682088852,
0.4656989574432373,
-1.0516924858093262,
-0.5023016929626465,
0.48003923892974854,
-0.46162721514701843,
0.45352452993392944,
-0.5802977085113525,
-0.5621050596237183,
0.2454914003610611,
-0.1397058516740799,
0.12601502239704132,
0.5758228898048401,
-0.4544682204723358,
0.959507942199707,
0.37689468264579773,
-0.34680765867233276,
-0.48626843094825745,
-0.44848957657814026,
0.07321077585220337,
-0.31372764706611633,
-0.6298074126243591,
0.42784735560417175,
-0.24074062705039978,
-0.07685994356870651,
-0.06088576093316078,
-0.25972557067871094,
-0.38860177993774414,
-0.08478102087974548,
-0.18069595098495483,
0.030322203412652016,
0.0024023507721722126,
0.03397936373949051,
-0.09372115135192871,
-0.10503070056438446,
-0.12902574241161346,
-0.1678423285484314,
0.4831501245498657,
-0.07320386171340942,
-0.42296740412712097,
-0.30494752526283264,
0.4719027280807495,
0.42756590247154236,
-0.2438005805015564,
0.3194561004638672,
0.5118051767349243,
-0.12502717971801758,
-0.09041188657283783,
-0.493191659450531,
-0.2439931035041809,
-0.3874216675758362,
0.28797647356987,
-0.6213347911834717,
-0.5773453116416931,
0.9300171136856079,
-0.12667134404182434,
0.10115847736597061,
0.11307969689369202,
0.007065377198159695,
-0.1435607224702835,
0.7137461304664612,
0.7507256865501404,
0.01495633739978075,
0.6044862270355225,
0.05207524448633194,
0.1322513073682785,
-0.8791506886482239,
-0.09991767257452011,
-0.435445636510849,
-0.28364548087120056,
-0.28779157996177673,
-0.19237931072711945,
0.2964448630809784,
-0.2689521610736847,
-0.17352914810180664,
0.702917218208313,
-0.2138059288263321,
0.6051371693611145,
0.45194271206855774,
0.21405264735221863,
0.33388206362724304,
-0.26697349548339844,
0.2293846756219864,
-0.23067523539066315,
-0.23320133984088898,
-0.5761714577674866,
0.980309009552002,
0.2725101113319397,
0.5932117700576782,
0.2840936481952667,
1.044982671737671,
0.2940598130226135,
0.048396043479442596,
-0.6393547654151917,
0.5246552228927612,
0.047495950013399124,
-0.6066822409629822,
-0.5228685140609741,
-0.43687134981155396,
-1.0668147802352905,
0.20553316175937653,
0.13809673488140106,
-0.8687705993652344,
0.5503346920013428,
0.49689728021621704,
-0.4257100820541382,
0.0747394934296608,
-0.7181565165519714,
0.9209126234054565,
0.07546398043632507,
-0.4521428942680359,
0.19246713817119598,
-0.6306163668632507,
0.2087402194738388,
0.025669077411293983,
-0.4682217836380005,
0.18446524441242218,
0.1357855498790741,
0.22284862399101257,
-0.49904459714889526,
0.926603376865387,
-0.4208012819290161,
-0.22133317589759827,
0.10012365877628326,
0.3967667818069458,
0.7136597037315369,
0.2642897069454193,
-0.05117088183760643,
-0.22604410350322723,
0.3446793854236603,
-0.6641665697097778,
-1.0825088024139404,
0.5838313698768616,
-0.6519678831100464,
-0.4032701551914215,
-0.6011255979537964,
-0.5563044548034668,
-0.6283528804779053,
0.27793046832084656,
0.17244815826416016,
0.18886356055736542,
-0.9407771825790405,
0.0449378564953804,
1.1124460697174072,
-0.10547235608100891,
0.16177138686180115,
0.3386405110359192,
-0.066148541867733,
-0.18622101843357086,
0.8855839967727661,
0.00987947266548872,
-0.0034434727858752012,
0.44871366024017334,
0.03685211390256882,
-0.11130200326442719,
-0.10163649916648865,
-0.3381602466106415,
0.07784091681241989,
-0.40046876668930054,
0.007409918587654829,
-0.5000167489051819,
-0.11241652071475983,
-0.5466689467430115,
-0.18876388669013977,
-0.44319310784339905,
-0.13294373452663422,
0.05492676421999931,
0.1842890828847885,
-0.18112057447433472,
0.289815753698349,
0.14596211910247803,
0.3535710275173187,
-0.5705373883247375,
0.2883608043193817,
0.46266889572143555,
0.15553481876850128,
-0.1247277483344078,
-0.20779788494110107,
-0.1341829150915146,
-0.09934768825769424,
-0.33287137746810913,
-0.8470622301101685,
0.45201629400253296,
0.1342967003583908,
0.6203223466873169,
0.3130713403224945,
-0.06078414246439934,
0.627225935459137,
-0.5380154848098755,
0.8174551725387573,
-0.1915699690580368,
-0.7720627188682556,
0.38851624727249146,
-0.7584649920463562,
0.3900698721408844,
0.940132737159729,
0.11821285635232925,
-0.9136733412742615,
-0.20491629838943481,
-0.80865478515625,
-0.5486409664154053,
0.6620821952819824,
0.3826582729816437,
0.060920558869838715,
0.06009454280138016,
0.5578674077987671,
0.2134290635585785,
0.1890047937631607,
-0.43326374888420105,
0.2986643612384796,
-0.41796204447746277,
-0.28026658296585083,
-0.049824416637420654,
-0.1476561427116394,
-0.1988716721534729,
0.10925590246915817,
0.6936861872673035,
-0.2894737124443054,
0.6687679886817932,
0.28219473361968994,
-0.1319640427827835,
0.3355569839477539,
0.06437650322914124,
0.33154764771461487,
0.5849424004554749,
-0.33838167786598206,
0.02208164520561695,
-0.302572637796402,
-0.6968774199485779,
0.06762334704399109,
0.1644091010093689,
-0.24948620796203613,
-0.25132355093955994,
0.594636082649231,
0.49920687079429626,
0.4237326681613922,
-0.6864413619041443,
0.6050660014152527,
-0.1423245221376419,
-0.005928518250584602,
-0.5542922019958496,
0.14097416400909424,
-0.2411598563194275,
0.32301679253578186,
0.3385330140590668,
0.17926475405693054,
0.0740586444735527,
-1.03423011302948,
0.46644023060798645,
0.09405919909477234,
-0.17423556745052338,
-0.4381391406059265,
0.4254157543182373,
0.14733774960041046,
-0.30825304985046387,
0.6742291450500488,
-0.43981799483299255,
-0.2719361186027527,
0.6124996542930603,
0.5983383655548096,
0.998548150062561,
-0.532749354839325,
0.43718963861465454,
0.11532330513000488,
0.18743835389614105,
-0.46982648968696594,
0.20944178104400635,
0.054526131600141525,
-0.7789565920829773,
-0.22294142842292786,
-0.17902666330337524,
-0.42733603715896606,
0.13960009813308716,
-0.258551687002182,
0.14994870126247406,
-0.7393680214881897,
0.16483664512634277,
-0.44277873635292053,
0.37446725368499756,
-0.5049777626991272,
-0.09179522097110748,
-0.3741075396537781,
0.5568809509277344,
-0.7522979378700256,
0.7761313915252686,
0.7203533053398132,
-0.8871257305145264,
-0.8279747366905212,
0.6131235361099243,
0.04429980367422104,
-0.6526716947555542,
0.30866873264312744,
-0.06445769220590591,
0.28535017371177673,
0.15072959661483765,
-0.4619966447353363,
-0.5831131339073181,
1.3144142627716064,
0.7233777642250061,
-0.1533098667860031,
-0.555528998374939,
0.032020874321460724,
0.6406639218330383,
-0.49822354316711426,
0.11741427332162857,
0.445552796125412,
0.5106161832809448,
0.17762500047683716,
-0.9000351428985596,
0.02383081242442131,
-0.30286312103271484,
0.03725672513246536,
-0.09159860014915466,
-0.7957701683044434,
0.8082112669944763,
0.24433769285678864,
-0.039561375975608826,
0.5215452313423157,
0.6144252419471741,
0.5155582427978516,
0.297312468290329,
0.36238405108451843,
0.46592551469802856,
1.075682520866394,
0.010754910297691822,
1.0637285709381104,
-0.13804221153259277,
0.3301979601383209,
1.4569138288497925,
-0.4019746482372284,
0.41343334317207336,
0.23879244923591614,
0.3203384578227997,
0.4355650544166565,
0.4304027855396271,
-0.2860502004623413,
0.6950851082801819,
-0.2513956129550934,
-0.32196661829948425,
-0.2805834412574768,
0.19280274212360382,
-0.16253013908863068,
0.6037191152572632,
-0.05313790589570999,
-0.40360027551651,
-0.0873919129371643,
0.17148679494857788,
0.24268195033073425,
0.24112489819526672,
-0.07067412883043289,
0.6567233204841614,
-0.1036701649427414,
-0.9524868130683899,
0.033894527703523636,
-0.09650780260562897,
0.2134680449962616,
-0.8191518187522888,
-0.2611898183822632,
-0.5891203284263611,
0.27450892329216003,
0.08543014526367188,
-0.4178864061832428,
0.30709514021873474,
-0.25470682978630066,
-0.23097196221351624,
-0.5573830008506775,
1.0255155563354492,
-0.4569690227508545,
-0.08134757727384567,
-0.21044130623340607,
0.4752788245677948,
0.16038605570793152,
-0.2788468599319458,
-0.4396909773349762,
0.10243222862482071,
-0.11489269137382507,
-0.012048396281898022,
0.49106425046920776,
0.6098760962486267,
0.031265683472156525,
0.39647483825683594,
0.30382654070854187,
-0.11327774822711945,
-0.4537144899368286,
-0.2097325176000595,
0.5414490103721619,
-0.32297590374946594,
-0.771819531917572,
-0.485010027885437,
0.6276801228523254,
-0.3977392017841339,
-0.3740810751914978,
0.8367245197296143,
0.5325638651847839,
0.650925874710083,
-0.27199816703796387,
1.0056262016296387,
-0.31478217244148254,
0.5413004159927368,
-0.31160974502563477,
0.9803652763366699,
-0.10522820800542831,
0.37485313415527344,
-0.4620130956172943,
-0.963668167591095,
0.07310324907302856,
0.6842740774154663,
-0.11356283724308014,
0.25688716769218445,
0.6714938282966614,
0.6225906610488892,
-0.3995506465435028,
-0.14736489951610565,
0.4123942255973816,
0.055932823568582535,
0.6484881043434143,
0.5743089914321899,
0.5602395534515381,
-0.5259338617324829,
0.4413539171218872,
0.25104233622550964,
-0.4794886112213135,
-0.18160204589366913,
-0.7300340533256531,
-1.0583109855651855,
-0.8422903418540955,
-0.21994079649448395,
-0.5196089744567871,
0.38789886236190796,
0.6632335782051086,
0.7446370124816895,
-0.32453879714012146,
0.008601205423474312,
-0.1664479672908783,
-0.17691227793693542,
-0.6481807231903076,
-0.2526652216911316,
0.3496801257133484,
-0.3673599064350128,
-0.8798350691795349,
0.6526134014129639,
-0.012980190105736256,
-0.18449780344963074,
-0.43504348397254944,
-0.13681209087371826,
-0.03256389871239662,
0.3013938367366791,
0.3626897931098938,
0.9652073383331299,
-0.3321380317211151,
-0.7079113721847534,
0.08651477098464966,
-0.029936155304312706,
0.07760628312826157,
1.172208547592163,
-0.8297726511955261,
0.4905039072036743,
0.515994668006897,
0.9602058529853821,
0.4729689359664917,
0.14296862483024597,
1.0505517721176147,
-1.2966398000717163,
-0.09475962817668915,
0.3710051476955414,
0.32572034001350403,
0.42174431681632996,
-0.855129063129425,
0.6345765590667725,
0.48796892166137695,
-0.7580975890159607,
-0.668219268321991,
0.5349863767623901,
-1.1611299514770508,
-0.2385084331035614,
1.0355994701385498,
-0.5497205853462219,
-0.14736931025981903,
-0.2598522901535034,
-0.514222264289856,
0.1575818806886673,
-0.4101264774799347,
1.0734071731567383,
0.8939918875694275,
-0.3741688132286072,
-0.37342193722724915,
-0.3143402338027954,
0.7144712805747986,
0.14581602811813354,
-0.9023305177688599,
0.17892995476722717,
0.620701014995575,
0.4214983880519867,
0.3412925899028778,
1.1758997440338135,
-0.22645577788352966,
0.21184562146663666,
0.25485366582870483,
0.03381726145744324,
-0.05628519505262375,
-0.4001047909259796,
0.08232834935188293,
0.37004169821739197,
-0.04953289031982422,
0.16886478662490845
] |
http://arxiv.org/abs/2405.19763v1
|
http://arxiv.org/pdf/2405.19763v1
|
Enhancing Reinforcement Learning with Label-Sensitive Reward for Natural Language Understanding
| 2024-05-30T07:19:31 | 2024-05-30T07:19:31 |
Kuo Liao, Shuang Li, Meng Zhao, Liqun Liu, Mengge Xue, Zhenyu Hu, Honglin Han, Chengguo Yin
|
cs.CL
|
cs.CL
|
Recent strides in large language models (LLMs) have yielded remarkable
performance, leveraging reinforcement learning from human feedback (RLHF) to
significantly enhance generation and alignment capabilities. However, RLHF
encounters numerous challenges, including the objective mismatch issue, leading
to suboptimal performance in Natural Language Understanding (NLU) tasks. To
address this limitation, we propose a novel Reinforcement Learning framework
enhanced with Label-sensitive Reward (RLLR) to amplify the performance of LLMs
in NLU tasks. By incorporating label-sensitive pairs into reinforcement
learning, our method aims to adeptly capture nuanced label-sensitive semantic
features during RL, thereby enhancing natural language understanding.
Experiments conducted on five diverse foundation models across eight tasks
showcase promising results. In comparison to Supervised Fine-tuning models
(SFT), RLLR demonstrates an average performance improvement of 1.54%. Compared
with RLHF models, the improvement averages at 0.69%. These results reveal the
effectiveness of our method for LLMs in NLU tasks. Code and data available at:
https://github.com/MagiaSN/ACL2024_RLLR.
|
[
-0.24814338982105255,
-0.7763176560401917,
0.19346578419208527,
0.4504760205745697,
-0.1780051589012146,
0.2900325059890747,
-0.37685269117355347,
-0.5745302438735962,
-0.11452146619558334,
0.6094525456428528,
-0.745686948299408,
-0.526258111000061,
-0.7794557809829712,
0.13775698840618134,
0.10417269170284271,
1.3394191265106201,
-0.08562580496072769,
-0.3499153256416321,
-0.1456669718027115,
-0.399100124835968,
-0.6306467652320862,
-0.37990865111351013,
-0.8492415547370911,
-0.731062114238739,
0.8431728482246399,
0.37307488918304443,
0.5010923147201538,
0.7625107765197754,
0.2440515011548996,
0.23726992309093475,
-0.238131582736969,
0.30961987376213074,
-0.5288254022598267,
0.2019677311182022,
-0.3309468626976013,
-0.21426177024841309,
-0.24671918153762817,
-0.017991259694099426,
0.599988579750061,
0.49064138531684875,
-0.3064591884613037,
-0.16051340103149414,
0.07074155658483505,
0.8029829263687134,
-0.7479019165039062,
0.39054617285728455,
-0.4693683683872223,
0.20641446113586426,
0.1343117207288742,
-0.16869352757930756,
-0.710161030292511,
-0.30380845069885254,
0.07914692163467407,
-0.9694631695747375,
0.19177459180355072,
0.12420069426298141,
0.921276867389679,
0.6996761560440063,
-0.380795955657959,
-0.2731671929359436,
-0.37513405084609985,
0.8328280448913574,
-0.7018527984619141,
0.5702213644981384,
0.4437183141708374,
0.16896691918373108,
-0.22725895047187805,
-0.4172115921974182,
-0.28438058495521545,
-0.3997722268104553,
-0.23345819115638733,
0.110099196434021,
-0.03309532254934311,
0.09896799921989441,
0.30401140451431274,
0.21215859055519104,
-0.5817750096321106,
0.4473683536052704,
0.08050309866666794,
-0.3484582304954529,
0.4564785063266754,
0.012263109907507896,
0.1509712189435959,
-0.05024214833974838,
-0.637706995010376,
-0.41283905506134033,
-0.39402440190315247,
0.4869522154331207,
0.15206289291381836,
0.5047561526298523,
-0.01157685462385416,
0.30968424677848816,
-0.24034711718559265,
1.086298942565918,
0.051914118230342865,
-0.23299214243888855,
0.18764229118824005,
-0.1797819435596466,
-0.1518286019563675,
0.38675445318222046,
0.6435375213623047,
0.08497951924800873,
0.19149811565876007,
-0.40550777316093445,
-0.4185434579849243,
0.24262188374996185,
0.2819848358631134,
-0.6738561391830444,
-0.2795812785625458,
-0.09183944016695023,
-0.007929372601211071,
-0.3661724328994751,
-0.0686304047703743,
-0.37383833527565,
-0.6524293422698975,
-0.33729785680770874,
0.32215774059295654,
-0.4165802597999573,
-0.30527371168136597,
0.28039467334747314,
-0.09960422664880753,
0.24975398182868958,
0.16304579377174377,
-1.0833100080490112,
0.30117136240005493,
0.874605655670166,
0.4293872117996216,
-0.283931702375412,
-0.29290252923965454,
-1.2140579223632812,
0.3089609146118164,
-0.007000223267823458,
0.7696487307548523,
-0.5042769312858582,
-0.20730479061603546,
-0.21880003809928894,
-0.17585676908493042,
-0.18476657569408417,
-0.7644418478012085,
0.7067489624023438,
-0.6792632937431335,
-0.0342070497572422,
0.02272341027855873,
-0.5033581852912903,
-0.1648290604352951,
0.5340144634246826,
-0.7546711564064026,
1.016261339187622,
0.051368873566389084,
-0.5882863402366638,
0.40053868293762207,
-0.7029769420623779,
-0.600383996963501,
0.04898643121123314,
0.08561591058969498,
-0.536095142364502,
-0.15380628407001495,
0.43836042284965515,
0.31958088278770447,
0.12582112848758698,
0.5497380495071411,
0.005231840535998344,
-0.2951315939426422,
0.5761827230453491,
-0.37180012464523315,
0.3210473954677582,
-0.043697237968444824,
-0.3938049077987671,
0.426449179649353,
-0.7981197834014893,
0.07258525490760803,
-0.022288281470537186,
-0.6993858218193054,
-0.2931749224662781,
-0.21390728652477264,
-0.03270578011870384,
0.18103821575641632,
0.053077224642038345,
-0.3262477517127991,
0.10621123015880585,
-0.6746958494186401,
0.15855519473552704,
0.8118492364883423,
-0.007623505312949419,
0.5025604963302612,
-0.20298652350902557,
0.6862540245056152,
-0.14136631786823273,
-0.09048120677471161,
0.21670810878276825,
-0.3036061227321625,
-0.7123326063156128,
-0.33840084075927734,
0.5142384171485901,
0.5289472937583923,
-0.7805595993995667,
0.3428438901901245,
-0.19348859786987305,
-0.15807920694351196,
-0.8496702313423157,
0.34202852845191956,
1.0429043769836426,
0.635444164276123,
0.6165485382080078,
-0.3191755712032318,
-0.3383728265762329,
-0.7524694800376892,
-0.6068244576454163,
-0.0665145143866539,
-0.0496968999505043,
0.4964708983898163,
0.37603917717933655,
-0.24918845295906067,
0.966583788394928,
-0.3955346643924713,
-0.39325833320617676,
-0.4203301966190338,
0.6315404772758484,
0.16014364361763,
0.2759123742580414,
-0.0712508112192154,
-0.7907997369766235,
-0.33759334683418274,
0.053328268229961395,
-0.3653830289840698,
-0.3030322194099426,
-0.06871403008699417,
-0.09841668605804443,
0.24736928939819336,
0.3809436857700348,
-0.2337092161178589,
0.15626239776611328,
0.5601113438606262,
-0.6416425704956055,
0.32600557804107666,
-0.2623571753501892,
-0.12458133697509766,
-0.4790351092815399,
0.014619735069572926,
0.12198293954133987,
-0.4376571774482727,
-0.6229036450386047,
-0.1137554869055748,
0.14139346778392792,
0.2592788636684418,
-0.5143909454345703,
0.667843222618103,
-0.1834428906440735,
0.007213522680103779,
-0.4136826694011688,
0.2535065710544586,
0.1944570541381836,
0.6502948999404907,
0.37172731757164,
0.6415033936500549,
-0.03475810959935188,
-0.9147465825080872,
0.23177772760391235,
0.33377259969711304,
-0.27576974034309387,
0.4307163655757904,
-0.518585205078125,
0.08392353355884552,
-0.22218351066112518,
0.3703116774559021,
-0.4269718527793884,
-0.19136635959148407,
0.5137028098106384,
-0.539910078048706,
0.4315044581890106,
0.052532896399497986,
-0.1777435839176178,
0.0827329158782959,
-0.10308513790369034,
0.35861936211586,
0.09925248473882675,
-0.7589120268821716,
0.509239137172699,
0.30487897992134094,
-0.11735887080430984,
-0.8018060922622681,
-0.5045943856239319,
-0.09497592598199844,
-0.11634878814220428,
-0.28504395484924316,
0.4609420895576477,
-0.03305305540561676,
-0.03676675632596016,
0.07223238795995712,
-0.16380037367343903,
0.12665539979934692,
0.4303942620754242,
0.11539703607559204,
0.06313260644674301,
0.12722130119800568,
0.45371854305267334,
-0.16038069128990173,
-0.5797881484031677,
0.08903909474611282,
-0.19917826354503632,
0.2785544693470001,
-0.3423476219177246,
0.01844169571995735,
-0.2877969443798065,
0.02055121399462223,
0.026577653363347054,
-0.5454040765762329,
0.7468824982643127,
0.8424413204193115,
-0.12920579314231873,
-0.3529735803604126,
-0.18919876217842102,
-0.3609224259853363,
-0.41345301270484924,
0.43641403317451477,
-0.30606329441070557,
-1.1490000486373901,
0.051095735281705856,
-0.031144605949521065,
-0.06152403727173805,
0.19849200546741486,
0.37068861722946167,
0.014094448648393154,
0.8954728841781616,
0.6134848594665527,
-0.263372004032135,
0.4184383749961853,
0.05182945355772972,
0.24569319188594818,
-0.8344433903694153,
-0.45514005422592163,
-0.41899725794792175,
-0.3241610527038574,
-0.3712571859359741,
-0.4061926007270813,
0.009815621189773083,
0.28618600964546204,
-0.25244632363319397,
0.14419101178646088,
-0.5047379732131958,
0.5597198605537415,
0.5654397010803223,
0.08924511075019836,
0.4288002848625183,
-0.2795143723487854,
-0.23312392830848694,
-0.21381689608097076,
-0.8020772337913513,
-0.2688467800617218,
0.48205044865608215,
0.4422302842140198,
0.7491164207458496,
0.19609376788139343,
0.6317986845970154,
0.2732166647911072,
0.5389586091041565,
-0.7356962561607361,
0.29772263765335083,
-0.0026922193355858326,
-0.24246788024902344,
-0.4844948947429657,
-0.6678116321563721,
-0.9870426654815674,
0.2897561192512512,
-0.3269796073436737,
-0.6568081974983215,
-0.026811521500349045,
0.29100948572158813,
-0.1714329868555069,
0.060755252838134766,
-0.5581798553466797,
1.1695034503936768,
-0.4822782278060913,
-0.35711851716041565,
-0.020589079707860947,
-0.7573724985122681,
0.28720688819885254,
0.2369186133146286,
0.4158647358417511,
-0.2558329999446869,
0.05779135599732399,
0.7885750532150269,
0.07792672514915466,
0.7688531279563904,
-0.22074881196022034,
-0.2590658366680145,
-0.17802058160305023,
0.009019933640956879,
0.7028874754905701,
0.19353775680065155,
-0.0008272773120552301,
-0.48405998945236206,
-0.4813117980957031,
-0.30977872014045715,
-0.7461722493171692,
0.6624248623847961,
-0.5033842921257019,
-0.28908252716064453,
-0.5191441178321838,
-0.9328653216362,
-0.4004480540752411,
-0.09940100461244583,
0.07194894552230835,
0.23719580471515656,
-0.10129542648792267,
0.08478734642267227,
1.1440271139144897,
-0.40339335799217224,
0.23181156814098358,
0.6696292757987976,
-0.21235249936580658,
-0.3658209443092346,
1.2690430879592896,
-0.48526468873023987,
0.3476223647594452,
0.8078548908233643,
0.2282894104719162,
-0.6728336215019226,
-0.3826482892036438,
-0.30640435218811035,
0.22861090302467346,
-0.5707360506057739,
-0.3158358931541443,
-0.6442405581474304,
0.024967528879642487,
-0.2703257203102112,
-0.08541525155305862,
-0.22518549859523773,
-0.1402059644460678,
-0.3522738218307495,
-0.33845916390419006,
0.5482406616210938,
0.7127302289009094,
-0.16254474222660065,
0.18176405131816864,
-0.7147757411003113,
0.5773730278015137,
0.5156235694885254,
0.5760351419448853,
-0.14462436735630035,
-0.5184308290481567,
-0.21813471615314484,
-0.030990179628133774,
-0.1774669587612152,
-0.7474719285964966,
0.5286956429481506,
0.17790883779525757,
0.5905452966690063,
0.11339278519153595,
0.23412251472473145,
0.5016452670097351,
-0.00645591551437974,
0.3109528720378876,
0.09482161700725555,
-0.888908863067627,
0.6262916922569275,
-0.2024364322423935,
0.5682270526885986,
0.7303610444068909,
0.14118324220180511,
-0.6950686573982239,
-0.6060536503791809,
-0.4936537444591522,
-1.0334041118621826,
0.9247590899467468,
0.05827254056930542,
-0.3677332103252411,
0.12559768557548523,
0.15595410764217377,
-0.003405899740755558,
0.12220950424671173,
-1.1756619215011597,
-0.20130039751529694,
-0.127486914396286,
-0.24265938997268677,
-0.4193776249885559,
-0.11646813899278641,
-0.10368669033050537,
-0.17703281342983246,
1.0153051614761353,
-0.262826144695282,
-0.04719330742955208,
0.10022196918725967,
-0.526639997959137,
0.06786125153303146,
0.7102760076522827,
0.5727372169494629,
0.20867584645748138,
-0.4019274413585663,
0.1857743114233017,
0.20398157835006714,
-0.2068593055009842,
0.15124930441379547,
0.32481470704078674,
-0.007730746176093817,
-0.18304754793643951,
0.2888135015964508,
1.2846925258636475,
0.7214481234550476,
-0.8131376504898071,
0.23149576783180237,
-0.3037090301513672,
-0.18917939066886902,
0.278359591960907,
0.19820387661457062,
0.3342861533164978,
0.16958846151828766,
0.07217337936162949,
-0.26220518350601196,
0.04604420065879822,
-0.23141780495643616,
0.23931875824928284,
0.271433025598526,
-0.9120876789093018,
0.23013173043727875,
0.4872084856033325,
0.17842447757720947,
-0.4356820285320282,
0.6254098415374756,
-0.5268669724464417,
-0.7896687984466553,
0.5910556316375732,
0.7432990074157715,
0.580483615398407,
-0.03147542476654053,
0.49567943811416626,
0.2659436762332916,
0.25497835874557495,
0.13777776062488556,
-0.10407187044620514,
-0.4319016635417938,
-0.7251681685447693,
-0.5167138576507568,
-0.7699417471885681,
-0.6557461023330688,
-0.029154956340789795,
-0.8842517733573914,
-0.22232234477996826,
-0.27300986647605896,
0.11040090024471283,
-0.10782434791326523,
-0.012726359069347382,
-0.3624887466430664,
0.2208963930606842,
0.13857366144657135,
0.6899174451828003,
-0.7918141484260559,
0.7850654125213623,
0.8094750642776489,
-0.20781363546848297,
-0.9401422142982483,
-0.1362048089504242,
-0.2318686842918396,
-0.35950392484664917,
0.8066819310188293,
0.4061211943626404,
-0.32457780838012695,
0.18534733355045319,
-0.1237349659204483,
-0.48117345571517944,
0.9270440340042114,
0.2900521159172058,
-0.4966241717338562,
0.35159021615982056,
0.23096078634262085,
0.502957284450531,
-0.2554008662700653,
0.10116267204284668,
0.8976784348487854,
0.6687747836112976,
-0.09360797703266144,
-0.6424182057380676,
0.05510406196117401,
-0.16606959700584412,
-0.02549550123512745,
0.511285662651062,
-0.22834289073944092,
0.2856445014476776,
-0.20741312205791473,
-0.18869218230247498,
-0.2833098769187927,
0.7598443031311035,
0.8108938336372375,
0.48419713973999023,
0.6974475383758545,
0.7795384526252747,
0.9062911868095398,
-0.21085910499095917,
1.0305209159851074,
0.2016286998987198,
0.23707060515880585,
1.216928482055664,
-0.009366299957036972,
0.8069710731506348,
0.5879868268966675,
0.056845806539058685,
0.4810248613357544,
0.5914369821548462,
0.3386753797531128,
0.7100659608840942,
0.45383894443511963,
-0.44958826899528503,
-0.5087117552757263,
-0.5875852704048157,
-0.2728220224380493,
0.16991007328033447,
0.45100873708724976,
-0.09621458500623703,
-0.18533414602279663,
0.20516978204250336,
-0.16303367912769318,
0.5425156950950623,
-0.3033539354801178,
1.0391751527786255,
0.03558777645230293,
-0.7594888210296631,
0.6485750079154968,
0.06692498922348022,
0.9312571883201599,
-0.606067955493927,
-0.23395958542823792,
-0.07957945764064789,
0.2756408751010895,
-0.1397475153207779,
-0.7719250917434692,
0.0984637513756752,
0.004250988829880953,
-0.3029285967350006,
-0.6187316179275513,
0.7223474979400635,
-0.6060516834259033,
-0.18750038743019104,
0.5885840654373169,
0.07693292200565338,
-0.22833918035030365,
0.010524744167923927,
-0.7497797012329102,
0.10417525470256805,
0.08576679229736328,
-0.18466439843177795,
0.38728490471839905,
0.15009194612503052,
0.06837735325098038,
0.7482790946960449,
0.5834852457046509,
-0.1492021530866623,
0.00466059148311615,
0.20630566775798798,
0.6504175662994385,
-0.7726780772209167,
-0.5127572417259216,
-0.6026858687400818,
0.44698822498321533,
-0.04508104547858238,
-0.45630356669425964,
0.2390071451663971,
0.311168909072876,
0.861011266708374,
-0.10505245625972748,
0.5144474506378174,
0.2737722396850586,
0.6026999950408936,
-0.7182751893997192,
0.5041286945343018,
-0.3719536066055298,
0.2705177068710327,
-0.0075194863602519035,
-0.6555922627449036,
-0.5293971300125122,
0.7049152255058289,
-0.25989216566085815,
-0.2595076560974121,
0.44160524010658264,
0.814480185508728,
0.19130980968475342,
-0.028113899752497673,
0.11422113329172134,
0.16280435025691986,
0.3269276022911072,
0.8829421997070312,
0.9188584089279175,
-0.13217206299304962,
0.625217080116272,
-0.30801719427108765,
-0.11641386151313782,
-0.24015459418296814,
-0.9455707669258118,
-0.6382055282592773,
-0.2527455985546112,
-0.46691465377807617,
-0.3077397048473358,
0.3483085036277771,
0.8753313422203064,
0.438690185546875,
-0.8466165065765381,
0.016413768753409386,
-0.37446755170822144,
0.5375727415084839,
-0.34160876274108887,
-0.2881852388381958,
0.18074531853199005,
-0.5256519913673401,
-0.5591669082641602,
0.5978952646255493,
0.33873581886291504,
-0.11439982801675797,
0.11074100434780121,
-0.7183024287223816,
-0.4102732837200165,
-0.283458411693573,
0.45116427540779114,
0.6688455939292908,
-0.7223854064941406,
-0.2093730866909027,
-0.10657472908496857,
-0.2773358225822449,
-0.08435313403606415,
0.6626590490341187,
-1.224434733390808,
0.44161146879196167,
0.34647151827812195,
1.050868272781372,
0.6020185351371765,
0.04880130663514137,
0.5914812088012695,
-0.9719530344009399,
-0.01129077561199665,
0.4036504328250885,
-0.02304678224027157,
0.4495810568332672,
-0.31930625438690186,
0.42774754762649536,
-0.1261667013168335,
-0.5284205675125122,
-0.7281915545463562,
0.43106645345687866,
-1.0996068716049194,
-0.2374422401189804,
1.0511853694915771,
-0.07200125604867935,
-0.08519525825977325,
-0.19297464191913605,
-0.22889529168605804,
0.48578962683677673,
-0.5818803906440735,
0.6942784190177917,
0.45684826374053955,
-0.13824789226055145,
-0.2789638936519623,
-0.36061039566993713,
0.6912996768951416,
0.854360818862915,
-0.8957279920578003,
0.10658435523509979,
0.3591592013835907,
-0.018703047186136246,
-0.1565057933330536,
0.41158875823020935,
0.15109442174434662,
0.37531599402427673,
-0.5294829607009888,
0.10630229115486145,
-0.30568236112594604,
-0.34436213970184326,
-0.6417139172554016,
-0.01639905758202076,
0.45485904812812805,
-0.11459078639745712
] |
http://arxiv.org/abs/2405.19744v1
|
http://arxiv.org/pdf/2405.19744v1
|
X-Instruction: Aligning Language Model in Low-resource Languages with Self-curated Cross-lingual Instructions
| 2024-05-30T06:45:23 | 2024-05-30T06:45:23 |
Chong Li, Wen Yang, Jiajun Zhang, Jinliang Lu, Shaonan Wang, Chengqing Zong
|
cs.CL
|
cs.CL, cs.AI
|
Large language models respond well in high-resource languages like English
but struggle in low-resource languages. It may arise from the lack of
high-quality instruction following data in these languages. Directly
translating English samples into these languages can be a solution but
unreliable, leading to responses with translation errors and lacking
language-specific or cultural knowledge. To address this issue, we propose a
novel method to construct cross-lingual instruction following samples with
instruction in English and response in low-resource languages. Specifically,
the language model first learns to generate appropriate English instructions
according to the natural web texts in other languages as responses. The
candidate cross-lingual instruction tuning samples are further refined and
diversified. We have employed this method to build a large-scale cross-lingual
instruction tuning dataset on 10 languages, namely X-Instruction. The
instruction data built using our method incorporate more language-specific
knowledge compared with the naive translation method. Experimental results have
shown that the response quality of the model tuned on X-Instruction greatly
exceeds the model distilled from a powerful teacher model, reaching or even
surpassing the ones of ChatGPT. In addition, we find that models tuned on
cross-lingual instruction following samples can follow the instruction in the
output language without further tuning.
|
[
-0.14071756601333618,
-0.47379493713378906,
0.06737279146909714,
0.013165833428502083,
-0.06071392819285393,
0.2123432159423828,
-0.49608051776885986,
-0.34463658928871155,
0.1886294186115265,
0.36564579606056213,
-0.8177758455276489,
-0.42381033301353455,
-0.3023103177547455,
-0.1091984212398529,
-0.2572087049484253,
1.0332478284835815,
-0.025959480553865433,
0.5154063105583191,
0.025555700063705444,
-0.0672878623008728,
-0.6994757652282715,
-0.23664706945419312,
-0.5573352575302124,
-0.15992167592048645,
0.4459567666053772,
0.7833551168441772,
0.7268508672714233,
0.9654706120491028,
0.2563580572605133,
0.3541927933692932,
0.4537894129753113,
0.2313893437385559,
-0.6694967150688171,
-0.34453579783439636,
-0.5716968178749084,
-0.6041663885116577,
-0.469122052192688,
0.08737730979919434,
0.7028648853302002,
0.837830662727356,
-0.08101455867290497,
0.2925265431404114,
0.2615852653980255,
0.4077112078666687,
-0.577060878276825,
0.08822627365589142,
-0.3163657486438751,
0.2581197917461395,
-0.15687806904315948,
-0.3467317521572113,
-0.6808908581733704,
-0.2214026004076004,
0.21549665927886963,
-0.7463712692260742,
0.21136926114559174,
0.40442952513694763,
0.6193973422050476,
0.03747774288058281,
-0.22234399616718292,
-0.27979519963264465,
-0.6808325052261353,
1.1791492700576782,
-0.4257133901119232,
0.6980790495872498,
0.3814379572868347,
0.33608391880989075,
0.336363822221756,
-0.3259091079235077,
-0.3040311634540558,
-0.06389688700437546,
-0.30490946769714355,
0.08336910605430603,
0.07096643000841141,
-0.2442203015089035,
-0.16186495125293732,
0.33465632796287537,
-0.7254523038864136,
0.4344300925731659,
-0.2174777090549469,
-0.10752764344215393,
0.606783390045166,
0.20673198997974396,
0.5479083061218262,
-0.051611386239528656,
-0.43562304973602295,
-0.42072662711143494,
-0.728504478931427,
0.13905717432498932,
0.38563117384910583,
0.5986015200614929,
-0.4394371807575226,
0.3884795010089874,
0.05489193648099899,
0.7784035801887512,
0.3579180836677551,
-0.17303591966629028,
0.014199526980519295,
-0.44961801171302795,
-0.03613296523690224,
0.3848668932914734,
0.655927836894989,
0.294084757566452,
0.1706608086824417,
-0.2315322905778885,
-0.22881853580474854,
-0.22253546118736267,
0.09680984914302826,
-0.6482479572296143,
-0.16671325266361237,
-0.15844179689884186,
-0.33463314175605774,
-0.182600200176239,
-0.30608895421028137,
-0.744038462638855,
0.09776271879673004,
-0.30463385581970215,
0.48202112317085266,
-0.293425589799881,
-0.11961805075407028,
0.03690324351191521,
0.4194314777851105,
0.2884977459907532,
0.020161641761660576,
-1.2351900339126587,
0.3308984637260437,
0.48774152994155884,
0.49097946286201477,
-0.16323642432689667,
-0.4495971202850342,
-0.6457005739212036,
0.2094735950231552,
-0.5858885645866394,
0.5346338152885437,
-0.7749407291412354,
-0.3055136203765869,
0.04179997742176056,
0.2537281811237335,
0.016189727932214737,
-0.20477983355522156,
0.23623114824295044,
-0.4545917212963104,
0.9088127613067627,
-0.38584640622138977,
-0.556006133556366,
-0.1257018744945526,
0.20936374366283417,
-0.5473645925521851,
0.7640768885612488,
0.28731569647789,
-0.6124762296676636,
0.1535024493932724,
-0.5825958847999573,
-0.4898020625114441,
-0.0014424078399315476,
-0.19382815062999725,
-0.14213517308235168,
0.013610976748168468,
0.3635701835155487,
0.22588177025318146,
-0.499896764755249,
-0.26664501428604126,
-0.004569114651530981,
-0.3124901354312897,
0.042943477630615234,
-0.4555518925189972,
0.9633767008781433,
-0.0819719061255455,
-0.5451949238777161,
-0.09411878883838654,
-0.6850649118423462,
0.4475855827331543,
0.25453639030456543,
-0.2460615187883377,
-0.559441328048706,
-0.15201449394226074,
-0.0992450937628746,
0.24117866158485413,
0.30038055777549744,
-0.5837222337722778,
0.20228418707847595,
-0.46082785725593567,
0.13804268836975098,
0.8053096532821655,
-0.42671552300453186,
0.7908964157104492,
-0.21720048785209656,
0.8140885829925537,
-0.24914197623729706,
0.02403142675757408,
-0.3471401631832123,
-0.20365500450134277,
-0.7425312399864197,
0.1423153579235077,
0.4392533600330353,
0.8317990303039551,
-0.8016868233680725,
0.15239167213439941,
-0.5228577852249146,
-0.23649729788303375,
-0.8805224895477295,
0.4078124165534973,
1.0312317609786987,
0.6119889616966248,
0.45844194293022156,
-0.06609158217906952,
-0.5920206904411316,
-0.6545842289924622,
-0.0653238296508789,
0.010329939424991608,
0.19580078125,
0.253889262676239,
-0.03631989657878876,
0.11417336761951447,
0.47948867082595825,
-0.49995318055152893,
-0.0005023909616284072,
-0.13392484188079834,
0.11603385210037231,
-0.10954016447067261,
0.5197136402130127,
0.5214994549751282,
-0.4583645462989807,
-0.9550124406814575,
0.43083783984184265,
-0.502190887928009,
-0.22277379035949707,
-0.015597939491271973,
-0.4921380281448364,
0.42359209060668945,
0.4145393371582031,
-0.03515222296118736,
-0.20164941251277924,
0.8025112152099609,
-0.16609856486320496,
0.33413657546043396,
-0.12546662986278534,
0.26434242725372314,
-1.1270395517349243,
-0.3020893633365631,
-0.05452664941549301,
-0.22944284975528717,
-0.417439341545105,
0.14824862778186798,
0.24229511618614197,
-0.18504758179187775,
-0.3929547667503357,
0.7774924635887146,
-0.8504843711853027,
0.079975925385952,
-0.387897253036499,
0.16995516419410706,
0.10263087600469589,
0.5711145997047424,
0.32639700174331665,
0.7229654788970947,
0.45273444056510925,
-0.25498607754707336,
0.22471368312835693,
0.21103748679161072,
-0.38452979922294617,
0.6508186459541321,
-0.38379377126693726,
0.12295421957969666,
0.06901878863573074,
-0.12654803693294525,
-0.8545397520065308,
-0.027939191088080406,
0.2430817037820816,
-0.1564188301563263,
0.7702287435531616,
-0.24984493851661682,
-0.12200940400362015,
-0.17571920156478882,
0.04406711831688881,
0.4994726777076721,
0.6175107955932617,
-0.7360777854919434,
0.4157910943031311,
0.21250665187835693,
-0.286479651927948,
-0.8205050826072693,
-0.6976485252380371,
-0.24195583164691925,
0.021950028836727142,
-0.5909202098846436,
0.47799116373062134,
-0.10087502747774124,
-0.001910101156681776,
0.2424473613500595,
-0.11707936972379684,
0.011427594348788261,
-0.30397629737854004,
-0.2486015409231186,
0.34264513850212097,
-0.6137106418609619,
0.04058115556836128,
0.31041932106018066,
-0.13589690625667572,
0.13916552066802979,
-0.5490708947181702,
0.45984509587287903,
0.2173423320055008,
-0.557564914226532,
-0.21637283265590668,
0.7001944780349731,
0.2875240445137024,
-0.38830727338790894,
0.5407174825668335,
0.6295375823974609,
-0.06313202530145645,
-0.4976721405982971,
-0.2751123905181885,
-0.20523212850093842,
-0.484357088804245,
0.4241739809513092,
-0.22187981009483337,
-0.5651516914367676,
0.2022213488817215,
0.3557301461696625,
0.26763615012168884,
-0.09129790961742401,
0.5223919749259949,
-0.0294537004083395,
1.4080184698104858,
0.8873136639595032,
-0.18307702243328094,
0.5817194581031799,
-0.19282326102256775,
0.383124440908432,
-0.3509792685508728,
-0.00651115458458662,
-0.3909737169742584,
-0.4470062851905823,
-0.7903116941452026,
-0.4429183602333069,
0.28158247470855713,
-0.2703135013580322,
-0.08354046195745468,
0.38105735182762146,
-0.450687050819397,
0.5884864330291748,
0.7562052607536316,
0.10293660312891006,
0.05273140221834183,
0.1749372035264969,
-0.13924871385097504,
-0.13623930513858795,
-1.0815236568450928,
-0.2100021094083786,
0.8327227830886841,
0.0342634953558445,
1.1243864297866821,
0.12662354111671448,
0.8837968111038208,
-0.018427342176437378,
0.167310893535614,
-0.5578944683074951,
0.38219738006591797,
-0.4849536716938019,
-0.49290433526039124,
-0.37895625829696655,
-0.43868309259414673,
-0.9521418213844299,
0.12944968044757843,
-0.12490903586149216,
-0.5075779557228088,
0.026906492188572884,
0.17824587225914001,
-0.49836185574531555,
0.18210597336292267,
-1.1615972518920898,
0.9443438649177551,
-0.7199301719665527,
-0.6253888607025146,
-0.2571020722389221,
-0.5208093523979187,
0.39067932963371277,
-0.0714845359325409,
0.312259316444397,
0.2043495774269104,
-0.05591651424765587,
0.47779086232185364,
-0.3884487450122833,
1.0777524709701538,
-0.09809180349111557,
-0.5166500806808472,
0.14522826671600342,
0.06243959814310074,
0.4707183837890625,
-0.19530870020389557,
0.1442773938179016,
-0.17119193077087402,
-0.02787402831017971,
-0.6936646103858948,
-0.8479387164115906,
0.8170956969261169,
-0.9705973863601685,
-0.8589695692062378,
0.02816266566514969,
-0.8835377097129822,
-0.16549991071224213,
0.22451166808605194,
0.35323527455329895,
0.3135841488838196,
-0.22288960218429565,
-0.12495922297239304,
0.7334386706352234,
-0.3521330952644348,
0.3398990035057068,
0.9732896089553833,
-0.2735579013824463,
-0.29727470874786377,
1.2155835628509521,
0.506602942943573,
0.5022430419921875,
0.8012956380844116,
0.3628861606121063,
-0.2703467309474945,
-0.023421043530106544,
-0.8806240558624268,
0.10027379542589188,
-0.6024155020713806,
-0.25589630007743835,
-0.2839796841144562,
-0.10674682259559631,
-0.4492965042591095,
-0.33227574825286865,
-0.4132826626300812,
-0.3679588735103607,
0.04163525998592377,
0.13741877675056458,
-0.007509446702897549,
0.40994590520858765,
-0.019119802862405777,
0.3482298254966736,
-1.1240328550338745,
0.03836842626333237,
0.3305704593658447,
0.18424469232559204,
0.012392662465572357,
-0.6306893825531006,
-0.7629441022872925,
0.3942573368549347,
-0.05090140551328659,
-0.8818745017051697,
0.39389169216156006,
0.3138484060764313,
0.6783883571624756,
0.41875043511390686,
0.11800816655158997,
0.7759859561920166,
-0.7634538412094116,
0.4833506643772125,
0.07891950011253357,
-0.9936497807502747,
0.5132067799568176,
-0.03307371586561203,
0.45599600672721863,
0.08584845811128616,
0.7583945393562317,
-0.5433604121208191,
-0.16110190749168396,
-0.35526415705680847,
-0.612716794013977,
0.958038866519928,
-0.26335635781288147,
0.39999648928642273,
-0.008703414350748062,
0.01642533205449581,
0.24647457897663116,
-0.19979430735111237,
-0.6653818488121033,
-0.1447174847126007,
-0.24026690423488617,
-0.24441882967948914,
0.031494952738285065,
0.025587202981114388,
-0.3478098511695862,
-0.12534597516059875,
0.889168381690979,
-0.3351224362850189,
0.012979893013834953,
-0.31237494945526123,
-0.2798846960067749,
-0.44043076038360596,
0.21230857074260712,
0.38963839411735535,
0.4635368883609772,
0.23860791325569153,
-0.017536304891109467,
0.16929537057876587,
-0.1777559220790863,
0.44409579038619995,
0.1185334101319313,
-0.18362955749034882,
-0.23231051862239838,
0.4544425904750824,
0.7568432688713074,
0.5705505013465881,
-0.47698086500167847,
0.41514113545417786,
-0.0639195591211319,
0.22074587643146515,
0.01740257255733013,
0.2292448729276657,
0.061762504279613495,
0.15534044802188873,
-0.0075235506519675255,
-0.37270259857177734,
-0.15324127674102783,
-0.5467888712882996,
0.04899253323674202,
0.5022798180580139,
-0.3402189612388611,
-0.420101135969162,
0.4844488799571991,
0.3033186197280884,
-0.27223464846611023,
0.6593465805053711,
-0.34709686040878296,
-0.297903835773468,
0.33867597579956055,
0.933244526386261,
0.7098702192306519,
-0.6096236705780029,
0.3188326358795166,
0.37484461069107056,
0.22554004192352295,
0.12831060588359833,
0.3647052049636841,
-0.16718296706676483,
-0.7818493843078613,
-0.8262867331504822,
-0.3276309072971344,
-0.388885498046875,
-0.16444829106330872,
-0.9148484468460083,
0.34020107984542847,
-0.19805559515953064,
0.26326894760131836,
-0.10530859231948853,
0.10443857312202454,
-0.6202288269996643,
0.18922828137874603,
0.2585647702217102,
0.8487878441810608,
-1.186948537826538,
1.0309549570083618,
0.7361258864402771,
-0.36003929376602173,
-1.0350470542907715,
-0.05518199875950813,
0.07397479563951492,
-1.1254029273986816,
0.583466649055481,
-0.054271213710308075,
-0.2679706811904907,
0.09637610614299774,
-0.44090038537979126,
-1.0358765125274658,
0.7912147045135498,
0.4794873297214508,
-0.6875737905502319,
-0.1025318130850792,
0.2507345676422119,
0.4747450649738312,
-0.44883865118026733,
0.1537071317434311,
0.295653373003006,
0.30040207505226135,
-0.1653439700603485,
-0.6824249625205994,
0.09386735409498215,
-0.33360129594802856,
-0.07078268378973007,
0.3198815584182739,
-0.8273413777351379,
0.6027704477310181,
-0.25722387433052063,
-0.39252230525016785,
-0.005967422388494015,
0.8496369123458862,
-0.11126554012298584,
-0.15667015314102173,
0.49543339014053345,
0.5609145760536194,
0.7398681640625,
0.09167922288179398,
0.9355869889259338,
-0.7052871584892273,
0.012871697545051575,
1.3616602420806885,
-0.3156827390193939,
0.6457710862159729,
0.3679652214050293,
0.09848176687955856,
0.6230108141899109,
0.5653630495071411,
0.02475767768919468,
0.6138898134231567,
-0.0332416407763958,
-0.1665138602256775,
-0.25144898891448975,
-0.22365212440490723,
-0.36205095052719116,
0.6602464318275452,
0.2345535010099411,
-0.3607975244522095,
-0.2857940196990967,
0.14473792910575867,
-0.01605604961514473,
0.18726809322834015,
-0.4199855625629425,
0.5453929305076599,
-0.15154363214969635,
-0.9935658574104309,
0.9326539039611816,
0.012153862975537777,
0.442472904920578,
-0.5349683165550232,
-0.18134282529354095,
-0.37816715240478516,
0.09346199780702591,
-0.18530936539173126,
-0.6530151963233948,
0.1720021367073059,
0.08106717467308044,
-0.48363983631134033,
-0.3829326629638672,
0.1589966118335724,
-0.8838714957237244,
-0.6630014777183533,
0.3256532549858093,
0.6459160447120667,
-0.003414997598156333,
0.7129114270210266,
-0.6752676367759705,
-0.13263598084449768,
0.16544406116008759,
-0.12998510897159576,
0.5749269723892212,
0.7097598314285278,
-0.44156569242477417,
0.4895080029964447,
0.3904808461666107,
-0.0520922876894474,
0.2814483642578125,
0.046234238892793655,
0.5775588154792786,
-0.35828784108161926,
-0.5736764669418335,
-0.5466925501823425,
0.46351155638694763,
0.0866776704788208,
-0.25291144847869873,
0.8057271838188171,
0.4477726221084595,
1.4919465780258179,
-0.03284167870879173,
0.7190453410148621,
-0.05646709352731705,
0.4760664105415344,
-0.6025835275650024,
0.37902703881263733,
-0.619965136051178,
0.26401999592781067,
0.01911109685897827,
-0.7346423864364624,
0.05404888466000557,
0.5423966646194458,
-0.44294536113739014,
0.1376626044511795,
0.6906510591506958,
1.0825005769729614,
-0.4227205216884613,
-0.08427781611680984,
0.4375157952308655,
-0.06121921166777611,
-0.1397387981414795,
0.4720296561717987,
0.5926752686500549,
-0.3045836091041565,
0.8705596327781677,
-0.6238123178482056,
-0.27915623784065247,
-0.010175954550504684,
-0.7690467834472656,
-0.8002304434776306,
-0.47636541724205017,
-0.29456809163093567,
-0.26277977228164673,
0.12078984081745148,
1.0621613264083862,
0.9726749658584595,
-0.8713213205337524,
-0.44811558723449707,
0.28531286120414734,
0.21971997618675232,
-0.683727502822876,
-0.21677710115909576,
0.3925570845603943,
-0.7453477382659912,
-1.2279951572418213,
0.6075636744499207,
0.0436725951731205,
-0.005553192459046841,
-0.5854207277297974,
-0.270659863948822,
-0.09593155235052109,
0.12536168098449707,
0.4744206964969635,
0.3520951271057129,
-0.4959798753261566,
-0.27162787318229675,
0.5004339218139648,
-0.4286271035671234,
0.11949044466018677,
0.7273132801055908,
-0.3704245686531067,
0.4809481203556061,
0.5936021208763123,
0.8831131458282471,
0.2178332358598709,
-0.256161093711853,
0.8959572315216064,
-1.0718493461608887,
-0.07458712160587311,
-0.05264400690793991,
0.3126498758792877,
0.4755763113498688,
-0.47211122512817383,
0.3593691289424896,
-0.18517360091209412,
-0.427558958530426,
-0.6307268142700195,
0.24508565664291382,
-0.5463718175888062,
-0.26420509815216064,
0.8278703093528748,
-0.4161617159843445,
-0.5641061663627625,
0.2596951723098755,
-0.18119919300079346,
0.2929299473762512,
-0.09775763750076294,
0.8494004011154175,
0.6394920945167542,
-0.0036194100975990295,
-0.47266924381256104,
-0.28365224599838257,
0.1257617175579071,
0.7583176493644714,
-0.5081489682197571,
0.028761688619852066,
0.2929997742176056,
0.2139294594526291,
0.30042898654937744,
0.24628522992134094,
-0.043681032955646515,
0.4444788992404938,
0.09134361147880554,
0.1607884019613266,
0.16830256581306458,
-0.24542459845542908,
-0.20186781883239746,
-0.05216633528470993,
-0.026623032987117767,
-0.4147680103778839
] |
http://arxiv.org/abs/2405.19740v1
|
http://arxiv.org/pdf/2405.19740v1
|
PertEval: Unveiling Real Knowledge Capacity of LLMs with Knowledge-Invariant Perturbations
| 2024-05-30T06:38:32 | 2024-05-30T06:38:32 |
Jiatong Li, Renjun Hu, Kunzhe Huang, Yan Zhuang, Qi Liu, Mengxiao Zhu, Xing Shi, Wei Lin
|
cs.CL
|
cs.CL, cs.AI, cs.CY
|
Expert-designed close-ended benchmarks serve as vital tools in assessing the
knowledge capacity of large language models (LLMs). Despite their widespread
use, concerns have mounted regarding their reliability due to limited test
scenarios and an unavoidable risk of data contamination. To rectify this, we
present PertEval, a toolkit devised for in-depth probing of LLMs' knowledge
capacity through knowledge-invariant perturbations. These perturbations employ
human-like restatement techniques to generate on-the-fly test samples from
static benchmarks, meticulously retaining knowledge-critical content while
altering irrelevant details. Our toolkit further includes a suite of transition
analyses that compare performance on raw vs. perturbed test sets to precisely
assess LLMs' genuine knowledge capacity. Six state-of-the-art LLMs are
re-evaluated using PertEval. Results reveal significantly inflated performance
of the LLMs on raw benchmarks, including an absolute 21% overestimation for
GPT-4. Additionally, through a nuanced response pattern analysis, we discover
that PertEval retains LLMs' uncertainty to specious knowledge, potentially
being resolved through rote memorization and leading to inflated performance.
We also find that the detailed transition analyses by PertEval could illuminate
weaknesses in existing LLMs' knowledge mastery and guide the development of
refinement. Given these insights, we posit that PertEval can act as an
essential tool that, when applied alongside any close-ended benchmark, unveils
the true knowledge capacity of LLMs, marking a significant step toward more
trustworthy LLM evaluation.
|
[
-0.2933439016342163,
-0.5797626972198486,
0.5393279790878296,
-0.08952024579048157,
-0.0345153845846653,
0.3357204794883728,
-0.35228413343429565,
-0.27638962864875793,
-0.21086636185646057,
0.7489504814147949,
-0.4851439595222473,
-0.46358153223991394,
-0.5343009233474731,
-0.132608100771904,
-0.4115709662437439,
0.7505131959915161,
-0.22174334526062012,
-0.11330757290124893,
-0.4952952563762665,
-0.10503581166267395,
-0.33483418822288513,
-0.5815744996070862,
-0.13247999548912048,
-0.388744592666626,
0.4577188193798065,
0.82561856508255,
0.4335145652294159,
0.19431351125240326,
0.5008502006530762,
0.20454251766204834,
-0.060644522309303284,
0.017130766063928604,
-0.8442934155464172,
0.3502638339996338,
-0.17391948401927948,
-0.608944296836853,
-0.5292930603027344,
0.13988849520683289,
0.690025806427002,
0.49073275923728943,
-0.13021786510944366,
0.35695022344589233,
0.05812055245041847,
0.48037946224212646,
-0.7405871748924255,
-0.10755164176225662,
-0.9104640483856201,
0.00964514259248972,
-0.3649282157421112,
-0.1564156413078308,
-0.24592040479183197,
-0.13436546921730042,
0.1910543143749237,
-0.5321120619773865,
0.022677291184663773,
-0.20267704129219055,
0.8951703310012817,
0.7033764123916626,
-0.1230243518948555,
0.27266883850097656,
-0.6854642033576965,
0.7679963111877441,
-0.6654926538467407,
0.6548444628715515,
0.26914265751838684,
0.5396466851234436,
-0.345096617937088,
-0.8964911699295044,
-0.5795888900756836,
-0.24339580535888672,
0.19266833364963531,
0.0929831936955452,
0.14619746804237366,
-0.047024257481098175,
0.36621034145355225,
0.4152630865573883,
-0.23052364587783813,
0.045658331364393234,
-0.13962964713573456,
-0.5153628587722778,
0.5429659485816956,
0.21452024579048157,
0.2986181974411011,
0.2750965654850006,
-0.4873217046260834,
-0.3775968551635742,
-1.1160982847213745,
0.024695534259080887,
0.3724830150604248,
-0.18550777435302734,
0.20962563157081604,
0.373337984085083,
-0.04624113813042641,
0.6005752086639404,
-0.17437724769115448,
-0.3567071557044983,
0.17765243351459503,
-0.30856311321258545,
-0.21998991072177887,
0.03354177623987198,
0.7223443388938904,
-0.05728711932897568,
0.43089157342910767,
-0.148416206240654,
-0.4078753888607025,
-0.304871529340744,
0.29577022790908813,
-0.6795320510864258,
-0.22149275243282318,
-0.0669030100107193,
0.21724750101566315,
-0.19612526893615723,
0.051673874258995056,
-0.7228204607963562,
-0.4871489107608795,
-0.08622090518474579,
0.42874231934547424,
-0.4310016334056854,
-0.3011963367462158,
0.401224821805954,
0.037258584052324295,
0.20323026180267334,
0.4163665771484375,
-0.39025118947029114,
0.11006234586238861,
0.4906378388404846,
0.3407779335975647,
-0.134532630443573,
-0.47031667828559875,
-0.2507842779159546,
0.026458393782377243,
-0.20821192860603333,
0.8282073736190796,
-0.6845564842224121,
-0.21614913642406464,
-0.030299386009573936,
-0.23865875601768494,
0.03056163713335991,
-0.6687415242195129,
0.6149811148643494,
-0.8856580257415771,
-0.2020280361175537,
-0.5696954727172852,
-0.5177255868911743,
-0.19721949100494385,
0.5977382659912109,
-0.6278890371322632,
0.9499602913856506,
0.24912163615226746,
-0.8118628859519958,
0.4145600199699402,
-0.4502749741077423,
-0.14943502843379974,
0.08249719440937042,
-0.4412464499473572,
-0.16410130262374878,
0.1167493462562561,
0.005727761425077915,
0.2529955208301544,
-0.6637073159217834,
-0.16944779455661774,
-0.20102782547473907,
-0.3068285882472992,
0.4982615113258362,
-0.6024659276008606,
0.30941319465637207,
-0.05569900572299957,
-0.16261017322540283,
-0.035417862236499786,
-0.772230327129364,
-0.00447486387565732,
0.0017595832468941808,
-0.37460047006607056,
-0.1622927039861679,
-0.052970219403505325,
-0.35783466696739197,
-0.014263128861784935,
0.3696221709251404,
-0.5441848039627075,
0.19084854423999786,
-0.35490882396698,
0.2916903793811798,
0.6539298295974731,
0.25619232654571533,
0.1881358027458191,
-0.2809399962425232,
0.8023126125335693,
0.06050635874271393,
0.12286017090082169,
-0.07156787812709808,
-0.28835833072662354,
-0.6296104788780212,
-0.14033955335617065,
0.504118025302887,
0.40527787804603577,
-0.41607874631881714,
0.20296502113342285,
-0.4045911431312561,
-0.5543926954269409,
-0.5024711489677429,
0.28477054834365845,
0.3507552444934845,
0.7013325095176697,
0.3896913230419159,
-0.3179456889629364,
-0.43039512634277344,
-0.8197722434997559,
-0.3928546905517578,
-0.17974913120269775,
0.02044234424829483,
0.14474651217460632,
0.3954126834869385,
-0.25652751326560974,
0.9179924726486206,
-0.44077005982398987,
-0.09318861365318298,
0.10252856463193893,
0.07302428036928177,
0.23191386461257935,
0.19233635067939758,
0.1614871621131897,
-0.5593001842498779,
-0.27328768372535706,
-0.07239601016044617,
-0.4611431062221527,
-0.29119834303855896,
0.12809541821479797,
-0.09741096198558807,
-0.12683451175689697,
0.6698382496833801,
-0.16503934562206268,
0.20212940871715546,
0.5889587998390198,
-0.330573707818985,
0.9301987886428833,
0.01046103984117508,
0.10379055142402649,
-0.5798984169960022,
0.016969317570328712,
-0.4458467364311218,
-0.07239998131990433,
-0.3636062443256378,
0.022537022829055786,
0.10511705279350281,
0.44556379318237305,
-0.3437178134918213,
0.6409358978271484,
-0.4595053493976593,
-0.15927481651306152,
0.04958643019199371,
0.16310904920101166,
-0.1056123897433281,
-0.03441094979643822,
-0.26156094670295715,
1.121121883392334,
0.18933501839637756,
-0.5326794981956482,
0.33384981751441956,
0.20031613111495972,
-0.5741174221038818,
0.42512431740760803,
-0.38577112555503845,
0.32683005928993225,
0.21109341084957123,
0.05929813161492348,
-1.2679314613342285,
-0.24793283641338348,
-0.14508230984210968,
-0.42562827467918396,
0.34531956911087036,
-0.34365415573120117,
-0.5346570014953613,
-0.042809613049030304,
-0.22540496289730072,
0.6238052248954773,
0.5032448172569275,
-0.31380727887153625,
0.7189341187477112,
0.31692418456077576,
0.1411599963903427,
-0.7650653123855591,
-0.7466511726379395,
0.14458003640174866,
-0.07131880521774292,
-0.8276250958442688,
0.30840155482292175,
-0.10715164244174957,
-0.3359738886356354,
-0.06115429103374481,
-0.5200603604316711,
0.03367263823747635,
0.13936491310596466,
0.2911299467086792,
0.06041543930768967,
-0.33805975317955017,
0.2565711736679077,
-0.035946186631917953,
-0.12670904397964478,
0.20195606350898743,
-0.2942699193954468,
0.6486160159111023,
-0.24631434679031372,
-0.5836553573608398,
-0.039397843182086945,
-0.620610773563385,
1.0165618658065796,
-0.3768690228462219,
0.42354682087898254,
0.5380700826644897,
-0.2582973837852478,
-0.173672616481781,
-1.2118726968765259,
-0.3636248707771301,
-0.4528423249721527,
0.45653724670410156,
-0.7187359929084778,
-0.8479633927345276,
0.6359650492668152,
-0.291435569524765,
0.005189206451177597,
0.4129205644130707,
0.43078315258026123,
-0.006333465687930584,
0.16514959931373596,
0.45397189259529114,
-0.08625505119562149,
0.22731533646583557,
-0.2809547483921051,
-0.2316199392080307,
-1.0667109489440918,
-0.29848742485046387,
-0.3057854473590851,
-0.388077974319458,
0.044198378920555115,
-0.6479917764663696,
0.5103610754013062,
0.0673687532544136,
-0.5114648342132568,
0.19610242545604706,
-0.27835527062416077,
0.5393564105033875,
0.002096543787047267,
0.03189218416810036,
0.5938499569892883,
0.020229294896125793,
-0.456533819437027,
-0.3253289461135864,
-0.5722066164016724,
-0.632465124130249,
1.3884451389312744,
0.4250813126564026,
1.0087177753448486,
0.038084425032138824,
0.5298603773117065,
0.1347997486591339,
0.41424113512039185,
-0.6592080593109131,
0.6697666049003601,
0.06282181292772293,
-0.4051283597946167,
-0.5175310373306274,
-0.43171828985214233,
-0.7045859098434448,
0.04523015022277832,
-0.104586660861969,
-0.48024994134902954,
0.18405675888061523,
0.004587134346365929,
-0.48388639092445374,
0.4173022508621216,
-0.5165011286735535,
0.732859194278717,
-0.4606185257434845,
-0.534052848815918,
-0.22172535955905914,
-0.30688637495040894,
0.38897261023521423,
-0.2783253490924835,
-0.07588314265012741,
-0.2026708573102951,
-0.5408307909965515,
0.7840235233306885,
-0.1565456986427307,
0.8153183460235596,
-0.02692602202296257,
-0.4833903908729553,
0.16987241804599762,
0.38250091671943665,
0.42903047800064087,
0.20856213569641113,
-0.19692359864711761,
0.03998388722538948,
0.027545085176825523,
-0.2980974614620209,
-0.6805024147033691,
0.7235965728759766,
-0.8536640405654907,
-0.6750809550285339,
-0.19031094014644623,
-0.5040014386177063,
-0.7803680300712585,
0.16899527609348297,
0.1242026537656784,
0.13079716265201569,
-0.3057444393634796,
0.222897469997406,
1.1571049690246582,
-0.12297425419092178,
0.02665872685611248,
0.7431495785713196,
-0.04723023623228073,
-0.4313068389892578,
0.5722677111625671,
0.35723617672920227,
0.30331748723983765,
0.47668707370758057,
0.20703834295272827,
-0.3612882196903229,
-0.7023860812187195,
-0.10835935175418854,
0.3160035014152527,
-0.5608682632446289,
-0.28587445616722107,
-0.3378395736217499,
-0.18726760149002075,
-0.18636080622673035,
-0.0010605391580611467,
-0.6272643804550171,
-0.23747338354587555,
-0.07239528000354767,
-0.16906246542930603,
0.3724368214607239,
0.795747697353363,
0.24878355860710144,
-0.008995670825242996,
-0.8655537962913513,
-0.23575200140476227,
0.5528453588485718,
0.41167181730270386,
-0.0834931880235672,
-1.0201417207717896,
0.06019606068730354,
-0.10312923043966293,
-0.06486506760120392,
-0.8982169032096863,
-0.05619392171502113,
-0.01267347764223814,
0.7641043066978455,
0.4608239233493805,
0.1952420026063919,
0.5770364999771118,
-0.1942465603351593,
0.6194245219230652,
-0.025041548535227776,
-0.6771716475486755,
0.1961003988981247,
-0.25143468379974365,
0.27106791734695435,
0.8537079095840454,
0.3172324597835541,
-0.5314124226570129,
-0.18907785415649414,
-0.6640305519104004,
-0.8195897936820984,
0.3601382076740265,
-0.17378966510295868,
-0.02926851250231266,
0.46710097789764404,
0.6952039003372192,
-0.035743746906518936,
0.22828643023967743,
-0.13022084534168243,
0.1812574714422226,
-0.09709303826093674,
-0.040025439113378525,
0.0462084598839283,
-0.6311976313591003,
-0.2905488908290863,
-0.18562109768390656,
0.5201665163040161,
0.05201586335897446,
-0.06641684472560883,
0.3640221953392029,
-0.4387582540512085,
-0.11255760490894318,
0.3198867738246918,
0.5702107548713684,
0.8693386316299438,
-0.12407295405864716,
0.2767098844051361,
0.6671514511108398,
-0.691429078578949,
0.21505780518054962,
-0.13164491951465607,
-0.04624493420124054,
-0.4957449734210968,
0.4691513776779175,
0.3424782454967499,
0.47964951395988464,
-0.8757014870643616,
0.4629252851009369,
-0.005488384980708361,
-0.1627569943666458,
-0.39981964230537415,
0.1756674200296402,
0.18090909719467163,
0.1763196885585785,
0.31879714131355286,
-0.1637784093618393,
-0.25881513953208923,
-0.5194120407104492,
0.43432626128196716,
0.13902883231639862,
-0.5133718252182007,
-0.4481543004512787,
0.42434683442115784,
0.1837455928325653,
0.02752557210624218,
0.5991308689117432,
-0.1547631174325943,
-0.822481095790863,
0.3266030550003052,
0.283530592918396,
0.7188148498535156,
-0.37414124608039856,
-0.14895345270633698,
0.26171258091926575,
0.5302594304084778,
-0.15580110251903534,
0.17532537877559662,
0.11786056309938431,
-1.1053977012634277,
-0.6710092425346375,
-0.5643103122711182,
-0.429473876953125,
0.3817237615585327,
-0.3895394206047058,
0.011380821466445923,
-0.5724182724952698,
-0.22115537524223328,
-0.5210838317871094,
0.1267872452735901,
-0.5466262102127075,
0.06433673202991486,
-0.2011842131614685,
1.2747251987457275,
-0.6221644282341003,
0.7471069693565369,
0.9731085300445557,
-0.5195775032043457,
-0.8161172866821289,
0.2758423089981079,
0.03673972934484482,
-0.9642696976661682,
0.7342450618743896,
-0.38617733120918274,
-0.36586475372314453,
-0.007352844811975956,
-0.5704365372657776,
-0.8587596416473389,
1.1749367713928223,
0.65810227394104,
-0.6766506433486938,
0.1760084629058838,
0.11125802993774414,
0.519254744052887,
-0.10552217811346054,
0.42049890756607056,
0.8874902129173279,
0.8459210991859436,
0.30926811695098877,
-0.9335039258003235,
0.2914659380912781,
0.08077404648065567,
-0.304402619600296,
0.19367294013500214,
-0.6806376576423645,
0.6159658432006836,
-0.03423677384853363,
-0.08195114880800247,
-0.23417960107326508,
0.516785740852356,
0.0493588000535965,
-0.22490285336971283,
0.5426028370857239,
0.8432985544204712,
0.8664968609809875,
-0.1957608461380005,
0.742108166217804,
-0.37357497215270996,
0.11138881742954254,
1.1080553531646729,
-0.35884517431259155,
0.9122542142868042,
0.40407106280326843,
-0.2694283723831177,
0.5217215418815613,
0.16684001684188843,
0.03661017119884491,
-0.0021865887101739645,
0.5021072626113892,
-0.3768251836299896,
-0.5294970273971558,
0.2045493721961975,
-0.27470147609710693,
0.43303266167640686,
0.5950270891189575,
0.012142363004386425,
-0.26426658034324646,
-0.2538204789161682,
0.17930658161640167,
0.1871197521686554,
-0.040543317794799805,
0.55350261926651,
0.026069505140185356,
-0.6198742389678955,
0.8381485939025879,
-0.3564223349094391,
0.6653420329093933,
-0.752960741519928,
0.007340672425925732,
-0.30492928624153137,
0.31433945894241333,
-0.3861139714717865,
-0.913482129573822,
0.053974322974681854,
-0.15773330628871918,
-0.01382010243833065,
-0.19665028154850006,
0.870338499546051,
-0.37053483724594116,
-0.06702150404453278,
0.3798467218875885,
0.5076261162757874,
0.09662831574678421,
-0.3607923984527588,
-0.4158383905887604,
0.16541683673858643,
0.1331196427345276,
-0.28241968154907227,
0.49680009484291077,
0.45795562863349915,
0.19579190015792847,
0.7889499664306641,
0.4530130624771118,
0.3811444342136383,
0.11326009780168533,
0.07103390991687775,
0.9168998003005981,
-0.5383570790290833,
0.2787218987941742,
-0.7374486923217773,
0.4119149446487427,
0.07222482562065125,
-0.4930853247642517,
0.72980135679245,
0.5433408617973328,
0.855912446975708,
0.15612946450710297,
0.7584694623947144,
0.2802804410457611,
0.3517988324165344,
-0.5077776908874512,
0.9828799962997437,
-0.5697535276412964,
0.6333836317062378,
-0.058151669800281525,
-0.6309546828269958,
-0.1860281229019165,
0.33682113885879517,
-0.6208482384681702,
-0.07425831258296967,
0.6756938099861145,
0.89369136095047,
0.06202497333288193,
-0.16326263546943665,
0.581470251083374,
0.6509898900985718,
0.34881487488746643,
0.5390713214874268,
1.054450273513794,
-0.26222267746925354,
0.8603164553642273,
0.05158767104148865,
-0.3275030553340912,
-0.13352900743484497,
-0.8127361536026001,
-0.720160186290741,
-0.49386823177337646,
-0.251931756734848,
-0.4799457788467407,
0.25351378321647644,
0.6183685064315796,
0.49821072816848755,
-0.5772426128387451,
-0.3607311546802521,
0.09077778458595276,
0.10873167216777802,
-0.013851786032319069,
-0.18359890580177307,
0.21368250250816345,
-0.5992823243141174,
-0.31478801369667053,
0.5189417600631714,
0.1937410980463028,
0.05064625293016434,
-0.6015027761459351,
0.009992002509534359,
0.020497571676969528,
0.015904461964964867,
0.4260893762111664,
0.39718806743621826,
-0.38139888644218445,
-0.1794217973947525,
-0.015235602855682373,
0.015206968411803246,
-0.027689917013049126,
0.873222291469574,
-0.8551690578460693,
0.39210808277130127,
0.6371565461158752,
0.9524558186531067,
0.5976722240447998,
-0.130154088139534,
0.6740612983703613,
-0.6631367206573486,
-0.16670995950698853,
0.5188797116279602,
0.26906079053878784,
0.07847723364830017,
-0.15458326041698456,
0.6745456457138062,
0.3201936185359955,
-0.5581121444702148,
-0.8843722939491272,
0.28574779629707336,
-0.5877330303192139,
-0.011691764928400517,
1.2652547359466553,
-0.19306059181690216,
-0.16940456628799438,
-0.25901320576667786,
-0.05295737460255623,
-0.08022578060626984,
-0.46489933133125305,
0.5760711431503296,
0.9468606114387512,
0.07603807002305984,
-0.086690254509449,
-0.523323655128479,
0.547937273979187,
0.5292709469795227,
-0.5421305894851685,
0.1873273104429245,
0.27619004249572754,
0.6282885074615479,
0.316341370344162,
0.5029909610748291,
-0.400483101606369,
0.1791187971830368,
-0.006052695214748383,
0.10882015526294708,
-0.2674937844276428,
-0.34864649176597595,
-0.08806658536195755,
0.2359716147184372,
0.46682533621788025,
0.09176155179738998
] |
http://arxiv.org/abs/2405.19737v1
|
http://arxiv.org/pdf/2405.19737v1
|
Beyond Imitation: Learning Key Reasoning Steps from Dual Chain-of-Thoughts in Reasoning Distillation
| 2024-05-30T06:32:11 | 2024-05-30T06:32:11 |
Chengwei Dai, Kun Li, Wei Zhou, Songlin Hu
|
cs.CL
|
cs.CL, cs.AI
|
As Large Language Models (LLMs) scale up and gain powerful Chain-of-Thoughts
(CoTs) reasoning abilities, practical resource constraints drive efforts to
distill these capabilities into more compact Smaller Language Models (SLMs). We
find that CoTs consist mainly of simple reasoning forms, with a small
proportion ($\approx 4.7\%$) of key reasoning steps that truly impact
conclusions. However, previous distillation methods typically involve
supervised fine-tuning student SLMs only on correct CoTs data produced by
teacher LLMs, resulting in students struggling to learn the key reasoning
steps, instead imitating the teacher's reasoning forms and making errors or
omissions on these steps. To address these issues, drawing an analogy to human
learning, where analyzing mistakes according to correct solutions often reveals
the crucial steps leading to successes or failures, we propose
mistak\textbf{E}-\textbf{D}riven key reason\textbf{I}ng step
distilla\textbf{T}ion (\textbf{EDIT}), a novel method that further aids SLMs
learning key reasoning steps rather than mere simple fine-tuning. Firstly, to
expose these crucial steps in CoTs, we design specific prompts to generate dual
CoTs data with similar reasoning paths but divergent conclusions. Then, we
apply the minimum edit distance algorithm on the dual CoTs data to locate these
key steps and optimize the likelihood of these steps. Extensive experiments
validate the effectiveness of EDIT across both in-domain and out-of-domain
benchmark reasoning datasets. Further analysis shows that EDIT can generate
high-quality CoTs with more correct key reasoning steps. Notably, we also
explore how different mistake patterns affect performance and find that EDIT
benefits more from logical errors than from knowledge or mathematical
calculation errors in dual CoTs\footnote{Code can be found at
\url{https://github.com/C-W-D/EDIT}}.
|
[
-0.32349592447280884,
-0.8715078830718994,
1.008094072341919,
-0.18885907530784607,
-0.33158090710639954,
0.48535072803497314,
-0.10109119117259979,
-0.3439922630786896,
-0.041374094784259796,
0.6449432373046875,
-0.652001678943634,
-0.2574898898601532,
-0.6014813780784607,
0.0003264127008151263,
-0.2632265090942383,
0.8694770336151123,
-0.371642529964447,
0.12543383240699768,
-0.12657448649406433,
0.03412211313843727,
-0.5408165454864502,
-0.5432482957839966,
-0.6641716957092285,
-0.32210105657577515,
0.4506453275680542,
0.5381762385368347,
0.47470736503601074,
0.29183343052864075,
0.04696328938007355,
0.28537696599960327,
-0.362077921628952,
0.721558153629303,
-0.5127803087234497,
0.1806574910879135,
-0.6155860424041748,
-0.6964020729064941,
-0.3596896529197693,
0.2896645963191986,
0.4311029613018036,
0.35396668314933777,
-0.03605412691831589,
0.15019719302654266,
0.23254957795143127,
1.1313966512680054,
-0.6607081294059753,
0.111940898001194,
-0.8726148009300232,
-0.09478382021188736,
-0.10665982216596603,
0.0039012166671454906,
-0.44583213329315186,
-0.21880237758159637,
0.18138283491134644,
-0.5452607274055481,
0.1909428983926773,
0.06778453290462494,
0.433653324842453,
0.306951105594635,
-0.48608148097991943,
-0.7197595238685608,
-0.7660353183746338,
0.6952996253967285,
-0.5876319408416748,
0.23377567529678345,
0.24010246992111206,
0.23840652406215668,
-0.5512344837188721,
-0.8248878121376038,
-0.8565883040428162,
-0.06049589812755585,
-0.09930083155632019,
-0.033604785799980164,
0.07392212003469467,
0.23888005316257477,
0.6204428672790527,
0.35092809796333313,
-0.1442585587501526,
-0.3588811159133911,
-0.49334320425987244,
0.03752140700817108,
0.6548014283180237,
0.1833648383617401,
0.12007206678390503,
0.18867658078670502,
-0.2751101851463318,
-0.37441596388816833,
-0.6130428314208984,
0.1568366289138794,
0.28975537419319153,
0.11931034922599792,
0.24875563383102417,
0.3605739176273346,
0.06541873514652252,
0.672914981842041,
0.40740635991096497,
-0.3342225253582001,
0.09329956769943237,
-0.49223199486732483,
-0.21136802434921265,
0.1215464398264885,
0.43876147270202637,
0.08272641152143478,
0.1718902587890625,
0.09262533485889435,
-0.2730812132358551,
0.026296909898519516,
0.42024731636047363,
-0.40533554553985596,
-0.476014643907547,
0.12935933470726013,
-0.1551029533147812,
-0.2250915765762329,
0.13206622004508972,
-0.8354113101959229,
-0.5918283462524414,
-0.8677539825439453,
0.5670517086982727,
-0.38114216923713684,
-0.16148921847343445,
0.30155232548713684,
-0.4720020592212677,
-0.00308059761300683,
0.5262406468391418,
-0.5562273859977722,
0.536514937877655,
0.766890287399292,
0.796770453453064,
-0.014136556535959244,
-0.46898722648620605,
-0.4271581470966339,
-0.028828511014580727,
-0.5402236580848694,
0.635614812374115,
-0.4670536518096924,
-0.36525973677635193,
-0.3569314181804657,
-0.28886932134628296,
-0.09236996620893478,
-0.6158690452575684,
0.531731367111206,
-0.4609501361846924,
-0.10524982959032059,
-0.6776683926582336,
-0.7124089598655701,
-0.3706361949443817,
0.09461057931184769,
-0.6295384168624878,
1.038635015487671,
-0.151247039437294,
-0.5886394381523132,
0.45668283104896545,
-0.6011526584625244,
-0.4075946807861328,
-0.5043569803237915,
-0.2293383628129959,
-0.21696797013282776,
0.48087939620018005,
0.2716017961502075,
0.2006235271692276,
-0.20694321393966675,
-0.03468726575374603,
-0.2759438157081604,
-0.23378585278987885,
0.48297804594039917,
-0.4994794726371765,
0.8557749390602112,
0.023684166371822357,
-0.5606452226638794,
-0.1387670934200287,
-0.73383629322052,
0.10360588133335114,
0.09816029667854309,
0.11491745710372925,
-0.6114696860313416,
0.020403360947966576,
-0.522620439529419,
0.547636091709137,
-0.04083660617470741,
-0.17122270166873932,
0.45516225695610046,
-0.11878971010446548,
0.408965140581131,
0.992626965045929,
0.36569541692733765,
0.3725990653038025,
-0.33107808232307434,
0.454935222864151,
0.28902941942214966,
0.24751649796962738,
-0.05219857767224312,
-0.3912912905216217,
-0.8733090758323669,
-0.1699509471654892,
0.07467490434646606,
0.4588218629360199,
-0.8290660381317139,
0.22805732488632202,
0.21516050398349762,
-0.6424207091331482,
-0.5952414274215698,
0.5176851153373718,
0.6333628296852112,
0.5639525055885315,
0.50778728723526,
-0.08920872956514359,
-0.6301230192184448,
-0.5042843818664551,
-0.509476363658905,
-0.22851665318012238,
0.3758434057235718,
-0.08443213254213333,
0.6635521054267883,
-0.08763524144887924,
0.7698855996131897,
-0.6560759544372559,
-0.0653698518872261,
-0.2966499328613281,
0.14553159475326538,
0.19788166880607605,
0.32253649830818176,
0.29412057995796204,
-0.821802020072937,
-0.5173211693763733,
-0.3399127721786499,
-0.5454671382904053,
-0.07414092868566513,
-0.4586103856563568,
-0.48242074251174927,
0.08085289597511292,
0.5912677645683289,
-0.5375493168830872,
0.7025493383407593,
0.20437228679656982,
-0.33702409267425537,
0.9222040772438049,
-0.36293870210647583,
0.24268196523189545,
-1.053993821144104,
-0.3050907850265503,
-0.14422635734081268,
-0.14902909100055695,
-0.46383559703826904,
0.034803327172994614,
-0.03704724460840225,
0.40075555443763733,
-0.3381499946117401,
0.3782002031803131,
-0.7161234617233276,
0.0771273672580719,
-0.3584722876548767,
0.19073107838630676,
0.5108773112297058,
0.45375582575798035,
-0.08673152327537537,
0.7296485900878906,
0.3832249045372009,
-0.6043959259986877,
0.3389284014701843,
0.05717283859848976,
-0.46262913942337036,
0.40973007678985596,
-0.574041485786438,
0.37393513321876526,
-0.00940873846411705,
0.4986304044723511,
-1.021560549736023,
0.18245390057563782,
0.20660655200481415,
-0.09302736818790436,
0.35092318058013916,
-0.24402591586112976,
-0.582992672920227,
-0.4133857488632202,
-0.4207298159599304,
0.32225191593170166,
0.6372950673103333,
-0.7887272238731384,
0.5732523798942566,
0.37028902769088745,
0.01889510452747345,
-0.6612164378166199,
-0.6277893781661987,
0.015863744542002678,
-0.26570889353752136,
-0.2866232991218567,
0.16878846287727356,
-0.100867860019207,
-0.5586654543876648,
-0.234302818775177,
-0.4634661376476288,
-0.08560103923082352,
0.026305189356207848,
0.20496290922164917,
0.36796146631240845,
0.057046957314014435,
0.12069082260131836,
0.43607789278030396,
-0.0978723093867302,
0.14315038919448853,
-0.5049378275871277,
0.11772298067808151,
-0.21829353272914886,
-0.33930516242980957,
-0.5865333676338196,
0.10406441241502762,
0.8738678693771362,
-0.005209799390286207,
0.6736711859703064,
0.08200506120920181,
-0.2611244320869446,
-0.5310893058776855,
-0.6002423763275146,
-0.2198154330253601,
-0.4704209864139557,
0.013447006233036518,
-0.6580684781074524,
-0.38743793964385986,
0.3107730448246002,
-0.34035953879356384,
0.316191166639328,
0.2535228133201599,
0.3375859558582306,
-0.2677897810935974,
0.8168737888336182,
0.3024705648422241,
0.0950533077120781,
0.3596464693546295,
-0.5428110957145691,
0.29980701208114624,
-0.9480865597724915,
-0.12719041109085083,
-0.21071064472198486,
-0.47523969411849976,
-0.3696334660053253,
-0.9338344931602478,
0.3938528597354889,
0.6571264863014221,
-0.07261619716882706,
0.23578929901123047,
-0.4465833902359009,
0.8428404927253723,
0.6219594478607178,
0.2870636284351349,
0.505462646484375,
-0.13120336830615997,
-0.3993073105812073,
-0.0684894397854805,
-0.6050505042076111,
-0.6475074291229248,
1.1414088010787964,
0.07910213619470596,
0.9633904695510864,
-0.08696583658456802,
0.9809775352478027,
0.23505203425884247,
0.01895168237388134,
-0.6597496867179871,
0.48288872838020325,
-0.01853407546877861,
-0.4782158136367798,
-0.20595939457416534,
-0.35474884510040283,
-0.4037373960018158,
0.4542233645915985,
-0.10827746242284775,
-0.5324820876121521,
0.18848936259746552,
0.6045271754264832,
-0.24650514125823975,
0.5886223912239075,
-0.8633303046226501,
0.6815693378448486,
-0.3812895119190216,
-0.4027760922908783,
-0.5419723987579346,
-0.6817130446434021,
0.5038604140281677,
-0.06469864398241043,
0.3049738109111786,
0.22581949830055237,
0.053519297391176224,
0.471298485994339,
-0.6922234296798706,
1.0083471536636353,
-0.253606915473938,
-0.05365955829620361,
0.7992992997169495,
0.34447404742240906,
0.7367016673088074,
0.13736926019191742,
0.04663241282105446,
0.05261692404747009,
0.12438461184501648,
-0.1858600378036499,
-0.9783589243888855,
0.5824512243270874,
-0.5145119428634644,
-0.7960712909698486,
-0.5927220582962036,
-0.23110319674015045,
-0.25725170969963074,
0.04403892531991005,
0.12555836141109467,
0.37628644704818726,
0.015972943976521492,
-0.292596697807312,
0.8388673067092896,
0.1642473042011261,
0.2248818725347519,
0.29832664132118225,
-0.266539603471756,
-0.4429709017276764,
0.7008448243141174,
0.17847393453121185,
0.584354817867279,
0.30063343048095703,
0.45412763953208923,
-0.48154279589653015,
-0.4012754261493683,
-0.46322137117385864,
0.15212179720401764,
-0.8320192694664001,
-0.009691441431641579,
-0.5942046642303467,
-0.060801777988672256,
-0.22961966693401337,
-0.2531687021255493,
-0.5306835174560547,
-0.6155017018318176,
-0.20319350063800812,
-0.31733572483062744,
0.465921550989151,
0.932004988193512,
-0.25820648670196533,
-0.15108172595500946,
-0.7723487615585327,
0.5379692912101746,
0.5374140739440918,
0.005625674035400152,
0.339170902967453,
-0.5427719950675964,
-0.09939856082201004,
0.45297107100486755,
-0.597224771976471,
-0.7708504796028137,
-0.04502008110284805,
0.04092349112033844,
0.5423088669776917,
0.35954993963241577,
0.14613376557826996,
1.229636311531067,
-0.6549968123435974,
0.8098047971725464,
0.13128629326820374,
-1.2495012283325195,
0.6735634207725525,
0.3804333508014679,
0.10954245924949646,
0.8459301590919495,
0.3266788125038147,
-0.3801042139530182,
-0.450531929731369,
-0.7359691858291626,
-0.6862543821334839,
0.6510192155838013,
0.1770264357328415,
-0.17864951491355896,
0.05833682790398598,
0.5635792016983032,
0.32409852743148804,
0.10942411422729492,
-0.3973328769207001,
-0.3350943922996521,
0.051145393401384354,
0.029253950342535973,
-0.13026553392410278,
-0.09343466907739639,
-0.013879948295652866,
-0.6429538130760193,
0.9498643279075623,
0.0005735313170589507,
-0.26766669750213623,
0.4181375205516815,
-0.1986280381679535,
0.0825372189283371,
0.15924762189388275,
0.6189092993736267,
0.7923038005828857,
0.17484696209430695,
0.3745420277118683,
0.3659586012363434,
-0.4744921922683716,
0.28820011019706726,
-0.3929922580718994,
0.11410875618457794,
0.014527876861393452,
0.3592546880245209,
0.6927840709686279,
0.07186425477266312,
-0.7294577360153198,
0.26147523522377014,
-0.0722079798579216,
-0.071055106818676,
-0.26659175753593445,
0.30787143111228943,
0.042008593678474426,
0.5182704329490662,
0.11788754910230637,
0.3324848413467407,
0.21408897638320923,
-0.7186396718025208,
0.1990199238061905,
0.10189429670572281,
-0.18957802653312683,
-0.4276237487792969,
0.4528324007987976,
-0.017547139897942543,
-0.1861436516046524,
0.5556912422180176,
-0.24671557545661926,
-0.6384544968605042,
0.4682043492794037,
0.317889928817749,
1.0679800510406494,
-0.008503574877977371,
0.18836042284965515,
0.3161914348602295,
0.17091533541679382,
-0.506675660610199,
0.2500626742839813,
-0.36841511726379395,
-0.527231752872467,
-0.3851374089717865,
-0.44555550813674927,
-0.4511089324951172,
-0.03735639899969101,
-0.7653881907463074,
0.36583781242370605,
-0.5776193141937256,
-0.037292927503585815,
0.041702207177877426,
-0.08855202794075012,
-0.5268445611000061,
0.04403993487358093,
0.02003859542310238,
0.911719560623169,
-0.7758355736732483,
0.9233950972557068,
0.633847713470459,
-0.4157726466655731,
-0.8304621577262878,
0.234486386179924,
0.27006199955940247,
-0.6253714561462402,
0.5425066351890564,
-0.008484665304422379,
-0.36090609431266785,
-0.32990553975105286,
-0.3577079176902771,
-0.5476604700088501,
1.0629271268844604,
0.22941331565380096,
-0.8635289669036865,
-0.2453572005033493,
-0.04811345785856247,
0.5500684380531311,
-0.2167070060968399,
0.05937005579471588,
0.8201515674591064,
0.20429065823554993,
0.32596537470817566,
-0.7280153632164001,
0.06244634836912155,
0.15750110149383545,
-0.06644777208566666,
0.42912203073501587,
-0.61013263463974,
0.8054907321929932,
-0.5854711532592773,
0.03349071368575096,
-0.14341557025909424,
0.28598228096961975,
0.5764050483703613,
0.49792397022247314,
0.5557569861412048,
0.6955915093421936,
0.9298976063728333,
0.2007116973400116,
0.7887084484100342,
-0.08051034808158875,
0.21132376790046692,
1.6490365266799927,
-0.35290735960006714,
0.766934335231781,
0.9132855534553528,
-0.26812776923179626,
0.8390420079231262,
0.31150662899017334,
0.47604385018348694,
0.5817378163337708,
0.29349204897880554,
-0.34240832924842834,
-0.22405917942523956,
0.5148294568061829,
-0.0659773200750351,
0.276908278465271,
0.6902938485145569,
-0.44955775141716003,
-0.05428600311279297,
-0.07565584778785706,
-0.03301321715116501,
0.30354422330856323,
-0.31707802414894104,
0.9371684193611145,
0.316224604845047,
-0.7414789795875549,
0.6204931735992432,
-0.40220320224761963,
0.26667532324790955,
-0.45324021577835083,
-0.42212581634521484,
0.052369292825460434,
0.3035677671432495,
0.04701684042811394,
-0.8808742165565491,
0.27378049492836,
0.055620498955249786,
-0.3905527889728546,
-0.4975299835205078,
0.5121774077415466,
-0.3427194058895111,
-0.5181376338005066,
0.21867109835147858,
0.3889123201370239,
0.17524181306362152,
-0.10612884163856506,
-0.8939048051834106,
-0.0593094639480114,
0.13475310802459717,
-0.24564696848392487,
0.1423991471529007,
0.7312109470367432,
-0.026130808517336845,
0.42262154817581177,
0.5529776215553284,
0.21887977421283722,
0.11360635608434677,
-0.03216750547289848,
0.8689324259757996,
-0.745304524898529,
-0.38066795468330383,
-1.091662883758545,
0.7545832991600037,
-0.34798571467399597,
-0.34509336948394775,
0.5497559905052185,
0.43548280000686646,
1.0117274522781372,
-0.12915654480457306,
0.8227302432060242,
0.10577093064785004,
0.4535829424858093,
-0.7926036715507507,
0.32063204050064087,
-0.4696364998817444,
0.3134841322898865,
-0.4639516770839691,
-0.7604025602340698,
0.15569213032722473,
0.5988157987594604,
-0.3193136751651764,
-0.2115071564912796,
0.9729592204093933,
0.7331820130348206,
-0.03634060546755791,
0.10517991334199905,
0.23868750035762787,
0.30118387937545776,
0.4083411693572998,
0.6570290327072144,
0.9451442360877991,
-0.5681148171424866,
0.25340649485588074,
-0.38540118932724,
-0.3480585217475891,
-0.06047656759619713,
-0.737464964389801,
-1.000985860824585,
-0.6841201782226562,
-0.4086594879627228,
-0.5034026503562927,
0.09959918260574341,
1.0163965225219727,
0.38583070039749146,
-0.717893660068512,
-0.07085197418928146,
-0.5997127890586853,
0.4974237382411957,
-0.6367195844650269,
-0.23096300661563873,
0.2188381403684616,
-0.4883798360824585,
-0.6320614814758301,
0.38846278190612793,
0.3274451494216919,
0.19736528396606445,
-0.1374516785144806,
-0.06655317544937134,
-0.262294203042984,
0.3938373327255249,
0.6027193665504456,
0.12760573625564575,
-1.029921293258667,
-0.20284010469913483,
-0.1940242201089859,
0.04588282108306885,
-0.1263897866010666,
1.2198723554611206,
-0.753676176071167,
0.8832274079322815,
0.5189248323440552,
0.3924963176250458,
0.5465885996818542,
-0.10497398674488068,
0.45316314697265625,
-0.4914722442626953,
0.08634324371814728,
0.2199143022298813,
0.43215835094451904,
-0.1381767839193344,
-0.3486049771308899,
0.3082279860973358,
0.22720344364643097,
-0.5493469834327698,
-0.7789595127105713,
0.28656789660453796,
-0.8051344752311707,
-0.3932097256183624,
1.0258320569992065,
-0.34658199548721313,
-0.1500576287508011,
-0.15892593562602997,
-0.7243800163269043,
0.3185289204120636,
-0.2314041256904602,
1.0505203008651733,
0.8499823808670044,
-0.41390547156333923,
0.09855175018310547,
-0.32127994298934937,
0.7110887169837952,
0.23981349170207977,
-0.6091668605804443,
0.3965591788291931,
0.5555086731910706,
0.39682698249816895,
0.12247005105018616,
0.3682817816734314,
-0.16710533201694489,
0.34753158688545227,
0.28165289759635925,
-0.3454049527645111,
-0.04100235179066658,
-0.5606823563575745,
-0.24066057801246643,
-0.273052841424942,
0.2238140106201172,
-0.16436384618282318
] |
http://arxiv.org/abs/2405.19732v3
|
http://arxiv.org/pdf/2405.19732v3
|
Two Optimizers Are Better Than One: LLM Catalyst Empowers Gradient-Based Optimization for Prompt Tuning
| 2024-05-30T06:24:14 | 2024-06-06T04:59:27 |
Zixian Guo, Ming Liu, Zhilong Ji, Jinfeng Bai, Yiwen Guo, Wangmeng Zuo
|
cs.CV
|
cs.CV, cs.CL, cs.LG
|
Learning a skill generally relies on both practical experience by doer and
insightful high-level guidance by instructor. Will this strategy also work well
for solving complex non-convex optimization problems? Here, a common
gradient-based optimizer acts like a disciplined doer, making locally optimal
update at each step. Recent methods utilize large language models (LLMs) to
optimize solutions for concrete problems by inferring from natural language
instructions, akin to a high-level instructor. In this paper, we show that
these two optimizers are complementary to each other, suggesting a
collaborative optimization approach. The gradient-based optimizer and LLM-based
optimizer are combined in an interleaved manner. We instruct LLMs using task
descriptions and timely optimization trajectories recorded during
gradient-based optimization. Inferred results from LLMs are used as restarting
points for the next stage of gradient optimization. By leveraging both the
locally rigorous gradient-based optimizer and the high-level deductive
LLM-based optimizer, our combined optimization method consistently yields
improvements over competitive baseline prompt tuning methods. Our results
demonstrate the synergistic effect of conventional gradient-based optimization
and the inference ability of LLMs. The code is released at
https://github.com/guozix/LLM-catalyst.
|
[
-0.3430008590221405,
-0.6667481660842896,
0.5702152848243713,
0.5957208871841431,
-0.008126572705805302,
0.3192310035228729,
-0.6160405874252319,
-0.08166434615850449,
-0.0008713172865100205,
0.08519265800714493,
-0.945999026298523,
-0.23613637685775757,
-0.2860669493675232,
0.10142295062541962,
0.2689438760280609,
0.9221193194389343,
-0.011210915632545948,
0.6338536739349365,
-0.40847936272621155,
0.0437452532351017,
-0.5174077749252319,
-0.04680603742599487,
-1.173526406288147,
-0.5020663142204285,
0.8242049217224121,
0.4153645932674408,
0.3458719253540039,
0.6801325678825378,
0.5972688794136047,
0.30740588903427124,
-0.07830459624528885,
0.27144449949264526,
-0.542564868927002,
0.2519882619380951,
-0.1252417415380478,
-0.3885205388069153,
-0.2134290337562561,
0.0030081698205322027,
0.20822958648204803,
0.9312872290611267,
-0.35127025842666626,
-0.17657583951950073,
0.37407174706459045,
0.683213472366333,
-0.7780109643936157,
0.0030476548708975315,
-0.6060417890548706,
0.10997236520051956,
0.13802680373191833,
-0.4807899296283722,
-0.06907591968774796,
-0.7213690280914307,
-0.16131152212619781,
-0.8100337386131287,
0.17219597101211548,
0.17897027730941772,
0.25467556715011597,
0.8127515912055969,
-0.03855634480714798,
-0.21678681671619415,
-0.5212350487709045,
1.091341257095337,
-0.5001600980758667,
0.10838274657726288,
-0.14250752329826355,
0.3322741389274597,
-0.45641928911209106,
-0.6570918560028076,
-0.45786604285240173,
-0.25947877764701843,
0.22543206810951233,
0.3918534517288208,
0.02388944663107395,
0.4967702329158783,
0.1724754124879837,
0.5624868869781494,
-0.5015953183174133,
0.5897337198257446,
0.026045208796858788,
-0.2461058497428894,
0.3432167172431946,
0.24567125737667084,
0.12555457651615143,
0.254690557718277,
-0.6396669149398804,
-0.051045771688222885,
-0.592378556728363,
0.32583069801330566,
0.2061154842376709,
0.41229790449142456,
-0.03300294280052185,
0.19067224860191345,
-0.21406260132789612,
0.6194508671760559,
0.25249823927879333,
-0.1979733407497406,
-0.03843196853995323,
-0.3303271532058716,
0.10965254157781601,
0.1110692024230957,
0.6951342225074768,
0.5414596199989319,
0.3014346659183502,
-0.4686741530895233,
-0.30466097593307495,
0.2601831555366516,
-0.043328918516635895,
-0.6719689965248108,
-0.15162479877471924,
0.0905112475156784,
-0.3067147433757782,
-0.21854306757450104,
-0.21610496938228607,
-0.6514233350753784,
-0.36910104751586914,
-0.8023726344108582,
0.48502641916275024,
0.28027889132499695,
0.07691465318202972,
0.34798452258110046,
-0.22199997305870056,
0.14660674333572388,
0.39715656638145447,
-0.945482075214386,
0.2622205913066864,
0.9321579933166504,
0.9563066363334656,
-0.13546283543109894,
-0.22152017056941986,
-1.1913889646530151,
0.1222306564450264,
-0.1650133579969406,
0.5369241237640381,
-0.48025092482566833,
-0.4501965641975403,
0.03696249797940254,
-0.17149142920970917,
-0.08551348745822906,
-0.7444353103637695,
0.6092684268951416,
-0.25810477137565613,
0.3217509388923645,
-0.3876033425331116,
-0.48751887679100037,
0.10115239024162292,
0.08191538602113724,
-0.5569022297859192,
1.3985023498535156,
0.1418296843767166,
-0.5147849321365356,
0.3344118893146515,
-0.4375894367694855,
-0.299343466758728,
0.2353254109621048,
-0.1348838061094284,
-0.4741404950618744,
0.0934252142906189,
0.12312547862529755,
0.3442079424858093,
-0.6565219163894653,
0.5071938633918762,
-0.44111889600753784,
-0.42130833864212036,
-0.16740095615386963,
-0.07217089086771011,
0.6780550479888916,
-0.05601421371102333,
-0.2998691499233246,
0.4710499346256256,
-0.6909075379371643,
-0.16820216178894043,
-0.2971145808696747,
-0.6154929399490356,
0.08157102763652802,
-0.048692796379327774,
-0.09370854496955872,
0.1612505316734314,
0.6350191831588745,
-0.5845049023628235,
0.113054059445858,
-0.2506774961948395,
0.4760628640651703,
0.9724476933479309,
0.19379961490631104,
0.6264547109603882,
-0.5835268497467041,
0.7232898473739624,
-0.43729108572006226,
0.22971263527870178,
0.12549014389514923,
-0.3020487427711487,
-1.0333658456802368,
-0.3121742606163025,
-0.23359566926956177,
0.6538853049278259,
-0.6370484232902527,
0.36363276839256287,
0.24325263500213623,
-0.41504544019699097,
-0.49684324860572815,
0.3852391541004181,
0.45079535245895386,
0.9565474987030029,
0.4304916262626648,
-0.04428809881210327,
-0.5297509431838989,
-0.6822079420089722,
-0.516085684299469,
0.1736041009426117,
0.16419057548046112,
0.41853711009025574,
0.18624156713485718,
0.013172716833651066,
0.8304901123046875,
-0.529552161693573,
-0.25718000531196594,
-0.08481418341398239,
0.000827143550850451,
0.5028077960014343,
0.547168493270874,
0.4082420766353607,
-0.353898823261261,
-0.8534620404243469,
-0.09353481233119965,
-0.6623629331588745,
-0.40338605642318726,
-0.1216677725315094,
-0.40258991718292236,
-0.2140621393918991,
0.6897426247596741,
-0.3219667673110962,
-0.13022442162036896,
0.23962301015853882,
0.23674646019935608,
0.3638709783554077,
-0.29093343019485474,
-0.17487074434757233,
-0.7656704783439636,
-0.22451256215572357,
0.19519548118114471,
-0.03821404278278351,
-0.4051048457622528,
-0.06103169545531273,
-0.19297170639038086,
-0.1167105883359909,
-0.17932094633579254,
0.6616955399513245,
-0.4565916657447815,
0.21675243973731995,
-0.15905414521694183,
0.13386504352092743,
-0.026325060054659843,
0.8853722214698792,
0.046067021787166595,
0.9083439707756042,
0.8888144493103027,
-0.37456560134887695,
0.602809488773346,
0.13938866555690765,
-0.5127450227737427,
0.4870145320892334,
-0.8242023587226868,
0.2624039053916931,
-0.20686571300029755,
0.007759867701679468,
-0.8641668558120728,
0.0020619670394808054,
0.07688365876674652,
0.014336645603179932,
0.16215647757053375,
-0.00960733275860548,
-0.40016448497772217,
-0.27504441142082214,
-0.6482484340667725,
0.03071621060371399,
0.40919384360313416,
-0.8525150418281555,
0.33662980794906616,
-0.1239178255200386,
-0.20008639991283417,
-0.5941102504730225,
-0.2601621747016907,
-0.14350387454032898,
-0.3406616747379303,
-0.714195728302002,
0.3138904571533203,
-0.256883442401886,
-0.2496381402015686,
-0.4038868844509125,
-0.14424805343151093,
0.09506774693727493,
0.3360043466091156,
0.14298376441001892,
0.21425998210906982,
-0.18034106492996216,
0.03416367247700691,
0.16153958439826965,
-0.4492749869823456,
0.04400676116347313,
-0.3327747881412506,
0.4696442186832428,
-0.019390318542718887,
-0.1640736609697342,
-0.40470921993255615,
0.4269388020038605,
0.2945050895214081,
-0.27445971965789795,
0.8854005336761475,
0.6633625626564026,
-0.10514335334300995,
-0.39209192991256714,
-0.6369172930717468,
-0.4925053119659424,
-0.602238655090332,
0.11843948066234589,
-0.29799410700798035,
-0.873368501663208,
0.3261767029762268,
-0.4640611708164215,
-0.07414276897907257,
-0.10087720304727554,
0.6881409883499146,
-0.1294175237417221,
0.8208805322647095,
0.4691808819770813,
-0.13596433401107788,
0.6525219082832336,
-0.27915680408477783,
0.22827987372875214,
-1.0037144422531128,
-0.4748342037200928,
-0.7904379963874817,
-0.36032992601394653,
-0.1701042801141739,
-0.2901162803173065,
0.7593970894813538,
0.4178917109966278,
-0.3557894825935364,
0.1176505908370018,
-0.5290915369987488,
0.5709823966026306,
0.8232529759407043,
0.2077108770608902,
0.2620827853679657,
0.14351217448711395,
-0.20572376251220703,
-0.24234968423843384,
-0.9374061226844788,
-0.24967585504055023,
0.7676664590835571,
-0.03542301803827286,
0.7574819326400757,
-0.0013828743249177933,
0.5717266201972961,
-0.06287901848554611,
0.04155724123120308,
-0.8364119529724121,
0.5255172252655029,
-0.0005555531824938953,
-0.20224714279174805,
-0.03448884189128876,
-0.32961687445640564,
-0.6776506304740906,
0.28163668513298035,
-0.2660353183746338,
-0.3854593336582184,
0.09812731295824051,
0.026582391932606697,
-0.3339117765426636,
0.08974010497331619,
-0.5113610625267029,
0.9091320037841797,
-0.21856823563575745,
-0.8181259036064148,
-0.43533870577812195,
-0.680841863155365,
-0.17510269582271576,
-0.11067135632038116,
0.1969185173511505,
0.10978905856609344,
-0.1351688951253891,
0.44568416476249695,
-0.6951067447662354,
0.6485263109207153,
-0.2932963967323303,
-0.23489834368228912,
-0.0263779629021883,
-0.13018013536930084,
0.7054805159568787,
-0.022584494203329086,
-0.3113889992237091,
-0.3015579581260681,
-0.5832996964454651,
-0.3414504826068878,
-0.9009072780609131,
1.0359567403793335,
-0.7049635648727417,
-0.7548811435699463,
-0.05838121846318245,
-0.3868933320045471,
-0.26538151502609253,
0.07638727128505707,
0.26587218046188354,
0.7509936690330505,
0.02548055164515972,
0.1357996165752411,
0.5424395799636841,
-0.002228168537840247,
0.8148549795150757,
0.4045364558696747,
0.4028465449810028,
-0.48184508085250854,
0.8981972932815552,
-0.5170239210128784,
0.30535390973091125,
0.6964040398597717,
0.4741117060184479,
-0.13162177801132202,
-0.6668539047241211,
-0.2033475637435913,
0.2977868318557739,
-0.6431773900985718,
-0.128183975815773,
-0.3802409768104553,
0.2066270112991333,
0.0021515002008527517,
-0.7536402940750122,
-0.11190496385097504,
-0.41893577575683594,
-0.4647402763366699,
0.16069747507572174,
0.2422107458114624,
0.2605220079421997,
-0.26367661356925964,
0.3669019043445587,
-0.4518093168735504,
0.07144023478031158,
0.340308278799057,
-0.006381852552294731,
0.19601546227931976,
-0.02470136620104313,
-0.3972684442996979,
-0.028352463617920876,
-0.22392131388187408,
-0.35731926560401917,
0.06095939129590988,
0.31770047545433044,
0.6899424195289612,
0.5383285880088806,
-0.06912422180175781,
0.5435651540756226,
-0.3581366240978241,
0.4275776445865631,
0.3178846538066864,
-0.7074398994445801,
0.5181056261062622,
-0.5111197829246521,
0.10493477433919907,
0.9381846189498901,
0.4024708867073059,
-0.4917011260986328,
-0.27405765652656555,
0.05291682481765747,
-0.49915793538093567,
0.6595698595046997,
-0.009032306261360645,
-0.17038795351982117,
-0.0822741910815239,
0.41544467210769653,
0.1840314120054245,
0.37355244159698486,
-0.5239788293838501,
-0.2800527513027191,
0.08205262571573257,
-0.2908403277397156,
-0.08660479635000229,
0.059264663606882095,
-0.16577282547950745,
-0.2986541986465454,
0.757931649684906,
-0.28619006276130676,
-0.106369748711586,
-0.018523626029491425,
0.043939124792814255,
-0.31372958421707153,
0.06533516943454742,
0.28600963950157166,
0.23948977887630463,
-0.17122751474380493,
-0.2261601686477661,
-0.008066839538514614,
-0.33778753876686096,
0.13295194506645203,
-0.18081003427505493,
0.021661266684532166,
-0.33309680223464966,
0.5730957388877869,
0.8386444449424744,
0.2835789918899536,
-0.5361226797103882,
0.5878764986991882,
0.1022573858499527,
-0.040155164897441864,
-0.09377624839544296,
0.4180126190185547,
0.06925767660140991,
0.5609967708587646,
0.22017472982406616,
0.3324066400527954,
0.13664183020591736,
-0.21748670935630798,
-0.2868576645851135,
0.7810118198394775,
-0.31772372126579285,
-0.15638156235218048,
0.8956609964370728,
0.5906944870948792,
-0.5099446177482605,
0.2837560176849365,
-0.048710957169532776,
-0.6282642483711243,
0.7190393805503845,
0.4570431113243103,
0.9060501456260681,
0.06058204174041748,
0.06476947665214539,
0.4516964256763458,
0.01338907703757286,
-0.1894357055425644,
0.28171101212501526,
-0.4441228210926056,
-0.6877092123031616,
-0.6654425263404846,
-0.5948232412338257,
-0.5178370475769043,
-0.32836899161338806,
-0.7643342018127441,
0.32364484667778015,
-0.7024564146995544,
0.1872778683900833,
-0.1235101968050003,
0.3300933837890625,
-0.44882383942604065,
-0.027082884684205055,
-0.25973987579345703,
0.6811180114746094,
-0.5897685885429382,
0.45332080125808716,
0.7000753879547119,
-0.2727900743484497,
-0.6193694472312927,
-0.3091018497943878,
-0.0842471718788147,
-0.8507596254348755,
0.7503159642219543,
0.10697804391384125,
-0.5944783091545105,
0.2430821657180786,
-0.338804692029953,
-0.5043417811393738,
1.1806882619857788,
0.433836966753006,
-1.005394458770752,
-0.11684086918830872,
-0.10457480698823929,
0.30711355805397034,
-0.25466248393058777,
0.1718229353427887,
0.14654411375522614,
0.4297480881214142,
0.21921110153198242,
-0.9934079051017761,
0.012041647918522358,
0.0017001557862386107,
-0.06573468446731567,
0.41852936148643494,
-1.046005368232727,
0.8360745310783386,
-0.2068367302417755,
-0.10756286978721619,
0.4380784332752228,
0.3729771375656128,
0.1549418866634369,
0.20079092681407928,
0.3605077564716339,
0.7559974193572998,
0.8888266682624817,
0.023705368861556053,
0.9275900721549988,
-0.5213442444801331,
0.3513253927230835,
0.9706408977508545,
-0.2817290723323822,
0.3233921229839325,
0.6687124371528625,
-0.22406518459320068,
0.7197146415710449,
0.584189236164093,
0.02068662829697132,
0.8431623578071594,
0.2950851619243622,
-0.7556241154670715,
-0.5655137300491333,
-0.4045941233634949,
-0.2931895852088928,
0.014375525526702404,
0.04691898450255394,
0.052361369132995605,
-0.45269882678985596,
0.019942069426178932,
0.04680977016687393,
0.2539299726486206,
-0.4057370126247406,
0.7032491564750671,
0.1704002320766449,
-0.8668354153633118,
0.617595911026001,
0.012805943377315998,
0.7429177761077881,
-0.3392118215560913,
0.11030872911214828,
-0.3715570271015167,
0.4878365099430084,
-0.19922257959842682,
-0.20852893590927124,
-0.2708265781402588,
-0.34024372696876526,
-0.1241341382265091,
-0.4076227843761444,
0.45547476410865784,
-0.48671090602874756,
-0.15561291575431824,
0.32359620928764343,
0.4868164658546448,
-0.18016205728054047,
0.09547631442546844,
-0.43813636898994446,
-0.18327677249908447,
-0.039931777864694595,
0.1548599898815155,
0.060191236436367035,
0.22241289913654327,
0.11397805064916611,
0.9017173051834106,
0.7921688556671143,
0.04034147039055824,
-0.05690477415919304,
0.37495142221450806,
0.9399886131286621,
-0.4431076943874359,
-0.38219597935676575,
-0.9825693964958191,
0.27851179242134094,
-0.02908501960337162,
-0.4021836519241333,
0.7687745094299316,
0.7079819440841675,
0.6198022961616516,
-0.05309934914112091,
0.6012551784515381,
0.613129198551178,
0.4015444219112396,
-0.9012760519981384,
0.02186649851500988,
-0.5758123397827148,
0.297264963388443,
-0.21250802278518677,
-1.562206745147705,
-0.22911939024925232,
0.7091425061225891,
-0.10817331820726395,
-0.023167721927165985,
0.7483316659927368,
1.0492959022521973,
0.009805588982999325,
0.04441886395215988,
-0.1678573042154312,
-0.19244788587093353,
0.16901807487010956,
1.0687229633331299,
1.0357229709625244,
0.13617679476737976,
0.13401475548744202,
-0.21237435936927795,
-0.3878002166748047,
-0.13195158541202545,
-0.8678051233291626,
-1.3081867694854736,
-0.20781411230564117,
-0.42726242542266846,
-0.06540988385677338,
-0.046398889273405075,
1.0245112180709839,
0.5820769667625427,
-0.40256574749946594,
-0.32782652974128723,
-0.5853255391120911,
0.04626724123954773,
-0.05061134696006775,
-0.207839235663414,
0.19085000455379486,
-0.5839121341705322,
-0.8269067406654358,
0.7408720254898071,
0.4127246141433716,
0.014597618021070957,
-0.4889616370201111,
-0.2915301024913788,
0.055928830057382584,
-0.022138144820928574,
0.2355332225561142,
0.07489919662475586,
-0.5147063136100769,
0.06133341044187546,
0.19951310753822327,
-0.16642235219478607,
0.11237705498933792,
1.0319511890411377,
-0.9054207801818848,
0.3606710731983185,
0.4957878291606903,
0.6755795478820801,
0.7599547505378723,
-0.15693581104278564,
0.6387778520584106,
-0.5699666142463684,
0.26794591546058655,
0.04843475669622421,
0.38114359974861145,
0.44091928005218506,
-0.3034690022468567,
0.5681438446044922,
0.2576993405818939,
-0.5863452553749084,
-0.5877585411071777,
0.33012789487838745,
-0.953329861164093,
-0.134507417678833,
1.018437385559082,
0.09857135266065598,
0.08977111428976059,
-0.0023802085779607296,
-0.3422394394874573,
0.21401458978652954,
-0.5728155374526978,
0.5661093592643738,
0.6622381210327148,
-0.1945367306470871,
-0.04095585271716118,
-0.17109549045562744,
0.68546462059021,
0.7949645519256592,
-0.616389811038971,
-0.34372225403785706,
0.2931550443172455,
0.03479529917240143,
-0.18184442818164825,
0.506126880645752,
0.479936420917511,
0.13036060333251953,
-0.1578189730644226,
-0.24135640263557434,
-0.2389563024044037,
-0.28702422976493835,
-0.4238971471786499,
-0.07224120944738388,
0.16775014996528625,
-0.1178947240114212
] |
http://arxiv.org/abs/2405.19716v1
|
http://arxiv.org/pdf/2405.19716v1
|
Enhancing Large Vision Language Models with Self-Training on Image Comprehension
| 2024-05-30T05:53:49 | 2024-05-30T05:53:49 |
Yihe Deng, Pan Lu, Fan Yin, Ziniu Hu, Sheng Shen, James Zou, Kai-Wei Chang, Wei Wang
|
cs.CV
|
cs.CV, cs.CL
|
Large vision language models (LVLMs) integrate large language models (LLMs)
with pre-trained vision encoders, thereby activating the perception capability
of the model to understand image inputs for different queries and conduct
subsequent reasoning. Improving this capability requires high-quality
vision-language data, which is costly and labor-intensive to acquire.
Self-training approaches have been effective in single-modal settings to
alleviate the need for labeled data by leveraging model's own generation.
However, effective self-training remains a challenge regarding the unique
visual perception and reasoning capability of LVLMs. To address this, we
introduce Self-Training on Image Comprehension (STIC), which emphasizes a
self-training approach specifically for image comprehension. First, the model
self-constructs a preference dataset for image descriptions using unlabeled
images. Preferred responses are generated through a step-by-step prompt, while
dis-preferred responses are generated from either corrupted images or
misleading prompts. To further self-improve reasoning on the extracted visual
information, we let the model reuse a small portion of existing
instruction-tuning data and append its self-generated image descriptions to the
prompts. We validate the effectiveness of STIC across seven different
benchmarks, demonstrating substantial performance gains of 4.0% on average
while using 70% less supervised fine-tuning data than the current method.
Further studies investigate various components of STIC and highlight its
potential to leverage vast quantities of unlabeled images for self-training.
Code and data are made publicly available.
|
[
-0.43174102902412415,
-0.4749557375907898,
0.6295234560966492,
0.10232285410165787,
-0.5384273529052734,
-0.15894998610019684,
-0.13801468908786774,
-0.5967391729354858,
-0.06783915311098099,
0.8766530752182007,
-0.5174258947372437,
-0.25966620445251465,
-0.26605424284935,
0.1351642608642578,
-0.21037305891513824,
0.506767988204956,
-0.1482876092195511,
0.22883833944797516,
-0.5128418207168579,
-0.26749810576438904,
-0.4504189193248749,
-0.3655385971069336,
-0.7148983478546143,
-0.030796198174357414,
0.4394276738166809,
0.4842381775379181,
0.35713985562324524,
0.856540858745575,
0.40653687715530396,
0.2851055860519409,
0.32011428475379944,
0.2643754184246063,
-0.3995532691478729,
0.0803256556391716,
-0.08070705831050873,
-0.23544031381607056,
-0.05494559556245804,
-0.31917014718055725,
0.5456340909004211,
0.35110217332839966,
-0.008689326234161854,
0.34845638275146484,
0.03531668335199356,
0.9538386464118958,
-0.6444711089134216,
0.197918102145195,
-0.6696065664291382,
0.11650468409061432,
0.09116415679454803,
-0.3984828293323517,
-0.375612735748291,
0.2863903343677521,
0.07052898406982422,
-0.7121409177780151,
0.19630323350429535,
0.13456480205059052,
0.6982996463775635,
0.7942854762077332,
-0.28697529435157776,
0.039106812328100204,
-0.3684675693511963,
0.5292080640792847,
-0.5628474354743958,
0.5490710139274597,
0.5425589084625244,
0.2852165102958679,
0.08696745336055756,
-0.7483144998550415,
-0.5893719792366028,
-0.3102605938911438,
-0.04825441166758537,
0.35114777088165283,
0.02370459958910942,
0.1496192365884781,
0.3222879469394684,
0.28048667311668396,
-0.5322797894477844,
0.07101605832576752,
-0.6535065174102783,
-0.07104052603244781,
0.6557286977767944,
0.06652265787124634,
0.12600131332874298,
-0.1322333663702011,
-0.49424538016319275,
-0.16391029953956604,
-0.5915276408195496,
0.25115087628364563,
0.194623664021492,
-0.08326426893472672,
0.15156139433383942,
0.5439250469207764,
-0.3701326847076416,
0.9424169659614563,
0.061260342597961426,
-0.08918877691030502,
0.22258003056049347,
-0.38029465079307556,
-0.45329999923706055,
-0.19537551701068878,
0.6894615292549133,
0.49631601572036743,
0.4722161591053009,
0.036943357437849045,
-0.38112199306488037,
-0.16048488020896912,
0.24045433104038239,
-0.7536159157752991,
-0.4295671582221985,
0.024940868839621544,
-0.4599955677986145,
-0.22255158424377441,
-0.2852321267127991,
-0.5968118906021118,
-0.2901321053504944,
-0.5624071359634399,
0.473671019077301,
-0.38114920258522034,
0.009593898430466652,
0.21732904016971588,
-0.09659826010465622,
0.48920387029647827,
0.4452372193336487,
-1.0010576248168945,
-0.19402948021888733,
0.18502207100391388,
0.49927130341529846,
-0.13799691200256348,
-0.5162859559059143,
-0.42090466618537903,
0.12188548594713211,
-0.5021483302116394,
0.8808696866035461,
-0.4825531542301178,
-0.13705690205097198,
-0.15642130374908447,
0.022282257676124573,
-0.11473869532346725,
-0.6171559691429138,
0.06451293081045151,
-0.5165253281593323,
-0.05879152938723564,
-0.0026452946476638317,
-0.4602389335632324,
0.03719134256243706,
0.2985191345214844,
-0.4560970067977905,
0.9640108346939087,
-0.05278172343969345,
-0.6988667249679565,
0.25734734535217285,
-0.4238680303096771,
-0.40138235688209534,
0.24136511981487274,
-0.36700284481048584,
-0.2722857892513275,
0.16553758084774017,
0.7457001805305481,
0.4841204285621643,
-0.03944326192140579,
0.07438426464796066,
-0.3610018491744995,
-0.19603952765464783,
0.19983422756195068,
-0.4410160779953003,
0.4054386019706726,
0.2824746072292328,
-0.09914879500865936,
0.250097393989563,
-0.6086853742599487,
0.25314193964004517,
0.35522085428237915,
-0.1562652289867401,
-0.13615550100803375,
-0.2031983733177185,
-0.32107773423194885,
-0.014689815230667591,
0.3444785177707672,
-0.3562828004360199,
0.18326526880264282,
-0.5138524174690247,
0.4315066337585449,
0.7614349126815796,
-0.019582003355026245,
0.5117166638374329,
0.08726586401462555,
0.4084506034851074,
0.08138615638017654,
0.45233863592147827,
-0.6139307618141174,
-0.280534029006958,
-1.017967700958252,
-0.16596345603466034,
0.030068738386034966,
0.5377868413925171,
-1.3498140573501587,
0.021862098947167397,
-0.17872443795204163,
-0.2734438478946686,
-0.7001519799232483,
0.4654882550239563,
0.3666723966598511,
0.7110660672187805,
0.6301264762878418,
-0.21012605726718903,
-0.32249385118484497,
-1.050898551940918,
-0.16504396498203278,
0.010585016570985317,
0.011713466607034206,
0.43086206912994385,
0.5433537364006042,
-0.14585193991661072,
0.845183253288269,
-0.40852323174476624,
-0.30674269795417786,
-0.2922986149787903,
-0.15075527131557465,
-0.1310833990573883,
0.370926171541214,
0.4065893292427063,
-0.6125584840774536,
-0.39475134015083313,
-0.22715483605861664,
-0.8308479189872742,
0.11995227634906769,
-0.22171296179294586,
-0.03399621322751045,
0.33607903122901917,
0.7282792925834656,
-0.23821106553077698,
0.68921959400177,
0.5402029752731323,
-0.31172975897789,
0.6203420162200928,
-0.5514878034591675,
0.1425548791885376,
-0.7619084119796753,
-0.12909388542175293,
0.07893365621566772,
-0.36537966132164,
-0.5492510199546814,
0.2959059774875641,
0.21155980229377747,
-0.19376890361309052,
-0.5973345637321472,
0.5428840517997742,
-0.5649939775466919,
-0.1975833773612976,
-0.33451932668685913,
-0.09654650092124939,
0.0550684854388237,
0.5287443995475769,
0.27970412373542786,
0.9256969094276428,
1.0514330863952637,
-0.4795127213001251,
0.5506793856620789,
0.1496972292661667,
-0.5404800772666931,
0.39504119753837585,
-0.8793379664421082,
0.2203189879655838,
-0.4581104815006256,
0.14988276362419128,
-0.8776808381080627,
-0.2419331967830658,
0.39044836163520813,
-0.27367860078811646,
0.2777215540409088,
-0.3311007022857666,
-0.2910917103290558,
-0.5873621106147766,
0.0018187593668699265,
0.5133905410766602,
0.40743115544319153,
-1.0233569145202637,
0.6661901473999023,
0.17743515968322754,
0.2727881669998169,
-0.7185099720954895,
-0.8284120559692383,
0.20510242879390717,
-0.08905107527971268,
-0.6644880771636963,
-0.05750375613570213,
-0.26833993196487427,
0.13995972275733948,
-0.099300317466259,
-0.15307261049747467,
-0.12098623067140579,
-0.0020689296070486307,
0.23390571773052216,
0.3077566921710968,
-0.12859058380126953,
0.3791457414627075,
-0.2021510750055313,
-0.14864091575145721,
0.04633728787302971,
-0.48534688353538513,
0.3249119222164154,
-0.25285816192626953,
-0.37842845916748047,
-0.4972369372844696,
0.12984678149223328,
0.34737563133239746,
-0.7428960800170898,
0.48221564292907715,
0.5357891321182251,
-0.0029470245353877544,
-0.4344385862350464,
-0.5519695281982422,
-0.28090691566467285,
-0.5199976563453674,
0.2645012140274048,
-0.6356487274169922,
-0.8774851560592651,
0.15721948444843292,
0.18148091435432434,
-0.1308678239583969,
0.15336230397224426,
0.26988115906715393,
-0.5493362545967102,
1.0053651332855225,
0.37201666831970215,
0.18207241594791412,
0.5380334258079529,
-0.3431881070137024,
0.045422498136758804,
-0.74485844373703,
-0.18716228008270264,
0.1346864551305771,
-0.24292829632759094,
-0.06278548389673233,
-0.6574628949165344,
0.1997193694114685,
-0.12501178681850433,
-0.12295258045196533,
0.030744923278689384,
-0.6579081416130066,
0.8779643177986145,
0.7242241501808167,
0.3220234513282776,
0.270821750164032,
0.3218382000923157,
0.2256077527999878,
0.096770741045475,
-0.6313854455947876,
-0.1833510398864746,
0.9843931198120117,
0.45493295788764954,
1.141470193862915,
-0.48414134979248047,
0.6435362100601196,
-0.044774413108825684,
0.0003532409609761089,
-0.8121403455734253,
0.6931321620941162,
-0.25670602917671204,
-0.37727615237236023,
-0.46455201506614685,
-0.48380905389785767,
-0.8303401470184326,
0.3332616686820984,
-0.2013121247291565,
-0.4700329601764679,
0.23805537819862366,
0.633597731590271,
-0.37474483251571655,
0.24560068547725677,
-0.7246292233467102,
1.23391592502594,
-0.8083128333091736,
-0.2685059905052185,
-0.23986342549324036,
-0.6699975728988647,
0.31778818368911743,
-0.022772708907723427,
-0.10836425423622131,
-0.05289067327976227,
0.07264835387468338,
0.5268727540969849,
-0.1616891324520111,
0.9166975021362305,
-0.22483165562152863,
-0.03288460895419121,
0.3169311583042145,
-0.047764793038368225,
0.25347572565078735,
0.05603974685072899,
0.3142629563808441,
0.2000521570444107,
0.2895135283470154,
-0.43501991033554077,
-0.6836137771606445,
0.47186997532844543,
-0.7678022384643555,
-0.8186779618263245,
-0.1992325484752655,
-0.41890567541122437,
-0.25552454590797424,
0.1620670109987259,
0.2516615688800812,
0.5498096942901611,
0.17762352526187897,
0.2537948489189148,
0.7551501393318176,
-0.29828301072120667,
0.3911266326904297,
0.27654942870140076,
-0.29379287362098694,
-0.5021535754203796,
0.9253625869750977,
-0.03227052092552185,
0.2531249225139618,
0.10236968100070953,
0.14883030951023102,
-0.4248073399066925,
-0.6870834827423096,
-0.7484947443008423,
0.21780942380428314,
-0.9743126630783081,
-0.26310965418815613,
-0.4212573170661926,
-0.13327957689762115,
-0.39407673478126526,
0.0018536937423050404,
-0.4372805953025818,
-0.16172516345977783,
-0.45192867517471313,
0.008293439634144306,
0.14437758922576904,
0.5641505718231201,
0.1447686403989792,
0.26980850100517273,
-0.5683868527412415,
0.4984623193740845,
0.6564658284187317,
0.4491688311100006,
-0.038576871156692505,
-0.8742066621780396,
-0.2817299962043762,
0.1278742551803589,
-0.0035060271620750427,
-0.7910434007644653,
0.4096001088619232,
0.2805907130241394,
0.5862777233123779,
0.2693905532360077,
0.07597529888153076,
0.9887889623641968,
-0.43318066000938416,
0.5261038541793823,
0.3012149930000305,
-0.692226767539978,
0.8414763808250427,
-0.09468358755111694,
0.39862388372421265,
0.6085735559463501,
0.046002257615327835,
-0.2334490418434143,
-0.2698693573474884,
-0.3742840588092804,
-0.6889773011207581,
0.6046331524848938,
-0.14783693850040436,
0.24435442686080933,
0.2754378914833069,
0.583549976348877,
-0.13381190598011017,
-0.07477530092000961,
-0.854608952999115,
-0.21755215525627136,
-0.7812788486480713,
-0.408720463514328,
-0.17594806849956512,
-0.22442923486232758,
-0.1962672919034958,
-0.5672419667243958,
0.44572561979293823,
-0.51497483253479,
0.0058038001880049706,
0.47965380549430847,
-0.38401827216148376,
0.04249405488371849,
0.04723810404539108,
0.4587446451187134,
0.7549698948860168,
0.21168337762355804,
0.37702301144599915,
0.4088665843009949,
-0.16099967062473297,
-0.03143259510397911,
-0.06044109910726547,
-0.18803349137306213,
-0.4871370196342468,
0.2649988830089569,
1.1792443990707397,
-0.07512784004211426,
-0.7400091886520386,
0.6097638010978699,
-0.28509241342544556,
-0.3383117914199829,
-0.40936514735221863,
0.1820620894432068,
-0.022135723382234573,
0.3884987533092499,
0.31563177704811096,
0.03099561110138893,
0.08988623321056366,
-0.309673547744751,
0.16058139503002167,
0.4669322967529297,
-0.26411867141723633,
-0.009396943263709545,
0.42139390110969543,
0.10691908746957779,
0.17884573340415955,
0.6579940319061279,
-0.11616326123476028,
-0.4144754111766815,
0.660006046295166,
0.6819942593574524,
0.46850821375846863,
-0.02075166255235672,
0.34836554527282715,
0.45635512471199036,
0.4481202960014343,
-0.0851605087518692,
0.16321100294589996,
-0.2044689804315567,
-0.7837824821472168,
-0.4347027540206909,
-0.5880067348480225,
-0.0950564369559288,
0.23187373578548431,
-0.3673548996448517,
-0.06908151507377625,
-0.49360519647598267,
0.17031703889369965,
-0.21996216475963593,
-0.3594825565814972,
-0.8467321395874023,
0.46405452489852905,
0.4866509735584259,
1.0043715238571167,
-0.5541595220565796,
0.9296292662620544,
0.8020921349525452,
-0.4971151351928711,
-0.942303478717804,
-0.14557577669620514,
-0.5661866068840027,
-1.2753957509994507,
0.7914073467254639,
0.3525587022304535,
-0.15659651160240173,
0.21742531657218933,
-0.8839660882949829,
-0.7645791172981262,
0.9509803652763367,
0.4305151104927063,
-0.6555624604225159,
0.14271052181720734,
0.05904894694685936,
0.5334151983261108,
-0.5980494022369385,
0.15156063437461853,
0.4884929656982422,
0.39905864000320435,
0.48021385073661804,
-0.6113587021827698,
-0.018621882423758507,
-0.07070144265890121,
0.06742490828037262,
-0.19107520580291748,
-0.49031955003738403,
0.24940861761569977,
-0.5389065146446228,
-0.31128591299057007,
0.04130028933286667,
0.7574649453163147,
0.0598476305603981,
0.5142093300819397,
0.8167433738708496,
0.6977846622467041,
0.5355402231216431,
0.08818112313747406,
0.931527316570282,
-0.42245128750801086,
0.14643055200576782,
1.289416790008545,
0.10772044956684113,
0.9664215445518494,
0.5300176739692688,
0.22304455935955048,
0.24306771159172058,
0.7837297320365906,
-0.30690374970436096,
0.47880658507347107,
-0.09274541586637497,
-0.08256909996271133,
-0.871530294418335,
0.11712038516998291,
-0.24511417746543884,
0.6226931810379028,
0.2078666090965271,
-0.470431923866272,
0.07048908621072769,
0.3963117003440857,
-0.7041202187538147,
-0.14266149699687958,
-0.5854590535163879,
0.9702144861221313,
0.09285382181406021,
-0.8236280083656311,
0.6407954692840576,
-0.44346633553504944,
0.38808512687683105,
-0.39985331892967224,
0.18824759125709534,
-0.2525601387023926,
0.055241748690605164,
-0.19611279666423798,
-1.1351321935653687,
0.13935264945030212,
-0.17190708220005035,
0.053778134286403656,
-0.3488369584083557,
0.9486585259437561,
-0.6098678708076477,
-0.48929205536842346,
0.13369618356227875,
0.46495863795280457,
0.18671759963035583,
-0.23496630787849426,
-0.8778536319732666,
-0.04369242489337921,
0.2255898118019104,
-0.20629340410232544,
0.07951578497886658,
0.24097807705402374,
0.25427892804145813,
0.9926661252975464,
0.6751981377601624,
-0.03692186623811722,
0.05470513924956322,
0.2353019118309021,
0.8922833204269409,
-0.6950705051422119,
-0.42473313212394714,
-0.6757104396820068,
0.4921475052833557,
-0.12504516541957855,
-0.1861264407634735,
0.5334012508392334,
0.2690185010433197,
0.8621678352355957,
-0.3862803876399994,
0.6444908976554871,
0.33770397305488586,
0.06736216694116592,
-0.703516960144043,
0.5626457333564758,
-0.9403318762779236,
0.028730856254696846,
0.3135720193386078,
-0.6925736665725708,
-0.3153577744960785,
0.7548378109931946,
-0.42386916279792786,
-0.006430244538933039,
0.5330303311347961,
0.9004711508750916,
-0.14634403586387634,
-0.26011520624160767,
0.6269215941429138,
0.0480290986597538,
0.09256033599376678,
0.38754528760910034,
1.1819205284118652,
-0.21070030331611633,
0.7722474336624146,
-0.29144051671028137,
-0.14405584335327148,
-0.06384599953889847,
-0.6045024991035461,
-1.1012165546417236,
-0.5357102751731873,
-0.2681736350059509,
-0.05469757318496704,
0.032804716378450394,
0.5822658538818359,
0.8763166069984436,
-0.45717093348503113,
0.07289835810661316,
-0.033350396901369095,
-0.03602563962340355,
0.15863101184368134,
-0.12003713846206665,
0.1861145943403244,
-0.5045518279075623,
-0.42687228322029114,
0.5635183453559875,
0.4286099970340729,
0.3198699355125427,
-0.46184906363487244,
-0.21284566819667816,
0.2954026460647583,
-0.0007752347155474126,
0.6117810606956482,
0.5033988356590271,
-0.8332926630973816,
-0.36902421712875366,
0.05670640990138054,
-0.036756888031959534,
0.23751404881477356,
0.6181102991104126,
-0.8687760829925537,
0.8664450645446777,
0.4037422835826874,
0.6568249464035034,
0.7409265041351318,
0.13717472553253174,
0.2108851671218872,
-0.6289293766021729,
-0.06221006065607071,
-0.051414113491773605,
0.6097655296325684,
0.5970700979232788,
-0.27819791436195374,
0.4046763479709625,
0.2085544914007187,
-0.6402701735496521,
-0.5499585270881653,
0.44197744131088257,
-1.0154404640197754,
-0.4429044723510742,
1.1036365032196045,
-0.0008436295320279896,
-0.5271221399307251,
0.07707597315311432,
-0.4595312774181366,
-0.0031208067666739225,
-0.1372404545545578,
0.6169081330299377,
0.21395745873451233,
-0.13855229318141937,
-0.839474081993103,
-0.3667002022266388,
0.4471481442451477,
0.5401256680488586,
-0.8446598649024963,
0.13671977818012238,
0.5849876999855042,
0.4017527997493744,
-0.12762139737606049,
0.6646010279655457,
0.28767669200897217,
0.33577439188957214,
-0.1566777229309082,
0.17185334861278534,
-0.38947826623916626,
-0.5532512068748474,
-0.39240792393684387,
-0.06412260979413986,
0.11138280481100082,
-0.3286990821361542
] |
http://arxiv.org/abs/2405.19715v2
|
http://arxiv.org/pdf/2405.19715v2
|
SpecDec++: Boosting Speculative Decoding via Adaptive Candidate Lengths
| 2024-05-30T05:49:38 | 2024-06-21T01:01:42 |
Kaixuan Huang, Xudong Guo, Mengdi Wang
|
cs.CL
|
cs.CL, cs.AI, cs.LG
|
Speculative decoding reduces the inference latency of a target large language
model via utilizing a smaller and faster draft model. Its performance depends
on a hyperparameter K -- the candidate length, i.e., the number of candidate
tokens for the target model to verify in each round. However, previous methods
often use simple heuristics to choose K, which may result in sub-optimal
performance. We study the choice of the candidate length K and formulate it as
a Markov Decision Process. We theoretically show that the optimal policy of
this Markov decision process takes the form of a threshold policy, i.e., the
current speculation should stop and be verified when the probability of getting
a rejection exceeds a threshold value. Motivated by this theory, we propose
SpecDec++, an enhanced version of speculative decoding that adaptively
determines the candidate length on the fly. We augment the draft model with a
trained acceptance prediction head to predict the conditional acceptance
probability of the candidate tokens. SpecDec++ will stop the current
speculation when the predicted probability that at least one token gets
rejected exceeds a threshold. We implement SpecDec++ and apply it to the
llama-2-chat 7B & 70B model pair. Our adaptive method achieves a 2.04x speedup
on the Alpaca dataset (an additional 7.2% improvement over the baseline
speculative decoding). On the GSM8K and HumanEval datasets, our method achieves
a 2.26x speedup (9.4% improvement) and 2.23x speedup (11.1% improvement),
respectively.
|
[
-0.7069451808929443,
-0.5954794883728027,
0.5721688866615295,
0.47310715913772583,
-0.45631733536720276,
0.6432290077209473,
-0.3275526762008667,
-1.074600338935852,
0.703467845916748,
0.3522927761077881,
-0.42409268021583557,
-0.3321419954299927,
-0.5876166820526123,
0.18207035958766937,
-0.31410494446754456,
0.8340807557106018,
-0.024202248081564903,
-0.23621593415737152,
0.1882966309785843,
0.31066685914993286,
-0.3387413024902344,
-0.5293518900871277,
-0.8398649096488953,
0.265610933303833,
0.32230591773986816,
0.6646715998649597,
0.5692177414894104,
0.7577568888664246,
0.3558630049228668,
0.12740060687065125,
-0.44010475277900696,
0.46286624670028687,
-0.32038888335227966,
0.18445566296577454,
0.2754319906234741,
-0.6161395907402039,
-0.7314243912696838,
-0.22429020702838898,
0.7135240435600281,
0.3091912567615509,
-0.1385602205991745,
0.016766350716352463,
-0.3223477303981781,
0.43014010787010193,
-1.0946693420410156,
-0.09882572293281555,
-0.8517253994941711,
-0.27357518672943115,
-0.42664843797683716,
-0.7005720734596252,
-0.5999405384063721,
-0.3925001621246338,
-0.04509192332625389,
-0.5375240445137024,
0.20484186708927155,
-0.11252208054065704,
0.6347454786300659,
0.03131859377026558,
-0.48416540026664734,
-0.2867971360683441,
-0.8467124104499817,
0.5748814940452576,
-0.5331589579582214,
0.4162887930870056,
0.6113384962081909,
0.2142239660024643,
-0.08110866695642471,
-0.2927126884460449,
-0.42725998163223267,
-0.3858230710029602,
0.27466922998428345,
0.2994895577430725,
0.1860133856534958,
0.10774477571249008,
0.3868439793586731,
0.2847364544868469,
-0.3862917125225067,
0.2890317440032959,
-0.5902904868125916,
-0.59489506483078,
0.37373730540275574,
0.36144131422042847,
-0.3076721131801605,
-0.019403621554374695,
-0.29787030816078186,
-0.07297633588314056,
-0.5569847822189331,
0.29141828417778015,
0.719519853591919,
0.06072160229086876,
-0.046221040189266205,
0.2320677489042282,
-0.5124574899673462,
0.7324730753898621,
0.12486563622951508,
0.2110777497291565,
0.3378022313117981,
-0.40179896354675293,
0.3620756268501282,
0.3638741672039032,
0.3501589894294739,
0.27053648233413696,
-0.022105742245912552,
-0.07652350515127182,
-0.04698166623711586,
0.6972797513008118,
0.21106034517288208,
-0.8341375589370728,
-0.04161622375249863,
0.39085689187049866,
-0.2381761521100998,
-0.41767755150794983,
-0.23400339484214783,
-0.5979008078575134,
-0.15973518788814545,
0.16863848268985748,
-0.0017286076908931136,
-0.5073158740997314,
-0.4324316084384918,
0.9156177043914795,
-0.3630470037460327,
0.23100662231445312,
0.17760244011878967,
-1.0490522384643555,
0.6570309400558472,
0.7573546767234802,
0.8599955439567566,
-0.31026655435562134,
-0.18454626202583313,
-0.5317440032958984,
-0.1576794981956482,
-0.7412120699882507,
1.0039530992507935,
-0.8205907344818115,
-0.574253499507904,
-0.3013514280319214,
-0.09849866479635239,
0.038304928690195084,
-0.11968446522951126,
1.2914693355560303,
-0.7703051567077637,
-0.14274632930755615,
-0.3194955289363861,
-0.6140868067741394,
0.017403656616806984,
0.27113398909568787,
-0.6192601919174194,
0.9101176857948303,
-0.025149300694465637,
-1.0054633617401123,
0.8976274728775024,
-0.7517075538635254,
-0.39808547496795654,
0.14754965901374817,
0.28999730944633484,
-0.1121697872877121,
-0.09612435847520828,
0.37300118803977966,
0.26530221104621887,
-0.1490563154220581,
-0.10966373980045319,
-0.3724094331264496,
-0.8411825895309448,
0.28425008058547974,
-0.6127402782440186,
0.5653483867645264,
0.3435932397842407,
-0.10833190381526947,
0.2396453469991684,
-1.1465104818344116,
0.15451982617378235,
-0.26173990964889526,
-0.6120986342430115,
-0.3460681736469269,
0.337401419878006,
-0.00811048038303852,
0.10394192487001419,
0.06394285708665848,
-0.9140059351921082,
0.1690400391817093,
-0.567072868347168,
0.35086384415626526,
0.7312410473823547,
0.10382940620183945,
0.46419283747673035,
-0.31146085262298584,
0.6126683950424194,
-0.15277506411075592,
0.2617478668689728,
-0.20608355104923248,
-0.3492520749568939,
-0.7427892088890076,
-0.42370545864105225,
0.27211833000183105,
0.5043445825576782,
-0.6738660335540771,
0.40772414207458496,
-0.21671544015407562,
-0.5420083999633789,
-0.597123920917511,
-0.28047215938568115,
-0.009983774274587631,
0.28827762603759766,
0.31107425689697266,
-0.5553716421127319,
-1.0017187595367432,
-0.5699719786643982,
0.025562012568116188,
-0.3306400775909424,
0.1650489717721939,
0.21635504066944122,
0.016083484515547752,
-0.24271056056022644,
0.4543064534664154,
-0.5110059380531311,
0.3019038438796997,
-0.07896172255277634,
-0.2912044823169708,
0.4713641405105591,
0.5680039525032043,
0.6470658779144287,
-0.5444145798683167,
-0.40366655588150024,
-0.15576376020908356,
-0.07649748027324677,
0.2795668840408325,
-0.10091377794742584,
-0.24263158440589905,
0.14993511140346527,
0.2546805143356323,
-0.6866752505302429,
0.1424514204263687,
0.7177057862281799,
-0.6980112195014954,
1.0309460163116455,
-0.3763445019721985,
0.276818186044693,
-1.1398429870605469,
-0.22631937265396118,
0.01753617450594902,
-0.3510538637638092,
-0.43299487233161926,
0.09388434141874313,
0.3479826748371124,
0.19643612205982208,
-0.42365992069244385,
0.2098855823278427,
-0.2465132772922516,
0.05794061720371246,
-0.43164294958114624,
-0.33323392271995544,
-0.019551413133740425,
0.17081765830516815,
0.43279150128364563,
0.9259796738624573,
0.87581866979599,
-0.7748576998710632,
0.4905865788459778,
-0.07065026462078094,
-0.6088084578514099,
0.1993546038866043,
-0.24350708723068237,
0.13453225791454315,
0.07589273899793625,
0.791662335395813,
-0.8345151543617249,
-0.025906803086400032,
0.37659767270088196,
-0.42863109707832336,
0.041003983467817307,
-0.11017237603664398,
-0.28554776310920715,
-0.6250964999198914,
-0.5242761373519897,
0.6440038681030273,
0.43078792095184326,
-0.5227648019790649,
0.10513804107904434,
0.135738804936409,
0.2879090905189514,
-0.6404103636741638,
-0.44646942615509033,
0.4145704209804535,
-0.16774559020996094,
-0.5730034708976746,
0.4166443943977356,
-0.29000037908554077,
0.07211718708276749,
-0.2445911020040512,
-0.06707798689603806,
-0.038758255541324615,
0.2829431891441345,
0.10505375266075134,
0.3664344549179077,
-0.276485413312912,
-0.2208716720342636,
0.20850318670272827,
-0.44567057490348816,
-0.04816659167408943,
-0.6280695199966431,
0.6831899285316467,
-0.023699546232819557,
-0.05232907459139824,
-0.44849589467048645,
0.4608575105667114,
0.5666677355766296,
-0.2161075919866562,
0.7340816259384155,
0.7044322490692139,
-0.1728331595659256,
-0.11410877108573914,
-0.5881872177124023,
-0.373151957988739,
-0.4793529808521271,
0.451518714427948,
-0.762736976146698,
-0.9258501529693604,
0.8447093963623047,
0.07568588852882385,
-0.04982088878750801,
0.3457721769809723,
0.6103820204734802,
0.20635300874710083,
1.0489931106567383,
0.8678731918334961,
-0.11212530732154846,
0.5034809708595276,
-0.15074415504932404,
-0.18162892758846283,
-0.8059488534927368,
-0.16595809161663055,
-0.42249688506126404,
-0.19192327558994293,
-0.6001538634300232,
-0.5623791813850403,
0.06985506415367126,
-0.13754743337631226,
0.12518732249736786,
0.6711713671684265,
-0.5465911626815796,
0.6767362356185913,
0.30187347531318665,
0.2796063721179962,
0.2660779058933258,
-0.0741826519370079,
0.027502819895744324,
-0.01010463759303093,
-0.70432049036026,
-0.03477409854531288,
1.2315020561218262,
0.4511411488056183,
0.8058327436447144,
-0.07367230206727982,
0.5380234718322754,
0.3538898527622223,
-0.040701158344745636,
-0.8393799066543579,
0.45831170678138733,
-0.05998300015926361,
-0.5632850527763367,
-0.0424809530377388,
-0.5039970874786377,
-0.5474843978881836,
0.05211958289146423,
-0.2863450050354004,
-0.781829833984375,
0.884483277797699,
0.10975465923547745,
-0.34147900342941284,
0.4180580675601959,
-0.657794713973999,
0.3228672444820404,
0.05679140239953995,
-0.04863331839442253,
-0.5822678208351135,
-0.18243065476417542,
0.47855621576309204,
-0.17309483885765076,
-0.06778386980295181,
-0.17114964127540588,
-0.29990172386169434,
0.8003794550895691,
-0.1498907208442688,
0.37331730127334595,
0.011609653010964394,
-0.3573439419269562,
0.15474380552768707,
0.37619704008102417,
0.8645986318588257,
0.23575425148010254,
-0.6019821763038635,
-0.1064080148935318,
0.41737648844718933,
-0.7010372281074524,
-0.14493349194526672,
0.5532711148262024,
-0.6473228335380554,
-0.4058590233325958,
-0.15064264833927155,
-0.5108973979949951,
-0.40304771065711975,
-0.19060438871383667,
0.5723853707313538,
0.4069996178150177,
-0.08658594638109207,
0.06370745599269867,
0.33989977836608887,
0.11755742877721786,
0.32521769404411316,
0.6658591628074646,
0.10543637722730637,
-0.12418532371520996,
1.0303550958633423,
-0.04102742299437523,
0.36053675413131714,
0.2429077923297882,
-0.11864636093378067,
-0.24682669341564178,
-0.7957818508148193,
-0.44736453890800476,
-0.12296175211668015,
-0.6898514032363892,
-0.044856805354356766,
-0.6743006110191345,
-0.25900477170944214,
-0.17580141127109528,
-0.18442696332931519,
-0.5128272175788879,
-0.5807181596755981,
-0.19172605872154236,
-0.3711963891983032,
0.6419528126716614,
0.06357910484075546,
-0.2542828917503357,
0.19966283440589905,
-0.4893016219139099,
0.1723688691854477,
-0.17037969827651978,
0.6294851303100586,
-0.014759073033928871,
-0.8252876400947571,
-0.3600895404815674,
0.0401262491941452,
0.24338960647583008,
-0.69548499584198,
0.06766735762357712,
0.23553305864334106,
0.16885076463222504,
0.5553847551345825,
0.1346409171819687,
0.6731585264205933,
-0.3345455825328827,
0.39943721890449524,
-0.016781682148575783,
-0.7463926076889038,
0.33250242471694946,
-0.318254292011261,
0.2367214411497116,
0.37667661905288696,
0.3487071394920349,
-0.7566941380500793,
-0.6061937808990479,
-0.4695332646369934,
-0.7716026902198792,
0.7171533703804016,
0.045302074402570724,
0.43202900886535645,
-0.28034716844558716,
0.5075212121009827,
0.3213804364204407,
-0.36747947335243225,
-0.005629491060972214,
-0.07745055109262466,
-0.08235207945108414,
0.2321784645318985,
-0.09990475326776505,
-0.8450025320053101,
0.06263476610183716,
-0.2838049829006195,
0.597412109375,
-0.16769513487815857,
0.24357755482196808,
0.10062626004219055,
0.08608534187078476,
-0.1315527707338333,
0.4219009280204773,
0.5695154070854187,
0.8439837098121643,
-0.6430429816246033,
0.13387781381607056,
0.3255907893180847,
-0.7922984957695007,
0.30241474509239197,
0.08010050654411316,
0.07278469204902649,
-0.019779738038778305,
0.2382904589176178,
0.9938578009605408,
-0.12625521421432495,
-0.6671082377433777,
0.20964142680168152,
-0.4111088216304779,
-0.4427551031112671,
0.05002400651574135,
0.24593283236026764,
-0.12847472727298737,
0.09126929938793182,
0.5225892066955566,
0.5504663586616516,
0.2788586914539337,
-0.3219042122364044,
0.34456998109817505,
0.16631761193275452,
-0.35997048020362854,
-0.5012229084968567,
0.41912558674812317,
0.2577897310256958,
-0.07131844013929367,
0.13236357271671295,
-0.37354961037635803,
-0.45284193754196167,
0.8858664631843567,
0.8161574006080627,
0.65485680103302,
-0.06388575583696365,
0.34826144576072693,
0.34991809725761414,
0.2674490809440613,
-0.3213294744491577,
0.46344491839408875,
-0.3253174126148224,
-0.9524945020675659,
-0.7407360076904297,
-0.6093329787254333,
-0.4227331876754761,
-0.08360463380813599,
-0.6435866355895996,
0.06649886071681976,
-0.5702794790267944,
-0.44416263699531555,
0.006516384892165661,
0.21546922624111176,
-0.5773010849952698,
0.012211591936647892,
0.10619353502988815,
1.4174271821975708,
-0.7454769611358643,
0.9949168562889099,
0.24813780188560486,
0.1558866798877716,
-0.7006971836090088,
0.0143438670784235,
-0.25687238574028015,
-0.5992787480354309,
0.22905385494232178,
-0.05705535411834717,
-0.08340981602668762,
0.11882246285676956,
-0.19611646234989166,
-1.0066817998886108,
0.5490581393241882,
0.4351521134376526,
-0.664499819278717,
0.16816633939743042,
-0.3430253267288208,
0.49436986446380615,
-0.3053879737854004,
0.3311046361923218,
0.8485076427459717,
0.20496347546577454,
0.28667381405830383,
-0.8736773729324341,
0.2279348224401474,
-0.26410430669784546,
-0.1471533328294754,
0.20876134932041168,
-0.5293257832527161,
0.6654324531555176,
-0.2514275908470154,
-0.24419420957565308,
0.16820627450942993,
0.46381404995918274,
0.05273474380373955,
-0.26585057377815247,
0.5221776366233826,
0.2421962469816208,
0.822757363319397,
0.16210342943668365,
1.1348121166229248,
-0.5116844177246094,
0.11915320158004761,
0.6980383396148682,
-0.19413185119628906,
0.9281790852546692,
0.22794543206691742,
-0.26784855127334595,
0.5595667958259583,
1.1221522092819214,
0.13704504072666168,
0.4166485071182251,
-0.1612848937511444,
-0.44192400574684143,
-0.6414809226989746,
-0.1529349684715271,
-0.4311862885951996,
0.3477763831615448,
0.6362015604972839,
-0.02407817170023918,
-0.09735657274723053,
-0.02230212092399597,
-0.3229992985725403,
-0.05640559270977974,
-0.2638837695121765,
0.5971776843070984,
-0.10344327241182327,
-0.5830451250076294,
1.1062184572219849,
0.41350728273391724,
1.1389987468719482,
-0.6708118319511414,
0.3830563724040985,
-0.12607169151306152,
0.3373929560184479,
-0.27071255445480347,
-0.7432254552841187,
0.25087764859199524,
-0.0014113603392615914,
-0.41261184215545654,
0.2180599719285965,
0.7441985607147217,
-0.27561071515083313,
-0.6642099618911743,
0.459692120552063,
-0.011572642251849174,
0.06975401192903519,
-0.005083165597170591,
-0.5033279061317444,
0.3262072801589966,
-0.25702863931655884,
0.028412610292434692,
0.20881570875644684,
0.16933824121952057,
-0.2809441387653351,
0.786827027797699,
1.0976009368896484,
0.6072446703910828,
0.029802164062857628,
0.15065087378025055,
0.9457027316093445,
-0.5952085256576538,
-1.0317507982254028,
-0.8799391388893127,
-0.01028332207351923,
0.1210138201713562,
-0.16496652364730835,
0.6380150318145752,
0.570010781288147,
0.6179540157318115,
0.1436704844236374,
0.5370854735374451,
0.12787525355815887,
0.3867308497428894,
-0.45432859659194946,
0.3467748165130615,
-0.13608361780643463,
0.41590946912765503,
-0.22905418276786804,
-0.8517757654190063,
-0.059816889464855194,
0.14572636783123016,
-0.39681485295295715,
-0.3589220643043518,
0.4621985852718353,
0.9565002918243408,
-0.08105583488941193,
0.01360875554382801,
0.11511856317520142,
-0.07868081331253052,
0.36429283022880554,
1.0069084167480469,
0.9036247134208679,
-0.34054356813430786,
0.699859619140625,
-0.036081138998270035,
-0.17446431517601013,
-0.28179073333740234,
-0.6151220798492432,
-0.6011202931404114,
-0.4295523464679718,
-0.04731401801109314,
-0.5664089918136597,
0.33981871604919434,
0.702246904373169,
0.8529715538024902,
-0.5736343860626221,
-0.2699359357357025,
-0.17457856237888336,
0.14231398701667786,
-0.47422733902931213,
-0.2076578438282013,
0.5097174048423767,
-0.3161805272102356,
-0.312579482793808,
0.5530977845191956,
0.30377405881881714,
-0.0765385851264,
-0.02927459217607975,
-0.32097652554512024,
-0.1736280620098114,
0.32614246010780334,
0.40809395909309387,
0.33981096744537354,
-0.36656641960144043,
-0.2320009022951126,
-0.007746831048280001,
-0.022750742733478546,
0.21906499564647675,
0.9358084797859192,
-1.0209836959838867,
0.5135940313339233,
0.5227665305137634,
0.566429078578949,
0.7535358667373657,
-0.07571136206388474,
0.6125362515449524,
-0.5257652401924133,
0.7448769211769104,
0.37173914909362793,
0.03130587935447693,
-0.028498148545622826,
-0.5656916499137878,
0.008463441394269466,
0.2467830926179886,
-0.08991557359695435,
-0.8506041169166565,
0.20442377030849457,
-0.899733304977417,
-0.35489705204963684,
1.0202076435089111,
0.11207025498151779,
-0.18767264485359192,
-0.0701480284333229,
-0.46731463074684143,
-0.11187075823545456,
-0.7420012950897217,
0.8862830996513367,
0.6092591285705566,
0.2606053650379181,
-0.157687246799469,
-0.22784432768821716,
0.9420359134674072,
0.28483548760414124,
-0.6035230159759521,
0.1561097949743271,
0.21218241751194,
0.332012414932251,
0.004205017816275358,
0.9801396727561951,
0.07680349797010422,
0.7378435730934143,
0.2996448874473572,
-0.3484632074832916,
-0.033769287168979645,
-0.28918692469596863,
-0.05514585226774216,
0.015859263017773628,
0.1995416134595871,
-0.32843518257141113
] |
http://arxiv.org/abs/2405.19701v2
|
http://arxiv.org/pdf/2405.19701v2
|
Significance of Chain of Thought in Gender Bias Mitigation for English-Dravidian Machine Translation
| 2024-05-30T05:26:57 | 2024-06-03T15:59:34 |
Lavanya Prahallad, Radhika Mamidi
|
cs.CL
|
cs.CL, cs.AI
|
Gender bias in machine translation (MT) sys- tems poses a significant
challenge to achieving accurate and inclusive translations. This paper examines
gender bias in machine translation systems for languages such as Telugu and
Kan- nada from the Dravidian family, analyzing how gender inflections affect
translation accuracy and neutrality using Google Translate and Chat- GPT. It
finds that while plural forms can reduce bias, individual-centric sentences
often main- tain the bias due to historical stereotypes. The study evaluates
the Chain of Thought process- ing, noting significant bias mitigation from 80%
to 4% in Telugu and from 40% to 0% in Kan- nada. It also compares Telugu and
Kannada translations, emphasizing the need for language specific strategies to
address these challenges and suggesting directions for future research to
enhance fairness in both data preparation and prompts during inference.
|
[
-0.2111068218946457,
-0.6634419560432434,
0.34820300340652466,
0.09484562277793884,
-0.2533763349056244,
0.3502567410469055,
0.07241126894950867,
-0.23265303671360016,
0.128068745136261,
0.36190733313560486,
-0.8117421865463257,
0.043921809643507004,
-0.6096366047859192,
0.37491530179977417,
-0.30929434299468994,
1.0162845849990845,
-0.35057178139686584,
0.5096628665924072,
0.14545468986034393,
-0.17775550484657288,
-1.075931191444397,
-0.6088352203369141,
-0.5363030433654785,
-0.38627901673316956,
0.19296011328697205,
0.2504839301109314,
0.9929680228233337,
0.4581143856048584,
0.5694466233253479,
0.2524048089981079,
-0.029266007244586945,
0.25903087854385376,
-0.4671074151992798,
0.5040081739425659,
-0.5475746989250183,
-0.6030219793319702,
-0.5425222516059875,
-0.0982261374592781,
0.9610275030136108,
0.7791680097579956,
-0.025963252410292625,
0.2892310917377472,
0.0018096185522153974,
1.2539469003677368,
-0.5589219331741333,
-0.03267573192715645,
-0.6404337882995605,
0.3332499563694,
-0.2233956754207611,
-0.13049834966659546,
-0.35422125458717346,
-0.46673521399497986,
0.05624007806181908,
-0.12570740282535553,
0.07172425091266632,
0.2764587998390198,
0.6955887675285339,
0.48567378520965576,
-0.5743802189826965,
-0.26436856389045715,
-0.9490177631378174,
0.9264776110649109,
-0.4814417362213135,
0.2505686581134796,
0.2623782157897949,
0.23215337097644806,
-0.42779621481895447,
-0.026328330859541893,
-0.5702604651451111,
0.32929903268814087,
0.006544198840856552,
0.01872638612985611,
-0.30355265736579895,
-0.10137805342674255,
0.45862168073654175,
0.3235446810722351,
-0.3495468199253082,
-0.053630925714969635,
-0.6067173480987549,
0.05906913802027702,
0.3353172242641449,
0.08389416337013245,
0.6118359565734863,
-0.3946659564971924,
-0.3340722322463989,
0.015180747956037521,
-0.7582188844680786,
-0.2871546447277069,
0.823323130607605,
0.19373765587806702,
0.06718391180038452,
0.7023395895957947,
0.02584521844983101,
0.561122715473175,
0.22840680181980133,
-0.13054971396923065,
0.2464304119348526,
-0.38624128699302673,
-0.3489440679550171,
0.2510714530944824,
0.8561805486679077,
0.31758537888526917,
0.38432085514068604,
0.10700665414333344,
-0.05891197547316551,
0.14668647944927216,
0.4392380714416504,
-0.4508834779262543,
0.4511522948741913,
0.038054004311561584,
-0.36794766783714294,
-0.09886208176612854,
-0.1744048297405243,
-0.8482769727706909,
-0.23634357750415802,
-0.27213558554649353,
0.03872993588447571,
-0.2601877450942993,
-0.4018988013267517,
-0.0795300230383873,
-0.33785828948020935,
0.11046580225229263,
0.21005746722221375,
-0.9002318978309631,
0.3244067430496216,
0.5523377656936646,
0.6452879905700684,
-0.1721448451280594,
-0.1932656466960907,
-0.2743128836154938,
0.22096467018127441,
-0.520989179611206,
0.483930379152298,
-0.5190104246139526,
-0.2275129109621048,
-0.320705771446228,
-0.43256819248199463,
-0.36370548605918884,
-0.31500354409217834,
0.5196160078048706,
-0.23384322226047516,
0.34161871671676636,
-0.36591482162475586,
-0.27245786786079407,
-0.1762036830186844,
-0.09998318552970886,
-0.5447878241539001,
0.8054049611091614,
0.10879700630903244,
-1.0120933055877686,
0.5887981057167053,
-0.3629404604434967,
-0.5499873161315918,
-0.15142245590686798,
-0.6274324655532837,
-0.3664391040802002,
0.0666668564081192,
0.3040270209312439,
0.07520805299282074,
-0.4487675726413727,
0.5221953988075256,
-0.17738386988639832,
-0.2894708812236786,
0.4250848591327667,
-0.4725445806980133,
0.7235663533210754,
0.4368172883987427,
-0.9113106727600098,
0.13876618444919586,
-0.18455074727535248,
-0.0037180695217102766,
-0.2217341661453247,
0.1263887584209442,
-0.349590927362442,
-0.08182892203330994,
-0.24500612914562225,
0.674126923084259,
-0.3318130373954773,
-0.2592938244342804,
0.150758758187294,
-0.2751266062259674,
0.593192458152771,
1.1014868021011353,
-0.3006795048713684,
0.737734317779541,
0.08603083342313766,
0.7876933217048645,
0.17511452734470367,
0.2315918654203415,
0.28939715027809143,
-0.8668497800827026,
-0.6750884056091309,
-0.1664869785308838,
0.2460283488035202,
0.607049822807312,
-0.9212846755981445,
0.20725058019161224,
-0.37940722703933716,
0.00491621159017086,
-0.870661199092865,
0.05084766075015068,
0.6365877389907837,
0.605400562286377,
0.10285386443138123,
-0.40125787258148193,
-0.6432904005050659,
-1.4141371250152588,
-0.5161605477333069,
-0.19526566565036774,
0.2228916734457016,
-0.07750221341848373,
0.7812186479568481,
-0.18520833551883698,
0.8787667155265808,
-0.3056631088256836,
-0.29022619128227234,
-0.27696847915649414,
0.08884789794683456,
0.02532215043902397,
0.4863293766975403,
0.2720075249671936,
-0.9004936814308167,
-0.39432787895202637,
-0.023388706147670746,
-0.9640713334083557,
-0.021836450323462486,
-0.0476573146879673,
-0.5269709825515747,
0.5796771049499512,
0.0745234489440918,
-0.4798205494880676,
0.8432250618934631,
0.40129372477531433,
-0.40131497383117676,
0.33076485991477966,
-0.06622343510389328,
0.4554405212402344,
-1.0397202968597412,
0.12022361159324646,
-0.20585650205612183,
-0.3719503581523895,
-0.5277469754219055,
0.132676362991333,
0.13519924879074097,
0.15992556512355804,
-0.4243289530277252,
0.1820632815361023,
-0.5810354351997375,
-0.32231011986732483,
-0.19401150941848755,
0.1604301482439041,
-0.3592013120651245,
0.23326376080513,
-0.13762348890304565,
1.0932459831237793,
0.12693475186824799,
-0.4804859459400177,
-0.09169795364141464,
0.28071725368499756,
0.07266122847795486,
0.9490733742713928,
-0.36356326937675476,
0.3228161633014679,
-0.21865709125995636,
0.2705755829811096,
-0.8351931571960449,
0.22852765023708344,
0.6029371619224548,
-0.44381698966026306,
0.39170923829078674,
-0.10015904158353806,
-0.5900192260742188,
-0.5821114778518677,
-0.34794068336486816,
0.43921762704849243,
0.4431168735027313,
-0.09125626087188721,
0.3184656500816345,
0.7222434878349304,
-0.03200633078813553,
-1.01639986038208,
-0.9756235480308533,
0.35350266098976135,
-0.28043198585510254,
-0.4674924612045288,
-0.14127181470394135,
0.07414541393518448,
-0.442574679851532,
-0.25090378522872925,
-0.279859721660614,
0.008326837792992592,
-0.1732240468263626,
0.14256219565868378,
0.32984820008277893,
0.1749885380268097,
0.06472783535718918,
0.45317578315734863,
-0.11868409812450409,
-0.03787217289209366,
-0.5322335362434387,
0.5603595972061157,
-0.14717616140842438,
-0.10050036758184433,
-0.41623830795288086,
0.5557441115379333,
0.5227718353271484,
0.12727493047714233,
0.848345160484314,
0.47145822644233704,
-0.3802574574947357,
-0.015238131396472454,
-0.6214630603790283,
-0.18577441573143005,
-0.38253381848335266,
0.08452252298593521,
-0.6631734371185303,
-0.691279411315918,
0.4811052083969116,
0.2746633291244507,
-0.24496576189994812,
0.6873946785926819,
0.5231215953826904,
-0.058997977524995804,
1.1302458047866821,
0.4042496979236603,
-0.33357274532318115,
0.15213648974895477,
0.08221752941608429,
0.4545312225818634,
-1.0279463529586792,
-0.028371114283800125,
-0.6423430442810059,
-0.5686520338058472,
-1.0211530923843384,
-0.47025513648986816,
0.21415790915489197,
-0.29293376207351685,
-0.1937771588563919,
0.32414063811302185,
-0.6968533992767334,
0.2601993978023529,
0.488476425409317,
0.033151742070913315,
0.4722326695919037,
0.1528346687555313,
-0.18458399176597595,
-0.5753882527351379,
-0.7153173685073853,
-0.6641875505447388,
1.0499858856201172,
0.27269768714904785,
0.6620195508003235,
0.218476340174675,
0.29579177498817444,
0.5888692140579224,
-0.1031678095459938,
-0.1899663209915161,
0.4573380649089813,
-0.10557197034358978,
-0.9965334534645081,
-0.12632985413074493,
-0.7522867321968079,
-0.8814792037010193,
0.3622261881828308,
-0.04066501185297966,
-0.45373180508613586,
0.33166706562042236,
-0.050698421895504,
0.29953646659851074,
0.5918356776237488,
-0.6922456622123718,
0.49225401878356934,
-0.10260835289955139,
-0.46693116426467896,
-0.37824779748916626,
-0.8072662949562073,
0.5600487589836121,
-0.027283702045679092,
0.3274748921394348,
0.019695697352290154,
-0.0456266775727272,
0.7333399653434753,
-0.4366593360900879,
0.7937217354774475,
0.16556483507156372,
-0.1523188352584839,
0.1511749029159546,
0.0958629623055458,
0.27555328607559204,
-0.16308268904685974,
-0.10775724798440933,
0.18472056090831757,
-0.37750786542892456,
-0.6300854682922363,
-0.16701647639274597,
0.7187400460243225,
-0.7348527908325195,
-0.5887465476989746,
-0.8557800650596619,
-0.7324987053871155,
0.08757250756025314,
0.33241695165634155,
0.22173930704593658,
-0.028360515832901,
-0.019347958266735077,
-0.28351283073425293,
0.8798037171363831,
-0.09463571757078171,
0.15894626080989838,
0.10927456617355347,
-0.4085637629032135,
-0.43935713171958923,
0.4165130853652954,
0.32657015323638916,
0.5198532342910767,
0.4330891966819763,
0.024503270164132118,
-0.19774095714092255,
-0.20712819695472717,
-1.1207387447357178,
0.23651932179927826,
-0.8495003581047058,
-0.108183354139328,
-0.6990525126457214,
0.10490353405475616,
-0.44785359501838684,
0.1443207859992981,
-0.37487179040908813,
-0.7307524681091309,
0.11908422410488129,
-0.23900549113750458,
0.25011515617370605,
1.0962296724319458,
0.4640173316001892,
0.04957876726984978,
-0.2344488799571991,
0.3651503026485443,
0.11322882026433945,
0.06540195643901825,
-0.10193325579166412,
-0.591715931892395,
0.23981158435344696,
0.1875268518924713,
-0.2582274079322815,
-1.0713646411895752,
0.33871814608573914,
-0.20475086569786072,
0.5144181251525879,
0.049033958464860916,
-0.24690216779708862,
0.7750111818313599,
-0.5584141612052917,
0.5528530478477478,
0.41960299015045166,
-1.245327353477478,
0.7982279658317566,
-0.3629258871078491,
0.36067596077919006,
0.49949583411216736,
0.3824920356273651,
-0.6780537366867065,
-0.6442775130271912,
-0.44582292437553406,
-0.7027405500411987,
0.6265776753425598,
0.7110620737075806,
-0.11640532314777374,
-0.029819568619132042,
0.49960872530937195,
0.3756827414035797,
0.6583298444747925,
-0.40790611505508423,
-0.6705260276794434,
0.11523919552564621,
-0.009038230404257774,
0.3161608576774597,
-0.10689328610897064,
0.23762772977352142,
-0.40643060207366943,
0.5149173140525818,
0.0732726901769638,
0.2207089513540268,
0.2728343605995178,
-0.4513698220252991,
-0.338259220123291,
0.5286109447479248,
0.8759337663650513,
0.885888397693634,
-0.02277331054210663,
0.3026343882083893,
0.3216792047023773,
-0.7214289903640747,
0.31331032514572144,
-0.46761640906333923,
-0.8412865400314331,
0.11724703758955002,
-0.05346132814884186,
0.8883654475212097,
0.0805845558643341,
-0.21235470473766327,
-0.020276401191949844,
-0.16895225644111633,
0.1440618932247162,
-0.11413200199604034,
-0.1194535568356514,
-0.057856783270835876,
-0.15810202062129974,
0.4847007691860199,
0.49029919505119324,
0.2913568913936615,
-0.778839647769928,
-0.17688482999801636,
0.3617832064628601,
-0.4961007535457611,
-0.17436860501766205,
0.7934969663619995,
0.1499946415424347,
-0.1943582445383072,
0.738069474697113,
-0.1825510561466217,
-0.8188896179199219,
0.3921798765659332,
0.4992539882659912,
1.1106903553009033,
-0.4961378574371338,
0.1102411299943924,
0.4400693476200104,
0.794041633605957,
-0.16323222219944,
0.3616296350955963,
0.3012896478176117,
-0.24708235263824463,
-0.41323181986808777,
-0.3144395351409912,
-0.42026659846305847,
-0.5157842636108398,
-0.6054034233093262,
0.3012235164642334,
-0.13556361198425293,
-0.5992224812507629,
-0.23282773792743683,
-0.16246172785758972,
-0.7161156535148621,
-0.04763227701187134,
0.0973617434501648,
0.41718631982803345,
-0.6771809458732605,
0.715644359588623,
0.58370441198349,
-0.7273470759391785,
-0.5005665421485901,
-0.22876915335655212,
-0.017628097906708717,
-0.5735253095626831,
0.7779842019081116,
-0.10270064324140549,
-0.5724347829818726,
-0.284923791885376,
-0.12606336176395416,
-0.6283296346664429,
0.8632338643074036,
0.6914511919021606,
-0.5818077921867371,
0.049618594348430634,
0.5348283648490906,
0.43988966941833496,
-0.3011646568775177,
0.47128525376319885,
0.599315345287323,
0.5822590589523315,
-0.39067208766937256,
-1.38287353515625,
0.2954683005809784,
-0.21407490968704224,
0.30156296491622925,
0.4784526526927948,
-0.5301839709281921,
0.7837616205215454,
-0.033812571316957474,
-0.19554774463176727,
-0.447982519865036,
0.5284086465835571,
0.04974496737122536,
0.17048929631710052,
0.34324708580970764,
0.40368539094924927,
0.8065274953842163,
-0.07519431412220001,
1.0367989540100098,
0.336477667093277,
-0.033129867166280746,
0.9701948165893555,
-0.3901546001434326,
0.5885951519012451,
0.9781069159507751,
-0.524165689945221,
0.6822556257247925,
0.2698560059070587,
0.43013709783554077,
0.17032869160175323,
0.42435547709465027,
0.03388677164912224,
0.20801213383674622,
-0.011714553460478783,
-0.507630467414856,
0.12740445137023926,
0.4039762318134308,
-0.4399183988571167,
0.142797589302063,
0.10908547043800354,
0.4925849437713623,
0.3219323754310608,
-0.36435389518737793,
0.49025776982307434,
0.3269723057746887,
-1.0647698640823364,
0.5510910153388977,
-0.07143232971429825,
0.8495912551879883,
-0.4219639003276825,
-0.007983471266925335,
-0.2979031205177307,
0.3555387854576111,
-0.3315639793872833,
-0.8340035080909729,
0.5095893740653992,
0.17624524235725403,
-0.5298174619674683,
-0.47801950573921204,
0.8547723889350891,
-0.4233799874782562,
-0.5114028453826904,
0.2115374058485031,
0.5810410976409912,
0.3197610676288605,
-0.11052967607975006,
-0.6816077828407288,
0.05999235808849335,
0.2693501114845276,
0.14919808506965637,
0.31187015771865845,
0.17689932882785797,
-0.510249137878418,
0.7927179336547852,
0.43119388818740845,
0.2163708508014679,
0.3714407682418823,
0.15379638969898224,
0.5188193321228027,
-0.7367481589317322,
-0.4792129695415497,
-1.11148202419281,
0.24788248538970947,
-0.2640810012817383,
-0.24534213542938232,
1.124008297920227,
0.552751898765564,
0.6679136157035828,
-0.15683729946613312,
0.6486400961875916,
0.04525730386376381,
0.21415142714977264,
-0.30794429779052734,
0.9594698548316956,
0.00478165689855814,
0.17154668271541595,
-0.6256170868873596,
-0.8573750853538513,
-0.040998201817274094,
0.5483884811401367,
-0.405118465423584,
0.22320207953453064,
1.1649926900863647,
0.30054351687431335,
0.06802753359079361,
0.1526137888431549,
-0.045103996992111206,
0.004430198110640049,
0.16968433558940887,
0.5248894691467285,
0.7079294919967651,
-0.8656182289123535,
0.5128031969070435,
-0.15072953701019287,
-0.1849098652601242,
0.004736208822578192,
-0.8952863216400146,
-0.859233558177948,
-0.3338596820831299,
-0.4086938500404358,
-0.3148709535598755,
0.38828277587890625,
0.7777887582778931,
0.6105999946594238,
-0.6765438914299011,
-0.5221552848815918,
-0.17642106115818024,
0.6719080209732056,
-0.47652584314346313,
-0.14360758662223816,
0.37360766530036926,
-0.3710932731628418,
-0.8083059191703796,
-0.02729816362261772,
0.3245854377746582,
-0.2803143262863159,
-0.43563199043273926,
-0.12563565373420715,
-0.4720425605773926,
-0.07587681710720062,
0.4968605041503906,
-0.17522504925727844,
-0.7614985108375549,
-0.054868511855602264,
0.04962532967329025,
-0.4014745354652405,
0.23442216217517853,
0.7426280379295349,
-0.7262046337127686,
0.6680890321731567,
0.7341563701629639,
0.16980287432670593,
0.3945591151714325,
-0.18155287206172943,
0.983863890171051,
-0.5462948679924011,
0.23078574240207672,
0.12007053196430206,
0.20433583855628967,
0.5238566994667053,
-0.48882925510406494,
0.6978330612182617,
0.29582738876342773,
-0.4723721742630005,
-0.9103466868400574,
0.3119325041770935,
-0.6609423756599426,
-0.1344887763261795,
0.9996281862258911,
0.2544654607772827,
-0.5069155693054199,
-0.3625209629535675,
-0.47424185276031494,
0.5214722156524658,
-0.5338947772979736,
0.6119379997253418,
0.837090015411377,
0.2576257288455963,
0.04139105603098869,
-0.9740484356880188,
0.3250083327293396,
0.7644816637039185,
-0.5883616805076599,
-0.0648452565073967,
0.25332167744636536,
0.01324387826025486,
-0.016212541610002518,
0.7020082473754883,
-0.2094324827194214,
0.23990099132061005,
-0.14219431579113007,
0.20258255302906036,
0.4256856143474579,
0.0003712743055075407,
-0.3358602225780487,
-0.28856685757637024,
-0.07894570380449295,
-0.08145568519830704
] |
http://arxiv.org/abs/2405.19670v3
|
http://arxiv.org/pdf/2405.19670v3
|
One Token Can Help! Learning Scalable and Pluggable Virtual Tokens for Retrieval-Augmented Large Language Models
| 2024-05-30T03:44:54 | 2024-06-08T07:14:13 |
Yutao Zhu, Zhaoheng Huang, Zhicheng Dou, Ji-Rong Wen
|
cs.CL
|
cs.CL
|
Retrieval-augmented generation (RAG) is a promising way to improve large
language models (LLMs) for generating more factual, accurate, and up-to-date
content. Existing methods either optimize prompts to guide LLMs in leveraging
retrieved information or directly fine-tune LLMs to adapt to RAG scenarios.
Although fine-tuning can yield better performance, it often compromises the
LLMs' general generation capabilities by modifying their parameters. This
limitation poses challenges in practical applications, especially when LLMs are
already deployed, as parameter adjustments may affect their original
functionality. To address this, we propose a novel method that involves
learning scalable and pluggable virtual tokens for RAG. By maintaining the
LLMs' original parameters and fine-tuning only the embeddings of these
pluggable tokens, our approach not only enhances LLMs' performance but also
preserves their general generation capabilities. Furthermore, we design several
training strategies to improve the scalability, flexibility, and
generalizability of our method. Comprehensive experiments across nine
question-answering tasks demonstrate the superiority of our approach.
|
[
-0.3633245825767517,
-0.8310087323188782,
0.482455313205719,
0.06796103715896606,
-0.6412644386291504,
0.4907640516757965,
-0.29312217235565186,
-0.07314695417881012,
0.6275865435600281,
0.6849275827407837,
-0.29036152362823486,
-0.32152462005615234,
-0.44576868414878845,
0.06496549397706985,
-0.17695769667625427,
1.0593383312225342,
0.20710128545761108,
0.08388832211494446,
-0.4647224545478821,
-0.312749445438385,
-0.5716275572776794,
-0.5554758310317993,
-0.9625052809715271,
0.06586720794439316,
0.8312639594078064,
0.504534125328064,
0.24060682952404022,
0.7659578919410706,
0.2868790626525879,
0.21881042420864105,
-0.4224832057952881,
0.7504585981369019,
-0.6312586665153503,
0.2790305018424988,
-0.33390185236930847,
-0.5478670001029968,
-0.267265260219574,
-0.3804875612258911,
0.7683870792388916,
0.6989725828170776,
-0.1492433100938797,
0.45820489525794983,
-0.12459114193916321,
0.5134761333465576,
-0.636793851852417,
0.047104015946388245,
-1.1721704006195068,
-0.17136727273464203,
-0.21162326633930206,
-0.46661192178726196,
-0.5972244739532471,
-0.23621705174446106,
-0.20300863683223724,
-0.7431482672691345,
0.29564139246940613,
0.43660077452659607,
0.709557831287384,
0.19424660503864288,
-0.4061008095741272,
-0.21279674768447876,
-0.5339637398719788,
0.859859824180603,
-0.6402193903923035,
0.23424987494945526,
0.37580326199531555,
0.22380056977272034,
-0.2767200767993927,
-0.9929110407829285,
-0.5897046327590942,
-0.3057287037372589,
-0.08252689242362976,
-0.2182568907737732,
0.11342386156320572,
-0.047166164964437485,
0.2960200607776642,
0.29928696155548096,
-0.4004344642162323,
0.12247288972139359,
-0.3073772192001343,
-0.23256826400756836,
0.2654419243335724,
0.1894451081752777,
0.11165900528430939,
-0.18964962661266327,
-0.3119881749153137,
-0.07726658880710602,
-0.7668077349662781,
-0.20092862844467163,
0.2483242303133011,
0.6934431195259094,
0.16427969932556152,
0.525276780128479,
0.10914763808250427,
0.6046631932258606,
0.3234008252620697,
-0.13972464203834534,
0.3142324388027191,
-0.2938481271266937,
0.042971134185791016,
-0.26704782247543335,
0.2889688014984131,
-0.25779175758361816,
-0.032506171613931656,
-0.439534455537796,
-0.23271240293979645,
-0.43957963585853577,
0.480930894613266,
-0.8204607367515564,
0.1785583794116974,
0.12166956067085266,
-0.2232227325439453,
-0.3807127773761749,
0.18472808599472046,
-0.6372837424278259,
-0.4356095492839813,
-0.5466785430908203,
0.6333487033843994,
-0.1431942582130432,
-0.3703630268573761,
0.06584566831588745,
-0.12726186215877533,
0.18833234906196594,
0.09842061251401901,
-1.0182527303695679,
0.3273617625236511,
0.9377970695495605,
0.7791692018508911,
-0.2853568196296692,
-0.12489337474107742,
-1.3441104888916016,
0.17376959323883057,
-0.47262975573539734,
0.7243970036506653,
-0.5652025938034058,
-0.42048075795173645,
0.17567963898181915,
-0.0932718887925148,
0.10300002247095108,
-0.791544497013092,
0.5170643925666809,
-0.8556336164474487,
0.18638163805007935,
-0.4576788544654846,
-0.5208560824394226,
0.15851518511772156,
0.48195943236351013,
-0.6298800110816956,
0.9799135327339172,
0.23006173968315125,
-0.9618269801139832,
0.4236050844192505,
-0.529725193977356,
-0.4027101993560791,
0.1975105255842209,
-0.35937902331352234,
-0.5190988183021545,
0.4736993908882141,
0.31589195132255554,
0.36220744252204895,
-0.15173985064029694,
0.025233887135982513,
-0.05400904268026352,
-0.3182908296585083,
-0.011716251261532307,
-0.17865578830242157,
0.5164927244186401,
0.09926967322826385,
-0.00254680379293859,
0.23292259871959686,
-0.9424136877059937,
0.01656412146985531,
0.09535714238882065,
-0.6469679474830627,
-0.3053308427333832,
-0.10187053680419922,
-0.03266655653715134,
-0.059776756912469864,
0.33197635412216187,
-0.6740893721580505,
0.450219064950943,
-0.746620237827301,
0.17173294723033905,
0.9033075571060181,
0.2707618176937103,
0.4034142792224884,
-0.250312864780426,
0.6664934754371643,
0.29467159509658813,
-0.09304116666316986,
-0.408401221036911,
-0.1573936492204666,
-0.9432719349861145,
-0.4921891987323761,
0.6138613820075989,
0.24171148240566254,
-1.1024073362350464,
0.1774388551712036,
-0.23788568377494812,
-0.4081343710422516,
-0.45802247524261475,
0.34028181433677673,
0.35712724924087524,
0.5653431415557861,
0.4245823919773102,
-0.1817236989736557,
-0.83000248670578,
-0.48943352699279785,
-0.5548253655433655,
-0.25352951884269714,
-0.07865826040506363,
0.5170679688453674,
0.296949177980423,
-0.2951292097568512,
1.0544344186782837,
-0.45493006706237793,
-0.20626355707645416,
-0.22964592278003693,
0.29357442259788513,
0.1821018010377884,
0.3534035384654999,
0.4160732924938202,
-0.9685072302818298,
-0.47510990500450134,
0.25353896617889404,
-0.13497339189052582,
0.03254076465964317,
-0.11130288243293762,
-0.08164868503808975,
0.19442932307720184,
0.7830425500869751,
-0.5088133215904236,
0.10686154663562775,
0.3280275762081146,
-0.47527047991752625,
0.6811381578445435,
-0.4996396005153656,
-0.09500475972890854,
-1.3080201148986816,
0.018841886892914772,
-0.413114070892334,
-0.5065997242927551,
-0.4313199520111084,
0.15314802527427673,
0.1561848223209381,
0.02300362102687359,
-0.4759804308414459,
1.0658608675003052,
-0.3052663207054138,
0.025791417807340622,
-0.40766847133636475,
0.05450427904725075,
0.040912922471761703,
0.30040791630744934,
-0.379138320684433,
0.9977232217788696,
0.4925486445426941,
-0.6841586828231812,
0.21705108880996704,
0.23854690790176392,
-0.11650259792804718,
0.2109951376914978,
-0.5706650018692017,
0.3570979833602905,
-0.6211074590682983,
0.12912309169769287,
-1.0401877164840698,
-0.30799221992492676,
-0.08064880967140198,
-0.4715158939361572,
0.6339899301528931,
-0.192820206284523,
-0.5649135708808899,
-0.13870151340961456,
-0.18027755618095398,
0.41938745975494385,
0.5240294933319092,
-0.9841130971908569,
0.927560567855835,
0.2750868499279022,
-0.1351355016231537,
-0.739812970161438,
-0.30942270159721375,
0.007440050598233938,
-0.3195258378982544,
-0.15272286534309387,
0.2883174419403076,
-0.027597112581133842,
0.03182132542133331,
-0.15686216950416565,
-0.04078464210033417,
0.14788556098937988,
0.07923051714897156,
0.05714806541800499,
0.156023770570755,
-0.12511563301086426,
0.5838146209716797,
0.10156919807195663,
-0.27337637543678284,
-0.19144022464752197,
-0.6440569162368774,
0.6584615111351013,
0.027652809396386147,
-0.32905471324920654,
0.2801090478897095,
0.19211213290691376,
0.6392958164215088,
-0.6174685955047607,
1.0310680866241455,
0.8693738579750061,
-0.2132435441017151,
-0.45243918895721436,
-0.7622696757316589,
-0.18269285559654236,
-0.5038585066795349,
0.3851347863674164,
-0.41773658990859985,
-1.3212159872055054,
0.4644109010696411,
-0.45858949422836304,
0.31130263209342957,
0.28595712780952454,
0.666405200958252,
0.20786695182323456,
1.1541794538497925,
0.8458545207977295,
-0.12765568494796753,
0.5349411964416504,
-0.04699944332242012,
0.1862337738275528,
-0.854123055934906,
-0.12575991451740265,
-0.60825514793396,
-0.02815343625843525,
-0.5816970467567444,
-0.7339015603065491,
0.41989660263061523,
0.1600107103586197,
-0.36441200971603394,
0.011537248268723488,
-0.3236900866031647,
0.6764288544654846,
0.39953550696372986,
0.059183042496442795,
0.10515683889389038,
0.3309759795665741,
-0.5076074600219727,
0.08202315866947174,
-0.7441191077232361,
-0.3475169241428375,
1.1501439809799194,
0.27766576409339905,
0.5109204649925232,
0.11431070417165756,
0.7835788726806641,
0.19572332501411438,
0.2746965289115906,
-0.6616435050964355,
0.4596620500087738,
-0.2842003107070923,
-0.5623640418052673,
-0.2636162340641022,
-0.6750398874282837,
-0.9571501612663269,
0.24441872537136078,
-0.21978138387203217,
-0.6067432165145874,
-0.06336058676242828,
0.32059383392333984,
-0.17332157492637634,
0.38384783267974854,
-0.4337065815925598,
0.5421409010887146,
-0.07360056042671204,
-0.2888478636741638,
-0.2676030695438385,
-0.2651524245738983,
0.013677550479769707,
-0.3177807927131653,
0.3014681041240692,
0.21173681318759918,
-0.3648607134819031,
0.4771352708339691,
-0.22904270887374878,
0.7662156820297241,
-0.2272578328847885,
0.056077901273965836,
0.2509480118751526,
-0.05070536956191063,
0.8113335967063904,
0.14937378466129303,
-0.19553376734256744,
-0.23057743906974792,
-0.12340664118528366,
-0.6554434299468994,
-0.6822949051856995,
0.6898128986358643,
-0.5807080864906311,
-0.733106791973114,
-0.03248031809926033,
-0.4095071852207184,
-0.5478714108467102,
0.23950935900211334,
0.09379679709672928,
0.5666027069091797,
-0.14686058461666107,
0.3470510244369507,
0.8620283603668213,
-0.27093154191970825,
0.13322146236896515,
0.40892624855041504,
-0.5384581685066223,
-0.5716619491577148,
1.2760953903198242,
-0.025783436372876167,
0.205727681517601,
0.42458900809288025,
0.5222893953323364,
-0.35328400135040283,
-0.514823317527771,
-0.41232192516326904,
0.5109685659408569,
-0.6444520950317383,
-0.30542752146720886,
-0.6886765956878662,
-0.07078272104263306,
-0.3730514347553253,
0.035279422998428345,
-0.26399409770965576,
-0.563019871711731,
-0.5515773296356201,
-0.2824592590332031,
0.5001305341720581,
0.5776118636131287,
-0.06336290389299393,
0.2211727350950241,
-0.7380347847938538,
0.4612642824649811,
0.5400978922843933,
0.5927885174751282,
0.048698071390390396,
-0.8673784732818604,
-0.41562986373901367,
-0.11014828830957413,
-0.1080837994813919,
-0.35452812910079956,
0.2031153440475464,
0.33729368448257446,
0.42624637484550476,
0.2953851819038391,
-0.06986551731824875,
0.8165776133537292,
-0.7549399733543396,
0.9450942277908325,
0.11379782855510712,
-0.7438749670982361,
0.3653053939342499,
-0.2979148328304291,
0.21553869545459747,
0.532778263092041,
0.26344674825668335,
-0.32119303941726685,
-0.194705992937088,
-0.549007773399353,
-0.9499740600585938,
0.35515856742858887,
-0.19214656949043274,
0.7312304973602295,
-0.36460354924201965,
0.704931914806366,
0.20618906617164612,
0.3099600374698639,
-0.37852731347084045,
-0.1962123066186905,
0.013159462250769138,
-0.16064667701721191,
0.006306156981736422,
-0.5575143694877625,
-0.057032909244298935,
-0.27485227584838867,
0.8271060585975647,
-0.443318247795105,
-0.18614110350608826,
-0.04007522016763687,
0.14098547399044037,
-0.24048751592636108,
0.1957968771457672,
0.4905049204826355,
0.8784381747245789,
0.09621532261371613,
0.07169295847415924,
0.565441906452179,
-0.4579780101776123,
-0.027446145191788673,
-0.17380326986312866,
-0.13200202584266663,
0.16247878968715668,
0.06943053007125854,
0.8810614943504333,
0.12240955233573914,
-0.9541565179824829,
0.5301432609558105,
-0.29717931151390076,
-0.142894446849823,
-0.3443319797515869,
0.11228708177804947,
0.09712092578411102,
0.2798647880554199,
0.5006974339485168,
-0.224262535572052,
-0.2834022641181946,
-0.45097723603248596,
0.2699143886566162,
0.6174327731132507,
-0.24060498178005219,
-0.06789526343345642,
0.6989786028862,
0.005854701157659292,
-0.5200732350349426,
0.31185024976730347,
-0.3319409191608429,
-0.44033223390579224,
0.34279102087020874,
0.7679975628852844,
0.8380469679832458,
-0.026463748887181282,
0.25805285573005676,
0.4907992482185364,
0.055747680366039276,
-0.01454117801040411,
0.28331178426742554,
-0.11458342522382736,
-0.47750669717788696,
-0.7480447888374329,
-1.022517204284668,
-0.44260913133621216,
0.1263653188943863,
-0.5722766518592834,
0.2609815001487732,
-0.5611419677734375,
-0.14070160686969757,
-0.09381332248449326,
0.07633931934833527,
-0.7031559944152832,
0.12698222696781158,
0.015449510887265205,
0.888789176940918,
-0.5398767590522766,
0.6109887361526489,
0.9171310663223267,
-0.36736053228378296,
-0.9438637495040894,
-0.0024072560481727123,
-0.4084682762622833,
-0.5824644565582275,
0.6991596817970276,
-0.08077719807624817,
0.03959040343761444,
0.24124948680400848,
-0.6739248037338257,
-1.009114146232605,
0.8267379999160767,
0.4340035021305084,
-0.3650558590888977,
-0.18046051263809204,
0.24260668456554413,
0.6152222156524658,
-0.37029361724853516,
0.11274402588605881,
0.40943118929862976,
0.2894357442855835,
0.2756945788860321,
-0.8106763958930969,
-0.15922841429710388,
0.01722637750208378,
0.19356435537338257,
0.25937122106552124,
-0.6450576782226562,
0.8336619138717651,
-0.16303417086601257,
-0.1269410252571106,
0.1915162056684494,
0.7875375747680664,
0.4784424901008606,
0.042071226984262466,
0.6170793771743774,
0.5513335466384888,
0.8866735100746155,
0.15134026110172272,
0.9478254914283752,
-0.20520739257335663,
0.29124781489372253,
1.0626394748687744,
0.08257164061069489,
1.016048789024353,
0.728703498840332,
0.1177399531006813,
0.45045268535614014,
0.11150593310594559,
0.2884494364261627,
0.33941593766212463,
0.4425300359725952,
-0.5061424970626831,
-0.3806932270526886,
-0.25672563910484314,
-0.04144863039255142,
0.36227405071258545,
0.46700188517570496,
-0.2643968164920807,
-0.14948724210262299,
0.2934083938598633,
-0.09972551465034485,
0.2482689768075943,
-0.4649357199668884,
0.9639312028884888,
-0.024747172370553017,
-0.554863691329956,
0.6350300908088684,
-0.03073396161198616,
0.499622642993927,
-0.6590685844421387,
-0.27607056498527527,
-0.2769738733768463,
0.0613059438765049,
-0.16729727387428284,
-0.15525072813034058,
0.05218621343374252,
0.14101801812648773,
-0.2517041265964508,
-0.08067845553159714,
0.6955949068069458,
-0.50086909532547,
-0.656976580619812,
0.010520498268306255,
0.4965364336967468,
0.02353769913315773,
0.06317191570997238,
-0.41605615615844727,
0.0447310134768486,
-0.0061020939610898495,
-0.286494642496109,
0.5098970532417297,
0.6365708708763123,
0.06322959810495377,
0.6855509877204895,
0.8227444291114807,
0.5011846423149109,
0.2623160779476166,
0.18394790589809418,
1.1377232074737549,
-0.4950324594974518,
-0.45111849904060364,
-0.5865269303321838,
0.6608686447143555,
-0.11292292177677155,
-0.3246691823005676,
0.757382869720459,
0.5662602782249451,
0.9905723929405212,
-0.07086078822612762,
0.6575990319252014,
0.1259121596813202,
1.0673086643218994,
-0.39336276054382324,
0.4571213126182556,
-0.8125917315483093,
0.3952887952327728,
0.02643691562116146,
-0.8736053705215454,
-0.3592660427093506,
0.28699275851249695,
-0.03903626650571823,
-0.15056273341178894,
0.297294557094574,
0.8746454119682312,
-0.16056208312511444,
-0.4734867811203003,
0.4154672920703888,
0.1891549527645111,
0.5485848784446716,
-0.1471075415611267,
0.6184490919113159,
-0.28046199679374695,
0.5820090770721436,
0.13196535408496857,
0.001255371025763452,
-0.18077057600021362,
-0.8145894408226013,
-1.0133975744247437,
-0.5868241786956787,
-0.15265944600105286,
-0.3425889313220978,
0.10752831399440765,
1.0322831869125366,
0.5955086946487427,
-0.7957820296287537,
0.10369337350130081,
-0.22460374236106873,
0.10252640396356583,
0.045613519847393036,
-0.18962660431861877,
0.4519364535808563,
-0.9114532470703125,
-0.6435750722885132,
0.291699081659317,
0.18836651742458344,
-0.2062906175851822,
-0.36758849024772644,
0.06414512544870377,
-0.04958908259868622,
0.311707079410553,
0.827822208404541,
0.4811475872993469,
-0.6751317381858826,
-0.5020340085029602,
0.059269119054079056,
0.08185231685638428,
-0.0186106376349926,
0.906158447265625,
-1.0467228889465332,
0.715663492679596,
0.5079429745674133,
1.2632567882537842,
0.5819321274757385,
0.25687626004219055,
0.3257177472114563,
-1.2825974225997925,
0.29952627420425415,
0.4264051914215088,
0.2154345065355301,
0.3218296468257904,
-0.26708072423934937,
0.20451630651950836,
-0.09173490852117538,
-0.6488416194915771,
-1.0401747226715088,
0.2159098982810974,
-0.7458475232124329,
-0.22395098209381104,
1.2299542427062988,
-0.06972658634185791,
-0.1608918011188507,
-0.06509564816951752,
-0.5205197930335999,
0.28458908200263977,
0.04709853231906891,
0.7759340405464172,
0.3348245620727539,
0.3105205297470093,
-0.14256753027439117,
-0.3086218237876892,
0.5035110712051392,
0.5850522518157959,
-0.6333581805229187,
0.1553507000207901,
0.33868899941444397,
0.30258917808532715,
0.18751895427703857,
0.4638957679271698,
-0.09187120944261551,
0.13708800077438354,
-0.05216137692332268,
-0.3500257134437561,
-0.22134613990783691,
-0.34812676906585693,
-0.3413016200065613,
0.22803454101085663,
0.4590882956981659,
-0.059168193489313126
] |
http://arxiv.org/abs/2405.19660v2
|
http://arxiv.org/pdf/2405.19660v2
|
PATIENT-Ψ: Using Large Language Models to Simulate Patients for Training Mental Health Professionals
| 2024-05-30T03:20:56 | 2024-06-18T22:33:48 |
Ruiyi Wang, Stephanie Milani, Jamie C. Chiu, Jiayin Zhi, Shaun M. Eack, Travis Labrum, Samuel M. Murphy, Nev Jones, Kate Hardy, Hong Shen, Fei Fang, Zhiyu Zoey Chen
|
cs.CL
|
cs.CL
|
Mental illness remains one of the most critical public health issues. Despite
its importance, many mental health professionals highlight a disconnect between
their training and actual real-world patient practice. To help bridge this gap,
we propose PATIENT-{\Psi}, a novel patient simulation framework for cognitive
behavior therapy (CBT) training. To build PATIENT-{\Psi}, we construct diverse
patient cognitive models based on CBT principles and use large language models
(LLMs) programmed with these cognitive models to act as a simulated therapy
patient. We propose an interactive training scheme, PATIENT-{\Psi}-TRAINER, for
mental health trainees to practice a key skill in CBT -- formulating the
cognitive model of the patient -- through role-playing a therapy session with
PATIENT-{\Psi}. To evaluate PATIENT-{\Psi}, we conducted a comprehensive user
study of 13 mental health trainees and 20 experts. The results demonstrate that
practice using PATIENT-{\Psi}-TRAINER enhances the perceived skill acquisition
and confidence of the trainees beyond existing forms of training such as
textbooks, videos, and role-play with non-patients. Based on the experts'
perceptions, PATIENT-{\Psi} is perceived to be closer to real patient
interactions than GPT-4, and PATIENT-{\Psi}-TRAINER holds strong promise to
improve trainee competencies. Our code and data are released at
\url{https://github.com/ruiyiw/patient-psi}.
|
[
-0.4398275315761566,
-0.839077889919281,
1.0914984941482544,
0.22988854348659515,
-0.19314435124397278,
0.10045023262500763,
-0.21087685227394104,
-0.3580454885959625,
0.3295748233795166,
0.3981103003025055,
-0.6444956064224243,
-0.24507920444011688,
-0.5390579700469971,
-0.09250301867723465,
-0.13436353206634521,
0.7843548655509949,
-0.001277925563044846,
0.6805936098098755,
0.16156278550624847,
0.34757429361343384,
-0.41652530431747437,
-1.019592046737671,
-0.8643478155136108,
-0.40952861309051514,
0.4236811697483063,
0.002549142576754093,
0.41042494773864746,
-0.1934356689453125,
0.3058151602745056,
0.1578167974948883,
0.3472057580947876,
-0.28924229741096497,
-0.6034317016601562,
-0.06451193988323212,
-0.226990208029747,
-0.41587600111961365,
-0.6391851305961609,
0.2185024470090866,
0.5220818519592285,
0.6178866624832153,
-0.5037049055099487,
-0.3154241442680359,
-0.35392624139785767,
-0.04553483426570892,
-0.23785527050495148,
-0.03744432330131531,
-0.3568107783794403,
0.5135371685028076,
-0.07684357464313507,
-0.12693287432193756,
-0.5902210474014282,
-0.26610586047172546,
0.22259794175624847,
-0.7681265473365784,
0.30335503816604614,
-0.23374643921852112,
0.5915504097938538,
0.04394301772117615,
-0.688540518283844,
0.35722121596336365,
-0.7487226128578186,
0.19452376663684845,
-0.677337110042572,
0.5495539307594299,
0.36385512351989746,
0.6737052798271179,
-0.4438951015472412,
-0.786325216293335,
-0.5955153107643127,
-0.2697940468788147,
0.164676234126091,
0.356735497713089,
0.2953081429004669,
0.5315396785736084,
0.6731297969818115,
0.19297580420970917,
-0.2989250123500824,
-0.12230625748634338,
-0.2642398476600647,
-0.10698487609624863,
0.5383915901184082,
0.4874947667121887,
0.3362015187740326,
0.11668992042541504,
-0.2981972396373749,
0.11932769417762756,
-0.36992505192756653,
-0.10039711743593216,
-0.11606026440858841,
-0.08664608001708984,
-0.128783717751503,
0.5805253982543945,
0.06109648570418358,
0.35482513904571533,
0.0967535749077797,
-0.5548079609870911,
0.13493750989437103,
0.5773664116859436,
-0.2353547364473343,
0.1884855329990387,
0.798008143901825,
0.18075603246688843,
0.2897661030292511,
-0.40437939763069153,
-0.02516486681997776,
0.4292967617511749,
0.96903395652771,
-0.9330683946609497,
-0.586996853351593,
0.044059645384550095,
-0.40957963466644287,
-0.3052755296230316,
-0.06815958023071289,
-0.4798010587692261,
-0.33829495310783386,
-0.41890189051628113,
0.4574011564254761,
-0.9855555295944214,
-0.7896900773048401,
0.325470894575119,
-0.15809206664562225,
0.1853933185338974,
0.5933448672294617,
-0.7265781760215759,
0.6787078976631165,
0.8295932412147522,
0.4289284348487854,
0.056911006569862366,
-0.5352959036827087,
-0.49050432443618774,
0.43510302901268005,
-0.4697919189929962,
0.46296069025993347,
-0.49281203746795654,
-0.6077136993408203,
0.03651272505521774,
-0.14707359671592712,
-0.0818251520395279,
-0.3991963267326355,
0.3556898236274719,
-0.16681216657161713,
0.20573531091213226,
-0.5303571224212646,
-0.7827081084251404,
0.2971091866493225,
0.40487679839134216,
-0.1607920080423355,
0.9124423861503601,
0.7041599154472351,
-0.738994836807251,
0.4755505323410034,
-0.6987388134002686,
-0.3277413249015808,
0.4394850730895996,
-0.565669596195221,
-0.20972096920013428,
0.34713876247406006,
0.1247800961136818,
0.3863406479358673,
0.03667192906141281,
0.040528059005737305,
-0.5811789035797119,
-0.7247925400733948,
0.6312084197998047,
-0.08132077008485794,
0.6746472716331482,
0.09805938601493835,
-0.09143835306167603,
-0.0321325808763504,
-0.37069714069366455,
0.04916752502322197,
0.2921558916568756,
-0.4232944846153259,
-0.12589043378829956,
-0.15827913582324982,
0.3630148768424988,
0.5196507573127747,
-0.34462010860443115,
-0.7073020339012146,
0.4299231469631195,
-0.20061978697776794,
0.28858494758605957,
0.3880351483821869,
0.6412811875343323,
-0.1559627205133438,
-0.45339763164520264,
0.9063742756843567,
-0.004902620799839497,
0.5935518741607666,
0.14314404129981995,
-0.6981232762336731,
-0.4202311635017395,
-0.9011945724487305,
-0.13340908288955688,
0.32076942920684814,
-0.806108832359314,
0.19934849441051483,
-0.08505168557167053,
-0.5530860424041748,
-0.6144736409187317,
-0.37421897053718567,
0.357915461063385,
0.583000659942627,
0.266192764043808,
-0.6977086663246155,
-0.4424276351928711,
-0.4705011248588562,
-0.2644938826560974,
-0.39604201912879944,
0.006588180083781481,
-0.12488539516925812,
0.3519294857978821,
-0.5169880986213684,
0.8733567595481873,
-0.6412950754165649,
-0.32550033926963806,
-0.32415899634361267,
0.07894255965948105,
-0.3166479170322418,
0.5028368234634399,
0.4430345594882965,
-0.3968992531299591,
-0.4706436097621918,
-0.4507957398891449,
-0.8483573198318481,
0.3812173306941986,
-0.22228321433067322,
-0.26477599143981934,
-0.18748131394386292,
0.38944974541664124,
-0.6087673902511597,
0.3306864798069,
0.27431827783584595,
-0.37813639640808105,
0.8145906925201416,
-0.3405027985572815,
0.13306638598442078,
-1.0719945430755615,
0.21191009879112244,
-0.038237664848566055,
-0.5197404623031616,
-0.6822291016578674,
0.3183865547180176,
-0.07118014246225357,
-0.7047086358070374,
-0.42784759402275085,
0.09746890515089035,
-0.05315837636590004,
-0.01029361505061388,
-0.061854854226112366,
-0.1790413111448288,
-0.2359623908996582,
0.6708378791809082,
0.3966217041015625,
0.6475834250450134,
0.6612163186073303,
-0.280553936958313,
0.324222207069397,
0.3718539774417877,
-0.24594824016094208,
1.2413768768310547,
-0.37669169902801514,
0.3727158010005951,
0.20800179243087769,
0.555589497089386,
-0.2915245592594147,
-0.3033003807067871,
0.4123661518096924,
-0.3660726547241211,
0.3734930455684662,
-0.4609043002128601,
-0.8176645040512085,
-0.43773025274276733,
0.21884982287883759,
0.4007169008255005,
0.7031776905059814,
0.009662569500505924,
0.34515631198883057,
0.44119372963905334,
0.23454107344150543,
-0.07910004258155823,
-0.5338249206542969,
0.2698478698730469,
-0.2816685140132904,
-0.279138445854187,
0.24582679569721222,
-0.2366616576910019,
0.1873464733362198,
-0.14365506172180176,
0.15339024364948273,
-0.25249460339546204,
0.3129282295703888,
0.37006574869155884,
0.12705175578594208,
-0.06333574652671814,
0.16273348033428192,
0.13064713776111603,
-0.23853760957717896,
0.4844146966934204,
-0.30955901741981506,
0.6475776433944702,
-0.3158334493637085,
-0.7786276936531067,
-0.6706993579864502,
0.5641692280769348,
0.33430010080337524,
-0.44549810886383057,
0.8097113966941833,
0.8060091733932495,
-0.6993264555931091,
0.1775345802307129,
-0.6137856841087341,
-0.572833776473999,
-0.4287707805633545,
0.6391800045967102,
-0.5496653318405151,
-0.672804594039917,
0.043728023767471313,
-0.43973883986473083,
-0.23110364377498627,
-0.29093682765960693,
0.5710778832435608,
-0.25555258989334106,
1.2474184036254883,
0.560892641544342,
0.1228492259979248,
0.3977212905883789,
-0.21138645708560944,
0.32620805501937866,
-0.9354757070541382,
-0.2403479665517807,
0.01552003063261509,
0.04693380743265152,
-0.2972472012042999,
-0.6190623044967651,
0.6955031752586365,
0.05744072049856186,
-0.5318257808685303,
0.07580584287643433,
-0.47372907400131226,
-0.261901319026947,
0.2531035840511322,
0.7307897210121155,
0.031797777861356735,
-0.1344856172800064,
-0.42372605204582214,
-0.6265383958816528,
-0.4917750954627991,
-0.2291022390127182,
0.9286060929298401,
0.6389859914779663,
0.5903587341308594,
0.0761268362402916,
1.1423195600509644,
0.10585348308086395,
0.5888838768005371,
-0.9655795097351074,
0.6350822448730469,
0.34967362880706787,
-0.809057891368866,
-0.17396266758441925,
-0.4113788902759552,
-0.8329181671142578,
0.1695639044046402,
-0.3780345022678375,
-0.8174224495887756,
-0.1594344973564148,
0.27949288487434387,
-0.1781080812215805,
0.25348716974258423,
-0.5068750381469727,
0.980217695236206,
-0.2783137261867523,
-0.08494073152542114,
-0.6336685419082642,
-0.5254323482513428,
0.3150285482406616,
-0.24064940214157104,
0.012122937478125095,
-0.09025996923446655,
0.058672286570072174,
0.5626360774040222,
-0.6486155986785889,
0.7996119856834412,
-0.501323938369751,
-0.1277727633714676,
-0.05797552689909935,
0.36985549330711365,
0.21054822206497192,
0.37322837114334106,
0.010284545831382275,
-0.4358721077442169,
0.29453593492507935,
-0.783513069152832,
-0.8040815591812134,
0.32708093523979187,
-1.0056719779968262,
-0.5471577048301697,
-0.5633889436721802,
-0.367488294839859,
-0.7201547026634216,
0.2752918004989624,
0.2880725562572479,
0.696977972984314,
-0.6183337569236755,
-0.2790880501270294,
0.9616757035255432,
-0.24552901089191437,
-0.47692254185676575,
0.8690760731697083,
-0.48418736457824707,
-0.4874717593193054,
0.8117009401321411,
-0.14079402387142181,
0.114035964012146,
0.4418412744998932,
0.0309818796813488,
0.007344378624111414,
-0.2917101979255676,
-0.006324514746665955,
0.6447897553443909,
-0.5190994143486023,
0.31244948506355286,
-0.7778642177581787,
-0.3891562521457672,
-0.41940200328826904,
-0.3651626408100128,
-0.3637869954109192,
0.08144602179527283,
0.09547019004821777,
-0.10441732406616211,
0.22677139937877655,
0.5046278834342957,
0.26055628061294556,
0.5212641358375549,
-0.5526101589202881,
0.3353396952152252,
0.387299507856369,
0.4283554255962372,
-0.1311335265636444,
-0.12351218611001968,
-0.6072942018508911,
-0.161519855260849,
-0.41142457723617554,
-1.3092803955078125,
0.28780603408813477,
-0.27026689052581787,
0.5869594216346741,
0.6247066855430603,
0.15510615706443787,
0.8164970874786377,
-0.4868423044681549,
0.6138887405395508,
0.6659858226776123,
-0.8987704515457153,
0.5244081616401672,
-0.5753146409988403,
0.0042058792896568775,
0.7664206624031067,
0.2978596091270447,
-1.1068357229232788,
-0.6236944198608398,
-0.8416404128074646,
-0.4731138348579407,
0.8439005613327026,
0.02536758966743946,
0.0699739158153534,
-0.25760072469711304,
0.6121989488601685,
-0.14661771059036255,
0.21864844858646393,
-0.5222979187965393,
-0.04091159626841545,
-0.3680107295513153,
-0.3617004454135895,
-0.02320699952542782,
-0.1898316591978073,
-0.4810098707675934,
-0.1958964765071869,
0.6903798580169678,
-0.299782395362854,
0.9694239497184753,
0.4431426227092743,
0.015625206753611565,
-0.4328886568546295,
-0.0334542915225029,
0.08297405391931534,
0.5594063997268677,
-0.431233286857605,
0.1479133814573288,
0.2640625536441803,
-0.6139847040176392,
0.19749270379543304,
0.08637361228466034,
0.31551384925842285,
-0.1637265384197235,
0.17741987109184265,
0.6360713243484497,
0.4745887815952301,
-0.817134439945221,
0.7243746519088745,
-0.3321896493434906,
-0.31221631169319153,
-0.7731181979179382,
0.2853921353816986,
0.23453272879123688,
0.28309768438339233,
-0.08158241957426071,
-0.0068287476897239685,
0.2782950699329376,
-0.5473693013191223,
0.19736990332603455,
0.11875245720148087,
-0.7919667363166809,
-0.41230595111846924,
0.7936408519744873,
0.01827116869390011,
-0.6368422508239746,
0.9679258465766907,
-0.09690158814191818,
-0.6546831130981445,
0.28276878595352173,
0.7738470435142517,
0.5450071692466736,
-0.12203230708837509,
0.4128885865211487,
0.0938165932893753,
0.1535012573003769,
-0.15310558676719666,
0.5171704888343811,
0.16596506536006927,
-0.3690858483314514,
-0.2629517912864685,
0.08534056693315506,
-0.6613243222236633,
0.2649296224117279,
-1.0683223009109497,
0.5269308090209961,
-0.7788845896720886,
-0.5855914950370789,
-0.33950719237327576,
0.4863464832305908,
-0.8315501809120178,
0.3172352612018585,
0.3646852970123291,
1.1278725862503052,
-0.8449809551239014,
1.3783411979675293,
1.3363488912582397,
-0.41872528195381165,
-1.0854624509811401,
0.3492312729358673,
-0.037146829068660736,
-0.6221441626548767,
-0.06764601171016693,
0.062260422855615616,
0.3962342441082001,
-0.002186015946790576,
-0.24445000290870667,
-0.1657705307006836,
1.0805658102035522,
0.7072820663452148,
-0.23090074956417084,
-0.16836753487586975,
0.20945967733860016,
0.8237867951393127,
-0.24973823130130768,
0.3358820378780365,
0.2477564960718155,
0.09373971074819565,
-0.2776281237602234,
-0.7019941806793213,
0.26224401593208313,
-0.1838936060667038,
0.15827371180057526,
0.043178170919418335,
-0.7691647410392761,
0.5358790755271912,
-0.1345071643590927,
0.3131581246852875,
0.01683744601905346,
0.5869226455688477,
0.7327024340629578,
0.24194221198558807,
0.7173027396202087,
0.6471551656723022,
0.7963942885398865,
0.24280300736427307,
1.0318255424499512,
-0.3751901686191559,
0.3486213684082031,
1.0201988220214844,
-0.4467046856880188,
0.6643400192260742,
0.546371340751648,
-0.28105199337005615,
0.5577297210693359,
0.5402690768241882,
-0.09906600415706635,
0.44306737184524536,
0.1809312105178833,
-0.4368508756160736,
-0.6054829955101013,
0.1378803700208664,
-0.38070568442344666,
0.054640207439661026,
0.3634452819824219,
-0.08212202787399292,
0.21689115464687347,
0.14210572838783264,
0.29426586627960205,
0.03506006672978401,
0.21361452341079712,
0.5723322033882141,
0.5488275289535522,
-0.5802717804908752,
0.304645299911499,
0.1204535961151123,
0.06504905968904495,
-0.9881750345230103,
0.08242180943489075,
0.06854324042797089,
0.32782384753227234,
0.047869253903627396,
-0.4900178015232086,
-0.0769728496670723,
-0.14911706745624542,
0.018100470304489136,
-0.2086675763130188,
0.5175435543060303,
-0.16186007857322693,
-0.3718454837799072,
0.40205222368240356,
0.44580644369125366,
0.38940393924713135,
-0.25978314876556396,
-0.8727874159812927,
-0.21500012278556824,
-0.27968817949295044,
-0.07425228506326675,
0.8229243159294128,
0.6805340051651001,
-0.04110107943415642,
0.4469503164291382,
0.37019261717796326,
0.14472471177577972,
-0.3130124807357788,
0.34599339962005615,
1.0160268545150757,
-0.45986679196357727,
-0.737082839012146,
-0.23531632125377655,
0.23576506972312927,
-0.03393647074699402,
-0.49015751481056213,
0.30261120200157166,
0.5729743838310242,
0.29761359095573425,
-0.10553090274333954,
0.7825934290885925,
-0.009730969555675983,
0.5178776979446411,
-0.07398679107427597,
0.6779525876045227,
-0.5381698608398438,
-0.04601939022541046,
-0.5461016297340393,
-0.5278215408325195,
0.09190912544727325,
0.7074189782142639,
-0.32854729890823364,
0.05451791360974312,
0.6706568002700806,
0.4842134714126587,
-0.15620775520801544,
-0.0382644347846508,
0.5687021017074585,
0.11589337140321732,
0.8253660798072815,
0.7952536940574646,
1.0103859901428223,
-0.1943231225013733,
0.1612313985824585,
-0.5642904043197632,
-0.25878673791885376,
-0.3376420736312866,
-0.4374631643295288,
-1.1602486371994019,
-0.4621557593345642,
-0.4441242516040802,
-0.4871259927749634,
0.2600911259651184,
1.284346103668213,
1.1918352842330933,
-0.3712989389896393,
-0.15137946605682373,
-0.06637164950370789,
-0.6739768385887146,
-0.6539532542228699,
-0.22606638073921204,
0.0955655425786972,
-0.1841747760772705,
-0.32531261444091797,
0.2731763422489166,
-0.04843420907855034,
0.10788233578205109,
-0.3696621060371399,
-0.4362144470214844,
0.21587739884853363,
-0.04927775263786316,
0.3751773536205292,
0.09710285067558289,
-0.5032023787498474,
0.006590572185814381,
-0.17686934769153595,
-0.48793983459472656,
0.050853658467531204,
1.0904022455215454,
-1.0251957178115845,
0.4345785081386566,
-0.2540445327758789,
0.416610985994339,
0.8804082274436951,
0.027625195682048798,
0.7702112197875977,
-0.3588022291660309,
0.2711295187473297,
0.4729830324649811,
0.38575342297554016,
0.21535250544548035,
-0.6050152778625488,
0.3368184268474579,
0.45417144894599915,
-0.3270359933376312,
-0.8341415524482727,
0.21347211301326752,
-1.0653525590896606,
-0.29929372668266296,
0.8138235211372375,
-0.6302809715270996,
0.25406888127326965,
-0.24607394635677338,
-0.7091997265815735,
0.5864571928977966,
-0.5566777586936951,
1.049033761024475,
0.24266313016414642,
-0.192862406373024,
-0.23510973155498505,
-0.8362683057785034,
0.5425029397010803,
0.5669731497764587,
-0.7836212515830994,
-0.396410197019577,
0.1685906946659088,
0.6172739863395691,
-0.4455782175064087,
1.214308500289917,
-0.17288237810134888,
0.47055745124816895,
0.03203818202018738,
0.31807348132133484,
-0.1411774456501007,
-0.1116066575050354,
-0.008252058178186417,
-0.10449749231338501,
0.5530673265457153,
0.21520143747329712
] |
http://arxiv.org/abs/2405.19653v1
|
http://arxiv.org/pdf/2405.19653v1
|
SysCaps: Language Interfaces for Simulation Surrogates of Complex Systems
| 2024-05-30T03:12:04 | 2024-05-30T03:12:04 |
Patrick Emami, Zhaonan Li, Saumya Sinha, Truc Nguyen
|
cs.LG
|
cs.LG, cs.CL, cs.SY, eess.SY
|
Data-driven simulation surrogates help computational scientists study complex
systems. They can also help inform impactful policy decisions. We introduce a
learning framework for surrogate modeling where language is used to interface
with the underlying system being simulated. We call a language description of a
system a "system caption", or SysCap. To address the lack of datasets of paired
natural language SysCaps and simulation runs, we use large language models
(LLMs) to synthesize high-quality captions. Using our framework, we train
multimodal text and timeseries regression models for two real-world simulators
of complex energy systems. Our experiments demonstrate the feasibility of
designing language interfaces for real-world surrogate models at comparable
accuracy to standard baselines. We qualitatively and quantitatively show that
SysCaps unlock text-prompt-style surrogate modeling and new generalization
abilities beyond what was previously possible. We will release the generated
SysCaps datasets and our code to support follow-on studies.
|
[
-0.288087397813797,
-0.4356396198272705,
0.5826864242553711,
0.2660735249519348,
0.03928171098232269,
0.3779482841491699,
-0.1051747053861618,
-0.22805200517177582,
0.16277003288269043,
0.7409572601318359,
-0.6420108675956726,
-0.3046516478061676,
-0.1289399266242981,
0.15695668756961823,
-0.3546791076660156,
0.8746942281723022,
0.016222190111875534,
0.34114623069763184,
-0.5566734671592712,
0.3532291650772095,
-0.3591088354587555,
-0.5956873297691345,
-0.6434866786003113,
-0.331295371055603,
0.1527486890554428,
0.15778836607933044,
0.5398221611976624,
0.325530081987381,
0.5541858673095703,
0.3241454064846039,
0.10733956098556519,
0.21313542127609253,
-0.29830247163772583,
0.26065388321876526,
-0.001824990613386035,
-0.436958909034729,
-0.20398853719234467,
-0.012156563811004162,
0.8174954056739807,
0.7801135778427124,
-0.4301069676876068,
0.14201071858406067,
0.0010296398540958762,
0.24369938671588898,
-0.6218510270118713,
0.685582160949707,
-0.3070678114891052,
0.009158365428447723,
0.2879912257194519,
-0.22047501802444458,
-0.6837818026542664,
-0.355960875749588,
-0.05229730159044266,
-0.6505537033081055,
0.024916261434555054,
0.15416476130485535,
0.6733834147453308,
0.37938064336776733,
-0.2864700257778168,
0.11216454952955246,
-0.8479601144790649,
0.9029201865196228,
-0.7129312753677368,
0.23513686656951904,
-0.10164643824100494,
0.6831673383712769,
-0.37352678179740906,
-0.8332316875457764,
-0.4748959243297577,
-0.4380827844142914,
-0.32843852043151855,
0.03999550640583038,
-0.6054996848106384,
0.6779438853263855,
0.5684595704078674,
-0.06084234267473221,
-0.44796648621559143,
-0.027250239625573158,
-0.3624252378940582,
-0.3557032346725464,
0.49736425280570984,
0.37911882996559143,
0.39940905570983887,
-0.183806911110878,
-0.4716232717037201,
-0.16512277722358704,
-0.7943907976150513,
-0.16890960931777954,
0.2811024785041809,
0.5750091075897217,
-0.4379775822162628,
0.47362127900123596,
-0.2957374155521393,
0.8573665618896484,
-0.7808628082275391,
0.09527693688869476,
-0.02148885652422905,
0.10227490961551666,
-0.42612016201019287,
0.05014174431562424,
0.4522649049758911,
0.3184455633163452,
0.4395310878753662,
-0.023311248049139977,
-0.18307510018348694,
0.2963787615299225,
0.14489831030368805,
-0.5782965421676636,
-0.3313172459602356,
0.1631484180688858,
-0.1857173591852188,
-0.226061150431633,
-0.15805572271347046,
-0.791890025138855,
-0.25077781081199646,
-0.4942462146282196,
0.5194789171218872,
-0.08389392495155334,
-0.16440212726593018,
0.2655642628669739,
-0.41099342703819275,
-0.05783406272530556,
0.2385992407798767,
-0.561650276184082,
0.9033728241920471,
0.4109683632850647,
0.6202937364578247,
0.04253995046019554,
-0.24268166720867157,
-0.6101871132850647,
0.40479177236557007,
-0.1764979511499405,
0.8177430033683777,
-0.8156447410583496,
-0.29895099997520447,
-0.0897754654288292,
-0.06293340027332306,
-0.034099798649549484,
-0.6130553483963013,
-0.11231008917093277,
-0.3803477883338928,
-0.027056850492954254,
-0.20860305428504944,
-0.4197560250759125,
0.05291130021214485,
-0.08560539036989212,
-0.7201038002967834,
0.7245492339134216,
-0.07150615751743317,
-0.3439491093158722,
-0.00933463778346777,
-0.911823570728302,
-0.1605842262506485,
-0.01225370541214943,
-0.3484046161174774,
-0.09737832844257355,
0.07118634134531021,
-0.03593003377318382,
0.48527365922927856,
-0.41756150126457214,
0.43937069177627563,
-0.30104953050613403,
-0.07028403878211975,
0.26676249504089355,
-0.6325531005859375,
0.45663654804229736,
0.46031737327575684,
0.12401216477155685,
-0.001109456759877503,
-0.5132060647010803,
0.09699586033821106,
-0.14218872785568237,
-0.19486625492572784,
-0.25885751843452454,
0.23014362156391144,
0.36243563890457153,
-0.051085375249385834,
0.17583979666233063,
-0.7321288585662842,
0.4458032548427582,
-0.030205704271793365,
0.7122014760971069,
0.49157923460006714,
0.007079471368342638,
0.1116931140422821,
-0.2228984385728836,
0.7139089703559875,
-0.20116357505321503,
0.22693324089050293,
-0.262142539024353,
-0.1535215973854065,
-0.5206953287124634,
-0.23943403363227844,
0.1932940036058426,
0.3219861686229706,
-0.8929580450057983,
-0.22245118021965027,
-0.10405770689249039,
-0.48581692576408386,
-0.02943207137286663,
-0.5134181380271912,
0.6332759261131287,
0.1628936380147934,
0.4345356523990631,
0.25892332196235657,
-0.7718750834465027,
-1.2692536115646362,
-0.3744087517261505,
-0.3668808341026306,
-0.01281855721026659,
0.27539265155792236,
0.4282805323600769,
0.02543838880956173,
0.8799880743026733,
-0.9460811614990234,
0.26787132024765015,
-0.4617394506931305,
0.10978122055530548,
-0.03716259077191353,
0.6095795035362244,
0.5623371005058289,
-0.6756749153137207,
-0.10430668294429779,
-0.09294340014457703,
-0.5654848217964172,
-0.40947434306144714,
-0.18683144450187683,
0.22867365181446075,
-0.0879000723361969,
0.8360015153884888,
-0.6472945213317871,
0.03714475408196449,
0.7733679413795471,
-0.025251392275094986,
0.7942308187484741,
-0.2086251676082611,
0.20376823842525482,
-1.103671669960022,
0.25011706352233887,
0.12387318909168243,
-0.22002971172332764,
-0.7322825193405151,
0.4388979375362396,
-0.1193595826625824,
-0.5189918875694275,
-0.5464173555374146,
0.6787189841270447,
-0.3704780638217926,
-0.3700559437274933,
0.047635842114686966,
-0.388560026884079,
-0.07006513327360153,
0.3711712658405304,
0.27258455753326416,
1.0825477838516235,
0.4232637286186218,
-0.6368009448051453,
0.37288400530815125,
-0.13348302245140076,
-0.17074772715568542,
0.31500041484832764,
-0.5750851631164551,
-0.4828224182128906,
-0.006690787151455879,
0.4375411868095398,
-0.984847366809845,
-0.6622084975242615,
-0.15453064441680908,
-0.15915024280548096,
0.2847537696361542,
-0.052343595772981644,
-0.42722421884536743,
-0.23898613452911377,
0.2003202885389328,
0.31566122174263,
0.34070679545402527,
-0.2065007984638214,
0.7534964084625244,
0.6044715046882629,
-0.3261805474758148,
-0.3507271707057953,
-0.4329603612422943,
0.2796204388141632,
-0.12064686417579651,
0.1897612363100052,
0.12251769006252289,
0.06910774856805801,
-0.4411819279193878,
-0.40749943256378174,
0.03880208358168602,
-0.31308043003082275,
0.12460467219352722,
0.46965768933296204,
0.2924793064594269,
0.09396489709615707,
0.4108105003833771,
0.48583707213401794,
-0.353196918964386,
0.3463743329048157,
-0.1716943383216858,
0.8897058367729187,
-0.3051494061946869,
-0.4792536795139313,
-0.6323490738868713,
0.472137987613678,
0.8194640278816223,
0.1201016902923584,
0.19347548484802246,
-0.15247774124145508,
-0.7544505000114441,
-0.1505371630191803,
-0.41601327061653137,
-0.2718295454978943,
-0.464608758687973,
0.5060900449752808,
-0.4980372190475464,
-0.7006020545959473,
0.19811150431632996,
-0.5155071020126343,
0.33986300230026245,
0.284160315990448,
0.05473817139863968,
-0.30036625266075134,
1.273439884185791,
0.8129918575286865,
-0.04507604241371155,
0.22524334490299225,
-0.28473442792892456,
0.04678729549050331,
-0.5220517516136169,
-0.4095911979675293,
-0.8650648593902588,
-0.2003132402896881,
-0.5232678055763245,
-0.2690677046775818,
0.5925111174583435,
-0.1512109339237213,
-0.5163356065750122,
0.5953248739242554,
-0.290412038564682,
0.49918287992477417,
0.22837284207344055,
0.10545255988836288,
0.24492543935775757,
0.3480205833911896,
-0.15566906332969666,
-0.25973594188690186,
-0.9173487424850464,
-0.6317020058631897,
0.498409628868103,
0.3471108078956604,
1.2472877502441406,
-0.022152354940772057,
0.503294050693512,
0.6535908579826355,
0.31769120693206787,
-0.5215097665786743,
0.7916104197502136,
-0.16094757616519928,
-0.38041412830352783,
-0.23900163173675537,
-0.5279491543769836,
-0.7661390900611877,
-0.18215563893318176,
-0.17448881268501282,
-0.6187011003494263,
0.13465231657028198,
0.4041866064071655,
-0.487481027841568,
0.30912715196609497,
-0.7019992470741272,
0.6901102066040039,
-0.03376484289765358,
0.03234001621603966,
-0.5943635702133179,
-0.5749659538269043,
-0.02475660666823387,
0.33889830112457275,
0.222865030169487,
0.2292342185974121,
-0.038097083568573,
0.496506929397583,
-0.4099443852901459,
1.1945085525512695,
-0.14028216898441315,
-0.1174883097410202,
0.18159686028957367,
0.38699424266815186,
0.11676224321126938,
-0.19514009356498718,
-0.06124051287770271,
0.1013801321387291,
0.45417359471321106,
-0.3631952404975891,
-0.35401836037635803,
0.7589948773384094,
-0.7520279884338379,
-0.5261009335517883,
-0.46628984808921814,
-0.6135732531547546,
-0.3931983411312103,
0.009487367235124111,
-0.08441617339849472,
0.5880857706069946,
-0.31270527839660645,
0.08224202692508698,
0.6326795816421509,
-0.26270973682403564,
0.46102645993232727,
0.4067697525024414,
-0.3609370291233063,
-0.24467632174491882,
0.9493682980537415,
-0.05977407842874527,
0.6629313230514526,
0.6118307113647461,
0.059385258704423904,
-0.2012769877910614,
0.006280500907450914,
-0.4020390808582306,
0.14146669209003448,
-0.4182788133621216,
-0.3814425468444824,
-0.603981077671051,
-0.5125402212142944,
-0.16902625560760498,
-0.20452967286109924,
-0.25358110666275024,
-0.5180097818374634,
-0.14906449615955353,
-0.18485014140605927,
0.23683692514896393,
0.8375476002693176,
-0.18892636895179749,
0.5889152884483337,
-0.8503409624099731,
0.19106033444404602,
0.3404443860054016,
0.2499915063381195,
-0.2007349282503128,
-0.01115044578909874,
-0.09036361426115036,
0.14513833820819855,
-0.09094695001840591,
-0.8649855852127075,
0.45685356855392456,
0.19922445714473724,
0.5796450972557068,
0.21955332159996033,
-0.05854133144021034,
0.7935639023780823,
-0.2803594470024109,
0.8193710446357727,
0.34827280044555664,
-1.0864499807357788,
0.6638057827949524,
-0.429825097322464,
0.21123264729976654,
0.2604101300239563,
0.4869791865348816,
-0.5912413001060486,
-0.40417852997779846,
-0.5506716966629028,
-0.41544246673583984,
0.5150603652000427,
0.03173758462071419,
0.32083451747894287,
-0.09836919605731964,
0.5017340779304504,
0.020239470526576042,
0.742972731590271,
-0.6538671255111694,
-0.03149845451116562,
0.20623451471328735,
-0.10093823820352554,
-0.014992430806159973,
-0.09722301363945007,
-0.29758793115615845,
0.09123244136571884,
0.5614184737205505,
-0.2829160988330841,
0.005955003667622805,
0.05177152156829834,
0.2157895714044571,
-0.015460187569260597,
0.19991625845432281,
0.4377126395702362,
0.21563108265399933,
-0.08845220506191254,
0.2158358097076416,
0.22322715818881989,
-0.5415593981742859,
0.11830037087202072,
-0.10074476897716522,
-0.10076476633548737,
0.08776535093784332,
0.34542134404182434,
0.6707850098609924,
0.31503018736839294,
-1.0511995553970337,
0.04815104603767395,
-0.047979097813367844,
-0.02672261744737625,
-0.18447303771972656,
0.3628048300743103,
-0.006800367962568998,
0.23367096483707428,
0.44710052013397217,
0.31121858954429626,
0.26385045051574707,
-0.5563715100288391,
0.09332216531038284,
0.5566985607147217,
-0.5948151350021362,
-0.15311723947525024,
0.6740565896034241,
0.2894042432308197,
-0.26442092657089233,
0.26913899183273315,
0.29568538069725037,
-0.34972843527793884,
1.0839524269104004,
0.624485433101654,
0.5718663334846497,
-0.2213994413614273,
0.47210901975631714,
0.28416165709495544,
0.498040109872818,
-0.14961670339107513,
0.5752202868461609,
-0.1705060601234436,
-0.24241964519023895,
-0.45423397421836853,
-0.753563404083252,
-0.729738175868988,
0.16403716802597046,
-0.7500139474868774,
0.4252009689807892,
-0.6086028218269348,
-0.22109201550483704,
-0.1438555121421814,
-0.06728116422891617,
-0.4151942729949951,
0.43589651584625244,
0.2082585245370865,
1.2017821073532104,
-1.4579827785491943,
0.4555895924568176,
0.9760385751724243,
-0.13977690041065216,
-0.8561662435531616,
-0.19913391768932343,
-0.30927932262420654,
-0.6581587791442871,
0.5540947914123535,
-0.07116526365280151,
-0.15165622532367706,
0.41238531470298767,
-0.9897927045822144,
-0.9031209349632263,
0.927537739276886,
0.7745345830917358,
-0.7419918179512024,
-0.05027155578136444,
0.3068777322769165,
0.5845999121665955,
-0.5109043121337891,
0.4189651608467102,
0.38122206926345825,
0.4535689353942871,
-0.15530875325202942,
-0.8913210034370422,
-0.13348495960235596,
0.019251517951488495,
0.06925477087497711,
0.2931464910507202,
-0.7484793663024902,
0.7512422204017639,
-0.2737601697444916,
-0.24361395835876465,
0.31598782539367676,
0.5741780996322632,
0.5269848704338074,
0.3366619348526001,
0.4748407304286957,
0.41581955552101135,
0.2431555986404419,
-0.2269240915775299,
1.0091205835342407,
-0.261322557926178,
0.4846409857273102,
0.84083092212677,
-0.3449065089225769,
0.8720457553863525,
0.8444056510925293,
-0.4380120038986206,
0.6935234665870667,
0.5191771388053894,
0.29671671986579895,
0.4035675823688507,
0.4920184314250946,
-0.26715970039367676,
-0.7321999073028564,
-0.5208741426467896,
-0.3085407018661499,
0.2702052593231201,
0.661684513092041,
-0.04165336862206459,
-0.6236647367477417,
0.0832754597067833,
-0.08253470063209534,
0.1952710598707199,
-0.16721788048744202,
0.5454697012901306,
0.16630353033542633,
-0.5406492352485657,
0.20894744992256165,
-0.1532655507326126,
0.04069526493549347,
-0.8192904591560364,
-0.5958417654037476,
-0.08766001462936401,
-0.2657512128353119,
-0.2636221945285797,
-0.7598455548286438,
0.17741836607456207,
-0.1393832117319107,
-0.190034881234169,
-0.189803808927536,
0.44052451848983765,
-0.3338267207145691,
-0.4339252710342407,
0.03623717278242111,
0.35735398530960083,
0.4315933287143707,
0.18748492002487183,
-0.44401082396507263,
0.12468648701906204,
0.02785870060324669,
-0.041315969079732895,
0.24290603399276733,
-0.02897495962679386,
-0.3954017460346222,
1.1134916543960571,
0.6055387854576111,
0.31267261505126953,
-0.2774297893047333,
0.2724698781967163,
1.074381947517395,
-0.39354562759399414,
-0.4451753497123718,
-0.5869124531745911,
0.23746170103549957,
-0.038842953741550446,
-0.02215190976858139,
0.22312603890895844,
0.8075137734413147,
0.5502134561538696,
-0.418235182762146,
1.13715398311615,
0.04321086406707764,
0.3785459101200104,
-0.6792507767677307,
0.604154646396637,
-0.5034133195877075,
0.4557262659072876,
-0.23082277178764343,
-0.8413437604904175,
-0.26223915815353394,
0.27620929479599,
-0.22604550421237946,
-0.15971294045448303,
0.42183348536491394,
0.7736226320266724,
-0.21746833622455597,
-0.03789522498846054,
0.3117263913154602,
0.43113425374031067,
0.4109414219856262,
0.5444947481155396,
0.8498758673667908,
-0.2315920740365982,
0.305043488740921,
-0.031168270856142044,
-0.36050111055374146,
-0.07808468490839005,
-0.852001428604126,
-0.5077878832817078,
-0.5896727442741394,
-0.23918181657791138,
-0.13478653132915497,
0.24637769162654877,
0.9304618239402771,
0.5249664783477783,
-0.7433475255966187,
-0.7196474075317383,
-0.29543736577033997,
-0.052306078374385834,
-0.2544219195842743,
-0.27911266684532166,
0.004152771085500717,
-0.263544499874115,
-0.7936257123947144,
0.25745919346809387,
0.4684401750564575,
0.17684698104858398,
-0.7179188132286072,
0.0607302263379097,
0.020708704367280006,
0.22628194093704224,
0.4523831307888031,
0.42985352873802185,
-0.6046778559684753,
-0.26642873883247375,
0.05406565964221954,
-0.11052615195512772,
-0.4674328565597534,
0.8694624900817871,
-1.1607425212860107,
0.3571999669075012,
0.4374096095561981,
0.4121674597263336,
0.20050859451293945,
-0.05263945832848549,
0.8009644150733948,
-0.6797849535942078,
-0.008636877872049809,
0.1594143658876419,
0.38637933135032654,
0.08735190331935883,
-0.23470629751682281,
0.21948352456092834,
0.21753562986850739,
-0.33610567450523376,
-1.1532061100006104,
0.45657697319984436,
-0.927181601524353,
-0.3983610272407532,
1.0005370378494263,
-0.08834788203239441,
-0.07149675488471985,
-0.04191146418452263,
-0.3756886422634125,
0.10681743919849396,
-0.39302870631217957,
0.8182079792022705,
0.4154731333255768,
-0.23518115282058716,
-0.06492186337709427,
-0.6716079711914062,
0.3974071145057678,
0.3764007091522217,
-1.0646600723266602,
0.307327002286911,
0.820931613445282,
0.15202899277210236,
0.22073888778686523,
0.28608277440071106,
0.13468009233474731,
0.27599048614501953,
0.062188003212213516,
0.4572148025035858,
0.11148450523614883,
-0.7745672464370728,
-0.1971246302127838,
0.09588905423879623,
-0.33089062571525574,
0.014988762326538563
] |
http://arxiv.org/abs/2405.19648v1
|
http://arxiv.org/pdf/2405.19648v1
|
Detecting Hallucinations in Large Language Model Generation: A Token Probability Approach
| 2024-05-30T03:00:47 | 2024-05-30T03:00:47 |
Ernesto Quevedo, Jorge Yero, Rachel Koerner, Pablo Rivas, Tomas Cerny
|
cs.CL
|
cs.CL, cs.AI, cs.LG, I.2.7
|
Concerns regarding the propensity of Large Language Models (LLMs) to produce
inaccurate outputs, also known as hallucinations, have escalated. Detecting
them is vital for ensuring the reliability of applications relying on
LLM-generated content. Current methods often demand substantial resources and
rely on extensive LLMs or employ supervised learning with multidimensional
features or intricate linguistic and semantic analyses difficult to reproduce
and largely depend on using the same LLM that hallucinated. This paper
introduces a supervised learning approach employing two simple classifiers
utilizing only four numerical features derived from tokens and vocabulary
probabilities obtained from other LLM evaluators, which are not necessarily the
same. The method yields promising results, surpassing state-of-the-art outcomes
in multiple tasks across three different benchmarks. Additionally, we provide a
comprehensive examination of the strengths and weaknesses of our approach,
highlighting the significance of the features utilized and the LLM employed as
an evaluator. We have released our code publicly at
https://github.com/Baylor-AI/HalluDetect.
|
[
-0.29797884821891785,
-0.9959041476249695,
0.6864940524101257,
0.31335651874542236,
-0.24101680517196655,
-0.012222131714224815,
-0.4289434254169464,
-0.4049852788448334,
0.43787530064582825,
0.6871148943901062,
-0.2892346680164337,
-0.7672000527381897,
-0.6802003383636475,
0.07162008434534073,
-0.6379747986793518,
0.9506642818450928,
0.13535262644290924,
0.11617662012577057,
-0.13937504589557648,
0.2175939679145813,
-0.6558446884155273,
-0.843567430973053,
-0.716031014919281,
-0.15861725807189941,
0.44575363397598267,
0.21820996701717377,
0.44387269020080566,
0.3992423713207245,
0.5241007804870605,
0.24440336227416992,
0.07385136932134628,
0.25912150740623474,
-0.35021087527275085,
0.2909354865550995,
0.1557117998600006,
-0.21486696600914001,
-0.3338838815689087,
-0.3569703996181488,
0.44936275482177734,
0.7828658819198608,
-0.060306500643491745,
-0.0809514969587326,
0.012916555628180504,
0.36165526509284973,
-0.6348121166229248,
0.412229984998703,
-1.0234689712524414,
0.26499873399734497,
-0.31087419390678406,
-0.27972859144210815,
-0.7390041351318359,
-0.26501697301864624,
-0.2267208695411682,
-0.2283237725496292,
0.25214916467666626,
0.1741361767053604,
0.3537599742412567,
0.36994990706443787,
-0.2989261746406555,
-0.5984854698181152,
-0.4775603413581848,
0.8019722700119019,
-0.508865475654602,
0.4459754228591919,
0.48759204149246216,
0.219272643327713,
-0.44566428661346436,
-0.7129148244857788,
-0.6424037218093872,
-0.5676466226577759,
-0.07363972812891006,
-0.06315530091524124,
-0.07469748705625534,
0.0422835536301136,
0.2709462344646454,
0.10026382654905319,
-0.623182475566864,
0.43728792667388916,
-0.291317880153656,
-0.6399719715118408,
0.5607649683952332,
0.1818362921476364,
0.11803963035345078,
-0.45570290088653564,
-0.3081543743610382,
-0.1633671373128891,
-0.40589678287506104,
-0.28970587253570557,
0.5925782918930054,
0.5000733137130737,
0.13551832735538483,
0.5954372882843018,
0.1276790201663971,
0.337045818567276,
-0.06323130428791046,
-0.2595309317111969,
0.5159602165222168,
0.01599394902586937,
-0.029310602694749832,
0.36085230112075806,
0.7273062467575073,
0.043170079588890076,
0.39299070835113525,
-0.34899628162384033,
-0.5317512154579163,
0.23432056605815887,
0.49879541993141174,
-0.6263689994812012,
-0.27381861209869385,
0.45918628573417664,
-0.374087393283844,
-0.5504547953605652,
0.32530251145362854,
-0.8109960556030273,
-0.6412898898124695,
-0.24712730944156647,
0.3125340938568115,
-0.5328730344772339,
-0.2918018698692322,
0.1302117109298706,
0.13288944959640503,
0.0434708371758461,
0.09613367170095444,
-0.9457285404205322,
0.33171579241752625,
1.0220922231674194,
0.8722284436225891,
-0.6929108500480652,
-0.44751206040382385,
-0.9751652479171753,
-0.044307127594947815,
-0.5228008031845093,
0.7291033267974854,
-0.3980206847190857,
-0.27930983901023865,
0.1892271786928177,
-0.025245532393455505,
0.21837149560451508,
-0.7842431664466858,
0.564082682132721,
-0.25911226868629456,
-0.08362124115228653,
0.09841317683458328,
-0.5482745170593262,
-0.012979495339095592,
0.12741906940937042,
-0.6826247572898865,
0.9432232975959778,
-0.01632797159254551,
-0.8473386764526367,
0.4906330704689026,
-0.38584625720977783,
-0.5874933004379272,
0.1262803077697754,
-0.40672266483306885,
-0.4837028682231903,
0.46468281745910645,
0.15913042426109314,
0.6490427851676941,
0.20330606400966644,
0.7001686096191406,
-0.23422470688819885,
-0.5151374936103821,
0.4907965660095215,
-0.5579951405525208,
0.5243226885795593,
0.048136480152606964,
-0.44821926951408386,
0.4798121154308319,
-0.9135577082633972,
-0.241212859749794,
0.052827950567007065,
-0.09318627417087555,
-0.13544060289859772,
-0.020081406459212303,
0.3397868275642395,
0.04534544050693512,
0.04212431237101555,
-0.3048050105571747,
0.017289189621806145,
-0.3419543206691742,
0.022688409313559532,
0.9717073440551758,
0.03454720228910446,
0.058272842317819595,
-0.16837696731090546,
0.443840354681015,
0.44726547598838806,
0.11344147473573685,
-0.04520194232463837,
-0.4115324020385742,
-0.7057273983955383,
-0.3965371549129486,
0.1918424665927887,
0.3369199335575104,
-0.809336245059967,
0.7720234990119934,
-0.03707265108823776,
-0.33750686049461365,
-0.23412415385246277,
0.06826593726873398,
0.29591676592826843,
0.3169655203819275,
0.31195902824401855,
-0.3879101276397705,
-0.7018609642982483,
-0.7223312258720398,
-0.05872606858611107,
-0.34992876648902893,
-0.16073504090309143,
0.13825322687625885,
0.7150194048881531,
-0.4363600015640259,
0.6402263045310974,
-0.4835536777973175,
-0.6543494462966919,
-0.19998495280742645,
0.16416136920452118,
0.004238274414092302,
0.44728657603263855,
0.47220128774642944,
-0.522825300693512,
-0.07164710015058517,
-0.01928606629371643,
-0.9112502932548523,
-0.18026664853096008,
-0.2298453003168106,
0.14922618865966797,
0.5949622988700867,
0.6504064202308655,
-0.6172745227813721,
0.4353218972682953,
0.4941555857658386,
-0.1568865329027176,
0.7802282571792603,
-0.14730514585971832,
-0.14375711977481842,
-1.141249656677246,
-0.062380898743867874,
-0.013283753767609596,
0.03115379624068737,
-0.6287211775779724,
-0.013532563112676144,
-0.14633066952228546,
0.09696441888809204,
-0.25267112255096436,
0.4362836182117462,
-0.31443464756011963,
-0.14528535306453705,
-0.26761382818222046,
0.22953884303569794,
-0.40149205923080444,
0.38476288318634033,
0.09986791759729385,
0.4084639251232147,
0.5904792547225952,
-0.28062355518341064,
0.5018275380134583,
-0.009909763000905514,
-0.49908316135406494,
0.14793191850185394,
-0.19920101761817932,
0.322299063205719,
-0.1718892902135849,
0.20677807927131653,
-0.9710536599159241,
-0.5807464122772217,
0.4442368745803833,
-0.5192742347717285,
0.2834632098674774,
0.16757723689079285,
-0.7258981466293335,
-0.2459326684474945,
-0.37642261385917664,
0.17549322545528412,
0.3855336010456085,
-0.6619290709495544,
0.6196469664573669,
0.5435692071914673,
0.08651795238256454,
-0.6658607721328735,
-0.7298187613487244,
0.2550279498100281,
-0.331563800573349,
-0.3709893524646759,
0.15836986899375916,
0.19661583006381989,
-0.4791707694530487,
-0.14376556873321533,
-0.06131712347269058,
0.05803963914513588,
0.29827335476875305,
0.5725896954536438,
0.15851080417633057,
-0.06174692139029503,
0.388800710439682,
-0.056581757962703705,
-0.24402323365211487,
0.3151487708091736,
-0.41035184264183044,
0.9321432709693909,
-0.08456705510616302,
-0.555658221244812,
-0.44031307101249695,
0.14347021281719208,
0.5343042016029358,
0.017713170498609543,
0.7844312191009521,
0.7950471043586731,
-0.6835213303565979,
-0.5101743936538696,
-0.7152825593948364,
-0.5965034365653992,
-0.3849436938762665,
0.5910732746124268,
-0.4752722680568695,
-0.7117347121238708,
0.7062800526618958,
0.10665953904390335,
-0.22260047495365143,
0.3414292633533478,
0.7149802446365356,
0.3679194450378418,
1.0252363681793213,
0.5516771674156189,
-0.07094017416238785,
0.2233981341123581,
0.046781986951828,
0.49226656556129456,
-0.5524298548698425,
-0.5065277814865112,
-0.40946727991104126,
-0.011110332794487476,
-0.7051578164100647,
-0.32741037011146545,
0.1762763112783432,
-0.09077861160039902,
0.13961422443389893,
0.10339381545782089,
-0.4712597727775574,
0.2834366261959076,
0.4398457705974579,
0.026433702558279037,
0.2865424156188965,
0.23814243078231812,
-0.24856466054916382,
-0.0893101766705513,
-0.3697405755519867,
-0.600676953792572,
1.1263796091079712,
0.37269729375839233,
0.6675395965576172,
0.013402811251580715,
0.9140802025794983,
0.33637112379074097,
0.25035759806632996,
-0.9656602740287781,
0.6155378818511963,
-0.07665694504976273,
-0.31506454944610596,
-0.4315425157546997,
-0.5499810576438904,
-0.8687863349914551,
0.24378997087478638,
-0.40022844076156616,
-0.9583083391189575,
-0.13919176161289215,
-0.10427294671535492,
-0.036341775208711624,
0.4045206606388092,
-0.5223063826560974,
0.7385199069976807,
-0.2595475912094116,
-0.13202697038650513,
-0.16027206182479858,
-0.3665284514427185,
0.6164166331291199,
-0.6922469735145569,
0.2877620756626129,
0.15441986918449402,
0.24973629415035248,
0.547640860080719,
-0.14177964627742767,
1.0005284547805786,
-0.1626482903957367,
-0.21657419204711914,
0.046418268233537674,
0.17677021026611328,
0.4611804187297821,
0.113619364798069,
-0.06696990132331848,
0.3940749168395996,
-0.1907513588666916,
-0.17900560796260834,
-0.4726320207118988,
0.8157516121864319,
-0.6435152888298035,
-0.6621266007423401,
-0.46786436438560486,
-0.6113324761390686,
-0.16073933243751526,
-0.040810488164424896,
0.24362081289291382,
0.26611173152923584,
-0.06883735209703445,
0.14957702159881592,
0.38655105233192444,
-0.4256722033023834,
0.332902729511261,
-0.07446152716875076,
-0.68606036901474,
-0.38707196712493896,
1.113646388053894,
0.1196664571762085,
-0.06826391071081161,
-0.058769479393959045,
0.26516658067703247,
-0.192440927028656,
-0.8951928615570068,
-0.16939963400363922,
0.16644851863384247,
-0.8568320870399475,
-0.06624936312437057,
-0.7684841156005859,
-0.4000578820705414,
-0.6070882678031921,
0.06794421374797821,
-0.19816583395004272,
-0.18756651878356934,
-0.4087921380996704,
-0.1730775386095047,
0.16042070090770721,
0.7480499148368835,
-0.01270885020494461,
0.13571421802043915,
-0.5320792198181152,
0.286775141954422,
0.1370144933462143,
0.15670354664325714,
0.22629497945308685,
-0.5394308567047119,
-0.07933634519577026,
-0.24322304129600525,
-0.3000962734222412,
-0.713343620300293,
0.5320146679878235,
0.006451226305216551,
0.5698473453521729,
0.7206763625144958,
0.13959673047065735,
0.47003117203712463,
-0.3907740116119385,
0.7847415804862976,
0.2672601342201233,
-1.1026978492736816,
0.45860275626182556,
0.13459916412830353,
-0.21270368993282318,
0.35634297132492065,
0.3375614285469055,
-0.3824458122253418,
-0.6532065272331238,
-0.5810491442680359,
-0.6646941304206848,
0.43234845995903015,
0.11200021207332611,
0.2573709785938263,
-0.44180434942245483,
0.37056607007980347,
0.4446546137332916,
0.19306680560112,
-0.7330445647239685,
-0.007822384126484394,
-0.0856955423951149,
-0.33059585094451904,
-0.025798963382840157,
-0.33311137557029724,
0.15159475803375244,
-0.03391733020544052,
0.6054122447967529,
-0.33771559596061707,
-0.16771788895130157,
-0.12937386333942413,
-0.22046370804309845,
0.10682614892721176,
-0.007162371650338173,
0.6836494207382202,
0.6061530113220215,
-0.21295371651649475,
0.44532084465026855,
0.27586427330970764,
-0.6352408528327942,
-0.04863433167338371,
-0.18741536140441895,
-0.025427626445889473,
0.1938464492559433,
0.6539835929870605,
0.8395452499389648,
0.0766943022608757,
-0.8374366164207458,
0.6921312808990479,
-0.0679834634065628,
-0.34762370586395264,
-0.6630334854125977,
-0.0520365945994854,
-0.1154748871922493,
0.27570590376853943,
0.4302343726158142,
-0.04671688750386238,
0.16308365762233734,
-0.5455323457717896,
0.38776060938835144,
0.5205239653587341,
-0.41506677865982056,
-0.3665837347507477,
0.5782803893089294,
-0.1430559754371643,
-0.5037763714790344,
0.7141497135162354,
-0.301002562046051,
-0.5629255771636963,
0.5727185606956482,
0.7317247986793518,
1.118632197380066,
-0.02292252518236637,
0.14777344465255737,
0.11951562762260437,
0.31205612421035767,
-0.18754088878631592,
0.11374072730541229,
0.21652068197727203,
-0.861963152885437,
-0.5094132423400879,
-0.8099026083946228,
-0.34739094972610474,
0.40952983498573303,
-0.6180095672607422,
0.48603224754333496,
-0.3907579481601715,
-0.23822395503520966,
0.05714302882552147,
-0.13513636589050293,
-0.2672313451766968,
-0.09769958257675171,
0.46942925453186035,
0.6046494245529175,
-0.9349663853645325,
0.8789853453636169,
0.3016740083694458,
-0.30156955122947693,
-0.5533063411712646,
0.3685646653175354,
-0.08412188291549683,
-0.6708852052688599,
0.9567605257034302,
0.4916466772556305,
-0.07817329466342926,
-0.17215712368488312,
-0.38358888030052185,
-0.40241509675979614,
0.5922391414642334,
0.4143615961074829,
-0.552971363067627,
0.012797970324754715,
0.26193419098854065,
0.5449035167694092,
-0.43137893080711365,
-0.06518614292144775,
0.6383057236671448,
0.423647940158844,
0.0601784884929657,
-0.7056301832199097,
0.09911448508501053,
0.10399137437343597,
-0.08440081775188446,
0.062264230102300644,
-0.21418185532093048,
0.5917834639549255,
-0.389200359582901,
-0.19943347573280334,
-0.029222669079899788,
0.6663340330123901,
0.5747886896133423,
0.36006590723991394,
0.5904049873352051,
0.43028542399406433,
1.0153436660766602,
-0.16360394656658173,
0.8691957592964172,
-0.43540504574775696,
0.3331412971019745,
0.9305153489112854,
-0.4655812680721283,
0.8920958042144775,
0.7354628443717957,
0.15282373130321503,
0.23659385740756989,
0.6017335057258606,
-0.2652136981487274,
0.37432509660720825,
0.8031065464019775,
-0.19156008958816528,
-0.3212759494781494,
-0.15553270280361176,
-0.1102960854768753,
0.6841832399368286,
0.3966713547706604,
-0.2607369124889374,
0.06445343792438507,
0.35522204637527466,
-0.1412152349948883,
0.06739155203104019,
-0.055549442768096924,
0.7755253314971924,
0.14583894610404968,
-0.5058823823928833,
0.41805964708328247,
-0.10213286429643631,
0.764007031917572,
-0.1993720382452011,
-0.14137016236782074,
-0.22025175392627716,
0.19878220558166504,
-0.2828426659107208,
-0.5028884410858154,
0.41288313269615173,
0.10194102674722672,
0.10458599776029587,
0.06875774264335632,
0.5986585021018982,
-0.23888055980205536,
-0.681998610496521,
0.5590723156929016,
0.4944818317890167,
0.5920923352241516,
-0.14915920794010162,
-0.2246934026479721,
0.3834105432033539,
-0.17933706939220428,
-0.1622990369796753,
0.25663241744041443,
0.5929269194602966,
-0.3398001790046692,
0.5752592086791992,
0.788650631904602,
0.290821373462677,
0.1004897728562355,
0.4982357621192932,
0.6875705718994141,
-0.5887932181358337,
-0.1965579092502594,
-1.191956639289856,
0.1726638525724411,
-0.02275923453271389,
-0.34975317120552063,
0.5909643173217773,
0.7217364311218262,
1.005171775817871,
-0.16751570999622345,
0.695096492767334,
0.32039985060691833,
0.07085409760475159,
-0.7260181307792664,
0.7386733293533325,
-0.3219365179538727,
0.4545595943927765,
-0.26193225383758545,
-1.1142408847808838,
-0.7404096722602844,
0.7187620997428894,
-0.07651791721582413,
-0.06180674210190773,
0.8700029850006104,
0.8974761366844177,
0.1424843817949295,
-0.16904613375663757,
0.629797637462616,
0.2942850887775421,
0.381853312253952,
0.37435486912727356,
1.065024971961975,
-0.1880752146244049,
0.430276483297348,
-0.23287151753902435,
-0.1732947826385498,
-0.3458743393421173,
-0.848163902759552,
-1.229658842086792,
-0.6872833967208862,
-0.3508319854736328,
-0.5862829089164734,
-0.07402046024799347,
1.0256648063659668,
0.4542107582092285,
-1.1146340370178223,
-0.15765655040740967,
-0.16949273645877838,
0.1386665552854538,
-0.14507144689559937,
-0.24389442801475525,
0.6423157453536987,
-0.7042455673217773,
-0.7160419225692749,
0.2322992980480194,
0.3289816677570343,
-0.11541692912578583,
-0.6374701857566833,
0.03810138627886772,
0.29431357979774475,
0.03757735714316368,
0.6637890338897705,
-0.36027824878692627,
-1.167293906211853,
-0.6543788909912109,
0.07822250574827194,
-0.17383204400539398,
-0.045822810381650925,
0.6344444155693054,
-0.7737780213356018,
0.29506659507751465,
0.2796183228492737,
0.7258164882659912,
0.4678591191768646,
-0.3110862672328949,
0.09216651320457458,
-0.7568068504333496,
0.2104235291481018,
0.22761766612529755,
0.4592358469963074,
0.2985575199127197,
-0.35909342765808105,
0.420634001493454,
0.2951032817363739,
-0.35299408435821533,
-1.2375470399856567,
0.10885922610759735,
-1.0616281032562256,
-0.3491818904876709,
1.129262924194336,
0.1044754832983017,
-0.20849312841892242,
-0.12258139252662659,
-0.23547084629535675,
0.19735267758369446,
-0.15495574474334717,
1.382415771484375,
0.7446448802947998,
0.06238668039441109,
0.07795227319002151,
-0.632190465927124,
0.41721755266189575,
0.14817798137664795,
-0.7857608199119568,
0.1416904181241989,
0.44913995265960693,
0.03342822566628456,
0.36778298020362854,
0.16114768385887146,
-0.0010005338117480278,
-0.011766218580305576,
0.11850959807634354,
0.2508677542209625,
-0.0017806730465963483,
-0.5541733503341675,
-0.524429440498352,
0.5000845789909363,
0.08517567068338394,
-0.10381177067756653
] |
http://arxiv.org/abs/2405.20354v1
|
http://arxiv.org/pdf/2405.20354v1
|
Literature Filtering for Systematic Reviews with Transformers
| 2024-05-30T02:55:49 | 2024-05-30T02:55:49 |
John Hawkins, David Tivey
|
cs.DL
|
cs.DL, cs.AI, cs.CL, cs.LG
|
Identifying critical research within the growing body of academic work is an
essential element of quality research. Systematic review processes, used in
evidence-based medicine, formalise this as a procedure that must be followed in
a research program. However, it comes with an increasing burden in terms of the
time required to identify the important articles of research for a given topic.
In this work, we develop a method for building a general-purpose filtering
system that matches a research question, posed as a natural language
description of the required content, against a candidate set of articles
obtained via the application of broad search terms. Our results demonstrate
that transformer models, pre-trained on biomedical literature then fine tuned
for the specific task, offer a promising solution to this problem. The model
can remove large volumes of irrelevant articles for most research questions.
|
[
-0.5755033493041992,
-0.3646309971809387,
0.7116031050682068,
0.0036854438949376345,
-0.43015196919441223,
-0.03944035992026329,
0.013870332390069962,
-0.5913752913475037,
0.4732515513896942,
0.8805946707725525,
-0.5821875929832458,
-0.20177847146987915,
-0.4756234586238861,
0.29063472151756287,
-0.9890595078468323,
1.2159513235092163,
-0.3684271574020386,
0.3515036404132843,
0.07044921070337296,
-0.1888662576675415,
-0.14361396431922913,
0.08162854611873627,
-0.3538314998149872,
-0.9315458536148071,
0.7363020181655884,
0.15945102274417877,
0.682750940322876,
0.0909821018576622,
0.8667193651199341,
0.18203888833522797,
-0.37499529123306274,
0.0012731108581647277,
-0.47199249267578125,
0.32021087408065796,
-0.5701497793197632,
-0.38518303632736206,
0.006662418134510517,
-0.1659681797027588,
0.41021785140037537,
0.701170027256012,
-0.07481037825345993,
0.36052924394607544,
0.13960041105747223,
0.7098901271820068,
-0.42814427614212036,
-0.30073830485343933,
-0.4929334819316864,
0.42750558257102966,
0.07549408823251724,
-0.3197721242904663,
-0.29075005650520325,
-0.6806535720825195,
0.32478809356689453,
-0.5583836436271667,
0.6749812960624695,
0.07030715048313141,
1.2743198871612549,
0.15132854878902435,
-0.35895100235939026,
-0.3713684380054474,
-1.2356646060943604,
0.6607840657234192,
-0.5602645874023438,
0.07023534923791885,
0.11409936845302582,
0.22759896516799927,
-0.07199627161026001,
-0.7944831848144531,
-0.3188719153404236,
-0.11777853220701218,
-0.6865015625953674,
0.19406944513320923,
-0.0024682062212377787,
0.2757643461227417,
0.2815175950527191,
0.4381270408630371,
-0.6317510604858398,
-0.2922395169734955,
-0.8433888554573059,
-0.17781920731067657,
0.4002762734889984,
0.21263544261455536,
0.3598673343658447,
-0.2768078148365021,
-0.09795209765434265,
0.27949899435043335,
-0.48741579055786133,
0.03269336000084877,
0.0730079710483551,
-0.10792049020528793,
0.5210087299346924,
0.6834511160850525,
-0.32179105281829834,
0.3676172196865082,
0.24422787129878998,
0.151765838265419,
-0.14530250430107117,
-0.4773939847946167,
-0.10800962895154953,
-0.15965451300144196,
0.7099915146827698,
0.14131374657154083,
0.06451955437660217,
-0.10996516048908234,
-0.4635995030403137,
0.002179974690079689,
0.8426709771156311,
-0.9779937863349915,
-0.11043811589479446,
0.27262717485427856,
-0.6554946303367615,
-0.42125844955444336,
0.08182990550994873,
-0.5873403549194336,
-0.25359731912612915,
-0.37386956810951233,
0.4875446557998657,
-0.1719154268503189,
-0.3578874170780182,
0.32565823197364807,
-0.31365588307380676,
0.3188471794128418,
0.061454784125089645,
-0.34944531321525574,
0.3416908383369446,
0.3966571092605591,
0.7268267869949341,
-0.1197955533862114,
0.32030871510505676,
-0.10275111347436905,
0.013855486176908016,
-0.4769935607910156,
1.005401611328125,
-0.6293637156486511,
-0.5405386686325073,
0.2961432933807373,
0.3094446063041687,
0.13447047770023346,
-0.44240808486938477,
1.0678998231887817,
-0.8982192873954773,
0.5626927018165588,
-0.16054710745811462,
-0.4112856090068817,
-0.2366686761379242,
0.32503196597099304,
-0.7376646399497986,
0.6610191464424133,
0.14842185378074646,
-0.8699495196342468,
0.31607556343078613,
-0.6191015243530273,
-0.717563271522522,
0.024879654869437218,
0.08786527812480927,
-0.6696283221244812,
0.2851344048976898,
0.35810646414756775,
0.08134741336107254,
-0.6397683024406433,
0.6559268236160278,
-0.15998564660549164,
-0.46210187673568726,
0.30232611298561096,
-0.08332980424165726,
0.5256134867668152,
0.46981850266456604,
-0.3750039041042328,
0.45279499888420105,
-0.48589587211608887,
-0.04806637391448021,
-0.13390664756298065,
-0.09099119156599045,
-0.4457486569881439,
0.16135689616203308,
0.2745440602302551,
0.06531926244497299,
-0.13577641546726227,
-0.5125291347503662,
0.03800981864333153,
-0.4428611099720001,
0.4414334297180176,
0.22423329949378967,
0.4375932812690735,
0.609056830406189,
-0.4618692994117737,
0.559499979019165,
-0.14893688261508942,
0.5686563849449158,
0.013292709365487099,
-0.48776963353157043,
-0.8482745885848999,
-0.05431558936834335,
0.4790300726890564,
0.21966610848903656,
-0.787864089012146,
0.5927224159240723,
0.010099660605192184,
-0.5542224645614624,
-0.620384931564331,
-0.025078007951378822,
0.022932443767786026,
0.49101677536964417,
0.6555120944976807,
-0.4789815843105316,
-0.5509283542633057,
-1.217729091644287,
-0.2800242006778717,
-0.13426314294338226,
-0.5010662078857422,
0.134596049785614,
0.32304656505584717,
-0.5596919655799866,
1.1060585975646973,
-0.8115408420562744,
-0.6450359225273132,
-0.19202394783496857,
0.4088052213191986,
0.5399150848388672,
0.06790084391832352,
0.07410230487585068,
-0.8041337728500366,
-0.2836894989013672,
-0.095509372651577,
-0.7351686954498291,
-0.6010257601737976,
-0.28419142961502075,
-0.25284451246261597,
-0.6582325100898743,
0.7239623665809631,
-0.6233108043670654,
0.305387020111084,
0.16274799406528473,
-0.17883223295211792,
0.4373632073402405,
-0.0957350805401802,
0.2928401529788971,
-0.5815527439117432,
0.6943604350090027,
0.24001742899417877,
-0.05988509580492973,
-0.7502275705337524,
-0.10855701565742493,
0.15252874791622162,
-0.24454130232334137,
-0.22801408171653748,
0.40040189027786255,
-0.3490765392780304,
0.5299739837646484,
-0.370278000831604,
0.005545796826481819,
0.44860637187957764,
0.06630666553974152,
0.07327523827552795,
0.1861787587404251,
0.1366487294435501,
-0.5632306337356567,
-0.1620757132768631,
0.2262669950723648,
-0.43851006031036377,
0.3914085328578949,
-0.8144552707672119,
-0.18704578280448914,
-0.3248950242996216,
0.4276063144207001,
-0.884161651134491,
-0.1304653435945511,
0.2070390284061432,
-0.09966875612735748,
0.2162117213010788,
-0.24653171002864838,
-0.05606735125184059,
-0.7980935573577881,
-0.074583500623703,
0.2523813843727112,
0.515101432800293,
-0.1979590356349945,
0.8597336411476135,
0.33296358585357666,
-0.3779471516609192,
-0.49646008014678955,
-0.1069817990064621,
-0.09727375954389572,
-0.030104098841547966,
-0.20744213461875916,
0.5759506225585938,
0.15696045756340027,
-0.057565540075302124,
0.2049817442893982,
-0.22809192538261414,
-0.5089595317840576,
-0.028398819267749786,
0.1663503795862198,
0.4870535433292389,
-0.09307058155536652,
0.3070674538612366,
0.2869325876235962,
-0.013787913136184216,
0.4163747727870941,
0.03797610476613045,
0.17052336037158966,
0.44191399216651917,
-0.4352092742919922,
-0.22911836206912994,
0.39561018347740173,
0.7393993735313416,
-0.24264413118362427,
0.2283734679222107,
0.9454927444458008,
-0.3217970132827759,
-0.24421310424804688,
-0.7944251894950867,
-0.6486978530883789,
-0.448076993227005,
0.421809583902359,
0.13793601095676422,
-0.7811400890350342,
0.4445079565048218,
0.1313559114933014,
0.150370255112648,
0.7799546122550964,
0.35888606309890747,
-0.1923738569021225,
1.0614441633224487,
0.387362539768219,
-0.13878469169139862,
0.4854932725429535,
-0.10224360972642899,
0.5258868336677551,
-0.8141510486602783,
-0.08721213042736053,
-0.7725993990898132,
-0.5790331363677979,
-0.1874864250421524,
-0.4070221781730652,
0.5822150111198425,
-0.2334044873714447,
0.0009663661476224661,
0.12320738285779953,
-1.1110085248947144,
0.4899827241897583,
0.4080008268356323,
0.28920236229896545,
0.5352570414543152,
-0.07119559496641159,
-0.16870445013046265,
0.05325791984796524,
-0.5174587965011597,
-0.4741328954696655,
1.1392948627471924,
0.42772310972213745,
1.0203789472579956,
-0.5165606737136841,
0.3418925106525421,
0.32737624645233154,
0.9542040228843689,
-0.7135275602340698,
0.4858301877975464,
0.20434242486953735,
-1.2447654008865356,
-0.3805793821811676,
-0.20784105360507965,
-1.1714086532592773,
0.28147876262664795,
-0.3985454738140106,
0.10872922092676163,
0.29945915937423706,
-0.236212819814682,
-0.4704546332359314,
0.4424431324005127,
-0.3487268388271332,
0.2505022883415222,
-0.07585881650447845,
-0.16837164759635925,
-0.6191122531890869,
-0.4661649167537689,
0.5676158666610718,
-0.22091293334960938,
0.19628764688968658,
-0.1934049129486084,
0.2484750747680664,
0.8786174058914185,
-0.010232308879494667,
0.5368169546127319,
-0.1995518058538437,
0.33058592677116394,
0.5053969025611877,
0.16393260657787323,
0.1284274309873581,
0.20617753267288208,
0.24479374289512634,
0.11315660923719406,
0.2643333375453949,
-0.1318211406469345,
-0.28369513154029846,
0.3718125820159912,
-0.576241672039032,
-0.6483946442604065,
-0.5589650273323059,
-0.30212727189064026,
0.06040924787521362,
0.3370089530944824,
0.2705756723880768,
0.2289496511220932,
-0.30602675676345825,
0.16238921880722046,
0.7951629161834717,
-0.21722117066383362,
0.09473083168268204,
0.7634902596473694,
-0.3728761076927185,
-0.23656535148620605,
0.36397993564605713,
0.08867104351520538,
-0.20697735249996185,
0.40574127435684204,
0.21683302521705627,
-0.34441497921943665,
-0.7949745059013367,
-0.2883847653865814,
0.3400278091430664,
-0.21023455262184143,
-0.33079689741134644,
-0.8518426418304443,
-0.5333940386772156,
-0.15406407415866852,
0.04630376398563385,
-0.16564927995204926,
-0.043734654784202576,
-0.3480159044265747,
0.2943946123123169,
0.034951478242874146,
0.9118481278419495,
0.22685231268405914,
0.10075967013835907,
-0.8736165761947632,
0.9272501468658447,
0.44180387258529663,
0.7730217576026917,
-0.15342119336128235,
-0.6926602125167847,
-0.34858545660972595,
-0.31307297945022583,
-0.5519440174102783,
-0.7466602921485901,
0.3763052821159363,
0.1257421374320984,
0.6072712540626526,
0.6237493753433228,
0.3551376760005951,
0.45969411730766296,
-0.744452178478241,
0.47560110688209534,
0.28485390543937683,
-0.6297358870506287,
0.6581936478614807,
-0.13520419597625732,
0.2576439380645752,
0.6818113327026367,
0.7180200219154358,
-0.6308303475379944,
-0.4296833872795105,
-0.48307961225509644,
-1.067734956741333,
0.40606144070625305,
0.11997940391302109,
-0.1454261690378189,
0.13819020986557007,
0.32354995608329773,
0.048525966703891754,
0.019076118245720863,
-0.5392667651176453,
0.15357859432697296,
0.14675502479076385,
-0.1020611822605133,
0.15307697653770447,
-0.23488007485866547,
-0.5559154152870178,
-0.06204481050372124,
0.8365631699562073,
-0.04832368716597557,
0.2193162888288498,
0.7871034145355225,
-0.3864629864692688,
-0.4599754512310028,
0.4877171218395233,
0.1587837189435959,
0.4199286103248596,
-0.25601300597190857,
-0.16821357607841492,
-0.20104722678661346,
-0.725182294845581,
0.29399874806404114,
0.09167389571666718,
-0.637177050113678,
0.4694353938102722,
0.0934579074382782,
0.1020456999540329,
0.37661242485046387,
-0.6888404488563538,
0.3092028498649597,
-0.18880461156368256,
-0.41071781516075134,
-0.2756706178188324,
0.08763444423675537,
-0.16849681735038757,
0.09156184643507004,
0.5802221894264221,
0.37646567821502686,
0.7303613424301147,
-0.17674486339092255,
0.389399915933609,
0.33617106080055237,
-1.0069236755371094,
-0.3098873496055603,
0.5701227188110352,
0.3606773018836975,
-0.28987541794776917,
0.5090028047561646,
0.11772219091653824,
-0.3990391194820404,
0.4348445236682892,
-0.014381233602762222,
0.9491386413574219,
-0.16878750920295715,
0.40012413263320923,
0.5858427882194519,
0.4348078966140747,
-0.5128516554832458,
-0.08263521641492844,
0.2611273527145386,
-0.4384203553199768,
-0.7048694491386414,
-0.7681982517242432,
-0.7787377834320068,
0.20427818596363068,
-0.7867104411125183,
0.554807722568512,
-0.32717597484588623,
-0.5221017599105835,
0.19716928899288177,
-0.4015146791934967,
-0.702387273311615,
0.21628160774707794,
-0.07673373073339462,
0.8407084345817566,
-1.0922147035598755,
0.599518895149231,
0.40970513224601746,
-0.36345139145851135,
-0.54290771484375,
-0.18492473661899567,
-0.2394201159477234,
-0.16660897433757782,
0.2791442573070526,
-0.019964849576354027,
-0.1131184846162796,
-0.5885066390037537,
-0.3036896288394928,
-0.8523154854774475,
0.6890316009521484,
0.018829600885510445,
-0.6226711869239807,
-0.295768141746521,
-0.07171884924173355,
0.9565518498420715,
-0.22282125055789948,
0.7070328593254089,
0.5745365023612976,
0.5191025137901306,
-0.04420461878180504,
-0.795778214931488,
0.028527570888400078,
-0.3906446099281311,
-0.2893081605434418,
0.3254889249801636,
-0.12888872623443604,
0.4759010970592499,
0.01117304340004921,
-0.206178680062294,
-0.0283847413957119,
0.29618600010871887,
-0.06485478579998016,
0.44242095947265625,
0.6333102583885193,
0.16279475390911102,
0.4420287609100342,
-0.2868213951587677,
0.6884583830833435,
-0.3641146421432495,
0.4081149101257324,
0.6922855973243713,
-0.5275652408599854,
0.5729345083236694,
0.615385115146637,
-0.22193777561187744,
0.5836498737335205,
0.5240800380706787,
-0.17481645941734314,
0.4122292697429657,
0.33524811267852783,
-0.11202876269817352,
-0.20200254023075104,
-0.2574771046638489,
-0.4628623127937317,
-0.09309548139572144,
0.4759749472141266,
-0.638934314250946,
-0.1007123738527298,
-0.10953723639249802,
-0.34602871537208557,
0.07673283666372299,
-0.2562325596809387,
0.8394758701324463,
0.09392548352479935,
-1.1234123706817627,
0.35746392607688904,
-0.16577444970607758,
0.5915975570678711,
-0.8053383827209473,
0.2288903146982193,
-0.09183479845523834,
0.07617556303739548,
-0.3986144959926605,
-0.8256539702415466,
0.570368230342865,
-0.25485920906066895,
-0.4803904592990875,
-0.12751401960849762,
1.0036945343017578,
-0.30981048941612244,
-0.7313520908355713,
0.40632903575897217,
0.5750471949577332,
-0.14316202700138092,
0.017725111916661263,
-0.5708553194999695,
-0.24227429926395416,
0.10084785521030426,
-0.4850592613220215,
0.14133690297603607,
0.29936453700065613,
0.10242968797683716,
0.6625006198883057,
0.638271689414978,
0.5394810438156128,
-0.3615471422672272,
0.3470315933227539,
0.8791102170944214,
-0.7110550999641418,
-0.36801785230636597,
-0.33124080300331116,
0.38832953572273254,
-0.29773128032684326,
-0.1587231606245041,
0.13314948976039886,
0.4129781424999237,
0.36287686228752136,
-0.2813747525215149,
0.770773708820343,
0.1535404771566391,
0.9123199582099915,
-0.16269533336162567,
0.9302660822868347,
-0.35056647658348083,
0.3436911702156067,
-0.0040997667238116264,
-1.0792564153671265,
-0.6051385402679443,
0.6197836995124817,
-0.27317818999290466,
-0.2364000529050827,
0.997674822807312,
0.8625855445861816,
-0.1881563514471054,
0.24267946183681488,
0.07143083214759827,
0.2619866132736206,
0.5421873331069946,
0.12598472833633423,
0.7025582790374756,
-0.545230507850647,
0.7885733246803284,
-0.0502958744764328,
0.0021904318127781153,
-0.3091685175895691,
-0.48505866527557373,
-0.8820260763168335,
-0.3613530397415161,
-0.3757491409778595,
-0.5472561717033386,
-0.07161126285791397,
0.7050840854644775,
0.6690073013305664,
-1.058568000793457,
-0.1033286526799202,
0.15052729845046997,
0.29326745867729187,
-0.3187669515609741,
-0.14589233696460724,
0.2362041026353836,
-0.4535995423793793,
-0.2733089327812195,
-0.02948804572224617,
0.3286338746547699,
-0.4051797688007355,
-0.3968990743160248,
0.23196925222873688,
-0.17986923456192017,
0.23590786755084991,
0.2825680077075958,
0.1383114755153656,
-0.5601368546485901,
-0.17890885472297668,
0.1758785843849182,
-0.23200665414333344,
-0.00008460169192403555,
1.3621959686279297,
-0.7575548887252808,
0.48556262254714966,
0.693244457244873,
0.319652259349823,
0.7719659209251404,
-0.28741011023521423,
0.5562505722045898,
-0.22864247858524323,
-0.275135338306427,
0.8246772885322571,
0.45453882217407227,
0.14030028879642487,
-0.13995660841464996,
0.6744760274887085,
0.07909888029098511,
-0.8527935147285461,
-0.7925155758857727,
0.05854273959994316,
-0.766857385635376,
-0.2529670298099518,
0.9140488505363464,
0.2753838300704956,
-0.04484037309885025,
-0.693167507648468,
-0.5255245566368103,
0.22889840602874756,
-0.2525886297225952,
1.2274887561798096,
0.6172007918357849,
0.12704817950725555,
0.1565164029598236,
-0.4969550371170044,
0.371381551027298,
0.5044353008270264,
-0.46387481689453125,
-0.28102990984916687,
0.13663078844547272,
0.2256963849067688,
0.39738336205482483,
0.4315064549446106,
-0.38674017786979675,
0.15271136164665222,
-0.5215968489646912,
0.29685306549072266,
0.5237905979156494,
-0.08855419605970383,
-0.3161403238773346,
0.5952700972557068,
-0.02822391875088215,
0.40478280186653137
] |
http://arxiv.org/abs/2405.19635v1
|
http://arxiv.org/pdf/2405.19635v1
|
GKT: A Novel Guidance-Based Knowledge Transfer Framework For Efficient Cloud-edge Collaboration LLM Deployment
| 2024-05-30T02:37:35 | 2024-05-30T02:37:35 |
Yao Yao, Zuchao Li, Hai Zhao
|
cs.CL
|
cs.CL
|
The burgeoning size of Large Language Models (LLMs) has led to enhanced
capabilities in generating responses, albeit at the expense of increased
inference times and elevated resource demands. Existing methods of
acceleration, predominantly hinged on knowledge distillation, generally
necessitate fine-tuning of considerably large models, such as Llama-7B, posing
a challenge for average users. Furthermore, present techniques for expediting
inference and reducing costs operate independently. To address these issues, we
introduce a novel and intuitive Guidance-based Knowledge Transfer (GKT)
framework. This approach leverages a larger LLM as a ''teacher'' to create
guidance prompts, paired with a smaller ''student'' model to finalize
responses. Remarkably, GKT requires no fine-tuning and doesn't necessitate the
teacher and student models to have the same vocabulary, allowing for extensive
batch generation to accelerate the process while ensuring user customization.
GKT can be seamlessly integrated into cloud-edge collaboration architectures,
and is versatile enough for plug-and-play application across various models. It
excels in both efficiency and affordability, epitomizing a ''cheap and
cheerful'' solution. GKT achieves a maximum accuracy improvement of 14.18%,
along with a 10.72 times speed-up on GSM8K and an accuracy improvement of 14.00
% along with a 7.73 times speed-up in CSQA. When utilizing ChatGPT as teacher
model and Llama2-70B as the student model, we can achieve 95.00% of ChatGPT's
performance at 52% of the cost. The results highlight substantial enhancements
in accuracy and processing speed on the GSM8K and CSQA datasets, surpassing the
performance of using either the student or teacher models in isolation.
|
[
-0.2740607261657715,
-0.7528331875801086,
0.7017217874526978,
0.20858661830425262,
-0.4378328323364258,
0.21514199674129486,
-0.2765180468559265,
-0.3785204589366913,
-0.017802134156227112,
0.5210853815078735,
-0.7275493741035461,
-0.5066885352134705,
-0.4357267916202545,
-0.34595051407814026,
-0.5530087947845459,
0.8087832927703857,
0.29667234420776367,
-0.023460302501916885,
-0.40516650676727295,
0.27246594429016113,
-0.5640634298324585,
-0.43189936876296997,
-0.9048517942428589,
-0.43585434556007385,
0.4155700206756592,
0.7308095693588257,
0.8315297961235046,
0.8307559490203857,
0.5703937411308289,
0.2130119651556015,
-0.3680417537689209,
0.07679464668035507,
-0.5249761343002319,
0.01628435216844082,
-0.23734338581562042,
-0.29068616032600403,
-0.5357324481010437,
-0.5370075702667236,
0.3383858799934387,
0.5446218848228455,
-0.5575355887413025,
-0.19056615233421326,
0.31368568539619446,
0.7357634902000427,
-0.3891961872577667,
-0.06438533216714859,
-0.8309113383293152,
-0.28520503640174866,
0.0756324753165245,
0.2425556629896164,
-0.2341926544904709,
-0.4084039628505707,
0.5278273820877075,
-0.9723590016365051,
0.12049911916255951,
-0.29365015029907227,
0.3579190671443939,
0.2009815275669098,
-0.3894249498844147,
-0.48725536465644836,
-0.5067285299301147,
0.6876958608627319,
-0.4789288640022278,
0.45877301692962646,
0.218522310256958,
0.7264072299003601,
-0.44818219542503357,
-1.0449128150939941,
-0.4682583212852478,
0.09375658631324768,
0.3834435045719147,
0.4070473909378052,
0.16116267442703247,
0.2858230471611023,
-0.003489769296720624,
0.31311315298080444,
-0.24364739656448364,
0.2514555752277374,
-0.521548330783844,
-0.15315036475658417,
0.4940701425075531,
0.1349603682756424,
0.06500949710607529,
0.06843283772468567,
-0.6905210614204407,
-0.03478103503584862,
-0.7139559388160706,
0.19257456064224243,
0.06960663944482803,
0.5039628744125366,
-0.3301995098590851,
0.08438192307949066,
-0.28404754400253296,
0.6030157208442688,
0.012788119725883007,
-0.2561781406402588,
-0.1563667356967926,
-0.38816574215888977,
-0.12318183481693268,
0.24212992191314697,
0.6703044772148132,
0.6262215375900269,
-0.007657474372535944,
-0.28490307927131653,
0.1535794734954834,
-0.0006219199276529253,
0.30014878511428833,
-0.9422679543495178,
-0.4871997833251953,
-0.15254245698451996,
-0.09896009415388107,
-0.33290088176727295,
-0.2977891266345978,
-0.9855597019195557,
-0.7287037968635559,
-0.384000688791275,
0.20855775475502014,
-0.29953092336654663,
-0.23063938319683075,
0.07892833650112152,
0.18020135164260864,
0.2219703495502472,
0.9298646450042725,
-0.8628933429718018,
0.37708452343940735,
0.7745120525360107,
0.9882020354270935,
-0.35929980874061584,
-0.24217510223388672,
-0.49981144070625305,
0.08846104145050049,
-0.3465957045555115,
0.527829110622406,
-0.5182844400405884,
-0.7514950037002563,
-0.06583522260189056,
-0.14624084532260895,
0.2044830173254013,
-0.3245132565498352,
0.7460604310035706,
-0.3724951148033142,
0.07534145563840866,
-0.5602941513061523,
-0.4856284260749817,
-0.2828710973262787,
0.08808622509241104,
-0.26322001218795776,
1.233408808708191,
0.09920526295900345,
-0.229017972946167,
0.3034185767173767,
-0.5323482155799866,
-0.13321001827716827,
0.40839436650276184,
-0.29977720975875854,
-0.042637936770915985,
-0.28238117694854736,
0.40649816393852234,
0.4527081549167633,
-0.6894779801368713,
0.3981054127216339,
-0.3065793514251709,
-0.5345064997673035,
-0.31905797123908997,
-0.04850175231695175,
0.6054556965827942,
0.19647985696792603,
-0.26700419187545776,
-0.04185135290026665,
-0.6176512837409973,
0.13138243556022644,
-0.14394868910312653,
-0.4233168661594391,
-0.43283742666244507,
-0.22391943633556366,
-0.1683400720357895,
0.24503007531166077,
0.3010013997554779,
-0.29719001054763794,
0.6751636862754822,
0.029461175203323364,
0.3819715976715088,
0.9835848808288574,
-0.059523556381464005,
0.6158884167671204,
-0.23924240469932556,
0.5445575714111328,
-0.10415726155042648,
0.4176095128059387,
-0.04721228405833244,
-0.6231580972671509,
-0.5710533261299133,
-0.3509167730808258,
0.004044525790959597,
0.3614324927330017,
-1.1692911386489868,
0.020497070625424385,
-0.6756381988525391,
-0.69883793592453,
-0.7367299795150757,
0.597027599811554,
0.2595454752445221,
1.0540677309036255,
0.5853538513183594,
-0.15403112769126892,
-0.35891011357307434,
-0.7745634913444519,
-0.0570564940571785,
-0.17676855623722076,
-0.03961029648780823,
0.4128137230873108,
0.09446127712726593,
-0.15942348539829254,
0.929473340511322,
-0.4163884222507477,
-0.24267509579658508,
-0.22180742025375366,
-0.022272339090704918,
0.297235906124115,
0.3865565359592438,
0.5582754611968994,
-0.8858286142349243,
-0.6962599754333496,
0.15975983440876007,
-0.5758978128433228,
-0.29643380641937256,
-0.15175914764404297,
-0.4424285590648651,
-0.09775539487600327,
0.476870059967041,
-0.1585702747106552,
0.10004624724388123,
0.7571452260017395,
-0.3012562692165375,
0.40323224663734436,
-0.25260627269744873,
-0.03166313096880913,
-1.2893481254577637,
-0.17949458956718445,
-0.3636787533760071,
-0.2204395979642868,
-0.6783478856086731,
-0.09885215014219284,
0.12879790365695953,
0.2249562293291092,
-0.5189070105552673,
0.3896901607513428,
-0.313871830701828,
0.04727247729897499,
-0.4186508357524872,
0.5281809568405151,
-0.2007617950439453,
0.5499459505081177,
-0.2766368091106415,
0.9179903268814087,
0.7508800625801086,
-0.8427850604057312,
0.620876133441925,
0.2669559121131897,
-0.13313058018684387,
0.9690588712692261,
-0.5040128827095032,
0.4329741299152374,
0.36120542883872986,
0.23762443661689758,
-0.7656873464584351,
0.047657329589128494,
0.11993516981601715,
-0.11464549601078033,
-0.3788384199142456,
-0.6952841281890869,
-0.5384013652801514,
-0.31044137477874756,
-0.18939200043678284,
0.12425175309181213,
0.758656919002533,
-0.9563015699386597,
0.9019321203231812,
-0.057076770812273026,
-0.23977912962436676,
-0.6044681668281555,
-0.6785234808921814,
0.29841533303260803,
-0.2478344738483429,
-0.7552986145019531,
0.610454261302948,
-0.24813494086265564,
0.051785342395305634,
0.0217477735131979,
-0.24076010286808014,
-0.19120579957962036,
0.32260262966156006,
0.4893723130226135,
0.31652846932411194,
0.011805813759565353,
0.14634421467781067,
0.2994457483291626,
0.2509639859199524,
0.11150344461202621,
-0.44298043847084045,
0.33732905983924866,
-0.04818303883075714,
-0.27532732486724854,
-0.18084219098091125,
0.022001251578330994,
0.7469987273216248,
0.15828174352645874,
0.6646634936332703,
0.5355336666107178,
-0.15790238976478577,
-0.38627463579177856,
-0.63237065076828,
-0.24349738657474518,
-0.5867558717727661,
0.30899950861930847,
-0.1797773391008377,
-0.8549237251281738,
0.7101145386695862,
-0.3618202805519104,
0.17476041615009308,
0.11169946193695068,
0.34332993626594543,
0.24676306545734406,
0.5314040184020996,
0.9070675373077393,
-0.21712641417980194,
0.7324169874191284,
-0.18194431066513062,
-0.11891674995422363,
-1.0252728462219238,
-0.3351759612560272,
-0.2956470847129822,
-0.056491412222385406,
-0.26837652921676636,
-0.2296479344367981,
0.4393298029899597,
0.494855135679245,
-0.10816671699285507,
0.07938289642333984,
-0.5727951526641846,
0.5064472556114197,
0.5817462801933289,
0.1586197465658188,
0.48212236166000366,
0.07146910578012466,
-0.43414509296417236,
0.14648626744747162,
-0.7468528747558594,
-0.2550417482852936,
1.190665364265442,
0.07400765269994736,
0.4787178635597229,
0.406695157289505,
0.5929062962532043,
0.2847377061843872,
0.3553071618080139,
-0.7794089317321777,
0.8252868056297302,
-0.15050488710403442,
-0.16423460841178894,
-0.117072694003582,
-0.5320349931716919,
-0.6095114350318909,
0.3954247534275055,
-0.1883346438407898,
-0.8840656280517578,
-0.1385374367237091,
0.18200021982192993,
-0.24096457660198212,
0.3496176302433014,
-0.9611431956291199,
0.4535992443561554,
-0.2981261909008026,
-0.78946453332901,
-0.1600293666124344,
-0.4802446961402893,
0.24039128422737122,
-0.40991467237472534,
0.330087274312973,
0.05639899522066116,
-0.016319233924150467,
0.7921534180641174,
-0.5352144837379456,
0.7399972677230835,
-0.48635759949684143,
-0.2448442131280899,
0.44538626074790955,
0.10388001799583435,
0.7609267234802246,
-0.15794211626052856,
-0.1656513512134552,
-0.15554749965667725,
-0.23264914751052856,
-0.23395586013793945,
-0.9689549803733826,
0.8591488599777222,
-0.7398290038108826,
-0.5320533514022827,
0.181931734085083,
-0.6838918328285217,
-0.21093590557575226,
0.33310750126838684,
0.015015133656561375,
0.20517709851264954,
0.2216237336397171,
0.37258192896842957,
0.3132997155189514,
-0.03692750260233879,
0.4324647784233093,
0.6203646063804626,
-0.5702717900276184,
-0.6060430407524109,
0.7494763731956482,
0.28523871302604675,
0.5562690496444702,
0.005829316563904285,
0.48406270146369934,
-0.5741226673126221,
-0.7103822231292725,
-0.5645877718925476,
-0.03346363827586174,
-0.8791483044624329,
-0.038924410939216614,
-0.36837196350097656,
0.0453963540494442,
-0.33333873748779297,
-0.6948286294937134,
-0.4008858799934387,
-0.23647627234458923,
-0.046468183398246765,
-0.08052492886781693,
0.7583000659942627,
0.7324237823486328,
0.05753636360168457,
1.0242594480514526,
-0.5304109454154968,
-0.005015964154154062,
0.511751651763916,
0.33039015531539917,
0.2540728747844696,
-0.7538068294525146,
-0.31982311606407166,
0.20988288521766663,
-0.3848440945148468,
-0.6779692769050598,
0.08209676295518875,
0.22098948061466217,
0.4571855962276459,
0.24694082140922546,
0.34227800369262695,
1.0137543678283691,
0.06573843210935593,
1.0405908823013306,
0.21312421560287476,
-1.0349960327148438,
0.3399747312068939,
-0.5905100107192993,
0.30844584107398987,
0.5639742016792297,
0.1323544681072235,
-0.7931404113769531,
-0.13589447736740112,
-0.6262368559837341,
-1.2343544960021973,
0.6835500001907349,
0.006313553545624018,
-0.06546227633953094,
0.6319310665130615,
0.6393951177597046,
0.04273664578795433,
0.21589648723602295,
-0.40976664423942566,
-0.1499451845884323,
-0.16162985563278198,
-0.21774189174175262,
-0.0022853335831314325,
-0.05984053388237953,
-0.07923126965761185,
-0.09209047257900238,
0.6643418073654175,
-0.442304790019989,
0.021303800866007805,
0.27238142490386963,
-0.0876607745885849,
0.14299450814723969,
0.3046016991138458,
0.5351541042327881,
0.5952942967414856,
-0.08385646343231201,
0.1352873146533966,
0.7192784547805786,
-0.8976536989212036,
-0.08213435113430023,
0.04709196090698242,
-0.12194070219993591,
-0.38529372215270996,
0.12680725753307343,
0.4788516163825989,
0.26598837971687317,
-0.23514129221439362,
0.4864438474178314,
-0.03209711238741875,
-0.29659008979797363,
-0.039157308638095856,
0.21064108610153198,
0.3477911055088043,
0.35977187752723694,
0.6151726245880127,
-0.31852248311042786,
0.028245462104678154,
-0.0689687430858612,
0.05835411325097084,
0.20915614068508148,
-0.2588930130004883,
-0.20671798288822174,
0.5273829102516174,
0.2937425374984741,
-0.06324654072523117,
0.6983186602592468,
0.019281014800071716,
-0.6881929039955139,
0.6692696213722229,
0.4838506877422333,
0.7504529356956482,
-0.2626771330833435,
0.18456503748893738,
0.05207808315753937,
0.08543182909488678,
-0.2860148847103119,
0.19895409047603607,
-0.2950631380081177,
-0.47857481241226196,
-0.34955641627311707,
-0.3603942394256592,
-0.9080348610877991,
0.140235036611557,
-0.674969494342804,
0.2938299775123596,
-0.5786933898925781,
0.06622293591499329,
-0.2892819046974182,
0.04145205020904541,
-0.48430463671684265,
0.12011007219552994,
0.03176810219883919,
0.8698275089263916,
-0.6537784337997437,
1.0181647539138794,
0.8317794799804688,
0.12107110023498535,
-1.092752456665039,
-0.39569953083992004,
0.14628063142299652,
-0.7818817496299744,
0.31280192732810974,
0.020576998591423035,
-0.37247735261917114,
0.13032595813274384,
-0.47189491987228394,
-0.6016899943351746,
1.6366146802902222,
0.5632678270339966,
-0.7818986177444458,
-0.06278012692928314,
0.2700553238391876,
0.6659018397331238,
-0.257790744304657,
0.37404802441596985,
0.23646514117717743,
0.19907246530056,
0.6468952298164368,
-0.9432321190834045,
0.1945963352918625,
0.04462725296616554,
0.010529267601668835,
-0.08249987661838531,
-0.6575824618339539,
0.6814762353897095,
-0.10152708739042282,
-0.04066738858819008,
-0.23197749257087708,
0.523767352104187,
0.16206276416778564,
0.23141880333423615,
0.5486921668052673,
0.2732602059841156,
1.0625041723251343,
0.025386858731508255,
0.7278468608856201,
-0.5153065323829651,
0.2866361439228058,
1.1123199462890625,
-0.06430578231811523,
0.6226516962051392,
0.6763404607772827,
-0.03599676117300987,
0.3790991008281708,
0.4458554983139038,
0.027293579652905464,
0.6800386905670166,
0.06387285143136978,
-0.4135323464870453,
-0.2997343838214874,
-0.44468650221824646,
-0.46428847312927246,
0.06919746845960617,
0.3194924294948578,
-0.21541570127010345,
-0.3786800503730774,
-0.11592308431863785,
0.320806086063385,
-0.04717189446091652,
-0.7087826728820801,
0.6366972923278809,
0.2802034020423889,
-0.7211530804634094,
0.5595598220825195,
-0.18453019857406616,
0.8490556478500366,
-0.781370997428894,
-0.056381914764642715,
-0.21569454669952393,
0.44347697496414185,
-0.3058437705039978,
-0.7353759407997131,
-0.017811425030231476,
0.023352697491645813,
0.16062797605991364,
-0.40364980697631836,
0.7261390686035156,
-0.5278769135475159,
-0.25737008452415466,
0.5044410228729248,
0.4294741153717041,
0.005767999216914177,
-0.11832451820373535,
-0.5931984782218933,
0.027308126911520958,
0.0857575461268425,
0.021889081224799156,
0.3343323767185211,
0.408181369304657,
-0.1314052939414978,
1.0163633823394775,
0.9837616086006165,
0.09771499037742615,
0.24050801992416382,
-0.1434389054775238,
1.156655192375183,
-0.15762831270694733,
-0.7631711363792419,
-0.8484368324279785,
0.39297470450401306,
0.10639446973800659,
-0.2764257490634918,
0.769240140914917,
0.3958275318145752,
0.6933815479278564,
0.2232513278722763,
0.8492868542671204,
0.129752516746521,
0.28893038630485535,
-0.4846721589565277,
0.6080684661865234,
-0.4897404611110687,
0.47633036971092224,
-0.5734552145004272,
-0.5715163946151733,
0.028722040355205536,
0.3992549777030945,
-0.4254119098186493,
-0.0015782186528667808,
0.27192172408103943,
0.6170932054519653,
-0.016052670776844025,
0.2562723159790039,
0.18078716099262238,
0.07131393998861313,
0.8537271618843079,
0.7208899259567261,
0.7641924619674683,
-0.22866734862327576,
0.9113494753837585,
-0.6025086045265198,
-0.1355198323726654,
-0.21122300624847412,
-1.1197216510772705,
-0.7667444348335266,
-0.40752285718917847,
-0.25529518723487854,
-0.17256711423397064,
0.45871618390083313,
0.9973289966583252,
0.7489969730377197,
-0.19956840574741364,
-0.18305456638336182,
-0.44385671615600586,
0.14516063034534454,
-0.26142120361328125,
-0.2089184820652008,
0.44770240783691406,
-0.08960461616516113,
-0.4838038384914398,
0.46757441759109497,
-0.3360288143157959,
0.29602181911468506,
-0.12492615729570389,
-0.27427658438682556,
0.14427852630615234,
-0.24957424402236938,
0.2988792061805725,
0.039458729326725006,
-0.44249746203422546,
-0.12209375202655792,
0.12029556185007095,
-0.13147003948688507,
-0.02774946019053459,
0.42051562666893005,
-0.8963939547538757,
0.4490874707698822,
0.09774693101644516,
0.9851158261299133,
0.44646039605140686,
0.25181445479393005,
0.5491968393325806,
-0.6913803219795227,
-0.10083525627851486,
0.00047654318041168153,
-0.06237030401825905,
0.3428395688533783,
-0.5742705464363098,
0.5359968543052673,
0.37539130449295044,
-0.5974831581115723,
-0.8780902028083801,
0.09642484784126282,
-1.1663857698440552,
0.11531610041856766,
1.105720043182373,
-0.34822437167167664,
-0.1176195740699768,
0.031127121299505234,
-0.4301632344722748,
0.1439569741487503,
-0.8051719665527344,
0.7516055703163147,
0.5920336246490479,
0.12576554715633392,
-0.2902291715145111,
-0.6050513982772827,
0.42665624618530273,
0.5283241868019104,
-0.8736706376075745,
0.20610517263412476,
0.3204861879348755,
0.3231259286403656,
-0.012190156616270542,
0.4329867660999298,
0.2878839671611786,
0.21077688038349152,
-0.09726309776306152,
0.1726551055908203,
-0.6616275310516357,
-0.42933592200279236,
-0.3298526108264923,
0.032304007560014725,
-0.004820629954338074,
-0.24596896767616272
] |
http://arxiv.org/abs/2405.19616v2
|
http://arxiv.org/pdf/2405.19616v2
|
Easy Problems That LLMs Get Wrong
| 2024-05-30T02:09:51 | 2024-06-01T03:00:37 |
Sean Williams, James Huckle
|
cs.AI
|
cs.AI, cs.CL, cs.LG
|
We introduce a comprehensive Linguistic Benchmark designed to evaluate the
limitations of Large Language Models (LLMs) in domains such as logical
reasoning, spatial intelligence, and linguistic understanding, among others.
Through a series of straightforward questions, it uncovers the significant
limitations of well-regarded models to perform tasks that humans manage with
ease. It also highlights the potential of prompt engineering to mitigate some
errors and underscores the necessity for better training methodologies. Our
findings stress the importance of grounding LLMs with human reasoning and
common sense, emphasising the need for human-in-the-loop for enterprise
applications. We hope this work paves the way for future research to enhance
the usefulness and reliability of new models.
|
[
-0.42183175683021545,
-0.7318046689033508,
1.023620843887329,
0.49666544795036316,
0.16461040079593658,
-0.12569491565227509,
-0.380596399307251,
-0.4200538396835327,
-0.42092669010162354,
0.4563302993774414,
-0.6003830432891846,
-0.3930036127567291,
-0.6327677965164185,
0.3049974739551544,
-0.3337779939174652,
0.34237152338027954,
-0.1020250916481018,
0.033842332661151886,
-0.3777686357498169,
-0.2970980405807495,
-0.7508481740951538,
-0.6453492641448975,
-0.6462685465812683,
-0.5059546828269958,
0.32895269989967346,
0.6347994804382324,
0.767372727394104,
0.6822044849395752,
0.6046358942985535,
0.339969277381897,
-0.23355253040790558,
0.13752083480358124,
-0.35402029752731323,
0.11831984668970108,
-0.32879528403282166,
-0.5324426889419556,
-0.27646058797836304,
0.13177929818630219,
0.46015673875808716,
1.2802784442901611,
-0.27396661043167114,
0.07906933128833771,
0.019001459702849388,
0.7429481148719788,
-0.309599369764328,
0.10937877744436264,
-0.8241386413574219,
-0.19984842836856842,
-0.15186487138271332,
0.11851529031991959,
-0.43467190861701965,
-0.17125684022903442,
-0.08529811352491379,
-0.5969702005386353,
0.08035938441753387,
0.4714171290397644,
0.9445582032203674,
0.5516777634620667,
-0.5646666884422302,
-0.2851715385913849,
-0.5969166159629822,
1.136692762374878,
-0.5486284494400024,
0.4766606390476227,
0.34157755970954895,
0.4184402823448181,
-0.46445024013519287,
-0.39542078971862793,
-0.5256876349449158,
-0.34494438767433167,
0.10126979649066925,
-0.23245595395565033,
-0.276471346616745,
0.019203491508960724,
0.6906358003616333,
-0.11879380792379379,
-0.6520900130271912,
0.48523661494255066,
-0.09439224749803543,
-0.08326614648103714,
0.6368647813796997,
0.49921104311943054,
0.5310937166213989,
-0.09085122495889664,
-0.28691667318344116,
0.04628133401274681,
-0.9318881630897522,
0.07491516321897507,
0.10323093831539154,
0.24751438200473785,
-0.0015661336947232485,
0.5721949338912964,
-0.4235875904560089,
0.7828108668327332,
-0.336321622133255,
0.14020167291164398,
0.05245088040828705,
-0.21928671002388,
-0.09286750853061676,
-0.37933239340782166,
0.5109840631484985,
0.3416306674480438,
0.453981876373291,
-0.16653834283351898,
-0.4864587187767029,
0.2677399814128876,
0.07652658969163895,
-0.34733179211616516,
-0.016756240278482437,
0.3011961579322815,
-0.23360386490821838,
0.0870121568441391,
-0.4187946617603302,
-0.5122928619384766,
-0.6351672410964966,
-0.6125801205635071,
0.2454671710729599,
-0.3319147825241089,
-0.10194217413663864,
0.4065042734146118,
-0.019527701660990715,
0.4634995460510254,
0.43806472420692444,
-0.6843533515930176,
0.33033308386802673,
1.059330701828003,
0.5763037800788879,
-0.17880095541477203,
-0.5190234184265137,
-0.49378278851509094,
-0.12734989821910858,
-0.36728566884994507,
0.9373437166213989,
-0.2941370904445648,
-0.4093395173549652,
-0.14132043719291687,
-0.09609540551900864,
-0.027966054156422615,
-0.897685170173645,
0.8802286982536316,
-0.2978273928165436,
-0.24551799893379211,
-0.5287060737609863,
-0.6273058652877808,
-0.07922352105379105,
0.41923457384109497,
-0.6028464436531067,
0.9104987978935242,
-0.10640714317560196,
-0.4912419021129608,
0.11936938017606735,
-0.5169084668159485,
-0.25417831540107727,
0.02883392758667469,
-0.3899456858634949,
-0.13188999891281128,
0.28032514452934265,
0.03517116978764534,
0.4666694402694702,
-0.7062311768531799,
0.633694052696228,
-0.4577825367450714,
-0.2861432731151581,
0.31133732199668884,
-0.27529048919677734,
0.9847912192344666,
0.29976311326026917,
-0.3184935748577118,
-0.10190825909376144,
-0.9820784330368042,
0.08821655809879303,
0.360523521900177,
-0.3186641335487366,
-0.32953375577926636,
0.3164284825325012,
-0.08269046992063522,
0.3890465497970581,
0.2603752911090851,
-0.3377806842327118,
0.18427155911922455,
-0.2135116308927536,
0.4032263457775116,
0.6957718133926392,
-0.3230952322483063,
0.3852810561656952,
-0.4037746787071228,
0.3480210602283478,
0.01890316605567932,
-0.07499817758798599,
-0.00036226154770702124,
-0.4378316402435303,
-0.8743560314178467,
-0.20310594141483307,
0.034493084996938705,
0.7730032205581665,
-0.651192843914032,
0.37461376190185547,
-0.3841654658317566,
-0.6289373636245728,
-0.3466334640979767,
0.48941025137901306,
0.20834216475486755,
0.46837520599365234,
0.14941854774951935,
-0.22897234559059143,
-0.5057042241096497,
-1.033048152923584,
-0.6458361744880676,
-0.1954638808965683,
-0.14181233942508698,
0.3603947162628174,
0.5350255966186523,
-0.3704186975955963,
1.1020586490631104,
-0.3148292303085327,
0.25780150294303894,
-0.4317888915538788,
0.20705343782901764,
0.40127894282341003,
0.38502347469329834,
0.3599112331867218,
-0.6807460784912109,
-0.1463775336742401,
-0.2455422580242157,
-0.980027437210083,
-0.4836121201515198,
-0.005221523344516754,
0.0396072156727314,
-0.03452957421541214,
0.5309601426124573,
-1.1502684354782104,
0.1322527974843979,
0.3226979672908783,
-0.471479594707489,
0.6067497730255127,
-0.14226847887039185,
0.0022168520372360945,
-0.5202522277832031,
-0.023305511102080345,
0.3159540891647339,
-0.1462499499320984,
-0.7478469014167786,
0.07175683975219727,
0.17050909996032715,
-0.5300582051277161,
-0.5546914339065552,
0.7845270037651062,
-0.44911232590675354,
-0.08253984153270721,
-0.20438402891159058,
0.2567068040370941,
-0.02724435180425644,
0.3673989772796631,
0.0017622343730181456,
0.7643684148788452,
0.47689342498779297,
-0.796011209487915,
0.4044848382472992,
0.18673624098300934,
-0.5650532841682434,
0.8069232702255249,
-0.9593022465705872,
0.1742582619190216,
-0.35762912034988403,
-0.039903201162815094,
-1.0603736639022827,
-0.29849156737327576,
-0.09352229535579681,
-0.32071471214294434,
0.1216520443558693,
0.14484795928001404,
-0.7276283502578735,
-0.43007180094718933,
-0.1071242019534111,
0.219831645488739,
0.5379396677017212,
-0.6522826552391052,
0.5626274943351746,
0.2880540192127228,
-0.1905200332403183,
-0.21971938014030457,
-0.6006619930267334,
0.35374724864959717,
-0.39628833532333374,
-0.8366841077804565,
-0.07142861187458038,
-0.1426950842142105,
-0.7464754581451416,
-0.18166449666023254,
0.00607242900878191,
-0.16232812404632568,
0.6338331699371338,
0.10918087512254715,
0.15964177250862122,
-0.1791916787624359,
0.10933000594377518,
-0.35386767983436584,
-0.39717188477516174,
0.343319833278656,
0.11585523188114166,
0.22334076464176178,
-0.2919033169746399,
-0.6853869557380676,
-0.3616154193878174,
0.4374249577522278,
0.6516722440719604,
-0.10787150263786316,
0.41395679116249084,
0.07253685593605042,
-0.5253916382789612,
-0.30306950211524963,
-0.7515615820884705,
-0.11243913322687149,
-0.5143581032752991,
0.6839329600334167,
-0.4919084906578064,
-0.7905336618423462,
0.49478501081466675,
-0.4710219204425812,
-0.041738882660865784,
0.3470471203327179,
0.24393916130065918,
-0.292265385389328,
1.1512113809585571,
0.5320139527320862,
-0.14734724164009094,
-0.08535940945148468,
0.10453885793685913,
0.28532668948173523,
-0.582965612411499,
-0.020418792963027954,
-1.0106532573699951,
-0.11256235092878342,
-0.5385417342185974,
-0.33382999897003174,
0.09300432354211807,
0.31380128860473633,
-0.54646235704422,
0.26044729351997375,
-0.24806691706180573,
0.5576052069664001,
0.4428449273109436,
-0.20621882379055023,
0.2862783372402191,
-0.172736257314682,
-0.08986548334360123,
-0.3520882725715637,
-0.8245835900306702,
-0.9729818105697632,
0.7774096131324768,
0.5568344593048096,
0.9456127285957336,
0.15008233487606049,
0.4923000931739807,
0.1313636153936386,
0.20037485659122467,
-0.7130178809165955,
0.8689829111099243,
-0.07393091917037964,
-0.7325725555419922,
-0.24788571894168854,
-0.4980173110961914,
-0.8310269713401794,
0.1307571530342102,
0.0036695043090730906,
-0.7661685347557068,
0.09298380464315414,
0.1259697824716568,
-0.23264367878437042,
0.2947697937488556,
-0.9598358869552612,
0.9551588892936707,
-0.6671261191368103,
-0.2647624611854553,
-0.021650763228535652,
-0.5022901296615601,
0.35341164469718933,
-0.13762050867080688,
0.6312416195869446,
-0.5512199997901917,
-0.2648440897464752,
0.595133900642395,
-0.2513617277145386,
0.9641551971435547,
-0.18224786221981049,
-0.10639533400535583,
0.3226611614227295,
0.1366918683052063,
0.7239333391189575,
-0.32063084840774536,
-0.25083139538764954,
0.21830394864082336,
-0.32118046283721924,
-0.7117460370063782,
-0.5611696839332581,
0.6190001964569092,
-0.771094024181366,
-0.8697296977043152,
-0.36584097146987915,
-0.3818856179714203,
-0.6831319332122803,
0.033996112644672394,
0.006749049294739962,
0.20551854372024536,
-0.16112984716892242,
0.12903060019016266,
0.9351996779441833,
-0.4623246490955353,
0.5192404389381409,
0.6596933603286743,
-0.043685756623744965,
-0.05083881691098213,
0.7807575464248657,
0.09801771491765976,
0.20430774986743927,
0.10593478381633759,
0.01633673906326294,
-0.31809064745903015,
-0.6486164927482605,
-0.40474018454551697,
0.2779967784881592,
-1.0167499780654907,
-0.004015432205051184,
-0.5066001415252686,
0.06559132784605026,
-0.04847263544797897,
-0.1817060112953186,
-0.39563417434692383,
-0.2051091343164444,
-0.27679669857025146,
0.07468289136886597,
0.03324277698993683,
0.8541628122329712,
0.13297945261001587,
0.28185009956359863,
-0.8152751922607422,
0.18802954256534576,
0.48040592670440674,
0.3794400990009308,
-0.014480583369731903,
-0.5537692308425903,
-0.1130978986620903,
-0.15312525629997253,
-0.43504130840301514,
-0.6967739462852478,
0.1655912697315216,
0.03210776671767235,
0.8889138102531433,
-0.015933068469166756,
-0.033281709998846054,
0.46384167671203613,
-0.7037880420684814,
0.8284294605255127,
0.2878027558326721,
-1.058119297027588,
0.5315344929695129,
-0.3644139766693115,
0.3668642044067383,
0.5931693911552429,
0.6378907561302185,
-0.6521599292755127,
-0.2434338480234146,
-0.4451538622379303,
-0.8839783072471619,
0.46948954463005066,
0.007139588240534067,
0.049376003444194794,
-0.21237365901470184,
0.36969462037086487,
0.0037678128574043512,
0.04719758406281471,
-0.5983148813247681,
-0.2821437418460846,
0.22628840804100037,
-0.2422507405281067,
-0.13849234580993652,
-0.41368725895881653,
0.03455871716141701,
-0.21554340422153473,
0.6834421157836914,
-0.060982346534729004,
0.18203170597553253,
0.015341568738222122,
-0.24185703694820404,
-0.02425871603190899,
0.5329321622848511,
0.6922873854637146,
0.9203011393547058,
0.039271820336580276,
0.3028208613395691,
0.5197658538818359,
0.08098006248474121,
0.44044628739356995,
-0.03015328012406826,
-0.03712920472025871,
0.02780361846089363,
0.3108477294445038,
0.6729546785354614,
0.36436042189598083,
-1.0017640590667725,
0.45711180567741394,
0.04589908942580223,
-0.09752596914768219,
-0.13787208497524261,
0.021160198375582695,
0.35943660140037537,
0.2342650145292282,
0.4506079852581024,
0.08790094405412674,
-0.07332079112529755,
-0.41520676016807556,
0.10047338902950287,
0.3760332763195038,
-0.2104465216398239,
-0.21646350622177124,
0.6178296804428101,
0.4553409516811371,
-0.5603402853012085,
0.6264406442642212,
-0.30366337299346924,
-0.4805348515510559,
0.6442405581474304,
0.4188404679298401,
0.8212583661079407,
0.038204777985811234,
-0.33440861105918884,
0.2394944280385971,
0.5638889074325562,
-0.37285488843917847,
0.30173954367637634,
0.29001110792160034,
-0.9002558588981628,
-0.707984209060669,
-0.37269866466522217,
-0.7187580466270447,
0.11337977647781372,
-0.2772146761417389,
0.38032564520835876,
-0.42434319853782654,
-0.22267787158489227,
-0.06075780466198921,
0.018281087279319763,
-0.9292690753936768,
0.2783281207084656,
0.3173745274543762,
1.2568039894104004,
-0.9020958542823792,
0.6934198141098022,
0.8593247532844543,
-0.08710119128227234,
-0.8613875508308411,
-0.4469986855983734,
0.17812183499336243,
-0.8581770062446594,
0.9583463668823242,
0.2536891996860504,
-0.1262928694486618,
-0.06582356989383698,
-0.8485660552978516,
-0.648457944393158,
0.8125802874565125,
0.43271419405937195,
-1.0884894132614136,
0.07498223334550858,
0.28774261474609375,
0.3661457300186157,
-0.2050909847021103,
0.18542256951332092,
0.7041585445404053,
0.5858758687973022,
-0.3770103454589844,
-1.0348325967788696,
0.04527511075139046,
-0.1883416622877121,
0.17195172607898712,
0.0229436457157135,
-0.583916187286377,
0.7223016023635864,
-0.18020181357860565,
-0.18072308599948883,
0.08456689864397049,
0.6245018839836121,
0.5799276828765869,
0.5975677967071533,
0.6273664236068726,
0.8271555304527283,
0.9550256133079529,
-0.4162997603416443,
1.1160298585891724,
-0.26516297459602356,
0.36314013600349426,
1.1075401306152344,
-0.6254076361656189,
0.7845157980918884,
0.5445002913475037,
-0.45582130551338196,
0.09271588176488876,
0.5720669627189636,
0.25364744663238525,
0.1299012154340744,
0.5186718702316284,
-0.2634866535663605,
-0.6363028287887573,
-0.1279490739107132,
-0.23641900718212128,
0.434978187084198,
0.40261465311050415,
0.3073533773422241,
-0.25073912739753723,
-0.028502291068434715,
-0.048933420330286026,
0.3697217106819153,
-0.3232605755329132,
0.5092663168907166,
0.38534054160118103,
-0.5581006407737732,
0.5851301550865173,
0.10695990175008774,
0.9558289051055908,
-0.41267842054367065,
0.24302762746810913,
-0.34732359647750854,
0.011810274794697762,
-0.034450218081474304,
-0.7617709040641785,
0.33150482177734375,
0.1753377616405487,
-0.07376140356063843,
-0.3320228159427643,
0.8102786540985107,
-0.18809907138347626,
-0.2728147804737091,
0.27681270241737366,
0.7663379311561584,
0.16180989146232605,
-0.08071556687355042,
-0.817456841468811,
0.42201897501945496,
-0.18134067952632904,
-0.2817344069480896,
0.159128338098526,
0.8239368200302124,
-0.03334799036383629,
1.1452150344848633,
0.34801632165908813,
0.07416284829378128,
0.009067517705261707,
-0.03267672285437584,
0.5689070224761963,
-1.192121982574463,
-0.24242852628231049,
-0.9257258772850037,
0.33574187755584717,
-0.05147027224302292,
-0.26347652077674866,
0.7067185044288635,
0.4173131287097931,
0.6809033751487732,
-0.08032447099685669,
0.7797911167144775,
0.16909730434417725,
0.7479756474494934,
-0.4097697138786316,
0.48881053924560547,
-0.5435506105422974,
0.6205870509147644,
0.010784834623336792,
-0.9447484016418457,
-0.3705180287361145,
0.45632851123809814,
-0.5270208120346069,
0.10656052082777023,
0.6474831700325012,
0.7363834381103516,
0.017733512446284294,
-0.10658930242061615,
0.6315812468528748,
0.19150282442569733,
0.32060736417770386,
0.7957643866539001,
1.2785656452178955,
-0.20970803499221802,
0.4649217426776886,
-0.13405394554138184,
-0.07032515853643417,
-0.2927301228046417,
-1.1056559085845947,
-0.6694196462631226,
-0.3021071255207062,
-0.41120731830596924,
-0.258388489484787,
-0.0006737283547408879,
1.2251466512680054,
0.5835792422294617,
-0.7310883402824402,
-0.41353610157966614,
-0.1331404745578766,
0.317562460899353,
0.11855588853359222,
-0.16627465188503265,
-0.0875060185790062,
-0.5943225622177124,
-0.5421541333198547,
0.43795880675315857,
0.3312666714191437,
0.14627987146377563,
-0.13839010894298553,
-0.1950564682483673,
-0.03655310720205307,
0.17505145072937012,
0.6017386317253113,
0.4361480474472046,
-0.7614732980728149,
-0.424501895904541,
0.0878719910979271,
-0.5040259957313538,
-0.010873531922698021,
0.8922958374023438,
-0.5431206226348877,
0.025710424408316612,
0.3815475106239319,
1.0565119981765747,
-0.08870071917772293,
-0.2189299613237381,
0.5196486115455627,
-0.6001204252243042,
0.08542618900537491,
0.18288594484329224,
0.6251471638679504,
0.698429524898529,
-0.028372278437018394,
0.5255556702613831,
0.4276202917098999,
-0.7333853244781494,
-0.8544062972068787,
0.33872902393341064,
-1.0260493755340576,
-0.17543953657150269,
1.22543203830719,
-0.03821157291531563,
-0.33674266934394836,
-0.38789302110671997,
-0.07219535857439041,
-0.14954373240470886,
-0.1409742832183838,
0.6340108513832092,
0.9770897030830383,
-0.08780457824468613,
-0.08897028118371964,
-0.820907711982727,
0.3341248333454132,
0.8737510442733765,
-0.8533130288124084,
0.25008827447891235,
0.4905749261379242,
0.39814525842666626,
0.008338491432368755,
0.6547738313674927,
0.23123949766159058,
0.251543253660202,
-0.10908446460962296,
0.12896929681301117,
0.16218401491641998,
-0.2559237778186798,
-0.5908669829368591,
0.037091098725795746,
0.7230252027511597,
0.13114333152770996
] |
http://arxiv.org/abs/2405.19597v1
|
http://arxiv.org/pdf/2405.19597v1
|
SVFT: Parameter-Efficient Fine-Tuning with Singular Vectors
| 2024-05-30T01:27:43 | 2024-05-30T01:27:43 |
Vijay Lingam, Atula Tejaswi, Aditya Vavre, Aneesh Shetty, Gautham Krishna Gudur, Joydeep Ghosh, Alex Dimakis, Eunsol Choi, Aleksandar Bojchevski, Sujay Sanghavi
|
cs.LG
|
cs.LG, cs.AI, cs.CL
|
Popular parameter-efficient fine-tuning (PEFT) methods, such as LoRA and its
variants, freeze pre-trained model weights \(W\) and inject learnable matrices
\(\Delta W\). These \(\Delta W\) matrices are structured for efficient
parameterization, often using techniques like low-rank approximations or
scaling vectors. However, these methods typically show a performance gap
compared to full fine-tuning. Although recent PEFT methods have narrowed this
gap, they do so at the cost of additional learnable parameters. We propose
SVFT, a simple approach that fundamentally differs from existing methods: the
structure imposed on \(\Delta W\) depends on the specific weight matrix \(W\).
Specifically, SVFT updates \(W\) as a sparse combination of outer products of
its singular vectors, training only the coefficients (scales) of these sparse
combinations. This approach allows fine-grained control over expressivity
through the number of coefficients. Extensive experiments on language and
vision benchmarks show that SVFT recovers up to 96% of full fine-tuning
performance while training only 0.006 to 0.25% of parameters, outperforming
existing methods that only recover up to 85% performance using 0.03 to 0.8% of
the trainable parameter budget.
|
[
-0.5708461999893188,
-0.6916335821151733,
0.3986160159111023,
-0.025695381686091423,
-0.7555559873580933,
0.09519707411527634,
-0.2483529895544052,
-0.340811550617218,
0.0528380386531353,
0.4315633177757263,
-0.5290850400924683,
-0.29189175367355347,
-0.40389296412467957,
-0.2385241687297821,
-0.11970798671245575,
1.0697331428527832,
-0.15028955042362213,
0.29406484961509705,
-0.11653317511081696,
-0.2950845956802368,
-0.20479463040828705,
-0.5577769875526428,
-0.4814748167991638,
-0.3079145550727844,
0.8784223198890686,
0.3554971218109131,
0.3249320983886719,
0.7724923491477966,
0.6220640540122986,
0.26575520634651184,
-0.135664701461792,
-0.014919042587280273,
-0.6513496041297913,
0.1410650759935379,
0.024253059178590775,
-0.5136984586715698,
-0.5085548162460327,
-0.11786200851202011,
0.6981109380722046,
0.8862161040306091,
-0.021235262975096703,
0.2922324538230896,
0.20419208705425262,
1.07724130153656,
-0.8841339349746704,
-0.05842144787311554,
-0.7770123481750488,
0.19892431795597076,
-0.22805793583393097,
-0.1182461753487587,
-0.04145696014165878,
-0.3664170801639557,
0.19330628216266632,
-0.718701958656311,
0.4176046550273895,
-0.12628650665283203,
0.8703668117523193,
0.643822431564331,
-0.26679980754852295,
0.4984339475631714,
-1.081683874130249,
1.172545075416565,
-0.405056893825531,
0.714379608631134,
0.3548814058303833,
0.41217103600502014,
-0.19755388796329498,
-0.8503534197807312,
-0.10961218178272247,
-0.07535892724990845,
0.3706780672073364,
0.011768218129873276,
-0.21344082057476044,
0.39632734656333923,
0.36580631136894226,
0.2658943831920624,
-0.12436758726835251,
0.1595182716846466,
-0.5152046084403992,
0.039492543786764145,
0.4816288948059082,
0.05796182528138161,
-0.5262302756309509,
0.1394900679588318,
-0.562753438949585,
-0.0638943761587143,
-0.8261112570762634,
0.2121260166168213,
0.64198237657547,
0.6609749794006348,
0.3053073585033417,
0.5276459455490112,
-0.1939564198255539,
0.9113912582397461,
0.3845294713973999,
-0.20398060977458954,
0.03603170067071915,
-0.06635221838951111,
-0.48017844557762146,
-0.379917711019516,
0.141407310962677,
0.20542585849761963,
0.05691400170326233,
-0.22709672152996063,
-0.3394894599914551,
-0.08990398794412613,
0.5298753976821899,
-0.6336809396743774,
-0.3637913167476654,
0.06831510365009308,
-0.5911224484443665,
-0.26987093687057495,
-0.17133401334285736,
-0.641968846321106,
-0.07197883725166321,
-0.7203795909881592,
0.9557592272758484,
-0.380750447511673,
-0.012338023632764816,
-0.017921097576618195,
-0.42292091250419617,
0.6015181541442871,
0.690018355846405,
-0.8408796191215515,
0.5209062099456787,
0.7043425440788269,
0.5986854434013367,
-0.35835471749305725,
-0.21193289756774902,
-0.9241521954536438,
-0.21895377337932587,
-0.29136964678764343,
1.0431337356567383,
-0.49223774671554565,
-0.20849616825580597,
-0.2642478942871094,
-0.23945870995521545,
0.10201708227396011,
-0.4948197901248932,
0.6074328422546387,
-0.39816272258758545,
-0.26838311553001404,
-0.7996289730072021,
-0.3606085181236267,
-0.1763685643672943,
-0.01463326346129179,
-0.5873240232467651,
1.2962173223495483,
0.275307834148407,
-0.43378955125808716,
0.8985503911972046,
-0.4559566378593445,
-0.20954419672489166,
0.2537623941898346,
-0.1623542159795761,
-0.49794378876686096,
0.3852904140949249,
0.04226136580109596,
0.6626695990562439,
-0.12756158411502838,
-0.2055223435163498,
-0.5630199909210205,
-0.7895422577857971,
-0.3748975396156311,
-0.24796244502067566,
0.10143189132213593,
0.15058360993862152,
-0.2583836317062378,
0.10334084928035736,
-0.9556788802146912,
0.06605285406112671,
0.017728198319673538,
-0.5844439268112183,
-0.634695827960968,
0.17246180772781372,
0.054255757480859756,
-0.1789810210466385,
0.25449854135513306,
-0.5532430410385132,
0.3219697177410126,
-0.6745848059654236,
0.3453993797302246,
1.0514659881591797,
-0.13478977978229523,
0.5979448556900024,
-0.21024011075496674,
0.41269993782043457,
-0.08806288987398148,
0.4405532479286194,
0.20169903337955475,
-0.21777012944221497,
-0.874281108379364,
-0.6006085872650146,
0.5396202206611633,
0.11988133192062378,
-0.7176108360290527,
0.338248610496521,
0.2624988555908203,
-0.6900339126586914,
-0.31109023094177246,
0.2602030634880066,
0.33034616708755493,
0.6109454035758972,
0.32866379618644714,
0.016880223527550697,
-0.4967118799686432,
-1.1512815952301025,
-0.4583987295627594,
0.008870814926922321,
-0.10119279474020004,
0.21205665171146393,
0.3976995348930359,
0.26688605546951294,
0.7768009901046753,
-0.6164488792419434,
-0.17614494264125824,
0.07055618613958359,
0.1467353254556656,
0.12707702815532684,
0.7861701250076294,
0.9120561480522156,
-0.8975334763526917,
-0.5561374425888062,
-0.09249711036682129,
-0.17958088219165802,
0.30970650911331177,
0.26596176624298096,
-0.2607598602771759,
0.17449423670768738,
0.5498998761177063,
-0.2668425142765045,
0.3042009770870209,
0.340853750705719,
-0.27243781089782715,
0.2893194258213043,
-0.6282881498336792,
-0.030967945232987404,
-0.6807348728179932,
0.04275594651699066,
0.16769497096538544,
-0.3266863524913788,
-0.6581153869628906,
-0.006294853053987026,
0.06322971731424332,
0.12499815970659256,
-0.6901097297668457,
0.11052611470222473,
-0.2959061563014984,
-0.05520475283265114,
-0.11269157379865646,
-0.39600077271461487,
-0.1730159968137741,
1.0019338130950928,
-0.3469901978969574,
0.5300737023353577,
0.4899056851863861,
-0.6946003437042236,
0.13725592195987701,
-0.10921940952539444,
-0.022825937718153,
0.7998919486999512,
-0.8396090865135193,
0.1647310107946396,
-0.5144388675689697,
-0.2242504209280014,
-1.0234897136688232,
0.016717001795768738,
0.11145353317260742,
-0.09074866771697998,
0.34676313400268555,
-0.7524911165237427,
-0.33216050267219543,
-0.13295014202594757,
-0.6413136124610901,
0.2087036371231079,
0.7972171306610107,
-0.7780718803405762,
0.9336113333702087,
0.36367857456207275,
0.006324101239442825,
-0.7608054876327515,
-0.22704817354679108,
-0.49945777654647827,
-0.3651285171508789,
-0.1783822625875473,
0.29518836736679077,
-0.29514390230178833,
-0.059183668345212936,
-0.11435101926326752,
-0.35422182083129883,
-0.20734186470508575,
0.25840646028518677,
0.3013630509376526,
0.3075043559074402,
-0.29532164335250854,
0.09630945324897766,
0.6435277462005615,
-0.15570583939552307,
-0.35212746262550354,
-0.4775448143482208,
0.33020198345184326,
-0.4335501790046692,
-0.27331939339637756,
-0.005559376906603575,
0.60977703332901,
0.6742956042289734,
-0.19078217446804047,
0.4706122577190399,
0.7111384272575378,
-0.6531714797019958,
-0.29549887776374817,
-0.5265631079673767,
0.027678001672029495,
-0.5299665331840515,
0.268797367811203,
-0.5117495059967041,
-0.8683130741119385,
0.4128519594669342,
-0.3126674294471741,
0.4805251359939575,
0.6888359189033508,
0.45032933354377747,
-0.37200963497161865,
1.3816392421722412,
1.1075708866119385,
0.46759045124053955,
0.6773340702056885,
-0.28925028443336487,
-0.04454713314771652,
-0.5981569886207581,
-0.3898125886917114,
-0.6794182658195496,
-0.5943212509155273,
-0.4523507058620453,
-0.34180083870887756,
0.41193491220474243,
0.3615725040435791,
-0.4661591053009033,
0.30512672662734985,
-0.6440088152885437,
0.6360332369804382,
0.8186915516853333,
0.05556394159793854,
0.18042659759521484,
0.26198139786720276,
-0.13372613489627838,
-0.3890274167060852,
-0.7150564193725586,
-0.12223462760448456,
1.0244415998458862,
0.19347356259822845,
0.9645434021949768,
-0.34568673372268677,
0.5213843584060669,
0.18855953216552734,
-0.07732824981212616,
-0.9361580610275269,
0.39823493361473083,
-0.5226607918739319,
-0.0659652128815651,
-0.4126725196838379,
-0.28414425253868103,
-0.8940694332122803,
0.4148242175579071,
-0.6396601796150208,
-0.6472007632255554,
0.5702043771743774,
0.6304755806922913,
-0.5810133218765259,
0.3362507224082947,
-0.8530759811401367,
0.5355638861656189,
-0.015130868181586266,
-0.09824799001216888,
-0.1650751382112503,
-0.4913128912448883,
-0.037530239671468735,
-0.5115427374839783,
-0.49895140528678894,
-0.3747033476829529,
-0.30672594904899597,
0.8920300006866455,
-0.4994310438632965,
0.6558076739311218,
-0.5652649998664856,
0.11075334995985031,
-0.2660287320613861,
-0.2018953263759613,
0.712454080581665,
-0.014849626459181309,
0.27051621675491333,
0.2336549013853073,
0.3717484772205353,
-0.5560269951820374,
-0.6989417672157288,
0.801694929599762,
-0.8059025406837463,
-0.19263793528079987,
-0.15959450602531433,
-0.38887590169906616,
-0.5018739700317383,
0.24048367142677307,
0.37130022048950195,
0.33907508850097656,
-0.03893028944730759,
0.283904492855072,
0.9513466358184814,
0.04190447926521301,
0.24423329532146454,
0.5390478372573853,
0.17699582874774933,
-0.40210506319999695,
0.9150693416595459,
0.44300803542137146,
-0.04535225033760071,
0.3206155002117157,
0.2350945621728897,
-0.13035890460014343,
-0.7937716245651245,
-0.23299941420555115,
0.2761945128440857,
-0.5340490937232971,
-0.47904345393180847,
-0.6533833146095276,
-0.01515623927116394,
-0.046506118029356,
-0.6410828232765198,
-0.9064796566963196,
-0.5884544253349304,
-0.22547653317451477,
0.16151592135429382,
0.7257503867149353,
0.6762704253196716,
-0.14750759303569794,
0.12477538734674454,
-0.4446180462837219,
0.480842262506485,
0.6044819951057434,
0.9196415543556213,
-0.140143021941185,
-0.26929837465286255,
-0.3729568123817444,
-0.11081346869468689,
0.058755721896886826,
-0.27234652638435364,
0.10743764042854309,
0.39581042528152466,
0.7564498782157898,
0.29659509658813477,
0.24951891601085663,
1.0047532320022583,
-0.5770536065101624,
0.7819115519523621,
0.23598966002464294,
-0.880196750164032,
0.5488232970237732,
-0.2403101921081543,
0.1620611995458603,
0.7085716128349304,
0.19091318547725677,
0.05695345625281334,
-0.49437040090560913,
-0.5227826237678528,
-1.1011931896209717,
0.6235019564628601,
0.07978229224681854,
0.15781241655349731,
0.6865798234939575,
0.8033241033554077,
0.4692550301551819,
0.16364210844039917,
-0.01856546476483345,
-0.36805450916290283,
-0.1359262466430664,
0.03447093069553375,
0.01743049919605255,
-0.3455236554145813,
-0.1297997683286667,
-0.8612551093101501,
0.5361829400062561,
-0.39880433678627014,
0.47803354263305664,
0.12380507588386536,
0.11999155580997467,
-0.4897122085094452,
-0.14335308969020844,
0.5819963812828064,
0.6397486329078674,
-0.4210629165172577,
0.2687254548072815,
0.43728500604629517,
-0.7333620190620422,
0.004054832272231579,
0.3359270989894867,
-0.13996854424476624,
-0.13585549592971802,
-0.20119908452033997,
0.7459391355514526,
0.36867213249206543,
-0.6671786308288574,
0.4214514493942261,
-0.32126519083976746,
-0.7787999510765076,
-0.3135342001914978,
0.29946890473365784,
-0.37211722135543823,
0.626402735710144,
0.5554628968238831,
0.46749669313430786,
0.07541739195585251,
0.17637385427951813,
0.10505739599466324,
0.4540935456752777,
-0.5974227786064148,
-0.28199589252471924,
0.9224722385406494,
0.06544291973114014,
-0.1355351358652115,
0.19386842846870422,
0.3253381550312042,
-0.06810662895441055,
0.29373228549957275,
0.14538517594337463,
0.8910258412361145,
0.08036114275455475,
-0.019702203571796417,
0.280513733625412,
0.24441571533679962,
-0.20183658599853516,
0.6286424994468689,
-0.23923879861831665,
-0.3750595152378082,
-0.6669409871101379,
-1.0375951528549194,
-0.38871604204177856,
0.26146200299263,
-0.8939462304115295,
0.25158023834228516,
-0.712297260761261,
-0.1941988468170166,
0.35799407958984375,
0.09646135568618774,
-0.6498486995697021,
-0.027403760701417923,
-0.1833011358976364,
1.072853922843933,
-0.8349285125732422,
0.8647511005401611,
0.9013481736183167,
-0.11269025504589081,
-0.6912254691123962,
-0.2268165946006775,
-0.40031251311302185,
-0.47973185777664185,
0.38285213708877563,
-0.5157270431518555,
-0.26365920901298523,
0.03188740462064743,
-0.8160180449485779,
-1.1449401378631592,
0.7968790531158447,
1.0578713417053223,
-0.2862929403781891,
-0.010361077263951302,
-0.2841240465641022,
0.4403555989265442,
0.16900849342346191,
-0.6812102198600769,
0.6961275935173035,
0.4467291533946991,
0.36073189973831177,
-0.6249150633811951,
-0.23501549661159515,
-0.2850322425365448,
0.3369293212890625,
0.625909149646759,
-0.5563274025917053,
1.0245742797851562,
0.12639854848384857,
0.09337815642356873,
0.005748226772993803,
0.862587034702301,
0.006710739340633154,
-0.05158479884266853,
0.7829610705375671,
0.3892796039581299,
0.723328709602356,
-0.07078178972005844,
0.6882354617118835,
-0.11727549135684967,
0.49804195761680603,
0.7325844764709473,
0.06221060827374458,
0.9081799983978271,
0.7792375087738037,
-0.18040046095848083,
-0.03968966379761696,
0.5530624389648438,
-0.29702386260032654,
0.6257662177085876,
-0.08622581511735916,
-0.1508568376302719,
-0.5592840909957886,
0.15558017790317535,
-0.27397865056991577,
0.5489462614059448,
0.0780700296163559,
-0.07713038474321365,
-0.4350877106189728,
0.4491831660270691,
-0.14277894794940948,
-0.11794691532850266,
-0.6737220883369446,
0.6800939440727234,
-0.0025013000704348087,
-0.49490490555763245,
0.7691338658332825,
0.07344704866409302,
0.7390854954719543,
-0.8161255717277527,
-0.28183770179748535,
0.02389068901538849,
0.41763225197792053,
0.06642226874828339,
-0.28816643357276917,
0.34119877219200134,
-0.0034700536634773016,
-0.26054155826568604,
-0.25673356652259827,
0.9017082452774048,
-0.33405330777168274,
-0.4740454852581024,
-0.06048804149031639,
0.37052908539772034,
-0.006260564085096121,
-0.2620450258255005,
-0.6392414569854736,
-0.034183651208877563,
-0.3768478333950043,
-0.23936451971530914,
0.5320345759391785,
-0.12744373083114624,
0.1143878847360611,
0.32785189151763916,
0.6869914531707764,
0.1312158703804016,
-0.04175368323922157,
-0.21395425498485565,
1.1012084484100342,
-0.5236841440200806,
-0.5110020041465759,
-0.5762805938720703,
0.30559033155441284,
0.15194584429264069,
-0.38833752274513245,
0.6655746698379517,
0.504317581653595,
0.7231230735778809,
-0.06999589502811432,
0.5771094560623169,
0.15945357084274292,
0.4990129768848419,
-0.5546495914459229,
0.7895893454551697,
-0.8527897596359253,
-0.21764008700847626,
-0.47235140204429626,
-0.8915587663650513,
-0.4860263168811798,
0.593255877494812,
-0.01007892657071352,
-0.04884343594312668,
0.3207041323184967,
0.4464745819568634,
-0.12081988900899887,
-0.16912491619586945,
0.7114388942718506,
0.12483595311641693,
-0.01654721237719059,
0.34627383947372437,
0.5646970272064209,
-0.30722758173942566,
0.531959056854248,
-0.2286233752965927,
-0.22611182928085327,
-0.2558707594871521,
-0.7539132237434387,
-0.8715649843215942,
-0.8640906810760498,
-0.2186162769794464,
-0.19051621854305267,
0.023498833179473877,
0.9908754825592041,
0.9879821538925171,
-0.6104575991630554,
0.2849203646183014,
0.003498477628454566,
0.019429989159107208,
-0.6889780163764954,
-0.05442710593342781,
0.38927051424980164,
-0.29187285900115967,
-0.8967127203941345,
0.31630292534828186,
0.4641905426979065,
0.21983513236045837,
-0.4694465100765228,
0.002286570379510522,
0.2095288634300232,
0.38282132148742676,
0.9000581502914429,
0.46290305256843567,
-0.5453716516494751,
-0.408543199300766,
0.028051035478711128,
0.2005176693201065,
0.197838693857193,
0.9608103036880493,
-1.000515341758728,
0.4185344874858856,
0.4553774297237396,
0.5773027539253235,
0.8872875571250916,
-0.2344013899564743,
0.7623541355133057,
-0.7979701161384583,
0.19123996794223785,
0.34285131096839905,
0.25328075885772705,
-0.10077136009931564,
-0.498753160238266,
0.18510638177394867,
0.393844336271286,
-0.36009490489959717,
-1.0282210111618042,
0.11903665214776993,
-1.4538789987564087,
-0.35775822401046753,
0.8132563233375549,
0.09423002600669861,
-0.48881369829177856,
-0.29287731647491455,
-0.33384665846824646,
0.09103414416313171,
-0.2875213325023651,
0.4095401465892792,
0.11318214982748032,
-0.16967475414276123,
-0.009019453078508377,
-0.381440132856369,
0.8714821934700012,
0.15584495663642883,
-0.3753471076488495,
-0.0394565612077713,
0.18690116703510284,
0.4242936372756958,
-0.3471444547176361,
0.6236575245857239,
-0.029796574264764786,
0.3561745285987854,
-0.06175357848405838,
-0.10637547075748444,
-0.24798797070980072,
-0.41312623023986816,
-0.6286441683769226,
0.39609453082084656,
0.15435172617435455,
-0.15764066576957703
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.